]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ia64: drop TLS configure check
[thirdparty/glibc.git] / ChangeLog
CommitLineData
121dce05
JM
12012-08-10 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11
bf51f568
JL
122012-08-09 Jeff Law <law@redhat.com>
13
14 [BZ #13939]
15 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16 When avoid_arena is set, don't retry in the that arena. Pick the
17 next one, whatever it might be.
18 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19 (arena_lock): Pass in new parameter to arena_get2.
20 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21 arena_get2.
22 (__libc_malloc): Unify retrying after main arena failure with
23 __libc_memalign version.
24 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25
f85fa270
L
262012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27
28 [BZ #14166]
29 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30 to __redirect_strstr.
31 (__strstr_sse42): Use typeof __redirect_strstr.
32 (__strstr_ia32): Likewise.
33 (__libc_strstr): New prototype.
34 (strstr): Renamed to ...
35 (__libc_strstr): This.
36 (strstr): New strong alias of __libc_strstr.
37 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39 __redirect_time.
40 Include <time.h>.
41 (__libc_time): New prototype.
42 (time_ifunc): Replace time with __libc_time.
43 (time): New strong alias and hidden definition of __libc_time.
44 (__GI_time): Remove strong alias.
45 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46 Include <stddef.h>.
47 (memmove): Redefined to __redirect_memmove.
48 (__memmove_sse2): Use typeof __redirect_memmove.
49 (__memmove_ssse3): Likewise.
50 (__memmove_ssse3_back): Likewise.
51 (__libc_memmove): New prototype.
52 (memmove): Renamed to ...
53 (__libc_memmove): This.
54 (memmove): New strong alias of __libc_memmove.
55
33b4a91e
MS
562012-08-08 Mark Salter <msalter@redhat.com>
57
58 * elf/elf.h
59 (R_MN10300_TLS_GD): Define.
60 (R_MN10300_TLS_LD): Likewise.
61 (R_MN10300_TLS_LDO): Likewise.
62 (R_MN10300_TLS_GOTIE): Likewise.
63 (R_MN10300_TLS_IE): Likewise.
64 (R_MN10300_TLS_LE): Likewise.
65 (R_MN10300_TLS_DTPMOD): Likewise.
66 (R_MN10300_TLS_DTPOFF): Likewise.
67 (R_MN10300_TLS_TPOFF): Likewise.
68 (R_MN10300_SYM_DIFF): Likewise.
69 (R_MN10300_ALIGN): Likewise.
70 (R_MN10300_NUM): Update.
71
b36137f1
JM
722012-08-08 Joseph Myers <joseph@codesourcery.com>
73
74 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
75 Remove.
76
cdd915fd
RM
772012-08-08 Roland McGrath <roland@hack.frob.com>
78
a2433aac
RM
79 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
80
cdd915fd
RM
81 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
82 sysdeps/unix -> sysdeps/posix move.
83 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
84
bf9b740a
AM
852012-08-07 Allan McRae <allan@archlinux.org>
86
87 [BZ #14303]
88 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
89 (SUNOS_CPP): Likewise.
90 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
91 not found.
92 (open_input): Call CPP using execvp.
93
93df14ee
JM
942012-08-07 Joseph Myers <joseph@codesourcery.com>
95
96 * sysdeps/unix/sysv/linux/kernel-features.h
97 (__ASSUME_PROT_GROWSUPDOWN): Remove.
98 (__ASSUME_NO_CLONE_DETACHED): Likewise.
99 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
100 (__ASSUME_WAITID_SYSCALL): Likewise.
101 * sysdeps/unix/sysv/linux/dl-execstack.c
102 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
103 code unconditional.
104 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
105 conditional code.
106 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
107 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
108 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
109 code.
110 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
111 unconditional.
112 [__ASSUME_WAITID_SYSCALL]: Likewise.
113 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
114
d34689de
RM
1152012-08-07 Roland McGrath <roland@hack.frob.com>
116
a281decc
RM
117 * sysdeps/unix/closedir.c: Renamed to ...
118 * sysdeps/posix/closedir.c: ... here.
119 * sysdeps/unix/dirfd.c: Renamed to ...
120 * sysdeps/posix/dirfd.c: ... here.
121 * sysdeps/unix/dirstream.h: Renamed to ...
122 * sysdeps/posix/dirstream.h: ... here.
123 * sysdeps/unix/fdopendir.c: Renamed to ...
124 * sysdeps/posix/fdopendir.c: ... here.
125 * sysdeps/unix/opendir.c: Renamed to ...
126 * sysdeps/posix/opendir.c: ... here.
127 * sysdeps/unix/readdir.c: Renamed to ...
128 * sysdeps/posix/readdir.c: ... here.
129 * sysdeps/unix/readdir_r.c: Renamed to ...
130 * sysdeps/posix/readdir_r.c: ... here.
131 * sysdeps/unix/rewinddir.c: Renamed to ...
132 * sysdeps/posix/rewinddir.c: ... here.
133 * sysdeps/unix/seekdir.c: Renamed to ...
134 * sysdeps/posix/seekdir.c: ... here.
135 * sysdeps/unix/telldir.c: Renamed to ...
136 * sysdeps/posix/telldir.c: ... here.
137 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
138 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
139 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
140 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
141
22895b47
RM
142 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
143 * bits/fcntl.h: ... here.
144
707a53b6
RM
145 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
146 not 0.
147 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
148 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
149 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
150 (struct flock): Move l_start, l_len to the beginning.
151 Use __pid_t for l_pid.
152 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
153 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
154 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
155 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
156 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
157 [__USE_LARGEFILE64] (struct flock64): New type.
158 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
159
f0bd3e25
RM
160 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
161 * bits/dirent.h: ... here.
162
d34689de
RM
163 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
164 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
165
6dad2c06
JM
1662012-08-07 Joseph Myers <joseph@codesourcery.com>
167
168 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
169 Change from 2.6.0 to 2.6.16.
170 * sysdeps/unix/sysv/linux/configure: Regenerated.
171 * sysdeps/unix/sysv/linux/kernel-features.h
172 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
173 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
174 version.
175 (__ASSUME_UTIMES): Likewise.
176 (__ASSUME_CLONE_STOPPED): Remove.
177 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
178 architectures, not kernel version.
179 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
180 (__ASSUME_NO_CLONE_DETACHED): Likewise.
181 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
182 (__ASSUME_WAITID_SYSCALL): Likewise.
183 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
184 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
185 * README: State 2.6.16 as minimum Linux kernel version. Do not
186 refer to older versions.
187
03af9520
RM
1882012-08-06 Roland McGrath <roland@hack.frob.com>
189
8e49df1d
RM
190 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
191 Define alphasort64 as an alias.
192 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
193 Define versionsort64 as an alias.
194 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
195 Define scandir64 as an alias.
196 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
197 Define scandirat64 as an alias.
198 * dirent/alphasort64.c (alphasort64):
199 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
200 * dirent/versionsort64.c: Likewise.
201 * dirent/scandir64.c: Likewise.
202 * dirent/scandirat64.c: Likewise.
203 * sysdeps/wordsize-64/alphasort.c: File removed.
204 * sysdeps/wordsize-64/alphasort64.c: File removed.
205 * sysdeps/wordsize-64/scandir.c: File removed.
206 * sysdeps/wordsize-64/scandir64.c: File removed.
207 * sysdeps/wordsize-64/scandirat.c: File removed.
208 * sysdeps/wordsize-64/scandirat64.c: File removed.
209 * sysdeps/wordsize-64/versionsort.c: File removed.
210 * sysdeps/wordsize-64/versionsort64.c: File removed.
211 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
212 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
213 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
214 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
215 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
216 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
217 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
218 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
219
220 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
222 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
224 [defined __arch64__ || defined __sparcv9]
225 (__INO_T_MATCHES_INO64_T): New macro.
226 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
227 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
228 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
229 * sysdeps/unix/sysv/linux/bits/dirent.h
230 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
231 (_DIRENT_MATCHES_DIRENT64): New macro.
232
03af9520
RM
233 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
234 Define lockf64 as an alias.
235 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
236 Define fseeko64 as an alias.
237 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
238 Define ftello64 as an alias.
239 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
240 Define _IO_fgetpos64 and fgetpos64 as aliases.
241 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
242 Define _IO_fsetpos64 and fsetpos64 as aliases.
243 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
244 Conditionalize body on this.
245 * libio/fseeko64.c: Likewise.
246 * libio/ftello64.c: Likewise.
247 * libio/iofgetpos64.c: Likewise.
248 * libio/iofsetpos64.c: Likewise.
249 * sysdeps/wordsize-64/lockf.c: File removed.
250 * sysdeps/wordsize-64/lockf64.c: File removed.
251 * sysdeps/wordsize-64/fseeko.c: File removed.
252 * sysdeps/wordsize-64/fseeko64.c: File removed.
253 * sysdeps/wordsize-64/ftello.c: File removed.
254 * sysdeps/wordsize-64/ftello64.c: File removed.
255 * sysdeps/wordsize-64/iofgetpos.c: File removed.
256 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
257 * sysdeps/wordsize-64/iofsetpos.c: File removed.
258 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
259 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
260 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
261 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
262 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
263 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
264 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
265 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
266 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
267 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
268 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
269
270 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
272 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
274 [defined __arch64__ || defined __sparcv9]
275 (__OFF_T_MATCHES_OFF64_T): New macro.
276 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
277 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
279 (__OFF_T_MATCHES_OFF64_T): New macro.
280
c5757acd
L
2812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
282
283 * stdlib/secure-getenv.c (__secure_getenv): Replace
284 GLIBC_2_16 with GLIBC_2_17.
285
3a31811e
L
2862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
287
288 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
289 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
290
faa2bccb
DM
2912012-08-03 David S. Miller <davem@davemloft.net>
292
293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
294
85fe1997
JM
2952012-08-03 Joseph Myers <joseph@codesourcery.com>
296
297 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
298 Remove.
299 (__ASSUME_CORRECT_SI_PID): Likewise.
300 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
301 (__ASSUME_TMPFS_NAME): Likewise.
302 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
303 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
304 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
305 (HAVE_AUX_SECURE): Make definition unconditional.
306 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
307 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
308
4f75b7a0
RM
3092012-08-03 Roland McGrath <roland@hack.frob.com>
310
311 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
312 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
313 * sysdeps/mach/hurd/eloop-threshold.h: New file.
314 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
315 __eloop_threshold instead of SYMLOOP_MAX.
316
317 * sysdeps/generic/eloop-threshold.h: New file.
318 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
319 of MAXSYMLINKS.
320 * elf/chroot_canon.c (chroot_canon): Likewise.
321
7aab07e4
JM
3222012-08-03 Joseph Myers <joseph@codesourcery.com>
323
324 [BZ #13717]
325 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
326 Change to 2.6.0 everywhere.
327 * sysdeps/unix/sysv/linux/configure: Regenerated.
328 * sysdeps/unix/sysv/linux/kernel-features.h
329 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
330 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
331 kernel versions.
332 (__ASSUME_POSIX_TIMERS): Define unconditionally.
333 (__ASSUME_FUTEX_REQUEUE): Remove.
334 (__ASSUME_STATFS64): Define unconditionally.
335 (__ASSUME_AT_SECURE): Likewise.
336 (__ASSUME_CORRECT_SI_PID): Likewise.
337 (__ASSUME_TGKILL): Define without depending on kernel version for
338 i386.
339 (__ASSUME_UTIMES): Likewise.
340 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
341 kernel version.
342 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
343 (__ASSUME_TMPFS_NAME): Likewise.
344 * README: Update reference to Linux kernel versions.
345
b67e9372
MP
3462012-08-02 Marek Polacek <polacek@redhat.com>
347
348 [BZ#14150]
349 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
350 libc_cv_asm_type_prefix with %.
351 * configure: Regenerated.
d2441631
RM
352 * include/libc-symbols.h: Remove comment about
353 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
354 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
355 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
356 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
357 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
358 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
359 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
360 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
361 * elf/tst-unique2mod1.c: Likewise.
362 * elf/tst-unique1mod2.c: Likewise.
363 * elf/tst-unique1mod1.c: Likewise.
364 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
365 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
366 Replace ASM_TYPE_DIRECTIVE with .type.
367 * sysdeps/s390/s390-64/sysdep.h: Likewise.
368 * sysdeps/i386/sysdep.h: Likewise.
369 * sysdeps/x86_64/sysdep.h: Likewise.
370 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
372 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 373 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
374 * sysdeps/powerpc/powerpc32/sysdep.h:
375 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
376 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
377 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
378 * sysdeps/i386/fpu/e_powf.S: Likewise.
379 * sysdeps/i386/fpu/e_expl.S: Likewise.
380 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
381 * sysdeps/i386/fpu/e_acosh.S: Likewise.
382 * sysdeps/i386/fpu/e_pow.S: Likewise.
383 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
384 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
385 * sysdeps/i386/fpu/s_expm1.S: Likewise.
386 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
387 * sysdeps/i386/fpu/e_log2.S: Likewise.
388 * sysdeps/i386/fpu/e_log2l.S: Likewise.
389 * sysdeps/i386/fpu/e_scalb.S: Likewise.
390 * sysdeps/i386/fpu/e_powl.S: Likewise.
391 * sysdeps/i386/fpu/e_log10f.S: Likewise.
392 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
393 * sysdeps/i386/fpu/e_logl.S: Likewise.
394 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
395 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
396 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
397 * sysdeps/i386/fpu/e_log2f.S: Likewise.
398 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
399 * sysdeps/i386/fpu/e_log.S: Likewise.
400 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
401 * sysdeps/i386/fpu/e_logf.S: Likewise.
402 * sysdeps/i386/fpu/e_log10l.S: Likewise.
403 * sysdeps/i386/fpu/e_atanh.S: Likewise.
404 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
405 * sysdeps/i386/fpu/e_log10.S: Likewise.
406 * sysdeps/i386/fpu/s_frexp.S: Likewise.
407 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
408 * sysdeps/i386/fpu/s_asinh.S: Likewise.
409 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
410 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
411 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
412 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
413 * sysdeps/i386/i686/strtok.S: Likewise.
414 * sysdeps/i386/i386-mcount.S: Likewise.
415 * sysdeps/i386/strtok.S: Likewise.
416 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
417 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
418 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
419 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
420 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
421 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
422 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
423 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
424 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
425 * sysdeps/x86_64/_mcount.S: Likewise.
426 * sysdeps/x86_64/strtok.S: Likewise.
427 * sysdeps/sh/_mcount.S: Likewise.
428
2747bf9a
RM
4292012-08-01 Roland McGrath <roland@hack.frob.com>
430
431 * libio/iofopen.c: Include <fcntl.h>.
432 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
433 (_IO_fopen64, fopen64): Define as aliases.
434 * libio/iofopen64.c: Include <fcntl.h>.
435 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
436 Conditionalize body on this.
437 * sysdeps/wordsize-64/iofopen.c: File removed.
438 * sysdeps/wordsize-64/iofopen64.c: File removed.
439
3fb791b8
MP
4402012-08-01 Marek Polacek <polacek@redhat.com>
441
442 * libc/Makeconfig: Use elf in place of binfmt-subdir.
443 Use dlfcn directly instead of a variable.
444 (binfmt-subdir): Do not define.
445 (dlfcn): Likewise.
446
a9f1039f
JM
4472012-08-01 Joseph Myers <joseph@codesourcery.com>
448
23bddc06
JM
449 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
450 Remove all definitions.
451 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
452 <kernel-features.h>.
453 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
454 (miss_F_GETOWN_EX): Remove all definitions.
455 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
456 macro definition.
457 [!__ASSUME_FCNTL64]: Remove conditional code.
458 [__ASSUME_FCNTL64]: Make code unconditional.
459 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
460 <kernel-features.h>.
461 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
462 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
463 (lockf64) [__NR_fcntl64]: Make code unconditional.
464 (lockf64) [__ASSUME_FCNTL64]: Likewise.
465
a9f1039f
JM
466 * sysdeps/unix/sysv/linux/kernel-features.h
467 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
468 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
469 Make code unconditional.
470 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
471 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
473 [__NR_vfork]: Make code unconditional.
474 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
475 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
477 [__NR_vfork]: Make code unconditional.
478 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
479 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
480
09c0ee5f
RM
4812012-08-01 Roland McGrath <roland@hack.frob.com>
482
48aec5b9
RM
483 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
484 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
485
cd97c966
RM
486 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
487 Define mkstemp64 as an alias.
3f55550c
RM
488 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
489 Define mkstemps64 as an alias.
cd97c966
RM
490 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
491 Define mkostemp64 as an alias.
b8625cfc
RM
492 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
493 Define mkostemps64 as an alias.
cd97c966
RM
494 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
495 Conditionalize body on this.
496 * misc/mkostemp64.c: Likewise.
b8625cfc 497 * misc/mkostemps64.c: Likewise.
3f55550c 498 * misc/mkstemps64.c: Likewise.
cd97c966
RM
499 * sysdeps/wordsize-64/mkstemp64.c: File removed.
500 * sysdeps/wordsize-64/mkostemp64.c: File removed.
501 * sysdeps/wordsize-64/mkostemp.c: File removed.
502 * sysdeps/wordsize-64/mkstemp.c: File removed.
503 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
504 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
505 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
506 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
507
09c0ee5f
RM
508 [BZ #14138]
509 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
510 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
511 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
512 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
513
514 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
515 compat_symbol macros from <shlib-compat.h> rather than the underlying
516 default_symbol_version and symbol_version macros, so that DEFAULT
517 lines in shlib-versions are respected.
518 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
519
7e66ee51
FW
5202012-08-01 Florian Weimer <fweimer@redhat.com>
521
522 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
523 Declare with warn_unused_result.
524 (setgid, setregid, setegid, setresgid): Likewise.
525 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
526 Likewise.
527 * WUR-REPORT: Remove set*id functions.
528
d2a54255
PT
5292012-07-31 Pino Toscano <toscano.pino@tiscali.it>
530
531 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
532
7ecdb005
RM
5332012-07-31 Roland McGrath <roland@hack.frob.com>
534
789bd351
RM
535 * include/sys/socket.h (__libc_accept, __libc_accept4):
536 Add attribute_hidden.
537 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
538
40ce302d
RM
539 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
540 use of PTR_MANGLE.
541 * inet/getnetgrent_r.c (setup): Likewise.
542
7ecdb005
RM
543 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
544
e2eabb2c
DM
5452012-07-31 David S. Miller <davem@davemloft.net>
546
547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
548
d0419dbf
JM
5492012-07-31 Joseph Myers <joseph@codesourcery.com>
550
551 [BZ #13629]
552 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
553 value between 1.0 and 2.0 and smaller part has absolute value less
554 than 1.0.
555 * math/s_clog10.c (__clog10): Likewise.
556 * math/s_clog10f.c (__clog10f): Likewise.
557 * math/s_clog10l.c (__clog10l): Likewise.
558 * math/s_clogf.c (__clogf): Likewise.
559 * math/s_clogl.c (__clogl): Likewise.
560 * math/libm-test.inc (clog_test): Add more tests.
561 (clog10_test): Likewise.
562 * sysdeps/i386/fpu/libm-test-ulps: Update.
563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
564
2bc13872
FW
5652012-07-31 Florian Weimer <fweimer@redhat.com>
566
567 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
568 Exit with zero in case no suitable GID is found, and write a
569 message to standard error.
570
bea9b193
RM
5712012-07-30 Roland McGrath <roland@hack.frob.com>
572
573 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
574 rather than to 1.
575 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
576 (MAXPATHLEN): Removed.
577 (NOGROUP, NODEV): New macros.
578 (setbit, clrbit, isset, isclr): New macros.
579 (howmany, roundup, powerof2): New macros.
580 (DEV_BSIZE): New macro.
581
582 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
583 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
584
585 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
586 definition on [!__NO_LONG_DOUBLE_MATH].
587
588 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
589 PTR_MANGLE and PTR_DEMANGLE.
590
591 * socket/accept4.c (accept4): Rename to __libc_accept4.
592 Define accept4 as a weak alias.
593
594 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
595 on [_DIRENT_HAVE_D_TYPE].
596 * io/ftw.c (ftw_dir): Likewise.
597
598 * io/xmknod.c (__xmknod): Don't check PATH for being null.
599
600 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
601
602 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
603 Use the BSD numbers rather than the arbitrary ones we had.
604 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
605 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
606 (SIGXCPU, SIGXFSZ): New macros.
607 (_NSIG): Now 32.
608
609 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
610 initializer on [_LIBC_REENTRANT].
611
612 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
613 definitions inside [_POSIX_MAPPED_FILES].
614
615 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
616
617 * dirent/opendir.c: Include <fcntl.h>.
618
619 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
620 (__libc_getspecific): Likewise.
621 (__libc_key_create): Likewise.
622
623 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
624 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
625 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
626 (tmpfile64): Define as alias.
627 * sysdeps/wordsize-64/tmpfile.c: File removed.
628 * sysdeps/wordsize-64/tmpfile64.c: File removed.
629 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
630 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
631
632 * stdio-common/vfscanf.c: Include <stdbool.h>.
633 * nss/makedb.c: Likewise.
634 * stdio-common/_i18n_number.h: Likewise.
635 * argp/argp-help.c: Likewise.
636 * posix/wordexp.c: Likewise.
637 * sysdeps/posix/spawni.c: Likewise.
638 * nss/nss_files/files-initgroups.c: Likewise.
639 * stdio-common/reg-modifier.c: Include <stdlib.h>.
640 * nss/nss_files/files-initgroups.c: Likewise.
641 * nss/nss_db/db-netgrp.c: Likewise.
642 * nss/nss_db/db-initgroups.c: Likewise.
643 * io/fchmodat.c: Include <sys/stat.h>.
644
645 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
646 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
647
648 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
649 [HAVE_MMAP].
650
651 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
652 Add multiple inclusion protection.
653
e5abc686
DM
6542012-07-27 David S. Miller <davem@davemloft.net>
655
656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
657
815e6fa3
GB
6582012-07-27 Gary Benson <gbenson@redhat.com>
659
660 [BZ #14298]
661 * elf/rtld.c: Include <stap-probe.h>.
662 (dl_main): Added static probes "init_start" and "init_complete".
663 * elf/dl-load.c: Include <stap-probe.h>.
664 (lose): Take new parameter "nsid".
665 Added static probe "map_failed".
666 (_dl_map_object_from_fd): Pass namespace id to lose.
667 Added static probe "map_start".
668 (open_verify): Pass namespace id to lose.
669 * elf/dl-open.c: Include <stap-probe.h>.
670 (dl_open_worker) Added static probes "map_complete", "reloc_start"
671 and "reloc_complete".
672 * elf/dl-close.c: Include <stap-probe.h>.
673 (_dl_close_worker): Added static probes "unmap_start" and
674 "unmap_complete".
675 * elf/rtld-debugger-interface.txt: New file documenting the above.
676
9f98c16c
RM
6772012-07-26 Roland McGrath <roland@hack.frob.com>
678
679 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
680 rather than a string variable.
681 * sunrpc/rpc_main.c (h_output): Likewise.
682 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
683
f3c22df3
PT
6842012-07-26 Pino Toscano <toscano.pino@tiscali.it>
685
686 * inet/check_native.c: New file.
687
3129cfc6
JM
6882012-07-26 Joseph Myers <joseph@codesourcery.com>
689
da865e95
JM
690 [BZ #13629]
691 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
692 if larger part has absolute value 1.0.
693 * math/s_clog10.c (__clog10): Likewise.
694 * math/s_clog10f.c (__clog10f): Likewise.
695 * math/s_clog10l.c (__clog10l): Likewise.
696 * math/s_clogf.c (__clogf): Likewise.
697 * math/s_clogl.c (__clogl): Likewise.
698 * math/libm-test.inc (clog_test): Add more tests.
699 (clog10_test): Likewise.
700 * sysdeps/i386/fpu/libm-test-ulps: Update.
701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
702
3129cfc6
JM
703 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
704 (pltexit): Likewise.
705 (La_regs): Likewise.
706 (La_retval): Likewise.
707 (int_retval): Likewise.
708 Update #error for removed macros to refer only to definitions in
709 tst-audit.h.
710 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
711 macro.
712 (pltexit): Likewise.
713 (La_regs): Likewise.
714 (La_retval): Likewise.
715 (int_retval): Likewise.
716 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
717 macro.
718 (pltexit): Likewise.
719 (La_regs): Likewise.
720 (La_retval): Likewise.
721 (int_retval): Likewise.
722 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
723 macro.
724 (pltexit): Likewise.
725 (La_regs): Likewise.
726 (La_retval): Likewise.
727 (int_retval): Likewise.
728 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
729 macro.
730 (pltexit): Likewise.
731 (La_regs): Likewise.
732 (La_retval): Likewise.
733 (int_retval): Likewise.
734 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
735 macro.
736 (pltexit): Likewise.
737 (La_regs): Likewise.
738 (La_retval): Likewise.
739 (int_retval): Likewise.
740 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
741 macro.
742 (pltexit): Likewise.
743 (La_regs): Likewise.
744 (La_retval): Likewise.
745 (int_retval): Likewise.
746 * sysdeps/generic/tst-audit.h: Update comment to refer only to
747 macro definitions in tst-audit.h.
748 * sysdeps/i386/tst-audit.h: New file.
749 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
750 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
751 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
752 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
753 * sysdeps/sh/tst-audit.h: Likewise.
754 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
755 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
756 * sysdeps/x86_64/tst-audit.h: Likewise.
757
bfc07087
AJ
7582012-07-26 Andreas Jaeger <aj@suse.de>
759
b1b2aaf8
AJ
760 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
761 ptrace.
762
763 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
764 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
765 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
766 PTRACE_O_MASK.
767 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
768 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
769 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
770
bfc07087
AJ
771 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
772 value.
773
774 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
775 _sigsys.
776 (si_call_addr, si_syscall, si_arch): Define new macro.
777 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
778 _sigsys.
779 (si_call_addr, si_syscall, si_arch): Define new marcro.
780 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
781 _sigsys.
782 (si_call_addr, si_syscall, si_arch): Define new macro.
783 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
784 _sigsys.
785 (si_call_addr, si_syscall, si_arch): Define new macro.
786
89b4b02f
JM
7872012-07-25 Joseph Myers <joseph@codesourcery.com>
788
789 [BZ #13717]
790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
791 Change to 2.4.21 where previously 2.4.1.
792 * sysdeps/unix/sysv/linux/configure: Regenerated.
793 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
794 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
795 Linux kernel version.
796 (__ASSUME_STD_AUXV): Remove.
797 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
798 kernel version.
799 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
800 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
801 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
802 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
803 (__ASSUME_NETLINK_SUPPORT): Likewise.
804 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
805 (__no_netlink_support): Remove conditional definition.
806 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
807 Remove.
808 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
809 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
810 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
811 (if_nameindex_ioctl): Remove.
812 (if_nameindex_netlink): Do not handle __no_netlink_support.
813 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
814 code.
815 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
816 Remove conditional code.
817 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
818 code.
819 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
820 unconditional.
821 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
822 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
823 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
824 Remove.
825 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
826 [!__ASSUME_STD_AUXV]: Remove conditional code.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
828 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
829 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
831 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
832 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
833 code.
834 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
836 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
837 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
838 conditional code.
839 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
841 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
842 code.
843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
844 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
845 conditional code.
846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
847 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
848 code unconditional.
849 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
850 conditional code.
851 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
852 unconditional.
853 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
854 conditional code.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
856 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
857 unconditional.
858 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
859 conditional code.
860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
861 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
862 code unconditional.
863 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
864 conditional code.
865 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
866 unconditional.
867 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
868 conditional code.
869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
870 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
871 code unconditional.
872 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
873 conditional code.
874 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
875 unconditional.
876 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
877 conditional code.
878
842a39cd
AS
8792012-07-25 Andreas Schwab <schwab@linux-m68k.org>
880
881 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
882 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
883 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
884 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
885 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
886 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
887 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
888 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
889 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
890 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
891 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
892 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
893 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
894 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
895 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
896 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
897 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
898 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
899 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
901 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
902 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
903 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
904
84b3fd84
FW
9052012-07-25 Florian Weimer <fweimer@redhat.com>
906
907 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
908 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
909 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
910 Introduce __libc_secure_getenv.
0c7936d5
FW
911 * stdlib/Versions (2.17): Add secure_getenv
912 (GLIBC_PRIVATE): Add __libc_secure_getenv.
913 * stdlib/secure-getenv.c: Rename __secure_getenv to
914 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
915 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
916 * stdlib/tst-secure-getenv.c: New.
917 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
918 * manual/startup.texi (Environment Access): Document
919 secure_getenv.
84b3fd84
FW
920 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
921 __libc_secure_getenv.
922 * inet/ruserpass.c (ruserpass): Likewise.
923 * malloc/mtrace.c (mtrace): Likewise.
924 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 925 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
926 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
927 * sysdeps/posix/tempname.c: Likewise. Evaluate
928 HAVE_SECURE_GETENV.
929 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 930 __secure_getenv to __libc_secure_getenv.
84b3fd84 931 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
933 Likewise.
934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
935 Likewise.
936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
938 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 943
56e49b71
JM
9442012-07-25 Joseph Myers <joseph@codesourcery.com>
945
946 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
947 (struct La_i86_retval): Likewise.
948 (struct La_x86_64_regs): Likewise.
949 (struct La_x86_64_retval): Likewise.
950 (struct La_x32_regs): Likewise.
951 (struct La_x32_retval): Likewise.
952 (struct La_ppc32_regs): Likewise.
953 (struct La_ppc32_retval): Likewise.
954 (struct La_ppc64_regs): Likewise.
955 (struct La_ppc64_retval): Likewise.
956 (struct La_sh_regs): Likewise.
957 (struct La_sh_retval): Likewise.
958 (struct La_s390_32_regs): Likewise.
959 (struct La_s390_32_retval): Likewise.
960 (struct La_s390_64_regs): Likewise.
961 (struct La_s390_64_retval): Likewise.
962 (struct La_sparc32_regs): Likewise.
963 (struct La_sparc32_retval): Likewise.
964 (struct La_sparc64_regs): Likewise.
965 (struct La_sparc64_retval): Likewise.
966 (struct audit_ifaces): Remove architecture-specific pltenter and
967 pltexit members.
968 * sysdeps/i386/ldsodefs.h: New file.
969 * sysdeps/powerpc/ldsodefs.h: Likewise.
970 * sysdeps/s390/ldsodefs.h: Likewise.
971 * sysdeps/sh/ldsodefs.h: Likewise.
972 * sysdeps/sparc/ldsodefs.h: Likewise.
973 * sysdeps/x86_64/ldsodefs.h: Likewise.
974
354691b7
MP
9752012-07-25 Marek Polacek <polacek@redhat.com>
976
977 [BZ #6808]
978 * math/libm-test.inc (yn_test): Add another test.
979 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
980 to ERANGE when the result is +-Inf.
981 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
982 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
983 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
984 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
985
bf9e2071
JM
9862012-07-24 Joseph Myers <joseph@codesourcery.com>
987
988 * conform/data/time.h-data (NULL): Use macro-constant. Require
989 equal to 0.
990 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
991 clock_t.
992 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
993
57633811
TS
9942012-07-23 Thomas Schwinge <thomas@codesourcery.com>
995
996 * configure.in <sysdeps resolving>: Correct printing
997 Implies_before.
998 * configure: Regenerate.
999
c23c33b0
TS
10002012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1001
1002 * math/w_ilogb.c: Include <limits.h>.
1003 * math/w_ilogbl.c: Likewise.
1004
b5982523
JM
10052012-07-20 Joseph Myers <joseph@codesourcery.com>
1006
1007 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1008 va_copy. Document allowing for unavailable va_copy only as
1009 pre-C99 compatibility.
1010 * manual/string.texi (Copying and Concatenation): Use va_copy
1011 instead of __va_copy in concat example.
1012
ac4ea442
PT
10132012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1014
1015 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1016 (__sendto): Use create_address_port. Initialize APORT and deallocate
1017 it if not null.
1018
f98eafbd
PT
1019 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1020 with O_NOLINK passed to __file_name_lookup.
1021
898c7aab
PT
1022 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1023 with O_NOLINK passed to __file_name_lookup.
1024
0ced335a
PT
1025 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1026 negative N or less than NGIDS.
1027
b3404dbd
PT
1028 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1029 type to string_t. Set ERANGE as errno and return it if NAME is not big
1030 enough. Use memcpy instead of strncpy.
1031
0f48659e
JM
10322012-07-20 Joseph Myers <joseph@codesourcery.com>
1033
1034 * elf/Makefile (check-data): Remove.
1035 (localplt.data): New vpath directive.
1036 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1037 instead of $(check-data).
1038 * scripts/data/localplt-generic.data: Move to ...
1039 * sysdeps/generic/localplt.data: ... here.
1040 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1041 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1042 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1044 ... here.
1045 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1047 ... here.
1048 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1050 ... here.
1051 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1053 ... here.
1054 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1056 ... here.
1057 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1059 ... here.
1060
d37cbdaa
AZ
10612012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1062
1063 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1064 PPC32 and PPC64 files.
1065 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1066 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1067
46f85fc2
AK
10682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1069
1070 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1071 __makecontext_ret to ...
1072 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1073 ... here and call exit if uc_link is NULL. New file.
1074 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1075 __makecontext_ret.S.
1076 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1077 __makecontext_ret to ...
1078 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1079 ... here and call exit if uc_link is NULL. New file.
1080 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1081 __makecontext_ret.S.
1082
08f43f9b
AK
10832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1084
1085 * elf/elf.h (R_390_IRELATIVE): New definition.
1086 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1087 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1088 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1089 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1090 (elf_machine_lazy_rel): Likewise.
1091 * sysdeps/s390/dl-irel.h: New file.
1092 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1093 * sysdeps/s390/s390-64/memset.S: New asm code.
1094 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1095 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1096 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1097 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1098 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1099 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1100 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1101 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1102 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1103 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1104 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1105 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1106 * sysdeps/s390/s390-32/memset.S: New asm code.
1107 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1108
3b05db33
MP
11092012-07-17 Marek Polacek <polacek@redhat.com>
1110
1111 [BZ #14349]
1112 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1113 * sysdeps/s390/s390-64/configure.in: Likewise.
1114 * sysdeps/sparc/configure.in: Likewise.
1115 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1116 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1117 * sysdeps/i386/configure.in: Likewise.
1118 * sysdeps/x86_64/configure.in: Likewise.
1119 * sysdeps/sh/configure.in: Likewise.
1120 * sysdeps/s390/s390-32/configure: Regenerated.
1121 * sysdeps/s390/s390-64/configure: Likewise.
1122 * sysdeps/x86_64/configure: Likewise.
1123 * sysdeps/sh/configure: Likewise.
1124 * sysdeps/powerpc/powerpc64/configure: Likewise.
1125 * sysdeps/powerpc/powerpc32/configure: Likewise.
1126 * sysdeps/sparc/configure: Likwise.
1127 * sysdeps/i386/configure: Likewise.
1128
a66877c6
MP
1129 * elf/dl-open.c: Comment fixes.
1130
cfc82fd8
JM
11312012-07-17 Joseph Myers <joseph@codesourcery.com>
1132
bd29910a
JM
1133 * Makefile [CXX] (check-data): Remove.
1134 [CXX] (c++-types.data): New vpath directive.
1135 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1136 vpath. Do not allow for C++ type data being missing.
1137 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1138 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1139 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1140 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1141 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1142 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1143 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1145 ... here.
1146 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1148 ... here.
1149 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1151 ... here.
1152 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1154 ... here.
1155 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1157 ... here.
1158 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1160 ... here.
1161 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1163 ... here.
1164 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1166
cfc82fd8
JM
1167 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1168 definitions to architecture-specific files.
1169 (TLS_IE): Likewise.
1170 (TLS_LD): Likewise.
1171 (TLS_GD): Likewise.
1172 * sysdeps/i386/tls-macros.h: New file.
1173 * sysdeps/powerpc/tls-macros.h: Likewise.
1174 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1175 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1176 * sysdeps/sh/tls-macros.h: Likewise.
1177 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1178 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1179 * sysdeps/x86_64/tls-macros.h: Likewise.
1180
f7db3170
TS
11812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1182
07cbfc23
TS
1183 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1184 zero value for regular exit case.
1185
f7db3170
TS
1186 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1187 (__start_context): Preserve zero value for regular exit case.
1188
dc97c227
TS
11892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1190 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1191
1192 * manual/setjmp.texi (setcontext): Clarify normal process
1193 termination when uc_link is the null pointer.
1194 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1195 exit call.
1196
d0cd7d02
AS
11972012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1198
1199 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1200 preprocessor. Test for each exception mask separately.
1201
dd318934
AJ
12022012-07-16 Andreas Jaeger <aj@suse.de>
1203
1204 * po/ru.po: Update from translation team.
1205
8048311a
JM
12062012-07-15 Joseph Myers <joseph@codesourcery.com>
1207
1208 * conform/data/string.h-data (NULL): Use macro-constant. Require
1209 equal to 0.
1210 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1211 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1212 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1213 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1214 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1215
b637d46e
AJ
12162012-07-13 Andreas Jaeger <aj@suse.de>
1217
1218 * po/fr.po: Update from translation team.
1219
541428fe
MP
12202012-07-12 Marek Polacek <polacek@redhat.com>
1221
1222 [BZ #14173]
1223 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1224 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1225 loop condition.
1226
ec332e94
JM
12272012-07-12 Joseph Myers <joseph@codesourcery.com>
1228
1229 [BZ #13717]
1230 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1231 Change to 2.4.1 where previously 2.4.0.
1232 * sysdeps/unix/sysv/linux/configure: Regenerated.
1233 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1234 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1235 version.
1236 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1237 (__ASSUME_AT_CLKTCK): Remove.
1238 (__ASSUME_AT_PAGESIZE): Likewise.
1239 (__ASSUME_AT_XID): Likewise.
1240 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1241 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1242 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1243 unconditionally.
1244 (HAVE_AUX_PAGESIZE): Likewise.
1245 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1246 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1247 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1248
7b6e99be
JB
12492012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1250
1251 [BZ #14307]
1252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1253 the temporary buffer used to invoke __gethostbyname2_r,
1254 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1255 host_data / struct gaih_addrtuple.
1256 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1257 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1258 header file nss/nsswitch.h.
1259 * nss/nsswitch.h (global scope): Add definition of implementation
1260 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1261 resolv/nss_dns/dns-host.c).
1262
608404eb
AJ
12632012-07-11 Andreas Jaeger <aj@suse.de>
1264
1265 * po/fr.po: Update from translation team.
1266
71220aca
AJ
1267 * po/sv.po: Update from translation team
1268 * po/fr.po: Another update from translation team.
1269
28cfe843
AZ
12702012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1271
1272 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1273 for subnormals or multiply small sinh result by itself.
1274 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1276
6b90f981
DM
12772012-07-11 David S. Miller <davem@davemloft.net>
1278
1279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1280
c6825772
AS
12812012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1282
1283 [BZ #14347]
1284 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1285 (INTERNAL_MARK): Shift it here.
1286
7b8e0d49
MP
12872012-07-10 Marek Polacek <polacek@redhat.com>
1288
1289 [BZ #14151]
1290 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1291 libc_cv_asm_global_directive with .globl.
1292 * configure: Regenerated.
1293 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1294 with .globl.
1295 * sysdeps/i386/configure: Regenerated.
1296 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1297 with .globl.
1298 * sysdeps/x86_64/configure: Regenerated.
1299 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1300 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1301 * elf/tst-unique2mod2.c: Likewise.
1302 * elf/tst-unique2mod1.c: Likewise.
1303 * elf/tst-unique1mod2.c: Likewise.
1304 * elf/tst-unique1mod1.c: Likewise.
1305 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1306 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1307 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1308 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1309 * sysdeps/mach/sysdep.h: Likewise.
1310 * sysdeps/i386/sysdep.h: Likewise.
1311 * sysdeps/i386/i386-mcount.S: Likewise.
1312 * sysdeps/x86_64/_mcount.S: Likewise.
1313 * sysdeps/x86_64/sysdep.h: Likewise.
1314 * sysdeps/sh/_mcount.S: Likewise.
1315 * sysdeps/sh/sysdep.h: Likewise.
1316 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1317 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1318 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1319 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1320 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1321 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1322 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1323 * locale/localeinfo.h: Likewise.
1324 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1325 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1326
6c55cda3
RM
13272012-07-09 Roland McGrath <roland@hack.frob.com>
1328
1329 [BZ #14336]
1330 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1331 system".
1332 * manual/message.texi (The Uniforum approach): Likewise.
1333 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1334 (glibc iconv Implementation): Likewise.
1335
638a572e
JM
13362012-07-09 Joseph Myers <joseph@codesourcery.com>
1337
1338 [BZ #14337]
1339 * math/s_clog.c (__clog): Avoid scaling a value down where that
1340 could result in underflow.
1341 * math/s_clog10.c (__clog10): Likewise.
1342 * math/s_clog10f.c (__clog10f): Likewise.
1343 * math/s_clog10l.c (__clog10l): Likewise.
1344 * math/s_clogf.c (__clogf): Likewise.
1345 * math/s_clogl.c (__clogl): Likewise.
1346 * math/libm-test.inc (clog_test): Add more tests.
1347 (clog10_test): Likewise.
1348 * sysdeps/i386/fpu/libm-test-ulps: Update.
1349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1350
261f4859
AS
13512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1352
0abaf3e4
AS
1353 [BZ #14283]
1354 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1355 by 7 not 8 to examine high bit of fractional part.
1356
261f4859
AS
1357 [BZ #14042]
1358 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1359 for call to __mcount_internal.
1360 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1361 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1362 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1363
f17ac40d
JM
13642012-07-06 Joseph Myers <joseph@codesourcery.com>
1365
9ad63c23
JM
1366 [BZ #14154]
1367 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1368 approximation for values within 0x1p-13f of an odd multiple of
1369 pi/4.
1370 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1371 exception. Add more tests.
1372 * sysdeps/i386/fpu/libm-test-ulps: Update.
1373
f17ac40d
JM
1374 [BZ #6778]
1375 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1376 inputs and return -1 for them. Do not check for +Inf in case not
1377 reachable for +Inf.
1378 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1379 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1380 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1381 and return -1 for them. Do not check for +Inf in case not
1382 reachable for +Inf.
1383 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1384 define.
1385 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1386 and return -1 for them. Do not check for +Inf in case not
1387 reachable for +Inf.
1388 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1389 spurious underflow.
1390 * sysdeps/i386/fpu/libm-test-ulps: Update.
1391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1392
fb21f89b
MF
13932012-07-06 Mike Frysinger <vapier@gentoo.org>
1394
1395 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1396
cdfe2c5e
JM
13972012-07-05 Joseph Myers <joseph@codesourcery.com>
1398
1399 [BZ #14157]
1400 [BZ #14331]
1401 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1402 could result in spurious underflow. Scale down values above
1403 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1404 * math/s_csqrtf.c (__csqrtf): Likewise.
1405 * math/s_csqrtl.c (__csqrtl): Likewise.
1406 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1407 spurious underflow.
1408 * sysdeps/i386/fpu/libm-test-ulps: Update.
1409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1410
70d35b67
AS
14112012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1412
704bc459
AS
1413 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1414 xopen-msg.sed.
1415 * catgets/xopen-msg.awk: New file.
1416 * catgets/xopen-msg.sed: Removed.
1417
70d35b67
AS
1418 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1419 po2text.sed.
1420 * intl/po2test.awk: New file.
1421 * intl/po2test.sed: Removed.
1422
ca61cf32
JM
14232012-07-04 Joseph Myers <joseph@codesourcery.com>
1424
1425 [BZ #14328]
1426 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1427 or multiply small sinh result by itself.
1428 * math/s_ctanf.c (__ctanf): Likewise.
1429 * math/s_ctanh.c (__ctanh): Likewise.
1430 * math/s_ctanhf.c (__ctanhf): Likewise.
1431 * math/s_ctanhl.c (__ctanhl): Likewise.
1432 * math/s_ctanl.c (__ctanl): Likewise.
1433 * math/libm-test.inc (ctan_test_tonearest): New function.
1434 (ctan_test_towardzero): Likewise.
1435 (ctan_test_downward): Likewise.
1436 (ctan_test_upward): Likewise.
1437 (ctanh_test_tonearest): Likewise.
1438 (ctanh_test_towardzero): Likewise.
1439 (ctanh_test_downward): Likewise.
1440 (ctanh_test_upward): Likewise.
1441 (main): Call these new functions.
1442 * sysdeps/i386/fpu/libm-test-ulps: Update.
1443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1444
ca48a46a
MF
14452012-07-03 Mike Frysinger <vapier@gentoo.org>
1446
1447 * .gitignore: Delete /ports entry.
1448
9d63d37d
AJ
14492012-07-03 Andreas Jaeger <aj@suse.de>
1450
1451 * po/bg.po: Update from translation team.
1452 * po/cs.po: Likewise.
1453 * po/de.po: Likewise.
1454 * po/hr.po: Likewise.
1455 * po/nl.pl: Likewise.
1456 * po/pl.po: Likewise.
1457 * po/vi.po: Likewise.
1458
370ca3d2
JM
14592012-07-03 Joseph Myers <joseph@codesourcery.com>
1460
95f5a9a8
JM
1461 * Makeconfig [!+link] (+link-before-libc): New variable.
1462 [!+link] (+link-after-libc): Likewise.
1463 [!+link] (+link-tests): Likewise.
1464 [!+link] (+link): Define in terms of $(+link-before-libc) and
1465 $(+link-after-libc).
1466 [!+link-static] (+link-static-before-libc): New variable.
1467 [!+link-static] (+link-static-after-libc): Likewise.
1468 [!+link-static] (+link-static-tests): Likewise.
1469 [!+link-static] (+link-static): Define in terms of
1470 $(+link-static-before-libc) and $(+link-static-after-libc).
1471 [build-shared] (link-libc-before-gnulib): New variable.
1472 [build-shared] (link-libc-tests): Likewise.
1473 [build-shared] (link-libc): Define in terms of
1474 $(link-libc-before-gnulib).
1475 [!build-shared] (link-libc-tests): New variable.
1476 (link-libc-static-tests): New variable.
1477 [!gnulib] (gnulib-arch): New variable.
1478 [!gnulib] (gnulib-tests): Likewise.
1479 [!gnulib] (static-gnulib-arch): Likewise.
1480 [!gnulib] (static-gnulib-tests): Likewise.
1481 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1482 Define with "=" instead of ":=".
1483 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1484 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1485 * Rules (binaries-all-notests): New variable.
1486 (binaries-all-tests): Likewise.
1487 (binaries-static-notests): Likewise.
1488 (binaries-static-tests): Likewise.
1489 (binaries-all): Define using $(binaries-all-notests) and
1490 $(binaries-all-tests).
1491 (binaries-static): Define using $(binaries-static-notests) and
1492 $(binaries-static-tests).
1493 (binaries-shared-tests): New variable.
1494 (binaries-shared-notests): Likewise.
1495 (binaries-shared): Remove variable.
1496 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1497 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1498 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1499 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1500 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1501 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1502 * elf/Makefile (sln-modules): New variable.
1503 (extra-objs): Add $(sln-modules:=.o).
1504 (ldconfig-modules): Add static-stubs.
1505 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1506 * elf/static-stubs.c: New file.
1507
7a845b2c
JM
1508 [BZ #14283]
1509 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1510 by 7 not 8 to examine high bit of fractional part. Use volatile
1511 variables when splitting into final array of floats if
1512 __FLT_EVAL_METHOD__ != 0.
1513 * math/libm-test.inc (cos_test): Add another test.
1514 (sin_test): Likewise.
1515 * sysdeps/i386/fpu/libm-test-ulps: Update.
1516
e2283f38
JM
1517 [BZ #14273]
1518 * math/libm-test.inc (cosh_test): Add more tests.
1519
370ca3d2
JM
1520 * version.h (RELEASE): Set to "development".
1521 (VERSION): Set to "2.16.90".
1522
ee9247c3
CD
15232012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1524
1525 * NEWS: Update copyright. Remove last-updated date.
1526 Mention math library bug fixes and timezone data changes.
1527 * README: Mention GNU/Hurd, x32, and HPPA support status.
1528
4648c381
TS
15292012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1530
1531 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1532
aac78a43
AJ
15332012-06-27 Andreas Jaeger <aj@suse.de>
1534
1535 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1536
ed3dbfad
AJ
15372012-06-25 Andreas Jaeger <aj@suse.de>
1538
1539 * sysdeps/s390/fpu/libm-test-ulps: Update.
1540
4d0ee855
AS
15412012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1542 Thomas Schwinge <thomas@codesourcery.com>
1543
1544 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1545 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1546 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1547 fanotify_mark.
1548
af1bce34
TS
15492012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1550
a9fa33ba
TS
1551 * sysdeps/mach/start.c: Remove file.
1552 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1553 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1554 * sysdeps/sh/init-first.c: Likewise.
1555
58f902b8
TS
1556 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1557 registers for frame unwinding purposes, add CFI directives.
1558 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1559 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1560 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1561 Likewise.
1562
1518f58b
TS
1563 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1564 __fortify_fail returning.
1565 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1566
db9b5059
TS
1567 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1568 sysdeps/sh/____longjmp_chk.S.
1569 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1570 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1571 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1572 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1573
967705fe
TS
1574 * sysdeps/sh/abort-instr.h: New file.
1575 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1576 process in case exit returns.
1577
a9def8c4
TS
1578 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1579 initialize the GOT register before use.
1580
2a649725
TS
1581 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1582 calculation of ARGC > 4.
1583
af1bce34
TS
1584 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1585 meaningful names to some local labels.
1586
d230f50a
KK
15872012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1588 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1589
1590 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1591 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1592 (__arch_compare_and_exchange_val_16_acq): Likewise.
1593 (__arch_compare_and_exchange_val_32_acq): Likewise.
1594 (atomic_exchange_and_add): Fix gUSA sequence.
1595 (atomic_add): Likewise.
1596 (atomic_add_negative): Likewise.
1597 (atomic_add_zero): Likewise.
1598 (atomic_bit_test_set): Likewise.
1599
0479b305
AS
16002012-06-22 Andreas Schwab <schwab@redhat.com>
1601
1602 [BZ #13579]
1603 * include/link.h (struct link_map): Add l_free_initfini.
1604 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1605 l_initfini.
1606 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1607 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1608 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1609 set.
1610
0e3933b9
CD
16112012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1612
1613 * configure.in: Use AC_LANG_SOURCE.
1614 * configure: Regenerate.
1615
4248b1b1
RM
16162012-06-22 Roland McGrath <roland@hack.frob.com>
1617
1618 * configure.in (libc_cv_localstatedir): New substituted variable.
1619 * configure: Regenerated.
1620 * config.make.in (localstatedir): New variable, substituted from
1621 libc_cv_localstatedir.
1622 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1623 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1624 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1625 * sysdeps/gnu/configure: Regenerated.
1626
006dd861
JL
16272012-06-21 Jeff Law <law@redhat.com>
1628
1629 [BZ #14277]
1630 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1631 free. Simplify list management for _LIBC case.
1632
79662d42
JM
16332012-06-21 Joseph Myers <joseph@codesourcery.com>
1634
b7abb4bf
JM
1635 [BZ #14273]
1636 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1637 Clear sign bit of 64-bit integer value before comparing against
1638 overflow value.
1639
79662d42
JM
1640 * sysdeps/mach/configure: Regenerated.
1641
1f150908
L
16422012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1643
1644 [BZ #14278]
1645 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1646
28363bbf
JL
16472012-06-21 Jeff Law <law@redhat.com>
1648
1649 [BZ #13882]
1650 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1651 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1652 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1653 * elf/dl-open.c (dl_open_worker): Likewise.
1654
09615db4
CD
16552012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1656
1657 * scripts/list-sources.sh: Scan PORTS for translations.
1658 * po/libc.pot: Regenerated.
1659
2174c6dd
AJ
16602012-06-21 Andreas Jaeger <aj@suse.de>
1661
1662 [BZ #12194]
1663 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1664 warning.
1665 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1666 * bits/byteswap-16.h (__bswap_16): Likewise.
1667 * bits/byteswap.h (__bswap_constant_16): Likewise.
1668
3ee947b1
L
16692012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1670
1671 [BZ #14117]
a2f34833
L
1672 * sysdeps/i386/fpu_control.h: Removed.
1673 * sysdeps/x86_64/fpu_control.h: Moved to ...
1674 * sysdeps/x86/fpu_control.h: Here.
1675
3ee947b1
L
1676 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1677 (_FPU_SETCW): Likewise.
1678
ed1825f8
L
16792012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1680
25f1282a
L
1681 [BZ #14117]
1682 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1683 * sysdeps/x86/fpu/bits/mathinline.h: This.
1684 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1685
ed1825f8
L
1686 [BZ #14050]
1687 [BZ #14117]
1688 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1689 functions if __x86_64__ is defined.
1690
36d54b74
CLT
16912012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1692
1693 * string/endian.h: Add !__ASSEMBLER__ condition for including
1694 conversion interfaces.
1695
10285c21
JM
16962012-06-15 Joseph Myers <joseph@codesourcery.com>
1697
1698 [BZ #14241]
1699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1700 of ABS(x) in calculating zero to negative powers other than odd
1701 integers.
1702 * math/libm-test.inc (pow_test): Add more tests.
1703
06c5abbd
AJ
17042012-06-15 Andreas Jaeger <aj@suse.de>
1705
1706 * manual/contrib.texi (Contributors): Update entry of Liubov
1707 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1708 Machado Filho.
1709
a3aeac40
CH
17102012-06-15 Cyril Hrubis <metan@ucw.cz>
1711
1712 * string/string.h: Add __wur to GNU version of strerror_r.
1713
49bdf4c1
L
17142012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1715
1716 [BZ #14229]
1717 * string/Makefile (tests): Add tst-strtok_r.
1718 * string/tst-strtok_r.c: New file.
1719 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1720 RAX_LP/RDX_LP on SAVE_PTR.
1721
834f9b8d
RM
17222012-06-14 Roland McGrath <roland@hack.frob.com>
1723
1724 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1725
75fa1921
JM
17262012-06-14 Joseph Myers <joseph@codesourcery.com>
1727
1728 * libm_test.inc (csqrt_test): Allow more spurious underflow
1729 exceptions.
1730 (j0_test): Likewise.
1731 (j1_test): Likewise.
1732 (y0_test): Likewise.
1733 (y1_test): Likewise.
1734
771766df
CD
17352012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1736
1737 * po/Makefile (libc.pot): Use UTF-8 charset.
1738
ceb9e56b
PP
17392012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1740
1741 [BZ #14210]
1742 Suppress sign-conversion warning from FD_SET.
1743 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1744 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1745 not unsigned long int.
1746 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1747
ddb28975
L
17482012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1749
1750 [BZ #14050]
1751 [BZ #14117]
1752 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1753 __extern_always_inline instead of __extern_inline.
1754 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1755 (__signbit): Likewise.
1756 (__signbitl): Support C++ namespace.
1757 (lrintf): New inline function.
1758 (lrint): Likewise.
1759 (llrintf): Likewise.
1760 (llrint): Likewise.
1761 (fmaxf): Likewise.
1762 (fmax): Likewise.
1763 (fminf): Likewise.
1764 (fmin): Likewise.
1765 (rint): Likewise.
1766 (rintf): Likewise.
1767 (ceil): Likewise.
1768 (ceilf): Likewise.
1769 (floor): Likewise.
1770 (floorf): Likewise.
1771 (nearbyint): Likewise.
1772 (nearbyintf): Likewise.
1773
d7b4fb26
TS
17742012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1775
1776 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1777 non-default versions.
1778
eb55f5c2
RM
17792012-06-11 Roland McGrath <roland@hack.frob.com>
1780
1781 [BZ #14218]
1782 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1783
366af02c
TS
17842012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1785
99ff6e5c
TS
1786 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1787 (FE_UPWARD, FE_DOWNWARD): Don't define.
1788 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1789 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1790
366af02c
TS
1791 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1792 reading it.
1793 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1794 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1795
793ea851
KK
17962012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1797
1798 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1800 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1801 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1802
a728a38f
L
18032012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1804
1805 [BZ #14117]
c08010c7
L
1806 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1807 * sysdeps/i386/fpu/Implies: New file.
1808 * sysdeps/x86_64/fpu/Implies: Likewise.
1809 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1810 * sysdeps/x86/fpu/bits/fenv.h: This.
1811
a728a38f
L
1812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1813 __SSE_MATH__.
1814
6e230d11
SP
18152012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1816
1817 [BZ #14134]
1818 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1819 character 0xffff that matches the last element of the
1820 conversion table.
1821
1b671feb
AZ
18222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823
1824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1825 fmodl commit.
1826
6043738b
AZ
18272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1828
1829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1830 values higher than 25.6283.
1831
34ae0b32
AZ
18322012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1833
1834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1835 subnormal exponent extraction and add some __builtin_expect.
1836 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1837 Fix for subnormal mantissa calculation.
1838
1214ec8f
MF
18392012-06-04 Mike Frysinger <vapier@gentoo.org>
1840
1841 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1842 cpu2 is -1 and errno is not ENOSYS.
1843
f3d1f93c
L
18442012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1845
1846 [BZ #14117]
0e4a3cd7
L
1847 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1848 * sysdeps/x86/bits/string.h: This.
1849 * sysdeps/x86_64/bits/string.h: Removed.
1850
6704c645
L
1851 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1852 if not compiling for x86-64, but compiling for >= i486.
1853
48495318
L
1854 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1855 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1856
14adcbfc
L
1857 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1858 New macro from Linux kernel 3.4.0.
1859 (FP_XSTATE_MAGIC2): Likewise.
1860 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1861 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1862 (struct _fpx_sw_bytes): New struct.
1863 (struct _xsave_hdr): Likewise.
1864 (struct _ymmh_state): Likewise.
1865 (struct _xstate): Likewise.
1866
68e408ab
L
1867 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1868 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1869 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1870 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1871 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1872 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1873
f3d1f93c
L
1874 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1875 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1876 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1877 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1878 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1879 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1880
d9dc34cd
TMQMF
18812012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1882
1883 [BZ #13743]
1884 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1885 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1886 (sysdep_headers): Include sys/platform/ppc.h.
1887 * sysdeps/powerpc/test-gettimebase.c: Test for
1888 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1889 * manual/Makefile (appendices): Include platform.texi.
1890 * manual/contrib.texi (Contributors): Update @node pointers.
1891 * manual/maint.texi (Maintenance): Likewise.
1892 (Platform): New node.
1893 * manual/platform.texi: New file. Document the new features.
1894
4af3879c
SP
18952012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1896 Jakub Jelinek <jakub@redhat.com>
1897
1898 [BZ #14188]
1899 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1900 where __builtin_expect is unavailable.
1901
2fd6ff13
DM
19022012-06-03 David S. Miller <davem@davemloft.net>
1903
1904 * stdlib/longlong.h: Updated from GCC.
1905
173f7220
AS
19062012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1907
1908 [BZ #14042]
1909 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1910 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1911 __mcount_internal.
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1913 (GLIBC_2.16): Likewise.
1914
f34a1c6f
L
19152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1916
1917 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1918
88a4576f
JM
19192012-06-01 Joseph Myers <joseph@codesourcery.com>
1920
ea32bcdd
JM
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1922 (default-abi): New variable.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1924 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1925 variable.
1926 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1927 Likewise.
1928 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1929 Likewise.
1930 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1931 Likewise.
1932
88a4576f
JM
1933 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1934 definition. Document in comment.
1935
402fe938
DM
19362012-06-01 David S. Miller <davem@davemloft.net>
1937
1938 * stdlib/longlong.h: Updated from GCC.
1939
3553723f
L
19402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1941
1942 [BZ #14117]
3bd872c4
L
1943 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1944 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1945 sys/debugreg.h sys/io.h here.
1946 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1947 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1948 sys/io.h.
1949 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1950 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1951 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1952 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1953 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1954 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1955
3553723f
L
1956 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1957 Define only if __x86_64__ is defined.
1958
4842e4fe
JM
19592012-06-01 Joseph Myers <joseph@codesourcery.com>
1960
c5bfe3d5
JM
1961 [BZ #14048]
1962 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1963 Use int64_t for variable i.
1964 * math/libm-test.inc (fmod_test): Add more tests.
1965
4842e4fe
JM
1966 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1967 z computation is not scheduled after fetestexcept.
1968 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1969 Use math_force_eval instead of asm to ensure calculation scheduled
1970 before exception test.
1971 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1972 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1973
efb73488
AJ
19742012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1975
1976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1977 computation is not scheduled after fetestexcept.
1978
29bcce7c
L
19792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1980
1981 [BZ #14117]
1982 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1983 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1984
73a68f94
AZ
19852012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1986
1987 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1988 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1989
67b6df78
L
19902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1991
edf2933a 1992 [BZ #14117]
ebc64a18
L
1993 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1994 <bits/wordsize.h>.
1995 (__WCHAR_MIN): Support __WORDSIZE == 64.
1996 (__WCHAR_MAX): Likewise.
1997
edf2933a
L
1998 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1999 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2000
57c6cf40
L
2001 [BZ #14183]
2002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2003 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2004
67b6df78 2005 [BZ #14117]
8eb6281e
L
2006 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2007 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2008
aac639f4
L
2009 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2010 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2011
67b6df78
L
2012 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2013 Defined to 1 if __x86_64__ isn't defined.
2014 (_STAT_VER_LINUX_OLD): New.
2015 (st_atime): Remove duplicate.
2016 (st_mtime): Likewise.
2017 (st_ctime): Likewise.
2018
1c2cfe81
DM
20192012-05-31 David S. Miller <davem@davemloft.net>
2020
2021 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2022 entries.
2023
5be8418c
AS
20242012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2025
e7725326
AS
2026 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2027 gen-libm-test.pl.
2028
5be8418c
AS
2029 [BZ #14132]
2030 * elf/dl-reloc.c: Include <_itoa.h>.
2031 (_dl_reloc_bad_type): Remove use of INTUSE.
2032 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2033 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2034 * stdio-common/psiginfo.c (psiginfo): Likewise.
2035 * stdio-common/psignal.c (psignal): Likewise.
2036 * string/strsignal.c (strsignal): Likewise.
2037 * include/signal.h (_sys_siglist): Declare hidden proto.
2038 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2039 INTVARDEF with libc_hidden_data_def.
2040 * stdio-common/itoa-udigits.c: Likewise.
2041 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2042 (_itoa_lower_digits_internal): Remove declaration.
2043 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2044 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2045 (_sys_sigabbrev_internal): Remove aliases.
2046 (_sys_siglist): Define hidden alias.
2047
507352f1
MT
20482012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2049
2050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2051 bits/sysctl.h.
2052
42bbb1c3
L
20532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2054
2055 [BZ #14117]
6bd784b6
L
2056 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2057 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2058
8bca20f0
L
2059 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2060 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2061 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2062 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2063 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2064 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2065
f9e890a9
L
2066 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2067 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2068 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2069
471101a1
L
2070 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2071 with __addr.
2072 (insw): Likewise.
2073 (insl): Likewise.
2074 (outsb): Likewise.
2075 (outsw): Likewise.
2076 (outsl): Likewise.
2077
6451c862
L
2078 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2079 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2080 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2081
a254b8c9
L
2082 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2083 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2084 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2085 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2086 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2087 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2088
b8dfdd92
L
2089 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2090 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2091
578cd270
L
2092 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2093 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2094
de662f5f
L
2095 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2096 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2097 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2098
25653439
L
2099 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2100 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2101 to ...
2102 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2103
6bad24a0
L
2104 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2105 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2106 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2107
42bbb1c3
L
2108 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2109 for x86-64.
2110 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2111
2d10d547
JM
21122012-05-31 Joseph Myers <joseph@codesourcery.com>
2113
2114 * math/math.h (M_El): Use two more decimal places.
2115 (M_LOG2El): Likewise.
2116 (M_LOG10El): Likewise.
2117 (M_LN2l): Likewise.
2118 (M_LN10l): Likewise.
2119 (M_PIl): Likewise.
2120 (M_PI_2l): Likewise.
2121 (M_PI_4l): Likewise.
2122 (M_1_PIl): Likewise.
2123 (M_2_PIl): Likewise.
2124 (M_2_SQRTPIl): Likewise.
2125 (M_SQRT2l): Likewise.
2126 (M_SQRT1_2l): Likewise.
2127
f230c29b
DM
21282012-05-31 David S. Miller <davem@davemloft.net>
2129
2130 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2131 values between float registers.
2132 * sysdeps/sparc/sparc64/memset.S: Likewise.
2133 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2134
fed806c3
MF
21352012-05-31 Mike Frysinger <vapier@gentoo.org>
2136
2137 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2138 -D_FORTIFY_SOURCE=1.
2139 (CPPFLAGS-tst-longjmp_chk.c): Define.
2140 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2141 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2142 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2143 CFLAGS-tst-wchar-h.c.
2144
30917259
MP
21452012-05-31 Marek Polacek <polacek@redhat.com>
2146
2147 [BZ #14132]
2148 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2149 __endmntent_internal): Remove declaration.
2150 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2151 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2152 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2153
1c58d5dc
DM
21542012-05-30 David S. Miller <davem@davemloft.net>
2155
2156 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2157 (___Q_simulate_exceptions): Use real FP ops rather than writing
2158 into the %fsr.
2159 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2160 Likewise.
2161
7dc00e0d
L
21622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2163
2164 [BZ #14117]
0bd53985
L
2165 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2166 * sysdeps/x86/bits/xtitypes.h: This.
2167
3a257e66
L
2168 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2169 * sysdeps/x86/bits/wordsize.h: This.
2170
62f62904
L
2171 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2172 * sysdeps/x86/bits/huge_vall.h: This.
2173
404fe9d9
L
2174 * sysdeps/i386/bits/select.h: Removed.
2175 * sysdeps/x86_64/bits/select.h: Renamed to ...
2176 * sysdeps/x86/bits/select.h: This.
2177
d48d0446
L
2178 * sysdeps/i386/bits/setjmp.h: Removed.
2179 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2180 * sysdeps/x86/bits/setjmp.h: This.
2181
7dc00e0d
L
2182 * sysdeps/i386/bits/mathdef.h: Removed.
2183 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2184 * sysdeps/x86/bits/mathdef.h: This.
2185
03277f8f
AS
21862012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2187
2188 [BZ #14132]
2189 * include/sys/socket.h (__connect_internal)
2190 (__libc_sa_len_internal): Remove declaration.
2191 (__connect, __libc_sa_len): Declare hidden_proto.
2192 (SA_LEN): Remove use of INTUSE.
2193 * socket/connect.c: Add libc_hidden_def.
2194 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2195 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2196 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2197 alias.
2198 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2199 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2200 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2201 of adding _internal alias.
2202
13764867
L
22032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2204
2205 [BZ #14117]
6bd97696
L
2206 * sysdeps/i386/bits/link.h: Removed.
2207 * sysdeps/i386/bits/linkmap.h: Likewise.
2208 * sysdeps/x86_64/bits/link.h: Renamed to ...
2209 * sysdeps/x86/bits/link.h: This.
2210 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2211 * sysdeps/x86/bits/linkmap.h: This.
2212
f726f0bb
L
2213 * sysdeps/i386/bits/endian.h: Removed.
2214 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2215 * sysdeps/x86/bits/endian.h: This.
2216
13764867
L
2217 * sysdeps/i386/bits/byteswap.h: Removed.
2218 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2219 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2220 * sysdeps/x86/bits/byteswap.h: This.
2221 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2222 * sysdeps/x86/bits/byteswap-16.h: This.
2223 * sysdeps/i386/Implies: Add x86.
2224 * sysdeps/x86_64/Implies: Likewise.
2225
ae251b0b
DM
22262012-05-30 David S. Miller <davem@davemloft.net>
2227
2228 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2229 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2230 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2231 (FP_TRAPPING_EXCEPTIONS): Define.
2232 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2233 (FP_TRAPPING_EXCEPTIONS): Define.
2234 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2235 subnormals only when inexact has been signalled or underflow
2236 exceptions are enabled.
2237 (_FP_PACK_CANONICAL): Likewise.
2238
d5c90867
L
22392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2240
2241 [BZ #14183]
2242 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2243 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2244
63f1549e
RH
22452012-05-30 Richard Henderson <rth@twiddle.net>
2246
8d8f2279
RH
2247 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2248 with #ifndef NOT_IN_libc.
2249
63f1549e
RH
2250 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2251 marked to avoid plt entry.
2252
0ab0291b
L
22532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2254
2255 [BZ #14112]
2256 * Makeconfig (default-abi): New macro.
2257 (abi-includes): Likewise.
2258 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2259 $(abi-$(default-abi)-lib-soname) for soname if defined.
2260 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2261 abi-variants.
2262 * Makefile (installed-stubs): Likewise.
2263 * include/stubs-biarch.h: Removed.
2264 * scripts/lib-names.awk: Only handle one library at a time.
2265 * scripts/soversions.awk: Remove WORDSIZE support.
2266 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2267 entries.
2268 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2269 Removed.
2270 (syscall-list-default-condition): Likewise.
2271 (syscall-list-default-condition): Likewise.
2272 (syscall-list-includes): Likewise.
2273 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2274 syscall-list-* with abi-*. Handle undefined abi-variants.
2275 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2276 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2277 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2278 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2279 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2280 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2281 Removed.
2282 (syscall-list-32-options): Likewise.
2283 (syscall-list-32-condition): Likewise.
2284 (syscall-list-64-options): Likewise.
2285 (syscall-list-64-condition): Likewise.
2286 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2287 macro.
2288 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2289 Renamed to ...
2290 (abi-*): This.
2291 (abi-64-ld-soname): New macro.
2292 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2293 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2294 Renamed to ...
2295 (abi-*): This.
2296 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2297 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2298
4da0431d
JM
22992012-05-30 Joseph Myers <joseph@codesourcery.com>
2300
3a85279c
JM
2301 * sysdeps/unix/sysv/linux/kernel-features.h
2302 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2303 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2304 include <kernel-features.h>.
2305 [!__NR_ftruncate64]: Remove conditional code.
2306 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2307 [__NR_ftruncate64]: Make code unconditional.
2308 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2309 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2310 include <kernel-features.h>.
2311 [!__NR_ftruncate64]: Remove conditional code.
2312 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2313 [__NR_ftruncate64]: Make code unconditional.
2314 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2316 include <kernel-features.h>.
2317 [!__NR_ftruncate64]: Remove conditional code.
2318 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2319 [__NR_ftruncate64]: Make code unconditional.
2320 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2322 include <kernel-features.h>.
2323 [!__NR_ftruncate64]: Remove conditional code.
2324 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2325 [__NR_ftruncate64]: Make code unconditional.
2326 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2327
4da0431d
JM
2328 * configure.in (libc_cv_fpie): Weaken to a compile test using
2329 LIBC_TRY_CC_OPTION.
2330 * configure: Regenerated.
2331
11ef492c
AK
23322012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2333
2334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2338 Refreshed.
2339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2345 Refreshed.
2346
d66ef399
DM
23472012-05-27 David S. Miller <davem@davemloft.net>
2348
2349 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2350 (___Q_zero): New.
2351 (__Q_simulate_exceptions): Return void. Change to simulate
2352 exceptions by writing into the %fsr.
2353 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2354 (__Qp_handle_exceptions): Likewise.
2355 (numbers): Delete.
2356 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2357 __Qp_handle_exceptions.
2358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2359 __Qp_handle_exceptions.
2360 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2361 as unused and give dummy FP_RND_NEAREST initializer.
2362 (FP_INHIBIT_RESULTS): Define.
2363 (___Q_simulate_exceptions): Update declaration.
2364 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2365 formatting.
2366 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2367 as unused and give dummy FP_RND_NEAREST initializer.
2368 (__Qp_handle_exceptions): Update declaration.
2369 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2370 formatting.
2371
04fb54b5
TS
23722012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2373
2374 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2375 the temporary FPU control word.
2376 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2377 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2378 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2379 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2380 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2381 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2382 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2383 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2384 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2385 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2386 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2387
3f99608f
KK
23882012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2389
2390 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2391 fields.
2392
65a4de4e
CLT
23932012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2394
2395 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2396 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2397 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2398 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2399 Likewise.
2400 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2401 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2402 Likewise.
2403
15749d40
UD
24042012-05-27 Ulrich Drepper <drepper@gmail.com>
2405
2406 * po/h.po: Update from translation team.
2407
25dbcb27
AS
24082012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2409
3d3f8e55
AS
2410 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2411
25dbcb27
AS
2412 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2413 handling of denormals.
2414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2415 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2416 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2417 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2418 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2420 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2421 Likewise.
2422
7ad47a80 24232012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2424
2425 [BZ #14152]
2426 * math/libm-test.inc (fma_test): Don't always expect underflow
2427 exception.
2428
9c6ea9fa
SP
24292012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2430
2431 [BZ #12416]
2432 * elf/tst-execstack.c: Include stackinfo.h.
2433 (do_test): Adjust test case to ensure that pthread_getattr_np
2434 behaviour remains the same after marking stack executable.
2435
a8239222
JM
24362012-05-25 Joseph Myers <joseph@codesourcery.com>
2437
2438 * sysdeps/unix/sysv/linux/kernel-features.h
2439 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2440 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2441 kernel-features.h.
2442 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2443 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2444 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2445 kernel-features.h.
2446 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2447 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2448
918b5606
L
24492012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 * configure.in: Define the default includes to being none.
2452 * configure: Regenerated.
2453
3a097cc7
RM
24542012-05-25 Roland McGrath <roland@hack.frob.com>
2455
8422c9a5
RM
2456 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2457 * sysdeps/x86_64/setjmp.S: Likewise.
2458 * sysdeps/i386/bsd-setjmp.S: Likewise.
2459 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2460 * sysdeps/i386/setjmp.S: Likewise.
2461 * sysdeps/i386/__longjmp.S: Likewise.
2462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2463 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2464
3a097cc7
RM
2465 * include/stap-probe.h: New file.
2466 * configure.in: Handle --enable-systemtap.
2467 * configure: Regenerated.
2468 * config.h.in (USE_STAP_PROBE): New #undef.
2469 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2470 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2471 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2472
21708942
JM
24732012-05-25 Joseph Myers <joseph@codesourcery.com>
2474
2475 [BZ #13717]
2476 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2477 to 2.4.0 where earlier.
2478 * sysdeps/unix/sysv/linux/configure: Regenerated.
2479 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2480 <kernel-features.h>.
2481 [__ASSUME_32BITUIDS]: Make code unconditional.
2482 [!__ASSUME_32BITUIDS]: Remove conditional code.
2483 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2484 <kernel-features.h>.
2485 [__ASSUME_32BITUIDS]: Make code unconditional.
2486 [!__ASSUME_32BITUIDS]: Remove conditional code.
2487 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2488 [__ASSUME_32BITUIDS]: Make code unconditional.
2489 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2490 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2491 <kernel-features.h>.
2492 [__ASSUME_32BITUIDS]: Make code unconditional.
2493 [!__ASSUME_32BITUIDS]: Remove conditional code.
2494 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
2503 <kernel-features.h>.
2504 [__ASSUME_32BITUIDS]: Make code unconditional.
2505 [!__ASSUME_32BITUIDS]: Remove conditional code.
2506 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2507 <kernel-features.h>.
2508 [__ASSUME_32BITUIDS]: Make code unconditional.
2509 [!__ASSUME_32BITUIDS]: Remove conditional code.
2510 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2511 <kernel-features.h>.
2512 [__ASSUME_32BITUIDS]: Make code unconditional.
2513 [!__ASSUME_32BITUIDS]: Remove conditional code.
2514 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2515 <kernel-features.h>.
2516 [__ASSUME_32BITUIDS]: Make code unconditional.
2517 [!__ASSUME_32BITUIDS]: Remove conditional code.
2518 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2519 <kernel-features.h>.
2520 [__ASSUME_32BITUIDS]: Make code unconditional.
2521 [!__ASSUME_32BITUIDS]: Remove conditional code.
2522 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2523 <kernel-features.h>.
2524 [__ASSUME_32BITUIDS]: Make code unconditional.
2525 [!__ASSUME_32BITUIDS]: Remove conditional code.
2526 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2527 <kernel-features.h>.
2528 [__ASSUME_32BITUIDS]: Make code unconditional.
2529 [!__ASSUME_32BITUIDS]: Remove conditional code.
2530 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2531 <kernel-features.h>.
2532 [__NR_setresgid] (__setresgid): Do not declare.
2533 [__ASSUME_32BITUIDS]: Make code unconditional.
2534 [!__ASSUME_32BITUIDS]: Remove conditional code.
2535 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2536 <kernel-features.h>.
2537 [__NR_setresuid] (__setresuid): Do not declare.
2538 [__ASSUME_32BITUIDS]: Make code unconditional.
2539 [!__ASSUME_32BITUIDS]: Remove conditional code.
2540 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2541 <kernel-features.h>.
2542 [__ASSUME_32BITUIDS]: Make code unconditional.
2543 [!__ASSUME_32BITUIDS]: Remove conditional code.
2544 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2545 <kernel-features.h>.
2546 [__ASSUME_32BITUIDS]: Make code unconditional.
2547 [!__ASSUME_32BITUIDS]: Remove conditional code.
2548 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2549 <kernel-features.h>.
2550 [__ASSUME_32BITUIDS]: Make code unconditional.
2551 [!__ASSUME_32BITUIDS]: Remove conditional code.
2552 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2553 <kernel-features.h>.
2554 [__ASSUME_32BITUIDS]: Make code unconditional.
2555 [!__ASSUME_32BITUIDS]: Remove conditional code.
2556 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2557 <kernel-features.h>.
2558 [__ASSUME_32BITUIDS]: Make code unconditional.
2559 [!__ASSUME_32BITUIDS]: Remove conditional code.
2560 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2561 <kernel-features.h>.
2562 [__ASSUME_32BITUIDS]: Make code unconditional.
2563 [!__ASSUME_32BITUIDS]: Remove conditional code.
2564 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2565 <kernel-features.h>.
2566 [__ASSUME_32BITUIDS]: Make code unconditional.
2567 [!__ASSUME_32BITUIDS]: Remove conditional code.
2568 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2569 <kernel-features.h>.
2570 [__ASSUME_32BITUIDS]: Make code unconditional.
2571 [!__ASSUME_32BITUIDS]: Remove conditional code.
2572 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2573 <kernel-features.h>.
2574 [__ASSUME_32BITUIDS]: Make code unconditional.
2575 [!__ASSUME_32BITUIDS]: Remove conditional code.
2576 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2577 <kernel-features.h>.
2578 [__ASSUME_32BITUIDS]: Make code unconditional.
2579 [!__ASSUME_32BITUIDS]: Remove conditional code.
2580 * sysdeps/unix/sysv/linux/kernel-features.h
2581 (__ASSUME_SETRESUID_SYSCALL): Remove.
2582 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2583 (__ASSUME_32BITUIDS): Likewise.
2584 (__ASSUME_LDT_WORKS): Likewise.
2585 (__ASSUME_O_DIRECTORY): Likewise.
2586 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2587 architecture but not kernel version.
2588 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2589 (__ASSUME_MMAP2_SYSCALL): Likewise.
2590 (__ASSUME_STAT64_SYSCALL): Likewise.
2591 (__ASSUME_IPC64): Likewise.
2592 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2593 <kernel-features.h>.
2594 [__ASSUME_32BITUIDS]: Make code unconditional.
2595 [!__ASSUME_32BITUIDS]: Remove conditional code.
2596 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2597 <kernel-features.h>.
2598 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2599 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2600 132096]: Remove conditional code.
2601 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2602 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2603 <kernel-features.h>.
2604 [__ASSUME_32BITUIDS]: Make code unconditional.
2605 [!__ASSUME_32BITUIDS]: Remove conditional code.
2606 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2607 <kernel-features.h>.
2608 [__ASSUME_32BITUIDS]: Make code unconditional.
2609 [!__ASSUME_32BITUIDS]: Remove conditional code.
2610 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2611 <kernel-features.h>.
2612 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2613 unconditional.
2614 (__setresgid): Do not declare.
2615 [__ASSUME_32BITUIDS]: Make code unconditional.
2616 [!__ASSUME_32BITUIDS]: Remove conditional code.
2617 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2618 <kernel-features.h>.
2619 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2620 unconditional.
2621 (__setresuid): Do not declare.
2622 [__ASSUME_32BITUIDS]: Make code unconditional.
2623 [!__ASSUME_32BITUIDS]: Remove conditional code.
2624 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2625 <kernel-features.h>.
2626 [__ASSUME_32BITUIDS]: Make code unconditional.
2627 [!__ASSUME_32BITUIDS]: Remove conditional code.
2628 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2629 <kernel-features.h>.
2630 [__ASSUME_32BITUIDS]: Make code unconditional.
2631 [!__ASSUME_32BITUIDS]: Remove conditional code.
2632
a386f1cc
RH
26332012-05-25 Richard Henderson <rth@twiddle.net>
2634
2635 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2636 dl_hwcap to ifunc resolver.
2637 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2638 elf_ifunc_invoke.
2639 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2640 dl_hwcap to ifunc resolver.
2641 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2642
b6550497
JM
26432012-05-24 Joseph Myers <joseph@codesourcery.com>
2644
2645 [BZ #14153]
2646 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2647 for |x| <= 2**-26, not 2**-57.
2648 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2649 exception.
2650
b0bc23a1
JL
26512012-05-24 Jeff Law <law@redhat.com>
2652
2653 * stdio-common/Makefile (tests): Add bug25.
2654 * stdio-common/bug25.c: New test.
2655
347c92e9
L
26562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2657
2658 [BZ #13576]
2659 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2660 multiple of MALLOC_ALIGNMENT in size.
2661 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2662
6bcc8b3f
JM
26632012-05-24 Joseph Myers <joseph@codesourcery.com>
2664
2665 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2666 Require >= 256.
2667 (FILENAME_MAX): Use macro-int-constant.
2668 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2669 (_IOFBF): Use macro-int-constant.
2670 (_IOLBF): Likewise.
2671 (_IONBF): Likewise.
2672 (SEEK_CUR): Likewise.
2673 (SEEK_END): Likewise.
2674 (SEEK_SET): Likewise.
2675 (TMP_MAX): Likewise.
2676 (EOF): Use macro-int-constant. Require < 0.
2677 (NULL): Use macro-constant. Require == 0.
2678 (stdin): Require type to be FILE *.
2679 (stdout): Likewise.
2680 (stderr): Likewise.
2681 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2682 macro-int-constant.
2683 (EXIT_SUCCESS): Likewise.
2684 (NULL): Use macro-constant. Require == 0.
2685 (RAND_MAX): Use macro-int-constant.
2686 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2687 [C99-based standards] (strtof): Require function.
2688 [C99-based standards] (strtold): Likewise.
2689 [C99-based standards] (strtoll): Likewise.
2690 [C99-based standards] (strtoull): Likewise.
2691 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2692 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2693 [ISO || ISO99 || ISO11] (math.h): Likewise.
2694 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2695 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2696 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2697
d18ea0c5
AS
26982012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2699
2700 [BZ #14132]
56d25bb8
AS
2701 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2702 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2703 * intl/dgettext.c (DCGETTEXT): Likewise.
2704 * intl/gettext.c (DCGETTEXT): Likewise.
2705 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2706 * posix/regex_internal.h (gettext): Likewise.
2707 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2708 Remove declaration.
2709 * include/argz.h (__argz_count_internal)
2710 (__argz_stringify_internal): Remove declaration.
2711 (__argz_count, __argz_stringify): Declare hidden proto.
2712 * intl/dcgettext.c: Remove use of INTDEF.
2713 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2714 * string/argz-stringify.c: Likewise.
2715 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2716 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2717 Declare hidden proto.
d18ea0c5
AS
2718 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2719 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2720 Declare hidden proto.
2721 * include/stdio.h (__asprintf_internal): Don't declare.
2722 (__asprintf): Don't define as macro. Declare hidden proto.
2723 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2724 (__fsetlocking): Declare hidden proto.
2725 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2726 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2727 hidden proto.
2728 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2729 (_IO_setlinebuf): Remove use of INTUSE.
2730 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2731 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2732 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2733 Remove declaration.
2734 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2735 (_IO_do_flush): Remove use of INTUSE.
2736 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2737 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2738 (_IO_adjust_column, _IO_least_wmarker)
2739 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2740 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2741 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2742 (_IO_default_doallocate, _IO_wdefault_doallocate)
2743 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2744 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2745 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2746 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2747 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2748 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2749 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2750 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2751 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2752 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2753 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2754 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2755 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2756 proto.
2757 (_IO_flush_all_internal, _IO_adjust_column_internal)
2758 (_IO_default_uflow_internal, _IO_default_finish_internal)
2759 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2760 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2761 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2762 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2763 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2764 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2765 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2766 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2767 (_IO_file_close_internal, _IO_file_close_it_internal)
2768 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2769 (_IO_file_init_internal, _IO_file_attach_internal)
2770 (_IO_file_fopen_internal, _IO_file_read_internal)
2771 (_IO_file_sync_internal, _IO_file_seek_internal)
2772 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2773 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2774 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2775 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2776 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2777 (_IO_list_all_internal, _IO_link_in_internal)
2778 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2779 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2780 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2781 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2782 (_IO_do_write_internal, _IO_padn_internal)
2783 (_IO_getline_info_internal, _IO_getline_internal)
2784 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2785 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2786 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2787 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2788 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2789 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2790 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2791 with libc_hidden_ver, remove use of INTUSE.
2792 * libio/genops.c: Likewise.
2793 * libio/freopen.c: Likewise.
2794 * libio/freopen64.c: Likewise.
2795 * libio/iofclose.c: Likewise.
2796 * libio/iofdopen.c: Likewise.
2797 * libio/iofflush.c: Likewise.
2798 * libio/iofflush_u.c: Likewise.
2799 * libio/iofgets.c: Likewise.
2800 * libio/iofgets_u.c: Likewise.
2801 * libio/iofopen.c: Likewise.
2802 * libio/iofopncook.c: Likewise.
2803 * libio/iofread.c: Likewise.
2804 * libio/iofread_u.c: Likewise.
2805 * libio/ioftell.c: Likewise.
2806 * libio/iofwrite.c: Likewise.
2807 * libio/iogetline.c: Likewise.
2808 * libio/iogets.c: Likewise.
2809 * libio/iogetwline.c: Likewise.
2810 * libio/iopadn.c: Likewise.
2811 * libio/iopopen.c: Likewise.
2812 * libio/ioseekoff.c: Likewise.
2813 * libio/ioseekpos.c: Likewise.
2814 * libio/iosetbuffer.c: Likewise.
2815 * libio/iosetvbuf.c: Likewise.
2816 * libio/ioungetc.c: Likewise.
2817 * libio/ioungetwc.c: Likewise.
2818 * libio/iovdprintf.c: Likewise.
2819 * libio/iovsprintf.c: Likewise.
2820 * libio/iovsscanf.c: Likewise.
2821 * libio/memstream.c: Likewise.
2822 * libio/obprintf.c: Likewise.
2823 * libio/oldfileops.c: Likewise.
2824 * libio/oldiofclose.c: Likewise.
2825 * libio/oldiofdopen.c: Likewise.
2826 * libio/oldiofopen.c: Likewise.
2827 * libio/oldiopopen.c: Likewise.
2828 * libio/oldstdfiles.c: Likewise.
2829 * libio/putc.c: Likewise.
2830 * libio/setbuf.c: Likewise.
2831 * libio/setlinebuf.c: Likewise.
2832 * libio/stdfiles.c: Likewise.
2833 * libio/strops.c: Likewise.
2834 * libio/vasprintf.c: Likewise.
2835 * libio/vscanf.c: Likewise.
2836 * libio/vsnprintf.c: Likewise.
2837 * libio/vswprintf.c: Likewise.
2838 * libio/wfiledoalloc.c: Likewise.
2839 * libio/wfileops.c: Likewise.
2840 * libio/wgenops.c: Likewise.
2841 * libio/wmemstream.c: Likewise.
2842 * libio/wstrops.c: Likewise.
2843 * libio/__fpurge.c: Likewise.
2844 * libio/__fsetlocking.c: Likewise.
2845 * assert/assert.c: Likewise.
2846 * debug/fgets_chk.c: Likewise.
2847 * debug/fgets_u_chk.c: Likewise.
2848 * debug/fread_chk.c: Likewise.
2849 * debug/fread_u_chk.c: Likewise.
2850 * debug/gets_chk.c: Likewise.
2851 * debug/obprintf_chk.c: Likewise.
2852 * debug/vasprintf_chk.c: Likewise.
2853 * debug/vdprintf_chk.c: Likewise.
2854 * debug/vsnprintf_chk.c: Likewise.
2855 * debug/vsprintf_chk.c: Likewise.
2856 * malloc/mtrace.c: Likewise.
2857 * misc/error.c: Likewise.
2858 * misc/syslog.c: Likewise.
2859 * stdio-common/asprintf.c: Likewise.
2860 * stdio-common/fxprintf.c: Likewise.
2861 * stdio-common/getw.c: Likewise.
2862 * stdio-common/isoc99_fscanf.c: Likewise.
2863 * stdio-common/isoc99_scanf.c: Likewise.
2864 * stdio-common/isoc99_vfscanf.c: Likewise.
2865 * stdio-common/isoc99_vscanf.c: Likewise.
2866 * stdio-common/isoc99_vsscanf.c: Likewise.
2867 * stdio-common/printf-prs.c: Likewise.
2868 * stdio-common/printf_fp.c: Likewise.
2869 * stdio-common/printf_fphex.c: Likewise.
2870 * stdio-common/printf_size.c: Likewise.
2871 * stdio-common/putw.c: Likewise.
2872 * stdio-common/scanf.c: Likewise.
2873 * stdio-common/sprintf.c: Likewise.
2874 * stdio-common/tmpfile.c: Likewise.
2875 * stdio-common/vfprintf.c: Likewise.
2876 * stdio-common/vfscanf.c: Likewise.
2877 * stdlib/strfmon_l.c: Likewise.
2878 * sunrpc/openchild.c: Likewise.
2879 * sunrpc/xdr_stdio.c: Likewise.
2880 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2881 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2882
d6c33fda
RM
28832012-05-24 Roland McGrath <roland@hack.frob.com>
2884
c1487492
RM
2885 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2886
2887 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2888 in the third column, to generate for the shared library an IFUNC
2889 that uses _dl_vdso_vsym.
2890 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2891 * Makeconfig (object-suffixes-noshared): New variable.
2892
2893 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2894 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2895 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2896 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2897
d6c33fda
RM
2898 [BZ #14132]
2899 * include/sys/time.h (__gettimeofday): Remove macro.
2900 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2901 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2902 Remove INTDEF.
2903 (__gettimeofday): Add libc_hidden_def.
2904 (gettimeofday): Add libc_hidden_weak.
2905 * sysdeps/mach/gettimeofday.c: Likewise.
2906 * sysdeps/posix/gettimeofday.c: Likewise.
2907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2908 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2909 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2910 (__gettimeofday_internal): Remove strong_alias.
2911 (__gettimeofday): Add libc_hidden_def.
2912 (gettimeofday): Add libc_hidden_weak.
2913 * sysdeps/unix/syscalls.list (gettimeofday):
2914 Remove __gettimeofday_internal alias.
2915
b5a2bbe6
L
29162012-05-24 Daniel Jacobowitz <drow@false.org>
2917 H.J. Lu <hongjiu.lu@intel.com>
2918
2919 [BZ #12495]
2920 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2921 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2922 (largebin_index_32_big): New.
2923 (largebin_index): Use it for 16-byte alignment.
2924 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2925 correction with front_misalign.
2926
cfba4fda
L
29272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2928
7f907421
L
2929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2931 Likewise.
2932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2933 Likewise.
2934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2935 Likewise.
2936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2937 Likewise.
2938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2939 Likewise.
2940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2941 Likewise.
2942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2943 Likewise.
2944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2945 Likewise.
2946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2947 Likewise.
2948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2949 Likewise.
2950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2951 Likewise.
2952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2953 Likewise.
2954
cfba4fda
L
2955 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2956 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2957
80bad0cc
JM
29582012-05-24 Joseph Myers <joseph@codesourcery.com>
2959
7a25eb06
JM
2960 [BZ #10846]
2961 [BZ #14036]
2962 * math/libm-test.inc (exp_test): Add test from bug 14036.
2963 (pow_test): Add test from bug 10846.
2964
795405f9
JM
2965 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2966 and other flags.
2967 (special_function): Do not include flags in test name.
2968 (parse_args): Likewise.
2969 * sysdeps/i386/fpu/libm-test-ulps: Update.
2970 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2971 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2972 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2974
80bad0cc
JM
2975 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2976 exceptions.
2977 * math/libm-test.inc ("Philosophy"): Update comment about
2978 exception testing.
2979 (UNDERFLOW_EXCEPTION): New macro.
2980 (UNDERFLOW_EXCEPTION_OK): Likewise.
2981 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2982 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2983 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2984 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2985 (INVALID_EXCEPTION_OK): Update value.
2986 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2987 (OVERFLOW_EXCEPTION_OK): Likewise.
2988 (IGNORE_ZERO_INF_SIGN): Likewise.
2989 (test_exceptions): Handle underflow exceptions.
2990 (acos_test): Update for underflow exception expectations.
2991 (cexp_test): Likewise.
2992 (clog_test): Likewise.
2993 (clog10_test): Likewise.
2994 (csqrt_test): Likewise.
2995 (ctan_test): Likewise.
2996 (ctanh_test): Likewise.
2997 (exp_test): Likewise.
2998 (exp10_test): Likewise.
2999 (exp2_test): Likewise.
3000 (expm1_test): Likewise.
3001 (fma_test): Likewise.
3002 (j0_test): Likewise.
3003 (jn_test): Likewise.
3004 (nexttoward_test): Likewise.
3005 (pow_test): Likewise.
3006 (scalbn_test): Likewise.
3007 (scalbln_test): Likewise.
3008 (tan_test): Likewise.
3009 (y1_test): Likewise.
3010 * sysdeps/i386/fpu/libm-test-ulps: Update.
3011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3012
9e0e3d0b
DM
30132012-05-23 David S. Miller <davem@davemloft.net>
3014
3015 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3016 (__libc_sigaction): Remove unused local variables.
3017
ccd0a08f
L
30182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3019
3020 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3021
62bdf9a6
PE
30222012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3023
f8591f80
PE
3024 mktime: avoid signed integer overflow
3025 * time/mktime.c (__mktime_internal): Do not mishandle the case
3026 where diff == INT_MIN.
3027
94c7d826
PE
3028 mktime: simplify computation of average
3029 * time/mktime.c (ranged_convert): Use new time_t_avg function
3030 instead of rolling our own (probably-slower) code.
3031
ce73d683
PE
3032 mktime: do not assume signed right shift propagates sign bit
3033 * time/mktime.c (isdst_differ): New static function.
3034 (__mktime_internal): No need to normalize tm_isdst now.
3035 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3036 tm_isdst values.
3037
72a22e59
PE
3038 mktime: merge another wrapv change from gnulib
3039 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3040 from some compilers.
3041
68605433
PE
3042 mktime: remove incorrect attempt at unusual arithmetics
3043 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3044 The code didn't really work on such machines anyway.
3045 (TYPE_MINIMUM): Assume two's complement.
3046 (twos_complement_arithmetic): Verify that long_int and time_t
3047 are two's complement (or unsigned, in the latter case).
3048
03cf7fe3
PE
3049 mktime: check signed shifts on long_int and time_t, too
3050 * time/mktime.c (SHR): Check that shifts work as desired
3051 on the types long_int and time_t too, as SHR is used on
3052 such types.
3053
f04dfbc2
PE
3054 mktime: do not assume 'long' is wide enough
3055 * time/mktime.c (verify): Move decl up.
3056 (long_int): New type.
3057 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3058 to remove assumption in the code that 'long' is wide enough to
3059 store year values. This assumption is not true on x32 and on
3060 some non-glibc platforms.
3061
62bdf9a6
PE
3062 mktime: merge wrapv change from gnulib
3063 * time/mktime.c (WRAPV): New macro.
3064 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3065 (guess_time_tm, __mktime_internal): Do not assume that signed
3066 integer overflow wraps around; modern compilers generate code
3067 where this assumption is no longer valid.
3068
5e292e4f
L
30692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3070
3071 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3072 Replace "jmp L(pseudo_end)" with "ret".
3073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3074 Likewise.
3075
8caf8c87
AJ
30762012-05-23 Andreas Jaeger <aj@suse.de>
3077
3078 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3079 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3080
1a09dc56
AJ
30812012-05-23 Andreas Jaeger <aj@suse.de>
3082 Maximilian Attems <max@stro.at>
3083
3084 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3085 New macros.
3086
1c87aba0
L
30872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3088
3089 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3090 code so that pseudo_end is just ret and the stack pointer is
3091 correct also for static library in error case.
3092
40e45bd5
JM
30932012-05-23 Joseph Myers <joseph@codesourcery.com>
3094
c2670533
JM
3095 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3096 move to syscalls.list.
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3101
40e45bd5
JM
3102 * manual/install.texi (Running make install): Do not mention Linux
3103 kernel version for which pt_chown is not needed.
3104 (Linux): Do not mention problems with nscd with 2.0 kernels.
3105 * INSTALL: Regenerated.
3106
be08eda5
AJ
31072012-05-23 Andreas Jaeger <aj@suse.de>
3108
3109 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3110 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3111 macro.
3112 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3113 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3114 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3115 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3116 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3119 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3120 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3121 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3122 * sysdeps/unix/sysv/linux/bits/in.h
3123 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3124
a6a056bb
RM
31252012-05-22 Roland McGrath <roland@hack.frob.com>
3126
3127 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3128 (PREPARE_VERSION): Just use assert instead, it will be elided
3129 under [NDEBUG] anyway.
3130
c9009328
L
31312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3132
3133 * sysdeps/unix/sysv/linux/Makefile: Include
3134 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3135 (sysdep_routines): Remove sysctl.
c9009328
L
3136 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3137 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3138 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3139 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3140 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3141
73338355
AJ
31422012-05-22 Andreas Jaeger <aj@suse.de>
3143
3144 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3145 that pseudo_end is just ret and the stack pointer is correct also
3146 for static library in error case.
3147
d44638b0
PP
31482012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3149
3150 [BZ #14122]
3151 * nss/nsswitch.c (defconfig_entries): New variable.
3152 (__nss_database_lookup): Don't leak defconfig entries.
3153 (nss_parse_service_list): Don't leak on error paths.
3154 (free_database_entries): New function.
3155 (free_defconfig): New function.
3156 (free_mem): Move common code to free_database_entries.
3157
31a39bd8
L
31582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3159
da0331a8
L
3160 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3161 Add arch_prctl.
3162 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3163
31a39bd8
L
3164 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3165 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3167 New macro.
3168 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3169 (INTERNAL_SYSCALL_TYPES): Likewise.
3170 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3171 (LOAD_REGS_TYPES_[1-6]): Likewise.
3172 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3173 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3174
45470df3
AZ
31752012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3176
3177 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3178 copysignl for GLIBC_2_0.
3179 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3180 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3181 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3182 logbl for GLIBC_2_0.
3183 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3184 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3185
98a61bcb
L
31862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3187
a4f6e481
L
3188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3189 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3190
f63d5db6
L
3191 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3192 Use "neg %eax".
3193
98a61bcb
L
3194 * time/mktime.c: Update copyright years.
3195
95770f14
PE
31962012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3197
6226efbd
PE
3198 mktime: merge comment-quoting-style change from gnulib
3199 * time/mktime.c: Quote 'like this' in comments.
3200 The GNU coding standards suggest that we no longer quote `like this',
3201 as "`" and "'" are typically rendered asymmetrically nowadays.
3202 The typical gnulib style is to quote 'like this' when quoting
3203 code, and "like this" when quoting English.
3204
b99e4f78
PE
3205 * time/mktime.c (compile-command): Add "-I.".
3206
643e01e6
PE
3207 mktime: merge mktime-internal.h change from gnulib
3208 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3209
2554247d
PE
3210 mktime: merge time_r change from gnulib
3211 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3212
826dd0ab
PE
3213 mktime: merge DEBUG change from gnulib
3214 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3215 case system <time.h> has a #define.
3216
bd83aabe
PE
3217 mktime: merge <sys/types.h> change from gnulib
3218 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3219 since <time.t> is now guaranteed to define time_t.
3220
95770f14
PE
3221 mktime: merge HAVE_CONFIG_H change from gnulib
3222 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3223
5e1a27a9
L
32242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3225
0e44a77e
L
3226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3227 Use "neg %eax".
3228
5e1a27a9
L
3229 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3230 __rlim_t cast.
3231 (struct rusage): Use anonymous union to pad each field to
3232 __syscall_slong_t.
3233
46259bec
DM
32342012-05-21 David S. Miller <davem@davemloft.net>
3235
3236 * Makefules (o-iterator): Remove .s cases.
3237 (compile-command.s): Delete.
3238 (COMPILE.s): Delete.
3239 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3240
59f0c22e
JM
32412012-05-21 Joseph Myers <joseph@codesourcery.com>
3242
3243 * configure.in (libc_cv_predef_stack_protector): Only consider
3244 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3245 * configure: Regenerated.
3246
20c07380
L
32472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3248
bbb3154b
L
3249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3250 New macro. Use R*LP on int and pointer.
3251 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3252 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3253 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3254 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3255
20c07380
L
3256 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3257 [__WORDSIZE_TIME64_COMPAT32] instead of
3258 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3259 (struct utmp): Likewise.
3260 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3261 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3262 Renamed to ...
3263 (__WORDSIZE_TIME64_COMPAT32): This.
3264 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3265 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3266 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3267 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3268 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3269 (__WORDSIZE_TIME64_COMPAT32): New macro.
3270
d8d1017e
AJ
32712012-05-21 Andreas Jaeger <aj@suse.de>
3272
3273 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3274 only if [SHARED]. Add prototype for __wcschr_ia32.
3275
6c7fb145
RM
32762012-05-21 Roland McGrath <roland@hack.frob.com>
3277
3278 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3279 of %rbp unmolested in the jmp_buf while mangling the low bits.
3280 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3281 unmolested high bits of %rbp while demangling the low bits.
3282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3283
66274218
AJ
32842012-05-21 Andreas Jaeger <aj@suse.de>
3285
07c58f8f
AJ
3286 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3287 * sunrpc/svc_simple.c: Use it for registerrpc.
3288 * sunrpc/xcrypt.c: Use it for passwd2des.
3289
66274218
AJ
3290 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3291
61f65140
L
32922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3293
3294 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3295 Don't define if [__SYSCALL_WORDSIZE != 32].
3296 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3297 New macro.
3298
5fefb436
AJ
32992012-05-21 Bruno Haible <bruno@clisp.org>
3300 Andreas Jaeger <aj@suse.de>
3301
3302 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3303 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3304 inptr and inend for must_buffer_ch.
3305 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3306 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3307 * stdio-common/Makefile (tests): Remove bug15.
3308 (bug15-ENV): Remove macro.
3309 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3310 anymore.
3311
d8e272ab
AJ
33122012-05-19 Andreas Jaeger <aj@suse.de>
3313 Roland McGrath <roland@hack.frob.com>
3314
3315 * manual/contrib.texi: Completely rewritten. It contains now an
3316 alphabetical list of contributors and their contributions.
3317
4a56a162
RH
33182012-05-21 Richard Henderson <rth@twiddle.net>
3319
3320 * misc/getauxval.c (__getauxval): Use unsigned long int.
3321 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3322 (getauxval): Use unsigned long int.
3323
d024d23c
L
33242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3325
3326 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3327
cbc00a03
RM
33282012-05-21 Roland McGrath <roland@hack.frob.com>
3329
3330 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3331 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3332 __alignof__ (long double).
3333
478143fa
AZ
33342012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3335
3336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3337
c7683a6d
RH
33382012-05-20 Richard Henderson <rth@twiddle.net>
3339
3340 * misc/getauxval.c: New file.
3341 * misc/sys/auxv.h: New file.
3342 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3343 (routines): Add getauxval.
3344 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3345 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3346 * elf/dl-sysdep.c (_dl_auxv): Remove.
3347 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3348 * elf/dl-support.c (_dl_auxv): New variable.
3349 (_dl_aux_init): Initialize it.
3350 * manual/startup.texi (Auxiliary Vector): New node.
3351 * sysdeps/generic/bits/hwcap.h: New file.
3352 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3353 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3354 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3355 * sysdeps/sparc/sysdep.h: ... here. Include it.
3356 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3357 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3359 Update.
c7683a6d
RH
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3363 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3368
a6f1845d
AZ
33692012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3370
3371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3372
cbcbe830
DM
33732012-05-19 David S. Miller <davem@davemloft.net>
3374
3375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3376
e0b16cc2
JM
33772012-05-19 Joseph Myers <joseph@codesourcery.com>
3378
3379 [BZ #14123]
3380 * math/s_ccosh.c: Include <float.h>
3381 (__ccosh): Avoid internal overflow calculating sinh and cosh
3382 values before multiplying by sin and cos values.
3383 * math/s_ccoshf.c: Likewise.
3384 * math/s_ccoshl.c: Likewise.
3385 * math/s_csin.c: Likewise.
3386 * math/s_csinf.c: Likewise.
3387 * math/s_csinl.c: Likewise.
3388 * math/s_csinh.c: Likewise.
3389 * math/s_csinhf.c: Likewise.
3390 * math/s_csinhl.c: Likewise.
3391 * math/libm-test.inc (ccos_test): Add more tests.
3392 (ccosh_test): Likewise.
3393 (csin_test): Likewise.
3394 (csinh_test): Likewise.
3395 * sysdeps/i386/fpu/libm-test-ulps: Update.
3396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3397
6ad13e08
L
33982012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3399
f66f0ce8
L
3400 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3401 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3402
6ad13e08
L
3403 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3404
b1d072a7
JM
34052012-05-19 Joseph Myers <joseph@codesourcery.com>
3406
3407 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3408 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3409 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3410 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3411 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3412 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3413 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3414 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3415 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3416 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3417 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3418 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3419 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3420 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3421 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3422 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3423 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3424 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3425 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3426 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3427 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3428 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3429 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3430 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3431 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3432 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3433 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3434 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3435 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3436 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3437 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3438
9eae47cb
AJ
34392012-05-18 Andreas Jaeger <aj@suse.de>
3440
3441 * csu/.gitignore: Delete.
3442
bb07f69f
L
34432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3444
3445 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3446 (timex): Use __syscall_slong_t.
3447
e6bdb741
AJ
34482012-05-18 Andreas Jaeger <aj@suse.de>
3449 Carlos O'Donell <carlos_odonell@mentor.com>
3450
3451 * manual/install.texi (Configuring and compiling): Update
3452 description about files modified in the source directory.
d6c33fda 3453 * INSTALL: Regenerated.
e6bdb741 3454
1b74487e
L
34552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3456
3457 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3458 value. Use "or" to set return value to -1.
3459 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3460 negate return value.
3461
a88b64b9
TMQMF
34622012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3463
3464 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3465 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3466 failure if the compiler has Graphite support disabled.
3467 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3468 Likewise.
3469 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3470 CFLAGS-memmove.c): Likewise.
3471 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3472 Likewise.
3473
3707636e
L
34742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3475
610b8622
L
3476 * sysdeps/x86_64/x32/_itoa.h: New file.
3477
7cd195df
L
3478 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3479 getdents system call only if kernel and user dirents have the
3480 same d_ino and d_off.
3481
94b07d20
L
3482 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3483 LLONG_MAX != LONG_MAX.
3484 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3485 (_fitoa_word): Likewise.
3486
18298070
L
3487 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3488 years.
3489 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3490 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3491 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3492
553c7ea4
L
3493 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3494 include <bits/wordsize.h>. Check __x86_64__ instead of
3495 __WORDSIZE.
3496 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3497 if __x86_64__ is defined. Use anonymous union on fpstate.
3498
3707636e
L
3499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3500 anonymous union.
3501
b53ef01a
AS
35022012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3503
37fb1dc0
AS
3504 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3505 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3506 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3507 Refer to _rtld_local_ro instead of _rtld_global_ro.
3508 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3509 Likewise.
3510 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3511 Likewise.
3512 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3513 Likewise.
3514 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3515 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3516 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3517
b53ef01a
AS
3518 * sysdeps/powerpc/powerpc32/dl-machine.c
3519 (__elf_machine_runtime_setup) [PROF]: Don't reference
3520 _dl_prof_resolve.
3521
7a185db2
AJ
35222012-05-18 Andreas Jaeger <aj@suse.de>
3523
3524 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3525 function only available for GCCs before 3.4 since GCC 3.4
3526 introduced a builtin.
3527 (lrint): Likewise.
3528 (llrintf): Likewise.
3529 (llrint): Likewise.
3530 (fmaxf): Likewise.
3531 (fmax): Likewise.
3532 (fminf): Likewise.
3533 (fmin): Likewise.
3534 (rint): Likewise.
3535 (rintf): Likewise.
3536 (nearbyint): Likewise.
3537 (nearbyintf): Likewise.
3538 (ceil): Likewise.
3539 (ceilf): Likewise.
3540 (floor): Likewise.
3541 (floorf): Likewise.
3542
3e5aef87
L
35432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3544
428bd707
L
3545 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3546 on both fields and cast pointer to __syscall_ulong_t.
3547
3e5aef87
L
3548 * bits/types.h (__fsword_t): New type.
3549 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3550 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3552 (__FSWORD_T_TYPE): Likewise.
3553 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3554 (__FSWORD_T_TYPE): Likewise.
3555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3556 (__FSWORD_T_TYPE): Likewise.
3557 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3558 (__FSWORD_T_TYPE): Likewise.
3559 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3560 __SWORD_TYPE with __fsword_t.
3561 (statfs64): Likewise.
3562
1ba7c3dc
DM
35632012-05-17 David S. Miller <davem@davemloft.net>
3564
3565 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3566
59910343
AJ
35672012-05-17 Andreas Jaeger <aj@suse.de>
3568
3569 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3570 warning.
3571
2e4c1e9e
L
35722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3573
3574 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3575
de7f5ce7
AJ
35762012-05-17 Andreas Jaeger <aj@suse.de>
3577
3578 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3579 when it is used.
3580
286abc3d
CM
35812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3582
3583 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3584
477cc68e
L
35852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3586
3587 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3588 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3589
1a0994f5
CD
35902012-05-17 Andreas Jaeger <aj@suse.de>
3591 Carlos O'Donell <carlos_odonell@mentor.com>
3592
3593 [BZ #14059]
3594 * sysdeps/x86_64/multiarch/init-arch.h
3595 (bit_YMM_Usable): Rename to...
3596 (bit_AVX_Usable): ... this.
3597 (bit_FMA4_Usable): New macro.
3598 (bit_XMM_state): New macro.
3599 (bit_YMM_state): New macro.
3600 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3601 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3602 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3603 (CPUID_OSXSAVE): New macro.
3604 (CPUID_AVX): New macro.
3605 (CPUID_FMA4): New macro.
3606 (index_YMM_Usable): Rename to...
3607 (index_AVX_Usable): ... this.
3608 (HAS_AVX): Use HAS_ARCH_FEATURE.
3609 (HAS_FMA4): Likewise.
3610 (HAS_YMM_USABLE): Remove.
3611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3612 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3613 are present.
3614 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3615 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3616 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3617 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3618 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3619
0af797de
CM
36202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3621
3622 * math/libm-test.c: Support platforms without multiple rounding modes.
3623 * math/bug-nextafter.c: Support platforms without FP exceptions.
3624 * math/bug-nexttoward.c: Likewise.
3625 * math/test-fenv.c: Likewise.
3626 * math/test-misc.c: Likewise.
3627 * stdlib/bug-getcontext.c: Likewise.
3628
e39745ff
AJ
36292012-05-17 Andreas Jaeger <aj@suse.de>
3630
3631 * manual/examples/search.c (critter_cmp): Change signature to
3632 avoid warnings.
3633 * manual/string.texi (Collation Functions): Likewise.
3634
48970aba
L
36352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3636
3637 * bits/types.h: Fold copyright years.
3638 * bits/typesizes.h: Likewise.
3639 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3643 * time/time.h: Likewise.
3644
bedee953
PP
36452012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3646
3647 [BZ #208]
3648 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3649 in instead of returning them. Return void.
3650 (__libc_mallinfo): Accumulate over all arenas.
3651 (__malloc_stats): Adjust for change in int_mallinfo interface.
3652
61653dfb
RM
36532012-05-16 Roland McGrath <roland@hack.frob.com>
3654
30b99d79
RM
3655 [BZ #10375]
3656 * configure.in (NM): Add AC_CHECK_TOOL for it.
3657 (libc_extra_cflags): New substituted variable.
3658 Check for -fstack-protector being used implicitly.
3659 * configure: Regenerated.
3660 * config.make.in (config-extra-cflags): New variable,
3661 gets @libc_extra_cflags@.
3662 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3663
61653dfb
RM
3664 [BZ #10375]
3665 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3666 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3667 * configure: Regenerated.
3668 * config.make.in (CPPUNDEFS): New substituted variable.
3669 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3670 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3671 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3672
661768bb
L
36732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3674
3675 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3676 (mq_attr): Use __syscall_slong_t.
3677
d4261567
L
36782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3679
3680 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3681 Check __x86_64__ instead of __WORDSIZE.
3682 (_STAT_VER_LINUX): Likewise.
3683 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3684 __syscall_ulong_t and __syscall_slong_t.
3685 (stat64): Likewise.
3686
cf3ff365
L
36872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3688
3689 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3690
76cf3e4d
L
36912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3692
3693 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3694
a637753a
L
36952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3696
3697 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3698 __syscall_ulong_t.
3699
d5e05119
L
3700 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3701 include <bits/wordsize.h>. Check __x86_64__ instead of
3702 __WORDSIZE.
3703 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3704 defined.
3705 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3706
f62ee380
L
3707 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3708 include <bits/wordsize.h>. Check __x86_64__ instead of
3709 __WORDSIZE.
3710 (user_regs_struct): Use "__extension__ unsigned long long"
3711 instead of "unsigned long" if __x86_64__ is defined.
3712 (user): Likewise. Pad after pointer field if __ILP32__ is
3713 defined.
3714
4e124ced
JM
37152012-05-16 Joseph Myers <joseph@codesourcery.com>
3716
6a3951a0
JM
3717 * configure.in (makeinfo): Require version 4.5 or later. Allow
3718 versions 5 to 9.
3719 * configure: Regenerated.
3720 * manual/install.texi (texinfo): Increase version requirement to
3721 4.5 or later.
3722 * INSTALL: Regenerated.
3723
4e124ced
JM
3724 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3725
953ca31a
L
37262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3727
3728 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3729
617aca05
L
3730 * sysdeps/x86_64/x32/ffs.c: New file.
3731
5762f7ae
L
3732 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3733 __syscall_ulong_t.
3734 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3735 defined. Use __syscall_ulong_t.
3736 (shminfo): Use __syscall_ulong_t.
3737 (shm_info): Likewise.
3738
a26b6856
L
3739 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3740 __syscall_ulong_t.
3741
cb2b9ef7
L
3742 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3743 <bits/wordsize.h>.
3744 (msgqnum_t): Use __syscall_ulong_t.
3745 (msglen_t): Likewise.
3746 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3747 __syscall_ulong_t.
3748
34683bb0
L
3749 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3750 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3751
84a68786
L
3752 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3753
48baa5f1
L
3754 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3755 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3756
180be88b
L
3757 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3758 __syscall_slong_t.
3759
5e90c8ad
L
3760 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3761 include <bits/wordsize.h>. Check __x86_64__ instead of
3762 __WORDSIZE.
3763
23dfb58b
L
3764 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3765 "unsigned long long int" if __x86_64__ is defined.
3766 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3767
ce5d54b0
L
3768 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3769 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3770 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3771
13dc9eac
L
3772 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3773 <stdint.h>.
3774 (GET_PC): Cast to uintptr_t first.
3775 (GET_FRAME): Likewise.
3776 (GET_STACK): Likewise.
3777
a7895d15
L
3778 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3779 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3780 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3781 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3782 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3783 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3784 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3785 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3786 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3787 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3788 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3789 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3790 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3791 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3792 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3793 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3794 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3795 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3796 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3797 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3798 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3799 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3800 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3801 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3802 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3803 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3804 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3805 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3806 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3807
656416c9
AS
38082012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3809
5bd66283
AS
3810 * Makerules (+depfiles): Also collect depfiles from .oS in
3811 $(extra-objs).
3812 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3813 .oS, $(libnldbl-routines)).
3814
656416c9
AS
3815 * Makerules (native-compile-mkdep-flags): Define.
3816 * sunrpc/Makefile (extra-objs): Add $(addprefix
3817 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3818 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3819 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3820 calling $(make-target-directory).
3821
a46f2169
L
38222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3823
3824 * bits/types.h (__snseconds_t): Removed.
3825 * time/time.h (struct timespec): Replace __snseconds_t with
3826 __syscall_slong_t.
3827 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3828 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3829 Likewise.
3830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3831 (__SNSECONDS_T_TYPE): Likewise.
3832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3833 (__SNSECONDS_T_TYPE): Likewise.
3834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3835 (__SNSECONDS_T_TYPE): Likewise.
3836
6af6528b
L
38372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3838
3839 * sysdeps/mach/hurd/bits/typesizes.h
3840 (__SYSCALL_SLONG_TYPE): New macro.
3841 (__SYSCALL_ULONG_TYPE): Likewise.
3842
de986b56
L
38432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3844
3845 * bits/types.h (__syscall_slong_t): New type.
3846 (__syscall_ulong_t): Likewise.
3847
3848 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3849 (__SYSCALL_ULONG_TYPE): Likewise.
3850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3851 (__SYSCALL_SLONG_TYPE): Likewise.
3852 (__SYSCALL_ULONG_TYPE): Likewise.
3853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3854 (__SYSCALL_SLONG_TYPE): Likewise.
3855 (__SYSCALL_ULONG_TYPE): Likewise.
3856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3857 (__SYSCALL_SLONG_TYPE): Likewise.
3858 (__SYSCALL_ULONG_TYPE): Likewise.
3859
85736dc7
L
38602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3861
3862 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3863 Add sigaltstack-offsets.sym.
3864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3865 <sigaltstack-offsets.h>.
3866 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3867 longjmp_msg pointer.
3868 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3869 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3870 signal stack.
3871 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3872
cc03b296
JM
38732012-05-15 Joseph Myers <joseph@codesourcery.com>
3874
a9538892
JM
3875 * elf/stackguard-macros.h: Remove file.
3876 * sysdeps/generic/stackguard-macros.h: New file.
3877 * sysdeps/i386/stackguard-macros.h: Likewise.
3878 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3879 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3880 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3881 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3882 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3883 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3884 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3885 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3886 <elf/stackguard-macros.h>.
3887
cc03b296
JM
3888 [BZ #14109]
3889 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3890 __aligned__ in attribute.
3891 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3892 (gregset_t): Likewise.
3893
93171016
L
38942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3895
3896 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3897 * sysdeps/x86_64/64/Implies-after: Here. New file.
3898 * sysdeps/x86_64/x32/Implies-after: New file.
3899
d86813a0
L
39002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3901
3902 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3903 and access return value for _dl_profile_fixup. Use R10_LP to
3904 load frame size.
3905
2953ec75
L
39062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3907
3908 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3909
3b550e9e
L
39102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3911
3912 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3913 * sysdeps/x86_64/x32/sysdep.h: New file.
3914
eda41706
L
39152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3916
3917 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3918 * sysdeps/x86_64/setjmp.S: Likewise.
3919
9ea01d93
AZ
39202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3921
3922 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3923 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3924 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3925 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3926 remove unused global constant.
3927
02a91938
CM
39282012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3929
3930 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3931 include of <not-cancel.h>.
3932
6540185f
RM
39332012-05-15 Roland McGrath <roland@hack.frob.com>
3934
3935 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3936
509072a0
AJ
39372012-05-15 Jeff Law <law@redhat.com>
3938 Andreas Jaeger <aj@suse.de>
3939
3940 [BZ #13594]
3941 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3942 out from...
3943 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3944 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3945 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3946 code changing __hst_map_handle.map.
3947
ba75122d
RM
39482012-05-15 Roland McGrath <roland@hack.frob.com>
3949
3950 * configure.in (sysnames): Look for Implies-before and Implies-after
3951 files.
3952 * configure: Regenerated.
3953
890d8bd8
L
39542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3955
3956 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3957 8-byte data alignment with LP_SIZE alignment.
3958
f6ee6623
L
39592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3960
3961 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3962 into R10_LP.
3963
ea2626f6
L
39642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3967
085f715e
L
39682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3969
3970 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3971 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3973 Likewise.
3974 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3975
be8498fc
L
39762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3977
3978 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3979 (stackinfo_sub_sp): Likewise.
3980
70bc83b9
L
39812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3982
3983 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3984 RAX_LP.
3985
9bc0b730
L
39862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3987
3988 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3989 into R*_LP.
3990
6d2850e7
L
39912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3992
3993 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3994 sizes into R*_LP.
3995
3cb84561
L
39962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3997
3998 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3999
54e2ed81
L
40002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4001
4002 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4003 into R11_LP and load __x86_64_shared_cache_size_half into
4004 R8_LP.
4005
8a17f349
L
40062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4007
4008 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4009 R8_LP.
4010
777b1eea
AZ
40112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4012
4013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4014 logb for POWER7.
4015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4016 logbf for POWER7.
4017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4018 logbl for POWER7.
4019 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4020 powerpc32/power7/fpu/s_logb.c via #include.
4021 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4022 powerpc32/power7/fpu/s_logbf.c via #include.
4023 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4024 powerpc32/power7/fpu/s_logbl.c via #include.
4025
d20d4ac2
JM
40262012-05-15 Joseph Myers <joseph@codesourcery.com>
4027
4028 * README.libm: Remove file.
4029
6cdef1ab
L
40302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4031
4032 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4033 count for x32. Use R*_LP and omit operand-size suffix.
4034
0b254d8f
L
40352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4036
4037 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4038 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4039 * sysdeps/x86_64/x32/shlib-versions: New file.
4040
ceb809dc
RM
40412012-05-14 Roland McGrath <roland@hack.frob.com>
4042
4043 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4044 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4045 Use _dl_fatal_printf instead.
4046
37f1abd4
JM
40472012-05-14 Joseph Myers <joseph@codesourcery.com>
4048
4049 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4050 set if not set by the user. Do not allow for being unset.
4051 * sysdeps/unix/sysv/linux/configure: Regenerated.
4052
11de3a33
L
40532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4054
4055 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4056 the `q' suffix from lea and replace .quad with ASM_ADDR.
4057
e02f153a
L
40582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4059
4060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4061 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4062 instead of $17.
4063 (PTR_DEMANGLE): Likewise.
4064
520ae0fd
L
40652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4066
4067 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4068 (LP_OP): Likewise.
4069 (ASM_ADDR): Likewise.
4070 (RAX_LP): Likewise.
4071 (RBP_LP): Likewise.
4072 (RBX_LP): Likewise.
4073 (RCX_LP): Likewise.
4074 (RDI_LP): Likewise.
4075 (RSI_LP): Likewise.
4076 (RSP_LP): Likewise.
4077 (R8_LP): Likewise.
4078 (R9_LP): Likewise.
4079 (R10_LP): Likewise.
4080 (R10_LP): Likewise.
4081 (R11_LP): Likewise.
4082 (R12_LP): Likewise.
4083 (R13_LP): Likewise.
4084 (R14_LP): Likewise.
4085 (R15_LP): Likewise.
4086
b985be81
L
40872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4088
4089 * sysdeps/x86_64/x32/dl-machine.h: New file.
4090
6a4888ff
AJ
40912012-05-14 Andreas Jaeger <aj@suse.de>
4092
4093 * manual/Makefile (subdir): Remove export of subdir.
4094 (all): Remove target.
4095 (.PHONY): Remove all from list.
4096 (mkinstalldirs): Remove.
4097 (.PHONY): Remove installdirs from list.
4098 ($(inst_infodir)/libc.info): Use make-target-directory.
4099 (installdirs): Remove.
4100 (subdir_%): Remove.
4101 (glibc-targets): Remove.
4102 (lib): Remove.
4103 (stubs): Remove.
4104 ($(objpfx)stubs ../po/manual.pot): Remove.
4105 ($(objpfx)stamp%): Remove.
4106 (make-target-directory): Remove.
4107 (subdir_install): Remove.
4108 (routines): Remove.
4109 (aux): Remove.
4110 (sources): Remove.
4111 (objects): Remove.
4112 (headers): Remove.
4113
4114 [BZ #13750]
4115 * manual/.gitignore: Remove, it's not needed anymore.
4116 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4117 all files in it.
4118 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4119 directory.
4120 (texis): Renamed to $(objpfx)texis.
4121 (texis-path): New, contains path to generated files.
4122 (chapters.%): Use texis-path for complete path, add extra argument
4123 libc-texinfo.sh.
4124 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4125 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4126 (summary,texi, stamp-summary): Use complete path of
4127 files. Generate files in build dir.
4128 (dir-add.texi): Build in build dir.
4129 (libm-err.texi,stamp-libm-err): Likewise.
4130 (version.texi, stamp-version): Likewise.
4131 (.%c.texi): Likewise.
4132 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4133 (mostlyclean): Remove target.
4134 (realclean): Remove target.
4135 (generated): Add new variable with contents from mostlyclean and
4136 realclean, remove entries duplicated in common-mostlyclean, add
4137 stamp-libm-err and stamp-version.
4138 (generated-dirs): Add libc directory.
4139 ($(inst_infodir)/libc.info): Install files from build dir.
4140
4141 * manual/install.texi (Configuring and compiling): Adjust since
4142 the info files are not part of the tar ball anymore.
4143
7ac77294
AJ
41442012-05-14 Andreas Jaeger <aj@suse.de>
4145
4146 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4147 variable.
4148
ffb7875d
JM
41492012-05-14 Joseph Myers <joseph@codesourcery.com>
4150
4151 [BZ #13717]
4152 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4153 to 2.2.0 where earlier.
4154 * sysdeps/unix/sysv/linux/configure: Regenerated.
4155 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4156 Remove conditional code.
4157 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4158 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4159 Remove conditional code.
4160 [!__NR_lchown]: Likewise.
4161 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4162 [__NR_lchown]: Likewise.
4163 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4164 comment referencing __ASSUME_LCHOWN_SYSCALL.
4165 * sysdeps/unix/sysv/linux/i386/sigaction.c
4166 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4167 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4168 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4169 Remove conditional code.
4170 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4171 (__protocol_available): Remove #if 0 code.
4172 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4173 conditional code.
4174 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4175 * sysdeps/unix/sysv/linux/kernel-features.h
4176 (__ASSUME_GETCWD_SYSCALL): Don't define.
4177 (__ASSUME_REALTIME_SIGNALS): Likewise.
4178 (__ASSUME_PREAD_SYSCALL): Likewise.
4179 (__ASSUME_PWRITE_SYSCALL): Likewise.
4180 (__ASSUME_POLL_SYSCALL): Likewise.
4181 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4182 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4183 non-SPARC.
4184 (__ASSUME_SIOCGIFNAME): Don't define.
4185 (__ASSUME_MSG_NOSIGNAL): Likewise.
4186 (__ASSUME_SENDFILE): Define unconditionally.
4187 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4188 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4189 conditional code.
4190 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4191 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4192 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4193 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4194 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4195 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4196 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4198 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4199 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4201 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4202 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4204 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4205 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4207 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4210 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4211 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4213 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4216 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4217 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4219 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4221 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4222 Remove conditional code.
4223 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4224 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4225 Remove conditional code.
4226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4227 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4228 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4229 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4230 Remove conditional code.
4231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4232 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4233 Remove conditional code.
4234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4235 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4236 Remove conditional code.
4237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4238 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4239 Remove conditional code.
4240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4241 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4242 Remove conditional code.
4243 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4244 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4247 * sysdeps/unix/sysv/linux/sigaction.c
4248 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4249 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4250 * sysdeps/unix/sysv/linux/sigpending.c
4251 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4252 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4253 * sysdeps/unix/sysv/linux/sigprocmask.c
4254 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4255 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4256 * sysdeps/unix/sysv/linux/sigsuspend.c
4257 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4258 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4259 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4260 (__libc_missing_rt_sigs): Remove.
4261 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4262 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4263 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4264 Remove conditional code.
4265 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4266 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4267 return 1.
4268 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4269 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4270 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4271 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4272
1bfb7291
AJ
42732012-05-14 Andreas Jaeger <aj@suse.de>
4274
caae5a81
AJ
4275 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4276 it's not used in glibc.
4277 (__coshm1): Likewise.
4278 (__acosh1p): Likewise.
4279 (__sgn): Likewise.
4280
1bfb7291
AJ
4281 * manual/string.texi (Copying and Concatenation): Add missing
4282 variable in concat example.
4283 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4284
c044d724
L
42852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4286
144c5467 4287 [BZ #14103]
c044d724
L
4288 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4289 __builtin_clzl with __builtin_clzll.
4290
2523c62b
L
42912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4292
4293 [BZ #14104]
4294 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4295 libc_freeres_ptr.
4296
d7bb4c42
LD
42972012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4298
4299 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4300 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4301 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4302 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4303
9dc4e1fb
MF
43042012-05-14 Mike Frysinger <vapier@gentoo.org>
4305
4306 * NEWS: Update ia64 info.
4307
c7df0112
AS
43082012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4309
4310 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4311 used as bcopy.
4312
dc70356c
TS
43132012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4314
4315 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4316 * sysdeps/unix/syscalls.list (dup3): Likewise.
4317 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4318 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4319
9fb1a21f
L
43202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4321
4322 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4323 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4324
4822a2a5
L
43252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4326
4327 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4328 thread pointer.
4329 (TLS_IE): Use mov/add instead of movq/addq to load thread
4330 pointer.
4331 (TLS_GD_PREFIX): New.
4332 (TLS_GD): Use it.
4333
842b81d6
DM
43342012-05-11 David S. Miller <davem@davemloft.net>
4335
4336 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4337 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4338 (_FPU_SETCW): Likewise.
4339
1cf463cd
L
43402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4341
4342 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4343 is 32-byte aligned.
4344
60cc4a18
AS
43452012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4346
4347 [BZ #11837]
4348 * iconvdata/gb18030.c: Update tables.
4349 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4350 characters specially.
4351 (BODY for TO_LOOP): Add encoding of missing ranges.
4352
febb44a4
TS
43532012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4354
4355 [BZ #13673]
4356 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4357 * sysdeps/mach/hurd/dup3.c: Likewise.
4358 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4359 * sysdeps/powerpc/memmove.c:: Likewise.
4360
0a10fb9e
L
43612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4362
4363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4364 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4365
df8a552f
L
43662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4367
4368 * elf/elf.h (R_X86_64_RELATIVE64): New.
4369 (R_X86_64_NUM): Updated.
4370 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4371 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4372 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4373 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4374 tst-quad1pie tst-quad2pie
4375 (modules-names): Add tst-quadmod1 tst-quadmod2.
4376 ($(objpfx)tst-quad1): New dependency.
4377 ($(objpfx)tst-quad2): Likewise.
4378 ($(objpfx)tst-quad1pie): Likewise.
4379 ($(objpfx)tst-quad2pie): Likewise.
4380 * sysdeps/x86_64/tst-quad1.c: New file.
4381 * sysdeps/x86_64/tst-quad1pie.c: New file.
4382 * sysdeps/x86_64/tst-quad2.c: Likewise.
4383 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4384 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4385 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4386 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4387 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4388
f34d6f84
ST
43892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4390
f42d41d1
ST
4391 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4392 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4393 * streams/stropts.h (t_scalar_t): Define type.
4394
3c3571fc
ST
4395 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4396 (_PATH_PRESERVE): Set to "/var/lib".
4397 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4398
61f06bd3
ST
4399 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4400 instead of int.
4401
918d4d71
ST
4402 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4403 if __dir_mkfile succeeded.
4404
f34d6f84
ST
4405 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4406 checking for _hurd_dtablesize. Unlock it right after having
4407 finished _hurd_dtable allocation.
4408
10589b4a
TS
44092012-05-10 Thomas Schwinge <thomas@schwinge.name>
4410
674cdbc7
TS
4411 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4412 * sysdeps/mach/hurd/configure: Regenerated.
4413 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4414 special-casing to...
4415 * sysdeps/gnu/configure.in: ... this new file.
4416 * sysdeps/unix/sysv/linux/configure: Regenerated.
4417 * sysdeps/gnu/configure: New generated file.
4418
8e41b99f
TS
4419 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4420 for Linux: use nsec instead of usec, as well as:
4421 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4422 members of type struct timespec.
4423 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4424 New macros.
4425 (struct stat64): Likewise.
4426 (_STATBUF_ST_NSEC): New macro.
4427 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4428
10589b4a
TS
4429 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4430 __strtoul_internal rather than strtoul.
4431
63643c85
PT
44322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4433
4434 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4435 and reject them.
4436
3faebe6a
ST
44372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4438
4439 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4440 which preserves existing values.
4441 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4442
c6474b07
PT
44432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4444
4445 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4446 TIMEOUT values. Return EINVAL for NFDS values either negative or
4447 greater than FD_SETSIZE.
4448
1043890b
ST
44492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4450
4451 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4452 allocated, call __vm_protect to finish enabling the existing space, and
4453 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4454 allocate the remainder.
4455
37ed8b9b
PT
44562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4457
4458 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4459 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4460
db653660
ST
44612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4462
37ed8b9b
PT
4463 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4464 sysdeps/mach/hurd/readlink.c.
b29d4053 4465
db653660
ST
4466 * posix/tst-sysconf.c (posix_options): Only use
4467 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4468 _POSIX_SYNCHRONIZED_IO when they are defined
4469 * sysdeps/mach/hurd/bits/posix_opt.h:
4470 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4471 (_XOPEN_REALTIME): Undefine macro.
4472 (_XOPEN_REALTIME_THREADS): Undefine macro.
4473 (_XOPEN_SHM): Undefine macro.
4474 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4475 macro to -1.
4476 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4477 macro to -1.
4478 (_POSIX_ASYNC_IO): Undefine macro.
4479 (_POSIX_PRIORITIZED_IO): Undefine macro.
4480 (_POSIX_SPIN_LOCKS): Define macro to -1.
4481
ee16e894
ST
4482 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4483 SA_NODEFER, SA_RESETHAND.
4484 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4485 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4486 F_DUPFD_CLOEXEC.
4487
6103ae3b
TS
44882012-05-10 Thomas Schwinge <thomas@schwinge.name>
4489
4490 * elf/Makefile (pldd-modules): Define unconditionally.
4491
80b4e5f3
TS
44922012-05-10 Thomas Schwinge <thomas@schwinge.name>
4493
4494 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4495
edadcbd6
ST
44962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4497
4498 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4499 Return ENOENT when name is empty.
4500 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4501
80694780
TS
45022012-05-10 Thomas Schwinge <thomas@schwinge.name>
4503
1792c087
TS
4504 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4505
80694780
TS
4506 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4507
6b645f0d
ST
45082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4509
80694780
TS
4510 Fix mlock in all cases except non-readable pages.
4511 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4512 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4513
6b645f0d
ST
4514 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4515 (__mkdir): When path is `/', just fail with EEXIST.
4516 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4517
e468f8a3
TS
45182012-05-10 Thomas Schwinge <thomas@schwinge.name>
4519
4520 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4521 <sys/uio.h> (for writev).
4522 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4523 and <sys/param.h> (for MIN).
4524
a4186cff
PT
45252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4526
4527 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4528 REQUESTED_TIME. Properly set the remaining time and return EINTR
4529 if interrupted.
4530
510bbf14
TS
45312012-05-10 Thomas Schwinge <thomas@schwinge.name>
4532
4533 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4534 Depend on against $(link-rpcuserlibs).
4535
5d5722e8
ST
45362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4537
a4186cff
PT
4538 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4539 (__libc_stack_end): Do not use attribute_relro.
4540 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4541 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4542 to libthread-provided value.
a4186cff
PT
4543 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4544 attribute_relro.
5d5722e8 4545
37233df9
TS
45462012-05-10 Thomas Schwinge <thomas@schwinge.name>
4547
be971a2b
TS
4548 [BZ #3748]
4549 * bits/libc-lock.h (__libc_once_get): New macro.
4550 * sysdeps/mach/bits/libc-lock.h: Likewise.
4551 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4552 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4553 instead of using implementation details.
4554
37233df9
TS
4555 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4556 * libio/freopen.c: Likewise.
4557 * libio/freopen64.c: Likewise.
4558 * misc/syslog.c: Likewise.
4559 * nscd/connections.c: Likewise.
4560 * nscd/netgroupcache.c: Likewise.
4561 * sysdeps/posix/getcwd.c: Likewise.
4562
38de94a5
RM
45632012-05-10 Roland McGrath <roland@hack.frob.com>
4564
4565 * math/w_ilogbf.c: Add #include <limits.h>.
4566
67530489
ST
45672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4568
a4186cff 4569 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4570 path instead of returning without unlocking.
4571
67530489
ST
4572 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4573 immediate-write ioctls.
4574 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4575
5aa3a74a
TS
45762012-05-10 Thomas Schwinge <thomas@schwinge.name>
4577
18bad2ae
TS
4578 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4579 __builtin_frame_address instead of making assumptions about the
4580 location of the return address relative to DATA. Force early load of
4581 the return address.
4582 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4583 __builtin_frame_address.
4584
5aa3a74a
TS
4585 dup3 for GNU Hurd.
4586 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4587 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4588 implement dup3 and do some further code clean-ups.
4589 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4590 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4591
ecd0de9a
ST
45922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4593
cd9fa985
ST
4594 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4595
a4186cff
PT
4596 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4597 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4598 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4599 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4600 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4601 d->port.lock.
802ca5a5 4602
a4186cff
PT
4603 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4604 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4605 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4606
bcf55240
TS
46072012-05-10 Thomas Schwinge <thomas@schwinge.name>
4608
6960eb42
TS
4609 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4610 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4611 definitions.
4612
eb43375f
TS
4613 accept4 for GNU Hurd.
4614 * include/sys/socket.h (__libc_accept4): New prototype.
4615 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4616 to implement __libc_accept4.
4617 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4618 __libc_accept4.
4619 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4620
bcf55240
TS
4621 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4622 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4623 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4624 signal-defines.sym.
4625
6178c55b
ST
46262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4627
a4186cff 4628 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4629
6f080c2f
TS
46302012-05-10 Thomas Schwinge <thomas@schwinge.name>
4631
4632 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4633 assertion on O_CLOEXEC flag.
4634 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4635 * hurd/intern-fd.c: Likewise.
4636 * hurd/port2fd.c: Likewise.
4637
bcfe3a54
ST
46382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4639
4640 [BZ #3906]
4641 * bits/in.h (IPV6_PKTINFO): Define new macro.
4642 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4643
89c9aa49
AZ
46442012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4645
4646 [BZ #13954]
4647 [BZ #13955]
4648 [BZ #13956]
4649 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4650 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4651 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4652 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4653 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4654 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4655 * math/libm-test.inc (logb_test) : Additional logb tests.
4656
021db4be
AJ
46572012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4658 Andreas Jaeger <aj@suse.de>
4659
4660 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4661 * configure: Regenerated.
4662 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4663 * config.make.in (link-obsolete-rpc): New substituted variable.
4664 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4665 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4666 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4667 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4668 so that libc.a contains the symbols.
4669 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4670 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4671 * sunrpc/auth_none.c: Likewise.
4672 * sunrpc/auth_unix.c: Likewise.
4673 * sunrpc/authdes_prot.c: Likewise.
4674 * sunrpc/authuxprot.c: Likewise.
4675 * sunrpc/clnt_gen.c: Likewise.
4676 * sunrpc/clnt_perr.c: Likewise.
4677 * sunrpc/clnt_raw.c: Likewise.
4678 * sunrpc/clnt_simp.c: Likewise.
4679 * sunrpc/clnt_tcp.c: Likewise.
4680 * sunrpc/clnt_udp.c: Likewise.
4681 * sunrpc/clnt_unix.c: Likewise.
4682 * sunrpc/des_crypt.c: Likewise.
4683 * sunrpc/des_soft.c: Likewise.
4684 * sunrpc/get_myaddr.c: Likewise.
4685 * sunrpc/key_call.c: Likewise.
4686 * sunrpc/key_prot.c: Likewise.
4687 * sunrpc/netname.c: Likewise.
4688 * sunrpc/pm_getmaps.c: Likewise.
4689 * sunrpc/pm_getport.c: Likewise.
4690 * sunrpc/pmap_clnt.c: Likewise.
4691 * sunrpc/pmap_prot.c: Likewise.
4692 * sunrpc/pmap_prot2.c: Likewise.
4693 * sunrpc/pmap_rmt.c: Likewise.
4694 * sunrpc/publickey.c: Likewise.
4695 * sunrpc/rpc_cmsg.c: Likewise.
4696 * sunrpc/rpc_common.c: Likewise.
4697 * sunrpc/rpc_dtable.c: Likewise.
4698 * sunrpc/rpc_prot.c: Likewise.
4699 * sunrpc/rpc_thread.c: Likewise.
4700 * sunrpc/rtime.c: Likewise.
4701 * sunrpc/svc.c: Likewise.
4702 * sunrpc/svc_auth.c: Likewise.
4703 * sunrpc/svc_raw.c: Likewise.
4704 * sunrpc/svc_run.c: Likewise.
4705 * sunrpc/svc_tcp.c: Likewise.
4706 * sunrpc/svc_udp.c: Likewise.
4707 * sunrpc/svc_unix.c: Likewise.
4708 * sunrpc/svcauth_des.c: Likewise.
4709 * sunrpc/xcrypt.c: Likewise.
4710 * sunrpc/xdr.c: Likewise.
4711 * sunrpc/xdr_array.c: Likewise.
4712 * sunrpc/xdr_float.c: Likewise.
4713 * sunrpc/xdr_intXX_t.c: Likewise.
4714 * sunrpc/xdr_mem.c: Likewise.
4715 * sunrpc/xdr_rec.c: Likewise.
4716 * sunrpc/xdr_ref.c: Likewise.
4717 * sunrpc/xdr_sizeof.c: Likewise.
4718 * sunrpc/xdr_stdio.c: Likewise.
4719
b5c086a2
RM
47202012-05-10 Roland McGrath <roland@hack.frob.com>
4721
4722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4723 change. Update copyright years.
4724
6d74dd09
JM
47252012-05-10 Joseph Myers <joseph@codesourcery.com>
4726
4727 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4728
28e72501
MK
47292012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4730 Joseph Myers <joseph@codesourcery.com>
4731 Paul Pluzhnikov <ppluzhnikov@google.com>
4732
4733 [BZ #14012]
4734 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4735 requiring rpcgen.
4736 [cross-compiling] (extra-libs): Likewise.
4737 [cross-compiling] (extra-libs-others): Likewise.
4738 [cross-compiling] (librpcsvc-routines): Likewise.
4739 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4740 [cross-compiling] (omit-deps): Likewise.
4741 (sunrpc-CPPFLAGS): New variable.
4742 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4743 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4744 (cross-rpcgen-objs): New variable.
4745 (extra-objs): Append $(cross-rpcgen-objs).
4746 ($(cross-rpcgen-objs)): New rule.
4747 ($(objpfx)cross-rpcgen): Likewise.
4748 (rpcgen-cmd): Define to use $(built-program-file). Expand
4749 comment.
4750 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4751 ($(objpfx)x%.stmp): Likewise.
4752 * sunrpc/proto.h [IS_IN_build] (_): Define.
4753 [IS_IN_build] (_libc_intl_domainname): Likewise.
4754
c8c59454
L
47552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4756
4757 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4758 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4759 and R_X86_64_TPOFF64.
4760
6f27cd16
JM
47612012-05-10 Joseph Myers <joseph@codesourcery.com>
4762
4763 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4764 sysdeps/unix/sysv/syscalls.list.
4765 (stime): Likewise.
4766 (utime): Likewise.
4767 * sysdeps/unix/sysv/syscalls.list: Remove file.
4768
02467e1c
PE
47692012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4770
4771 [BZ #3440]
4772 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4773 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4774 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4775 (__LC_IDENTIFICATION): Make these macros useful in #if
4776 expressions, as required by C99.
4777
da392631
AS
47782012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4779
4780 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4781 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4782 after this.
4783
8115f29b
L
47842012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4785
4786 * stdlib/longlong.h: Updated from GCC.
4787
bdd74070
AJ
47882012-05-09 Andreas Jaeger <aj@suse.de>
4789
edfe0dbe
AJ
4790 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4791 default is first entry.
4792 (run_mode): Set type.
4793 (main): Remove informal message about syslog.
4794 (options): Fix typo.
4795
bcfe3a54
ST
4796 [BZ #14053]
4797 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4798 to asm.
bcfe3a54
ST
4799 (lrint): Likewise.
4800 (llrintf): Likewise.
4801 (llrint): Likewise.
4802 (rint): Likewise.
4803 (rintf): Likewise.
4804 (nearbyint): Likewise.
4805 (nearbyintf): Likewise.
bdd74070 4806
91d8d69e
AJ
48072012-05-09 Andreas Jaeger <aj@suse.de>
4808 Pedro Alves <palves@redhat.com>
4809
4810 * nscd/nscd.c (run_mode): Use enum.
4811 (main): Cleanup coding style issue.
4812
bb90b80b
AJ
48132012-05-09 Alexandre Oliva <aoliva@redhat.com>
4814 Andreas Jaeger <aj@suse.de>
4815
bcfe3a54
ST
4816 * nscd/nscd.c (go_background): Replaced with...
4817 (run_mode): ... this.
bb90b80b 4818 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4819 (options): Add -F --foreground.
4820 (main): Implement it.
4821 (parse_opt): Parse it.
bb90b80b 4822
1a4b75a1
AJ
48232012-05-09 Andreas Jaeger <aj@suse.de>
4824
4825 [BZ #14083]
4826 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4827 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4828 -Wconversion warning.
4829 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4830 Likewise.
4831
b1cc2472
JM
48322012-05-09 Joseph Myers <joseph@codesourcery.com>
4833
4834 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4835 == 0.
4836 (LC_ALL): Use macro-int-constant.
4837 (LC_COLLATE): Likewise.
4838 (LC_CTYPE): Likewise.
4839 (LC_MESSAGES): Likewise.
4840 (LC_MONETARY): Likewise.
4841 (LC_NUMERIC): Likewise.
4842 (LC_TIME): Likewise.
4843 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4844 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4846 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4847 Specify type.
4848 [C99-based standards] (float_t): Expect type.
4849 [C99-based standards] (double_t): Expect type.
4850 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4851 type.
4852 [C99-based standards] (HUGE_VALL): Likewise.
4853 [C99-based standards] (INFINITY): Likewise.
4854 [C99-based standards] (NAN): Likewise.
4855 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4856 [C99-based standards] (FP_NAN): Likewise.
4857 [C99-based standards] (FP_NORMAL): Likewise.
4858 [C99-based standards] (FP_SUBNORMAL): Likewise.
4859 [C99-based standards] (FP_ZERO): Likewise.
4860 [C99-based standards] (FP_FAST_FMA): Use
4861 optional-macro-int-constant. Specify type. Require == 1.
4862 [C99-based standards] (FP_FAST_FMAF): Likewise.
4863 [C99-based standards] (FP_FAST_FMAL): Likewise.
4864 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4865 [C99-based standards] (FP_ILOGBNAN): Likewise.
4866 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4867 Specify type.
4868 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4869 [C99-based standards] (math_errhandling): Specify type.
4870 [ISO99 || ISO11] (signgam): Do not allow.
4871 [non-C99-based standards] (copysignf): Do not allow.
4872 [non-C99-based standards] (exp2f): Likewise.
4873 [non-C99-based standards] (log2f): Likewise.
4874 [non-C99-based standards] (modff): Allow.
4875 [non-C99-based standards] (erff): Do not allow.
4876 [non-C99-based standards] (erfcf): Likewise.
4877 [non-C99-based standards] (gammaf): Likewise.
4878 [non-C99-based standards] (hypotf): Likewise.
4879 [non-C99-based standards] (j0f): Likewise.
4880 [non-C99-based standards] (j1f): Likewise.
4881 [non-C99-based standards] (jnf): Likewise.
4882 [non-C99-based standards] (lgammaf): Likewise.
4883 [non-C99-based standards] (tgammaf): Likewise.
4884 [non-C99-based standards] (y0f): Likewise.
4885 [non-C99-based standards] (y1f): Likewise.
4886 [non-C99-based standards] (ynf): Likewise.
4887 [non-C99-based standards] (isnanf): Likewise.
4888 [non-C99-based standards] (acoshf): Likewise.
4889 [non-C99-based standards] (asinhf): Likewise.
4890 [non-C99-based standards] (atanhf): Likewise.
4891 [non-C99-based standards] (cbrtf): Likewise.
4892 [non-C99-based standards] (expm1f): Likewise.
4893 [non-C99-based standards] (ilogbf): Likewise.
4894 [non-C99-based standards] (log1pf): Likewise.
4895 [non-C99-based standards] (logbf): Likewise.
4896 [non-C99-based standards] (nextafterf): Likewise.
4897 [non-C99-based standards] (remainderf): Likewise.
4898 [non-C99-based standards] (rintf): Likewise.
4899 [non-C99-based standards] (scalbf): Likewise.
4900 [non-C99-based standards] (copysignl): Likewise.
4901 [non-C99-based standards] (exp2l): Likewise.
4902 [non-C99-based standards] (log2l): Likewise.
4903 [non-C99-based standards] (modfl): Allow.
4904 [non-C99-based standards] (erfl): Do not allow.
4905 [non-C99-based standards] (erfcl): Likewise.
4906 [non-C99-based standards] (gammal): Likewise.
4907 [non-C99-based standards] (hypotl): Likewise.
4908 [non-C99-based standards] (j0l): Likewise.
4909 [non-C99-based standards] (j1l): Likewise.
4910 [non-C99-based standards] (jnl): Likewise.
4911 [non-C99-based standards] (lgammal): Likewise.
4912 [non-C99-based standards] (tgammal): Likewise.
4913 [non-C99-based standards] (y0l): Likewise.
4914 [non-C99-based standards] (y1l): Likewise.
4915 [non-C99-based standards] (ynl): Likewise.
4916 [non-C99-based standards] (isnanl): Likewise.
4917 [non-C99-based standards] (acoshl): Likewise.
4918 [non-C99-based standards] (asinhl): Likewise.
4919 [non-C99-based standards] (atanhl): Likewise.
4920 [non-C99-based standards] (cbrtl): Likewise.
4921 [non-C99-based standards] (expm1l): Likewise.
4922 [non-C99-based standards] (ilogbl): Likewise.
4923 [non-C99-based standards] (log1pl): Likewise.
4924 [non-C99-based standards] (logbl): Likewise.
4925 [non-C99-based standards] (nextafterl): Likewise.
4926 [non-C99-based standards] (remainderl): Likewise.
4927 [non-C99-based standards] (rintl): Likewise.
4928 [non-C99-based standards] (scalbl): Likewise.
4929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4930 [non-C99-based standards] (FP_*): Do not allow.
4931 [C99-based standards] (FP_*): Change to
4932 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4933 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4934 allow.
4935 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4936 (SIG_ERR): Likewise.
4937 [X/Open-based standards] (SIG_HOLD): Likewise.
4938 (SIG_IGN): Likewise.
4939 (SIGABRT): Use macro-int-constant. Specify type. Require
4940 positive value.
4941 (SIGFPE): Likewise.
4942 (SIGILL): Likewise.
4943 (SIGINT): Likewise.
4944 (SIGSEGV): Likewise.
4945 (SIGTER): Likewise.
4946 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4947 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4948 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4949 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4950 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4951 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4952 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4953 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4954 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4955 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4956 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4957 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4958 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4959 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4960 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4961 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4962 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4963 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4964 [X/Open-based standards] (SIGTRAP): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4969 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4970 allow.
4971
b9f1922d
IW
49722012-05-08 Ian Wienand <ianw@vmware.com>
4973
4974 [BZ #14080]
4975 * time/tzset.c (__tzset_parse_tz): Update default rules for
4976 daylight time changes in the Energy Policy Act of 2005.
4977
1db86e88
AJ
49782012-05-09 Andreas Jaeger <aj@suse.de>
4979
4980 [BZ #13983]
4981 * elf/ldconfig.c (parse_conf): Change string to make clear that
4982 ldconfig only issued a warning if ld.so.conf does not exist.
4983
dee4a4e3
DM
49842012-05-08 David S. Miller <davem@davemloft.net>
4985
ee0db190
DM
4986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4987 movxtod instead of popping the value on the stack.
4988
dee4a4e3
DM
4989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4990
6a43ec98
CD
49912012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4992
4993 * config.h.in: Add HAVE_ARM_PCS_VFP.
4994
05c2c961
RMG
49952012-05-08 Roland Mc Grath <roland@hack.frob.com>
4996
bcfe3a54
ST
4997 [BZ #13979]
4998 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4999 checking but the checks are disabled for any reason.
05c2c961 5000
4b30f61a
L
50012012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5002
5003 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5004 and ELF64_R_TYPE with ELFW(R_TYPE).
5005
eee2bc67
JM
50062012-05-08 Joseph Myers <joseph@codesourcery.com>
5007
7ea5391a
JM
5008 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5009 (ulimit): Likewise.
5010
eee2bc67
JM
5011 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5012 (settimeofday): Likewise.
5013
abb66a67
MF
50142012-05-08 Mike Frysinger <vapier@gentoo.org>
5015
5016 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5017 a struct th_u2 inside the union, and move tu_block/tu_code into
5018 a new th_u3 union of tu_block/tu_code inside of that. Move
5019 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5020 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5021 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5022 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5023 (th_stuff): Change to th_u1.tu_stuff.
5024 (th_data): Define.
5025 (th_msg): Change to th_u1.th_u2.tu_data.
5026
7f18b530
DM
50272012-05-07 David S. Miller <davem@davemloft.net>
5028
05760585
DM
5029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5030
7f18b530
DM
5031 [BZ #14074]
5032 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5033 (SETUP_PIC_REG): Use it.
5034 (SETUP_PIC_REG_LEAF): Use it.
5035
495fd99f
JM
50362012-05-07 Joseph Myers <joseph@codesourcery.com>
5037
5038 [BZ #13885]
5039 [BZ #13923]
5040 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5041 USE_AS_EXPM1L.
5042 (EXPL_FINITE): Likewise.
5043 (FLDLOG): Likewise.
5044 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5045 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5046 e_expl.S.
5047 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5048 USE_AS_EXPM1L.
5049 (EXPL_FINITE): Likewise.
5050 (FLDLOG): Likewise.
5051 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5052 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5053 e_expl.S.
5054 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5055 test of -max_value argument for long double.
5056 * sysdeps/i386/fpu/libm-test-ulps: Update.
5057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5058
6693d694
DM
50592012-05-06 David S. Miller <davem@davemloft.net>
5060
5061 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5062 quad soft-float symbols whose references which are compiler
5063 generated.
5064 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5065
6c23e11c
JM
50662012-05-06 Joseph Myers <joseph@codesourcery.com>
5067
d8b82cad
JM
5068 [BZ #13884]
5069 [BZ #13914]
5070 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5071 USE_AS_EXP10L.
5072 (EXPL_FINITE): Likewise.
5073 (FLDLOG): Likewise.
5074 (c0): Likewise.
5075 (c1): Likewise.
5076 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5077 Adjust comments for base varying.
5078 (__expl_finite): Change alias to EXPL_FINITE.
5079 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5080 e_expl.S.
5081 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5082 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5084 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5085 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5095 tests for bugs.
5096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5097
6c23e11c
JM
5098 [BZ #14064]
5099 * math/libm-test.inc (check_float_internal): Correct ulp
5100 calculation for subnormal expected results.
5101
29ba805c
AJ
51022012-05-06 Andreas Jaeger <aj@suse.de>
5103
5104 * Makeconfig (+math-flags): New, set to -frounding-math.
5105 (+cflags): Add +math-flags so that all of glibc gets compiled with
5106 it.
5107
5108 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5109
7b17aeda
JM
51102012-05-05 Joseph Myers <joseph@codesourcery.com>
5111
5779f134
JM
5112 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5113 Disable one test.
5114
41498f4d
JM
5115 [BZ #13787]
5116 [BZ #13922]
5117 [BZ #14036]
5118 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5119 (__ieee754_expl): Allow for and saturate large arguments.
5120 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5121 (u_threshold): Likewise.
5122 (__exp): Call __ieee754_exp before checking for overflow and
5123 underflow.
5124 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5125 (u_threshold): Likewise.
5126 (__expf): Call __ieee754_expf before checking for overflow and
5127 underflow.
5128 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5129 (u_threshold): Likewise.
5130 (__expl): Call __ieee754_expl before checking for overflow and
5131 underflow.
5132 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5133 (__ieee754_expl): Allow for and saturate large arguments.
5134 * math/libm-test.inc (exp_test): Add another test. Do not allow
5135 missing overflow exception on overflow.
5136 (expm1_test): Do not allow missing overflow exception on overflow.
5137
6698b8bf
JM
5138 * sysdeps/i386/fpu/e_expl.c: Move to ...
5139 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5140 rather than using inline asm.
5141 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5142 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5143 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5144
7b17aeda
JM
5145 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5146 (nice): Likewise.
5147 (poll): Likewise.
5148 (signal): Likewise.
5149 (time): Likewise.
5150 (times): Likewise.
5151
f7c85819
JM
51522012-05-04 Joseph Myers <joseph@codesourcery.com>
5153
5154 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5155 sysdeps/unix/common/syscalls.list.
5156 (fchmod): Likewise.
5157 (fchown): Likewise.
5158 (ftruncate): Likewise.
5159 (getrusage): Likewise.
5160 (gettimeofday): Likewise.
5161 (setpgid): Likewise.
5162 (setregid): Likewise.
5163 (setreuid): Likewise.
5164 (sigaction): Likewise.
5165 (truncate): Likewise.
5166 (vhangup): Likewise.
5167 * sysdeps/unix/common/syscalls.list: Remove file.
5168 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5169 * sysdeps/unix/sysv/linux/Implies: Likewise.
5170
336270d0
L
51712012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5172
5173 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5175 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5176 Moved to ...
5177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5178 Here.
5179 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5180 to ...
5181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5182 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5183 to ...
5184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5185 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5186 to ...
5187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5188 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5189 to ...
5190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5191 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5192 to ...
5193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5194 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5195 to ...
5196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5197 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5198 to ...
5199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5200 Here.
5201 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5202 to ...
5203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5204 Here.
5205 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5206 to ...
5207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5208 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5209 Moved to ...
5210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5211 Here.
5212 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5213 to ...
5214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5215
d128e450
JM
52162012-05-04 Joseph Myers <joseph@codesourcery.com>
5217
fa8ee516
JM
5218 * sysdeps/unix/common/bits/dirent.h: Remove file.
5219 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5220
d128e450
JM
5221 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5222 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5223 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5224 * sysdeps/unix/bsd/isatty.c: Likewise.
5225 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5226 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5227 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5228
ff8faaf0 52292012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5230
62881be4 5231 [BZ #13563]
31dc8730
AZ
5232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5233 long double comparison inaccuracies.
5234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5236
6fef930c
AS
52372012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5238
5239 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5240 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5241
8f203e6c
JM
52422012-05-04 Joseph Myers <joseph@codesourcery.com>
5243
5244 [BZ #14049]
5245 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5246 nonzero digits before rounding a hex value.
5247 * stdlib/tst-strtod.c (tests): Add another test.
5248
5197d9c2
AK
52492012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5250
5251 * sysdeps/s390/fpu/libm-test-ulps: Update.
5252
f0c1dedf
AJ
52532012-05-03 Andreas Jaeger <aj@suse.de>
5254
5255 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5256 does not get optimized out.
5257 (malloc_opt_barrier): New.
5258
a65ef2ae 52592012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5260 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5261
2b942cb7 5262 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5263 intermediate file deletion.
2b942cb7 5264 (generated): Add .symlist files.
a65ef2ae 5265
54b71e02
JM
52662012-05-03 Joseph Myers <joseph@codesourcery.com>
5267
5268 [BZ #13775]
5269 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5270 Redirect under this condition.
5271 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5272 [__USE_GNU] (__dprintf_chk): Not under this condition.
5273 [__USE_GNU] (__vdprintf_chk): Likewise.
5274 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5275 under this condition.
5276 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5277 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5278 [__USE_XOPEN2K8] (vdprintf): Likewise.
5279 [__USE_GNU] (__dprintf_chk): Not under this condition.
5280 [__USE_GNU] (__vdprintf_chk): Likewise.
5281 [__USE_GNU] (dprintf): Likewise.
5282 [__USE_GNU] (vdprintf): Likewise.
5283
d3dfcc41
RM
52842012-05-03 Roland McGrath <roland@hack.frob.com>
5285
5286 * elf/Makefile (common-generated): Set this instead of generated for
5287 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5288 $(all-built-dso)-derived lists.
5289
7ac30cc5
AJ
52902012-05-03 Andreas Jaeger <aj@suse.de>
5291
0c51e550
AJ
5292 * sysdeps/i386/fpu/libm-test-ulps: Update.
5293
7ac30cc5
AJ
5294 * FAQ: Removed.
5295 * FAQ.in: Likewise.
5296 * scripts/gen-FAQ.pl: Likewise.
5297 * manual/install.texi (Installation): Point to online location of
5298 FAQ.
5299 * Makefile (files-for-dist): Remove FAQ.
5300 (FAQ): Remove.
5301
d4c2917f
AM
53022012-05-02 Allan McRae <allan@archlinux.org>
5303
5304 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5305 (LDFLAGS-reldepmod5.so): Likewise.
5306 (LDFLAGS-reldep6mod1.so): Likewise.
5307 (LDFLAGS-reldep6mod4.so): Likewise.
5308 (LDFLAGS-reldep8mod3.so): Likewise.
5309 (LDFLAGS-unload4mod1.so): Likewise.
5310 (LDFLAGS-unload4mod2.so): Likewise.
5311 (LDFLAGS-tst-initorder): Likewise.
5312 (LDFLAGS-tst-initordera2.so): Likewise.
5313 (LDFLAGS-tst-initordera3.so): Likewise.
5314 (LDFLAGS-tst-initordera4.so): Likewise.
5315 (LDFLAGS-tst-initorderb2.so): Likewise.
5316 (LDFLAGS-noload): Likewise.
5317 (LDFLAGS-next): Likewise.
5318 (LDFLAGS-order2mod1.so): Likewise.
5319 (LDFLAGS-order2mod2.so): Likewise.
5320 (LDFLAGS-tst-initorder2): Likewise.
5321 (LDFLAGS-tst-initorder2a.so): Likewise.
5322 (LDFLAGS-tst-initorder2b.so): Likewise.
5323 (LDFLAGS-tst-initorder2c.so): Likewise.
5324 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5325
d77f993f
DM
53262012-05-02 David S. Miller <davem@davemloft.net>
5327
5328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5329
171a70b4
PP
53302012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5331
5332 [BZ #14055]
5333 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5334
0be196ad
AJ
53352012-05-02 Andreas Jaeger <aj@suse.de>
5336
5337 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5338 since we manipulate rounding mode.
5339 (CPPFLAGS-test-idouble.c): Likewise.
5340 (CPPFLAGS-test-ifloat.c): Likewise.
5341 (CFLAGS-test-ldouble.c): Likewise.
5342 (CFLAGS-test-double.c): Likewise.
5343 (CFLAGS-test-float.c): Likewise.
5344 (CFLAGS-test-misc.c): Likewise.
5345 (CFLAGS-test-test-fenv.c): Likewise.
5346
4f9d04aa
AZ
53472012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5348
2b942cb7
RM
5349 [BZ #2550]
5350 [BZ #2570]
5351 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5352 comparisons to determine direction to adjust input.
4f9d04aa 5353
82a79e7d
RM
53542012-05-01 Roland McGrath <roland@hack.frob.com>
5355
f5a01ca9
RM
5356 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5357 output to the target.
5358
90fe4186
RM
5359 * scripts/localplt.awk: New file.
5360 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5361 (check-localplt-CFLAGS): Variable removed.
5362 ($(all-built-dso:=.jmprel)): New static pattern rule.
5363 (generated): Add those targets.
5364 (localplt-built-dso): New variable.
5365 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5366
5367 * elf/check-localplt.c: File removed.
5368
82397ed6
RM
5369 * scripts/check-execstack.awk: New file.
5370 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5371 (check-execstack-CFLAGS): Variable removed.
5372 ($(objpfx)check-execstack.h): Target removed.
5373 ($(objpfx)execstack-default): New target.
5374 (generated): Add that instead of check-execstack.h.
5375 ($(all-built-dso:=.phdr)): New static pattern rule.
5376 (generated): Add those targets.
5377 * elf/check-execstack.c: File removed.
5378
82a79e7d
RM
5379 * scripts/check-textrel.awk: New file.
5380 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5381 (check-textrel-CFLAGS): Variable removed.
5382 (all-built-dso): Use := to define.o
5383 ($(all-built-dso:=.dyn)): New static pattern rule.
5384 (generated): Add those targets.
5385 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5386 * config.make.in (READELF): New substituted variable.
5387 * elf/check-textrel.c: File removed.
5388
62fde54f 53892012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5390
615605c9
JM
5391 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5392 allow.
5393 * conform/data/ctype.h-data [C99-based standards] (isblank):
5394 Expect function.
5395 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5396 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5398 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5399 Specify type. Require positive value.
5400 (EILSEQ): Likewise.
5401 (ERANGE): Likewise.
5402 [ISO || POSIX] (EILSEQ): Do not expect.
5403 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5404 Specify type. Require positive value.
5405 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5406 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5407 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5408 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5409 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5410 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5411 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5412 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5413 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5414 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5415 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5416 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5417 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5418 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5419 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5420 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5421 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5422 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5423 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5424 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5425 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5426 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5427 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5429 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5430 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5431 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5432 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5433 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5434 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5435 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5436 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5437 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5438 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5439 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5440 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5441 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5442 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5443 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5444 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5445 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5446 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5447 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5448 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5449 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5450 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5451 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5452 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5453 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5454 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5455 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5456 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5457 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5458 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5459 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5460 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5461 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5462 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5463 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5464 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5465 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5466 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5467 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5468 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5469 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5470 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5471 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5472 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5473 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5474 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5475 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5476 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5477 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5478 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5479 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5480 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5481 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5482 Require >= 2.
5483 (FLT_ROUNDS): Expect as macro, not constant.
5484 (FLT_MANT_DIG): Use macro-int-constant.
5485 (DBL_MANT_DIG): Likewise.
5486 (LDBL_MANT_DIG): Likewise.
5487 (FLT_DIG): Likewise.
5488 (DBL_DIG): Likewise.
5489 (LDBL_DIG): Likewise.
5490 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5491 (DBL_MIN_EXP): Likewise.
5492 (LDBL_MIN_EXP): Likewise.
5493 (FLT_MAX_EXP): Use macro-int-constant.
5494 (DBL_MAX_EXP): Likewise.
5495 (LDBL_MAX_EXP): Likewise.
5496 (FLT_MAX_10_EXP): Likewise.
5497 (DBL_MAX_10_EXP): Likewise.
5498 (LDBL_MAX_10_EXP): Likewise.
5499 (FLT_MAX): Use macro-constant.
5500 (DBL_MAX): Likewise.
5501 (LDBL_MAX): Likewise.
5502 (FLT_EPSILON): Use macro-constant. Give upper bound.
5503 (DBL_EPSILON): Likewise.
5504 (LDBL_EPSILON): Likewise.
5505 (FLT_MIN): Likewise.
5506 (DBL_MIN): Likewise.
5507 (LDBL_MIN): Likewise.
5508 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5509 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5510 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5511 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5512 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5513 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5514 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5515 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5516 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5517 [ISO11] (FLT_TRUE_MIN): Likewise.
5518 [ISO11] (LDBL_TRUE_MIN): Likewise.
5519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5520 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5521 (SCHAR_MIN): Use macro-int-constant. Specify type.
5522 (SCHAR_MAX): Likewise.
5523 (UCHAR_MAX): Likewise.
5524 (CHAR_MIN): Likewise.
5525 (CHAR_MAX): Likewise.
5526 (MB_LEN_MAX): Use macro-int-constant.
5527 (SHRT_MIN): Use macro-int-constant. Specify type.
5528 (SHRT_MAX): Likewise.
5529 (USHRT_MAX): Likewise.
5530 (INT_MAX): Likewise.
5531 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5532 bound negative.
5533 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5534 bound with "U".
5535 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5536 bound with "L".
5537 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5538 bound negative. Suffix upper bound with "L".
5539 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5540 bound with "UL".
5541 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5542 Specify type.
5543 [C99-based standards] (LLONG_MAX): Likewise.
5544 [C99-based standards] (ULLONG_MAX): Likewise.
5545 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5546 == 0.
5547 [ISO11] (max_align_t): Require type.
5548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5549
c9140a62
JM
5550 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5551 from $CFLAGS, without defining away __attribute__ calls.
5552 (checknamespace): Use $CFLAGS_namespace.
5553
9af0bf29
JM
5554 * conform/conformtest.pl (@keywords): Only include C99 keywords
5555 for standards based on C99 or C11.
5556
343222a2
JM
5557 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5558 Disable tests.
5559 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5560 UNIX98]: Likewise.
5561
661f8cf0
JM
5562 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5563 usability of symbols in #if.
5564
ee74b9cb
JM
5565 * conform/conformtest.pl: If macro or constant types start
5566 "promoted:", expect the symbol to be of the following type
5567 promoted by the integer promotions.
62fde54f 5568
aafc49b3
JM
5569 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5570 in one place. Also handle "macro-constant".
5571
fefdf574
JM
5572 * conform/conformtest.pl: Only accept expected macro values with
5573 "==". Parse all "macro" lines in one place.
5574 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5575
f2d922fe
JM
5576 * conform/conformtest.pl: Handle braced types on "constant" lines
5577 instead of handling "typed-constant".
5578 * conform/data/signal.h-data: Use "constant" instead of
5579 "typed-constant".
5580
d22956c9
JM
5581 * conform/conformtest.pl: Handle "optional-" at start of lines in
5582 one place rather than duplicating several cases. Handle each
5583 format of "macro" line with initial "optional-".
5584
028e2e38
JM
5585 * conform/conformtest.pl: Only accept expected constant or
5586 optional-constant values with "==". Parse all "constant" lines in
5587 one place. Parse all "optional-constant" lines in one place.
5588 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5589 * conform/data/fmtmsg.h-data: Likewise.
5590 * conform/data/netinet/in.h-data: Likewise.
5591 * conform/data/tar.h-data: Likewise.
5592 * conform/data/limits.h-data: Use "==" form on "constant" and
5593 "optional-constant" lines.
5594
1b8f2850
JM
5595 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5596 Use -std=c99 for XOPEN2K.
5597 (@knownproblems): Remove.
5598 (newtoken): Don't check %isknown.
5599
a05a144b
JM
5600 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5601 Do not expect macro.
5602 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5603 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5604 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5605 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5606 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5607 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5608 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5609 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5610 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5611 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5612 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5613 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5614 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5615 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5616 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5617 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5618 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5619 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5620 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5621 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5622 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5623 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5624 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5626 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5627 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5628 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5629 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5630 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5632 [XPG3] (acosh): Likewise.
5633 [XPG3] (asinh): Likewise.
5634 [XPG3] (atanh): Likewise.
5635 [XPG3] (cbrt): Likewise.
5636 [XPG3] (expm1): Likewise.
5637 [XPG3] (ilogb): Likewise.
5638 [XPG3] (log1p): Likewise.
5639 [XPG3] (logb): Likewise.
5640 [XPG3] (nextafter): Likewise.
5641 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5642 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5643 [XPG3] (remainder): Likewise.
5644 [XPG3] (rint): Likewise.
5645 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5646 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5647 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5648 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5649 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5650 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5651 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5652 [UNIX98 || XOPEN2K] (scalb): Expect.
5653 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5654 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5655 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5656 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5657 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5658 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5659 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5660 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5661 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5662 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5663 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5664 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5665 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5666 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5667 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5668 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5669 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5670 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5672 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5673 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5682 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5683 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5701 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5702 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5711 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5712 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5720 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5721 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5722 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5730 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5731 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5735 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5736 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5737 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5739 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5740 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5741 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5773 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5775 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5776 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5777 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5778 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5779 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5780 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5781 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5784 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5785 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5790
73c5ebe3
JM
5791 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5792 _XOPEN_SOURCE_EXTENDED for XPG4.
5793
39c33b6c
JM
5794 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5795
62fde54f
JM
5796 * Makeconfig (localtime): Remove variable.
5797 (inst_localtime-file): Likewise.
5798
0741d64c
AS
57992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5800
5801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5802 Update.
5803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5804 Update.
5805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5806 Update.
5807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5808 Update.
5809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5810 Update.
5811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5812 Update.
5813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5814 Update.
5815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5816 Update.
5817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5818 Update.
5819
7cb029ee
JM
58202012-05-01 Joseph Myers <joseph@codesourcery.com>
5821
5822 [BZ #2550]
5823 [BZ #2570]
5824 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5825 comparisons to determine direction to adjust input.
5826 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5827 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5828 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5829 Likewise.
5830 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5831 Likewise.
5832 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5833 Likewise.
5834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5836 Likewise.
5837 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5838 Likewise.
5839 * math/libm-test.inc (nexttoward_test): Add more tests.
5840
412bd966
AS
58412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5842
5843 [BZ #14040]
5844 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5845 in version GLIBC_2.1, not GLIBC_2.0.
5846 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5847 Likewise.
5848
9568c0c2
JM
58492012-04-30 Joseph Myers <joseph@codesourcery.com>
5850
adfbc8ac
JM
5851 [BZ #13942]
5852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5853 (1 - x) * (1 + x).
5854 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5855 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5856 * math/libm-test.inc (acos_test): Add more tests.
5857 (asin_test): Likewise.
5858 * sysdeps/i386/fpu/libm-test-ulps: Update.
5859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5860
5ba3cc69
JM
5861 [BZ #14034]
5862 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5863 of square root.
5864 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5865 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5866 * math/libm-test.inc (acos_test_tonearest): New function.
5867 (acos_test_towardzero): Likewise.
5868 (acos_test_downward): Likewise.
5869 (acos_test_upward): Likewise.
5870 (asin_test_tonearest): Likewise.
5871 (asin_test_towardzero): Likewise.
5872 (asin_test_downward): Likewise.
5873 (asin_test_upward): Likewise.
5874 (main): Call the new functions.
5875 * sysdeps/i386/fpu/libm-test-ulps: Update.
5876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5877
9568c0c2
JM
5878 [BZ #13884]
5879 [BZ #13924]
5880 * math/e_exp10.c: Include <float.h>.
5881 (__ieee754_exp10): Handle underflow here rather than multiplying
5882 large negative argument by M_LN10.
5883 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5884 of __ieee754_expf.
5885 * math/e_exp10l.c: Include <float.h>.
5886 (__ieee754_exp10l): Handle underflow here rather than multiplying
5887 large negative argument by M_LN10l.
5888 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5889 spurious overflow exception on underflow.
5890
5ac3ea17
MP
58912012-04-29 Marek Polacek <polacek@redhat.com>
5892
5893 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5894 (__fortify_function): New macro.
5895 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5896 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5897 __extern_always_inline.
5898 * libio/bits/stdio2.h: Likewise.
5899 * libio/bits/stdio.h: Likewise.
5900 * string/string.h: Likewise.
5901 * string/bits/string3.h: Likewise.
5902 * include/stdio.h: Likewise.
5903 * stdlib/bits/stdlib.h: Likewise.
5904 * stdlib/stdlib.h: Likewise.
5905 * rt/bits/mqueue2.h: Likewise.
5906 * rt/mqueue.h: Likewise.
5907 * posix/bits/unistd.h: Likewise.
5908 * posix/unistd.h: Likewise.
5909 * io/bits/poll2.h: Likewise.
5910 * io/bits/fcntl2.h: Likewise.
5911 * io/fcntl.h: Likewise.
5912 * io/sys/poll.h: Likewise.
5913 * misc/bits/syslog.h: Likewise.
5914 * misc/bits/syslog-ldbl.h: Likewise.
5915 * misc/sys/syslog.h: Likewise.
5916 * socket/bits/socket2.h: Likewise.
5917 * socket/sys/socket.h: Likewise.
5918 * debug/tst-chk1.c: Likewise.
5919 * wcsmbs/bits/wchar2.h: Likewise.
5920 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5921 * wcsmbs/wchar.h: Likewise.
5922
ecf0ebfb
AJ
59232012-04-29 Andreas Jaeger <aj@suse.de>
5924
5925 * Makerules (tests): Remove enable-check-abi protection.
5926 (check-abi-warn): Remove.
5927 (check-abi-%): Remove check-abi-warn usage.
5928
5929 * configure.in: Remove check-abi configure option.
5930 * configure: Regenerated.
5931 * config.make.in (enable-check-abi): Remove.
5932
6d5c57fa
AS
59332012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5934
24c5d07e 5935 [BZ #14033]
ded5180a
AS
5936 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5937 double functions to double *_finite functions.
5938
7e0d315d
AS
5939 [BZ #13941]
5940 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5941 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5942 LDBL_MIN_EXP.
5943 * stdio-common/Makefile (tests): Add tst-sprintf3.
5944 * stdio-common/tst-sprintf3.c: New file.
5945
6d5c57fa
AS
5946 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5947 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5948
0749ff8b
JM
59492012-04-28 Joseph Myers <joseph@codesourcery.com>
5950
5951 * conform/conformtest.pl: Remove duplicate typed-constant
5952 handling.
5953
8dbd5d7b
DM
59542012-04-28 David S. Miller <davem@davemloft.net>
5955
5956 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5957 (check-abi-%): Remove AWK script prerequisite and explicit
5958 abilist directory.
5959 (check-abi): Rewrite to just diff the symlist with the abilist.
5960 (config-tls, config-abi-config): Delete, no longer used.
5961 (update-abi-%): Remove AWK script and explicit abilist directory.
5962 (update-abi): Rewrite to simply compare and conditionally copy the
5963 symlist and the sysdep abilist file. Remove update-abi-config
5964 checks.
5965 * abilist/ld.abilist: Remove.
5966 * abilist/libBrokenLocale.abilist: Remove.
5967 * abilist/libanl.abilist: Remove.
5968 * abilist/libcrypt.abilist: Remove.
5969 * abilist/libdl.abilist: Remove.
5970 * abilist/librt.abilist: Remove.
5971 * abilist/libthread_db.abilist: Remove.
5972 * abilist/libutil.abilist: Remove.
5973 * scripts/extract-abilist.awk: Remove.
5974 * scripts/merge-abilist.awk: Remove.
5975 * sysdeps/generic/libcidn.abilist: New file.
5976 * sysdeps/generic/libnss_compat.abilist: New file.
5977 * sysdeps/generic/libnss_db.abilist: New file.
5978 * sysdeps/generic/libnss_dns.abilist: New file.
5979 * sysdeps/generic/libnss_files.abilist: New file.
5980 * sysdeps/generic/libnss_hesiod.abilist: New file.
5981 * sysdeps/generic/libnss_nis.abilist: New file.
5982 * sysdeps/generic/libnss_nisplus.abilist: New file.
5983 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5984 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5985 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5986 file.
5987 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5988 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5989 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5990 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5991 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5992 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5993 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5994 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5995 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5996 file.
5997 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5998 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5999 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6000 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6001 file.
6002 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6003 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6004 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6005 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6006 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6007 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6008 file.
6009 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6010 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6011 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6012 file.
6013 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6015 New file.
6016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6017 New file.
6018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6019 New file.
6020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6021 New file.
6022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6023 New file.
6024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6025 New file.
6026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6027 New file.
6028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6029 New file.
6030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6031 New file.
6032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6033 New file.
6034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6035 New file.
6036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6037 New file.
6038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6039 New file.
6040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6041 file.
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6043 New file.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6045 New file.
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6047 file.
6048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6049 New file.
6050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6051 New file.
6052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6053 file.
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6055 New file.
6056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6057 New file.
6058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6059 New file.
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6061 New file.
6062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6063 New file.
6064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6065 New file.
6066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6068 file.
6069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6070 New file.
6071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6072 file.
6073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6074 file.
6075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6076 file.
6077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6078 file.
6079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6080 file.
6081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6082 New file.
6083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6084 file.
6085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6086 file.
6087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6088 New file.
6089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6090 file.
6091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6093 file.
6094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6095 New file.
6096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6097 file.
6098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6099 file.
6100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6101 file.
6102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6103 file.
6104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6105 file.
6106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6107 New file.
6108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6109 file.
6110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6111 file.
6112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6113 New file.
6114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6115 file.
6116 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6117 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6118 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6119 file.
6120 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6121 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6122 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6123 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6124 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6125 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6126 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6127 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6128 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6129 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6132 file.
6133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6134 New file.
6135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6136 file.
6137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6138 file.
6139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6140 file.
6141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6142 file.
6143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6144 file.
6145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6146 New file.
6147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6148 New file.
6149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6150 file.
6151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6152 New file.
6153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6154 file.
6155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6157 file.
6158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6159 New file.
6160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6161 file.
6162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6163 file.
6164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6165 file.
6166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6167 file.
6168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6169 file.
6170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6171 New file.
6172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6173 New file.
6174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6175 file.
6176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6177 New file.
6178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6179 file.
6180
41d73a1b
JM
61812012-04-28 Joseph Myers <joseph@codesourcery.com>
6182
6183 * conform/conformtest.pl: Fix typo in handling typed-constant from
6184 allow-header.
6185
28aeeda4
JM
61862012-04-27 Joseph Myers <joseph@codesourcery.com>
6187
adae8f5e
JM
6188 * README: Cut down references to pre-2.6 Linux kernels and
6189 Linuxthreads. Update lists of configurations in libc and ports
6190 and sort alphabetically. Say "or newer" with Linux kernel version
6191 requirements.
6192
28aeeda4
JM
6193 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6194
a462cb63
RA
61952012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6196
6197 [BZ #887]
6198 * math/libm-test.inc (logb_test_downward): New test to expose
6199 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6200 rounding mode.
6201
6ad3493e
JM
62022012-04-27 Joseph Myers <joseph@codesourcery.com>
6203
6204 [BZ #14027]
6205 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6206 to be done.
6207 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6208 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6209
2ce4f015
JM
62102012-04-26 Joseph Myers <joseph@codesourcery.com>
6211
5aeb141a
JM
6212 * sysdeps/unix/i386/brk.S: Remove file.
6213 * sysdeps/unix/i386/dl-brk.S: Likewise.
6214 * sysdeps/unix/i386/pipe.S: Likewise.
6215 * sysdeps/unix/i386/sigreturn.S: Likewise.
6216 * sysdeps/unix/i386/syscall.S: Likewise.
6217 * sysdeps/unix/i386/vfork.S: Likewise.
6218 * sysdeps/unix/i386/wait.S: Likewise.
6219
7143acae
JM
6220 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6221 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6222
2ce4f015
JM
6223 * configure.in (arm*-none*): Do not allow without
6224 --enable-hacker-mode.
6225 (netbsd*): Remove case setting base_os.
6226 (386bsd*): Likewise.
6227 (freebsd*): Likewise.
6228 (bsdi*): Likewise.
6229 (osf*): Likewise.
6230 (sunos*): Likewise.
6231 (ultrix*): Likewise.
6232 (newsos*): Likewise.
6233 (dynix*): Likewise.
6234 (*bsd*): Likewise.
6235 (sysv*): Likewise.
6236 (isc*): Likewise.
6237 (esix*): Likewise.
6238 (sco*): Likewise.
6239 (minix*): Likewise.
6240 (irix4*): Likewise.
6241 (irix6*): Likewise.
6242 (solaris[2-9]*): Likewise.
6243 (none): Likewise.
6244 * configure: Regenerated.
6245
0ac229c8
AZ
62462012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6247
6248 [BZ #11521]
6249 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6250 overflow or cancellation in calculating denominator.
6251 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6253 down expression to avoid unexpected rounding in newer GCCs.
6254 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6255
33f244f4
DM
62562012-04-26 David S. Miller <davem@davemloft.net>
6257
6258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6259 long-double compat symbols.
6260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6273
cfa1f3e8
DM
62742012-04-25 David S. Miller <davem@davemloft.net>
6275
6276 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6277 HWCAP_* values only after the memory barriers have been defined.
6278 (atomic_full_barrier): Define.
6279 (atomic_read_barrier): Define.
6280 (atomic_write_barrier): Define.
6281
6e236b92
SP
62822012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6283
6284 * shlib-versions: Add libgcc_s version information.
6285 * sysdeps/generic/libgcc_s.h: Remove.
6286 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6287 libgcc_s.h.
6288 * sysdeps/gnu/unwind-resume.c: Likewise.
6289 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6290
aab39a09
DM
62912012-04-25 David S. Miller <davem@davemloft.net>
6292
6293 * sysdeps/unix/sparc/brk.S: Delete.
6294 * sysdeps/unix/sparc/dl-brk.S: Delete.
6295 * sysdeps/unix/sparc/pipe.S: Delete.
6296 * sysdeps/unix/sparc/sysdep.S: Delete.
6297 * sysdeps/unix/sparc/sysdep.h: Delete.
6298 * sysdeps/unix/sparc/vfork.S: Delete.
6299 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6300 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6301 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6302 ret_ERRVAL, r0, r1, MOVE): Define.
6303 (JUMPTARGET): Remove.
6304 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6305 sysdeps/unix/sparc/sysdep.h
6306 (ENTRY, END): Remove.
6307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6308
a3cc4f48
JM
63092012-04-25 Joseph Myers <joseph@codesourcery.com>
6310
2ed8cda2
JM
6311 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6312 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6313 -DIS_IN_build.
6314
35d76d59
JM
6315 * timezone/README: Update upstream location and email address for
6316 tzcode and tzdata.
6317 * timezone/zdump.c: Update from tzcode 2012b.
6318 * timezone/zic.c: Likewise.
6319
a3cc4f48
JM
6320 * configure.in (libc_cv_as_needed): Remove test.
6321 * configure: Regenerated.
6322 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6323 conditional definition.
6324 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6325 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6326 * config.make.in (have-as-needed): Remove variable.
6327
ceab42c3
SP
63282012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6329 Paul Pluzhnikov <ppluzhnikov@google.com>
6330
6331 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6332 strings correctly.
6333
3ce2865f
CLT
63342012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6335
6336 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6337 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6338 * sysdeps/sh/strlen.S: Likewise.
6339
f37e0d68
JM
63402012-04-24 Joseph Myers <joseph@codesourcery.com>
6341
ae186e9a
JM
6342 * sysdeps/unix/fork.S: Remove file.
6343 * sysdeps/unix/i386/fork.S: Likewise.
6344 * sysdeps/unix/sparc/fork.S: Likewise.
6345
b96914af
JM
6346 * sysdeps/unix/system.c: Remove file.
6347 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6348
f37e0d68
JM
6349 * sysdeps/unix/getegid.S: Remove file.
6350 * sysdeps/unix/geteuid.S: Likewise.
6351
87ef29ca
RM
63522012-04-24 Roland McGrath <roland@hack.frob.com>
6353
83bcd236
RM
6354 * scripts/check-localplt.awk: New file.
6355 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6356 of diff.
6357 * scripts/data/localplt-generic.data: Add a comment.
6358
87ef29ca
RM
6359 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6360 NODE when __dir_mkfile failed.
6361 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6362 Reported by Ludovic Courtès <ludo@gnu.org>.
6363
e5a6e567
AJ
63642012-04-24 Andreas Jaeger <aj@suse.de>
6365
6366 * Makerules (common-clean): Also remove gen-as-const-headers
6367 files.
6368
c1820385
JM
63692012-04-24 Joseph Myers <joseph@codesourcery.com>
6370
6371 * Makerules (native-compile): Do not change working directory for
6372 build. Use $(OUTPUT_OPTION) in command.
6373 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6374
94e02fc4
AZ
63752012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6376
6377 [BZ #13886]
6378 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6379 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6380 * math/libm-test.inc (floor_test): Add more tests.
6381 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6382
3a533ca3
JM
63832012-04-24 Joseph Myers <joseph@codesourcery.com>
6384
940ab4b3
JM
6385 * sysdeps/unix/getdents.c: Remove file.
6386 * sysdeps/unix/sysv/getdents.c: Likewise.
6387 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6388
90e037bd
JM
6389 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6390 sysdeps/unix/mman/syscalls.list.
6391 (mmap): Likewise.
6392 (mprotect): Likewise.
6393 (msync): Likewise.
6394 (munmap): Likewise.
6395 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6396 * sysdeps/unix/mman/syscalls.list: Remove.
6397 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6398
3a533ca3
JM
6399 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6400 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6401 * configure: Regenerated.
6402 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6403 $(libgcc_s_suffix).
6404 * config.make.in (libgcc_s_suffix): Remove variable.
6405
1ad743de
JM
64062012-04-23 Joseph Myers <joseph@codesourcery.com>
6407
4ad451e2
JM
6408 * sysdeps/unix/sysv/gethostname.c: Move to ...
6409 * sysdeps/posix/gethostname.c: ... here.
6410
5e37ce39
JM
6411 * sysdeps/unix/execve.S: Remove file.
6412
1ad743de
JM
6413 * sysdeps/unix/_exit.S: Remove file.
6414
4e681b5b
AJ
64152012-04-23 Andreas Jaeger <aj@suse.de>
6416
6417 [BZ #13739]
6418 * manual/Makefile: Remove make dist support, there's no
6419 need for a stand-alone documentation tar ball.
6420 (TEXI2DVI): Define always, it's not in Makeconfig.
6421 (dist): Removed.
6422 (tar-it): Removed.
6423 (edition): Removed.
6424 (glibc-doc-$(edition).tar): Removed
6425 (%.Z): Removed.
6426 (%.gz): Removed.
6427 (%.uu): Removed.
6428 (ETAGS): Remove, it's in Makeconfig.
6429 (move-if-change): Remove, it's in Makeconfig.
6430
c0baea34
PE
64312013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6432
6433 [BZ #13970]
6434 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6435 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6436 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6437 (strtod_l, strtof_l, strtold_l): Remove __wur.
6438 It is not necessarily an error to ignore strtol's return value.
6439 One can reliably look at the stored endptr to decide whether
6440 the number had valid syntax.
6441
7c0616fa
AJ
64422012-04-21 Andreas Jaeger <aj@suse.de>
6443
803cb6b7 6444 [BZ #13739]
7c0616fa
AJ
6445 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6446
b0fe253f
JM
64472012-04-21 Joseph Myers <joseph@codesourcery.com>
6448
6449 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6450 * sysdeps/unix/sysv/Versions: Remove file.
6451
8280f22d
MT
64522012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6453
6454 [BZ #13927]
6455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6456
75ce411f 64572012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6458
6459 [BZ #7064]
6460 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6461 version from __vm86.
6462
097d59fa
JM
64632012-04-20 Joseph Myers <joseph@codesourcery.com>
6464
a90f3bcb
JM
6465 * sysdeps/unix/common/lxstat.c: Remove file.
6466 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6467
edc7ea78
JM
6468 * sysdeps/unix/sysv/Makefile: Remove file.
6469
cb78c221
JM
6470 * sysdeps/unix/sysv/direct.h: Remove file.
6471
efa6a45f
JM
6472 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6473 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6474 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6475 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6476 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6477 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6478 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6479
9c9f2d0c
JM
6480 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6481
4541c83b
JM
6482 * sysdeps/unix/xmknod.c: Remove file.
6483 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6484
f5d153a0
JM
6485 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6486
aa746595
JM
6487 * sysdeps/unix/sysv/i386/time.S: Remove file.
6488
cce5905e
JM
6489 * sysdeps/unix/fxstat.c: Remove file.
6490 * sysdeps/unix/xstat.c: Likewise.
6491 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6492
37fa3841
JM
6493 * sysdeps/unix/sysv/sigaction.c: Remove file.
6494
ff1962a3
JM
6495 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6496 (sysdep_headers): Remove variable.
6497 [termio.h not in sysdep_headers] (generated): Likewise.
6498 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6499 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6500 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6501 * sysdeps/unix/sysv/tcflow.c: Likewise.
6502 * sysdeps/unix/sysv/tcflush.c: Likewise.
6503 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6504 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6505 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6506 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6507 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6508
e7740d31
JM
6509 * sysdeps/unix/siglist.c: Remove file.
6510
ee06f18b
JM
6511 * sysdeps/unix/getppid.S: Remove file.
6512
097d59fa
JM
6513 * sysdeps/unix/mkdir.c: Remove file.
6514 * sysdeps/unix/rmdir.c: Likewise.
6515
ff3d51ec
AS
65162012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6517
6518 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6519 ERR_MAX value.
6520 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6521 errlist-compat value.
6522
50f81fd7
DM
65232012-04-18 David S. Miller <davem@davemloft.net>
6524
6525 * sysdeps/generic/memcopy.h (reg_char): Delete.
6526 * debug/strcat_chk.c: Use char, not reg_char.
6527 * debug/strcpy_chk.c: Likewise.
6528 * debug/strncat_chk.c: Likewise.
6529 * debug/strncpy_chk.c: Likewise.
6530 * string/memchr.c: Likewise.
6531 * string/memrchr.c: Likewise.
6532 * string/rawmemchr.c: Likewise.
6533 * string/strcat.c: Likewise.
6534 * string/strchr.c: Likewise.
6535 * string/strchrnul.c: Likewise.
6536 * string/strcmp.c: Likewise.
6537 * string/strcpy.c: Likewise.
6538 * string/strncat.c: Likewise.
6539 * string/strncmp.c: Likewise.
6540 * string/strncpy.c: Likewise.
6541
8ff41c46
WS
65422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6543
6544 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6545 __builtin_memcopy is called when src and dest ranges are known to not
6546 overlap.
6547
6b652f46
WS
65482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6549
6550 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6551 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6552 fwd_align_merge macro call.
6553 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6554 bwd_align_merge macro call.
6555 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6556
b282631e
WS
65572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6558
6559 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6560 bwd_align_merge macros.
6561 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6562 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6563 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6564
95aa737c
DM
65652012-04-18 David S. Miller <davem@davemloft.net>
6566
6567 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6568
7a99a614
AJ
65692012-04-18 Andreas Jaeger <aj@suse.de>
6570
6571 [BZ# 6794]
6572 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6573 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6574 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6575
6576 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6577 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6578 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6579
6580 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6581 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6582 Adjust for changed ldbl-128 files.
6583
6584 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6585 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6586 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6587
e5270c23
DM
65882012-04-17 David S. Miller <davem@davemloft.net>
6589
6590 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6591
fb5e92c9
AS
65922012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6593
6594 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6595 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6596 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6597 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6598 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6599 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6600
76da7265
AZ
66012012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6602
6603 [BZ #6794]
6604 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6605 * math/libm-test.inc: Add ilogb errno and exception tests.
6606 * math/w_ilogb.c: New file: ilogb wrapper.
6607 * math/w_ilogbf.c: New file: ilogbf wrapper.
6608 * math/w_ilogbl.c: New file: ilogbl wrapper.
6609 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6610 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6611 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6612 exception being thrown with 0.0 as argument.
6613 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6614 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6615 exception being thrown with 0.0 as argument.
6616 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6617 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6618 exception being thrown with 0.0 as argument.
6619 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6620 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6621 exception being thrown with 0.0 as argument.
6622 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6623 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6624 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6625 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6626 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6627 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6628 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6629 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6630 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6631
0396e69d
PB
66322012-04-17 Petr Baudis <pasky@ucw.cz>
6633
6634 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6635 with altivec.
6636
750b5926
MP
66372012-04-16 Marek Polacek <polacek@redhat.com>
6638
6639 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6640
751728a1
MP
66412012-04-16 Marek Polacek <polacek@redhat.com>
6642
6643 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6644 operands of fdivp instruction.
6645
34a27407
L
66462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6647
6648 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6649 * elf/tst-auditmod3b.c: Likewise.
6650 * elf/tst-auditmod4b.c: Likewise.
6651 * elf/tst-auditmod5b.c: Likewise.
6652 * elf/tst-auditmod6b.c: Likewise.
6653 * elf/tst-auditmod6c.c: Likewise.
6654 * elf/tst-auditmod7b.c: Likewise.
6655 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6656 * sysdeps/x86_64/preconfigure.in: Likewise.
6657 * sysdeps/x86_64/preconfigure: Regenerated.
6658
7e73e17d
L
66592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6660
6661 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6662 __ILP32__.
6663
c7a6ab72
AB
66642012-04-13 Antoine Balestrat <merkil33@gmail.com>
6665
6666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6667 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6668
a9e8e0e0
CL
66692012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6670
6671 [BZ #13973]
6672 * locale/iso-639.def: Fix gl language name. Spotted by
6673 Yaron Shahrabani.
6674
ec98af7d
RM
66752012-04-12 Roland McGrath <roland@hack.frob.com>
6676
6677 [BZ #2074]
6678 * libio/libio.h (__io_write_fn): Update comment.
6679
247c3ede
PB
66802012-04-12 Petr Baudis <pasky@ucw.cz>
6681
6682 [BZ #2074]
6683 * stdio.texi (Hook Functions): The user provided writer function
6684 is not allowed to return -1.
6685
55939d6d
DM
66862012-04-11 David S. Miller <davem@davemloft.net>
6687
6688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6689
90020f5a
MF
66902012-04-11 Mike Frysinger <vapier@gentoo.org>
6691
6692 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6693 Add a leading slash to rtkaio.
6694
288f9098
JM
66952012-04-11 Jim Meyering <meyering@redhat.com>
6696
90020f5a
MF
6697 [BZ #11959]
6698 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6699 It is not necessarily an error to ignore fwrite's return
6700 value. One can reliably use ferror to test for errors after
6701 the fact.
288f9098 6702
4be2b570
L
67032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6704
6705 * bits/types.h (__snseconds_t): New type.
6706 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6707
6708 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6710 (__SNSECONDS_T_TYPE): Likewise.
6711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6712 (__SNSECONDS_T_TYPE): Likewise.
6713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6714 (__SNSECONDS_T_TYPE): Likewise.
6715
288f9098 67162012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6717
6718 [BZ #2636]
6719 * manual/time.texi (Processor Time): Return type of times is
6720 elapsed real time since an arbitrary point in the past.
6721 (CPU Time): Move CLK_TCK from here...
6722 (Processor Time): ...to here. Correct description.
6723 * manual/conf.texi (Constants for Sysconf): Correct description of
6724 _SC_CLK_TCK.
6725
d7dd4413
DM
67262012-04-10 David S. Miller <davem@davemloft.net>
6727
6728 [BZ #13967]
6729 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6730 where the is a gap between DT_REL(A) and DT_JMPREL.
6731
b46068fc
L
67322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6733
6734 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6735 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6736 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6737
73d65cc3
SP
67382012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6739
6740 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6741 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6742 (dl_main): Handle --inhibit-cache.
6743 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6744 _dl_inhibit_cache.
6745 * elf/dl-load.c (_dl_map_object): Use it.
6746 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6747
bcc8d661
JM
67482012-04-09 Joseph Myers <joseph@codesourcery.com>
6749
8f9a2fae
JM
6750 [BZ #13872]
6751 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6752 (__ieee754_powl): Saturate large exponents rather than testing for
6753 overflow of y*log2(x).
6754 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6755 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6756 exceptions.
6757
bcc8d661
JM
6758 [BZ #11521]
6759 * math/s_ctan.c: Include <float.h>.
6760 (__ctan): Avoid internal overflow or cancellation in calculating
6761 denominator.
6762 * math/s_ctanf.c: Likewise.
6763 * math/s_ctanl.c: Likewise.
6764 * math/s_ctanh.c: Likewise.
6765 * math/s_ctanhf.c: Likewise.
6766 * math/s_ctanhl.c: Likewise.
6767 * math/libm-test.inc (ctan_test): Add more tests.
6768 (ctanh_test): Likewise.
6769 * sysdeps/i386/fpu/libm-test-ulps: Update.
6770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6771
823fbbb4
AJ
67722012-04-09 Andreas Jaeger <aj@suse.de>
6773
03879793
AJ
6774 [BZ #6894]
6775 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6776 is an optional BSD extension.
6777
823fbbb4
AJ
6778 [BZ #10254]
6779 * manual/stdio.texi (Opening Streams): Document additional fopen
6780 parameters.
6781
8de131cb
RM
67822012-04-09 Roland McGrath <roland@hack.frob.com>
6783
6784 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6785 %eax without telling the compiler.
6786
c0ed9d7d
CD
67872012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6788
6789 [BZ # 13963]
6790 * manual/install.texi: Use sourceware.org.
6791
c483f6b4
JM
67922012-04-09 Joseph Myers <joseph@codesourcery.com>
6793
d7dd9453
JM
6794 [BZ #13873]
6795 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6796 (__ieee754_pow): Generate overflow and underflow using huge*huge
6797 and tiny*tiny rather than just returning constant infinity or zero
6798 for large exponents.
6799 * math/libm-test.inc (pow_test): Require overflow exceptions for
6800 applicable cases of large exponents.
6801
c483f6b4
JM
6802 [BZ #706]
6803 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6804 (__ieee754_pow): Use iterative multiplication algorithm only for
6805 integer exponents with absolute value below 1024. Check for odd
6806 integer exponents when using algorithm for real exponents.
6807 * math/libm-test.inc (pow_test): Add more tests.
6808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6809
d2de7579
JM
68102012-04-08 Joseph Myers <joseph@codesourcery.com>
6811
6812 [BZ #13705]
6813 * math/libm-test.inc (exp_test): Do not allow overflow exception
6814 on underflow test.
6815
f77f1232
AJ
68162012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6817
6818 [BZ #13705]
6819 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6820 instead of __kernel_standard_f.
6821
3884932b
MF
68222012-04-08 Mike Frysinger <vapier@gentoo.org>
6823
6824 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6825 * sysdeps/x86_64/memset_chk.S: Likewise.
6826
54472e9c
AJ
68272012-04-08 Andreas Jaeger <aj@suse.de>
6828
6ab0fbfc
AJ
6829 [BZ #10153]
6830 * manual/startup.texi (Environment Access): Describe return value
6831 for putenv and setenv.
6832
61efba8c
AJ
6833 [BZ #6895]
6834 * manual/filesys.texi (Directory Entries): Add description for
6835 DT_LNK.
6836
95c3f29a
AJ
6837 [BZ #6890]
6838 * manual/filesys.texi (Directory Entries): Clarify that it's file
6839 system not operating system in the description of DT_UNKNOWN.
6840
54472e9c
AJ
6841 [BZ #6578]
6842 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6843
624254b1
SC
68442012-04-08 Stephen Compall <s11@member.fsf.org>
6845
6846 [BZ #6649]
6847 * manual/llio.texi (Opening and Closing Files): Add cross
6848 reference to explain mode argument.
6849
1e4920e0
MF
68502012-04-07 Mike Frysinger <vapier@gentoo.org>
6851
6852 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6853 * sysdeps/x86_64/memset_chk.S: Likewise.
6854
5ed848f3
DM
68552012-04-07 David S. Miller <davem@davemloft.net>
6856
6857 * elf/elf.h (R_SPARC_WDISP10): Define.
6858 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6859 R_SPARC_SIZE32.
6860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6861 R_SPARC_SIZE64 and R_SPARC_H34.
6862
96154cd8
CD
68632012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6864
6865 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6866 conditions and remove no longer applicable assertion.
6867
9904dc47
L
68682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6869
6870 * bits/byteswap.h: Include <features.h>.
6871 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6872 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6873
f8887d0a
L
68742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6875
6876 * bits/byteswap.h (__bswap_16): Removed.
6877 Include <bits/byteswap-16.h> to get __bswap_16.
6878 * sysdeps/i386/bits/byteswap.h: Likewise.
6879 * sysdeps/s390/bits/byteswap.h: Likewise.
6880 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6881 * bits/byteswap-16.h: New file.
6882 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6883 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6884 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6885 * string/Makefile (headers): Add bits/byteswap-16.h.
6886
62470f60
PP
68872012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6888
6889 [BZ #13895]
6890 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6891 extra indirection.
6892 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6893 * nss/tst-nss-static.c: New.
6894
4dad7bab
RM
68952012-04-06 Robert Millan <rmh@gnu.org>
6896
6897 [BZ #6486]
6898 * manual/llio.texi (File Position Primitive): lseek
6899 refers to WHENCE when it really means OFFSET.
6900
e9142a17
AJ
69012012-04-06 Andreas Jaeger <aj@suse.de>
6902
2c040eff
AJ
6903 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6904 strncmp declarations.
6905
e9142a17
AJ
6906 * abilist/libc.abilist: Add __poll and __ppoll.
6907
ff9f1c5f
DM
69082012-04-05 David S. Miller <davem@davemloft.net>
6909
dcd2ae90
DM
6910 * scripts/check-local-headers.sh: Accept a host triplet in the
6911 path matched by the exclude regexp.
6912
993eb054
DM
6913 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6914 definition.
6915 * sysdeps/powerpc/powerpc32/dl-machine.h
6916 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6917 * sysdeps/s390/s390-32/dl-machine.h
6918 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6919 * sysdeps/sparc/sparc32/dl-machine.h
6920 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6921 * sysdeps/sparc/sparc64/dl-machine.h
6922 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6923
ff9f1c5f
DM
6924 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6925 lazy binding.
48e2e132 6926 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6927 undefined symbol errors.
6928
48e2e132 6929 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6930 DT_NEEDED entries.
6931
e80d6f94
MM
69322012-04-05 Michael Matz <matz@suse.de>
6933
6934 [BZ #13592]
6935 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6936
349fa79f
AJ
69372012-04-05 Andreas Jaeger <aj@suse.de>
6938
6939 [BZ #13908]
6940 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6941 comment.
6942
f402708f
KK
69432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6944
6945 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6946 which ROUND is no valid rounding mode.
6947
2ecccfc9
KK
69482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6949
6950 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6951 read again.
6952 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6953
8a53f50f
KK
69542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6955
6956 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6957 an exception using FPU order intentionally.
6958
69592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6960
6961 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6962 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6963 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6964 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6965
d653abb7
SJ
69662012-04-05 Simon Josefsson <simon@josefsson.org>
6967
6968 [BZ #12340]
6969 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6970 EINVAL when BUFLEN is too smal.
6971
c3b1bf7d
TS
69722012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6973
6974 [BZ #13553]
6975 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6976 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6977
b1aa60f3
AJ
69782012-04-03 Andreas Jaeger <aj@suse.de>
6979
c3b1bf7d 6980 [BZ #13938]
67f60a26
AJ
6981 * manual/setjmp.texi (System V contexts): Fix sentence.
6982
b1aa60f3
AJ
6983 [BZ #13926]
6984 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6985 New macro for this case.
6986 [!__GNUC__] (__bswap_64): New inline function for this case.
6987 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6988 * bits/byteswap.h: Likewise.
6989 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6990 ull, guard with __GLIBC_HAVE_LONG_LONG.
6991
6992 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6993 __GLIBC_HAVE_LONG_LONG.
6994
6995 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6996 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6997
39c59c35
TMQMF
69982012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6999
7000 [BZ #13691]
7001 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7002 inptr and inend, rather than using last_ch.
7003
135ffda8
DM
70042012-04-02 David S. Miller <davem@davemloft.net>
7005
7006 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7007 * stdio-common/printf-parse.h (read_int): Change return type to
7008 'int', return -1 on INT_MAX overflow.
7009 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7010 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7011 overflows INT_MAX. Check for overflow of in-format-string precision
7012 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7013 SIZE_MAX not INT_MAX for integer overflow test.
7014 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7015 skip the construct in the format string but do not record anything.
7016 * stdio-common/bug22.c: Adjust to test both width/prevision
7017 INT_MAX overflow as well as total length INT_MAX overflow. Check
7018 explicitly for proper errno values.
7019
228c019e
TS
70202012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7021
302cadd3
TS
7022 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7023 CHAR_MAX.
7024 * string/test-strcmp.c [! WIDE]: Likewise.
7025 * time/tst-mktime2.c: Likewise for INT_MAX.
7026 * string/test-string.h: #include <sys/param.h> for MIN.
7027
228c019e
TS
7028 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7029 * sysdeps/i386/init-first.c (init): Likewise.
7030 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7031 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7032 * sysdeps/sh/init-first.c (init): Likewise.
7033
cfa633f5
UD
70342012-04-01 Ulrich Drepper <drepper@gmail.com>
7035
7036 * po/ru.po: Update from translation team.
d1635ef8 7037 * po/vi.po: Likewise.
cfa633f5 7038
6cd0a5ea
SP
70392012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7040
7041 * resolv/nss_dns/dns-host.c: Merge copyright years.
7042
4b43400f
LD
70432012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7044
7045 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7046 Optimize memcpy with prefetch if
7047 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7048 src, dst pointers have unequal 16 byte alignments.
7049
48c41d04
SP
70502012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7051
7052 [BZ #13928]
7053 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7054 from a CNAME entry and return the minimum ttl for the query.
7055 (gaih_getanswer_slice): Likewise.
7056
b8dc394d
JL
70572012-03-30 Jeff Law <law@redhat.com>
7058
7059 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7060 due to long keys.
7061 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7062 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7063
2f5a5ed0
JL
7064 * resolv/nss_dns/dns-host.c: Update copyright year.
7065
1d39e359
UD
70662012-03-30 Ulrich Drepper <drepper@gmail.com>
7067
c030f70c 7068 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7069 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7070
1d39e359
UD
7071 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7072 comments for sendmmsg.
7073
70742012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7075
7076 [BZ #13691]
7077 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7078 with only 1 character between 0x0041 and 0x01b0.
7079 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7080 * wcsmbs/tst-mbsnrtowcs.c: New file.
7081
20fde227
DM
70822012-03-29 David S. Miller <davem@davemloft.net>
7083
7084 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7085 small copies by hand.
7086
984a4237
JL
70872012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7088
7089 [BZ #13761]
7090 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7091 _nss_compat_initgroups_dyn): Fall back to malloc/free
7092 for large group memberships.
7093
18c9d62b
DM
70942012-03-28 David S. Miller <davem@davemloft.net>
7095
88d85d4f
DM
7096 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7097 that branches into memcpy.
7098 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7099 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7100 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7101 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7103 bits.
7104 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7105 implementation too.
7106 * sysdeps/sparc/mempcpy.S: New file.
7107
e5aa83e1
DM
7108 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7109 the IFUNC routine in the libc case.
7110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7111
88570753
DM
7112 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7113 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7114 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7115 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7116 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7117 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7118 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7119 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7120
249d7567
DM
7121 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7122 loop to 256 bytes instead of 64 bytes and fix test signedness.
7123
18c9d62b
DM
7124 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7125 * sysdeps/sparc/sparc32/Makefile: rather than here...
7126 * sysdeps/sparc/sparc64/Makefile: and here.
7127
05f3d1f6
UD
71282012-03-28 Ulrich Drepper <drepper@gmail.com>
7129
7130 * malloc/mallocbug.c: Avoid warnings about unused variables.
7131
86ae07a8
JL
71322012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7133
7134 [BZ #13760]
7135 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7136 in the right place. Discard and retry query if response is
7137 larger than input buffer size.
7138
41bf21a1
JM
71392012-03-28 Joseph Myers <joseph@codesourcery.com>
7140
d6270972
JM
7141 [BZ #369]
7142 [BZ #2678]
7143 [BZ #3866]
7144 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7145 x for large integer exponent.
7146 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7147 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7148 sign of result as needed afterwards.
7149 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7150 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7151 result for underflowing pow the same as for overflow.
7152 (__kernel_standard_l): Handle powl overflow and underflow here
7153 rather than calling __kernel_standard.
7154 * math/libm-test.inc (pow_test): Add more tests.
7155
414fca03 7156 [BZ #3868]
41bf21a1
JM
7157 [BZ #13879]
7158 [BZ #13910]
7159 [BZ #13911]
7160 [BZ #13912]
7161 [BZ #13913]
7162 [BZ #13915]
7163 [BZ #13916]
7164 [BZ #13917]
7165 [BZ #13918]
7166 [BZ #13919]
7167 [BZ #13920]
7168 [BZ #13921]
7169 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7170 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7171 (__kernel_standard_l): New function.
7172 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7173 __kernel_standard.
7174 * math/w_acosl.c (__acosl): Likewise.
7175 * math/w_asinl.c (__asinl): Likewise.
7176 * math/w_atan2l.c (__atan2l): Likewise.
7177 * math/w_atanhl.c (__atanhl): Likewise.
7178 * math/w_coshl.c (__coshl): Likewise.
7179 * math/w_exp10l.c (__exp10l): Likewise.
7180 * math/w_exp2l.c (__exp2l): Likewise.
7181 * math/w_fmodl.c (__fmodl): Likewise.
7182 * math/w_hypotl.c (__hypotl): Likewise.
7183 * math/w_j0l.c (__j0l, __y0l): Likewise.
7184 * math/w_j1l.c (__j1l, __y1l): Likewise.
7185 * math/w_jnl.c (__jnl, __ynl): Likewise.
7186 * math/w_lgammal.c (__lgammal): Likewise.
7187 * math/w_log10l.c (__log10l): Likewise.
7188 * math/w_log2l.c (__log2l): Likewise.
7189 * math/w_logl.c (__logl): Likewise.
7190 * math/w_powl.c (__powl): Likewise.
7191 * math/w_remainderl.c (__remainderl): Likewise.
7192 * math/w_scalbl.c (sysv_scalbl): Likewise.
7193 * math/w_sinhl.c (__sinhl): Likewise.
7194 * math/w_sqrtl.c (__sqrtl): Likewise.
7195 * math/w_tgammal.c (__tgammal): Likewise.
7196 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7197 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7198 * math/libm-test.inc (acos_test): Add more tests.
7199 (acosh_test): Likewise.
7200 (asin_test): Likewise.
7201 (atanh_test): Likewise.
7202 (exp_test): Likewise.
7203 (exp10_test): Likewise.
7204 (exp2_test): Likewise.
7205 (expm1_test): Likewise.
7206 (lgamma_test): Likewise.
7207 (log_test): Likewise.
7208 (log10_test): Likewise.
7209 (log1p_test): Likewise.
7210 (log2_test): Likewise.
7211 (pow_test): Do not allow some spurious overflow exceptions.
7212 (sqrt_test): Add more tests.
7213 (tgamma_test): Likewise.
7214 (y0_test): Likewise.
7215 (y1_test): Likewise.
7216 (yn_test): Likewise.
7217
dd62fda6
AB
72182012-03-27 Anton Blanchard <anton@samba.org>
7219
7220 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7221 MAP_HUGETLB.
7222 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7223 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7224 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7225
1e3cdfda
AJ
72262012-03-27 David S. Miller <davem@davemloft.net>
7227
b855ab85
DM
7228 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7229
1e3cdfda
AJ
7230 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7231 have-as-vis3 check.
7232
72332012-03-27 Andreas Jaeger <aj@suse.de>
7234
7235 * sysdeps/x86_64/elf/configure.in: Moved to ...
7236 * sysdeps/x86_64/configure.in: ... here.
7237 * sysdeps/x86_64/elf/start.S: Moved to ...
7238 * sysdeps/x86_64/start.S: ... here.
7239 * sysdeps/x86_64/elf/configure: Delete.
7240
7241 * sysdeps/x86_64/configure.in: Merge contents from
7242 sysdeps/i386/configure.in (without i686 check).
7243
7244 * sysdeps/i386/elf/Versions: Merge into ...
7245 * sysdeps/i386/Versions: ... this.
7246 * sysdeps/i386/elf/Versions: Delete file.
7247 * sysdeps/i386/elf/start.S: Moved to ...
7248 * sysdeps/i386/start.S: ...here.
7249 * sysdeps/i386/elf/configure.in: Merge into...
7250 * sysdeps/i386/configure.in: ...here.
7251 * sysdeps/i386/elf/configure.in: Delete file.
7252 * sysdeps/i386/elf/configure: Delete file.
7253
7254 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7255 * debug/backtracesyms.c: ... here.
7256 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7257 * debug/backtracesymsfd.c: ... here.
7258 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7259 * sysdeps/generic/ifunc-sel.h: ... here.
7260
7261 * sysdeps/unix/i386/start.c: Delete file.
7262 * sysdeps/unix/sparc/start.c: Delete file.
7263 * sysdeps/unix/start.c: Delete file.
7264
7265 * sysdeps/sh/elf/configure.in: Moved to ...
7266 * sysdeps/sh/configure.in: ... here.
7267 * sysdeps/sh/elf/start.S: Moved to ...
7268 * sysdeps/sh/start.S: ... here.
7269 * sysdeps/sh/elf/configure: Delete file.
7270
7271 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7272 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7273 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7274 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7275 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7276 * sysdeps/powerpc/powerpc64/start.S: here.
7277 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7278 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7279 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7280 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7281 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7282
7283 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7284 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7285 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7286 * sysdeps/powerpc/powerpc32/start.S: ... here.
7287 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7288 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7289 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7290
7291 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7292 * sysdeps/powerpc/ifunc-sel.h: ... here.
7293 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7294 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7295
7296 * sysdeps/sparc/elf/configure.in: Moved to ...
7297 * sysdeps/sparc/configure.in: ... here.
7298 * sysdeps/sparc/elf/configure: Delete file.
7299 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7300 * sysdeps/sparc/sparc32/start.S: ... here.
7301 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7302 * sysdeps/sparc/sparc64/start.S: ... here.
7303 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7304 * sysdeps/sparc/sparc32/Makefile: ... this.
7305 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7306 * sysdeps/sparc/sparc64/Makefile: ... this.
7307
7308 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7309 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7310 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7311 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7312 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7313 * sysdeps/s390/s390-32/setjmp.S: ... here.
7314 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7315 * sysdeps/s390/s390-32/configure.in: ... here.
7316 * sysdeps/s390/s390-32/elf/configure: Delete file.
7317 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7318 * sysdeps/s390/s390-32/start.S: ... here.
7319
7320 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7321 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7322 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7323 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7324 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7325 * sysdeps/s390/s390-64/setjmp.S: ... here.
7326 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7327 * sysdeps/s390/s390-64/configure.in: ... here
7328 * sysdeps/s390/s390-64/elf/configure: Delete file.
7329 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7330 * sysdeps/s390/s390-64/start.S: ... here.
7331 * sysdeps/s390/s390-64/elf/configure: Delete.
7332
7333 * configure.in: Remove support for elf directories in sysdeps.
7334
7335 * configure: Regenerated.
7336 * sysdeps/i386/configure: Regenerated.
7337 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7338 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7339 * sysdeps/s390/s390-32/configure: Regenerated.
7340 * sysdeps/s390/s390-64/configure: Regenerated.
7341 * sysdeps/sh/configure: Regenerated.
7342 * sysdeps/sparc/configure: Regenerated.
7343 * sysdeps/x86_64/configure: Regenerated.
7344
a3f61311
AS
73452012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7346
c876e002
AS
7347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7348
a3f61311
AS
7349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7350 denormal result into account.
7351
ac4c54f0
RM
73522012-03-25 Roland McGrath <roland@hack.frob.com>
7353
7354 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7355 Reported by Allan McRae <allan@archlinux.org>.
7356
6a9b9c02
JL
73572012-03-23 Jeff Law <law@redhat.com>
7358
7359 * nss/getnssent.c (__nss_getent): Fix typo.
7360
4c42a0c1
DM
73612012-03-23 David S. Miller <davem@davemloft.net>
7362
7363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7364
1532c7ac
L
73652012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7366
7367 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7368 to pad to uint64_t for each field.
7369 (dl_tls_index): Replace unsigned long with uint64_t.
7370
3ff42526
PP
73712012-03-23 Daniel Jacobowitz <dmj@google.com>
7372 Paul Pluzhnikov <ppluzhnikov@google.com>
7373
7374 [BZ #6528]
7375 * grp/Makefile (otherlibs): Don't set it.
7376 * inet/Makefile (otherlibs): Likewise.
7377 * login/Makefile (otherlibs): Likewise.
7378 * nscd/Makefile (otherlibs): Likewise.
7379 * posix/Makefile (otherlibs): Likewise.
7380 * pwd/Makefile (otherlibs): Likewise.
7381 * rt/Makefile (otherlibs): Likewise.
7382 * sunrpc/Makefile (otherlibs): Likewise.
7383 * nss/Makefile (otherlibs): Likewise.
7384 Add libnss_files to routines and static-only-routines.
7385 ($(objpfx)getent): Remove rule.
7386 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7387 static-only-routines.
7388
7c69cd14
JM
73892012-03-22 Joseph Myers <joseph@codesourcery.com>
7390
7391 [BZ #13892]
7392 * math/s_cexp.c: Include <float.h>.
7393 (__cexp): Handle exp result overflowing not necessarily
7394 overflowing both real and imaginary parts of result.
7395 * math/s_cexpf.c: Likewise.
7396 * math/s_cexpl.c: Likewise.
7397 * math/libm-test.inc (cexp_test): Add more tests.
7398 * sysdeps/i386/fpu/libm-test-ulps: Update.
7399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7400
81b035fe
L
74012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7402
7403 * include/link.h (ELFW): New macro.
7404 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7405 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7406
1da7940c
L
74072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7408
7409 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7410 with uint64_t.
7411
b749dbb9
L
74122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7413
7414 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7415 declaration.
7416 (struct La_x32_retval): Likewise.
7417
2ff87f3f
L
74182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7419
7420 * sysdeps/x86_64/preconfigure.in: New file.
7421 * sysdeps/x86_64/preconfigure: New generated file.
7422
c0df8e69
JM
74232012-03-22 Joseph Myers <joseph@codesourcery.com>
7424
48e44791
JM
7425 [BZ #13824]
7426 * math/e_exp2l.c: Include <float.h>.
7427 (__ieee754_exp2l): Handle overflow and underflow cases
7428 separately. Only pass fractional part of argument to
7429 __ieee754_expl.
7430 * math/libm-test.inc (exp2_test): Add more tests.
7431
c0df8e69
JM
7432 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7433 negating x to take absolute value.
7434 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7435 Likewise.
7436 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7438 Likewise.
7439 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7440 computing low part if x was negated.
7441 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7442
c8e43ba7
L
74432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7444
7445 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7446 la_x32_gnu_pltexit.
7447 (pltexit): Cast int_retval to ptrdiff_t.
7448 * elf/tst-auditmod3b.c: Likewise.
7449 * elf/tst-auditmod4b.c: Likewise.
7450 * elf/tst-auditmod5b.c: Likewise.
7451 * elf/tst-auditmod6b.c: Likewise.
7452 * elf/tst-auditmod6c.c: Likewise.
7453 * elf/tst-auditmod7b.c: Likewise.
7454
7455 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7456 and x32_gnu_pltexit.
7457
7458 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7459 __ELF_NATIVE_CLASS.
7460 (La_x32_regs): New macro.
7461 (La_x32_retval): Likewise.
7462 (la_x32_gnu_pltenter): New function prototype.
7463 (la_x32_gnu_pltexit): Likewise.
7464
7998fa78
AS
74652012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7466
dcb33988
AS
7467 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7468 exponent.
7469
233fc563
AS
7470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7471
7998fa78
AS
7472 * configure.in (libc_cv_cc_nofma): Check for option to disable
7473 generation of FMA instructions.
7474 * configure: Regenerate.
7475 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7476 * sysdeps/ieee754/dbl-64/Makefile: New file.
7477 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7478 Remove brandred-fma4.
7479 (CFLAGS-brandred-fma4.c): Remove.
7480 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7481 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7482 define.
7483 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7484 define.
7485
8e95c99a
L
74862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7487
7488 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7489 LLONG_MAX != LONG_MAX.
7490 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7491 (_fitoa_word): Likewise.
7492 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7493 LLONG_MAX != LONG_MAX.
7494 * stdio-common/_itowa.h: Include <_itoa.h>.
7495 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7496 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7497 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7498 only if not defined.
7499 (_ITOA_WORD_TYPE): Likewise.
7500 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7501 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7502
6f4db457
DM
75032012-03-21 David S. Miller <davem@davemloft.net>
7504
7505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7506
7785fe5a
L
75072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7508
7509 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7510 of x86_64 when setting libc_cv_slibdir, libdir and
7511 libc_cv_localedir.
7512 * sysdeps/unix/sysv/linux/configure: Regenerated.
7513
4535cd55
JM
75142012-03-21 Joseph Myers <joseph@codesourcery.com>
7515
7516 * manual/lang.texi (Old Varargs): Remove section.
7517 (How Variadic): Update menu.
7518 (va_start): Do not mention varargs.h.
7519
17228132
TS
75202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7521 Joseph Myers <joseph@codesourcery.com>
7522
7523 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7524 link test.
7525 * configure: Regenerated.
7526
8149f976
TS
75272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7528
05f3d1f6
UD
7529 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7530 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7531 conformtest.pl
8149f976 7532
1a4ac776
JM
75332012-03-21 Joseph Myers <joseph@codesourcery.com>
7534
be22ce65
JM
7535 * NOTES: Remove.
7536 * Makefile (files-for-dist): Remove NOTES.
7537 (NOTES): Remove rule.
7538 * README: Don't refer to NOTES.
7539 * manual/creature.texi: Don't include macros.texi.
7540 * manual/intro.texi (creature.texi): Remove comment referring to
7541 NOTES.
7542
40b601fb
JM
7543 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7544 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7545 * configure: Regenerated.
7546 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7547 LIBC_TRY_CC_OPTION.
7548 (libc_cv_as_i686): Likewise.
7549 (libc_cv_cc_avx): Likewise.
7550 (libc_cv_cc_sse2avx): Likewise.
7551 (libc_cv_cc_fma4): Likewise.
7552 (libc_cv_cc_novzeroupper): Likewise.
7553 * sysdeps/i386/configure: Regenerated.
7554
1a4ac776
JM
7555 [BZ #13883]
7556 * sysdeps/i386/fpu/s_cexp.S: Remove.
7557 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7558 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7559 * math/libm-test.inc (cexp_test): Add more tests.
7560 * sysdeps/i386/fpu/libm-test-ulps: Update.
7561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7562
a458e7fe
AM
75632012-03-21 Allan McRae <allan@archlinux.org>
7564
7565 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7566
0cb7efc5
JM
75672012-03-21 Joseph Myers <joseph@codesourcery.com>
7568
7569 [BZ #13871]
7570 * math/w_exp2.c: Do not include <float.h>.
7571 (o_threshold, u_threshold): Remove.
7572 (__exp2): Calculate result before checking finiteness and calling
7573 __kernel_standard.
7574 * math/w_exp2f.c: Likewise.
7575 * math/w_exp2l.c: Likewise.
7576 * math/libm-test.inc (exp2_test): Require overflow exception for
7577 1e6 input.
2460d3aa
JM
7578
7579 [BZ #3866]
7580 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7581 range of signed 64-bit integers before using fistpll. Remove
7582 checks for whether integers fit in mantissa bits.
7583 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7584 the range of signed 32-bit integers before using fistpl. Remove
7585 checks for whether integers fit in mantissa bits.
7586 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7587 (__ieee754_powl): Test for y outside the range of signed 64-bit
7588 integers before using fistpll. Reduce 64-bit values to 63-bit
7589 ones as needed.
7590 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7591 divide-by-zero is raised for zero to large negative powers.
7592 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7593 (__ieee754_powl): Test for y outside the range of signed 64-bit
7594 integers before using fistpll. Reduce 64-bit values to 63-bit
7595 ones as needed.
7596 * math/libm-test.inc (pow_test): Add more tests.
7597
eb96ffb0
L
75982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7599
7600 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7601 <stdio-common/_itoa.h>.
7602 * debug/segfault.c: Likewise.
7603 * elf/dl-cache.c: Likewise.
7604 * elf/dl-minimal.c: Likewise.
7605 * elf/dl-misc.c: Likewise.
7606 * elf/dl-sysdep.c: Likewise.
7607 * elf/dl-version.c: Likewise.
7608 * elf/rtld.c: Likewise.
7609 * hurd/hurdsock.c: Likewise.
7610 * hurd/lookup-retry.c: Likewise.
7611 * malloc/malloc.c: Likewise.
7612 * malloc/mtrace.c: Likewise.
7613 * nscd/nscd_getgr_r.c: Likewise.
7614 * nscd/nscd_getpw_r.c: Likewise.
7615 * nscd/nscd_getserv_r.c: Likewise.
7616 * posix/getopt_init.c: Likewise.
7617 * posix/wordexp.c: Likewise.
7618 * stdio-common/_itoa.c: Likewise.
7619 * stdio-common/printf_fphex.c: Likewise.
7620 * stdio-common/vfprintf.c: Likewise.
7621 * string/_strerror.c: Likewise.
7622 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7623 * sysdeps/i386/i686/hp-timing.h: Likewise.
7624 * sysdeps/mach/_strerror.c: Likewise.
7625 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7626 * sysdeps/mach/hurd/sethostid.c: Likewise.
7627 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7628 * sysdeps/mach/xpg-strerror.c: Likewise.
7629 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7630 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7631 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7632 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7633 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7634 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7635 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7636 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7637 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7638 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7639 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7640 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7641 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7642 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7643 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7644 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7645 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7646 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7647 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7648 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7649 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7650
7651 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7652
7653 * stdio-common/_itoa.h: Moved to ...
7654 * sysdeps/generic/_itoa.h: Here.
7655
7656 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7657
7658 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7659 instead of "_itoa.h" and "_itowa.h".
7660 * stdio-common/vfprintf.: Likewise.
7661
d1af992d
L
76622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7663
7664 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7665 <bits/wordsize.h>.
7666 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7667 (__signbit): Likwise.
7668 (llrintf): Likwise.
7669 (llrint): Likwise.
7670
114883e0
L
76712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7672
7673 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7674 __WORDSIZE != 64.
7675
c135cc1b
JM
76762012-03-20 Joseph Myers <joseph@codesourcery.com>
7677
7678 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7679 OVERFLOW_EXCEPTION_OK.
7680 * math/libm-test.inc ("Philosophy"): Update comment about
7681 exception testing.
7682 (OVERFLOW_EXCEPTION): Define.
7683 (OVERFLOW_EXCEPTION_OK): Likewise.
7684 (INVALID_EXCEPTION_OK): Renumber.
7685 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7686 (IGNORE_ZERO_INF_SIGN): Likewise.
7687 (test_exceptions): Handle FE_OVERFLOW.
7688 (exp10_test): Expect overflow exceptions.
7689 (exp2_test): Likewise.
7690 (expm1_test): Likewise.
7691 (nextafter_test): Likewise.
7692 (pow_test): Likewise.
7693 (scalbn_test): Likewise.
7694 (scalbln_test): Likewise.
7695
95443d88
L
76962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7697
7698 * sysdeps/x86_64/bits/atomic.h
7699 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7700 64bit integer.
7701 (atomic_exchange_acq): Likewise.
7702 (__arch_exchange_and_add_body): Likewise.
7703 (__arch_add_body): Likewise.
7704 (atomic_add_negative): Likewise.
7705 (atomic_add_zero): Likewise.
7706
490df6c4
L
77072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7708
c2722551 7709 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7710 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7711
5e52b189
L
77122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7713
7714 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7715 Check __x86_64__ instead of __WORDSIZE.
7716
a9879d4c
L
77172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7718
7719 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7720
5df98260
DM
77212012-03-19 David S. Miller <davem@davemloft.net>
7722
e1497744
DM
7723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7724
5df98260
DM
7725 * sysdeps/sparc/fpu/fenv_private.h: New file.
7726 * sysdeps/sparc/fpu/math_private.h: Use it.
7727 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7728 Remove.
7729 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7730 (libc_feholdexcept_setroundl): Remove.
7731 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7732 Remove.
7733 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7734 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7735
b4c35121
L
77362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7737
7738 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7739 int64_t instead of long int.
7740 (INSERT_WORDS64): Likwise.
7741
56965fd7
L
77422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7743
7744 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7745 _Unwind_GetCFA return to _Unwind_Ptr first.
7746
83d1aec8
JM
77472012-03-19 Joseph Myers <joseph@codesourcery.com>
7748
1897ad44
JM
7749 [BZ #13629]
7750 * math/s_clog.c: Include <float.h>.
7751 (__clog): Scale large or subnormal inputs.
7752 * math/s_clogf.c: Likewise.
7753 * math/s_clogl.c: Likewise.
7754 * math/s_clog10.c: Include <float.h>.
7755 (M_LOG10_2): Define.
7756 (__clog10): Scale large or subnormal inputs.
7757 * math/s_clog10f.c: Likewise.
7758 * math/s_clog10l.c: Likewise.
7759 * math/libm-test.inc (clog_test): Add more tests.
7760 (clog10_test): Likewise.
7761 * sysdeps/i386/fpu/libm-test-ulps: Update.
7762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7763
7726d6a9
JM
7764 [BZ #11451]
7765 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7766 x and y.
7767 * math/libm-test.inc (atan2_test): Add another test.
7768
83d1aec8
JM
7769 * Makerules (common-objdir-compile): Remove.
7770 * sysdeps/unix/Makefile (config-generated): Do not add
7771 $(unix-generated) to variable.
7772 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7773 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7774 Remove rule.
7775 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7776 Likewise.
7777 [generic bits/local_lim.h] (before-compile): Do not append to
7778 variable.
7779 [generic bits/local_lim.h] (common-generated): Likewise.
7780 [generic sys/param.h] (before-compile): Do not append to variable.
7781 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7782 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7783 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7784 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7785 include.
7786 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7787 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7788 [generic sys/param.h] ($(addprefix
7789 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7790 [generic sys/param.h] (common-generated): Do not append to
7791 variable.
7792 [generic sys/param.h] (sysdep_headers): Likewise.
7793 [generic bits/errno.h] (before-compile): Do not append to
7794 variable.
7795 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7796 rule.
7797 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7798 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7799 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7800 [generic bits/errno.h] (common-generated): Do not append to
7801 variable.
7802 [generic bits/ioctls.h] (before-compile): Do not append to
7803 variable.
7804 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7805 rule.
7806 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7807 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7808 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7809 rule.
7810 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7811 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7812 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7813 [generic bits/ioctls.h] (common-generated): Do not append to
7814 variable.
7815 [generic sys/syscall.h] (syscall.h): Remove variable.
7816 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7817 rule.
7818 [generic sys/syscall.h] (before-compile): Do not append to
7819 variable.
7820 [generic sys/syscall.h] (common-generated): Likewise.
7821 * sysdeps/unix/errnos-tmpl.c: Remove file.
7822 * sysdeps/unix/errnos.awk: Likewise.
7823 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7824 * sysdeps/unix/ioctls.awk: Likewise.
7825 * sysdeps/unix/mk-local_lim.c: Likewise.
7826 * sysdeps/unix/snarf-ioctls: Likewise.
7827
4851a949
RH
78282012-03-19 Richard Henderson <rth@twiddle.net>
7829
bd37f2ee
RH
7830 * sysdeps/i386/fpu/fenv_private.h: New file.
7831 * sysdeps/i386/fpu/math_private.h: Use it.
7832 (math_opt_barrier, math_force_eval): Remove.
7833 (libc_feholdexcept_setround_53bit): Remove.
7834 (libc_feupdateenv_53bit): Remove.
7835 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7836 (math_opt_barrier, math_force_eval): Remove.
7837 (libc_feholdexcept): Remove.
7838 (libc_feholdexcept_setround): Remove.
7839 (libc_fetestexcept, libc_fesetenv): Remove.
7840 (libc_feupdateenv_test): Remove.
7841 (libc_feupdateenv, libc_feholdsetround): Remove.
7842 (libc_feresetround): Remove.
7843
d0adc922
RH
7844 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7845 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7846
0fe0f1f8
RH
7847 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7848 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7849 (libc_feupdateenv_testl): New.
7850 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7851 (libc_feupdateenv_testf): New.
7852 (libc_feupdateenv): Use libc_feupdateenv_test.
7853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7854 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7855
eb92c487
RH
7856 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7857 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7858 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7859 (libc_feresetround_noex): New.
7860 (libc_feresetround_noexf): New.
7861 (libc_feresetround_noexl): New.
7862 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7863 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7864 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7865 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7866 SET_RESTORE_ROUND.
7867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7868 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7869 (__cos): Likewise.
7870 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7871 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7872 SET_RESTORE_ROUND_NOEX.
7873 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7874 SET_RESTORE_ROUND_NOEXF.
7875 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7876 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7877 (libc_feholdsetroundf): New.
7878 (libc_feresetround, libc_feresetroundf): New.
7879
7d2e8012
RH
7880 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7881 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7882 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7883
b4dabbb4
RH
7884 * sysdeps/generic/math_private.h: Include <fenv.h>.
7885 (default_libc_feholdexcept): New.
7886 (default_libc_feholdexcept_setround): New.
7887 (default_libc_fesetenv, default_libc_feupdateenv): New.
7888 (libc_feholdexcept): Only define if undefined.
7889 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7890 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7891 (libc_feholdexcept_setroundl): Likewise.
7892 (libc_feholdexcept_setround_53bit): Likewise.
7893 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7894 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7895 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7896 (libc_feupdateenv_53bit): Likewise.
7897 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7898 (libc_feholdexcept): Convert from macro to inline function.
7899 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7900 (libc_fesetenv, libc_feupdateenv): Likewise.
7901
4851a949
RH
7902 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7903 not previously defined.
7904 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7905 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7906 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7907 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7908 * sysdeps/ieee754/flt-32/math_private.h: New file.
7909 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7910 math_private.h below SET_FLOAT_WORD.
7911 (__isnan, __isinf_ns, __finite): Remove.
7912 (__isnanf, __isinf_nsf, __finitef): Remove.
7913
e79d442e
AS
79142012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7915
7916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7917
90b80344
DM
79182012-03-17 David S. Miller <davem@davemloft.net>
7919
7920 [BZ #6471]
7921 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7922 for 2.16.
7923
edc21804
DM
79242012-03-16 David S. Miller <davem@davemloft.net>
7925
77e927af
DM
7926 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7927 warnings.
7928
374976dd
DM
7929 [BZ #6471]
7930 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7931 properly.
7932 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7933 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7934 sysdep_routines when subdir is sysvipc.
7935 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7936 __getshmlba helper.
7937
edc21804
DM
7938 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7939
473c3ef3
L
79402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7941
7942 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7943 [__LP64__].
7944
eb0f39b6
L
79452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7946
7947 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7948 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7949 (__lround): Renamed to ...
7950 (__llround): This. Replace long int with long long int.
7951 Define lround functions as aliases of llround functions.
7952 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7953
6b6cd74b
L
79542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7955
7956 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7957 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7958 adresses to uintptr_t. Replace "long int" and "unsigned long
7959 int" with "greg_t" on va_arg.
7960
f1a77b01
L
79612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7962
7963 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7964 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7965
7966 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7967 Move e_machine check before EI_CLASS check. Handle x32
7968 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7969 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7970 SKIP_EM_IA_64 and include
7971 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7972
7973 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7974 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7975 (add_system_dir): New macro.
7976
7977 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7978 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7979
11b90b9f
JM
79802012-03-16 Joseph Myers <joseph@codesourcery.com>
7981
c36e1d23
JM
7982 [BZ #2551]
7983 [BZ #2552]
7984 [BZ #2553]
7985 [BZ #2554]
7986 [BZ #2562]
7987 [BZ #2563]
7988 [BZ #2565]
7989 [BZ #2566]
7990 [BZ #2576]
7991 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7992 (y0): Likewise.
7993 * math/w_j0f.c (j0f): Likewise.
7994 (y0f): Likewise.
7995 * math/w_j0l.c (__j0l): Likewise.
7996 (__y0l): Likewise.
7997 * math/w_j1.c (j1): Likewise.
7998 (y1): Likewise.
7999 * math/w_j1f.c (j1f): Likewise.
8000 (y1f): Likewise.
8001 * math/w_j1l.c (__j1l): Likewise.
8002 (__y1l): Likewise.
8003 * math/w_jn.c (jn): Likewise.
8004 (yn): Likewise.
8005 * math/w_jnf.c (jnf): Likewise.
8006 (ynf): Likewise.
8007 * math/w_jnl.c (__jnl): Likewise.
8008 (__ynl): Likewise.
8009 * math/libm-test.inc (j0_test): Add more tests.
8010 (j1_test): Likewise.
8011 (jn_test): Likewise. Add trailing semicolon to existing test.
8012 (y0_test): Likewise.
8013 (y1_test): Likewise.
8014 * sysdeps/i386/fpu/libm-test-ulps: Update.
8015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8016
11b90b9f
JM
8017 [BZ #13851]
8018 [BZ #13854]
8019 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8020 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8021 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8022 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8023 (__tanl): Set errno for infinite argument.
8024 * sysdeps/i386/fpu/mptan.c: Remove.
8025 * sysdeps/i386/fpu/s_tan.S: Likewise.
8026 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8027 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8028 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8029 * math/libm-test.inc (tan_test): Add more tests and enable more
8030 tests for double and long double.
8031 * sysdeps/i386/fpu/libm-test-ulps: Update.
8032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8033
6a1bd2a1
JK
80342012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8035
8036 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8037 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8038
10a803e0
RM
80392012-03-16 Roland McGrath <roland@hack.frob.com>
8040
8041 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8042 * configure.in: Use it for both main tree and add-ons.
8043 * configure: Regenerated.
8044
f196c7f7
L
80452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8046
8047 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8048
8848d99d
JM
80492012-03-16 Joseph Myers <joseph@codesourcery.com>
8050
96cbe7f4
JM
8051 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8052 in comment.
8053
8848d99d
JM
8054 [BZ #13851]
8055 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8056 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8057 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8058 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8059 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8060 infinite argument.
8061 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8062 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8063 != 0 for prec == 2.
8064 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8065 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8066 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8067 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8068 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8069 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8070 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8071 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8072 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8073 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8074 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8075 * math/libm-test.inc (cos_test): Add more tests and enable more
8076 tests for long double.
8077 (sin_test): Likewise.
8078 (sincos_test): Likewise.
8079 * sysdeps/i386/fpu/libm-test-ulps: Update.
8080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8081
dd7f4703
DM
80822012-03-16 David S. Miller <davem@davemloft.net>
8083
8084 * sysdeps/sparc/fpu/math_private.h: New file.
8085
006f1daa
DM
80862012-03-15 David S. Miller <davem@davemloft.net>
8087
c0c83bc8
DM
8088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8089 file.
e6a62e18 8090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8092 file.
e6a62e18
DM
8093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8099 sysdep routines.
8100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8101
88cb87d9
DM
8102 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8103 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8104
006f1daa 8105 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8107 sparc-ifunc.h
006f1daa 8108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8110 Likewise.
8111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8112 Likewise.
006f1daa
DM
8113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8117 Likewise.
006f1daa
DM
8118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8123 Likewise.
8124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8125 Likewise.
006f1daa
DM
8126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8132 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8133 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8134 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8135 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8144 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8145 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8150
11e0098e
AS
81512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8152
8153 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8154 scaling.
8155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8156
e85b09d0
AJ
81572012-03-15 Andreas Jaeger <aj@suse.de>
8158
8159 [BZ #13852]
8160 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8161 ieee754/flt-32 implementation for sin, cos and sincos.
8162 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8163 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8164 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8165 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8166 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8167 ieee754/flt-32 implementation for tan.
8168
8169 * math/libm-test.inc (cos_test): Enable some large input tests for
8170 float as well
8171 (sin_test): Likewise.
8172 (sincos_test): Likewise.
8173 (tan_test): Add tests for large input.
8174
8175 * sysdeps/i386/fpu/libm-test-ulps: Update.
8176
81c64153
AJ
81772012-03-15 Andreas Jaeger <aj@suse.de>
8178
8179 [BZ #13658]
8180 * math/libm-test.inc (cos_test): Add more test cases.
8181 (sin_test): Likewise.
8182 (sincos_test): Likewise.
8183
7bbfa5c6
AJ
81842012-03-15 Andreas Jaeger <aj@suse.de>
8185
8186 [BZ #13837]
8187 * math/libm-test.inc (cos_test): Add a test case for large input
8188 value.
8189 (sin_test): Likewise.
8190 (sincos_test): Likewise.
8191
81922012-03-15 Andreas Jaeger <aj@suse.de>,
8193 Joseph Myers <joseph@codesourcery.com>
8194
8195 [BZ #13658]
0671f479 8196 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8197 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8198 * sysdeps/i386/fpu/branred.c: Likewise.
8199 * sysdeps/i386/fpu/dosincos.c: Likewise.
8200 * sysdeps/i386/fpu/mpa.c: Likewise.
8201 * sysdeps/i386/fpu/s_cos.S: Likewise.
8202 * sysdeps/i386/fpu/s_sin.S: Likewise.
8203 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8204 * sysdeps/i386/fpu/sincos32.c: Likewise.
8205
8206 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8207 Define.
8208 (libc_feupdateenv_53bit): Define.
8209 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8210 Define.
8211 (libc_feupdateenv_53bit): Define.
8212
8213 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8214 53 bit (without extend i386 double precision).
8215
8216 * math/libm-test.inc (sincos_test): Add tests for large input.
8217 (sin): Likewise.
8218 (cos): Likewise.
8219
8220 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8221
9cad04ea
AS
82222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8223
8224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8225
f7062b9a
DM
82262012-03-15 David S. Miller <davem@davemloft.net>
8227
8228 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8229 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8230 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8231 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8244 file.
f7062b9a 8245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8247 file.
f7062b9a 8248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8250 file.
f7062b9a 8251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8253 file.
f7062b9a
DM
8254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8256 fmin/fmax sysdep routines.
8257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8258
7bd951ff
DM
82592012-03-14 David S. Miller <davem@davemloft.net>
8260
559398ab
DM
8261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8265 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8266 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8267 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8268 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8281 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8282 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8283 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8284 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8285 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8286 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8290 routines.
8291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8292 file.
559398ab 8293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8295 file.
559398ab 8296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8298 file.
559398ab 8299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8301 file.
559398ab 8302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8304 file.
559398ab 8305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8307 file.
8308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8309 file.
8310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8311 file.
8312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8313 file.
8314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8315 New file.
8316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8317 file.
8318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8319 file.
559398ab 8320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8322 file.
559398ab 8323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8325 file.
559398ab 8326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8328 file.
559398ab 8329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8331 VIS3 routines.
559398ab
DM
8332
8333 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8334 New file.
8335
5a1c1e32
DM
8336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8337
eae47a36
DM
8338 * sysdeps/sparc/configure.in: New file.
8339 * sysdeps/sparc/configure: Generate.
8340 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8341 * configure: Regenerate.
8342 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8343 * config.make.in (have-as-vis3): New.
8344 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8345 available use -Av9d instead of -Av9a.
8346 * sysdeps/sparc/sparc64/Makefile: Likewise.
8347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8349 New file.
8350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8351 file.
8352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8353 New file.
8354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8355 file.
eae47a36
DM
8356 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8357 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8359 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8360 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8361
c0c83bc8
DM
8362 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8363 fzeros/fnegs to load 0x80000000 into a float register instead of
8364 using the stack.
7bd951ff
DM
8365 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8366
bd951ccb
JM
83672012-03-14 Joseph Myers <joseph@codesourcery.com>
8368
8369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8370 bits/syscall.h.
8371 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8372 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8373 ($(inst_includedir)/bits/syscall.h): Remove rule.
8374 ($(objpfx)bits/syscall.d): Include instead of
8375 $(objpfx)syscall-list.d.
8376 (generated): Change syscall-list.h and syscall-list.d to
8377 bits/syscall.h and bits/syscall.d.
8378
bb4e6db2
RM
83792012-03-14 Roland McGrath <roland@hack.frob.com>
8380
8381 [BZ #13846]
8382 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8383
aa4a2ae1
JM
83842012-03-14 Joseph Myers <joseph@codesourcery.com>
8385
e456826d
JM
8386 [BZ #13841]
8387 * math/s_csqrt.c: Include <float.h>.
8388 (__csqrt): Scale large or subnormal inputs.
8389 * math/s_csqrtf.c: Likewise.
8390 * math/s_csqrtl.c: Likewise.
8391 * math/libm-test.inc (csqrt_test): Add more tests.
8392 * sysdeps/i386/fpu/libm-test-ulps: Update.
8393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8394
aa4a2ae1
JM
8395 [BZ #13840]
8396 * math/libm-test.inc (hypot_test): Add more tests.
8397
7c10fd35
DM
83982012-03-13 David S. Miller <davem@davemloft.net>
8399
8400 [BZ #13840]
8401 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8402 double-precision for the calculation instead of scaling.
8403
f453b98b
JM
84042012-03-13 Joseph Myers <joseph@codesourcery.com>
8405
8406 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8407 manipulate bits before adding and subtracting TWO52[sx].
8408 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8409 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8410 Likewise.
8411 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8412
09a3453f
DM
84132012-03-13 David S. Miller <davem@davemloft.net>
8414
8e59da90
DM
8415 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8416 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8418 rtld-global-offsets.h
8419 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8420
2a8ab7f2
DM
8421 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8422 large parameters.
8423
10f62770
DM
8424 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8425
5f0bdb18
DM
8426 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8427 'err' in the ifdef scope in which it is actually used.
8428
09a3453f
DM
8429 * nss/nss_db/db-init.c: Include string.h
8430
b4b2eb5e
DM
84312012-03-12 David S. Miller <davem@davemloft.net>
8432
98bb2f1c
DM
8433 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8434 masking out of the most significant byte of random value used.
8435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8436 Fix coding style in previous change.
8437
b4b2eb5e
DM
8438 * sysdeps/unix/sysv/linux/kernel-features.h
8439 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8440 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8441 expression.
8442 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8443 later.
8444
6e226b09
DM
84452012-03-11 David S. Miller <davem@davemloft.net>
8446
a1bcbd40
DM
8447 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8448 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8449 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8450 for 'resultvar' otherwise things get truncated on 64-bit.
8451
cb9d6174
DM
8452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8453 Fix masking out of the most significant byte of random value used.
8454
6e226b09
DM
8455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8456
058c132d
AS
84572012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8458
8459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8460
2d2cd515
DM
84612012-03-09 David S. Miller <davem@davemloft.net>
8462
8463 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8464 variables with appropriate CPP guards.
8465 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8466 frame pointer, not the stack pointer. Correct layout comments. Fix test
8467 on resulting framesize and the management of the outregs buffer for pltexit.
8468 Preserve floating point return values across _dl_call_pltexit call.
8469 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8470 framesize and the management of the outregs buffer for pltexit.
8471 Preserve floating point return values across _dl_call_pltexit
8472 call.
8473 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8474 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8475 (print_exit): Fix format string for return register value.
8476
9a07f9d0
JM
84772012-03-10 Joseph Myers <joseph@codesourcery.com>
8478
8479 * sunrpc/Makefile (others): Add rpcgen.
8480 ($(objpfx)rpcgen): Remove special build rule and dependency on
8481 libc.
8482 * sunrpc/rpcgen.c: New file.
8483
547b5e30
PE
84842012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8485
c524201a
PE
8486 [BZ #13673]
8487 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8488 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8489 * sysdeps/i386/crti.S: Likewise.
8490 * sysdeps/i386/crtn.S: Likewise.
8491 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8492 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8493 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8494 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8495 * sysdeps/sh/crti.S: Likewise.
8496 * sysdeps/sh/crtn.S: Likewise.
8497 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8498
7b6235f2
PE
8499 [BZ #13673]
8500 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8501 with URL.
8502 * locale/programs/locfile-kw.gperf: Likewise.
8503 * locale/programs/charmap-kw.h: Regenerated.
8504 * locale/programs/locfile-kw.h: Likewise.
8505
547b5e30
PE
8506 [BZ #13673]
8507 * intl/plural.y: Replace FSF snail mail address with URL.
8508 * intl/plural.c: Regenerated.
8509
5f0a5dae
RH
85102012-03-09 Richard Henderson <rth@twiddle.net>
8511
8512 * include/math_private.h: Remove file.
8513 * math/math_private.h: Move file ...
8514 * sysdeps/generic/math_private.h: ... here.
8515
b8c03620
RH
8516 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8517 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8518 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8519
4e234f5d 8520 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8521 and <math_private.h>.
8522 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8523 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8524 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8525 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8526 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8561 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8563 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8564 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8567 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8571 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8574 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8575 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8583 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8585 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8586 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8587 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8610 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8611 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8612 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8613 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8614 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8615 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8616 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8617 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8618 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8619 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8620 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8621 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8622 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8623 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8624 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8625 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8627 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8628 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8629 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8630 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8632 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8633 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8634 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8635 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8637 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8638 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8639 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8642 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8644 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8646 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8647 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8649 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8650 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8651 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8652 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8653 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8654 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8655 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8656 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8657 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8658 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8659 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8660 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8661 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8662 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8663 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8664 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8665 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8666 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8667 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8668 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8669 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8670 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8671 * sysdeps/ieee754/k_standard.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8787 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8791 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8792 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8794 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8804 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8820 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8821 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8822 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8832 * sysdeps/ieee754/s_lib_version.c: Likewise.
8833 * sysdeps/ieee754/s_matherr.c: Likewise.
8834 * sysdeps/ieee754/s_signgam.c: Likewise.
8835 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8836 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8837 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8838 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8839 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8840 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8841 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8842 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8843 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8844 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8845 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8846 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8847 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8848 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8849 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8850 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8851 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8852 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8853 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8856
1991fa03
JM
88572012-03-09 Joseph Myers <joseph@codesourcery.com>
8858
8859 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8860 * sunrpc/rpc_main.c: Likewise.
8861 * sunrpc/rpc_svcout.c: Likewise.
8862
60d6f5a6
DM
88632012-03-09 David S. Miller <davem@davemloft.net>
8864
8865 * include/math_private.h: New file.
8866
4962050e
JM
88672012-03-09 Joseph Myers <joseph@codesourcery.com>
8868
02a6f887
JM
8869 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8870 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8871 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8872 from <bits/socket_type.h>.
8873 (enum __socket_type): Don't define here.
8874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8876 bits/socket_type.h.
8877
c6e013c1
JM
8878 [BZ #13566]
8879 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8880 checking __USE_GNU.
8881
4962050e
JM
8882 * Makerules ($(inst_includedir)/%.h): New rule.
8883 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8884 (install-others): Remove variable setting.
8885 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8886
38842f45
RH
88872012-03-08 Richard Henderson <rth@twiddle.net>
8888
67bb6da6
RH
8889 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8890 from macro to inline function; merge with the
8891 !__LIBC_INTERNAL_MATH_INLINES version.
8892 (__ieee754_sqrtf): Likewise.
8893
15194b4b
RH
8894 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8895 to inline function.
8896 (__rintf, __floor, __floorf): Likewise.
8897
64e21ede
RH
8898 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8899 macro to inline function.
8900 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8901
38842f45
RH
8902 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8903 not <math/math_private.h>.
8904
c64bf5fe
DM
89052012-03-08 David S. Miller <davem@davemloft.net>
8906
8907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8908 copyright year.
8909 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8910
82d86f28
TS
89112012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8912
8913 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8914 normalization.
8915 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8916 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8917
aea5d727
UD
89182012-03-08 Ulrich Drepper <drepper@gmail.com>
8919
8920 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8921 be defined individually, they must be defined as a block. Define
8922 S for printing a string instead of hidint the different by using a
8923 macro for adding the 'l'.
8924 * stdio-common/tst-fphex-wide.c: Adjust.
8925
70bca0a3
MP
89262012-03-07 Marek Polacek <polacek@redhat.com>
8927
8928 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8929
65b81130
MP
89302012-03-08 Marek Polacek <polacek@redhat.com>
8931
8932 [BZ #13806]
8933 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8934 * stdio-common/tst-fphex.c: Define a few macros to make the
8935 test reusable. Use them.
8936 * stdio-common/tst-fphex-wide.c: New file.
8937
07037eeb
JM
89382012-03-08 Joseph Myers <joseph@codesourcery.com>
8939
a7a93d50
JM
8940 [BZ #6911]
8941 * manual/macros.texi (gnusystems): New macro.
8942 (nongnusystems): Likewise.
8943 (gnulinuxhurdsystems): Likewise.
8944 (gnuhurdsystems): Likewise..
8945 (gnulinuxsystems): Likewise.
8946 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8947 variants of the GNU system, not "GNU system".
8948 * manual/conf.texi: Likewise.
8949 * manual/errno.texi: Likewise. Update example of errno macro
8950 expansion.
8951 * manual/filesys.texi: Likewise.
8952 (getumask): Document as specific to GNU/Hurd.
8953 * manual/install.texi: Likewise. Reword some references to
8954 GNU/Linux.
8955 * manual/intro.texi: Likewise.
8956 * manual/io.texi: Likewise.
8957 (File Name Portability): Detail which constraints are inapplicable
8958 to all GNU systems and which are only inapplicable to GNU/Hurd.
8959 * manual/job.texi: Likewise.
8960 * manual/llio.texi: Likewise.
8961 (O_NOCTTY): Document as present on GNU/Linux.
8962 * manual/maint.texi: Likewise.
8963 * manual/memory.texi: Likewise.
8964 * manual/pattern.texi: Likewise.
8965 * manual/pipe.texi: Likewise.
8966 * manual/process.texi: Likewise.
8967 * manual/resource.texi: Likewise.
8968 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8969 child on GNU/Hurd.
8970 * manual/setjmp.texi: Likewise.
8971 * manual/signal.texi: Likewise.
8972 * manual/startup.texi: Likewise.
8973 * manual/stdio.texi: Likewise.
8974 * manual/terminal.texi: Likewise.
8975 (ONLCR): Document as POSIX.
8976 (OXTABS): Document availability on GNU/Linux as XTABS.
8977 (ONOEOT): Document availability separately from other bits.
8978 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8979 * manual/time.texi: Likewise.
8980 * manual/users.texi: Likewise.
8981 * INSTALL: Regenerated.
8982 * sysdeps/gnu/errlist.c: Regenerated.
8983
07037eeb
JM
8984 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8985 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8986 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8987 puts.
8988 * configure: Regenerated.
8989
d1d3431a
JM
89902012-03-07 Joseph Myers <joseph@codesourcery.com>
8991
af6a1e37
JM
8992 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8993 default includes instead of AC_HEADER_CHECK.
8994 * sysdeps/i386/configure: Regenerated.
8995
d1d3431a
JM
8996 [BZ #10716]
8997 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8998 * math/s_cacoshf.c (__cacoshf): Likewise.
8999 * math/s_cacoshl.c (__cacoshl): Likewise.
9000 * math/s_casinh.c (__casinh): Set signs of result from argument.
9001 * math/s_casinhf.c (__casinhf): Likewise.
9002 * math/s_casinhl.c (__casinhl): Likewise.
9003 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9004 (casinh_test): Add more tests.
9005 * sysdeps/i386/fpu/libm-test-ulps: Update.
9006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9007
482ff4da
UD
90082012-03-07 Ulrich Drepper <drepper@gmail.com>
9009
872fda05
UD
9010 * po/zh_TW.po: Update from translation team.
9011
a4300c7a
UD
9012 * login/Makefile (distribute): Remove variable.
9013 * catgets/Makefile: Likewise.
9014 * mach/Makefile: Likewise.
9015 * malloc/Makefile: Likewise.
9016 * misc/Makefile: Likewise.
9017 * iconv/Makefile: Likewise.
9018 * nscd/Makefile: Likewise.
9019 * hurd/Makefile: Likewise.
9020 * manual/Makefile: Likewise.
9021 * locale/Makefile: Likewise.
9022 * intl/Makefile: Likewise.
9023 * conform/Makefile: Likewise.
9024 * nss/Makefile: Likewise.
9025 * time/Makefile: Likewise.
9026 * soft-fp/Makefile: Likewise.
9027 * dirent/Makefile: Likewise.
9028 * gmon/Makefile: Likewise.
9029 * po/Makefile: Likewise.
9030 * rt/Makefile: Likewise.
9031 * socket/Makefile: Likewise.
9032 * math/Makefile: Likewise.
9033 * signal/Makefile: Likewise.
9034 * debug/Makefile: Likewise.
9035 * elf/Makefile: Likewise.
9036 * timezone/Makefile: Likewise.
9037 * stdlib/Makefile: Likewise.
9038 * iconvdata/Makefile: Likewise.
9039 * sunrpc/Makefile: Likewise.
9040 * io/Makefile: Likewise.
9041 * argp/Makefile: Likewise.
9042 * inet/Makefile: Likewise.
9043 * hesiod/Makefile: Likewise.
9044 * grp/Makefile: Likewise.
9045 * csu/Makefile: Likewise.
9046 * wctype/Makefile: Likewise.
9047 * crypt/Makefile: Likewise.
9048 * libio/Makefile: Likewise.
9049 * string/Makefile: Likewise.
9050 * nis/Makefile: Likewise.
9051 * resolv/Makefile: Likewise.
9052 * stdio-common/Makefile: Likewise.
9053 * wcsmbs/Makefile: Likewise.
9054 * dlfcn/Makefile: Likewise.
9055 * posix/Makefile: Likewise.
9056
3b7c4e74 9057 [BZ #6959]
482ff4da
UD
9058 * timezone/Makefile: Don't install timezone files, just the programs
9059 and scripts.
9060
f72ed77d
UD
90612012-03-06 Ulrich Drepper <drepper@gmail.com>
9062
a000466f
UD
9063 * nss/databases.def: Add missing gshadow entry.
9064
f72ed77d
UD
9065 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9066
a53b7a4e
MP
90672012-03-06 Marek Polacek <polacek@redhat.com>
9068
9069 [BZ #13726]
9070 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9071 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9072 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9073 * stdio-common/tst-long-dbl-fphex.c: New file.
9074
e9258400
DM
90752012-03-06 David S. Miller <davem@davemloft.net>
9076
9077 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9078 (set_obp_int): New function.
9079 (get_obp_int): New function.
9080 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9082 Avoid unused variable warnings on 'val' and use builtin_expect.
9083 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9084 __builtin_expect.
e9258400
DM
9085 (INLINE_CLONE_SYSCALL): Likewise.
9086
3bd2c723
DM
90872012-03-05 David S. Miller <davem@davemloft.net>
9088
9089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9090
bbb78d03
AS
90912012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9092
884c5db4
AS
9093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9094
bbb78d03
AS
9095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9096 only for |x| >= 40.
9097 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9098
1c9f702a 90992012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9100
9101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9102 Replace gettimeofday with __vdso_gettimeofday.
9103
7be16f82
RM
9104 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9105 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9106 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9107
9108 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9109 time with __vdso_time.
9110
ed58a00f
JM
91112012-03-05 Joseph Myers <joseph@codesourcery.com>
9112
9113 * manual/lang.texi (size_t): Note types to which size_t may be
9114 equivalent with the GNU C Library, but do not describe when
9115 differences between them are significant.
9116
30ee4ced
AJ
91172012-03-05 Andreas Jaeger <aj@suse.de>
9118
9119 * sysdeps/i386/fpu/libm-test-ulps: Update.
9120
b7cd39e8
JM
91212012-03-05 Joseph Myers <joseph@codesourcery.com>
9122
9123 [BZ #3976]
9124 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9125 (__ieee754_pow): Save and restore rounding mode and use
9126 round-to-nearest for main computations.
9127 * math/libm-test.inc (pow_test_tonearest): New function.
9128 (pow_test_towardzero): Likewise.
9129 (pow_test_downward): Likewise.
9130 (pow_test_upward): Likewise.
9131 (main): Call the new functions.
9132 * sysdeps/i386/fpu/libm-test-ulps: Update.
9133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9134
9135 [BZ #3976]
9136 * math/libm-test.inc (cosh_test_tonearest): New function.
9137 (cosh_test_towardzero): Likewise.
9138 (cosh_test_downward): Likewise.
9139 (cosh_test_upward): Likewise.
9140 (sinh_test_tonearest): Likewise.
9141 (sinh_test_towardzero): Likewise.
9142 (sinh_test_downward): Likewise.
9143 (sinh_test_upward): Likewise.
9144 (main): Call the new functions.
9145 * sysdeps/i386/fpu/libm-test-ulps: Update.
9146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9147
6c6a98c9
TV
91482012-03-05 Tom de Vries <tom@codesourcery.com>
9149
9150 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9151 default stack guard is set in last bytes.
9152 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9153
21bb2d2e 91542012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9155
21bb2d2e 9156 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9157
21bb2d2e
AJ
9158 [BZ #13656]
9159 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9160 possibly allocate from heap instead of stack.
9161 * stdio-common/bug-vfprintf-nargs.c: New file.
9162 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9163
c6922934
AS
91642012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9165
9166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9167
bc957d53
MP
91682012-03-03 Marek Polacek <polacek@redhat.com>
9169
9170 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9171 * math/math_private.h: Likewise.
9172 * stdlib/tst-strtod.c: Likewise.
9173 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9174 * sysdeps/x86_64/bits/atomic.h: Likewise.
9175
6358490d
DM
91762012-03-02 David S. Miller <davem@davemloft.net>
9177
9178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9182 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9183 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9184 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9185 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9186
01ae168d
RM
91872012-03-02 Roland McGrath <roland@hack.frob.com>
9188
d9a17c07
RM
9189 [BZ #13792]
9190 * manual/examples/README: New file, says the example source files
9191 can be used under GPL>=2.
9192 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9193 line containing just "*/".
9194 * manual/examples/add.c: Add copyright header (GPL>=2).
9195 * manual/examples/argp-ex1.c: Likewise.
9196 * manual/examples/argp-ex2.c: Likewise.
9197 * manual/examples/argp-ex3.c: Likewise.
9198 * manual/examples/argp-ex4.c: Likewise.
9199 * manual/examples/atexit.c: Likewise.
9200 * manual/examples/db.c: Likewise.
9201 * manual/examples/dir.c: Likewise.
9202 * manual/examples/dir2.c: Likewise.
9203 * manual/examples/execinfo.c: Likewise.
9204 * manual/examples/filecli.c: Likewise.
9205 * manual/examples/filesrv.c: Likewise.
9206 * manual/examples/fmtmsgexpl.c: Likewise.
9207 * manual/examples/genpass.c: Likewise.
9208 * manual/examples/inetcli.c: Likewise.
9209 * manual/examples/inetsrv.c: Likewise.
9210 * manual/examples/isockad.c: Likewise.
9211 * manual/examples/longopt.c: Likewise.
9212 * manual/examples/memopen.c: Likewise.
9213 * manual/examples/memstrm.c: Likewise.
9214 * manual/examples/mkfsock.c: Likewise.
9215 * manual/examples/mkisock.c: Likewise.
9216 * manual/examples/mygetpass.c: Likewise.
9217 * manual/examples/pipe.c: Likewise.
9218 * manual/examples/popen.c: Likewise.
9219 * manual/examples/rprintf.c: Likewise.
9220 * manual/examples/search.c: Likewise.
9221 * manual/examples/select.c: Likewise.
9222 * manual/examples/setjmp.c: Likewise.
9223 * manual/examples/sigh1.c: Likewise.
9224 * manual/examples/sigusr.c: Likewise.
9225 * manual/examples/stpcpy.c: Likewise.
9226 * manual/examples/strdupa.c: Likewise.
9227 * manual/examples/strftim.c: Likewise.
9228 * manual/examples/strncat.c: Likewise.
9229 * manual/examples/subopt.c: Likewise.
9230 * manual/examples/swapcontext.c: Likewise.
9231 * manual/examples/termios.c: Likewise.
9232 * manual/examples/testopt.c: Likewise.
9233 * manual/examples/testpass.c: Likewise.
9234 * manual/examples/timeval_subtract.c: Likewise.
9235
01ae168d
RM
9236 [BZ #13792]
9237 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9238 function to ...
9239 * manual/timeval_subtract.c.texi: ... here, new file.
9240
49efa33d
DM
92412012-03-02 David S. Miller <davem@davemloft.net>
9242
9243 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9244
28afd92d
JM
92452012-03-02 Joseph Myers <joseph@codesourcery.com>
9246
804360ed
JM
9247 [BZ #3976]
9248 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9249 (__sin): Save and restore rounding mode and use round-to-nearest
9250 for all computations.
9251 (__cos): Save and restore rounding mode and use round-to-nearest
9252 for all computations.
9253 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9254 <fenv.h>.
9255 (tan): Save and restore rounding mode and use round-to-nearest for
9256 all computations.
9257 * math/libm-test.inc (cos_test_tonearest): New function.
9258 (cos_test_towardzero): Likewise.
9259 (cos_test_downward): Likewise.
9260 (cos_test_upward): Likewise.
9261 (sin_test_tonearest): Likewise.
9262 (sin_test_towardzero): Likewise.
9263 (sin_test_downward): Likewise.
9264 (sin_test_upward): Likewise.
9265 (tan_test_tonearest): Likewise.
9266 (tan_test_towardzero): Likewise.
9267 (tan_test_downward): Likewise.
9268 (tan_test_upward): Likewise.
9269 (main): Call the new functions.
9270 * sysdeps/i386/fpu/libm-test-ulps: Update.
9271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9272
a6d06d7b
JM
9273 [BZ #10135]
9274 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9275 small n, then large n, before computing and testing k+n.
9276 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9278 Likewise.
9279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9280 Likewise.
9281 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9282 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9283 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9284 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9287 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9288 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9289 * math/libm-test.inc (scalbn_test): Add more tests.
9290 (scalbln_test): Likewise.
9291
07e12bb3
JM
9292 * manual/filesys.texi (mode_t): Describe constraints on size and
9293 signedness, not exact equivalence to a particular type.
9294 (ino_t): Likewise.
9295 (ino64_t): Likewise.
9296 (dev_t): Likewise.
9297 (nlink_t): Likewise.
9298 (blkcnt_t): Likewise.
9299 (blkcnt64_t): Likewise.
9300 * manual/llio.texi (off_t): Likewise.
9301
28afd92d
JM
9302 [BZ #3976]
9303 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9304 (__ieee754_exp): Save and restore rounding mode and use
9305 round-to-nearest for all computations.
9306 * math/libm-test.inc (exp_test_tonearest): New function.
9307 (exp_test_towardzero): Likewise.
9308 (exp_test_downward): Likewise.
9309 (exp_test_upward): Likewise.
9310 (main): Call the new functions.
9311 * sysdeps/i386/fpu/libm-test-ulps: Update.
9312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9313
b1eeb65d
CD
93142012-03-01 Chris Demetriou <cgd@google.com>
9315
9316 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9317 have predictable order.
9318
53362a4b
DM
93192012-03-01 David S. Miller <davem@davemloft.net>
9320
3c969083
DM
9321 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9322
759707de
DM
9323 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9324 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9325 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9326 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9327
dfdb8ff2
DM
9328 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9329 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9330 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9332 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9333 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9334 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9335 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9336 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9337
ead89f96
DM
9338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9339
7f66bd07
DM
9340 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9341 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9342 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9343
53362a4b
DM
9344 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9345 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9346 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9347 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9348 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9349 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9350 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9351 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9352 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9353 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9354 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9358 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9360 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9361 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9362 * sysdeps/sparc/elf/configure: Regenerated.
9363
7b1902cb
JM
93642012-03-01 Joseph Myers <joseph@codesourcery.com>
9365
bec039bc
JM
9366 * configure.in (AS, LD): Require binutils 2.20 or later.
9367 * configure: Regenerated.
9368 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9369 as required minimum version.
9370 * INSTALL: Regenerated.
9371
7b1902cb
JM
9372 [BZ #2541]
9373 [BZ #4108]
9374 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9375 before squaring exponent.
9376 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9377 bottom long double and 27 bits of top long double before squaring
9378 exponent.
9379 * math/libm-test.inc (erfc_test): Add more tests.
9380 * sysdeps/i386/fpu/libm-test-ulps: Update.
9381 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9383
f775c276
KT
93842012-03-01 Kai Tietz <ktietz@redhat.com>
9385
9386 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9387 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9388 containing bit-fields.
9389 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9390 * soft-fp/single.h (_FP_UNION_S): Likewise.
9391 * soft-fp/double.h (_FP_UNION_D): Likewise.
9392
5b8a4d4a
JM
93932012-02-29 Joseph Myers <joseph@codesourcery.com>
9394
0bab47b6
JM
9395 [BZ #13786]
9396 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9397 not include ../strcmp.S.
9398 [USE_AS_STRNCASECMP_L]: Likewise.
9399 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9400 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9401 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9402 (__strncasecmp_l_ia32): Define as alias to
9403 __strncasecmp_l_nonascii.
9404
0fcad3e2
JM
9405 [BZ #5794]
9406 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9407 * sysdeps/i386/fpu/libm-test-ulps: Update.
9408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9409
5b8a4d4a
JM
9410 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9412
8fdceb2e
JL
94132012-02-29 Jeff Law <law@redhat.com>
9414
9415 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9416 out of bounds read.
9417
1f393a11
MP
94182012-02-29 Marek Polacek <polacek@redhat.com>
9419
9420 [BZ #13706]
9421 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9422 * elf/Makefile: Add rules to run tst-unused-dep.out.
9423
8847f037
DM
94242012-02-28 David S. Miller <davem@davemloft.net>
9425
9426 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9427 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9428 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9429 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9430 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9431 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9432
169d7f11
JM
94332012-02-29 Joseph Myers <joseph@codesourcery.com>
9434
9435 * math/libm-test.inc (llround_test): Move one test from
9436 lround_test. Use TEST_f_L in moved test.
9437 (lround_test): Move misplaced test to llround_test. Add testcase
9438 from bug 2561.
9439
39adf059
UD
94402012-02-28 Ulrich Drepper <drepper@gmail.com>
9441
9442 * sysdeps/x86_64/fpu/e_expf.S: New file.
9443 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9444
71b5d1c5
SB
94452012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9446
9447 [BZ #13637]
9448 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9449 of remain_len that may cause incomplete multi-byte character and
9450 false match.
9451 * posix/bug-regex33.c: New file.
9452 * posix/Makefile (tests): Add bug-regex33.
9453
1f77f049
JM
94542012-02-28 Joseph Myers <joseph@codesourcery.com>
9455
9456 * manual/macros.texi: New file.
9457 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9458 * manual/libc.texinfo: Include macros.texi.
9459 * manual/creatute.texi: Likewise.
9460 * manual/install.texi: Likewise.
9461 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9462 @glibcadj{} in references to the GNU C Library.
9463 * manual/charset.texi: Likewise.
9464 * manual/conf.texi: Likewise.
9465 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9466 when not using those macros.
9467 * manual/creature.texi: Likewise.
9468 * manual/crypt.texi: Likewise.
9469 * manual/errno.texi: Likewise.
9470 * manual/filesys.texi: Likewise.
9471 * manual/header.texi: Likewise.
9472 * manual/install.texi: Likewise.
9473 * manual/intro.texi: Likewise.
9474 * manual/io.texi: Likewise.
9475 * manual/job.texi: Likewise.
9476 * manual/lang.texi: Likewise.
9477 * manual/libc.texiinfo: Likewise.
9478 * manual/llio.texi: Likewise.
9479 * manual/locale.texi: Likewise.
9480 * manual/maint.texi: Likewise.
9481 * manual/math.texi: Likewise.
9482 * manual/memory.texi: Likewise.
9483 * manual/message.texi: Likewise.
9484 * manual/nss.texi: Likewise.
9485 * manual/pattern.texi: Likewise.
9486 * manual/process.texi: Likewise.
9487 * manual/resource.texi: Likewise.
9488 * manual/search.texi: Likewise.
9489 * manual/setjmp.texi: Likewise.
9490 * manual/signal.texi: Likewise.
9491 * manual/socket.texi: Likewise.
9492 * manual/startup.texi: Likewise.
9493 * manual/stdio.texi: Likewise.
9494 * manual/string.texi: Likewise.
9495 * manual/sysinfo.texi: Likewise.
9496 * manual/syslog.texi: Likewise.
9497 * manual/terminal.texi: Likewise.
9498 * manual/time.texi: Likewise.
9499 * manual/users.texi: Likewise.
9500 * INSTALL: Regenerated.
9501 * NOTES: Regenerated.
d40c5d54 9502 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9503
450bf206
AS
95042012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9505
9506 * include/dirent.h: Include <dirstream.h> before
9507 <dirent/dirent.h>.
9508
741a235b
DM
95092012-02-28 David S. Miller <davem@davemloft.net>
9510
9511 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9512 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9513 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9514 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9515
d6b5aa58
DM
95162012-02-27 David S. Miller <davem@davemloft.net>
9517
1aff59a3
DM
9518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9520 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9521 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9522
d6b5aa58
DM
9523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9524 frame pointer instead of stack pointer relative arg slot.
9525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9526 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9527 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9528
433f48bf
CD
95292012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9530
9531 [BZ #3992]
9532 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9533
d674b76d
DM
95342012-02-27 David S. Miller <davem@davemloft.net>
9535
9536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9540 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9541 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9542 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9543 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9544
0e7727f7
JM
95452012-02-27 Joseph Myers <joseph@codesourcery.com>
9546
9547 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9548 later. Allow versions 5-9.
43be4ca2 9549 * configure: Regenerated.
0e7727f7
JM
9550 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9551 required minimum version and 4.6 as recommended version. Do not
9552 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9553 * INSTALL: Regenerated.
0e7727f7 9554
a78bc654
DM
95552012-02-27 David S. Miller <davem@davemloft.net>
9556
428d5830
DM
9557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9561 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9562 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9563 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9564 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9565
a78bc654
DM
9566 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9567 manipulate bits before adding and subtracting TWO112[sx].
9568 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9569
4579f81c
RM
95702012-02-27 Roland McGrath <roland@hack.frob.com>
9571
36c8acb4
RM
9572 [BZ #13775]
9573 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9574 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9575 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9576 being in POSIX, because they are in 1003.1-2008.
9577
84ad622b
RM
9578 * rt/tst-aio.c: Include <fcntl.h>.
9579 * rt/tst-aio7.c: Likewise.
9580 * rt/tst-aio64.c: Likewise.
9581
4579f81c
RM
9582 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9583
abd923db
JM
95842012-02-27 Joseph Myers <joseph@codesourcery.com>
9585
9586 * manual/install.texi (--with-headers): Describe headers as
9587 interface headers, not private headers.
9588 (Specific advice for GNU/Linux systems): Describe use of headers
9589 from "make headers_install", not private headers from older
9590 kernels.
43be4ca2 9591 * INSTALL: Regenerated.
abd923db
JM
9592 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9593 Change to 2.6.19.
9594 * sysdeps/unix/sysv/linux/configure: Regenerated.
9595
6664049b
JM
9596 * manual/llio.texi (fclean): Remove documentation.
9597
bb8b6697
JM
9598 * manual/Makefile (libc-texi-generated): New variable. Include
9599 version.texi.
9600 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9601 $(libc-texi-generated), not duplicated list of files.
9602 (version.texi, stamp-version): New rules.
9603 (realclean): Remove $(libc-texi-generated), not individual files
9604 from that list. Do not remove dir-add.texinfo.
9605 * manual/libc.texinfo: Comment out uses of edition numbers and
9606 references to printed manual. Remove last-updated dates.
9607 (EDITION): Comment out.
9608 (ISBN): Likewise.
9609 (VERSION, UPDATED): Remove.
9610 (version.texi): Include.
9611
12e5c3b9
AS
96122012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9613
9614 * sysdeps/posix/spawni.c: Include <signal.h>.
9615 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9616 * sysdeps/pthread/aio_fsync.c: Likewise.
9617
4efeffc1 96182012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9619
ba63ba08
UD
9620 * conform/Makefile (tests): Run only when not cross-compiling and
9621 when fast-check is not defined.
9622
d94a4670
UD
9623 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9624 * conform/data/limits.h-data: Fixes for POSIX2008.
9625 * conform/run-conformtest.sh: Run all tests.
9626 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9627 headers.
9628 * include/bits/dlfcn.h: Likewise.
9629 * include/langinfo.h: Likewise.
9630 * include/monetary.h: Likewise.
9631 * include/sys/poll.h: Likewise.
9632
9633 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9634 for __USE_GNU.
9635 * posix/spawn.h: Define __need_sigset_t.
9636 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9637 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9638 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9639 to get sigevent_t only.
9640 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9641 only for __USE_GNU.
9642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9643 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9644 process_vm_writev only for __USE_GNU.
9645 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9646
9647 * conform/Makefile: For now ignore errors from run-conformtest.
9648 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9649 POSIX to avoid namespace pollution. Don't prepend headers.
9650 * conform/data/aio.h-data: Fixes for POSIX testing.
9651 * conform/data/fcntl.h-data: Likewise.
9652 * conform/data/glob.h-data: Likewise.
9653 * conform/data/grp.h-data: Likewise.
9654 * conform/data/pthread.h-data: Likewise.
9655 * conform/data/pwd.h-data: Likewise.
9656 * conform/data/signal.h-data: Likewise.
9657 * conform/data/spawn.h-data: Likewise.
9658 * conform/data/stdio.h-data: Likewise.
9659 * conform/data/stdlib.h-data: Likewise.
9660 * conform/data/stropts.h-data: Likewise.
9661 * conform/data/sys/mman.h-data: Likewise.
9662 * conform/data/sys/stat.h-data: Likewise.
9663 * conform/data/sys/types.h-data: Likewise.
9664 * conform/data/sys/wait.h-data: Likewise.
9665 * conform/data/time.h-data: Likewise.
9666 * conform/data/unistd.h-data: Likewise.
9667 * conform/data/utime.h-data: Likewise.
9668
9669 * io/sys/stat.h: fchmod was always in POSIX.
9670 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9671 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9672 * rt/aio.h: Define __need_timespec before including <time.h>.
9673 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9674 struct. Add forward declaration of pthread_attr_t and use it in
9675 sigevent.
9676 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9677 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9678 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9679 always remove CLK_TCK definition.
9680
c20105c3
AS
96812012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9682
9683 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9684
7a270350
UD
96852012-02-25 Ulrich Drepper <drepper@gmail.com>
9686
31341567
UD
9687 * conform/run-conformtest.sh: New file.
9688 * conform/Makefile: Run run-conformtest for tests.
9689 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9690 support.
9691
9692 * conform/data/uchar.h-data: New file.
9693 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9694 * conform/data/arpa/inet.h-data: Likewise.
9695 * conform/data/assert.h-data: Likewise.
9696 * conform/data/complex.h-data: Likewise.
9697 * conform/data/cpio.h-data: Likewise.
9698 * conform/data/ctype.h-data: Likewise.
9699 * conform/data/dirent.h-data: Likewise.
9700 * conform/data/dlfcn.h-data: Likewise.
9701 * conform/data/errno.h-data: Likewise.
9702 * conform/data/fcntl.h-data: Likewise.
9703 * conform/data/float.h-data: Likewise.
9704 * conform/data/fmtmsg.h-data: Likewise.
9705 * conform/data/fnmatch.h-data: Likewise.
9706 * conform/data/ftw.h-data: Likewise.
9707 * conform/data/glob.h-data: Likewise.
9708 * conform/data/grp.h-data: Likewise.
9709 * conform/data/iconv.h-data: Likewise.
9710 * conform/data/inttypes.h-data: Likewise.
9711 * conform/data/langinfo.h-data: Likewise.
9712 * conform/data/libgen.h-data: Likewise.
9713 * conform/data/limits.h-data: Likewise.
9714 * conform/data/locale.h-data: Likewise.
9715 * conform/data/math.h-data: Likewise.
9716 * conform/data/monetary.h-data: Likewise.
9717 * conform/data/mqueue.h-data: Likewise.
9718 * conform/data/ndbm.h-data: Likewise.
9719 * conform/data/net/if.h-data: Likewise.
9720 * conform/data/netdb.h-data: Likewise.
9721 * conform/data/netinet/in.h-data: Likewise.
9722 * conform/data/nl_types.h-data: Likewise.
9723 * conform/data/poll.h-data: Likewise.
9724 * conform/data/pthread.h-data: Likewise.
9725 * conform/data/pwd.h-data: Likewise.
9726 * conform/data/regex.h-data: Likewise.
9727 * conform/data/sched.h-data: Likewise.
9728 * conform/data/search.h-data: Likewise.
9729 * conform/data/semaphore.h-data: Likewise.
9730 * conform/data/setjmp.h-data: Likewise.
9731 * conform/data/signal.h-data: Likewise.
9732 * conform/data/spawn.h-data: Likewise.
9733 * conform/data/stdarg.h-data: Likewise.
9734 * conform/data/stdio.h-data: Likewise.
9735 * conform/data/stdlib.h-data: Likewise.
9736 * conform/data/string.h-data: Likewise.
9737 * conform/data/strings.h-data: Likewise.
9738 * conform/data/stropts.h-data: Likewise.
9739 * conform/data/sys/ipc.h-data: Likewise.
9740 * conform/data/sys/mman.h-data: Likewise.
9741 * conform/data/sys/msg.h-data: Likewise.
9742 * conform/data/sys/resource.h-data: Likewise.
9743 * conform/data/sys/select.h-data: Likewise.
9744 * conform/data/sys/sem.h-data: Likewise.
9745 * conform/data/sys/shm.h-data: Likewise.
9746 * conform/data/sys/socket.h-data: Likewise.
9747 * conform/data/sys/stat.h-data: Likewise.
9748 * conform/data/sys/statvfs.h-data: Likewise.
9749 * conform/data/sys/time.h-data: Likewise.
9750 * conform/data/sys/timeb.h-data: Likewise.
9751 * conform/data/sys/times.h-data: Likewise.
9752 * conform/data/sys/types.h-data: Likewise.
9753 * conform/data/sys/uio.h-data: Likewise.
9754 * conform/data/sys/un.h-data: Likewise.
9755 * conform/data/sys/utsname.h-data: Likewise.
9756 * conform/data/sys/wait.h-data: Likewise.
9757 * conform/data/syslog.h-data: Likewise.
9758 * conform/data/tar.h-data: Likewise.
9759 * conform/data/termios.h-data: Likewise.
9760 * conform/data/utime.h-data: Likewise.
9761 * conform/data/utmpx.h-data: Likewise.
9762 * conform/data/varargs.h-data: Likewise.
9763 * conform/data/wchar.h-data: Likewise.
9764 * conform/data/wctype.h-data: Likewise.
9765 * conform/data/wordexp.h-data: Likewise.
9766
9767 * include/stropts.h: New file.
9768 * include/uchar.h: New file.
9769 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9770 * include/assert.h: Likewise.
9771 * include/ctype.h: Likewise.
9772 * include/dirent.h: Likewise.
9773 * include/dlfcn.h: Likewise.
9774 * include/fcntl.h: Likewise.
9775 * include/fnmatch.h: Likewise.
9776 * include/glob.h: Likewise.
9777 * include/grp.h: Likewise.
9778 * include/libio.h: Likewise.
9779 * include/locale.h: Likewise.
9780 * include/math.h: Likewise.
9781 * include/net/if.h: Likewise.
9782 * include/netdb.h: Likewise.
9783 * include/netinet/in.h: Likewise.
9784 * include/pthread.h: Likewise.
9785 * include/pwd.h: Likewise.
9786 * include/regex.h: Likewise.
9787 * include/sched.h: Likewise.
9788 * include/search.h: Likewise.
9789 * include/setjmp.h: Likewise.
9790 * include/signal.h: Likewise.
9791 * include/stdio.h: Likewise.
9792 * include/stdlib.h: Likewise.
9793 * include/string.h: Likewise.
9794 * include/sys/cdefs.h: Likewise.
9795 * include/sys/mman.h: Likewise.
9796 * include/sys/msg.h: Likewise.
9797 * include/sys/resource.h: Likewise.
9798 * include/sys/select.h: Likewise.
9799 * include/sys/socket.h: Likewise.
9800 * include/sys/stat.h: Likewise.
9801 * include/sys/statvfs.h: Likewise.
9802 * include/sys/time.h: Likewise.
9803 * include/sys/times.h: Likewise.
9804 * include/sys/uio.h: Likewise.
9805 * include/sys/utsname.h: Likewise.
9806 * include/sys/wait.h: Likewise.
9807 * include/termios.h: Likewise.
9808 * include/time.h: Likewise.
9809 * include/ulimit.h: Likewise.
9810 * include/unistd.h: Likewise.
9811 * include/utime.h: Likewise.
9812 * include/wchar.h: Likewise.
9813 * include/wctype.h: Likewise.
9814 * include/wordexp.h: Likewise.
9815
9816 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9817
7a270350
UD
9818 * time/time.h: TIME_UTC must be a macro.
9819 Make timespec_get available for ISO C11 only as well.
9820
7724defc
UD
98212012-02-24 Ulrich Drepper <drepper@gmail.com>
9822
9823 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9824 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9825
6b1d1d46
JM
98262012-02-24 Joseph Myers <joseph@codesourcery.com>
9827
9828 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9829
0f8bbd69
JM
98302012-02-24 Joseph Myers <joseph@codesourcery.com>
9831
9832 * manual/texinfo.tex: Update to version 2012-01-19.16.
9833
66ab80bc
JM
98342012-02-24 Joseph Myers <joseph@codesourcery.com>
9835
9836 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9837
74981cc5
RM
98382012-02-24 Roland McGrath <roland@hack.frob.com>
9839
ee968201
RM
9840 [BZ #13738]
9841 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9842 * manual/fdl-1.3.texi: New file.
9843 * manual/fdl-1.1.texi: File removed.
9844
74981cc5
RM
9845 [BZ #13738]
9846 * manual/libc.texinfo (FDL_VERSION): New @set.
9847 Use it for mention of FDL in cover text.
9848 (Documentation License): Use it in @include file name.
9849
7bb764bc
JM
98502012-02-22 Joseph Myers <joseph@codesourcery.com>
9851 Roland McGrath <roland@hack.frob.com>
9852
9853 [BZ #5461]
9854 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9855 not LONG_LONG_MAX and LONG_LONG_MIN.
9856 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9857 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9858 name.
9859 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9860
6cbeae47
JM
98612012-02-22 Joseph Myers <joseph@codesourcery.com>
9862
9863 [BZ #2547]
9864 [BZ #11365]
9865 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9866 manipulate bits before adding and subtracting TWO23[sx].
9867 * math/libm-test.inc (nearbyint_test): Add more tests.
9868
fe45ce09
JM
98692012-02-22 Joseph Myers <joseph@codesourcery.com>
9870
9871 [BZ #2548]
9872 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9873 bits before adding and subtracting TWO23[sx].
9874 * math/libm-test.inc (rint_test): Add more tests.
9875 (rint_test_tonearest): Likewise.
9876 (rint_test_towardzero): Likewise.
9877 (rint_test_downward): Likewise.
9878 (rint_test_upward: Likewise.
9879
ff3b3d82
JM
98802012-02-22 Joseph Myers <joseph@codesourcery.com>
9881
9882 [BZ #10110]
9883 * include/stdc-predef.h: New file. Extracted from features.h.
9884 * include/features.h: Include stdc-predef.h.
9885 * Makefile (headers): Add stdc-predef.h.
9886 * CONFORMANCE (Compiler limitations): Update.
9887
ef0aab35
JM
98882012-02-22 Joseph Myers <joseph@codesourcery.com>
9889
9890 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9891
58639409
DM
98922012-02-21 David S. Miller <davem@davemloft.net>
9893
9894 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9895 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9896
c0e70b25
DM
98972012-02-20 David S. Miller <davem@davemloft.net>
9898
9899 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9900 using a normal save/restore sequence, rather than allocating a
9901 dummy stack frame just to store a frame pointer and restore.
9902 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9903
fb06851d
JM
99042012-02-21 Joseph Myers <joseph@codesourcery.com>
9905
9906 * manual/install.texi: Fix stray word in line-wrapped comment.
9907
7a8b71c3
DM
99082012-02-20 David S. Miller <davem@davemloft.net>
9909
d510c123
DM
9910 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9911 both binutils and gcc support GOTDATA.
9912
0722d7c2
DM
9913 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9914 "rd %pc" in the PIC register setup sequences.
9915
3d2b3019
DM
9916 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9917 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9918 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9919 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9920 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9923 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9924 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9925 (SYSCALL_ERROR_HANDLER): Likewise.
9926 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9927 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9928 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9929 (SYSCALL_ERROR_HANDLER): Likewise.
9930
c80098a9
DM
9931 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9932 (HAVE_GCC_GOTDATA): New.
9933 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9934 relocation support in both binutils and gcc.
9935 * sysdeps/sparc/elf/configure: Regenerate.
9936
3a2545a0
DM
9937 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9938 * sysdeps/sparc/sparc32/elf/configure: Delete.
9939 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9940 * sysdeps/sparc/sparc64/elf/configure: Delete.
9941 * sysdeps/sparc/elf/configure.in: New file.
9942 * sysdeps/sparc/elf/configure: Generate.
9943
7a8b71c3
DM
9944 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9945 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9946 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9947 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9948 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9949
f1e86fca
JM
99502012-02-21 Joseph Myers <joseph@codesourcery.com>
9951
9952 * manual/install.texi: Do not mention specific glibc version
9953 numbers.
9954 * manual/libc.texinfo (VERSION, UPDATED): Update.
9955 (@copying): Use @copyright{} and range of years.
9956
0e7dfaef
JM
99572012-02-21 Joseph Myers <joseph@codesourcery.com>
9958
9959 [BZ #13695]
9960 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9961 [crti.S not in sysdirs] (generated): Do not append.
9962 [crti.S not in sysdirs] (omit-deps): Likewise.
9963 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9964 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9965 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9966 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9967 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9968 Likewise.
9969 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9970 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9971 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9972 * csu/defs.awk: Remove file.
9973 * sysdeps/generic/initfini.c: Likewise.
9974 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9975 variable.
9976 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9977 Likewise.
9978
599af3ca
JM
99792012-02-20 Joseph Myers <joseph@codesourcery.com>
9980
9981 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9982 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9983 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9984 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9985 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9986 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9987 <bits/epoll.h>.
9988 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9989 (__EPOLL_PACKED): Define to empty if not defined by
9990 <bits/epoll.h>.
9991 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9993 bits/epoll.h.
9994
0e499750
JM
99952012-02-20 Joseph Myers <joseph@codesourcery.com>
9996
9997 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9998 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9999 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10000 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10001 <bits/timerfd.h>.
10002 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10004 bits/timerfd.h.
10005
5ad91f6e
JM
100062012-02-20 Joseph Myers <joseph@codesourcery.com>
10007
10008 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10009 in C locale.
10010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10011 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10012 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10014
06b99b02
AJ
100152012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10016
10017 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10018 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10019
7638c0fd
AS
100202012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10021
10022 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10023 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10024 defined.
10025 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10026 Likewise.
10027 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10028 entry for 2.16.
10029
92221550
AJ
100302012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10031
10032 * math/w_acos.c: Use non-signaling floating-point comparisons.
10033 * math/w_acosf.c: Likewise.
10034 * math/w_acosh.c: Likewise.
10035 * math/w_acoshf.c: Likewise.
10036 * math/w_acoshl.c: Likewise.
10037 * math/w_acosl.c: Likewise.
10038 * math/w_asin.c: Likewise.
10039 * math/w_asinf.c: Likewise.
10040 * math/w_asinl.c: Likewise.
10041 * math/w_atanh.c: Likewise.
10042 * math/w_atanhf.c: Likewise.
10043 * math/w_atanhl.c: Likewise.
10044 * math/w_exp2.c: Likewise.
10045 * math/w_exp2f.c: Likewise.
10046 * math/w_exp2l.c: Likewise.
10047 * math/w_j0.c: Likewise.
10048 * math/w_j0f.c: Likewise.
10049 * math/w_j0l.c: Likewise.
10050 * math/w_j1.c: Likewise.
10051 * math/w_j1f.c: Likewise.
10052 * math/w_j1l.c: Likewise.
10053 * math/w_jn.c: Likewise.
10054 * math/w_jnf.c: Likewise.
10055 * math/w_log.c: Likewise.
10056 * math/w_log10.c: Likewise.
10057 * math/w_log10f.c: Likewise.
10058 * math/w_log10l.c: Likewise.
10059 * math/w_log2.c: Likewise.
10060 * math/w_log2f.c: Likewise.
10061 * math/w_log2l.c: Likewise.
10062 * math/w_logf.c: Likewise.
10063 * math/w_logl.c: Likewise.
10064 * math/w_sqrt.c: Likewise.
10065 * math/w_sqrtf.c: Likewise.
10066 * math/w_sqrtl.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10069 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10070 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10071 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10072
ebaf36eb
JM
100732012-02-19 Joseph Myers <joseph@codesourcery.com>
10074
10075 [BZ #9739]
10076 * manual/string.texi (strnlen): Use correct parameter name in
10077 equivalent expression.
10078
71c254a6
JM
100792012-02-19 Joseph Myers <joseph@codesourcery.com>
10080
10081 [BZ #11174]
10082 * manual/users.texi (seteuid): Consistently use neweuid for
10083 argument name.
10084
16d2c631
JM
100852012-02-19 Joseph Myers <joseph@codesourcery.com>
10086
10087 [BZ #13704]
10088 * manual/nss.texi (Services in the NSS configuration): Correct
10089 list of services in example configuration file.
10090
cd837b09
NB
100912012-02-19 Nick Bowler <nbowler@draconx.ca>
10092
10093 [BZ #11322]
10094 * manual/arith.texi: Remove statements about negative zero
10095 behaving identically to zero.
10096
02c4bbad
JM
100972012-02-18 Joseph Myers <joseph@codesourcery.com>
10098
10099 [BZ #5993]
10100 * manual/install.texi: Do not document upgrading from libc5.
10101
366842e7
JM
101022012-02-18 Joseph Myers <joseph@codesourcery.com>
10103
10104 [BZ #4596]
10105 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10106
dd54084d
DM
101072012-02-18 David S. Miller <davem@davemloft.net>
10108
10109 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10110 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10111 %o7 across the call.
10112 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10113 instead.
10114 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10115 SETUP_PIC_REG_LEAF.
10116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10117 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10118 * sysdeps/sparc/crtn.S: Likewise.
10119
2bcc53a3
UD
101202012-02-17 Ulrich Drepper <drepper@gmail.com>
10121
10122 * aout/Makefile: Remove.
10123
09c093b5
RK
101242012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10125
10126 [BZ #13058]
10127 * manual/examples/argp-ex1.c (main): Format definition in GNU
10128 style.
10129 * manual/examples/argp-ex2.c (main): Likewise.
10130 * manual/examples/argp-ex3.c (main): Likewise.
10131 * manual/examples/argp-ex4.c (main): Likewise.
10132 * manual/examples/longopt.c (main): Use new-style prototype
10133 definition.
10134 * manual/examples/strncat.c (main): Specify return type and use
10135 (void) for arguments.
10136 * manual/examples/subopt.c (main): Use char **argv argument.
10137
2ee633a2
JM
101382012-02-17 Joseph Myers <joseph@codesourcery.com>
10139
10140 [BZ #5077]
10141 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10142 rounding modes.
10143
0520adde
FB
101442012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10145
10146 [BZ #6907]
10147 * manual/string.texi (strchr): Change when strchrnul is
10148 recommended.
10149
3f4081cd
DGM
101502012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10151
10152 [BZ #174]
10153 * manual/locale.texi (setlocale): Document LOCPATH.
10154
d1b10e78
JM
101552012-02-17 Joseph Myers <joseph@codesourcery.com>
10156
10157 [BZ #10210]
10158 * manual/process.texi (execle): Move @dots{} before last argument.
10159
79c6869c
PB
101602012-02-17 Paul Bolle <pebolle@tiscali.nl>
10161
10162 [BZ #12047]
10163 * manual/charset.texi (Generic Charset Conversion): Fix typo
10164 (LC_TYPE -> LC_CTYPE).
10165
cc6e48bc
NB
101662012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10167
10168 [BZ #5805]
10169 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10170 (scalbnf): Likewise.
10171 (scalbnl): Likewise.
10172 (scalbln): Likewise.
10173 (scalblnf): Likewise.
10174 (scalblnl): Likewise.
10175 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10176 (vwarnx): Likewise.
10177 (verr): Likewise.
10178 (verrx): Likewise.
10179 * manual/filesys.texi (telldir): Use braces around return type.
10180 * manual/llio.texi (mmap): Add space after comma.
10181 (mmap64): Likewise.
10182 * manual/math.texi (jn): Use @var{} on parameter names.
10183 (jnf): Likewise.
10184 (jnl): Likewise.
10185 (yn): Likewise.
10186 (ynf): Likewise.
10187 (ynl): Likewise.
10188 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10189 line.
10190 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10191 "...".
10192 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10193 (sched_get_priority_max): Likewise.
10194 * manual/signal.texi (sigvec): Add space after comma.
10195 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10196 names.
10197 (if_indextoname): Likewise.
10198 (if_freenameindex): Likewise.
10199 (sendto): Use ',' instead of '.' in prototype.
10200 * manual/startup.texi (syscall): Use @dots{} instead of literal
10201 "...".
10202 * manual/stdio.texi (__fpending): Separate initial words of
10203 paragraph from @deftypefun line.
10204 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10205 "...".
10206 (vsyslog): Use @var{} on parameter names.
10207 * manual/terminal.texi (stty): Use @var{} on parameter names.
10208 * manual/users.texi (getutmp): Use @var{} on parameter names.
10209 (getutmpx): Likewise.
10210
5b23062f
JM
102112012-02-17 Joseph Myers <joseph@codesourcery.com>
10212
10213 [BZ #6884]
10214 * manual/stdio.texi (fopen): Fix typos in description of
10215 ",ccs=STRING".
10216
8dee4833
AJ
102172012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10218
10219 [BZ #4026]
10220 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10221 get clock_id definition.
10222
9078ce93
TS
102232012-02-17 Thomas Schwinge <thomas@schwinge.name>
10224
10225 [BZ #4822]
10226 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10227 (madvise): Cast every argument to void on its own.
10228
3835c55f
JM
102292012-02-17 Joseph Myers <joseph@codesourcery.com>
10230
10231 [BZ #9902]
10232 * manual/startup.texi (Exit Status): Fix typo.
10233
35c47e37
JM
102342012-02-17 Joseph Myers <joseph@codesourcery.com>
10235
10236 [BZ #10140]
10237 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10238 * manual/examples/argp-ex2.c: Likewise.
10239 * manual/examples/argp-ex3.c: Likewise.
10240
e3b69ca7
RH
102412012-02-16 Richard Henderson <rth@redhat.com>
10242
10243 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10244 * sysdeps/s390/s390-32/initfini.c: Remove.
10245 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10246 * sysdeps/s390/s390-64/initfini.c: Remove.
10247
df83af67
KK
102482012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10249
10250 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10251 compiler output for sysdeps/generic/initfini.c.
10252 * sysdeps/sh/elf/initfini.c: Remove file.
10253
f63f3380
DM
102542012-02-16 David S. Miller <davem@davemloft.net>
10255
fb59b3a4
DM
10256 [BZ #11494]
10257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10258
f63f3380
DM
10259 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10260 * sysdeps/sparc/crti.S: New file.
10261 * sysdeps/sparc/crtn.S: New file.
10262 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10263 * sysdeps/sparc/sparc64/Makefile: Likewise.
10264
df6a4a4a
MF
102652012-02-15 Mike Frysinger <vapier@gentoo.org>
10266
6dd8f3dc 10267 [BZ #3335]
df6a4a4a
MF
10268 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10269
1cac7236
RM
102702012-02-15 Roland McGrath <roland@hack.frob.com>
10271
d2c736f8
RM
10272 [BZ #4822]
10273 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10274
1cac7236
RM
10275 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10276 (write, read, close): Likewise.
10277 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10278
8e475601
JM
102792012-02-15 Joseph Myers <joseph@codesourcery.com>
10280
10281 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10282 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10283 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10284 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10285 <bits/signalfd.h>.
10286 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10288 bits/signalfd.h.
10289
ed656b40
MP
102902012-02-14 Marek Polacek <polacek@redhat.com>
10291
10292 * sysdeps/x86_64/crti.S: New file.
10293 * sysdeps/x86_64/crtn.S: New file.
10294 * sysdeps/x86_64/elf/initfini.c: Remove file.
10295
2a979d3a
JM
102962012-02-13 Joseph Myers <joseph@codesourcery.com>
10297
10298 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10299 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10300 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10301 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10302 <bits/inotify.h>.
10303 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10305 bits/inotify.h.
10306
2a418ac3
JM
103072012-02-13 Joseph Myers <joseph@codesourcery.com>
10308
10309 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10310 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10311 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10312 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10313 <bits/eventfd.h>.
10314 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10316 bits/eventfd.h.
10317
fb779be7
TS
103182012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10319
e19e83c5
RM
10320 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10321 __feraiseexcept instead of feraiseexcept.
7c35ffed 10322
fb779be7
TS
10323 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10324 nanosleep invocations.
10325 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10326 strings, and add error checking for a nanosleep invocations.
10327
59ba27a6
PE
103282012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10329
10330 Replace FSF snail mail address with URLs, as per GNU coding standards.
10331 Most of the snail mail addresses were wrong anyway, and omitting
10332 them makes the source code easier to maintain. Almost all of the
10333 changes are to license notices and to locale LC_IDENTIFICATION
10334 addresses, except for this one:
10335 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10336 not its snail mail address.
10337
57b957eb
RH
103382012-02-09 Richard Henderson <rth@twiddle.net>
10339
af850b1c
RH
10340 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10341 of kernel-features.h.
10342
57b957eb
RH
10343 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10344
6b73181a
MP
103452012-02-08 Marek Polacek <polacek@redhat.com>
10346
10347 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10348 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10349 * sysdeps/gnu/_G_config.h: Likewise.
10350 * sysdeps/generic/_G_config.h: Likewise.
10351
26ecc33a
AS
103522012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10353
6c6dbc63
AS
10354 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10355 tests.
10356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10357
e216c012
AS
10358 * sysdeps/powerpc/powerpc32/crti.S: New file.
10359 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10360 * sysdeps/powerpc/powerpc64/crti.S: New file.
10361 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10362
26ecc33a
AS
10363 * Makeconfig (have-initfini): Don't set.
10364 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10365 * configure.in (nopic_initfini): Don't substitute.
10366 * config.h.in (HAVE_INITFINI): Don't #undef.
10367 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10368 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10369
3add8e13
JM
103702012-02-08 Joseph Myers <joseph@codesourcery.com>
10371
10372 Support crti.S and crtn.S provided directly by architectures.
10373 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10374 [crti.S in sysdirs] (omit-deps): Likewise.
10375 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10376 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10377 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10378 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10379 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10380 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10381 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10382 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10383 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10384 compiler output for sysdeps/generic/initfini.c.
10385 * sysdeps/i386/elf/Makefile: Remove file.
10386 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10387
a22f12b4
MP
103882012-02-07 Marek Polacek <polacek@redhat.com>
10389
10390 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10391 * sysdeps/gnu/_G_config.h: Likewise.
10392 * sysdeps/mach/hurd/_G_config.h: Likewise.
10393
148cf100
MP
103942012-02-07 Marek Polacek <polacek@redhat.com>
10395
10396 * math/Makefile (tests): Add tst-CMPLX2.
10397 * math/tst-CMPLX2.c: New file.
10398
cfdc0dd7
AS
103992012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10400
84ba42c4
AS
10401 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10402
cfdc0dd7
AS
10403 * math/libm-test.inc (jn_test): Add missing L suffix.
10404
622c86f4
MP
104052012-02-06 Marek Polacek <polacek@redhat.com>
10406
10407 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10408 * sysdeps/i386/fpu/e_powf.S: Likewise.
10409 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10410 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10411 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10412 * sysdeps/i386/fpu/e_pow.S: Likewise.
10413 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10414 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10415 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10416 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10417 * sysdeps/i386/fpu/e_log2.S: Likewise.
10418 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10419 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10420 * sysdeps/i386/fpu/e_powl.S: Likewise.
10421 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10422 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10423 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10424 * sysdeps/i386/fpu/e_logl.S: Likewise.
10425 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10426 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10427 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10428 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10429 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10430 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10431 * sysdeps/i386/fpu/e_log.S: Likewise.
10432 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10433 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10434 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10435 * sysdeps/i386/fpu/e_logf.S: Likewise.
10436 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10437 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10438 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10439 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10440 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10441 * sysdeps/i386/fpu/e_log10.S: Likewise.
10442 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10443 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10444 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10445 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10446 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10447 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10448 * sysdeps/i386/asm-syntax.h: Likewise.
10449 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10450 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10451 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10452 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10453 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10454 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10455 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10456 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10457 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10458 * sysdeps/powerpc/sysdep.h: Likewise.
10459 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10460 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10461
d4a54ac6
JM
104622012-02-06 Joseph Myers <joseph@codesourcery.com>
10463
10464 [BZ #411]
10465 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10466
314054ea
JM
104672012-02-06 Joseph Myers <joseph@codesourcery.com>
10468
10469 * sysdeps/i386/sysdep.h: Include <features.h>.
10470 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10471 version.
10472
d8e0ca50
JM
104732012-02-05 Joseph Myers <joseph@codesourcery.com>
10474
10475 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10476 Define.
10477 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10478 LOAD_PIC_REG_STR.
10479
b1da7dd9
JM
104802012-02-03 Joseph Myers <joseph@codesourcery.com>
10481
10482 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10483 (SETUP_PIC_REG): Use GET_PC_THUNK.
10484 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10485 macro.
10486
9a1d9254
JM
104872012-02-03 Joseph Myers <joseph@codesourcery.com>
10488
10489 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10490 for non-PIC compilation.
10491 (SETUP_PIC_REG): Add .p2align directive.
10492 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10493 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10494 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10495 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10496 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10497 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10498 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10499 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10500 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10501 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10502 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10503 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10504 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10505 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10506 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10507 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10508 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10509 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10510 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10511 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10512 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10513 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10514 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10515 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10516 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10518 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10519 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10520 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10521 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10522 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10523 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10524 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10525 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10526 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10527 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10528 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10529 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10530 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10531 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10532 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10533
65dc3b75
JM
105342012-02-03 Joseph Myers <joseph@codesourcery.com>
10535
10536 * math/tst-CMPLX.c: Include <stdio.h>.
10537
d55bf177
JM
105382012-01-31 Joseph Myers <joseph@codesourcery.com>
10539
10540 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10541 float.
10542 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10543 * sysdeps/sparc/bits/mathdef.h: Likewise.
10544
69db4f8f
MP
105452012-01-31 Marek Polacek <polacek@redhat.com>
10546
10547 * libio/libio.h: Don't define _PARAMS.
10548 * locale/programs/config.h: Don't define PARAMS.
10549 * stdlib/strtol_l.c: Likewise.
10550 (__strtol_l): Remove PARAMS from the prototype.
10551
41b81892
UD
105522012-01-31 Ulrich Drepper <drepper@gmail.com>
10553
3b49edc0
UD
10554 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10555 names. Just use the correct names. Remove unnecessary wrapper
10556 functions.
10557 * malloc/arena.c: Likewise.
10558 * malloc/hooks.c: Likewise.
10559
41b81892
UD
10560 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10561 ARENA_TEST says not to. Simplify test for creation of a new arena.
10562 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10563
27a25b6e
UD
105642012-01-30 Ulrich Drepper <drepper@gmail.com>
10565
10566 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10567 into tail calls.
10568 (update_get_addr): New function.
10569 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10570 GET_ADDR_MODULE parameter.
10571
c8a89e7d
JM
105722012-01-30 Joseph Myers <joseph@codesourcery.com>
10573
10574 * crypt/cert.c: Remove __STDC__ conditionals.
10575 * crypt/crypt-entry.c: Likewise.
10576 * crypt/crypt_util.c: Likewise.
10577 * libio/filedoalloc.c: Likewise.
10578 * libio/fileops.c: Likewise.
10579 * libio/genops.c: Likewise.
10580 * libio/iofclose.c: Likewise.
10581 * libio/iofdopen.c: Likewise.
10582 * libio/iofopen.c: Likewise.
10583 * libio/iofopen64.c: Likewise.
10584 * libio/iogetdelim.c: Likewise.
10585 * libio/iopopen.c: Likewise.
10586 * libio/obprintf.c: Likewise.
10587 * libio/oldfileops.c: Likewise.
10588 * libio/oldiofclose.c: Likewise.
10589 * libio/oldiofdopen.c: Likewise.
10590 * libio/oldiofopen.c: Likewise.
10591 * libio/oldiopopen.c: Likewise.
10592 * libio/wfiledoalloc.c: Likewise.
10593 * libio/wgenops.c: Likewise.
10594 * locale/programs/xmalloc.c: Likewise.
10595 * misc/syslog.c: Likewise.
10596 * stdio-common/xbug.c: Likewise.
10597 * string/memchr.c: Likewise.
10598 * string/memcmp.c: Likewise.
10599 * string/memrchr.c: Likewise.
10600 * string/rawmemchr.c: Likewise.
10601 * sysdeps/posix/getcwd.c: Likewise.
10602 * time/strftime_l.c: Likewise.
10603
3b100462
JM
106042012-01-30 Joseph Myers <joseph@codesourcery.com>
10605
10606 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10607 * config.make.in (config-cflags-sse2avx): Define.
10608 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10609 Fix typo.
10610
607998af
CM
106112012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10612
10613 * scripts/config.guess: Update from upstream config git repository.
10614 * scripts/config.sub: Likewise.
10615
3601428f
CM
106162012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10617
3ac8b282
CM
10618 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10619 (EM_NUM): Update.
10620 (R_TILEPRO_*, R_TILEGX_*): New macros.
10621
e034841e
CM
10622 * scripts/firstversions.awk: Fix bug in version range handling.
10623
540d7568
CM
10624 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10625
3601428f
CM
10626 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10627
463de862
CM
10628 * include/sys/epoll.h: New file.
10629 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10630 libc_hidden_def.
10631
73139a76
UD
106322012-01-28 Ulrich Drepper <drepper@gmail.com>
10633
96bc5b45
UD
10634 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10635 Avoid unnecessary __WORDSIZE == 64 test.
10636 (fmaxf): Use VEX format if possible.
10637 (fmax): Likewise.
10638 (fminf): Likewise.
10639 (fmin): Likewise.
10640
56f6f6a2
UD
10641 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10642 * math/math_private.h: Remove libc_fegetround* and
10643 libc_fesetround*.
10644 * sysdeps/i386/configure.in: Check for -msse2avx.
10645 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10646 also if SSE2AVX is defined.
10647 Remove libc_fegetround* and libc_fesetround*.
10648 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10649 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10650 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10651 of HAS_YMM_USABLE.
10652 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10653 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10654 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10655 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10656 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10657
73139a76
UD
10658 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10659
d73f93a4
AZ
106602012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10661
10662 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10663 size is not set.
10664 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10665
6ee65ed6
UD
106662012-01-27 Ulrich Drepper <drepper@gmail.com>
10667
10668 [BZ #13618]
10669 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10670 relocation.
10671 * Makeconfig (libm): Define.
10672 * elf/Makefile: Add rules to build and run tst-relsort1.
10673 * elf/tst-relsort1.c: New file.
10674 * elf/tst-relsort1mod1.c: New file.
10675 * elf/tst-relsort1mod2.c: New file.
10676
8db21882
JM
106772012-01-27 Joseph Myers <joseph@codesourcery.com>
10678
10679 * math/s_ldexp.c: Remove __STDC__ conditionals.
10680 * math/s_ldexpf.c: Likewise.
10681 * math/s_ldexpl.c: Likewise.
10682 * math/s_nextafter.c: Likewise.
10683 * math/s_nexttowardf.c: Likewise.
10684 * math/s_significand.c: Likewise.
10685 * math/s_significandf.c: Likewise.
10686 * math/s_significandl.c: Likewise.
10687 * math/w_jnl.c: Likewise.
10688 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10689 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10690 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10691 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10692 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10703 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10707 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10708 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10709 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10710 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10711 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10712 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10713 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10714 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10715 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10716 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10717 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10718 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10719 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10720 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10721 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10722 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10723 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10724 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10725 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10726 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10727 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10728 * sysdeps/ieee754/k_standard.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10777 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10778 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10790 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10795 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10803 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10804 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10808 * sysdeps/ieee754/s_matherr.c: Likewise.
10809 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10810 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10811 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10812 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10813
965a54a4
JM
108142012-01-26 Joseph Myers <joseph@codesourcery.com>
10815
10816 * crypt/md5.h: Remove __STDC__ conditionals.
10817 * libio/libioP.h: Likewise.
10818 * locale/programs/config.h: Likewise.
10819 * sysdeps/generic/sysdep.h: Likewise.
10820 * sysdeps/i386/asm-syntax.h: Likewise.
10821 * sysdeps/s390/asm-syntax.h: Likewise.
10822 * sysdeps/unix/sysdep.h: Likewise.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10825
7071ad79
JM
108262012-01-26 Joseph Myers <joseph@codesourcery.com>
10827
10828 * libio/libio.h: Remove __STDC__ conditionals.
10829 * malloc/obstack.h: Likewise.
10830 * math/complex.h: Likewise.
10831 * math/math.h: Likewise.
10832 * sysdeps/generic/_G_config.h: Likewise.
10833 * sysdeps/gnu/_G_config.h: Likewise.
10834 * sysdeps/mach/hurd/_G_config.h: Likewise.
10835 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10836 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10837 * sysdeps/sparc/bits/mathdef.h: Likewise.
10838
afc5ed09
UD
108392012-01-26 Ulrich Drepper <drepper@gmail.com>
10840
10841 [BZ #13583]
10842 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10843 Clean up HAS_* macros.
afc5ed09 10844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10845 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10846 possible.
10847 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10848 HAS_AVX.
10849 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10850 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10851 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10852 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10853 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10854
bdb6de1d
JM
108552012-01-25 Joseph Myers <joseph@codesourcery.com>
10856
10857 * elf/tst-unique3.cc (gets): Remove declaration.
10858 * elf/tst-unique3lib.cc (gets): Likewise.
10859 * elf/tst-unique3lib2.cc (gets): Likewise.
10860 * elf/tst-unique4.cc (gets): Likewise.
10861
b15549e6
UD
108622012-01-24 Ulrich Drepper <drepper@gmail.com>
10863
10864 * include/stdio.h: Add C++ protection. Add gets declarations and
10865 definitions.
10866 * debug/tst-chk1.c: Don't declare gets here.
10867 * stdio-common/tst-gets.c: Likewise.
10868
a037381f
JM
108692012-01-24 Joseph Myers <joseph@codesourcery.com>
10870
10871 * posix/glob: Remove directory.
10872
f1d4aa75
JM
108732012-01-24 Joseph Myers <joseph@codesourcery.com>
10874
10875 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10876
81c0c964
PT
108772012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10878
10879 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10880 of the non-standard EPFNOSUPPORT.
10881
0ea698ae
ST
108822011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10883
10884 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10885 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10886 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10887
d220b117
UD
108882012-01-21 Ulrich Drepper <drepper@gmail.com>
10889
10890 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10891
3e1aa84e
UD
108922012-01-20 Ulrich Drepper <drepper@gmail.com>
10893
10894 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10895 transient errors.
10896 * nscd/grpcache.c (cache_addgr): Likewise.
10897 * nscd/hstcache.c (cache_addhst): Likewise.
10898 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10899 * nscd/pwdcache.c (cache_addpw): Likewise.
10900 * nscd/servicescache.c (cache_addserv): Likewise.
10901
400aa020
UD
109022012-01-16 Ulrich Drepper <drepper@gmail.com>
10903
d77e7869
UD
10904 * malloc/malloc.c: Various cleanups.
10905 * malloc/hooks.c: Likewise.
10906
400aa020
UD
10907 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10908 * stdlib/bug-fmtmsg1.c: New file.
10909
10910 * stdlib/fmtmsg.c (init): Add missing unlock.
10911 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10912
e0a309cf
MP
109132012-01-12 Marek Polacek <polacek@redhat.com>
10914
10915 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10916 and _GNU_SOURCE.
10917
929d11c7
WS
109182012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10919
10920 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10921 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10922 macro to ensure uniqueness of label name.
10923 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10924 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10925
41d0e869
UD
109262012-01-11 Ulrich Drepper <drepper@gmail.com>
10927
0cc5ed3b
UD
10928 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10929
41d0e869
UD
10930 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10931 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10932 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10934
a47a831a
UD
109352012-01-10 Ulrich Drepper <drepper@gmail.com>
10936
daa891c0
UD
10937 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10938
10939 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10940 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10941 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10942
e58ef0f2
UD
10943 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10944
a47a831a 10945 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10946 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10949
10950 * math/bits/math-finite.h: Add ldexp support.
10951
a0bfc9c7
MP
109522012-01-10 Marek Polacek <polacek@redhat.com>
10953
10954 * locale/programs/localedef.h (show_archive_content): Add noreturn
10955 attribute.
10956
d6e97a1d
UD
109572012-01-09 Ulrich Drepper <drepper@gmail.com>
10958
10959 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10960
d5835c26
UD
109612012-01-08 Ulrich Drepper <drepper@gmail.com>
10962
e5f484c6
UD
10963 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10964
d5835c26
UD
10965 * io/Makefile (headers): Add bits/poll2.h.
10966
d1f741e9
WS
109672011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10968
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10970 typo #include statement.
10971
ec09c1c4
UD
109722012-01-08 Ulrich Drepper <drepper@gmail.com>
10973
10974 * include/sys/cdefs.h: Define __attribute_alloc_size.
10975 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10976 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10977 * elf/pldd.c: Likewise.
10978 * iconv/iconv_charmap.c: Likewise.
10979 * iconv/iconvconfig.c: Likewise.
10980 * iconv/strtab.c: Likewise.
10981 * locale/programs/locale.c: Likewise.
10982 * locale/programs/localedef.h: Likewise.
10983 * locale/programs/simple-hash.c: Likewise.
10984 * nscd/nscd.h: Likewise.
10985 * nss/makedb.c: Likewise.
10986 * sysdeps/generic/ldconfig.h: Likewise.
10987 * locale/programs/localedef.c: Remove xmalloc prototype.
10988 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10989
20b38e03
PP
109902012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10991
10992 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10993 appropriate.
10994
a0da5fe1
UD
109952012-01-08 Ulrich Drepper <drepper@gmail.com>
10996
1d5a644a 10997 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10998 * math/tst-CMPLX.c: New file.
1d5a644a 10999
8784a6db
UD
11000 * math/complex.h (CMPLXL): Fix typo.
11001
d9a216c0
UD
11002 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11003 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11004 GLIBC_2.16.
11005 * debug/tst-chk1.c: Add poll and ppoll tests.
11006 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11007 * include/sys/poll.h: Add hidden proto for ppoll.
11008 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11009 * sysdeps/mach/hurd/ppoll.c: Likewise.
11010 * io/ppoll.c: Likewise.
11011 * debug/poll_chk.c: New file.
11012 * debug/ppoll_chk.c: New file.
11013 * include/bits/poll2.h: New file.
11014 * io/bits/poll2.h: New file.
11015
ac097f5c
UD
11016 [BZ #1350]
11017 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11018
2119dcfa
UD
11019 * configure.in: static is always set to yes. Remove.
11020 * config.make.in: Don't set build-static.
11021 * Makeconfig: Remove use of build-static.
11022 * dlfcn/Makefile: Likewise.
11023 * elf/Makefile: Likewise.
11024 * math/Makefile: Likewise.
11025 * misc/Makefile: Likewise.
11026 * nptl/Makefile: Likewise.
11027 * sysdeps/mach/hurd/Makefile: Likewise.
11028
121766a9
UD
11029 * configure.in: PWD_P is not used anymore.
11030 * config.make.in: Remove PWD_P entry.
11031
51a1d39c 11032 * configure.in: Remove last remnants of RANLIB.
8720d066 11033 No need to check for signed size_t anymore.
215f4bdc
UD
11034 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11035 and IA-64.
3857022a 11036 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11037 * aclocal.m4: Likewise.
11038
d3ed7225
UD
11039 * wcsmbs/mbrtoc16.c: Implement using towc function.
11040 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11041 * wcsmbs/wcsmbsload.c: Likewise.
11042 * iconv/gconv_simple.c: Likewise.
11043 * iconv/gconv_int.h: Likewise.
11044 * iconv/gconv_builtin.h: Likewise.
11045 * iconv/iconv_prog.c: Remove CHAR16 handling.
11046
11047 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11048
11049 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11050
a0da5fe1
UD
11051 * configure.in: Remove --with-elf and --enable-bounded options.
11052 Dont set base_machine for ia64. More non-ELF conditions removed.
11053 Remove testing and setting of leading underscore information.
11054 * config.make.in (build-bounded): Set to no.
11055 * config.h.in: Remove NO_UNDERSCORES entry.
11056 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11057 them.
11058 * csu/start.c: Remove !NO_UNDERSCORE code.
11059 * locale/localeinfo.h: Likewise.
11060 * sysdeps/generic/machine-gmon.h: Likewise.
11061 * sysdeps/generic/sysdep.h: Likewise.
11062 * sysdeps/i386/sysdep.h: Likewise.
11063 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11064 * sysdeps/mach/sysdep.h: Likewise.
11065 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11066 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11067 * sysdeps/sh/sysdep.h: Likewise.
11068 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11069 * sysdeps/unix/i386/sysdep.S: Likewise.
11070 * sysdeps/unix/sparc/start.c: Likewise.
11071 * sysdeps/unix/sparc/sysdep.S: Likewise.
11072 * sysdeps/unix/sparc/sysdep.h: Likewise.
11073 * sysdeps/unix/start.c: Likewise.
11074 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11075 * sysdeps/x86_64/sysdep.h: Likewise.
11076
df78418a
UD
110772012-01-07 Ulrich Drepper <drepper@gmail.com>
11078
a784e502
UD
11079 [BZ #13553]
11080 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11081 for non-gcc.
11082 * argp/argp-fmtstream.h: Use const instead __const.
11083 * argp/argp.h: Likewise.
11084 * assert/assert.h: Likewise.
11085 * bits/fenv.h: Likewise.
11086 * bits/sched.h: Likewise.
11087 * bits/sigset.h: Likewise.
11088 * bits/sigthread.h: Likewise.
11089 * catgets/nl_types.h: Likewise.
11090 * conform/data/pthread.h-data: Likewise.
11091 * crypt/crypt-private.h: Likewise.
11092 * crypt/crypt.h: Likewise.
11093 * crypt/crypt_util.c: Likewise.
11094 * ctype/ctype.h: Likewise.
11095 * debug/execinfo.h: Likewise.
11096 * debug/mbsnrtowcs_chk.c: Likewise.
11097 * debug/mbsrtowcs_chk.c: Likewise.
11098 * debug/wcsnrtombs_chk.c: Likewise.
11099 * debug/wcsrtombs_chk.c: Likewise.
11100 * debug/wcstombs_chk.c: Likewise.
11101 * dirent/dirent.h: Likewise.
11102 * dlfcn/dlfcn.h: Likewise.
11103 * elf/neededtest4.c: Likewise.
11104 * grp/grp.h: Likewise.
11105 * gshadow/gshadow.h: Likewise.
11106 * iconv/gconv.h: Likewise.
11107 * iconv/gconv_int.h: Likewise.
11108 * iconv/gconv_simple.c: Likewise.
11109 * iconv/iconv.h: Likewise.
11110 * iconv/loop.c: Likewise.
11111 * iconv/skeleton.c: Likewise.
11112 * include/aio.h: Likewise.
11113 * include/aliases.h: Likewise.
11114 * include/argz.h: Likewise.
11115 * include/arpa/inet.h: Likewise.
11116 * include/assert.h: Likewise.
11117 * include/dirent.h: Likewise.
11118 * include/dlfcn.h: Likewise.
11119 * include/execinfo.h: Likewise.
11120 * include/fcntl.h: Likewise.
11121 * include/fenv.h: Likewise.
11122 * include/glob.h: Likewise.
11123 * include/grp.h: Likewise.
11124 * include/libintl.h: Likewise.
11125 * include/mntent.h: Likewise.
11126 * include/netdb.h: Likewise.
11127 * include/pwd.h: Likewise.
11128 * include/rpc/netdb.h: Likewise.
11129 * include/sched.h: Likewise.
11130 * include/search.h: Likewise.
11131 * include/shadow.h: Likewise.
11132 * include/signal.h: Likewise.
11133 * include/stdio.h: Likewise.
11134 * include/stdlib.h: Likewise.
11135 * include/string.h: Likewise.
11136 * include/sys/socket.h: Likewise.
11137 * include/sys/stat.h: Likewise.
11138 * include/sys/statfs.h: Likewise.
11139 * include/sys/statvfs.h: Likewise.
11140 * include/sys/syslog.h: Likewise.
11141 * include/sys/time.h: Likewise.
11142 * include/sys/uio.h: Likewise.
11143 * include/time.h: Likewise.
11144 * include/unistd.h: Likewise.
11145 * include/utmp.h: Likewise.
11146 * include/wchar.h: Likewise.
11147 * include/wctype.h: Likewise.
11148 * inet/aliases.h: Likewise.
11149 * inet/arpa/inet.h: Likewise.
11150 * inet/netinet/ether.h: Likewise.
11151 * inet/netinet/in.h: Likewise.
11152 * intl/libintl.h: Likewise.
11153 * io/bits/fcntl2.h: Likewise.
11154 * io/fcntl.h: Likewise.
11155 * io/ftw.h: Likewise.
11156 * io/sys/poll.h: Likewise.
11157 * io/sys/stat.h: Likewise.
11158 * io/sys/statfs.h: Likewise.
11159 * io/sys/statvfs.h: Likewise.
11160 * io/utime.h: Likewise.
11161 * libio/bits/stdio.h: Likewise.
11162 * libio/bits/stdio2.h: Likewise.
11163 * libio/libio.h: Likewise.
11164 * libio/libioP.h: Likewise.
11165 * libio/stdio.h: Likewise.
11166 * locale/lc-ctype.c: Likewise.
11167 * locale/locale.h: Likewise.
11168 * login/utmp.h: Likewise.
11169 * malloc/arena.c: Likewise.
11170 * malloc/malloc.c: Likewise.
11171 * malloc/malloc.h: Likewise.
11172 * malloc/mcheck.c: Likewise.
11173 * malloc/mtrace.c: Likewise.
11174 * math/bits/mathcalls.h: Likewise.
11175 * math/fenv.h: Likewise.
11176 * math/math_private.h: Likewise.
11177 * misc/bits/error.h: Likewise.
11178 * misc/bits/syslog.h: Likewise.
11179 * misc/err.h: Likewise.
11180 * misc/error.h: Likewise.
11181 * misc/fstab.h: Likewise.
11182 * misc/mntent.h: Likewise.
11183 * misc/regexp.h: Likewise.
11184 * misc/search.h: Likewise.
11185 * misc/sgtty.h: Likewise.
11186 * misc/sys/mman.h: Likewise.
11187 * misc/sys/syslog.h: Likewise.
11188 * misc/sys/uio.h: Likewise.
11189 * misc/sys/xattr.h: Likewise.
11190 * misc/ttyent.h: Likewise.
11191 * nis/rpcsvc/ypclnt.h: Likewise.
11192 * nss/nss.h: Likewise.
11193 * posix/bits/unistd.h: Likewise.
11194 * posix/fnmatch.h: Likewise.
11195 * posix/glob.h: Likewise.
11196 * posix/sched.h: Likewise.
11197 * posix/spawn.h: Likewise.
11198 * posix/sys/wait.h: Likewise.
11199 * posix/unistd.h: Likewise.
11200 * posix/wordexp.h: Likewise.
11201 * pwd/pwd.h: Likewise.
11202 * resolv/netdb.h: Likewise.
11203 * resource/sys/resource.h: Likewise.
11204 * rt/aio.h: Likewise.
11205 * rt/bits/mqueue2.h: Likewise.
11206 * rt/mqueue.h: Likewise.
11207 * shadow/shadow.h: Likewise.
11208 * signal/signal.h: Likewise.
11209 * socket/send.c: Likewise.
11210 * socket/sendto.c: Likewise.
11211 * socket/sys/socket.h: Likewise.
11212 * stdio-common/printf.h: Likewise.
11213 * stdlib/bits/stdlib.h: Likewise.
11214 * stdlib/fmtmsg.h: Likewise.
11215 * stdlib/monetary.h: Likewise.
11216 * stdlib/stdlib.h: Likewise.
11217 * stdlib/ucontext.h: Likewise.
11218 * streams/stropts.h: Likewise.
11219 * string/argz.h: Likewise.
11220 * string/bits/string2.h: Likewise.
11221 * string/string.h: Likewise.
11222 * string/strings.h: Likewise.
11223 * sunrpc/rpc/auth.h: Likewise.
11224 * sunrpc/rpc/auth_des.h: Likewise.
11225 * sunrpc/rpc/clnt.h: Likewise.
11226 * sunrpc/rpc/netdb.h: Likewise.
11227 * sunrpc/rpc/pmap_clnt.h: Likewise.
11228 * sunrpc/rpc/xdr.h: Likewise.
11229 * sysdeps/generic/inttypes.h: Likewise.
11230 * sysdeps/generic/net/if.h: Likewise.
11231 * sysdeps/generic/sys/swap.h: Likewise.
11232 * sysdeps/gnu/net/if.h: Likewise.
11233 * sysdeps/gnu/utmpx.h: Likewise.
11234 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11235 * sysdeps/i386/i486/bits/string.h: Likewise.
11236 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11237 * sysdeps/s390/bits/string.h: Likewise.
11238 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11239 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11240 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11241 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11242 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11243 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11244 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11245 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11246 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11247 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11248 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11249 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11250 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11251 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11252 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11253 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11254 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11255 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11256 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11258 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11259 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11260 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11261 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11262 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11263 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11264 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11265 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11266 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11267 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11268 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11269 * sysvipc/sys/ipc.h: Likewise.
11270 * sysvipc/sys/msg.h: Likewise.
11271 * sysvipc/sys/sem.h: Likewise.
11272 * sysvipc/sys/shm.h: Likewise.
11273 * termios/termios.h: Likewise.
11274 * time/sys/time.h: Likewise.
11275 * time/time.h: Likewise.
11276 * wcsmbs/bits/wchar2.h: Likewise.
11277 * wcsmbs/uchar.h: Likewise.
11278 * wcsmbs/wchar.h: Likewise.
11279 * wctype/wctype.h: Likewise.
11280
0269750c
UD
11281 [BZ #13551]
11282 * Makeconfig: Remove all but ELF support including AIX support.
11283 * Makerules: Likewise.
11284 * config.h.in: Likewise.
11285 * config.make.in: Likewise.
11286 * configure: Likewise.
11287 * configure.in: Likewise.
11288 * csu/Makefile: Likewise.
11289 * csu/version.c: Likewise.
11290 * debug/Makefile: Likewise.
11291 * dlfcn/Makefile: Likewise.
11292 * elf/Makefile: Likewise.
11293 * extra-lib.mk: Likewise.
11294 * iconv/Makefile: Likewise.
11295 * include/libc-symbols.h: Likewise.
11296 * include/shlib-compat.h: Likewise.
11297 * resolv/Makefile: Likewise.
11298 * resolv/res_libc.c: Likewise.
11299 * rt/Makefile: Likewise.
11300 * sysdeps/i386/asm-syntax.h: Likewise.
11301 * sysdeps/i386/sysdep.h: Likewise.
11302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11303 * sysdeps/mach/sysdep.h: Likewise.
11304 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11305 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11306 * sysdeps/s390/asm-syntax.h: Likewise.
11307 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11308 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11309 * sysdeps/sh/sysdep.h: Likewise.
11310 * sysdeps/unix/sparc/sysdep.h: Likewise.
11311 * sysdeps/wordsize-32/divdi3.c: Likewise.
11312 * sysdeps/x86_64/sysdep.h: Likewise.
11313
00bbd29b
UD
11314 * argp/Versions: Remove _argp_unlock_xxx.
11315
11316 [BZ #13559]
11317 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11318 * abilist/libBrokenLocale.abilist: Likewise.
11319 * abilist/libanl.abilist: Likewise.
11320 * abilist/libc.abilist: Likewise.
11321 * abilist/libcrypt.abilist: Likewise.
11322 * abilist/libdl.abilist: Likewise.
11323 * abilist/libm.abilist: Likewise.
11324 * abilist/libnsl.abilist: Likewise.
11325 * abilist/libpthread.abilist: Likewise.
11326 * abilist/libresolv.abilist: Likewise.
11327 * abilist/librt.abilist: Likewise.
11328 * abilist/libthread_db.abilist: Likewise.
11329 * abilist/libutil.abilist: Likewise.
11330 * abilist/libnss_db.abilist: New file.
11331
11332 * scripts/abilist.awk: Add support for indirect functions.
11333
a2693a0e
UD
11334 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11335
3f05895f
UD
11336 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11337
ecb6fb48
UD
11338 * shlib-versions: Remove entries for ports architectures.
11339
664f8cb9
UD
11340 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11341 files in ports.
11342 * elf/stackguard-macros.h: Remove support for IA-64.
11343 * elf/tst-auditmod1.c: Likewise.
11344 * sysdeps/generic/ldsodefs.h: Likewise.
11345
7ae81d88
UD
11346 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11347 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11348 configure files.
11349
bdeba135
UD
11350 [BZ #13552]
11351 * configure.in: Remove --enable-omitfp support.
11352 * FAQ.in: Adjust.
11353 * config.make.in: Likewise.
11354 * Makeconfig: Likewise.
11355 * manual/install.texi: Likewise.
11356
d75a0a62
UD
11357 In case anyone cares, the IA-64 architecture could move to ports.
11358 * sysdeps/ia64/*: Removed.
11359 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11360 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11361
dcc9756b
UD
11362 [BZ #13555]
11363 * configure.in: Remove entries for unsupported architectures.
11364
d3761ebc 11365 [BZ #13533]
9954432e
UD
11366 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11367 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11368 routines.
11369 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11370 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11371 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11372 fall back to using wcrtomb.
11373 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11374 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11375 renaming.
11376 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11377 * wcsmbs/tst-c16c32-1.c: New file.
11378
11379 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11380 local variable.
11381
c3a87236
UD
11382 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11383
28926a1b
UD
11384 * elf/tst-unique3.cc: Add explicit declaration of gets.
11385 * elf/tst-unique3lib.cc: Likewise.
11386 * elf/tst-unique3lib2.cc: Likewise.
11387 * elf/tst-unique4.cc: Likewise.
11388
df78418a
UD
11389 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11390
8ecd6b2a
JM
113912012-01-06 Joseph Myers <joseph@codesourcery.com>
11392
11393 [BZ #13566]
11394 * assert/assert.h (static_assert): Don't define for C++.
11395 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11396 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11397
9f115170
UD
113982012-01-03 Ulrich Drepper <drepper@gmail.com>
11399
5e0d0300
UD
11400 * iconv/loop.c (single loop): Fix assertion in storing of
11401 remaining bytes.
11402
9f115170
UD
11403 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11404
81fb02b0
UD
114052012-01-01 Ulrich Drepper <drepper@gmail.com>
11406
11407 * posix/getconf.c: Update copyright year.
11408 * nss/getent.c: Likewise.
a316c1f6 11409 * nss/makedb.c: Likewise.
81fb02b0
UD
11410 * iconv/iconvconfig.c: Likewise.
11411 * iconv/iconv_prog.c: Likewise.
11412 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11413 * elf/pldd.c: Likewise.
11414 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11415 * catgets/gencat.c: Likewise.
11416 * csu/version.c: Likewise.
11417 * elf/ldd.bash.in: Likewise.
11418 * elf/sprof.c (print_version): Likewise.
11419 * locale/programs/locale.c: Likewise.
11420 * locale/programs/localedef.c: Likewise.
a316c1f6 11421 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11422 * nscd/nscd.c (print_version): Likewise.
11423 * debug/xtrace.sh: Likewise.
11424 * malloc/memusage.sh: Likewise.
11425 * malloc/mtrace.pl: Likewise.
11426 * debug/catchsegv.sh: Likewise.
11427
2ba92745
JJ
114282011-12-30 Jakub Jelinek <jakub@redhat.com>
11429
11430 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11431 pure attribute.
11432
dadebdae
UD
114332011-12-24 Ulrich Drepper <drepper@gmail.com>
11434
d3761ebc 11435 [BZ #13533]
db6af3eb
UD
11436 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11437 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11438 transformations.
11439 * iconv/gconv_int.h: Likewise.
11440 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11441 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11442 from libc for GLIBC_2.16.
11443 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11444 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11445 * wcsmbs/uchar.h: Really define mbstate_t.
11446 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11447 * wcsmbs/c16rtomb.c: New file.
11448 * wcsmbs/mbrtoc16.c: New file.
11449 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11450 for C/POSIX locale.
11451 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11452 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11453
dadebdae
UD
11454 * wcsmbs/wchar.h: Add missing __restrict.
11455
67371b56
UD
114562011-12-23 Ulrich Drepper <drepper@gmail.com>
11457
74033a25
UD
11458 [BZ #13532]
11459 * time/Makefile (routines): Add timespec_get.
11460 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11461 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11462 timespec for ISO C11.
11463 * time/timespec_get.c: New file.
11464 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11465 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11466
380d7e87
UD
11467 [BZ #13531]
11468 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11469 * stdlib/stdlib.h: Declare aligned_alloc.
11470 * Versions.def: Add GLIBC_2.16 for libc.
11471 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11472
4e9e7a35
UD
11473 [BZ 13527]
11474 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11475 ISO C11.
11476
380d7e87 11477 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11478 code.
11479
03a71829
UD
11480 [BZ #13528]
11481 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11482
839e283e
UD
11483 [BZ #13529]
11484 * assert/assert.h (static_assert): Define.
11485
ce5294e2 11486 * version.h: Update for 2.16 development version.
90fa7312 11487
8d44e150 11488 [BZ #13526]
d7809905
UD
11489 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11490 _ISOC11_SOURCE.
11491
c0da14cd
UD
11492 * version.h (RELEASE): Bump for 2.15 release.
11493 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11494
530a3249
MP
11495 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11496 Patch by Marek Polacek <mpolacek@redhat.com>.
11497
67371b56
UD
11498 * bits/byteswap.h: Protect long long constants with __extension__.
11499 * sysdeps/i386/bits/byteswap.h: Likewise.
11500 * sysdeps/ia64/bits/byteswap.h: Likewise.
11501 * sysdeps/s390/bits/byteswap.h: Likewise.
11502 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11503
15db4de1
LD
115042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11505
11506 [BZ #13540]
bbe315ea
LD
11507 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11508 destination buffer.
15db4de1
LD
11509 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11510
2b2596b1
MP
115112011-12-23 Marek Polacek <polacek@redhat.com>
11512
11513 * elf/dl-addr.c (determine_info): Add inline keyword.
11514 * elf/tst-auditmod4b.c (check_avx): Likewise.
11515 * elf/tst-auditmod6b.c (check_avx): Likewise.
11516 * elf/tst-auditmod6c.c (check_avx): Likewise.
11517 * elf/tst-auditmod7b.c (check_avx): Likewise.
11518
70c6c246
UD
115192011-12-23 Ulrich Drepper <drepper@gmail.com>
11520
11521 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11522 !__SSE_MATH__.
11523
c044cf14
LD
115242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11525
15db4de1 11526 [BZ #13540]
c044cf14
LD
11527 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11528 processing for last bytes.
11529
6b13d9d9
BH
115302011-08-06 Bruno Haible <bruno@clisp.org>
11531
d455f537
BH
11532 [BZ #13061]
11533 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11534 U+0385, not to U+1FEE.
11535
6b13d9d9
BH
11536 [BZ #13062]
11537 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11538 entry for U+00A5 U+0301.
11539
db910efd
UD
115402011-12-22 Ulrich Drepper <drepper@gmail.com>
11541
27deeafc
UD
11542 [BZ #13166]
11543 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11544 buffer for the output is too small.
11545
aed9d171
UD
11546 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11547 optimization.
11548
db910efd
UD
11549 [BZ #13185]
11550 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11551 SSE flags if possible.
11552
2bd779ae
LD
115532011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11554
e7f9dac3 11555 [BZ #13540]
2bd779ae
LD
11556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11557 processing for last bytes.
11558
154bfc16
JM
115592011-12-22 Joseph Myers <joseph@codesourcery.com>
11560
11561 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11562 (syscall-list-default-options, syscall-list-default-condition)
11563 (syscall-list-includes): Define.
11564 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11565 list of ABIs and options and #if conditions for each ABI. Do not
11566 handle common syscalls between ABIs specially.
11567 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11568 Remove.
11569 (syscall-list-variants, syscall-list-32bit-options)
11570 (syscall-list-32bit-condition, syscall-list-64bit-options)
11571 (syscall-list-64bit-condition): Define.
11572 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11573 (syscall-list-variants, syscall-list-32bit-options)
11574 (syscall-list-32bit-condition, syscall-list-64bit-options)
11575 (syscall-list-64bit-condition): Define.
11576 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11577 Remove.
11578 (syscall-list-variants, syscall-list-32bit-options)
11579 (syscall-list-32bit-condition, syscall-list-64bit-options)
11580 (syscall-list-64bit-condition): Define.
11581 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11582 Remove.
11583 (syscall-list-variants, syscall-list-32bit-options)
11584 (syscall-list-32bit-condition, syscall-list-64bit-options)
11585 (syscall-list-64bit-condition): Define.
11586
21eaf3a5
UD
115872011-12-22 Ulrich Drepper <drepper@gmail.com>
11588
16c6f992
UD
11589 * locale/iso-639.def: Add brx entry.
11590
41043168
UD
11591 [BZ #13328]
11592 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11593 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11594
21eaf3a5
UD
11595 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11596 __feraiseexcept_renamed.
11597
e3a851a2
UD
115982011-12-21 Ulrich Drepper <drepper@gmail.com>
11599
4920765e
UD
11600 [BZ #13538]
11601 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11602 EPOLLET with unsigned values.
11603 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11604 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11605
e3a851a2
UD
11606 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11607 to large cancellation.
11608 * math/s_cacoshf.c: Likewise.
11609 * math/s_cacoshl.c: Likewise.
11610
b27e24b8
RK
116112011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11612
11613 [BZ #13305]
aebefeee 11614 [BZ #12786]
b27e24b8
RK
11615 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11616 * math/s_cacoshf.c: Likewise.
11617 * math/s_cacoshl.c: Likewise.
11618
ee190f67
UD
116192011-12-21 Ulrich Drepper <drepper@gmail.com>
11620
11621 [BZ #13439]
11622 * iconv/gconv.h: Define __GCONV_SWAP.
11623 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11624 * iconvdata/utf-16.c: Likewise.
11625 * iconvdata/utf-32.c: Likewise.
11626
707f25df
AS
116272011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11628
11629 [BZ #13524]
11630 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11631 numerator after shifting it by one limb.
11632
d2daaa1e
RÁE
116332011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11634
11635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11636 under [__USE_EXTERN_INLINES].
11637
a4647e72
UD
116382011-12-17 Ulrich Drepper <drepper@gmail.com>
11639
11640 [BZ #13446]
11641 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11642
f0b264f1
AZ
116432011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11644
11645 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11646 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11647 optimized code.
11648 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11649 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11650 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11651 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11652 for strncasecmp/strncasecmp_l compilation.
11653 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11654 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11655
8ef4f244
MP
116562011-12-08 Marek Polacek <mpolacek@redhat.com>
11657
11658 [BZ #13484]
11659 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11660 of __asm__.
11661
97ac2654
UD
116622011-12-17 Ulrich Drepper <drepper@gmail.com>
11663
11664 [BZ #13506]
11665 * time/tzfile.c (__tzfile_read): Check values from file header.
11666
91d2a845
WS
116672011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11668
11669 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11670 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11671 * powerpc/powerpc32/dl-start.S: Likewise.
11672 * powerpc/powerpc32/elf/start.S: Likewise.
11673 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11674 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11675 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11676 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11677 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11678 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11679 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11680 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11681 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11682 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11683 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11684 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11685 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11686 * powerpc/powerpc32/memset.S: Likewise.
11687 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11688 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11689 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11690 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11691 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11692 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11693 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11694 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11695 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11696 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11697 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11698 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11699 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11700
a1267ba1
AZ
117012011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11702
11703 * math/libm-test.inc: Added more nearbyint tests.
11704 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11705 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11706 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11707 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11708
ad8ac1bd
RL
117092011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11710
11711 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11712 FD_CLOEXEC.
11713
1d3e4b61
UD
117142011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11715
11716 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11717 Add wcscpy-ssse3 wcscpy-c.
11718 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11719 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11720 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11721 * sysdeps/x86_64/wcschr.S: New file.
11722 * sysdeps/x86_64/wcsrchr.S: New file.
11723 * string/test-strcmp.c: Remove checking of wcscmp function for
11724 wrong alignments.
11725 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11726 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11727 wcsrchr-sse2 wcsrchr-c.
11728 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11729 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11730 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11731 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11732 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11733 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11734 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11735 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11736 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11737 * wcsmbc/wcschr.c (WCSCHR): New macro.
11738
5b330a2d
UD
117392011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11740
11741 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11742 * wcsmbs/test-wcsrchr.c: New file.
11743 * string/test-strrchr.c: Add wcsrchr support.
11744 (WIDE): New macro.
11745 * wcsmbs/test-wcscpy.c: New file.
11746 * string/test-strcpy.c: Add wcscpy support.
11747 (WIDE): New macro.
26428b7c 11748
f039c043
UD
117492011-12-10 Ulrich Drepper <drepper@gmail.com>
11750
11751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11752 the inner loop.
11753
850fb039
AS
117542011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11755
11756 [BZ #13472]
11757 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11758
4efbd5cb
UD
117592011-12-04 Ulrich Drepper <drepper@gmail.com>
11760
52ff5dd0 11761 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11762 Minor optimizations.
52ff5dd0 11763
4efbd5cb
UD
11764 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11765 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11766 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11767
8a426e12
UD
117682011-12-03 Ulrich Drepper <drepper@gmail.com>
11769
aff2453d
UD
11770 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11771 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11772 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11773 for gcc to avoid warnings.
11774 * inet/Makefile (tests): Add tst-checks.
11775 * inet/tst-checks.c: New file.
11776
11777 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11778 warning.
11779
11780 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11781 __wmemcmp_sse2.
11782
11783 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11784 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11785
8a426e12
UD
11786 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11787
9bea3473
UD
117882011-12-02 Ulrich Drepper <drepper@gmail.com>
11789
3a965496
UD
11790 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11791 problem.
11792
9bea3473
UD
11793 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11794
f101631b
UD
117952011-11-29 Joseph Myers <joseph@codesourcery.com>
11796
11797 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11798 conditional on GCC version.
11799 (__arch_compare_and_exchange_val_8_acq)
11800 (__arch_compare_and_exchange_val_16_acq)
11801 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11802 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11803 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11804
a98275aa
UD
118052011-12-02 Joseph Myers <joseph@codesourcery.com>
11806
11807 * sysdeps/sh/backtrace.c: New file.
11808
d4cc29a2
AS
118092011-12-02 Andreas Schwab <schwab@redhat.com>
11810
11811 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11812 parenthesis.
11813
6257af2d
AS
118142011-12-01 Andreas Schwab <schwab@redhat.com>
11815
11816 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11817 falling back to utime.
11818
b5f44c1a
AS
118192011-11-30 Andreas Schwab <schwab@redhat.com>
11820
11821 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11822 expectations for float.
11823
f3a6cc0a
AS
118242011-11-29 Andreas Schwab <schwab@redhat.com>
11825
11826 * locale/weight.h (findidx): Add parameter len.
11827 * locale/weightwc.h (findidx): Likewise.
11828 * posix/fnmatch_loop.c (FCT): Adjust caller.
11829 * posix/regcomp.c (build_equiv_class): Likewise.
11830 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11831 * posix/regexec.c (check_node_accept_bytes): Likewise.
11832 * string/strcoll_l.c (STRCOLL): Likewise.
11833 * string/strxfrm_l.c (STRXFRM): Likewise.
11834
9d65ea3a
UD
118352011-11-17 Ulrich Drepper <drepper@gmail.com>
11836
11837 * Makefile.in: Remove CVSOPT handling.
11838 * configure.in: Remove use of AC_REVISION.
11839 * iconvdata/Makefile (distribute): No need to filter out CVS.
11840 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11841 handling.
11842
5583a086
AS
118432011-11-16 Andreas Schwab <schwab@redhat.com>
11844
11845 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11846 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11847 [USE_AS_STRNCASECMP_L]: Likewise.
11848 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11849 NO_TLS_DIRECT_SEG_REFS.
11850 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11851 Fix argument offsets for non-PIC.
11852 [USE_AS_STRNCASECMP_L]: Likewise.
11853 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11854 NO_TLS_DIRECT_SEG_REFS.
11855
d62a8200
UD
118562011-11-15 Ulrich Drepper <drepper@gmail.com>
11857
9d65ea3a 11858 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11859 O_CLOEXEC.
11860 * locale/loadlocale.c (_nl_load_locale): Likewise.
11861
09f93bd3
AS
118622011-11-15 Andreas Schwab <schwab@redhat.com>
11863
446514f9
AS
11864 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11865 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11866 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11867 (SYSCALL_GETTIME): Set errno on error.
11868
09f93bd3
AS
11869 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11870 count references to noai6ai_cached.
11871
312be3f9
UD
118722011-11-15 Ulrich Drepper <drepper@gmail.com>
11873
11874 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11875
11876 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11877 FD_CLOEXEC for /proc/self/maps.
11878
11879 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11880 FD_CLOEXEC for /proc/meminfo.
11881
11882 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11883 gai.conf.
11884
11885 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11886 FD_CLOEXEC for given file.
11887
11888 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11889
11890 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11891 FD_CLOEXEC for /etc/hosts.
11892 (_gethtent): Likewise.
11893
11894 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11895
11896 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11897 cancellation and set FD_CLOEXEC for /etc/netgroup.
11898
11899 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11900 reading /etc/publickey.
11901
11902 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11903 allow cancellation when reading /etc/group.
11904
11905 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11906 cancellation.
11907 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11908
11909 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11910 when using data file.
11911
11912 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11913
11914 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11915 (write_nis_obj): Use "c" and "e" in fopen.
11916
11917 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11918
11919 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11920
11921 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11922
11923 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11924
11925 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11926 locale.alias.
11927
11928 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11929
11930 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11931
11932 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11933
11934 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11935 file parsing and set FD_CLOEXEC.
11936
82af0fa8
UD
119372011-11-14 Ulrich Drepper <drepper@gmail.com>
11938
11939 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11940
a5fb313c
AS
119412011-11-14 Andreas Schwab <schwab@redhat.com>
11942
11943 * malloc/arena.c (arena_get2): Don't call reused_arena when
11944 _int_new_arena failed.
11945
6abf3465
UD
119462011-11-14 Ulrich Drepper <drepper@gmail.com>
11947
11948 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11949 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11950 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11951 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11952 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11953 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11954 to compile strcasecmp and strncasecmp.
11955 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11956 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11957
11958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11959
76e3966e
UD
119602011-11-13 Ulrich Drepper <drepper@gmail.com>
11961
11962 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11963 locale-defines.sym to gen-as-const-headers.
11964 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11965 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11966 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11967 to compile strcasecmp and strncasecmp.
11968 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11969 strcasecmp_l and strncasecmp_l.
11970 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11971 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11972 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11973 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11974 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11975 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11976 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11977 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11978 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11979 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11980 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11981
ab26144e
UD
119822011-11-12 Ulrich Drepper <drepper@gmail.com>
11983
7edb22ef
UD
11984 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11985 result of SYSDEP_GETTIME_CPU to retval.
11986 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11987 parameter list to macro. Remove trailing semicolon. Adjust users.
11988
9694fc44
UD
11989 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11990 variable.
11991
8ad89ef8
UD
11992 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11993 mantissa words.
11994 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11995
0c822ef9
UD
11996 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11997 from unused variable.
11998
874e0564
UD
11999 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12000 DWARF definitions.
12001 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12002 for assembling.
12003
3a2edc79
UD
12004 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12005 over namespaces.
12006
f3c2577f
UD
12007 * sunrpc/rpc_prot.c (rejected): Fix case value.
12008
294ce126
UD
12009 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12010 unsigned long long int to avoid warnings in shift.
12011
5e2b63c6
UD
12012 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12013 of use of trans.
12014 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12015 variable tmp.
12016
e7f4b08e
UD
12017 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12018 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12019 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12020
ab26144e
UD
12021 * nis/nis_table.c (nis_list): Use variable of correct type for
12022 result of __follow_path call.
12023
8a6d5255
AZ
120242011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12025
12026 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12027 of math functions ceil, trunc, floor, round, and sqrt, when
12028 avaliable on the platform.
12029 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12030 name clash.
12031 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12032 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12033 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12034
aaddc98c
MP
120352011-10-30 Marek Polacek <mpolacek@redhat.com>
12036
12037 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12038 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12039
95b7042b
RM
120402011-11-11 Roland McGrath <roland@hack.frob.com>
12041
12042 * include/unistd.h: Fix __readlink return type.
12043 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12044
57769839
UD
120452011-11-11 Ulrich Drepper <drepper@gmail.com>
12046
12047 * stdlib/ucontext.h: Undo last change for makecontext.
12048
edc5984d
AS
120492011-11-11 Andreas Schwab <schwab@redhat.com>
12050
98591e58
AS
12051 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12052
edc5984d
AS
12053 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12054 * setjmp/setjmp.h: Mark functions as non-leaf.
12055 * setjmp/bits/setjmp2.h: Likewise.
12056 * stdlib/ucontext.h: Likewise.
12057
77cdc054
AS
120582011-11-10 Andreas Schwab <schwab@redhat.com>
12059
12060 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12061 (reused_arena): Don't check arena limit.
12062 (arena_get2): Atomically check arena limit.
12063
fe72eebd
UD
120642011-11-08 Ulrich Drepper <drepper@gmail.com>
12065
5f078c32
UD
12066 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12067 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12068
fe72eebd
UD
12069 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12070 instructions.
12071
ae1bc2fa
AS
120722011-11-07 Andreas Schwab <schwab@redhat.com>
12073
7583a88d
AS
12074 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12075 handler when locking.
12076
ae1bc2fa
AS
12077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12078 Fix size of allocated buffer.
12079
10fb0bfa
AS
120802011-11-04 Andreas Schwab <schwab@redhat.com>
12081
998832a4
AS
12082 [BZ #10103]
12083 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12084 declarations for long double functions.
12085 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12086
10fb0bfa
AS
12087 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12088
3d7ba52b
AS
120892011-11-03 Andreas Schwab <schwab@redhat.com>
12090
a9ae54a1
AS
12091 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12092 installed.
12093
3d7ba52b
AS
12094 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12095 is disabled.
12096
bc8db248
ST
120972011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12098
12099 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12100
45b96dd6
AS
121012011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12102
647776f6
AS
12103 * include/alloca.h (stackinfo_alloca_round): Define.
12104 (extend_alloca): Use it.
12105 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12106 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12107 here.
12108
d91a8b93
AS
12109 * scripts/check-local-headers.sh: Ignore libaudit.h.
12110
45b96dd6
AS
12111 * nscd/Makefile (extra-objs): Make recursively expanded.
12112
432d41ce
UD
121132011-11-01 Ulrich Drepper <drepper@gmail.com>
12114
34372fc6
UD
12115 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12116 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12117
fadb59f8
UD
12118 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12119 * posix/tst-rfc3484-2.c: Likewise.
12120 * posix/tst-rfc3484-3.c: Likewise.
12121
78239589
UD
12122 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12123 process_vm_writev.
12124 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12125 process_vm_writev.
12126 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12127 process_vm_writev from libc using GLIBC_2.15 version.
12128
432d41ce
UD
12129 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12130
02f9c6cf
PP
121312011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12132
12133 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12134 stack usage.
12135
3a2c0242
UD
121362011-10-31 Ulrich Drepper <drepper@gmail.com>
12137
f4ec4833
UD
12138 [BZ #13367]
12139 * nss/getent.c (initgroups_keys): Show error message in case no group
12140 names are given.
12141
3a2c0242
UD
12142 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12143 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12144 __bump_nl_timestamp.
12145 * nscd/connections (nscd_init): When host database is served open
12146 netlink socket and request notification about configuration changes.
12147 (main_loop_poll): Track netlink file descriptor and bump timestamp
12148 in case data becomes available.
12149 (main_loop_epoll): Likewise.
12150 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12151 (database_pers_head): Add extra_data fileds.
12152 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12153 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12154 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12155 Adjust caller.
12156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12157 in6ai data, call __free_in6ai.
12158 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12159 Add -DHAVE_NETLINK.
12160 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12161 interface information. Reuse previous data if netlink timestamp
12162 is not changed.
12163 (__bump_nl_timestamp): New function.
12164 (__free_in6ai): New function.
12165
636064eb
UD
121662011-10-30 Ulrich Drepper <drepper@gmail.com>
12167
12168 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12169 close_not_cancel_no_status here.
12170 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12171
9beb2334
UD
121722011-10-29 Ulrich Drepper <drepper@gmail.com>
12173
6ef76f3b
UD
12174 [BZ #13276]
12175 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12176 return value.
12177
0ffc4f3e 12178 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12179 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12180 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12181
cb95113e
UD
121822011-07-03 Andreas Jaeger <aj@suse.de>
12183
12184 [BZ #10709]
12185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12186 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12187 * math/libm-test.inc (sin_test): Add test case.
12188
a1b560ff
UD
121892011-10-29 Ulrich Drepper <drepper@gmail.com>
12190
c9aaface
UD
12191 [BZ #13337]
12192 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12193 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12194
d272e7f1
UD
12195 * elf/chroot_canon.c (chroot_canon): Cleanups.
12196
1bc33071
UD
12197 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12198
1760874d
TJ
12199 [BZ #13335]
12200 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12201 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12202
51d91b18
UD
12203 * string/test-strchr.c: Make usable for strchrnul testing.
12204 * string/test-strchrnul.c: New file.
12205 * string/Makefile (strop-tests): Add strchrnul.
12206
a1b560ff 12207 * po/it.po: Update from translation team.
b611fb81 12208 * po/es.po: Likewise.
a1b560ff 12209
a5b81e1f
UD
122102011-10-28 Ulrich Drepper <drepper@gmail.com>
12211
fd52bc6d
UD
12212 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12213 the three constants needed as parameters. Drop the others.
12214 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12215 __m128i_strloadu_tolower.
52e4b9eb
UD
12216 Create and initialize variable zero and use it in all the places
12217 where _mm_setzero_si128 was used.
fd52bc6d 12218
a5b81e1f
UD
12219 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12220 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12221 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12222 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12223 anymore.
12224 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12225 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12226 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12227 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12228 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12229 __mpranred, __mptan.
12230 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12231 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12232 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12233 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12234 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12235 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12236 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12237 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12238 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12239
b4343346
AS
122402011-10-28 Andreas Schwab <schwab@redhat.com>
12241
0c92d8a8
AS
12242 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12243 redefine if SHARED.
12244 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12245
b4343346
AS
12246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12247 wide char related routines to wcsmbs subdir.
12248
3871f58f
AS
122492011-10-27 Andreas Schwab <schwab@redhat.com>
12250
12251 [BZ #13344]
12252 * misc/sys/cdefs.h (__THROWNL): Define.
12253 * posix/unistd.h: Use __THREADNL instead of __THREAD
12254 for memory synchronization functions.
12255
94d44d9f
RM
122562011-10-26 Roland McGrath <roland@hack.frob.com>
12257
21b64b15 12258 [BZ #13349]
94d44d9f
RM
12259 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12260 doesn't exist.
12261 * manual/stdio.texi (Obstack Streams): Node removed.
12262
f6ce9294
AS
122632011-10-26 Andreas Schwab <schwab@redhat.com>
12264
80479147
AS
12265 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12266 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12267 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12268
f6ce9294
AS
12269 * math/math_private.h (math_force_eval): Allow non-addressable
12270 arguments.
12271 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12272
618280a1
UD
122732011-10-25 Ulrich Drepper <drepper@gmail.com>
12274
e0016b11
UD
12275 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12276 file is not needed.
12277
12278 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12279 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12280 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12281 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12282 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12283 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12284 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12285 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12286 Add AVX variants.
12287 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12288 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12289 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12290 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12291 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12292 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12293 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12294 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12295 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12296 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12297 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12298 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12300 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12301 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12302 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12303 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12304 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12305 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12306
12307 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12308 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12309
618280a1
UD
12310 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12311 place. Use VEX encoding when compiling for AVX.
12312
37822576
AS
123132011-10-25 Andreas Schwab <schwab@redhat.com>
12314
1f1e1947
AS
12315 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12316 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12317
37822576
AS
12318 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12319
31ea014d
UD
123202011-10-25 Ulrich Drepper <drepper@gmail.com>
12321
d7826aa1 12322 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12323 useless if() expression.
d7826aa1
UD
12324 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12325 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12326 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12327 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12328 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12329 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12330 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12331 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12333 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12334 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12335 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12336 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12337 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12338 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12339 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12340 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12342 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12343
31ea014d
UD
12344 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12345
16437fec
AS
123462011-10-25 Andreas Schwab <schwab@redhat.com>
12347
12348 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12349 condition.
12350 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12351
31d3cc00
UD
123522011-10-25 Ulrich Drepper <drepper@gmail.com>
12353
12354 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12355 .text section. Avoid duplicate constants.
12356 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12358 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12360 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12364 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12365 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12366 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12367 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12368 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12369 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12370 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12371 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12372 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12373 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12374 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12375 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12376 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12377 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12378 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12379 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12380 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12381 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12382 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12383 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12384 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12385 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12386 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12387 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12388 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12389 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12390 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12391 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12392 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12393 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12394 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12395 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12396 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12397 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12398 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12399 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12400 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12401
58985aa9
UD
124022011-10-24 Ulrich Drepper <drepper@gmail.com>
12403
202c9deb
UD
12404 * sysdeps/x86_64/dla.h: Move to ...
12405 * sysdeps/x86_64/fpu/dla.h: ...here.
12406 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12407 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12408
af968f62
UD
12409 * config.make.in: Add have-mfma4 entry.
12410 * configure.in: Substitute libc_cv_cc_fma4.
12411 * math/Makefile (dbl-only-routines): Add sincostab.
12412 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12413 Use __sincostab not sincos.
12414 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12415 name is a macro.
12416 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12420 using __copysign.
12421 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12422 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12423 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12424 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12425 and __inv.
12426 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12427 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12428 __copysign.
12429 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12430 define aliases when function name is a macro.
12431 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12432 sysdeps/ieee754/dbl-64/sincos.tbl.
12433 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12434 fma4-enabled routines.
12435 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12436 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12437 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12438 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12439 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12440 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12442 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12444 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12445 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12446 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12447 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12448 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12449 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12450 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12451 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12452 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12453 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12454 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12455 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12456 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12458 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12459 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12460 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12461 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12462 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12463 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12464 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12465
58985aa9
UD
12466 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12467 rename.
12468 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12473 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12474 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12475 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12476
a201fbcf
AS
124772011-10-24 Andreas Schwab <schwab@redhat.com>
12478
12479 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12480
fc2ee42a
LD
124812011-10-23 Ulrich Drepper <drepper@gmail.com>
12482
bb3129bd
UD
12483 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12484
0275fff8
UD
12485 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12486 prediction.
12487 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12488
2fa2ae85
UD
12489 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12490 Remove unused variable magic_bits.
12491 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12492
fc2ee42a
LD
12493 * string/strnlen.c: Define and use STRNLEN macro.
12494 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12495 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12496 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12497 * wcsmbs/wcslen.c: Define and use WCSLEN.
12498 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12499 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12500 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12501 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12502 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12503 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12504 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12505
ce7dd29f
LD
125062011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12507
12508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12509 strnlen-sse2-no-bsf.
12510 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12511 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12512 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12513 Add strnlen support.
12514 (USE_AS_STRNLEN): New macro.
12515 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12516 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12517 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12518 * sysdeps/x86_64/wcslen.S: New file.
12519
979c70a3
MZ
125202011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12521
12522 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12523 XMM-moves are used for copying on small sizes.
12524
2d09f82f
LD
125252011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12526
12527 * wcsmbs/Makefile (strop-tests): Add wcschr.
12528 * wcsmbs/test-wcschr.c: New file.
12529 * string/test-strchr.c: Update.
12530 Add wcschr support.
12531 (WIDE): New macro.
12532
619fccca
LD
125332011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12534
2d09f82f 12535 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12536 * wcsmbs/test-wcslen.c: New file.
12537 * string/test-strlen.c: Update.
12538 Add wcslen support.
12539 (WIDE): New macro.
12540
09f699ea
UD
125412011-10-23 Ulrich Drepper <drepper@gmail.com>
12542
12543 * po/it.po: Update from translation team.
12544
95584d3b
LD
125452011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12546
12547 * sysdeps/x86_64/wcscmp.S: Update.
12548 Fix wrong comparison semantics.
12549 wcscmp shall use signed comparison not unsigned.
12550 Don't use substraction to avoid overflow bug.
12551 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12552 * wcsmbc/wcscmp.c: Likewise.
12553 * string/test-strcmp.c: Likewise.
12554 Add new tests to check cases with negative values.
12555
c8b3296b
UD
125562011-10-23 Ulrich Drepper <drepper@gmail.com>
12557
12558 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12559 * sysdeps/x86_64/dla.h: ...here. New file.
12560 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12565 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12567 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12569
246ad57a
AS
125702011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12571
12572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12573 __ynl_finite aliases.
12574
a1a87169
UD
125752011-10-22 Ulrich Drepper <drepper@gmail.com>
12576
0d355eb7
UD
12577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12578
a1a87169
UD
12579 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12580 define DLA_FMA.
12581 [DLA_FMA] (EMULV): Use DLA_FMA.
12582 [DLA_FMA] (MUL12): Use EMULV.
12583 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12584 that are not needed.
12585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12589 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12590 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12591 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12592
ee2aafe0
AS
125932011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12594
12595 * math/s_nan.c: Undef __nan.
12596 * math/s_nanf.c: Undef __nanf.
12597 * math/s_nanl.c: Undef __nanl.
12598 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12599 "math_private.h".
12600
bc62c2fb
UD
126012011-10-22 Ulrich Drepper <drepper@gmail.com>
12602
77425c63
UD
12603 * math/s_catan.c: Add branch predictions.
12604 * math/s_catanf.c: Likewise.
12605 * math/s_catanh.c: Likewise.
12606 * math/s_catanhf.c: Likewise.
12607 * math/s_catanhl.c: Likewise.
12608 * math/s_catanl.c: Likewise.
12609 * math/s_cexp.c: Likewise.
12610 * math/s_cexpf.c: Likewise.
12611 * math/s_cexpl.c: Likewise.
12612 * math/s_clog.c: Likewise.
12613 * math/s_clog10.c: Likewise.
12614 * math/s_clog10f.c: Likewise.
12615 * math/s_clog10l.c: Likewise.
12616 * math/s_clogf.c: Likewise.
12617 * math/s_clogl.c: Likewise.
12618 * math/s_csqrt.c: Likewise.
12619 * math/s_csqrtf.c: Likewise.
12620 * math/s_csqrtl.c: Likewise.
12621 * math/s_ctanf.c: Likewise.
12622 * math/s_ctanh.c: Likewise.
12623 * math/s_ctanhf.c: Likewise.
12624 * math/s_ctanhl.c: Likewise.
12625 * math/s_ctanl.c: Likewise.
12626
bc62c2fb
UD
12627 * math/math_private.h: Define __nan, __nanf, __nanl.
12628 * math/s_cacosh.c: Include <math_private.h>.
12629 * math/s_cacoshl.c: Likewise.
12630 * math/s_casinh.c: Likewise.
12631 * math/s_casinhf.c: Likewise.
12632 * math/s_casinhl.c: Likewise.
12633 * math/s_ccos.c: Rely entire on ccosh.
12634 * math/s_ccosf.c: Rely entire on ccoshf.
12635 * math/s_ccosl.c: Rely entirely on ccoshl.
12636 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12637 Remove tests for FE_INVALID.
12638 * math/s_ccoshf.c: Likewise.
12639 * math/s_ccoshl.c: Likewise.
12640 * math/s_csin.c: Likewise.
12641 * math/s_csinf.c: Likewise.
12642 * math/s_csinh.c Likewise.
12643 * math/s_csinhf.c: Likewise.
12644 * math/s_csinhl.c: Likewise.
12645 * math/s_csinl.c: Likewise.
12646 * math/s_ctan.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12648 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12649 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12650
8ec250a4
UD
126512011-10-21 Ulrich Drepper <drepper@gmail.com>
12652
c196fed8
UD
12653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12654 compilation problems.
12655
8ec250a4
UD
12656 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12657 __builtin_expect.
12658
8d4f46c6
UD
126592011-10-20 Ulrich Drepper <drepper@gmail.com>
12660
ed72b654
UD
12661 * sysdeps/i386/configure.in: Test for -mfma4 option.
12662 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12663 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12664 COMMON_CPUID_INDEX_80000001.
12665 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12666 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12667 use it if FMA3 is not supported.
12668 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12669
8d4f46c6
UD
12670 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12671 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12672
d45c60c2
AS
126732011-10-20 Andreas Schwab <schwab@redhat.com>
12674
12675 [BZ #12892]
12676 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12677 it would create a cycle with a link time dependency.
12678
d9a4d2ab
UD
126792011-10-19 Ulrich Drepper <drepper@gmail.com>
12680
855d1560
UD
12681 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12682 instruction.
12683 * string/Makefile (strop-tests): Add rawmemchr.
12684 * string/test-rawmemchr.c: New file.
12685
d9a4d2ab
UD
12686 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12687 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12688 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12689 when compiling str{,n}casecmp and when AVX is available. Hook up
12690 new optimized code in initializers.
12691
8f3b1ffe
AS
126922011-10-19 Andreas Schwab <schwab@redhat.com>
12693
12694 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12695 __feraiseexcept instead of feraiseexcept.
12696
d38f1dba
UD
126972011-10-18 Ulrich Drepper <drepper@gmail.com>
12698
d9a8d0ab
UD
12699 * math/math_private.h: Define defaults for libc_fetestexcept and
12700 libc_feupdateenv.
12701 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12702 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12703 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12704 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12705 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12706 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12707 libc_fetestexcept and libc_feupdateenv.
12708
4855e3dd
UD
12709 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12710 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12711 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12712 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12713 libc_feholdexcept_setround.
12714
581d30e3
UD
12715 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12716 Add s_nearbyint-c and s_nearbyintf-c.
12717 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12718 nearbyintf inlines.
12719 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12720 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12721 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12722 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12723
d38f1dba
UD
12724 * math/math_private.h: Define defaults for libc_fegetround,
12725 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12726 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12727 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12728 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12729 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12730 standard functions.
12731 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12732 Remove comments and hacks for old compiler versions.
12733 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12734 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12735 libc_feholdexceptl.
12736
caa6c9d8
AS
127372011-10-18 Andreas Schwab <schwab@redhat.com>
12738
12739 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12740 (__feraiseexcept_renamed): Add __NTH.
12741 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12742 namespace violations.
12743
97c066e6
UD
127442011-10-17 Ulrich Drepper <drepper@gmail.com>
12745
99ce7b04
UD
12746 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12747
1004d182
UD
12748 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12749
228a984d
UD
12750 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12751 recently added interfaces.
12752 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12753
c8553a6a
UD
12754 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12755 about macro parameter expansion.
12756
ed22dcf6
UD
12757 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12758 __NO_MATH_INLINES is defined. Cleanups.
12759
12760 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12761 and __floorf is target has SSE4.1.
12762 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12763 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12764 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12765 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12766
b171c137
UD
12767 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12768 name.
12769 (floorf): Likewise.
12770
97c066e6
UD
12771 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12772
629f62ef
AS
127732011-10-17 Andreas Schwab <schwab@redhat.com>
12774
49a43d80
AS
12775 * misc/sys/cdefs.h: Fix last change.
12776
629f62ef
AS
12777 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12778 database lookup.
12779
e453f6cd
UD
127802011-10-16 Ulrich Drepper <drepper@gmail.com>
12781
aa78043a
UD
12782 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12783
ad0f5cad
UD
12784 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12785 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12790 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12791 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12792 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12793 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12794 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12795 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12796 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12797 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12798 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12799 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12800 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12801 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12802 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12803 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12804 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12805 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12806
12807 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12808 ceil, ceilf, floor, floorf.
12809
12810 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12811 Perform IRELATIVE relocations last.
12812
e453f6cd
UD
12813 * elf/do-rel.h: Add another parameter nrelative, replacing the
12814 local variable with the same name. Change name of the function
12815 to end in Rel or Rela (uppercase).
12816 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12817 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12818 elf_dynamic_do_##reloc function.
12819
fd5bdc09
UD
128202011-10-15 Ulrich Drepper <drepper@gmail.com>
12821
79b195b5
UD
12822 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12823 is sufficient, at least on modern CPUs.
12824
d4a28569
UD
12825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12826
b61099b5
UD
12827 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12828 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12829
bcf01e6d
UD
12830 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12831 __expl_finite.
12832 * math/bits/math-finite.h: Add entries for exp.
12833 * math/e_expl.c: Add __*_finite alias.
12834 * sysdeps/i386/fpu/e_exp.S: Likewise.
12835 * sysdeps/i386/fpu/e_expf.S: Likewise.
12836 * sysdeps/i386/fpu/e_expl.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12838 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12842 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12843 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12844
ba1a0d59
UD
12845 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12846 is sufficient, at least on modern CPUs.
12847
fd5bdc09
UD
12848 * ctype/ctype-info.c (__ctype_init): Define.
12849 * include/ctype.h (__ctype_init): Declare.
12850 (__ctype_b_loc): The variable is always initialized.
12851 (__ctype_toupper_loc): Likewise.
12852 (__ctype_tolower_loc): Likewise.
12853 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12854 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12855
7872cfb0
AS
128562011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12857
b468825a
AS
12858 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12859
7872cfb0
AS
12860 * configure.in: Also look in $cxxmachine/include for C++ system
12861 headers.
12862
be13f7bf
LD
128632011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12864
12865 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12866 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12867 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12868 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12869 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12870 (USE_AS_WMEMCMP): New macro.
12871 Fixing indents.
12872 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12873 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12874 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12875 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12877 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12878 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12879 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12880 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12881 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12882 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12883 (USE_AS_WMEMCMP): New macro.
12884 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12885 * sysdeps/string/test-memcmp.c: Update.
12886 Fix simple_wmemcmp.
12887 Add new tests.
12888 * wcsmbs/wmemcmp.c: Update.
12889 (WMEMCMP): New macro.
12890 Fix overflow bug.
12891
556a2007
AJ
128922011-10-12 Andreas Jaeger <aj@suse.de>
12893
12894 [BZ #13268]
12895 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12896
538faaa7
UD
128972011-10-15 Ulrich Drepper <drepper@gmail.com>
12898
ab6737ff
UD
12899 * libio/iofwide.c (do_length): Avoid warning.
12900
538faaa7
UD
12901 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12902
396a21b1
UD
129032011-10-14 Ulrich Drepper <drepper@gmail.com>
12904
cdf2901f
UD
12905 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12906
38ad40ce
UD
12907 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12908 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12909 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12910 * sysdeps/i386/i686/fpu/e_log.S: New file.
12911 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12912 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12913
396a21b1
UD
12914 * ctype/ctype.h: Add support for inlined isXXX functions when
12915 compiling C++ code.
12916
6b1f68c9
AS
129172011-10-14 Andreas Schwab <schwab@redhat.com>
12918
349290c0
AS
12919 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12920
6b1f68c9
AS
12921 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12922
f2282d42
RM
129232011-10-13 Roland McGrath <roland@hack.frob.com>
12924
12925 [BZ #13291]
12926 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12927
5298ffa8
AS
129282011-10-13 Andreas Schwab <schwab@redhat.com>
12929
714fad23
AS
12930 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12931 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12932 feraiseexcept.
12933
81dcc7fb
AS
12934 * sysdeps/x86_64/memrchr.S: Check for zero size.
12935
5298ffa8
AS
12936 * string/stratcliff.c: Add memrchr tests.
12937
951fbcec
LD
129382011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12939
12940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12941 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12942 rawmemchr-sse2 rawmemchr-sse2-bsf.
12943 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12944 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12945 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12946 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12947 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12948 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12949 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12950 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12951 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12952 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12953 * string/memrchr.c (MEMRCHR): New macro.
12954
0ac5ae23
UD
129552011-10-12 Ulrich Drepper <drepper@gmail.com>
12956
12957 Add integration with gcc's -ffinite-math-only and optimize wrapper
12958 functions in libm.
12959 * Versions.def: Define GLIBC_2.15 version for libm.
12960 * math/Makefile (headers): Add bits/math-finite.h.
12961 * math/bits/math-finite.h: New file.
12962 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12963 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12964 * math/e_acoshl.c: Add __*_finite alias.
12965 * math/e_acosl.c: Likewise.
12966 * math/e_asinl.c: Likewise.
12967 * math/e_atan2l.c: Likewise.
12968 * math/e_atanhl.c: Likewise.
12969 * math/e_coshl.c: Likewise.
12970 * math/e_exp10.c: Likewise.
12971 * math/e_exp10f.c: Likewise.
12972 * math/e_exp10l.c: Likewise.
12973 * math/e_exp2l.c: Likewise.
12974 * math/e_fmodl.c: Likewise.
12975 * math/e_gammal_r.c: Likewise.
12976 * math/e_hypotl.c: Likewise.
12977 * math/e_j0l.c: Likewise.
12978 * math/e_j1l.c: Likewise.
12979 * math/e_jnl.c: Likewise.
12980 * math/e_lgammal_r.c: Likewise.
12981 * math/e_log10l.c: Likewise.
12982 * math/e_log2l.c: Likewise.
12983 * math/e_logl.c: Likewise.
12984 * math/e_powl.c: Likewise.
12985 * math/e_sinhl.c: Likewise.
12986 * math/e_sqrtl.c: Likewise.
12987 * math/e_scalb.c: Completely rewritten and optimized.
12988 * math/e_scalbf.c: Likewise.
12989 * math/e_scalbl.c: Likewise.
12990 * math/w_acos.c: Likewise.
12991 * math/w_acosf.c: Likewise.
12992 * math/w_acosl.c: Likewise.
12993 * math/w_acosh.c: Likewise.
12994 * math/w_acoshf.c: Likewise.
12995 * math/w_acoshl.c: Likewise.
12996 * math/w_asin.c: Likewise.
12997 * math/w_asinf.c: Likewise.
12998 * math/w_asinl.c: Likewise.
12999 * math/w_atan2.c: Likewise.
13000 * math/w_atan2f.c: Likewise.
13001 * math/w_atan2l.c: Likewise.
13002 * math/w_atanh.c: Likewise.
13003 * math/w_atanhf.c: Likewise.
13004 * math/w_atanhl.c: Likewise.
13005 * math/w_exp10.c: Likewise.
13006 * math/w_exp10f.c: Likewise.
13007 * math/w_exp10l.c: Likewise.
13008 * math/w_fmod.c: Likewise.
13009 * math/w_fmodf.c: Likewise.
13010 * math/w_fmodl.c: Likewise.
13011 * math/w_j0.c: Likewise.
13012 * math/w_j0f.c: Likewise.
13013 * math/w_j0l.c: Likewise.
13014 * math/w_j1.c: Likewise.
13015 * math/w_j1f.c: Likewise.
13016 * math/w_j1l.c: Likewise.
13017 * math/w_jn.c: Likewise.
13018 * math/w_jnf.c: Likewise.
13019 * math/w_log.c: Likewise.
13020 * math/w_logf.c: Likewise.
13021 * math/w_logl.c: Likewise.
13022 * math/w_log10.c: Likewise.
13023 * math/w_log10f.c: Likewise.
13024 * math/w_log10l.c: Likewise.
13025 * math/w_log2.c: Likewise.
13026 * math/w_log2f.c: Likewise.
13027 * math/w_log2l.c: Likewise.
13028 * math/w_pow.c: Likewise.
13029 * math/w_powf.c: Likewise.
13030 * math/w_powl.c: Likewise.
13031 * math/w_remainder.c: Likewise.
13032 * math/w_remainderf.c: Likewise.
13033 * math/w_remainderl.c: Likewise.
13034 * math/w_scalb.c: Likewise.
13035 * math/w_scalbf.c: Likewise.
13036 * math/w_scalbl.c: Likewise.
13037 * math/w_sqrt.c: Likewise.
13038 * math/w_sqrtf.c: Likewise.
13039 * math/w_sqrtl.c: Likewise.
13040 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13041 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13042 used.
13043 * math/math_private.h: Declare __kernel_standard_f.
13044 * math/w_cosh.c: Remove cruft and optimize a bit.
13045 * math/w_coshf.c: Likewise.
13046 * math/w_coshl.c: Likewise.
13047 * math/w_exp2.c: Likewise.
13048 * math/w_exp2f.c: Likewise.
13049 * math/w_exp2l.c: Likewise.
13050 * math/w_hypot.c: Likewise.
13051 * math/w_hypotf.c: Likewise.
13052 * math/w_hypotl.c: Likewise.
13053 * math/w_lgamma.c: Likewise.
13054 * math/w_lgamma_r.c: Likewise.
13055 * math/w_lgammaf.c: Likewise.
13056 * math/w_lgammaf_r.c: Likewise.
13057 * math/w_lgammal.c: Likewise.
13058 * math/w_lgammal_r.c: Likewise.
13059 * math/w_sinh.c: Likewise.
13060 * math/w_sinhf.c: Likewise.
13061 * math/w_sinhl.c: Likewise.
13062 * math/w_tgamma.c: Likewise.
13063 * math/w_tgammaf.c: Likewise.
13064 * math/w_tgammal.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13067 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13068 Minor optimizations. Pretty printing. Remove cruft.
13069 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13070 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13071 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13072 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13073 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13074 * sysdeps/i386/fpu/e_asin.S: Likewise.
13075 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13076 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13077 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13078 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13079 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13080 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13081 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13082 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13083 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13084 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13085 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13086 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13087 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13088 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13089 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13090 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13091 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13092 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13093 * sysdeps/i386/fpu/e_log.S: Likewise.
13094 * sysdeps/i386/fpu/e_log10.S: Likewise.
13095 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13096 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13097 * sysdeps/i386/fpu/e_log2.S: Likewise.
13098 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13099 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13100 * sysdeps/i386/fpu/e_logf.S: Likewise.
13101 * sysdeps/i386/fpu/e_logl.S: Likewise.
13102 * sysdeps/i386/fpu/e_pow.S: Likewise.
13103 * sysdeps/i386/fpu/e_powf.S: Likewise.
13104 * sysdeps/i386/fpu/e_powl.S: Likewise.
13105 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13106 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13107 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13108 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13109 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13110 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13111 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13112 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13113 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13120 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13124 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13135 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13136 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13137 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13138 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13139 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13140 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13141 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13142 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13143 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13144 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13145 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13146 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13147 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13148 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13149 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13150 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13151 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13152 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13153 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13154 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13155 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13170 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13182 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13183 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13184 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13185 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13186 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13189 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13190 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13191 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13194 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13195 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13197 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13198 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13199 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13200 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13201 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13202 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13205 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13206 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13207 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13208 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13209 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13210 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13211 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13212 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13213 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13214 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13215 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13216 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13217 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13218 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13219 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13220 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13221 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13222 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13223 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13224 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13225 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13226 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13227 (__isnanf): Likewise.
13228 (__isinf_ns): Likewise.
13229 (__isinf_nsf): Likewise.
13230 (__finite): Likewise.
13231 (__finitef): Likewise.
13232 (__ieee754_sqrt): Define as macro.
13233 (__ieee754_sqrtf): Define as macro.
13234 (__ieee754_sqrtl): Define as macro.
13235 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13236 inlined copy.
13237 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13238 __FINITE_MATH_ONLY__ consistent.
13239 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13240
12cc2fcd
AS
132412011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13242
a843a204
AS
13243 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13244 of rawmemchr.
13245
12cc2fcd
AS
13246 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13247
c853acd5
UD
132482011-10-09 Ulrich Drepper <drepper@gmail.com>
13249
13250 * po/ja.po: Update from translation team.
13251
c658d255
RM
132522011-10-08 Roland McGrath <roland@hack.frob.com>
13253
110946e4
RM
13254 * locale/programs/locarchive.c (prepare_address_space): New function.
13255 (create_archive, enlarge_archive, open_archive): Use it.
13256
50604220
RM
13257 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13258 inside [SHARED], where it is used.
13259
c658d255
RM
13260 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13261
13262 * nss/getent.c (netgroup_keys): Remove unused variable.
13263 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13264
6a621eb7
UD
132652011-10-08 Ulrich Drepper <drepper@gmail.com>
13266
7edb55ce
UD
13267 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13268 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13270 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13271 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13272 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13273 * math/Makefile (libm-calls): Add s_isinf_ns.
13274 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13275 * math/multc3.c: Likewise.
13276 * math/s_casin.c: Likewise.
13277 * math/s_casinf.c: Likewise.
13278 * math/s_casinl.c: Likewise.
13279 * math/s_ccos.c: Likewise.
13280 * math/s_ccosf.c: Likewise.
13281 * math/s_ccosl.c: Likewise.
13282 * math/s_ctan.c: Likewise.
13283 * math/s_ctanf.c: Likewise.
13284 * math/s_ctanh.c: Likewise.
13285 * math/s_ctanhf.c: Likewise.
13286 * math/s_ctanhl.c: Likewise.
13287 * math/s_ctanl.c: Likewise.
13288 * math/w_fmod.c: Likewise.
13289 * math/w_fmodf.c: Likewise.
13290 * math/w_fmodl.c: Likewise.
13291 * math/w_remainder.c: Likewise.
13292 * math/w_remainderf.c: Likewise.
13293 * math/w_remainderl.c: Likewise.
13294 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13295 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13296 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13298 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13299 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13300 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13301 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13302
187da0ae
UD
13303 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13304 of the number.
13305 * stdio-common/printf_fphex.c: Likewise.
13306 * stdio-common/printf_size.c: Likewise.
13307
9277c064
UD
13308 * math/e_exp10.c: Include math_private.h using <...> not "...".
13309 * math/e_exp10f.c: Likewise.
13310 * math/e_exp10l.c: Likewise.
13311 * math/e_exp2l.c: Likewise.
13312 * math/e_j0l.c: Likewise.
13313 * math/e_j1l.c: Likewise.
13314 * math/e_jnl.c: Likewise.
13315 * math/e_lgammal_r.c: Likewise.
13316 * math/e_rem_pio2l.c: Likewise.
13317 * math/e_scalb.c: Likewise.
13318 * math/e_scalbf.c: Likewise.
13319 * math/e_scalbl.c: Likewise.
13320 * math/k_cosl.c: Likewise.
13321 * math/k_sinl.c: Likewise.
13322 * math/k_tanl.c: Likewise.
13323 * math/s_cacoshf.c: Likewise.
13324 * math/s_catan.c: Likewise.
13325 * math/s_catanf.c: Likewise.
13326 * math/s_catanh.c: Likewise.
13327 * math/s_catanhf.c: Likewise.
13328 * math/s_catanhl.c: Likewise.
13329 * math/s_catanl.c: Likewise.
13330 * math/s_ccosh.c: Likewise.
13331 * math/s_ccoshf.c: Likewise.
13332 * math/s_ccoshl.c: Likewise.
13333 * math/s_cexp.c: Likewise.
13334 * math/s_cexpf.c: Likewise.
13335 * math/s_cexpl.c: Likewise.
13336 * math/s_clog.c: Likewise.
13337 * math/s_clog10.c: Likewise.
13338 * math/s_clog10f.c: Likewise.
13339 * math/s_clog10l.c: Likewise.
13340 * math/s_clogf.c: Likewise.
13341 * math/s_clogl.c: Likewise.
13342 * math/s_csin.c: Likewise.
13343 * math/s_csinf.c: Likewise.
13344 * math/s_csinh.c: Likewise.
13345 * math/s_csinhf.c: Likewise.
13346 * math/s_csinhl.c: Likewise.
13347 * math/s_csinl.c: Likewise.
13348 * math/s_csqrt.c: Likewise.
13349 * math/s_csqrtf.c: Likewise.
13350 * math/s_csqrtl.c: Likewise.
13351 * math/s_ctan.c: Likewise.
13352 * math/s_ctanf.c: Likewise.
13353 * math/s_ctanh.c: Likewise.
13354 * math/s_ctanhf.c: Likewise.
13355 * math/s_ctanhl.c: Likewise.
13356 * math/s_ctanl.c: Likewise.
13357 * math/s_ldexp.c: Likewise.
13358 * math/s_ldexpf.c: Likewise.
13359 * math/s_ldexpl.c: Likewise.
13360 * math/s_significand.c: Likewise.
13361 * math/s_significandf.c: Likewise.
13362 * math/s_significandl.c: Likewise.
13363 * math/w_acos.c: Likewise.
13364 * math/w_acosf.c: Likewise.
13365 * math/w_acosh.c: Likewise.
13366 * math/w_acoshf.c: Likewise.
13367 * math/w_acoshl.c: Likewise.
13368 * math/w_acosl.c: Likewise.
13369 * math/w_asin.c: Likewise.
13370 * math/w_asinf.c: Likewise.
13371 * math/w_asinl.c: Likewise.
13372 * math/w_atan2.c: Likewise.
13373 * math/w_atan2f.c: Likewise.
13374 * math/w_atan2l.c: Likewise.
13375 * math/w_atanh.c: Likewise.
13376 * math/w_atanhf.c: Likewise.
13377 * math/w_atanhl.c: Likewise.
13378 * math/w_cosh.c: Likewise.
13379 * math/w_coshf.c: Likewise.
13380 * math/w_coshl.c: Likewise.
13381 * math/w_dremf.c: Likewise.
13382 * math/w_exp10.c: Likewise.
13383 * math/w_exp10f.c: Likewise.
13384 * math/w_exp10l.c: Likewise.
13385 * math/w_exp2.c: Likewise.
13386 * math/w_exp2f.c: Likewise.
13387 * math/w_fmod.c: Likewise.
13388 * math/w_fmodf.c: Likewise.
13389 * math/w_fmodl.c: Likewise.
13390 * math/w_hypot.c: Likewise.
13391 * math/w_hypotf.c: Likewise.
13392 * math/w_hypotl.c: Likewise.
13393 * math/w_j0.c: Likewise.
13394 * math/w_j0f.c: Likewise.
13395 * math/w_j0l.c: Likewise.
13396 * math/w_j1.c: Likewise.
13397 * math/w_j1f.c: Likewise.
13398 * math/w_j1l.c: Likewise.
13399 * math/w_jn.c: Likewise.
13400 * math/w_jnf.c: Likewise.
13401 * math/w_jnl.c: Likewise.
13402 * math/w_lgamma.c: Likewise.
13403 * math/w_lgamma_r.c: Likewise.
13404 * math/w_lgammaf.c: Likewise.
13405 * math/w_lgammaf_r.c: Likewise.
13406 * math/w_lgammal.c: Likewise.
13407 * math/w_lgammal_r.c: Likewise.
13408 * math/w_log.c: Likewise.
13409 * math/w_log10.c: Likewise.
13410 * math/w_log10f.c: Likewise.
13411 * math/w_log10l.c: Likewise.
13412 * math/w_log2.c: Likewise.
13413 * math/w_log2f.c: Likewise.
13414 * math/w_log2l.c: Likewise.
13415 * math/w_logf.c: Likewise.
13416 * math/w_logl.c: Likewise.
13417 * math/w_pow.c: Likewise.
13418 * math/w_powf.c: Likewise.
13419 * math/w_powl.c: Likewise.
13420 * math/w_remainder.c: Likewise.
13421 * math/w_remainderf.c: Likewise.
13422 * math/w_remainderl.c: Likewise.
13423 * math/w_scalb.c: Likewise.
13424 * math/w_scalbf.c: Likewise.
13425 * math/w_scalbl.c: Likewise.
13426 * math/w_sinh.c: Likewise.
13427 * math/w_sinhf.c: Likewise.
13428 * math/w_sinhl.c: Likewise.
13429 * math/w_sqrt.c: Likewise.
13430 * math/w_sqrtf.c: Likewise.
13431 * math/w_sqrtl.c: Likewise.
13432 * math/w_tgamma.c: Likewise.
13433 * math/w_tgammaf.c: Likewise.
13434 * math/w_tgammal.c: Likewise.
13435
6a621eb7
UD
13436 * po/ja.po: Update from translation team.
13437
bf582445
AJ
134382011-09-29 Andreas Jaeger <aj@suse.de>
13439
f9efbf3a
AJ
13440 [BZ #13179]
13441 * sunrpc/netname.c (netname2host): Fix logic.
13442
bf582445
AJ
13443 [BZ #6779]
13444 [BZ #6783]
13445 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13446 correctly.
13447 * math/w_remainder.c (__remainder): Likewise.
13448 * math/w_remainderf.c (__remainderf): Likewise.
13449 * math/libm-test.inc (remainder_test): Add test cases.
13450
48693bea
AK
134512011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13452
13453 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13454 sdiv_qrnnd.
13455
42622229
LD
134562011-10-07 Ulrich Drepper <drepper@gmail.com>
13457
13458 * string/test-memcmp.c: Avoid unncessary #defines.
13459 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13460
093ecf92
LD
134612011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13462
13463 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13464 Use new sse2 version for core i3 - i7 as it's faster
13465 than sse42 version.
13466 (bit_Prefer_PMINUB_for_stringop): New.
13467 * sysdeps/x86_64/rawmemchr.S: Update.
13468 Replace with faster SSE2 version.
13469 * sysdeps/x86_64/memrchr.S: New file.
13470 * sysdeps/x86_64/memchr.S: Update.
13471 Replace with faster SSE2 version.
13472
fde56e5c
MP
134732011-09-12 Marek Polacek <mpolacek@redhat.com>
13474
13475 * elf/dl-load.c (lose): Add cast to avoid warning.
13476
21fd49a9
UD
134772011-10-07 Ulrich Drepper <drepper@gmail.com>
13478
5a06e643
UD
13479 * po/ca.po: Update from translation team.
13480
684ae515
UD
13481 * inet/getnetgrent_r.c: Hook up nscd.
13482 * nscd/Makefile (routines): Add nscd_netgroup.
13483 (nscd-modules): Add netgroupcache.
13484 (CFLAGS-netgroupcache.c): Define.
13485 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13486 (cache_search): Add const to second parameter.
13487 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13488 INNETGR.
13489 (dbs): Add netgrdb entry.
13490 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13491 (verify_persistent_db): Handle netgrdb.
13492 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13493 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13494 GETFDNETGR.
13495 (netgroup_response_header): Define.
13496 (innetgroup_response_header): Define.
13497 (datahead): Add netgroup_response_header and innetgroup_response_header
13498 elements.
13499 * nscd/nscd.conf: Add entries for netgroup cache.
13500 * nscd/nscd.h (dbtype): Add netgrdb.
13501 (_PATH_NSCD_NETGROUP_DB): Define.
13502 (netgroup_iov_disabled): Declare.
13503 (xmalloc, xcalloc, xrealloc): Move declarations here.
13504 (cache_search): Adjust prototype.
13505 Add netgroup-related prototypes.
13506 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13507 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13508 (__nscd_innetgr): Declare.
13509 * nscd/selinux.c (perms): Use access_vector_t as element type and
13510 add netgroup-related initializers.
13511 * nscd/netgroupcache.c: New file.
13512 * nscd/nscd_netgroup.c: New file.
13513 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13514 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13515 For four parameters use innetgr.
13516 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13517 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13518 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13519 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13520
21fd49a9
UD
13521 * nscd/connections.c (register_traced_file): Don't register file
13522 for disabled databases.
13523
054c0457
UD
135242011-10-06 Ulrich Drepper <drepper@gmail.com>
13525
32b63198
UD
13526 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13527
054c0457
UD
13528 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13529 from tree and freeing node.
13530
64031225
JO
135312011-09-25 Jiri Olsa <jolsa@redhat.com>
13532
13533 * nss/nsswitch.c (__nss_database_lookup): Handle
13534 nss_parse_service_list out of memory case.
13535
0490345c
JO
135362011-09-15 Jiri Olsa <jolsa@redhat.com>
13537
13538 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13539 out of memory case.
13540
3a62d00d
AS
135412011-10-04 Andreas Schwab <schwab@redhat.com>
13542
13543 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13544 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13545 pass it down.
13546 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13547 elf_machine_rela, elf_machine_lazy_rel.
13548 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13549 (ELF_DYNAMIC_DO_REL): Likewise.
13550 (ELF_DYNAMIC_DO_RELA): Likewise.
13551 (ELF_DYNAMIC_RELOCATE): Likewise.
13552 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13553 to ELF_DYNAMIC_DO_REL.
13554 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13555 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13556 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13557 elf_machine_rela.
13558 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13559 skip_ifunc, don't call ifunc function if non-zero.
13560 (elf_machine_rela): Likewise.
13561 (elf_machine_lazy_rel): Likewise.
13562 (elf_machine_lazy_rela): Likewise.
13563 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13564 (elf_machine_lazy_rel): Likewise.
13565 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13566 Likewise.
13567 (elf_machine_lazy_rel): Likewise.
13568 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13569 Likewise.
13570 (elf_machine_lazy_rel): Likewise.
13571 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13572 (elf_machine_lazy_rel): Likewise.
13573 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13574 (elf_machine_lazy_rel): Likewise.
13575 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13576 (elf_machine_lazy_rel): Likewise.
13577 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13578 (elf_machine_lazy_rel): Likewise.
13579 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13580 (elf_machine_lazy_rel): Likewise.
13581 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13582 (elf_machine_lazy_rel): Likewise.
13583
68577918
UD
135842011-09-28 Ulrich Drepper <drepper@gmail.com>
13585
13586 * nss/nss_files/files-init.c (_nss_files_init): Use static
13587 initialization for all the *_traced_file variables.
13588
68822d74
AS
135892011-09-28 Andreas Schwab <schwab@redhat.com>
13590
13591 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13592
2056100b
RM
135932011-09-27 Roland McGrath <roland@hack.frob.com>
13594
13595 [BZ #13226]
13596 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13597
32c76b63
AS
135982011-09-27 Andreas Schwab <schwab@redhat.com>
13599
13600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13601 Reread the line before reparsing it.
13602
bf972c9d
AS
136032011-09-26 Andreas Schwab <schwab@redhat.com>
13604
13605 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13606
e057a1b5
JM
136072011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13608 Maxim Kuvyrkov <maxim@codesourcery.com>
13609 Joseph Myers <joseph@codesourcery.com>
13610
13611 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13612 if needed for __stack_chk_guard.
13613
bc7e1c36
RM
136142011-09-19 Roland McGrath <roland@hack.frob.com>
13615
ecb1482f
RM
13616 * sysdeps/posix/spawni.c (script_execute): Always define it.
13617 It will be optimized away if unused.
13618 (maybe_script_execute): New function.
13619 (__spawni): Call it.
13620
bc7e1c36
RM
13621 * Makerules: Don't include tls.make.
13622 (config-tls): Always set to thread.
13623 * tls.make.c: File removed.
13624
1c3b002b
MF
136252011-09-19 Mike Frysinger <vapier@gentoo.org>
13626
13627 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13628 * config.make.in (CPPFLAGS-config): New substituted variable.
13629
2840865d
UD
136302011-09-15 Ulrich Drepper <drepper@gmail.com>
13631
88738eb6
UD
13632 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13633
cbf645a6 13634 [BZ #13192]
2840865d
UD
13635 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13636 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13637
b402e91a
RM
136382011-09-15 Roland McGrath <roland@hack.frob.com>
13639
13640 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13641 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13642 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13643 (CALL_FAIL): Likewise.
13644 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13645 (CALL_FAIL): Macro removed.
13646 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13647
4c1a1f71
UD
136482011-09-15 Ulrich Drepper <drepper@gmail.com>
13649
13650 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13651 for __FINITE_MATH_ONLY__ == 1.
13652
edc121be
AS
136532011-09-15 Andreas Schwab <schwab@redhat.com>
13654
13655 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13656 __ieee754_sqrt instead of sqrt.
13657 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13658 __ieee754_sqrtf instead of sqrtf.
13659 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13660 __floorf instead of floorf.
13661 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13662 __floorf, __truncf instead of floorf, truncf.
13663
cd205654
UD
136642011-09-14 Ulrich Drepper <drepper@gmail.com>
13665
ee4d0315
UD
13666 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13667
cd205654
UD
13668 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13669 __extern_always_inline.
13670 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13671 32-bit.
13672
48b67d71
AS
136732011-09-14 Andreas Schwab <schwab@redhat.com>
13674
13675 * elf/rtld.c (dl_main): Also relocate in dependency order when
13676 doing symbol dependency testing.
13677
1ae12c75
AS
136782011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13679
13680 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13681 Always define `refsym'.
13682
995a80df
AS
136832011-09-13 Andreas Schwab <schwab@redhat.com>
13684
e529793b
AS
13685 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13686 (__FD_ELT): Renamed from __FDELT.
13687 * misc/bits/select2.h (__FD_ELT): Likewise.
13688 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13689 __FD_MASK instead of __FDELT, __FDMASK.
13690 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13691 Likewise.
13692 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13693 Likewise.
13694
52d4fef8
AS
13695 * elf/Makefile (gen-ldd): Fix pattern.
13696
995a80df
AS
13697 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13698 (init_tls): Likewise.
13699
8682f8b0
UD
137002011-09-12 Ulrich Drepper <drepper@gmail.com>
13701
13702 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13703
de82006d
AS
137042011-09-12 Andreas Schwab <schwab@redhat.com>
13705
a7c8e6a1
AS
13706 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13707 `struct cmsghdr *' instead of `void *'.
13708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13709 Likewise.
13710
0f31fe77
AS
137112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13712
13713 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13714 if non-absolute.
13715 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13716 ldd_rewrite_script.
0f31fe77 13717
32b4c839
UD
137182011-09-11 Ulrich Drepper <drepper@gmail.com>
13719
83cd1420
UD
13720 * configure.in: Remove --with-tls option.
13721 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13722 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13723 out in case it is missing.
13724 * sysdeps/ia64/elf/configure.in: Likewise.
13725 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13726 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13727 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13728 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13729 * sysdeps/sh/elf/configure.in: Likewise.
13730 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13731 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13732 * sysdeps/x86_64/elf/configure.in: Likewise.
13733 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13734 * sysdeps/mach/hurd/tls.h: Likewise.
13735
633f745d
UD
13736 [BZ #13067]
13737 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13738
f318beb8
UD
13739 [BZ #13090]
13740 * configure.in: Fix use of AC_INIT.
13741
32b4c839
UD
13742 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13743
3ce1f295
UD
137442011-09-10 Ulrich Drepper <drepper@gmail.com>
13745
bb016596
UD
13746 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13747 __set_errno.
8e58439c
UD
13748 * malloc/hooks.c: Likewise.
13749
aebae053 13750 [BZ #11929]
02d46fc4
UD
13751 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13752 variables statically.
13753 (narenas): Initialize.
13754 (list_lock): Initialize.
bb016596
UD
13755 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13756 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13757 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13758 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13759 Add initializers to main_arena and mp_.
13760 (malloc_state): Remove pagesize member. Change all users to use
13761 GLRO(dl_pagesize).
13762
13763 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13764 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13765 is always initialized.
13766
22a89187
UD
13767 * malloc/malloc.c: Removed unused configurations and dead code.
13768 * malloc/arena.c: Likewise.
13769 * malloc/hooks.c: Likewise.
02d46fc4 13770 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13771
d063d164
UD
13772 * include/tls.h: Removed. USE___THREAD must always be defined.
13773 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13774 * elf/dl-libc.c: Likewise.
13775 * elf/dl-tsd.c: Likewise.
13776 * include/errno.h: Likewise.
13777 * include/netdb.h: Likewise.
13778 * include/resolv.h: Likewise.
13779 * inet/herrno-loc.c: Likewise.
13780 * inet/herrno.c: Likewise.
13781 * malloc/arena.c: Likewise.
13782 * malloc/hooks.c: Likewise.
13783 * malloc/malloc.c: Likewise.
13784 * resolv/res-state.c: Likewise.
13785 * resolv/res_libc.c: Likewise.
13786 * sysdeps/i386/dl-machine.h: Likewise.
13787 * sysdeps/ia64/dl-machine.h: Likewise.
13788 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13789 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13790 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13791 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13792 * sysdeps/sh/dl-machine.h: Likewise.
13793 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13794 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13795 * sysdeps/unix/i386/sysdep.S: Likewise.
13796 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13797 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13798 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13799 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13801 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13802 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13803 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13806 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13807 * sysdeps/x86_64/dl-machine.h: Likewise.
13808 * tls.make.c: Likewise.
13809
3ce1f295
UD
13810 * configure.in: Remove --with-__thread option. Make tests for
13811 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13812 tls_model attribute fail if no support is available. Remove
13813 USE_IN_LIBIO.
13814 * Makeconfig: Adjust for dropped configure option. All features are
13815 now mandatory.
13816 * Makerules: Likewise.
13817 * Versions.def: Likewise.
13818 * argp/argp-fmtstream.c: Likewise.
13819 * argp/argp-fmtstream.h: Likewise.
13820 * argp/argp-help.c: Likewise.
13821 * assert/assert.c: Likewise.
13822 * config.h.in: Likewise.
13823 * config.make.in: Likewise.
13824 * configure: Likewise.
13825 * configure.in: Likewise.
13826 * csu/Versions: Likewise.
13827 * csu/init.c: Likewise.
13828 * elf/tst-audit2.c: Likewise.
13829 * elf/tst-tls10.c: Likewise.
13830 * elf/tst-tls10.h: Likewise.
13831 * elf/tst-tls11.c: Likewise.
13832 * elf/tst-tls12.c: Likewise.
13833 * elf/tst-tls14.c: Likewise.
13834 * elf/tst-tlsmod11.c: Likewise.
13835 * elf/tst-tlsmod12.c: Likewise.
13836 * elf/tst-tlsmod13.c: Likewise.
13837 * elf/tst-tlsmod13a.c: Likewise.
13838 * elf/tst-tlsmod14a.c: Likewise.
13839 * elf/tst-tlsmod15b.c: Likewise.
13840 * elf/tst-tlsmod16a.c: Likewise.
13841 * elf/tst-tlsmod16b.c: Likewise.
13842 * elf/tst-tlsmod7.c: Likewise.
13843 * elf/tst-tlsmod8.c: Likewise.
13844 * elf/tst-tlsmod9.c: Likewise.
13845 * gmon/gmon.c: Likewise.
13846 * grp/fgetgrent_r.c: Likewise.
13847 * grp/putgrent.c: Likewise.
13848 * hurd/fopenport.c: Likewise.
13849 * include/libc-symbols.h: Likewise.
13850 * include/tls.h: Likewise.
13851 * intl/gettextP.h: Likewise.
13852 * intl/loadinfo.h: Likewise.
13853 * locale/global-locale.c: Likewise.
13854 * locale/localeinfo.h: Likewise.
13855 * mach/devstream.c: Likewise.
13856 * malloc/arena.c: Likewise.
13857 * malloc/set-freeres.c: Likewise.
13858 * misc/err.c: Likewise.
13859 * misc/getttyent.c: Likewise.
13860 * misc/mntent_r.c: Likewise.
13861 * posix/getopt.c: Likewise.
13862 * posix/wordexp.c: Likewise.
13863 * pwd/fgetpwent_r.c: Likewise.
13864 * resolv/Versions: Likewise.
13865 * resolv/res_hconf.c: Likewise.
13866 * shadow/fgetspent_r.c: Likewise.
13867 * shadow/putspent.c: Likewise.
13868 * stdio-common/printf_fphex.c: Likewise.
13869 * stdio-common/tmpfile.c: Likewise.
13870 * stdlib/abort.c: Likewise.
13871 * stdlib/fmtmsg.c: Likewise.
13872 * sunrpc/auth_unix.c: Likewise.
13873 * sunrpc/clnt_perr.c: Likewise.
13874 * sunrpc/clnt_tcp.c: Likewise.
13875 * sunrpc/clnt_udp.c: Likewise.
13876 * sunrpc/clnt_unix.c: Likewise.
13877 * sunrpc/openchild.c: Likewise.
13878 * sunrpc/svc_simple.c: Likewise.
13879 * sunrpc/svc_tcp.c: Likewise.
13880 * sunrpc/svc_udp.c: Likewise.
13881 * sunrpc/svc_unix.c: Likewise.
13882 * sunrpc/xdr.c: Likewise.
13883 * sunrpc/xdr_array.c: Likewise.
13884 * sunrpc/xdr_rec.c: Likewise.
13885 * sunrpc/xdr_ref.c: Likewise.
13886 * sunrpc/xdr_stdio.c: Likewise.
13887
1248c1c4
PB
138882011-09-09 Ulrich Drepper <drepper@gmail.com>
13889
13890 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13891
138922011-07-03 Andreas Jaeger <aj@suse.de>
13893
13894 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13895 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13896 regenerate with gen-libm-tests.pl.
13897
138982010-05-12 Petr Baudis <pasky@suse.cz>
13899
13900 [BZ #11589]
13901 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13902 around j0() zero points by switching to j1().
13903 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13907
f22e1074
UD
139082011-09-09 Ulrich Drepper <drepper@gmail.com>
13909
f19009c1
UD
13910 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13911 instead of 0.
13912 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13913 instead of 0. .
13914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13915 Patch in part by Pavel Roskin <proski@gnu.org>.
13916
3f8cc204
UD
13917 [BZ #13138]
13918 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13919 realloc.
13920 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13921 Free memory block if necessary.
13922
f22e1074
UD
13923 [BZ #12847]
13924 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13925 be NULL. Don't lock in this case.
13926
0a2349f9
RM
139272011-09-09 Roland McGrath <roland@hack.frob.com>
13928
13929 * elf/elf.h (ELFOSABI_GNU): New macro.
13930 (ELFOSABI_LINUX): Define to that.
13931
f3cdd467
DZ
139322011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13933
13934 * string/strncat.c (strncat): Undef the symbol in case it has been
13935 defined in bits/string.h.
13936
74718d13
UD
139372011-09-09 Ulrich Drepper <drepper@gmail.com>
13938
633e9e0f
UD
13939 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13940
0a2349f9 13941 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13942 link map.
13943
f9924780
AJ
139442011-08-17 Andreas Jaeger <aj@suse.de>
13945
13946 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13947
7f5517aa
PP
139482011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13949 Ian Lance Taylor <iant@google.com>
13950
13951 * math/libm-test.inc (lround_test): New testcase.
13952 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13953
762011fe
UD
139542011-09-08 Ulrich Drepper <drepper@gmail.com>
13955
92963737
UD
13956 * Makefile: Remove support for automatic cvs check-ins.
13957 * Makerules: Likewise.
13958 * config.make.in: Likewise.
13959 * configure.in: Likewise.
13960 * intl/Makefile: Likewise.
13961 * locale/Makefile: Likewise.
13962 * po/Makefile: Likewise.
13963 * posix/Makefile: Likewise.
13964 * sysdeps/gnu/Makefile: Likewise.
13965 * sysdeps/mach/hurd/Makefile: Likewise.
13966 * sysdeps/sparc/sparc32/Makefile: Likewise.
13967
b0727fd8
JS
13968 [BZ #13118]
13969 * posix/Makefile (bug-regex32-ENV): Define.
13970 Patch by John Stanley <jpsinthemix@verizon.net>.
13971
a0f33f99
UD
13972 * misc/Makefile (headers): Add bits/select2.h.
13973 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13974 * misc/bits/select2.h: New file.
13975 * include/bits/select2.h: New file.
13976 * debug/Makefile (routines): Add fdelt_chk.
13977 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13978 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13979 FD_ISSET.
13980 * debug/fdelt_chk.c: New file.
13981
762011fe
UD
13982 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13983 * wcsmbs/test-wmemcmp.c: Likewise.
13984 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13985 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13986
139872011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13988
13989 * string/Makefile (strop-tests): Add memcmp.
13990 * string/test-wmemcmp.c: New file.
13991 * string/test-memcmp.c: Add wmemcmp support.
13992
7f513ec8
RM
139932011-09-08 Roland McGrath <roland@hack.frob.com>
13994
0442afb4
RM
13995 [BZ #13153]
13996 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13997 2011-07-19 change.
13998
7f513ec8
RM
13999 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14000 garbage value in a __mach_port_mod_refs call in the cases of the
14001 task-self and thread-self ports.
14002
a12b2239
ST
140032011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14004
14005 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14006
610f9ab4
AS
140072011-09-08 Andreas Schwab <schwab@redhat.com>
14008
7f513ec8 14009 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14010
48882a1a
LD
140112011-09-07 Ulrich Drepper <drepper@gmail.com>
14012
b49865be
UD
14013 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14014
fdc86bc9
UD
14015 * elf/dl-libc.c (dlerror_run): Pass back error code from
14016 dl_catch_error.
14017
c966526a
UD
14018 [BZ #13123]
14019 * elf/dl-load.c (lose): Free l_origin if it is valid.
14020
48882a1a
LD
14021 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14022 names.
14023 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14024 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14025 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14026 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14027 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14028 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14029
77a2a8b4
AZ
140302011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14031
14032 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14033 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14034 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14035 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14036 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14037 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14038 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14039 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14040 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14041 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14042
24f579d8
AM
140432011-08-15 Alan Modra <amodra@gmail.com>
14044
14045 [BZ #13092]
14046 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14047 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14048 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14049 ppc_mcount to static-only-routines.
14050 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14051 __mcount_internal.
14052 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14053 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14054
3d4837df
UD
140552011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14056
14057 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14058 for finite and infinity parameters.
14059
22700377
WS
140602011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14061
14062 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14063 and add nop instructions for throughput optimization.
14064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14065
5025581e
WS
140662011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14067
14068 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14069 aligned copy for power7 with vector-scalar instructions.
14070 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14071
08a300c9
L
140722011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14073
14074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14075 AVX check.
14076
59178ef9
AS
140772011-09-07 Andreas Schwab <schwab@redhat.com>
14078
14079 [BZ #13144]
14080 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14081 last change.
14082
e38ba7ab
UD
140832011-09-07 Ulrich Drepper <drepper@gmail.com>
14084
14085 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14086 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14087 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14088 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14089 clock_gettime.
14090
d53a73ac
UD
140912011-09-06 Ulrich Drepper <drepper@gmail.com>
14092
fc8bffcc
UD
14093 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14094 Forgot to demangle the pointer.
14095
ceaa0c5d
UD
14096 * sysdeps/i386/sysdep.h: Define atom_text_section.
14097 * sysdeps/x86_64/sysdep.h: Likewise.
14098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14099 section with atom_text_section.
14100 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14101 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14102 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14103 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14104 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14105
a77d3c17
UD
14106 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14107 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14108 already be defined. Change to take two parameters and don't assign
14109 result to variable. Adjust all users.
14110 Define INTERNAL_GETTIME if not already defined.
14111 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14112 call.
14113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14114 HAVE_CLOCK_GETTIME_VSYSCALL.
14115 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14116
d53a73ac
UD
14117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14118 gettimeofday vsyscall, just use time.
14119
a8f84144
AS
141202011-09-06 Andreas Schwab <schwab@redhat.com>
14121
14122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14123 <errno.h>.
14124
ef606249
UD
141252011-09-06 Ulrich Drepper <drepper@gmail.com>
14126
14127 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14128 syscall on x86-64.
14129 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14130 syscall.
14131 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14133 syscall if possible.
14134
6585cb60
UD
141352011-09-05 Ulrich Drepper <drepper@gmail.com>
14136
14137 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14138 e_ident. Don't pass to find_mapsXX.
14139 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14140
a5f524e4
LD
141412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14142
14143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14144 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14145 * sysdeps/x86_64/multiarch/strchr.S: Update.
14146 Check bit_slow_BSF bit.
14147 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14148 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14149 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14150
554881ef
UD
141512011-09-05 Ulrich Drepper <drepper@gmail.com>
14152
d96de963
UD
14153 [BZ #13134]
14154 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14155 before glibc 2.15.
14156 (tryshell): Define.
14157 (__spawni): Change last parameter to be flag. Test
14158 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14159 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14160 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14161 * posix/spawni.c: Likewise.
14162 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14163 * posix/spawnp.c: Likewise. Change normal version to use
14164 SPAWN_XFLAGS_USE_PATH.
14165 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14166 SPAWN_XFLAGS_TRY_SHELL.
14167
d48e5868
UD
14168 [BZ #13150]
14169 * posix/glob.h: Remove gcc 1.x support.
14170
554881ef
UD
14171 [BZ #13068]
14172 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14173
693fb948
LD
141742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14175
14176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14177 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14178 strrchr-sse2-bsf
14179 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14180 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14181 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14182 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14183 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14184 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14185
1b48c537
UD
141862011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14187
49d42c37
UD
14188 * sysdeps/x86_64/wcscmp.S: New file.
14189
1b48c537
UD
14190 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14191 wcscmp-c wcscmp-sse2
14192 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14193 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14194 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14195 * wcsmbs/wcscmp.c: Allow renaming.
14196
15c95c5d
DM
141972011-09-05 David S. Miller <davem@davemloft.net>
14198
14199 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14200 stack slot, rather than the struct return pointer slot.
14201 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14202 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14204 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14205
2f0ad8f3
UD
142062011-09-05 Ulrich Drepper <drepper@gmail.com>
14207
d88ae418
UD
14208 * po/ja.po: Update from translation team.
14209
2f0ad8f3
UD
14210 [BZ #13144]
14211 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14212 kernel in 64-bit binaries.
14213
5f4318d1
DM
142142011-09-01 David S. Miller <davem@davemloft.net>
14215
14216 * elf/elf.h (HWCAP_SPARC_*): Move to..
14217 * sysdeps/sparc/sysdep.h: this new file and add new values.
14218 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14219 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14220 _DL_HWCAP_COUNT to 24.
14221 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14222 entries.
14223 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14224 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14225 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14227 instead of magic constants.
14228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14229
3ba57516
DM
142302011-08-31 David S. Miller <davem@davemloft.net>
14231
14232 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14234 Reimplement to do errno handling inline.
14235 (SYSCALL_ERROR_HANDLER): New macro.
14236 (__SYSCALL_STRING): Do not do errno handling in asm.
14237 (__CLONE_SYSCALL_STRING): Delete.
14238 (__INTERNAL_SYSCALL_STRING): Delete.
14239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14240 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14241 (PSEUDO): Reimplement to do errno handling inline.
14242 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14243 (SYSCALL_ERROR_HANDLER): New macro.
14244 (__SYSCALL_STRING): Do not do errno handling in asm.
14245 (__CLONE_SYSCALL_STRING): Delete.
14246 (__INTERNAL_SYSCALL_STRING): Delete.
14247 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14248 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14249 i386.
14250 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14251 (inline_syscall*): Add 'err' argument.
14252 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14253 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14254 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14255 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14256
14257 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14258 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14259
2bc17433
AS
142602011-08-30 Andreas Schwab <schwab@redhat.com>
14261
14262 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14263
fbeb5f4d
JO
142642011-08-29 Jiri Olsa <jolsa@redhat.com>
14265
14266 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14267 directive.
14268
ad69cc26
DM
142692011-08-24 David S. Miller <davem@davemloft.net>
14270
14271 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14272
39dd69df
AS
142732011-08-24 Andreas Schwab <schwab@redhat.com>
14274
14275 * elf/Makefile: Add rules to build and run unload8 test.
14276 * elf/unload8.c: New file.
14277 * elf/unload8mod1.c: New file.
14278 * elf/unload8mod1x.c: New file.
14279 * elf/unload8mod2.c: New file.
14280 * elf/unload8mod3.c: New file.
14281
14282 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14283 it wasn't used.
14284
2c0b250a
DM
142852011-08-23 David S. Miller <davem@davemloft.net>
14286
14287 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14288 subtract stack bias.
14289 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14290 %sp not %fp in calculations.
14291 (_JMPBUF_UNWINDS_ADJ): Likewise.
14292
22044b48
DM
14293 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14294 (aio_suspend): Call it to force an exception region around the
14295 AIO_MISC_WAIT() invocation.
14296
2cae4995
AS
142972011-08-23 Andreas Schwab <schwab@redhat.com>
14298
14299 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14300 backslash.
14301
873a772e
AJ
143022011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14303
14304 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14305 protection macro.
14306 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14307 and <dl-machine.h>.
14308 (Elf64_FuncDesc): Remove.
14309
25ad0df1
DM
143102011-08-22 David S. Miller <davem@davemloft.net>
14311
14312 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14313 sigaltstack check, add missing cfi directives.
14314 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14315 missing cfi directives, and sigaltstack handling.
14316
e888bcbe
AS
143172011-08-16 Andreas Schwab <schwab@redhat.com>
14318
14319 [BZ #11724]
14320 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14321 object is seen twice.
14322 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14323
14324 * elf/Makefile (distribute): Add tst-initorder2.c.
14325 (tests): Add tst-initorder2.
14326 (modules-names): Add tst-initorder2a tst-initorder2b
14327 tst-initorder2c tst-initorder2d. Add rules to build them.
14328 ($(objpfx)tst-initorder2.out): New rule.
14329 * elf/tst-initorder2.c: New file.
14330 * elf/tst-initorder2.exp: New file.
14331
87162f46
AS
143322011-08-22 Andreas Schwab <schwab@redhat.com>
14333
70538b7f
AS
14334 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14335
f55ffe58
AS
14336 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14337 dependencies back to end of function.
14338
87162f46
AS
14339 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14340 $(elfobjdir)/ld.so.
14341
91b392a4
UD
143422011-08-21 Ulrich Drepper <drepper@gmail.com>
14343
14344 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14345 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14346 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14347 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14348 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14349 of __vdso_gettimeofday.
14350 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14351 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14352 attribute_hidden.
14353 (_libc_vdso_platform_setup): Remove initialization of
14354 __vdso_gettimeofday and __vdso_time.
14355
5c43483f
UD
143562011-08-20 Ulrich Drepper <drepper@gmail.com>
14357
775a77e7
UD
14358 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14359 and fgetc_unlocked.
14360 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14361 getc_unlocked.
89f447ed 14362
49c74ba9
UD
14363 * elf/dl-open.c (add_to_global): Report additions to the global scope
14364 for LD_DEBUG=scopes.
14365 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14366 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14367
5c43483f
UD
14368 [BZ #13114]
14369 * stdio-common/Makefile (tests): Add bug24.
14370 * stdio-common/bug24.c: New file.
14371
a101b025
AJ
143722011-08-19 Andreas Jaeger <aj@suse.de>
14373
14374 [BZ #13114]
14375 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14376 non-existant file when using close-on-exec mode.
14377
c88f1766
UD
143782011-08-20 Ulrich Drepper <drepper@gmail.com>
14379
0276a718
UD
14380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14381 the very first instruction.
14382
c88f1766
UD
14383 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14384 the CFI state in the end.
14385 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14386 inclusion of dl-trampoline.h.
14387 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14388
51ccffa0
AS
143892011-08-19 Andreas Schwab <schwab@redhat.com>
14390
94d7165f
AS
14391 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14392 expectations for long double.
14393
51ccffa0
AS
14394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14395 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14396
fd708658 143972011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14398
14399 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14400 artificual limit depends upon the system page size.
14401
44f0a71e
UD
144022011-08-17 Ulrich Drepper <drepper@gmail.com>
14403
14404 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14405 * resolv/Makefile: Define CFLAGS-libresolv.
14406
8de79a24
AS
144072011-08-17 Andreas Schwab <schwab@redhat.com>
14408
14409 * nss/makedb.c (compute_tables): Make variables used in nested
14410 function static.
14411
27724598
UD
144122011-08-17 Ulrich Drepper <drepper@gmail.com>
14413
c5305d88
UD
14414 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14415 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14416 if buffer was too small.
14417
27724598
UD
14418 * elf/pldd.c (main): Attach to all threads in the process.
14419 Rewrite /proc handling to use *at functions.
14420
076fe015
UD
144212011-08-16 Ulrich Drepper <drepper@gmail.com>
14422
174baab3
UD
14423 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14424 specifies first scope to show.
14425 (dl_open_worker): Update callers. Move printing scope of new
14426 object to before the relocation.
44f0a71e 14427 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14428 * sysdeps/generic/ldsodefs.h: Update declaration.
14429
076fe015
UD
14430 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14431 string for the scope number.
14432
a60df2c3
UD
144332011-08-14 Ulrich Drepper <drepper@gmail.com>
14434
14435 * nscd/servicescache.c (cache_addserv): Make sure written is always
14436 initialized.
14437
5e4287d1
RM
144382011-08-14 Roland McGrath <roland@hack.frob.com>
14439
85ae0589
RM
14440 * sysdeps/i386/i486/bits/atomic.h
14441 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14442 statement expression, so as to suppress "set but not used" warning.
14443 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14444
69f63097
RM
14445 * string/strncat.c (STRNCAT): Use prototype definition.
14446
675456ef
RM
14447 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14448 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14449 -Iprograms here.
14450 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14451 (localedef-modules): Add localedef.
14452 (locale-modules): Add locale.
14453
5e4287d1
RM
14454 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14455 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14456 to avoid a warning.
14457
9c96ff23
DM
144582011-08-14 David S. Miller <davem@davemloft.net>
14459
14460 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14461 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14462
f9ddf089
UD
144632011-08-13 Ulrich Drepper <drepper@gmail.com>
14464
44f0a71e 14465 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14466 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14467 * elf/rtld.c (dl_main): Set l_name of vDSO.
14468 Call _dl_show_scope when DL_DEBUG_SCOPES.
14469 (process_dl_debug): Recognize scopes flag and also set it for all.
14470 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14471 Declare _dl_show_scope.
14472
1dc27704
UD
14473 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14474 (do_dlopen): Pass caller_dlopen to dl_open.
14475 (__libc_dlopen_mode): Initialize caller_dlopen.
14476
f9ddf089
UD
14477 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14478 of libc. Make tolower call locale-independent. Optimize a bit by
14479 using isdigit instead of isalnum.
14480 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14481
9ac533d3
UD
144822011-08-12 Ulrich Drepper <drepper@gmail.com>
14483
14484 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14485 was a dependency or dynamically loaded.
14486
89edf2e9
UD
144872011-08-11 Ulrich Drepper <drepper@gmail.com>
14488
8e999d29
UD
14489 * intl/l10nflist.c: Allow architecture-specific pop function.
14490 * sysdeps/x86_64/l10nflist.c: New file.
14491
89edf2e9
UD
14492 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14493 classification.
14494
14d96785
AS
144952011-08-10 Andreas Schwab <schwab@redhat.com>
14496
14497 * include/dirent.h: Add libc_hidden_proto for scandirat and
14498 scandirat64. Don't declare __scandirat64.
14499 * dirent/scandirat.c: Add libc_hidden_def.
14500 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14501 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14502
6761ac04
DM
145032011-08-10 David S. Miller <davem@davemloft.net>
14504
14505 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14506 enum.
14507 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14509 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14510
c55fbd1e
UD
145112011-08-09 Ulrich Drepper <drepper@gmail.com>
14512
14513 * Versions.def [libc]: Add GLIBC_2.15.
14514 * dirent/Makefile (routines): Add scandirat and scandirat64.
14515 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14516 GLIBC_2.15.
14517 * dirent/dirent.h: Declare scandirat and scandirat64.
14518 * dirent/scandirat.c: New file.
14519 * dirent/scandirat64.c: New file.
14520 * sysdeps/wordsize-64/scandirat.c: New file.
14521 * sysdeps/wordsize-64/scandirat64.c: New file.
14522 * dirent/opendir.c: Define opendirat.
14523 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14524 using scandirat.
14525 * dirent/scandir64.c: Adjust for scandir.c change.
14526 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14527 __scandirat64, and __scandir_cancel_handler.
14528 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14529 additional parameter and use openat instead of open (outside of ld.so).
14530 Add new __opendir as wrapper around __opendirat.
14531 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14532 here without requiring old scandirat implementation.
14533
879165f2
UD
145342011-08-08 Ulrich Drepper <drepper@gmail.com>
14535
14536 * dirent/scandir.c (cancel_handler): Renamed to
14537 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14538 defined. Adjust users.
14539 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14540 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14541
cb7e923b
UD
145422011-08-04 Ulrich Drepper <drepper@gmail.com>
14543
16292edd
UD
14544 * string/test-string.h (IMPL): Use __STRING to expand name and then
14545 stringify it.
14546
cb7e923b
UD
14547 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14548 of cleanups.
14549
cff82933
LD
145502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14551
14552 * string/Makefile: Update.
14553 (strop-tests): Append strncat.
14554 * string/test-wcscmp.c: New file.
14555 New comprehensive test for wcscmp.
14556 * string/test-strcmp.c: Update.
14557 (WIDE): New define.
14558
9be9bfcc
AS
145592011-07-22 Andreas Schwab <schwab@redhat.com>
14560
14561 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14562 line.
14563
2e96f1c7
AS
145642011-07-26 Andreas Schwab <schwab@redhat.com>
14565
14566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14567 encoding to ACE if AI_IDN.
14568
85188888
JJ
145692011-08-01 Jakub Jelinek <jakub@redhat.com>
14570
14571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14572 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14573
5fa16e9b
LD
145742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14575
14576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14577 Fix overflow bug in strncat.
14578 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14579
14580 * string/test-strncat.c: Update.
14581 Add new tests for checking overflow bugs.
14582
145832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14584
14585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14586 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14587 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14588 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14589 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14590 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14591 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14592 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14593 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14594
14595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14596 (USE_AS_STRCAT): Define.
14597 Add strcat and strncat support.
14598 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14599
8c1a459f
AS
146002011-07-25 Andreas Schwab <schwab@redhat.com>
14601
14602 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14603 __n bigger than INT_MAX+1.
14604 (__strncmp_g): Likewise.
14605
bba33c28
UD
146062011-07-23 Ulrich Drepper <drepper@gmail.com>
14607
798be72d
UD
14608 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14609 * libio/stido.h: Likewise.
14610
8accd4dc
UD
14611 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14612 (AF_NFC): Define.
14613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14614 (AF_NFC): Define.
14615
cbff0d96
UD
14616 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14617 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14618 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14619 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14620 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14621
9191c04a
UD
14622 [BZ #13021]
14623 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14624 installed.
14625
bba33c28
UD
14626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14627 typo.
14628 (_dl_x86_64_save_sse): Likewise.
14629
90f139dd
UD
146302011-07-22 Ulrich Drepper <drepper@gmail.com>
14631
1aae088a
UD
14632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14633 OSXSAVE.
14634 (_dl_x86_64_save_sse): Likewise.
14635
8e2045f5
UD
14636 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14637
90f139dd
UD
14638 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14639
1d002f25
AS
146402011-07-21 Andreas Schwab <schwab@redhat.com>
14641
14642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14643 change.
14644 (_dl_x86_64_save_sse): Use correct AVX check.
14645
21137f89
UD
146462011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14647
14648 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14649 bug in strncpy/strncat.
14650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14651
a65c0b7a
UD
146522011-07-21 Ulrich Drepper <drepper@gmail.com>
14653
14654 * string/tester.c (test_strcat): Add tests for different alignments
14655 of source and destination.
14656 (test_strncat): Likewise.
14657
6986b98a
UD
146582011-07-20 Ulrich Drepper <drepper@gmail.com>
14659
90bb2039
UD
14660 [BZ #12852]
14661 * posix/glob.c (glob): Check passed in values before using them in
14662 expressions to avoid some overflows.
14663 (glob_in_dir): Likewise.
14664
5644ef54
UD
14665 [BZ #13007]
14666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14667 check for AVX enablement so that we don't crash with old kernels and
14668 new hardware.
14669 * elf/tst-audit4.c: Add same checks here.
14670 * elf/tst-audit6.c: Likewise.
14671
14672 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14673
bfc9dc9b
AS
146742011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14675
14676 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14677
702e64bb
UD
146782011-07-20 Ulrich Drepper <drepper@gmail.com>
14679
14680 * po/cs.po: Update from translation team.
14681 * po/bg.po: Likewise.
14682
295e904f
MP
146832011-07-12 Marek Polacek <mpolacek@redhat.com>
14684
14685 * misc/sys/cdefs.h: Add support for const attribute.
14686 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14687 to gnu_dev_{major,minor,makedev} functions.
14688
3ff94596
MP
146892011-07-20 Marek Polacek <mpolacek@redhat.com>
14690
14691 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14692
28b59fca
AS
146932011-07-20 Andreas Schwab <schwab@redhat.com>
14694
14695 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14696 strlen results.
14697
19df733e
AK
146982011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14699
14700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14701 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14702 register in order to avoid conflicts with the soft frame pointer
14703 being held in r11 when necessary.
14704 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14705 (INTERNAL_VSYSCALL_NCS): Likewise.
14706
c8835729
MP
147072011-07-14 Marek Polacek <mpolacek@redhat.com>
14708
14709 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14710 * elf/dl-fini.c (_dl_fini): Adjust caller.
14711 * elf/dl-close.c (_dl_close_worker): Likewise.
14712 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14713
b902330c
MP
147142011-07-15 Marek Polacek <mpolacek@redhat.com>
14715
8991e135
MP
14716 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14717 "aux_cache->nlibs < 0".
14718
b902330c
MP
14719 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14720 in the reload-count case.
14721
99710781
LD
147222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14723
14724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14725 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14726 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14727 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14728 * sysdeps/x86_64/multiarch/strcat.S: New file.
14729 * sysdeps/x86_64/multiarch/strncat.S: New file.
14730 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14731 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14732 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14733 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14734 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14735 (USE_AS_STRCAT): Define.
14736 Add strcat and strncat support.
14737 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14738 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14739 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14740 * string/strncat.c: Update.
14741 (USE_AS_STRNCAT): Define.
14742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14743 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14744 and i7.
14745 * sysdeps/x86_64/multiarch/init-arch.h
14746 (bit_Prefer_PMINUB_for_stringop): New.
14747 (index_Prefer_PMINUB_for_stringop): Likewise.
14748 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14749 bit_Prefer_PMINUB_for_stringop.
14750
7dc6bd90
UD
147512011-07-19 Ulrich Drepper <drepper@gmail.com>
14752
14753 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14754 buffer64.
14755 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14756 of casting of buffer.
14757 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14758 buffer32 and buffer64.
14759 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14760 writes instead of casting of buffer.
14761 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14762 buffer32.
14763 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14764 casting of buffer.
14765
e0e72284
AS
147662011-07-19 Andreas Schwab <schwab@redhat.com>
14767
14768 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14769
feb1eb0b
UD
147702011-07-19 Ulrich Drepper <drepper@gmail.com>
14771
14772 * nscd/nscd.c (termination_handler): Don't do anything for a database
14773 if it has not yet been initialized.
14774
298711ff
UD
147752011-07-18 Ulrich Drepper <drepper@gmail.com>
14776
14777 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14778
147792011-07-15 Marek Polacek <mpolacek@redhat.com>
14780
14781 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14782
f9d68389
UD
147832011-07-18 Ulrich Drepper <drepper@gmail.com>
14784
14785 * po/nl.po: Update from translation team.
14786 * po/sv.po: Likewise.
14787
db290cf5
RM
147882011-07-16 Roland McGrath <roland@hack.frob.com>
14789
14790 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14791 now disallowed by GCC.
5c550700 14792
fd5e21c7
RM
14793 * configure.in (use-default-link): Default to yes if a test -shared
14794 link meets our qualifications.
14795 * configure: Regenerated.
14796
5c550700
RM
14797 * config.make.in (output-format): New variable.
14798 * configure.in: Check for ld --print-output-format support.
14799 * configure: Regenerated.
14800 * Makerules ($(common-objpfx)format.lds)
14801 [$(output-format) != unknown]: Just use $(output-format),
14802 instead of the linker-script munging.
14803
9fa2c032
RM
148042011-07-14 Roland McGrath <roland@hack.frob.com>
14805
a6928d51
RM
14806 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14807 of $(common-objpfx)shlib.lds.
14808 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14809
661607b3
RM
14810 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14811 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14812
9fa2c032
RM
14813 * configure.in (-z relro check): Adjust test code to add a large
14814 writable data section after it.
14815 * configure: Regenerated.
14816
defe9061
RM
148172011-07-11 Roland McGrath <roland@hack.frob.com>
14818
14819 * configure.in (-z relro check): Fix test code to make the variable
14820 truly const.
14821 * configure: Regenerated.
14822
319b9ad4
UD
148232011-07-11 Ulrich Drepper <drepper@gmail.com>
14824
14825 * nscd/nscd.h (struct traced_file): Define.
14826 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14827 elements. Add traced_files.
14828 (inotify_fd): Declare.
14829 (register_traced_file): Declare.
14830 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14831 (inotify_fd): Export.
14832 (resolv_conf_descr): Remove.
14833 (nscd_init): Move inotify descriptor creation to main.
14834 Don't register files for notification here.
14835 (register_traced_file): New function.
14836 (invalidate_cache): Don't use reset_res to determine whether to call
14837 res_init, go through the list of registered files.
14838 (main_loop_poll): The inotify descriptors are now stored in the
14839 structures for the traced files.
14840 (main_loop_epoll): Likewise
14841 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14842 to __nss_disable_nscd.
14843 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14844 for a database anymore. Check the records for all the registered
14845 files instead.
14846 * nss/Makefile (libnss_files-routines): Add files-init.
14847 (libnss_db-routines): Add db-init.
14848 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14849 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14850 * nss/nss_db/db-init.c: New file.
14851 * nss/nss_files/files-init.c: New file.
14852 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14853 __nss_lookup_function.
14854 (__nss_lookup_function): Call nss_load_library.
14855 (nss_load_all_libraries): New function.
14856 (__nss_disable_nscd): Take parameter with callback function for files
14857 to register. Set is_nscd. Load all the DSOs for the NSS modules
14858 used for the cached services.
14859 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14860 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14861 options for features to all the files in nscd.
14862
14863 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14864
23bee3e8
RM
148652011-07-10 Roland McGrath <roland@hack.frob.com>
14866
14867 * csu/elf-init.c (__libc_csu_init): Comment typo.
14868
46a5b7f0
UD
148692011-07-09 Ulrich Drepper <drepper@gmail.com>
14870
14871 * po/pl.po: Update from translation team.
14872 * po/ja.po: Likewise.
14873 * po/ru.po: Likewise.
14874 * po/ko.po: Likewise.
14875 * po/fr.po: Likewise.
14876
d30cf5bb
RM
148772011-07-09 Roland McGrath <roland@hack.frob.com>
14878
113ddea4
RM
14879 * configure.in (.ctors/.dtors header and trailer check):
14880 Use an empirical test on a built program.
14881 * configure: Regenerated.
14882
574920b4
RM
14883 * configure.in (-z relro check): Use an empirical test on a built DSO.
14884 Detect, but do not require, on ia64.
14885 * configure: Regenerated.
14886
d30cf5bb
RM
14887 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14888 Update tests that use readelf to use $READELF instead.
14889 * configure: Regenerated.
14890
8538fdb3
UD
148912011-07-08 Ulrich Drepper <drepper@gmail.com>
14892
14893 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14894 if the result is not used.
14895
04d08991
AJ
148962011-07-05 Andreas Jaeger <aj@suse.de>
14897
14898 [BZ#9696]
14899 * stdlib/tst-strtod.c: Add testcase.
14900
de283087
AD
149012011-07-07 Ulrich Drepper <drepper@gmail.com>
14902
4e5f31c8 14903 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14904 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14905 The latter has a higher limit. Take additional parameter to pass to
14906 the new function.
14907 (__pathconf): Pass file to __statfs_link_max.
14908 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14909 __statfs_link_max.
14910 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14911 __statfs_link_max.
14912
de283087
AD
14913 [BZ #12868]
14914 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14915 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14916 Handle Lustre.
14917 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14918 (__statfs_filesize_max): Likewise.
14919 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14920
c75fa153
AJ
149212011-07-05 Andreas Jaeger <aj@suse.de>
14922
14923 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14924
1a544854
UD
149252011-07-06 Marek Polacek <mpolacek@redhat.com>
14926
14927 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14928 `status' variable.
14929 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14930 Likewise.
14931
6f0eec67
UD
149322011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14933
14934 * Makefile (strop-tests): Add strncat.
14935 * string/test-strncat.c: New file.
14936
aae30307
UD
149372011-06-30 Marek Polacek <mpolacek@redhat.com>
14938
14939 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14940
c0cfb5eb
UD
149412011-06-21 Andreas Jaeger <aj@suse.de>
14942
14943 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14944 Copy rule from iconvdata/Makefile.
14945
01636b21
UD
149462011-07-06 Ulrich Drepper <drepper@gmail.com>
14947
14948 [BZ #12922]
14949 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14950 but no long options are defined, just return 'W'.
14951
9895c8bc
UD
149522011-06-22 Marek Polacek <mpolacek@redhat.com>
14953
14954 [BZ #9696]
14955 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14956
5d4cf042
UD
149572011-07-06 Ulrich Drepper <drepper@gmail.com>
14958
14959 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14960 netgroups to read.
960e5535 14961 (innetgr): Likewise.
5d4cf042 14962
751eb97e
RM
149632011-07-05 Roland McGrath <roland@hack.frob.com>
14964
14965 * config.make.in (install_root): Default to $(DESTDIR).
14966
f15f1e45
UD
149672011-07-05 Ulrich Drepper <drepper@gmail.com>
14968
14969 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14970
4e34ac6a
RM
149712011-07-02 Roland McGrath <roland@hack.frob.com>
14972
5e9b6af4
RM
14973 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14974
84f9ea0f
RM
14975 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14976 containing directory rather than embedding absolute directory names.
14977
ea5ee9f7
RM
14978 * scripts/check-local-headers.sh: Rewritten using awk.
14979 Match by word, not by line. Print error messages for matches.
14980 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14981
1b74661a
RM
14982 * Makerules [shlib-lds-flags empty]:
14983 ($(common-objpfx)libc_pic.opts): New target.
14984 ($(common-objpfx)libc_pic.os.clean): New target.
14985 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14986
14987 * config.make.in (OBJCOPY): New variable.
14988 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14989 * configure: Regenerated.
14990
f781ef40
RM
14991 * config.make.in (use-default-link): New variable.
14992 * configure.in (use_default_link): Grok --with-default-link to set it.
14993 * configure: Regenerated.
14994 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14995 (shlib-lds, shlib-lds-flags): Define to empty.
14996
2d4fa81e
RM
14997 * Makerules (shlib-lds): New variable.
14998 (shlib-lds-flags): New variable.
14999 (build-shlib, build-moduile, build-module-asneeded): Use it.
15000 ($(common-objpfx)libc.so): Use $(shlib-lds).
15001 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15002 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15003
31fffa6b
RM
15004 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15005 DT_FLAGS/DT_FLAGS_1 with zero flags.
15006
4e34ac6a
RM
15007 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15008 linker script munging.
15009
fcfc776b
UD
150102011-07-02 Ulrich Drepper <drepper@gmail.com>
15011
15012 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15013 as 128-bit value.
15014 * crypt/sha512.c (sha512_process_block): Perform total addition using
15015 128-bit if possible.
15016 (__sha512_finish_ctx): Likewise.
15017 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15018 as 64-bit value.
15019 * crypt/sha256.c (SWAP64): Define.
15020 (sha256_process_block): Perform total addition using 64-bit if
15021 possible.
15022 (__sha256_finish_ctx): Likewise.
15023
99231d9a
UD
150242011-07-01 Ulrich Drepper <drepper@gmail.com>
15025
15026 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15028 * nscd/hstcache.c (cache_addhst): Likewise.
15029 * nscd/grpcache.c (cache_addgr): Likewise.
15030 * nscd/aicache.c (addhstaiX): Likewise
15031 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15032
445b4a53
TK
150332011-07-01 Thorsten Kukuk <kukuk@suse.de>
15034
15035 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15036 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15037 * nscd/hstcache.c (cache_addhst): Likewise.
15038 * nscd/grpcache.c (cache_addgr): Likewise.
15039 * nscd/aicache.c (addhstaiX): Likewise
15040
6d4d8e8e
AS
150412011-07-01 Andreas Schwab <schwab@redhat.com>
15042
15043 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15044 domain only when needed.
15045
89f654c5
AS
150462011-06-30 Andreas Schwab <schwab@redhat.com>
15047
15048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15049 is always restored.
15050
cf3b23ff
UD
150512011-06-29 Ulrich Drepper <drepper@gmail.com>
15052
15053 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15054 are re-adding the entry.
15055 * nscd/servicescache.c (cache_addserv): Likewise.
15056
751626f9
AJ
150572011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15058
15059 * sysdeps/generic/dl-irel.h: fix protection against multiple
15060 inclusions.
15061 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15062
9113ea1f
UD
150632011-06-28 Ulrich Drepper <drepper@gmail.com>
15064
5c0b8d90
UD
15065 [BZ #12935]
15066 * malloc/memusage.sh: Fix quoting in message.
15067 * debug/xtrace.sh: Likewise.
15068
9113ea1f
UD
15069 * configure.in: Remove support for --experimental-malloc option, make
15070 it the default.
15071 * config.make.in: Likewise.
15072 * malloc/Makefile: Likewise.
15073
a4172181
AS
150742011-06-27 Andreas Schwab <schwab@redhat.com>
15075
15076 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15077 two-byte characters.
15078
78a7eee7
RM
150792011-06-27 Roland McGrath <roland@hack.frob.com>
15080
62bede13
RM
15081 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15082 AC_CACHE_CHECK invocation.
15083 * configure: Regenerated.
15084
78a7eee7
RM
15085 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15086
5ce33a62
UD
150872011-06-27 Ulrich Drepper <drepper@gmail.com>
15088
034807a9
UD
15089 [BZ #12350]
15090 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15091 bit from old_res_options.
15092
4902da17
UD
15093 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15094
5ce33a62
UD
15095 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15096 value type for setfct.
15097
c2344f56
L
150982011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15099
15100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15101 __gettimeofday instead of gettimeofday.
15102
68468076
UD
151032011-06-26 Ulrich Drepper <drepper@gmail.com>
15104
15105 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15106
acb0d739
L
151072011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15108
15109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15110
15111 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15112 info.
15113
8912479f
L
151142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15115
15116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15117 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15118 strcpy-sse2-unaligned strncpy-sse2-unaligned
15119 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15120 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15121 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15122 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15123 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15124 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15125 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15126 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15127 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15128 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15129 (STRCPY): Support SSE2 and SSSE3 versions.
15130
d5495a11
UD
151312011-06-24 Ulrich Drepper <drepper@gmail.com>
15132
15133 [BZ #12874]
15134 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15135 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15136 kernels which artificially limit size of requests.
15137
0b1cbaae
L
151382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15139
15140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15141 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15142 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15143 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15144 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15145 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15146 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15147 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15150 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15151 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15152 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15153 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15154 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15156 Enable unaligned load optimization for Intel Core i3, i5 and i7
15157 processors.
15158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15159 Define.
15160 (index_Fast_Unaligned_Load): Define.
15161 (HAS_FAST_UNALIGNED_LOAD): Define.
15162
07f494a0
MP
151632011-06-23 Marek Polacek <mpolacek@redhat.com>
15164
15165 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15166
fa3fc0fe
UD
151672011-06-22 Ulrich Drepper <drepper@gmail.com>
15168
15169 [BZ #12907]
15170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15171 until it is clear that the information is realy needed.
15172 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15173
e12df166
AS
151742011-06-22 Andreas Schwab <schwab@redhat.com>
15175
15176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15177
852eb34d
UD
151782011-06-22 Ulrich Drepper <drepper@gmail.com>
15179
84e2a551
UD
15180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15181 /sys/devices/system/cpu/online if it is usable.
15182
852eb34d
UD
15183 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15184 reading the information from the /proc filesystem to once a second.
15185
6e502e19
UD
151862011-06-21 Andreas Jaeger <aj@suse.de>
15187
15188 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15189 NULL after inclusion of kernel headers.
15190
75d39ff2
UD
151912011-06-21 Ulrich Drepper <drepper@gmail.com>
15192
51f9aa6a
UD
15193 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15194 calls to internal_setent.
15195
c0244a9d
UD
15196 [BZ #12885]
15197 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15198 addresses using gethostbyname4_r ignore IPv4 addresses.
15199
c5e3c2ae
UD
15200 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15201 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15202
75d39ff2
UD
15203 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15204
42675c6f
DM
152052011-06-20 David S. Miller <davem@davemloft.net>
15206
15207 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15208 inclusions.
15209 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15210
15211 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15212 (elf_irel): Use it.
15213 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15214 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15215 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15216 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15217 * sysdeps/x86_64/dl-irel.h: Likewise.
15218
15219 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15220 * elf/dl-sym.c: Likewise.
15221
57912a71
UD
152222011-06-15 Ulrich Drepper <drepper@gmail.com>
15223
15224 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15225 need to dereference resplen2.
15226
ee22793d
AS
152272011-06-14 Andreas Schwab <schwab@redhat.com>
15228
15229 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15230
a9e836b0
UD
152312011-06-15 Ulrich Drepper <drepper@gmail.com>
15232
77fb9117
UD
15233 * Makeconfig: Define vardbdir and inst_vardbdir.
15234 * nss/Makefile: Add rules to install db-Makefile.
15235
40c1b22c
UD
15236 * nss/nss_db/db-XXX.c: Cleanup.
15237
9f2da732
UD
15238 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15239 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15240 GLIBC_PRIVATE.
15241 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15242 * nss/makedb.c: Implement -g option to specify that value strings
15243 are generated and should not be added to table iterated over for
15244 get*ent calls.
15245 * nss/nss_db/db-initgroups.c: New file.
15246
82e9a1f7
UD
15247 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15248 interface.
15249
c41af17e
UD
15250 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15251 (internal_getgrouplist): Adjust to name change.
15252 Update use_initgroups_entry if this is not the first call.
15253 * nss/databases.def: Add initgroups entry.
15254
a9e836b0
UD
15255 * nss/makedb.c (compute_tables): Check result of multiple hash table
15256 sizes to minimize maximum chain length.
15257
2666d441
UD
152582011-06-14 Ulrich Drepper <drepper@gmail.com>
15259
15260 * Versions.def: Add entry for libnss_db.
15261 * shlib-versions: Likewise.
15262 * nss/Makefile: Add rules to build libnss_db.
15263 * nss/Versions: Add libnss_db information. Organize libnss_files
15264 entries better.
15265 * nss/db-Makefile: Add gshadow support. Change rules for the new
15266 makedb progra. Some minor improvements to generate smaller files.
15267 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15268 here from...
15269 * nss/makedb.c: ...here.
15270 Improve database format to be smaller and require less memory at
15271 runtime.
15272 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15273 db anymore.
15274 * nss/nss_db/db-netgrp.c: Likewise.
15275 * nss/nss_db/db-open.c: Likewise.
15276 * nss/nss_files/flies-XXX.x: Adjust comments.
15277 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15278 * nss/nss_files/files-grp.c: Likewise.
15279 * nss/nss_files/files-hosts.c: Likewise.
15280 * nss/nss_files/files-network.c: Likewise.
15281 * nss/nss_files/files-proto.c: Likewise.
15282 * nss/nss_files/files-pwd.c: Likewise.
15283 * nss/nss_files/files-rpc.c: Likewise.
15284 * nss/nss_files/files-service.c: Likewise.
15285 * nss/nss_files/files-sgrp.c: Likewise.
15286 * nss/nss_files/files-spwd.c: Likewise.
15287 * nss/nss_db/db-alias.c: Removed.
15288 * nss/nss_db/dummy-db.h: Removed.
15289
9ee76b5a
UD
152902011-06-02 Ulrich Drepper <drepper@gmail.com>
15291
15292 * nss/makedb.c: Rewritten to not use database library.
15293 * nss/Makefile: Update to build new makedb program.
15294
c71ca1f8
AJ
152952011-06-14 Andreas Jaeger <aj@suse.de>
15296
15297 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15298 memset declaration.
15299
3154bfb8
UD
153002011-06-10 Andreas Schwab <schwab@redhat.com>
15301
15302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15303 tmpbuf.
15304
b350afab
RM
153052011-06-10 Roland McGrath <roland@hack.frob.com>
15306
decd4e50
RM
15307 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15308 * elf/Makefile ($(objpfx)ld.so): Likewise.
15309
5615eaf2
RM
15310 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15311 Don't list ld.so twice in dependencies.
15312
15313 * posix/bug-regex31.c: Include <stdlib.h>.
15314
15315 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15316
15317 * nis/nss_compat/compat-spwd.c
15318 (getspent_next_nss_netgr): Remove unused variable.
15319 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15320
15321 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15322 nonmembers" output to use the right array.
15323
15324 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15325
15326 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15327
15328 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15329 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15330 * catgets/gencat.c (read_input_file): Likewise.
15331 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15332
15333 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15334 variable definition inside #if's controlling its use.
15335
15336 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15337
15338 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15339
15340 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15341
15342 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15343 unreachable code.
15344
15345 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15346
b68e08db
RM
15347 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15348 * configure: Regenerated.
15349
b350afab
RM
15350 * Makerules: Revert last change.
15351 * elf/Makefile: Likewise.
15352
28368601
RM
153532011-06-09 Roland McGrath <roland@hack.frob.com>
15354
15355 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15356 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15357 (reloc-link): Likewise.
15358
11988f8f
UD
153592011-06-09 Ulrich Drepper <drepper@gmail.com>
15360
15361 * elf/Makefile: Add rules to build pldd.
15362 * elf/pldd.c: New file.
15363 * elf/pldd-xx.c: New file.
15364
e80fab37
UD
153652011-06-07 Ulrich Drepper <drepper@gmail.com>
15366
15367 * version.h: Update for 2.15 development version.
15368
9b849836
DM
153692011-06-07 David S. Miller <davem@davemloft.net>
15370
15371 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15372 ifuncs.
15373 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15374 elf_machine_lazy_rel): Likewise.
15375 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15376 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15377 elf_machine_lazy_rel): Likewise.
15378 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15379 dl_hwcap via passed in argument.
15380 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15381 Likewise.
15382
5a31b283
AK
153832011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15384
15385 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15386
069e52f8
RM
153872011-06-06 Roland McGrath <roland@hack.frob.com>
15388
15389 [BZ #12849]
15390 * manual/fdl-1.1.texi: New file, verbatim from:
15391 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15392 * manual/lgpl-2.1.texi: New file, verbatim from:
15393 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15394 * manual/Makefile (licenses): New variable, list those new file names.
15395 (texis): Use it.
15396 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15397
15398 * manual/fdl.texi: File removed.
15399 * manual/lesser.texi: File removed.
15400 * manual/libc.texinfo (Copying, Documentation License):
15401 Use new @include file names, put @appendix directive before @include.
15402
f16846a5
JJ
154032011-06-04 Jakub Jelinek <jakub@redhat.com>
15404
15405 [BZ #12841]
15406 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15407 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15408 (mq_open): Add __NTH.
15409
3d29045b
L
154102011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15411
15412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15413 Assume Intel Core i3/i5/i7 processor if AVX is available.
15414
8c297311
UD
154152011-05-31 Ulrich Drepper <drepper@gmail.com>
15416
15417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15418 typo.
15419
c8fc0c91
UD
154202011-05-31 Andreas Schwab <schwab@redhat.com>
15421
15422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15423 memory. Use alloca_account. Fix memory leak when retrying.
15424
5b27a807
UD
154252011-05-31 Ulrich Drepper <drepper@gmail.com>
15426
356f8bc6
UD
15427 * version.h (RELEASE): Bump for 2.14 release.
15428 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15429
5b27a807
UD
15430 * config.make.in (RANLIB): Remove entry.
15431
01f16ab0
UD
154322011-05-30 Ulrich Drepper <drepper@gmail.com>
15433
41fce8bd
UD
15434 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15435 (libc.pot): Work around missing support for .ksh extension in xgettext.
15436
4769ae77
UD
15437 [BZ #12684]
15438 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15439 if both request failed.
15440 (send_dg): In case of server errors clear resplen or *resplen2.
15441
6b1e7d19
UD
15442 [BZ #12454]
15443 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15444 when there are multiple maps.
15445 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15446 (_dl_fini): Remove test here.
15447
01f16ab0
UD
15448 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15449
b1ebd700
UD
154502011-05-29 Ulrich Drepper <drepper@gmail.com>
15451
7ae22829
UD
15452 [BZ #12350]
15453 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15454 bit from old_res_options.
15455 (gaih_inet): Likewise.
15456
553149f6 15457 [BZ #11099]
18a84741 15458 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15459 as signed.
15460
652ffab1
UD
15461 * resolv/res_init.c (res_setoptions): Make the code more compact.
15462
16985fd0
UD
15463 [BZ #11558]
15464 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15465 set RES_USEVC.
15466
0464f746
UD
15467 [BZ #11634]
15468 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15469
7d17596c
UD
15470 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15471
cf6bbbd7
UD
15472 [BZ #11781]
15473 * malloc/malloc.h: Declare malloc hook variables as volatile.
15474
13f1ab36
UD
15475 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15476 in last patch.
15477
b1ebd700
UD
15478 [BZ #11799]
15479 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15480 raise in the comment.
80e2212d
UD
15481 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15482 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15483 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15484
ce67228d
UD
154852011-05-28 Ulrich Drepper <drepper@gmail.com>
15486
8887a920
UD
15487 [BZ #12811]
15488 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15489 grow the buffers more if it already has to be sufficient.
15490 (build_wcs_upper_buffer): Likewise.
15491 * posix/regexec.c (check_matching): Likewise.
15492 (clean_state_log_if_needed): Likewise.
15493 (extend_buffers): Don't enlarge buffers beyond size of the input
15494 buffer.
15495 Patches mostly by Emil Wojak <emil@wojak.eu>.
15496 * posix/bug-regex32.c: New file.
15497 * posix/Makefile (tests): Add bug-regex32.
15498
4f031072
UD
15499 * locale/findlocale.c (_nl_find_locale): Return right away if
15500 _nl_explode_name failed.
15501 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15502
d0478f0c
UD
15503 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15504
de81b246
UD
15505 * debug/xtrace.sh: Unify messages.
15506 * malloc/memusage.sh: Likewise.
15507
c738465a
UD
15508 [BZ #12813]
15509 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15510 time symbol from vDSO. Substitute with vsyscall if not available.
15511 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15512 __vdso_time.
15513
f1f929d7
UD
15514 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15515 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15516 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15517 Add sendmmsg and internal_sendmmsg.
15518 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15519 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15520 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15521
ce67228d
UD
15522 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15523 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15524 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15525
e57420c6
UD
155262011-05-27 Ulrich Drepper <drepper@gmail.com>
15527
a8509ca5
UD
15528 [BZ #12813]
15529 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15530 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15531 available.
15532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15533 __vdso_getcpu.
15534
e57420c6
UD
15535 [BZ #12814]
15536 * iconvdata/Makefile (tests): Add bug-iconv9.
15537 * iconvdata/bug-iconv9.c: New file.
15538
4d07db15
AS
155392011-05-27 Andreas Schwab <schwab@redhat.com>
15540
15541 [BZ #12814]
15542 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15543
ea486f69
JJ
155442011-05-25 Jakub Jelinek <jakub@redhat.com>
15545
15546 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15547 (struct user_regs_struct): Change intcs field back to cs.
15548
6f038433
UD
155492011-05-25 Ulrich Drepper <drepper@gmail.com>
15550
15551 * po/ja.po: Update from translation team.
15552
67f86a25
UD
155532011-05-23 Ulrich Drepper <drepper@gmail.com>
15554
15555 [BZ #12795]
15556 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15557 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15558
def7fbd6
AS
155592011-05-20 Andreas Schwab <schwab@redhat.com>
15560
15561 * stdlib/longlong.h: Update from GCC.
15562
f50ef8f1
AS
155632011-05-23 Andreas Schwab <schwab@redhat.com>
15564
15565 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15566 parameter name.
15567 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15568 Add parameter name.
15569 (__sysconf): Pass it down.
15570
de7ce8f1
UD
155712011-05-22 Ulrich Drepper <drepper@gmail.com>
15572
f2962a71
UD
15573 [BZ #12671]
15574 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15575 some situations.
15576 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15577 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15578 add in in __libc_use_alloca calls. Adjust callers.
15579 (glob): Use malloc in some situations.
15580
de7ce8f1
UD
15581 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15582 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15583 pltexit.
15584
aec84f53
UD
155852011-05-21 Ulrich Drepper <drepper@gmail.com>
15586
05bb4a68
UD
15587 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15588 and CLOCK_BOOTTIME_ALARM.
15589
7ea72f99
UD
15590 [BZ #12782]
15591 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15592 is returned.
15593
7e4afad5
UD
15594 * string/_strerror.c (__strerror_r): Print negative errors as signed
15595 numbers.
15596
8e211fec
UD
15597 [BZ #12777]
15598 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15599 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15600 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15601
f7d82dc9
UD
15602 * configure.in: Fix typo in redirection and correct removal of test
15603 files in two cases.
15604
cc9e536d
UD
15605 [BZ #12788]
15606 * locale/setlocale.c (new_composite_name): Fix test to check for
15607 identical name of all categories.
15608
aec84f53
UD
15609 [BZ #12792]
15610 * libio/filedoalloc.c (local_isatty): New function.
15611 (_IO_file_doallocate): Use local_isatty.
15612 * stdio-common/perror.c (perror): In case a new stream is used
15613 forward the stream error.
15614 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15615 error flag.
15616
78e64fdc
RT
156172011-05-20 Ulrich Drepper <drepper@gmail.com>
15618
34a9094f
UD
15619 [BZ #11869]
15620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15621 alloca.
15622 * include/alloca.h (extend_alloca_account): Define.
15623
78e64fdc
RT
15624 [BZ #11857]
15625 * posix/regex.h: Fix comments with documentation of user-accessible
15626 fields after compilation and describe correct free'ing of pattern
15627 after re_compile_pattern.
15628 Patch by Reuben Thomas <rrt@sc3d.org>.
15629
457bddfc
RA
156302011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15631
15632 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15633 and -mno-altivec to prevent the compiler from using Altivec and/or
15634 VSX instructions when the corresponding registers are not available.
15635
a4527b51
AS
156362011-05-19 Andreas Schwab <schwab@redhat.com>
15637
15638 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15639
ed690b2f
UD
156402011-05-19 Ulrich Drepper <drepper@gmail.com>
15641
15642 * libio/freopen.c (freopen): Use __dup2, not dup2.
15643 * libio/freopen64.c (freopen64): Likewise.
15644
8db73634
L
156452011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15646
15647 [BZ #12775]
15648 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15649 * math/Makefile (tests): Add test-powl.
15650 (CFLAGS-test-powl.c): Define.
15651 * math/test-powl.c: New file.
15652
0a197a9d
L
156532011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15654
15655 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15656
ee30c380
UD
156572011-05-17 Ulrich Drepper <drepper@gmail.com>
15658
15659 [BZ #11837]
15660 * iconvdata/gb18030.c: Update to GB18020-2005.
15661
6ce75379
UD
156622011-05-16 Ulrich Drepper <drepper@gmail.com>
15663
a4b89fd8
AR
15664 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15665 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15666 Patch by Aharon Robbins <arnold@skeeve.com>.
15667
ea389b12
UD
15668 [BZ #11892]
15669 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15670 on the stack.
15671
68a3f91f
UD
15672 [BZ #11895]
15673 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15674 through underflows.
15675
15cc7dd1
UD
15676 [BZ #12766]
15677 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15678 point to strings before performing equality test for error_one_per_line
15679 mode.
15680
f3799213
UD
15681 [BZ #11697]
15682 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15683
d79a9c94
UD
15684 [BZ #11820]
15685 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15686 (struct user_fpregs_struct): Avoid __uint*_t types.
15687
56e5eb46
UD
15688 [BZ #6420]
15689 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15690 symbol info. Use it instead of calling _dl_addr locally.
15691 (lock_and_info): New function.
15692 (tr_freehook): Call lock_and_info and pass symbol info as additional
15693 parameter to tr_where.
15694 (tr_mallochook): Likewise.
15695 (tr_reallochook): Likewise.
15696 (tr_memalignhook): Likewise.
15697
6ce75379
UD
15698 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15699 used and couldn't be at all thread-safe.
15700
f8a3b5bf
UD
157012011-05-15 Ulrich Drepper <drepper@gmail.com>
15702
94b7cc37
UD
15703 * libio/freopen.c (freopen): Don't close old file descriptor
15704 before the new one is opened. Instead dup the new file descriptor
15705 to the old one after the new stream is created.
15706 * libio/freopen64.c (freopen64): Likewise.
15707 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15708 * libio/fileops.c (_IO_new_file_close_it): Handle new
15709 _IO_FLAGS2_NOCLOSE flag.
15710 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15711 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15712 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15713 _IO_FLAGS2_NOCLOSE flag.
15714 * include/unistd.h: Add hidden_proto for dup3.
15715 Define __have_dup3.
15716 * io/dup3.c: Define hidden symbol.
15717 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15718
bd25564e
UD
15719 [BZ #7101]
15720 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15721 when an incomplete long option is used.
15722 * posix/tst-getopt_long1.c: New file.
15723 * posix/Makefile (tests): Add tst-getopt_long1.
15724
c84cfef4
UD
15725 [BZ #10138]
15726 * scripts/config.guess: Update from autoconf-2.68.
15727 * scripts/config.sub: Likewise.
15728
3b85df27
UD
15729 [BZ #10157]
15730 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15731 tests into ...
15732 (has_cpuclock): ...this. New function.
15733 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15734 macro here based on has_cpuclock code.
15735
15a856b1
UD
15736 [BZ #10149]
15737 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15738 First byte (not low byte) is now always NUL.
15739 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15740
05f399e6
UD
15741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15742 Use non-cancelable interfaces.
15743
10a52685 15744 [BZ #9809]
94ecc67d
UD
15745 * locale/iso-639.def: Add entry for Sorani.
15746
f8a3b5bf
UD
15747 [BZ #11901]
15748 * include/stdlib.h: Move include protection to the right place.
15749 Define abort_msg_s. Declare __abort_msg with it.
15750 * stdlib/abort.c (__abort_msg): Adjust type.
15751 * assert/assert.c (__assert_fail_base): New function. Majority
15752 of code from __assert_fail. Allocate memory for __abort_msg with
15753 mmap.
15754 (__assert_fail): Now call __assert_fail_base.
15755 * assert/assert-perr.c: Remove bulk of implementation. Use
15756 __assert_fail_base.
15757 * include/assert.hL Declare __assert_fail_base.
15758 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15759 mmap.
15760 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15761
1af4e298
UD
157622011-05-14 Ulrich Drepper <drepper@gmail.com>
15763
f8a3b5bf 15764 [BZ #11952]
d26dfc60
MG
15765 [BZ #12453]
15766 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15767 until all modules are registered in the DTV.
15768 * elf/Makefile: Add rules to build and run tst-tls19.
15769 * elf/tst-tls19.c: New file.
15770 * elf/tst-tls19mod1.c: New file.
15771 * elf/tst-tls19mod2.c: New file.
15772 * elf/tst-tls19mod3.c: New file.
15773 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15774
2fc54d6f
UD
15775 [BZ #12083]
15776 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15777 correctly.
15778
98d76b46
UD
15779 [BZ #12601]
15780 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15781 two-byte sequence errors.
15782 * iconvdata/Makefile (tests): Add bug-iconv8.
15783 * iconvdata/bug-iconv8.c: New file.
15784
da3c19ef
UD
15785 [BZ #12626]
15786 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15787 buf2 definition.
15788
ca408c15
UD
15789 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15790
d6f67f7d
UD
15791 [BZ #12432]
15792 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15793 (dummy_getcfa): New function.
15794 (init): Get _Unwind_GetCFA address, use dummy if not found.
15795 (backtrace_helper): In recursion check, also check whether CFA changes.
15796 (__backtrace): Completely initialize arg.
15797
1af4e298 15798 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15799 storing incomplete byte sequence in state object. Avoid testing for
15800 guaranteed too small input if we know there is enough data available.
1af4e298 15801
da62f81b
AS
158022011-05-11 Andreas Schwab <schwab@redhat.com>
15803
15804 * Makeconfig (+link-pie): Indent.
15805 * Rules (binaries-pie): Define if $(have-fpie) and
15806 $(build-shared).
15807 (binaries-shared): Also filter out $(binaries-pie).
15808 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15809 * nscd/Makefile (others-pie): Add nscd.
15810 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15811 ($(objpfx)nscd): Remove command override.
15812 * login/Makefile (others-pie): Add pt_chown.
15813 ($(objpfx)pt_chown): Remove command override.
15814 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15815 remove command overrides.
15816
fcabc0f8
UD
158172011-05-13 Ulrich Drepper <drepper@gmail.com>
15818
20030ae6
UD
15819 * libio/tst_putwc.c: Fix error messages.
15820
fcabc0f8
UD
15821 [BZ #12724]
15822 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15823 currently writing and seek to current position when not.
15824 * libio/Makefile (tests): Add bug-fclose1.
15825 * libio/bug-fclose1.c: New file.
15826
320a5dc0
PB
158272011-05-12 Ulrich Drepper <drepper@gmail.com>
15828
15829 [BZ #12511]
15830 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15831 don't set DF_1_NODELETE here.
15832 (do_lookup_x): When entering new entry test for copy relocation
15833 and if necessary set DF_1_NODELETE flag.
15834 * elf/tst-unique4.cc: New file.
15835 * elf/tst-unique4.h: New file.
15836 * elf/tst-unique4lib.cc: New file.
15837 * elf/Makefile: Add rules to build and run tst-unique4.
15838 Patch by Piotr Bury <pbury@goahead.com>.
15839
22836f52
UD
158402011-05-11 Ulrich Drepper <drepper@gmail.com>
15841
f574184a
UD
15842 [BZ #12052]
15843 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15844
e1fb097f
UD
15845 [BZ #12625]
15846 * misc/mntent_r.c (addmntent): Flush the stream after the output
15847
22836f52
UD
15848 [BZ #12393]
15849 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15850 (is_trusted_path_normalize): Skip initial colon. Append slash
15851 to empty buffer. Duplicate is_trusted_path code but allow
15852 constructed patch to be prefix.
15853 (is_dst): Allow $ORIGIN followed by /.
15854 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15855 Correct testing of result of is_trusted_path_normalize
15856 (decompose_rpath): Fix warning.
15857
7b3b0b2a
UD
158582011-05-10 Ulrich Drepper <drepper@gmail.com>
15859
15860 [BZ #11257]
15861 * grp/initgroups.c (internal_getgrouplist): When we found the service
15862 list through the initgroups entry in nsswitch.conf do not always
15863 continue on a successful lookup. Don't always use the
eac80ce2 15864 __nss_group_database value if it is set.
7b3b0b2a
UD
15865 * nss/nsswitch.conf (initgroups): Change action for successful db
15866 lookup to continue for compatibility.
15867
2a81eaa5
UD
158682011-05-09 Ulrich Drepper <drepper@gmail.com>
15869
be97a69e
UD
15870 [BZ #11532]
15871 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15872 and CP774 modules.
15873 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15874 and CP774 modules.
15875 * iconvdata/tst-tables.sh: Likewise.
15876 * iconvdata/cp770.c: New file.
15877 * iconvdata/cp771.c: New file.
15878 * iconvdata/cp772.c: New file.
15879 * iconvdata/cp773.c: New file.
15880 * iconvdata/cp774.c: New file.
15881 * iconvdata/testdata/CP770: New file.
15882 * iconvdata/testdata/CP770..UTF8: New file.
15883 * iconvdata/testdata/CP771: New file.
15884 * iconvdata/testdata/CP771..UTF8: New file.
15885 * iconvdata/testdata/CP772: New file.
15886 * iconvdata/testdata/CP772..UTF8: New file.
15887 * iconvdata/testdata/CP773: New file.
15888 * iconvdata/testdata/CP773..UTF8: New file.
15889 * iconvdata/testdata/CP774: New file.
15890 * iconvdata/testdata/CP774..UTF8: New file.
15891
15892 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15893 END CHARMAP line.
15894 * iconvdata/gen-8bit-gap.sh: Likewise.
15895 * iconvdata/gen-8bit.sh: Likewise.
15896
c1e9e399
UD
15897 * locale/iso-639.def: Add ary entry.
15898
24c55fb3 15899 [BZ #11258]
96b4b1b0
UD
15900 * locale/C-translit.h.in: Add U20A1 transliteration.
15901
bdc2f971
KB
15902 [BZ #12178]
15903 * locale/iso-639.def: Add wae entry.
15904 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15905
2952b117
UD
15906 [BZ #12545]
15907 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15908 for n.
15909
2a81eaa5
UD
15910 [BZ #12711]
15911 * locale/C-translit.h.in: Add entry for U20B9.
15912 Patch by pravin.d.s@gmail.com.
15913
28377d1b
UD
159142011-05-08 Ulrich Drepper <drepper@gmail.com>
15915
7fb90fb8
UD
15916 [BZ #12713]
15917 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15918 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15919 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15920 in rtld. Use *stat64.
7fb90fb8 15921 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15922 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15923 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15924 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15925 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15926 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15927 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15928 __fstatat64 macros.
7fb90fb8
UD
15929 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15930 * dirent/rewinddir.c: Add libc_hidden_def.
15931 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15932 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15933
28377d1b
UD
15934 * include/dirent.h (__alloc_dir): Add flags parameter.
15935 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15936 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15937 __alloc_dir.
15938 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15939 from fdopendir if O_CLOEXEC is already set.
15940
66bdbaa4
AM
159412011-03-15 Alan Modra <amodra@gmail.com>
15942
15943 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15944 l_tls_firstbyte_offset non-zero. Save padding offset in
15945 l_tls_firstbyte_offset for later use.
15946 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15947 freeing static tls block.
15948
95721191
JN
159492011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15950
15951 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15952 where #ifdef was intended. The intent is to prevent ARG_MAX from
15953 being defined by the kernel headers.
15954
f87dfb1f
UD
159552011-05-07 Ulrich Drepper <drepper@gmail.com>
15956
15957 [BZ #12734]
15958 * resolv/resolv.h: Define RES_NOTLDQUERY.
15959 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15960 no-tld-query and set RES_NOTLDQUERY.
15961 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15962 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15963 modern BIND to search name as TLD unless forbidden.
15964
47c3cd7a
UD
159652011-05-07 Petr Baudis <pasky@suse.cz>
15966 Ulrich Drepper <drepper@gmail.com>
15967
15968 [BZ #12393]
15969 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15970 (is_trusted_path): ...to here.
c1e9ea35 15971 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15972 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15973 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15974
8a35c912
PP
159752011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15976
15977 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15978 __BEGIN/__END_DECLS.
15979
acd41f47
UD
159802011-05-06 Ulrich Drepper <drepper@gmail.com>
15981
15982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15983 NSS_STATUS_NOTFOUND if no record was found.
15984
597df647
AS
159852011-05-05 Andreas Schwab <schwab@redhat.com>
15986
15987 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15988 (headers-not-in-tirpc): Remove rpc/netdb.h
15989 * resolv/netdb.h: Revert last change.
15990
b9af1301
PP
159912011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15992
15993 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15994 circular dependency between libgcc.a and libc.a.
15995
4e34d5f5
AS
159962011-05-05 Andreas Schwab <schwab@redhat.com>
15997
15998 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15999 * nis/Makefile: Don't install rpcsvc/*.
16000 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16001 instead of <rpc/types.h>.
16002 (MAXHOSTNAMELEN): Define.
16003
00ee369c
AS
160042011-05-03 Andreas Schwab <schwab@redhat.com>
16005
16006 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16007
0b592a30
MB
160082011-04-28 Maciej Babinski <mbabinski@google.com>
16009
16010 [BZ #12714]
16011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16012 gethostbyname4_r when IPv6 results are possible.
16013
6e04cbbe
UD
160142011-05-02 Ulrich Drepper <drepper@gmail.com>
16015
16016 [BZ #12723]
16017 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16018 _PC_PIPE_BUF handling.
16019
e4ecafe0
BH
160202011-04-30 Bruno Haible <bruno@clisp.org>
16021
16022 [BZ #12717]
16023 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16024 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16025 to 'int'.
16026 * inet/getnameinfo.c (getnameinfo): Likewise.
16027
125ee683
UD
160282011-04-29 Ulrich Drepper <drepper@gmail.com>
16029
16030 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16031 to groups setting in database lookup.
16032 * nss/nsswitch.conf: Add initgroups entry.
16033
b722481a
EB
160342011-04-22 Ulrich Drepper <drepper@gmail.com>
16035
16036 [BZ #12685]
16037 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16038 mode string.
16039 Patch by Eric Blake <eblake@redhat.com>.
16040
4df46dbd
L
160412011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16042
16043 * sunrpc/Makefile (need-export-routines): Add svc_run.
16044 (routines): Remove svc_run.
16045 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16046 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16047 * sunrpc/svc_run.c (svc_run): Likewise.
16048 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16049
e84142d2
UD
160502011-04-21 Ulrich Drepper <drepper@gmail.com>
16051
16052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16053 problem in reallocation in last patch.
16054
877175d8
UD
160552011-04-20 Ulrich Drepper <drepper@gmail.com>
16056
16057 * sunrpc/Makefile: Move inclusion of Rules.
16058
ab8eed78
UD
160592011-04-19 Ulrich Drepper <drepper@gmail.com>
16060
16061 * nss/nss_files/files-initgroups.c: New file.
16062 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16063 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16064 _nss_files_initgroups_dyn.
16065
e3d8f584
RS
160662011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16067
16068 * elf/elf.h (R_ARM_IRELATIVE): Define.
16069
af190f45
UD
160702011-04-19 Ulrich Drepper <drepper@gmail.com>
16071
16072 * po/ru.po: Update from translation team.
16073
53cf59ef
UD
160742011-04-17 Ulrich Drepper <drepper@gmail.com>
16075
16076 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16077 dependencies.
16078
4c559bcd
MF
160792011-02-06 Mike Frysinger <vapier@gentoo.org>
16080
16081 [BZ #12653]
16082 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16083 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16084 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16087
4420675c
AS
160882011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16089
16090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16091 differing bytes.
16092 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16093 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16094 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16095
75ea32ab
UD
160962011-04-17 Ulrich Drepper <drepper@gmail.com>
16097
16098 [BZ #12420]
16099 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16100 storing it.
16101 * stdlib/bug-getcontext.c: New file.
16102 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16103
27390476
AK
161042011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16105
16106 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16107 instructions into .machine "z9-109".
16108 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16109 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16110
10442705
AK
161112011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16112
16113 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16114 between environment variables and auxiliary vector.
16115
7b57bfe5
UD
161162011-04-16 Ulrich Drepper <drepper@gmail.com>
16117
16118 * Makefile: Add rules to build linkobj/libc.so.
16119 * include/libc-symbols.h: Define libc_hidden_nolink.
16120 * include/rpc/auth.h: Mark functions which are to be hidden.
16121 * include/rpc/auth_des.h: Likewise.
16122 * include/rpc/auth_unix.h: Likewise.
16123 * include/rpc/clnt.h: Likewise.
16124 * include/rpc/des_crypt.h: Likewise.
16125 * include/rpc/key_prot.h: Likewise.
16126 * include/rpc/pmap_clnt.h: Likewise.
16127 * include/rpc/pmap_prot.h: Likewise.
16128 * include/rpc/pmap_rmt.h: Likewise.
16129 * include/rpc/rpc_msg.h: Likewise.
16130 * include/rpc/svc.h: Likewise.
16131 * include/rpc/svc_auth.h: Likewise.
16132 * include/rpc/xdr.h: Likewise.
16133 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16134 * nss/Makefile: Likewise.
16135 * sunrpc/Makefile: Don't install headers. Build library with normal
16136 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16137 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16138 for the compat linking library. Remove use of INTDEF/INTUSE.
16139 * sunrpc/auth_none.c: Likewise.
16140 * sunrpc/auth_unix.c: Likewise.
16141 * sunrpc/authdes_prot.c: Likewise.
16142 * sunrpc/authuxprot.c: Likewise.
16143 * sunrpc/clnt_gen.c: Likewise.
16144 * sunrpc/clnt_perr.c: Likewise.
16145 * sunrpc/clnt_raw.c: Likewise.
16146 * sunrpc/clnt_simp.c: Likewise.
16147 * sunrpc/clnt_tcp.c: Likewise.
16148 * sunrpc/clnt_udp.c: Likewise.
16149 * sunrpc/clnt_unix.c: Likewise.
16150 * sunrpc/des_crypt.c: Likewise.
16151 * sunrpc/des_soft.c: Likewise.
16152 * sunrpc/get_myaddr.c: Likewise.
16153 * sunrpc/key_call.c: Likewise.
16154 * sunrpc/key_prot.c: Likewise.
16155 * sunrpc/netname.c: Likewise.
16156 * sunrpc/pm_getmaps.c: Likewise.
16157 * sunrpc/pm_getport.c: Likewise.
16158 * sunrpc/pmap_clnt.c: Likewise.
16159 * sunrpc/pmap_prot.c: Likewise.
16160 * sunrpc/pmap_prot2.c: Likewise.
16161 * sunrpc/pmap_rmt.c: Likewise.
16162 * sunrpc/publickey.c: Likewise.
16163 * sunrpc/rpc_cmsg.c: Likewise.
16164 * sunrpc/rpc_common.c: Likewise.
16165 * sunrpc/rpc_dtable.c: Likewise.
16166 * sunrpc/rpc_prot.c: Likewise.
16167 * sunrpc/rpc_thread.c: Likewise.
16168 * sunrpc/rtime.c: Likewise.
16169 * sunrpc/svc.c: Likewise.
16170 * sunrpc/svc_auth.c: Likewise.
16171 * sunrpc/svc_authux.c: Likewise.
16172 * sunrpc/svc_raw.c: Likewise.
16173 * sunrpc/svc_run.c: Likewise.
16174 * sunrpc/svc_simple.c: Likewise.
16175 * sunrpc/svc_tcp.c: Likewise.
16176 * sunrpc/svc_udp.c: Likewise.
16177 * sunrpc/svc_unix.c: Likewise.
16178 * sunrpc/svcauth_des.c: Likewise.
16179 * sunrpc/xcrypt.c: Likewise.
16180 * sunrpc/xdr.c: Likewise.
16181 * sunrpc/xdr_array.c: Likewise.
16182 * sunrpc/xdr_float.c: Likewise.
16183 * sunrpc/xdr_intXX_t.c: Likewise.
16184 * sunrpc/xdr_mem.c: Likewise.
16185 * sunrpc/xdr_rec.c: Likewise.
16186 * sunrpc/xdr_ref.c: Likewise.
16187 * sunrpc/xdr_sizeof.c: Likewise.
16188 * sunrpc/xdr_stdio.c: Likewise.
16189
e6c61494
UD
161902011-04-10 Ulrich Drepper <drepper@gmail.com>
16191
16192 [BZ #12650]
16193 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16194 * sysdeps/ia64/dl-tls.h: Likewise.
16195 * sysdeps/powerpc/dl-tls.h: Likewise.
16196 * sysdeps/s390/dl-tls.h: Likewise.
16197 * sysdeps/sh/dl-tls.h: Likewise.
16198 * sysdeps/sparc/dl-tls.h: Likewise.
16199 * sysdeps/x86_64/dl-tls.h: Likewise.
16200 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16201
34fe483e
AS
162022011-03-14 Andreas Schwab <schwab@redhat.com>
16203
16204 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16205 rpath element also skip the following colon.
16206 (expand_dynamic_string_token): Add is_path parameter and pass
16207 down to DL_DST_REQUIRED and _dl_dst_substitute.
16208 (decompose_rpath): Call expand_dynamic_string_token with
16209 non-zero is_path. Ignore empty rpaths.
16210 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16211 with zero is_path.
16212
f12a32e6
AS
162132011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16214
16215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16216 Make cancelable.
16217
38a7d692
UD
162182011-04-09 Ulrich Drepper <drepper@gmail.com>
16219
16220 [BZ #12655]
16221 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16222 Patch by Filipe David Manana <fdmanana@apache.org>.
16223
e451d22b
AS
162242011-04-07 Andreas Schwab <schwab@redhat.com>
16225
16226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16227 Maintain aligned stack.
16228 (CHECK_RSP): Remove unused macro.
16229
dedc7c7b
UD
162302011-04-03 Ulrich Drepper <drepper@gmail.com>
16231
16232 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16233 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16234
94521213
UD
162352011-04-02 Ulrich Drepper <drepper@gmail.com>
16236
16237 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16238
8cb700c0 16239 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16240
0354e355
L
162412011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16242
16243 [BZ #12518]
16244 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16245 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16246 * sysdeps/x86_64/memmove.c: New file.
16247 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16248 (memcpy): Renamed to ...
16249 (__new_memcpy): This.
16250 (memcpy): Provide GLIBC_2_14 memcpy.
16251 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16252 (memcpy): Provide GLIBC_2_2_5 memcpy.
16253
8593482f
UD
162542011-04-01 Ulrich Drepper <drepper@gmail.com>
16255
16256 [BZ #12631]
16257 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16258
81a5726b
AS
162592011-03-30 Andreas Schwab <schwab@redhat.com>
16260
16261 * misc/syncfs.c: New file.
16262 * misc/Makefile (routines): Add syncfs.
16263 * posix/unistd.h: Declare syncfs.
16264 * sysdeps/unix/syscalls.list: Add syncfs.
16265
00e5419f
AS
162662011-04-01 Andreas Schwab <schwab@redhat.com>
16267
16268 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16269 open_by_handle_at.
16270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16272 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16273 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16275 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16277
748876bf
UD
162782011-04-01 Ulrich Drepper <drepper@gmail.com>
16279
658e451d
UD
16280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16282 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16284 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16287
748876bf
UD
16288 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16289 sync_file_range.c with -fexceptions.
16290 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16291 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16292 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16293 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16294 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16295 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16297 sync_file_range as cancellation point
16298 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16299 now a wrapper around __call_sync_file_range with cancellation handling.
16300 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16301 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16302 function name to __call_sync_file_range.
16303 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16304 Add call_sync_file_range.
748876bf 16305
6e63d5e1
AS
163062011-04-01 Andreas Schwab <schwab@redhat.com>
16307
16308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16309 bits/timex.h.
6e63d5e1 16310
46998f74
UD
163112011-04-01 Ulrich Drepper <drepper@gmail.com>
16312
4c1423ed
UD
16313 * iconv/iconv.h: Fix typo in comment.
16314 * io/fcntl.h: Likewise.
16315 * libio/stdio.h: Likewise.
16316 * posix/spawn.h: Likewise.
16317 * posix/unistd.h: Likewise.
16318 * stdlib/stdlib.h: Likewise.
16319 * time/time.h: Likewise.
16320 * wcsmbs/wchar.h: Likewise.
16321
158648c0
UD
16322 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16323 open_by_handle): Add.
16324 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16325 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16326 Augment a few comments.
16327 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16328 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16329 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16332 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16333 open_by_handle.
16334
46998f74
UD
16335 * io/fcntl.h (AT_EMPTY_PATH): Define.
16336
83fe108b
UD
163372011-03-30 Ulrich Drepper <drepper@gmail.com>
16338
16339 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16340 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16341 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16342 to...
16343 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16344 * Versions.def: Add GLIBC_2.14.
16345 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16346 Export.
83fe108b 16347
bb242059
UD
163482011-03-22 Ulrich Drepper <drepper@gmail.com>
16349
16350 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16351 round counter.
16352 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16353
c97a1282
L
163542011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16355
16356 [BZ #12597]
16357 * string/test-strncmp.c (do_page_test): New function.
16358 (check2): Likewise.
16359 (test_main): Call check2.
16360 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16361
2a115601
UD
163622011-03-20 Ulrich Drepper <drepper@gmail.com>
16363
16364 [BZ #12587]
16365 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16366 Handle cache information in CPU leaf 4.
16367 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16368
8126d904
UD
163692011-03-18 Ulrich Drepper <drepper@gmail.com>
16370
042c49c6 16371 [BZ #12583]
8126d904
UD
16372 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16373 character representation.
16374 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16375
ccfe366e
RA
163762011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16377
16378 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16379 END(__isnan) to END(__isnanf) to match function entry point/label
16380 EALIGN(__isnanf,...).
16381
c6e13027
JJ
163822011-03-10 Jakub Jelinek <jakub@redhat.com>
16383
16384 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16385
33f85a3f
UD
163862011-03-10 Ulrich Drepper <drepper@gmail.com>
16387
028478fa
UD
16388 [BZ #12510]
16389 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16390 copy from the symbol referenced in the relocation to initialize the
16391 used variable.
16392 Patch by Piotr Bury <pbury@goahead.com>.
16393 * elf/Makefile: Add rules to build and tst-unique3.
16394 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16395 * elf/tst-unique3.cc: New file.
16396 * elf/tst-unique3.h: New file.
16397 * elf/tst-unique3lib.cc: New file.
16398 * elf/tst-unique3lib2.cc: New file.
16399
33f85a3f
UD
16400 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16401
03592fc7
MF
164022011-03-10 Mike Frysinger <vapier@gentoo.org>
16403
16404 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16405 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16406 to _start.
03592fc7 16407
6a5ee102
UD
164082011-03-06 Ulrich Drepper <drepper@gmail.com>
16409
16410 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16411 to-be-loaded object along a path to loader is ld.so.
16412
7e4ba49c
HJ
164132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16414 Ulrich Drepper <drepper@gmail.com>
16415
16416 * sysdeps/x86_64/memset.S: After aligning destination, code
16417 branches to different locations depending on the value of
16418 misalignment, when multiarch is enabled. Fix this.
16419
164202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16421
16422 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16423 Set _x86_64_preferred_memory_instruction for AMD processsors.
16424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16425 Set bit_Prefer_SSE_for_memop for AMD processors.
16426
13a804de
UD
164272011-03-04 Ulrich Drepper <drepper@gmail.com>
16428
16429 * libio/fmemopen.c (fmemopen): Optimize a bit.
16430
9d25c392
AS
164312011-03-03 Andreas Schwab <schwab@redhat.com>
16432
16433 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16434
a5543c6a
RM
164352011-03-03 Roland McGrath <roland@redhat.com>
16436
16437 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16438
012d35f7
DM
164392011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16440
7e4ba49c 16441 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16442 __bzero_ultra1 instead of __memset_ultra1.
16443
4bff6e01
AS
164442011-02-23 Andreas Schwab <schwab@redhat.com>
16445 Ulrich Drepper <drepper@gmail.com>
16446
16447 [BZ #12509]
16448 * include/link.h (struct link_map): Add l_orig_initfini.
16449 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16450 returning unsuccessfully.
16451 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16452 close of a file loaded at startup, restore the original l_initfini
16453 list.
16454 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16455 list, store the pointer.
16456 * elf/Makefile ($(objpfx)noload-mem): New rule.
16457 (noload-ENV): Define.
16458 (tests): Add $(objpfx)noload-mem.
16459 * elf/noload.c: Include <memcheck.h>.
16460 (main): Call mtrace. Close all opened handles.
16461
f2092faf
AS
164622011-02-17 Andreas Schwab <schwab@redhat.com>
16463
16464 [BZ #12454]
16465 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16466 dependencies are missing.
16467
6c8a2e88
ST
164682011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16469
f2092faf 16470 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16471 Hurd needs munmap.
16472 * sysdeps/mach/hurd/ifreq.h: New file.
16473
84a42118
PB
164742011-01-27 Petr Baudis <pasky@suse.cz>
16475 Ulrich Drepper <drepper@gmail.com>
16476
071f805e 16477 [BZ 12445]#
84a42118
PB
16478 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16479 to extend_alloca().
16480 * stdio-common/bug23.c: New file.
16481 * stdio-common/Makefile (tests): Add bug23.
16482
e23fe25b
AS
164832010-09-28 Andreas Schwab <schwab@redhat.com>
16484 Ulrich Drepper <drepper@gmail.com>
16485
16486 [BZ #12489]
16487 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16488 before performing relro protection. At old place add assertion
16489 to make sure nothing changed.
16490
d3f02e10
NS
164912011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16492 Glauber de Oliveira Costa <glommer@gmail.com>
16493
16494 * elf/elf.h: Add new ARM TLS relocs.
16495
d55fd7a5
RA
164962011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16497
16498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16499 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16500 cast from r3.
16501 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16502 'tests' variable.
16503 * sysdeps/wordsize-64/tst-writev.c: New file.
16504
2206397e
RA
165052011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16506
16507 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16508 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16509 insns in _dl_start to prevent a TOC reference before relocs are
16510 resolved.
16511
e9433893
UD
165122011-02-15 Ulrich Drepper <drepper@gmail.com>
16513
16514 [BZ #12469]
16515 * Makeconfig: Remove RANLIB definition.
16516 * Makerules: Don't use RANLIB.
16517 * aclocal.m4: Remove ranlib test.
16518 * configure.in: No need to check for ranlib.
16519 * elf/rtld-Rules: Don't use RANLIB.
16520
f75286c6
ST
165212011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16522
8e31c82d
ST
16523 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16524 protection macro.
16525 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16526 inclusion protection macro.
16527
f75286c6
ST
16528 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16529 SIGRTMIN and SIGRTMAX and print information in that case only when
16530 SIGRTMIN is defined.
16531
c1d0e639
JJ
165322011-02-11 Jakub Jelinek <jakub@redhat.com>
16533
16534 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16535 arginfo fn returning -1.
16536
16537 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16538 and thousands string is zero terminated.
16539
edf9294e
AS
165402011-02-03 Andreas Schwab <schwab@redhat.com>
16541
16542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16543 sysdeps/unix/sysv/linux/bits/socket.h.
16544
2b7e92df
ST
165452011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16546
edf9294e
AS
16547 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16548 (__CPU_COUNT): Remove old macros.
16549 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16550 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16551 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16552 (__sched_cpualloc, __sched_cpufree): Add declarations.
16553
a4c7ea7b
UD
165542011-02-05 Ulrich Drepper <drepper@gmail.com>
16555
16556 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16557 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16558 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16559 (readdhstai): Return value of addhstaiX call.
16560 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16561 (addgrbyX): Return value returned by cache_addgr.
16562 (readdgrbyname): Return value returned by addgrbyX.
16563 (readdgrbygid): Likewise.
16564 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16565 (addpwbyX): Return value returned by cache_addpw.
16566 (readdpwbyname): Return value returned by addhstbyX.
16567 (readdpwbyuid): Likewise.
16568 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16569 (addservbyX): Return value returned by cache_addserv.
16570 (readdservbyname): Return value returned by addservbyX:
16571 (readdservbyport): Likewise.
16572 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16573 (addhstbyX): Return value returned by cache_addhst.
16574 (readdhstbyname): Return value returned by addhstbyX.
16575 (readdhstbyaddr): Likewise.
16576 (readdhstbynamev6): Likewise.
16577 (readdhstbyaddrv6): Likewise.
16578 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16579 (readdinitgroups): Return value returned by addinitgroupsX.
16580 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16581 (prune_cache): Keep track of timeout value of re-added entries.
16582 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16583 * nscd/nscd.h: Adjust prototypes of readd* functions.
16584
a0bf67cc
RM
165852011-02-04 Roland McGrath <roland@redhat.com>
16586
16587 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16588 (nis_stats): Likewise.
16589 * nis/nis_modify.c (nis_modify): Likewise.
16590 * nis/nis_remove.c (nis_remove): Likewise.
16591 * nis/nis_add.c (nis_add): Likewise.
16592
16593 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16594
16595 * posix/fnmatch_loop.c: Add some consts.
16596
16597 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16598
435b95eb
L
165992011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16600
16601 [BZ #12460]
16602 * config.make.in (config-cflags-novzeroupper): Define.
16603 * configure.in: Substitute libc_cv_cc_novzeroupper.
16604 * elf/Makefile (AVX-CFLAGS): Define.
16605 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16606 (CFLAGS-tst-auditmod4a.c): Likewise.
16607 (CFLAGS-tst-auditmod4b.c): Likewise.
16608 (CFLAGS-tst-auditmod6b.c): Likewise.
16609 (CFLAGS-tst-auditmod6c.c): Likewise.
16610 (CFLAGS-tst-auditmod7b.c): Likewise.
16611 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16612
8517b15e
UD
166132011-02-02 Ulrich Drepper <drepper@gmail.com>
16614
16615 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16616 function to the callback.
16617 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16618
10a656fe
AS
166192011-02-02 Andreas Schwab <schwab@redhat.com>
16620
16621 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16622 of errno.
16623
968dad0a
UD
166242011-01-19 Ulrich Drepper <drepper@gmail.com>
16625
9f94d2ea 16626 [BZ #11724]
968dad0a
UD
16627 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16628 of constructors.
16629 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16630 of destructors.
16631 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16632
16633 [BZ #11724]
16634 * elf/Makefile: Add rules to build and run new test.
16635 * elf/tst-initorder.c: New file.
16636 * elf/tst-initorder.exp: New file.
16637 * elf/tst-initordera1.c: New file.
16638 * elf/tst-initordera2.c: New file.
16639 * elf/tst-initordera3.c: New file.
16640 * elf/tst-initordera4.c: New file.
16641 * elf/tst-initorderb1.c: New file.
16642 * elf/tst-initorderb2.c: New file.
16643 * elf/tst-order-a1.c: New file.
16644 * elf/tst-order-a2.c: New file.
16645 * elf/tst-order-a3.c: New file.
16646 * elf/tst-order-a4.c: New file.
16647 * elf/tst-order-b1.c: New file.
16648 * elf/tst-order-b2.c: New file.
16649 * elf/tst-order-main.c: New file.
16650 New test case by George Gensure <werkt0@gmail.com>.
16651
86e92359
UD
166522010-10-01 Andreas Schwab <schwab@redhat.com>
16653
16654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16655 decoding ACE if AI_CANONIDN.
16656
5d5732b0
UD
166572011-01-18 Ulrich Drepper <drepper@gmail.com>
16658
16659 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16660
a77e8cbc
UD
166612011-01-17 Ulrich Drepper <drepper@gmail.com>
16662
6392473f
UD
16663 * version.h (RELEASE): Bump for 2.13 release.
16664 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16665
620a0529
UD
16666 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16667
18ba70a5
UD
16668 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16669 MADV_NOHUGEPAGE.
32465c3e
UD
16670 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16671 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16672 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16673 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16674 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16675 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16676
c0dafcf1
UD
16677 * posix/getconf.c: Update copyright year.
16678 * catgets/gencat.c: Likewise.
16679 * csu/version.c: Likewise.
16680 * debug/catchsegv.sh: Likewise.
16681 * debug/xtrace.sh: Likewise.
16682 * elf/ldconfig.c: Likewise.
16683 * elf/ldd.bash.in: Likewise.
16684 * elf/sprof.c (print_version): Likewise.
16685 * iconv/iconv_prog.c: Likewise.
16686 * iconv/iconvconfig.c: Likewise.
16687 * locale/programs/locale.c: Likewise.
16688 * locale/programs/localedef.c: Likewise.
16689 * malloc/memusage.sh: Likewise.
16690 * malloc/mtrace.pl: Likewise.
16691 * nscd/nscd.c (print_version): Likewise.
16692 * nss/getent.c: Likewise.
16693
a77e8cbc
UD
16694 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16695 PF_CAIF, and PF_ALG.
16696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16697
77e8bddf
AS
166982011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16699
1f20b93a
AS
16700 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16701 (modules-names): Use them.
16702 (ifunc-test-modules, ifunc-pie-tests): Define.
16703 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16704 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16705 (test-extras): Likewise.
16706 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16707 $(compile-command.c).
16708 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16709 (all-built-dso): Define.
16710 (check-textrel.out, check-execstack.out): Depend on it.
16711
77e8bddf
AS
16712 * configure.in: Don't override --enable-multi-arch.
16713
bc425b33
UD
167142011-01-15 Ulrich Drepper <drepper@gmail.com>
16715
16716 [BZ #6812]
16717 * nscd/hstcache.c (tryagain): Define.
16718 (cache_addhst): Return tryagain not notfound for temporary errors.
16719 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16720 failed.
16721
794c3ad3
UD
167222011-01-14 Ulrich Drepper <drepper@gmail.com>
16723
70181fdd
UD
16724 [BZ #10563]
16725 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16726 to make the syscall.
16727 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16728
794c3ad3
UD
16729 [BZ #12378]
16730 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16731 and fall back to matching as normal character if the string ends before
16732 the matching ']' is found. This is what POSIX requires.
16733 * posix/testfnm.c: Adjust test result.
16734 * posix/globtest.sh: Adjust test result. Add new test.
16735 * posix/tst-fnmatch.input: Likewise.
16736 * posix/tst-fnmatch2.c: Add new test.
16737
68dc9497
AS
167382010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16739
16740 * elf/Makefile (check-execstack): Revert last change. Depend on
16741 check-execstack.h.
16742 (check-execstack.h): New target.
16743 (generated): Add check-execstack.h.
16744 * elf/check-execstack.c: Include "check-execstack.h".
16745 (main): Revert last change.
16746 (handle_file): Return zero if GNU_STACK is absent and
16747 DEFAULT_STACK_PERMS doesn't include PF_X.
16748
451f001b
UD
167492011-01-13 Ulrich Drepper <drepper@gmail.com>
16750
cfa28e56
UD
16751 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16752 in child fails because the descriptor is already closed.
8cf8ce17
UD
16753 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16754 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16755 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16756
1086d70d
UD
16757 [BZ #12397]
16758 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16759 syscall.
16760
451f001b
UD
16761 [BZ #10484]
16762 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16763 temporary buffer used to handle multi lookups locally.
a85b5cb4 16764 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16765
08769175
UD
167662011-01-12 Ulrich Drepper <drepper@gmail.com>
16767
16768 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16769 loader is ld.so.
16770
5e49c52e
UD
167712011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16772
16773 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16774 alignment for SSE2.
16775
60522a5f
UD
167762011-01-12 Ulrich Drepper <drepper@gmail.com>
16777
16778 [BZ #12394]
16779 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16780 characters. When rounding increased number of integer digits recompute
16781 number of groups.
16782 * stdio-common/tst-grouping.c: New file.
16783 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16784
f257bbd7
UD
167852011-01-09 Ulrich Drepper <drepper@gmail.com>
16786
16787 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16788 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16789
16790 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16791 void.
16792 * bits/select.h: Likewise.
16793
fa9c15cb
UD
167942011-01-08 Ulrich Drepper <drepper@gmail.com>
16795
16796 * po/ja.po: Update from translation team.
16797
16c2895f
DM
167982011-01-04 David S. Miller <davem@sunset.davemloft.net>
16799
16800 [BZ #11155]
16801 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16802 implementation just like for lxstat, fxstatat, et al.
16803
2543fef2
JM
168042010-12-27 Jim Meyering <meyering@redhat.com>
16805
16806 [BZ #12348]
16807 * posix/regexec.c (build_trtable): Return failure indication upon
16808 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16809
98727dbe
UD
168102010-12-25 Ulrich Drepper <drepper@gmail.com>
16811
5bd6dc5c
UD
16812 [BZ #12201]
16813 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16814 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16815 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16816 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16817
97983464
UD
16818 [BZ #12207]
16819 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16820
98727dbe
UD
16821 [BZ #12204]
16822 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16823 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16824
4a531bb0
L
168252010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16826
16827 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16828 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16829 script has SORT_BY_INIT_PRIORITY.
16830 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16831 NO_CTORS_DTORS_SECTIONS is defined.
16832 * elf/soinit.c: Likewise.
16833 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16834 NO_CTORS_DTORS_SECTIONS is defined.
16835 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16836 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16837 * sysdeps/sh/init-first.c: Likewise.
16838 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16839
07eb4b71
UD
168402010-12-24 Ulrich Drepper <drepper@gmail.com>
16841
16842 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16843 always use the slow path.
16844
30950a5f
RA
168452010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16846
16847 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16848 similar rule which adds the sysdep directories to the header search in
16849 order to pick up the correct platform stackinfo.h.
16850 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16851 perform test if it is, otherwise return successfully without testing.
16852 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16853 DEFAULT_STACK_PERMS define in stackinfo.h.
16854 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16855 defined in stackinfo.h.
16856 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16857 DEFAULT_STACK_PERMS defined in stackinfo.h.
16858 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16859 * sysdeps/ia64/stackinfo.h: Likewise.
16860 * sysdeps/s390/stackinfo.h: Likewise.
16861 * sysdeps/sh/stackinfo.h: Likewise.
16862 * sysdeps/sparc/stackinfo.h: Likewise.
16863 * sysdeps/x86_64/stackinfo.h: Likewise.
16864 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16865 PF_X for powerpc64. Retain PF_X for powerpc32.
16866
db753e2c
UD
168672010-12-19 Ulrich Drepper <drepper@gmail.com>
16868
14b697f7
UD
16869 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16870 accurately.
db753e2c
UD
16871 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16872 GETDENTS_64BIT_ALIGNED.
16873
28300719
UD
168742010-12-14 Ulrich Drepper <dreper@gmail.com>
16875
14b697f7 16876 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16877
4f197237
AS
168782010-12-10 Andreas Schwab <schwab@redhat.com>
16879
dbb0472f
AS
16880 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16881 _GNU_SOURCE.
16882
4f197237
AS
16883 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16884 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16885 Remove __restrict.
16886 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16887 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16888
fb88ac72
UD
168892010-12-09 Ulrich Drepper <drepper@gmail.com>
16890
16891 [BZ #11655]
16892 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16893 are initialized.
16894
42acbb92
JJ
168952010-12-09 Jakub Jelinek <jakub@redhat.com>
16896
16897 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16898
c038d98d
UD
168992010-12-03 Ulrich Drepper <drepper@gmail.com>
16900
16901 * po/it.po: Update from translation team.
16902
3a4a2499
L
169032010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16904
16905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16906 unused codes.
16907
1e24cf6e
UD
169082010-11-30 Ulrich Drepper <drepper@gmail.com>
16909
16910 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16911
a7690819
AS
169122010-11-24 Andreas Schwab <schwab@redhat.com>
16913
16914 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16915 specially.
16916 (gaih_getanswer_slice): Likewise.
16917
3bf8d1b1
JJ
169182010-10-20 Jakub Jelinek <jakub@redhat.com>
16919
16920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16921
6db52fbb
PB
169222010-05-31 Petr Baudis <pasky@suse.cz>
16923
16924 [BZ #11149]
16925 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16926 silently even in the chroot mode.
16927
eaca7569
UD
169282010-11-22 Ulrich Drepper <drepper@gmail.com>
16929
16930 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16931 last patch a bit. Pretty printing
16932
3056dcdb
UD
169332010-05-31 Petr Baudis <pasky@suse.cz>
16934
16935 [BZ #10085]
16936 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16937 initialization of skip_initgroups_dyn.
16938
cf7c9078
UD
169392010-11-19 Ulrich Drepper <drepper@gmail.com>
16940
16941 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16942 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16943
a1fb5e3e
UD
169442010-11-16 Ulrich Drepper <drepper@gmail.com>
16945
16946 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16947
3540d66b
AS
169482010-11-11 Andreas Schwab <schwab@redhat.com>
16949
16950 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16951 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16952 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16953 ($(objpfx)tst-fnmatch-mem): New rule.
16954 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16955 * posix/tst-fnmatch.c (main): Call mtrace.
16956
13b69574
L
169572010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16958
16959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16960 Support Intel processor model 6 and model 0x2c.
16961
da93d214
LM
169622010-11-10 Luis Machado <luisgpm@br.ibm.com>
16963
16964 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16965 signed comparison.
16966
8ca52c6e
L
169672010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16968
16969 [BZ #12205]
16970 * string/test-strncasecmp.c (check_result): New function.
16971 (do_one_test): Use it.
16972 (check1): New function.
16973 (test_main): Use it.
16974 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16975 Support strcasecmp and strncasecmp.
16976
69da074d
UD
169772010-11-08 Ulrich Drepper <drepper@gmail.com>
16978
16979 [BZ #12194]
16980 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16981 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16982
ff02d528
L
169832010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16984
16985 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16986 IFUNC support.
16987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16988 memset-x86-64.
16989 * sysdeps/x86_64/multiarch/bzero.S: New file.
16990 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16991 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16992 * sysdeps/x86_64/multiarch/memset.S: New file.
16993 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16995 Set bit_Prefer_SSE_for_memop for Intel processors.
16996 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16997 Define.
16998 (index_Prefer_SSE_for_memop): Define.
16999 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17000
344d0b54
LM
170012010-11-04 Luis Machado <luisgpm@br.ibm.com>
17002
17003 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17004 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17005
c0dde15b
UD
170062010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17007
17008 [BZ #12191]
17009 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17010 (__x86_64_raw_data_cache_size_half): Likewise.
17011 (__x86_64_raw_shared_cache_size): Likewise.
17012 (__x86_64_raw_shared_cache_size_half): Likewise.
17013
17014 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17015 (__x86_64_raw_data_cache_size_half): Likewise.
17016 (__x86_64_raw_shared_cache_size): Likewise.
17017 (__x86_64_raw_shared_cache_size_half): Likewise.
17018 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17019 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17020 and __x86_64_raw_shared_cache_size_half. Round
17021 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17022 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17023 to multiple of 256 bytes.
17024
0e516e0e
MS
170252010-11-03 Ulrich Drepper <drepper@gmail.com>
17026
17027 [BZ #12167]
17028 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17029 of inacessible symlinks. Verify result of symlink before returning it.
17030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17031 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17032
0e012e87
ER
170332010-10-28 Erich Ritz <erichritz@gmail.com>
17034
17035 * math/math.h (isinf): Fix typo in comment.
17036
de0ff7bc
UD
170372010-11-01 Ulrich Drepper <drepper@gmail.com>
17038
17039 * po/da.po: Update from translation team.
17040
fa41c84d
UD
170412010-10-26 Ulrich Drepper <drepper@gmail.com>
17042
17043 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17044 is added to the list.
17045
f0967738
AK
170462010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17047 Ulrich Drepper <drepper@gmail.com>
17048
17049 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17050 the global list here. Move code to...
17051 (_dl_add_to_namespace_list): ...here. New function.
17052 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17053 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17054 * elf/dl-load.c (lose): Don't remove the element from the list.
17055 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17056 (_dl_map_object): Likewise.
17057
170582010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17059
17060 [BZ #12159]
17061 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17062 into all bytes of SSE register.
17063 Patch by Richard Li <richardpku@gmail.com>.
17064
f0967738 170652010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17066
17067 [BZ #12140]
17068 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17069 perturbing.
17070
d0b9e94f
MB
170712010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17072
17073 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17074 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17075 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17076 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17078 submachine.
17079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17080
8e9f92e9
AS
170812010-10-22 Andreas Schwab <schwab@redhat.com>
17082
17083 * include/dlfcn.h (__RTLD_SECURE): Define.
17084 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17085 mode & __RTLD_SECURE instead.
17086 (open_path): Rename preloaded parameter to secure.
17087 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17088 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17089 * elf/dl-deps.c (openaux): Likewise.
17090 * elf/rtld.c (struct map_args): Remove is_preloaded.
17091 (map_doit): Don't use it.
17092 (dl_main): Likewise.
17093 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17094 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17095
bc96fbda
AS
170962010-09-09 Andreas Schwab <schwab@redhat.com>
17097
17098 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17099 (sysd-rules-targets): Remove duplicates.
17100 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17101 rtld-%.$o dependency.
17102
22cd1c9b
AS
171032010-10-18 Andreas Schwab <schwab@redhat.com>
17104
17105 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17106 _dl_map_object do it.
17107
18edac48
UD
171082010-10-19 Ulrich Drepper <drepper@gmail.com>
17109
17110 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17111 fast fma builtins, define the macros in the C99 standard.
17112 (FP_FAST_FMAF): Likewise.
17113 (FP_FAST_FMAL): Likewise.
17114 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17115
17116 * bits/mathdef.h: Update copyright year.
17117 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17118
d2050124
MM
171192010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17120
17121 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17122 builtins, define the macros in the C99 standard.
17123 (FP_FAST_FMAF): Likewise.
17124 (FP_FAST_FMAL): Likewise.
17125 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17126 multiply/add.
17127 (FP_FAST_FMAF): Likewise.
17128
475facd1
JJ
171292010-10-15 Jakub Jelinek <jakub@redhat.com>
17130
17131 [BZ #3268]
17132 * math/libm-test.inc (fma_test): Some new testcases.
17133 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17134 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17135 y and infinite z. Do multiplication by C already in long double.
17136 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17138 y and infinite z. Do bitwise or of inexact bit into u.d.
17139 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17140 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17141 * sysdeps/i386/fpu/s_fma.S: Removed.
17142 * sysdeps/i386/fpu/s_fmal.S: Removed.
17143
7c08a05c
JJ
171442010-10-16 Jakub Jelinek <jakub@redhat.com>
17145
17146 [BZ #3268]
17147 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17149 computation is not scheduled after fetestexcept. Fix value
17150 of minimum denormal long double.
17151
f3f7372d
JJ
171522010-10-14 Jakub Jelinek <jakub@redhat.com>
17153
17154 [BZ #3268]
17155 * math/libm-test.inc (fma_test): Add some more tests.
17156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17157 correctly.
17158
14d43591
AS
171592010-10-15 Andreas Schwab <schwab@redhat.com>
17160
17161 * scripts/data/localplt-s390-linux-gnu.data: New file.
17162 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17163
5e908464
JJ
171642010-10-13 Jakub Jelinek <jakub@redhat.com>
17165
17166 [BZ #3268]
17167 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17168 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17169 instead of dbl-64.
17170 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17171 inlines.
17172 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17174 if one of x and y is very large and the other is subnormal.
17175 * sysdeps/s390/fpu/s_fmaf.c: New file.
17176 * sysdeps/s390/fpu/s_fma.c: New file.
17177 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17178 * sysdeps/powerpc/fpu/s_fma.S: New file.
17179 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17180 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17181 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17182
171832010-10-12 Jakub Jelinek <jakub@redhat.com>
17184
17185 [BZ #3268]
17186 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17187 fma tests.
17188 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17189 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17190 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17191 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17192 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17193 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17194 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17195
b833d51f
UD
171962010-10-12 Ulrich Drepper <drepper@redhat.com>
17197
17198 [BZ #12078]
17199 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17200 * posix/bug-regex31.input: Add test case.
17201
1751705d
UD
172022010-10-11 Ulrich Drepper <drepper@gmail.com>
17203
e9b9cbf5
UD
17204 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17205 * posix/bug-regex31.input: New file.
17206
17207 [BZ #12078]
17208 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17209 (parse_sub_exp): Fix last change, use postorder.
17210
ef06edbe
UD
17211 * posix/bug-regex31.c: New file.
17212 * posix/Makefile: Add rules to build and run bug-regex31.
17213
a129c80d
UD
17214 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17215
17216 [BZ #12078]
17217 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17218
b76b818e
UD
17219 [BZ #12108]
17220 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17221 to have entries in sys_siglist.
17222
1751705d
UD
17223 [BZ #12093]
17224 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17225 be NULL.
17226
9ff8d36f
JJ
172272010-10-07 Jakub Jelinek <jakub@redhat.com>
17228
17229 [BZ #3268]
17230 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17231 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17232 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17233 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17234 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17235 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17236 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17237 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17238 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17239 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17240 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17241 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17242 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17243 * math/ftestexcept.c (fetestexcept): Likewise.
17244 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17245 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17246 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17247 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17248 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17249 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17250 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17251
af325969
UD
172522010-10-11 Ulrich Drepper <drepper@gmail.com>
17253
c579b202 17254 [BZ #12107]
af325969
UD
17255 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17256 newline.
17257
67a67b95
UD
172582010-10-06 Ulrich Drepper <drepper@gmail.com>
17259
17260 * string/bug-strstr1.c: New file.
17261 * string/Makefile: Add rules to build and run bug-strstr1.
17262
5fb308bc
EB
172632010-10-05 Eric Blake <eblake@redhat.com>
17264
17265 [BZ #12092]
17266 * string/str-two-way.h (two_way_long_needle): Always clear memory
17267 when skipping input due to the shift table.
17268
45db99c7
UD
172692010-10-03 Ulrich Drepper <drepper@gmail.com>
17270
3b111893
UD
17271 [BZ #12005]
17272 * malloc/mcheck.c: Handle large requests.
17273
45db99c7
UD
17274 [BZ #12077]
17275 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17276 for strncmp and strncasecmp.
17277 * string/stratcliff.c: Add tests for strcmp and strncmp.
17278 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17279
cf7a1eb8
NI
172802010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17281
17282 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17283 __set_fpscr.
17284
6484ba5e
AJ
172852010-09-30 Andreas Jaeger <aj@suse.de>
17286
17287 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17288 (CGROUP_SUPER_MAGIC): Define.
17289 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17290 Handle btrfs and cgroup file systems.
17291 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17292 Likewise.
17293
91c42559
LM
172942010-09-27 Luis Machado <luisgpm@br.ibm.com>
17295
17296 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17297 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17298
87a97932
AK
172992010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17300
17301 [BZ #12067]
17302 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17303 trying to locate the ELF header.
17304
c21cc9bc
AS
173052010-09-27 Andreas Schwab <schwab@redhat.com>
17306
17307 [BZ #11611]
17308 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17309 Mask out sign-bit copies when constructing f_fsid.
17310
315970f6
PB
173112010-09-24 Petr Baudis <pasky@suse.cz>
17312
17313 * debug/stack_chk_fail_local.c: Add missing licence exception.
17314 * debug/warning-nop.c: Likewise.
17315
1ac7a2c7
JM
173162010-09-15 Joseph Myers <joseph@codesourcery.com>
17317
17318 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17319 implementing getdents64 using getdents syscall, set d_type if
17320 __ASSUME_GETDENTS32_D_TYPE.
17321
56801c50
AS
173222010-09-16 Andreas Schwab <schwab@redhat.com>
17323
17324 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17325 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17326
dda51327
UD
173272010-09-21 Ulrich Drepper <drepper@redhat.com>
17328
17329 [BZ #12037]
17330 * posix/unistd.h: Undo change of feature selection for ftruncate from
17331 2010-01-11.
17332
8ffcee4a
UD
173332010-09-20 Ulrich Drepper <drepper@redhat.com>
17334
a545ecd9 17335 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17336 detection.
17337
e24f0a8b
AS
173382010-09-20 Andreas Schwab <schwab@redhat.com>
17339
17340 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17341 fanotify_mark.
17342 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17343
7291c56f
AS
173442010-09-14 Andreas Schwab <schwab@redhat.com>
17345
17346 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17347 variables after CHECK_SP call.
17348 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17349
bc5fb037
AS
173502010-09-13 Andreas Schwab <schwab@redhat.com>
17351 Ulrich Drepper <drepper@redhat.com>
17352
17353 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17354 re-relocationg ld.so.
17355 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17356 _dl_init_paths call.
17357 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17358 here anymore.
17359
e66e7419
UD
173602010-09-14 Ulrich Drepper <drepper@redhat.com>
17361
17362 * resolv/res_init.c (__res_vinit): Count the default server we added.
17363
c044aa75
CLT
173642010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17365 Ulrich Drepper <drepper@redhat.com>
17366
17367 [BZ #11968]
17368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17369 (____longjmp_chk): Use %ebx for saving value across system call.
17370 Add unwind info.
17371
32cf4069
AS
173722010-09-06 Andreas Schwab <schwab@redhat.com>
17373
17374 * manual/Makefile: Don't mix pattern rules with normal rules.
17375
817328ee
AS
173762010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17377
17378 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17379 operation.
17380 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17381 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17382 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17383 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17385 Likewise.
17386
29fddf61
UD
173872010-09-04 Ulrich Drepper <drepper@redhat.com>
17388
17389 [BZ #11979]
17390 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17391 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17392
0959ffc9
UD
173932010-09-02 Ulrich Drepper <drepper@redhat.com>
17394
17395 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17396 * sysdeps/x86_64/addmul_1.S: Likewise.
17397 * sysdeps/x86_64/lshift.S: Likewise.
17398 * sysdeps/x86_64/mul_1.S: Likewise.
17399 * sysdeps/x86_64/rshift.S: Likewise.
17400 * sysdeps/x86_64/sub_n.S: Likewise.
17401 * sysdeps/x86_64/submul_1.S: Likewise.
17402
ece29840
ST
174032010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17404
0959ffc9
UD
17405 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17406 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17407 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17408 * bits/sched.h [__need_schedparam]
ece29840 17409 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17410 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17411 (__defined_schedparam): Define to 1.
ece29840
ST
17412 (__sched_param): New structure, identical to sched_param.
17413 (__need_schedparam): Undefine.
17414
e53a31fe
MF
174152010-08-31 Mike Frysinger <vapier@gentoo.org>
17416
fdc0c10d
MF
17417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17418 (epoll_create1): Declare.
17419
e53a31fe
MF
17420 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17421
a726d796
AS
174222010-08-31 Andreas Schwab <schwab@redhat.com>
17423
17424 [BZ #7066]
17425 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17426 shifting retval into place.
17427
2f3e3dc7
UD
174282010-09-01 Ulrich Drepper <drepper@redhat.com>
17429
f2933da9
UD
17430 * nis/rpcsvc/nis.h: Update copyright notice.
17431 * nis/rpcsvc/nis.x: Likewise.
17432 * nis/rpcsvc/nis_callback.h: Likewise.
17433 * nis/rpcsvc/nis_callback.x: Likewise.
17434 * nis/rpcsvc/nis_object.x: Likewise.
17435 * nis/rpcsvc/nis_tags.h: Likewise.
17436 * nis/rpcsvc/yp.h: Likewise.
17437 * nis/rpcsvc/yp.x: Likewise.
17438 * nis/rpcsvc/ypupd.h: Likewise.
17439 * nis/yp_xdr.c: Likewise.
17440 * nis/ypupdate_xdr.c: Likewise.
17441
2f3e3dc7
UD
17442 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17443 mainly the body of pmap_getport. Add parameters to specify timeouts.
17444 (pmap_getport): Use __libc_rpc_getport.
17445 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17446 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17447 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17448
f3dcc2f9
AS
174492010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17450
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17452 fanotify_mark.
17453
6d34eb5b
RM
174542010-08-27 Roland McGrath <roland@redhat.com>
17455
17456 * sysdeps/i386/i686/multiarch/Makefile
17457 (CFLAGS-varshift.c): New variable.
17458
9ea3de11
UD
174592010-08-27 Ulrich Drepper <drepper@redhat.com>
17460
c96d23fc
UD
17461 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17462 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17463
9ea3de11
UD
17464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17465
17466 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17467
623aac7f
L
174682010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17469
17470 * sysdeps/x86_64/strlen.S: Unroll the loop.
17471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17472 strlen-sse2 strlen-sse2-bsf.
17473 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17474 __strlen_no_bsf if bit_Slow_BSF is set.
17475 (__strlen_sse42): Removed.
17476 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17477 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17478
8b2b7715
RM
174792010-08-25 Roland McGrath <roland@redhat.com>
17480
17481 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17482 * sysdeps/x86_64/multiarch/varshift.c: New file.
17483 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17484 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17485 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17486 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17487
e73015f2
L
174882010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17489
17490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17491 strlen-sse2 strlen-sse2-bsf.
17492 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17493 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17494 (__strlen_sse2): Removed.
17495 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17496 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17498 bit_Slow_BSF for Atom.
17499 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17500 (index_Slow_BSF): Define.
17501 (HAS_SLOW_BSF): Define.
17502
df24a73e
UD
175032010-08-25 Ulrich Drepper <drepper@redhat.com>
17504
17505 [BZ #10851]
17506 * resolv/res_init.c (__res_vinit): When no server address at all
17507 is given default to loopback.
17508
f2ac4868
RM
175092010-08-24 Roland McGrath <roland@redhat.com>
17510
09055553
RM
17511 * configure.in: Remove config-name.h generation.
17512 * configure: Regenerated.
17513 * config-name.in: File removed.
17514 * scripts/config-uname.sh: New file.
17515 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17516 ($(objdir)config-name.h): New target.
17517
f2ac4868
RM
17518 * sunrpc/rpc_parse.h: Avoid nested comment.
17519
73f27d5e
RH
175202010-08-24 Richard Henderson <rth@redhat.com>
17521 Ulrich Drepper <drepper@redhat.com>
17522 H.J. Lu <hongjiu.lu@intel.com>
17523
17524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17526 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17527 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17528 _mm_alignr_epi8 with _mm_loadu_si128.
17529 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17530 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17531 (__m128i_shift_right): Removed.
17532 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17533 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17534 * sysdeps/x86_64/multiarch/varshift.h: New file.
17535 * sysdeps/x86_64/multiarch/varshift.S: New file.
17536
84b9230c
MF
175372010-08-21 Mike Frysinger <vapier@gentoo.org>
17538
17539 * configure.in: Move assembler checks to before sysdep dir checking.
17540
9bbd0ddc
PB
175412010-08-20 Petr Baudis <pasky@suse.cz>
17542
17543 * LICENSES: Sync the sunrpc license.
17544
9da4bb31
UD
175452010-08-19 Ulrich Drepper <drepper@redhat.com>
17546
a7ab6ec8
UD
17547 * sunrpc/auth_des.c: Update copyright notice once again.
17548 * sunrpc/auth_none.c: Likewise.
17549 * sunrpc/auth_unix.c: Likewise.
17550 * sunrpc/authdes_prot.c: Likewise.
17551 * sunrpc/authuxprot.c: Likewise.
17552 * sunrpc/bindrsvprt.c: Likewise.
17553 * sunrpc/clnt_gen.c: Likewise.
17554 * sunrpc/clnt_perr.c: Likewise.
17555 * sunrpc/clnt_raw.c: Likewise.
17556 * sunrpc/clnt_simp.c: Likewise.
17557 * sunrpc/clnt_tcp.c: Likewise.
17558 * sunrpc/clnt_udp.c: Likewise.
17559 * sunrpc/clnt_unix.c: Likewise.
17560 * sunrpc/des_crypt.c: Likewise.
17561 * sunrpc/des_soft.c: Likewise.
17562 * sunrpc/get_myaddr.c: Likewise.
17563 * sunrpc/getrpcport.c: Likewise.
17564 * sunrpc/key_call.c: Likewise.
17565 * sunrpc/key_prot.c: Likewise.
17566 * sunrpc/openchild.c: Likewise.
17567 * sunrpc/pm_getmaps.c: Likewise.
17568 * sunrpc/pm_getport.c: Likewise.
17569 * sunrpc/pmap_clnt.c: Likewise.
17570 * sunrpc/pmap_prot.c: Likewise.
17571 * sunrpc/pmap_prot2.c: Likewise.
17572 * sunrpc/pmap_rmt.c: Likewise.
17573 * sunrpc/rpc/auth.h: Likewise.
17574 * sunrpc/rpc/auth_unix.h: Likewise.
17575 * sunrpc/rpc/clnt.h: Likewise.
17576 * sunrpc/rpc/des_crypt.h: Likewise.
17577 * sunrpc/rpc/key_prot.h: Likewise.
17578 * sunrpc/rpc/netdb.h: Likewise.
17579 * sunrpc/rpc/pmap_clnt.h: Likewise.
17580 * sunrpc/rpc/pmap_prot.h: Likewise.
17581 * sunrpc/rpc/pmap_rmt.h: Likewise.
17582 * sunrpc/rpc/rpc.h: Likewise.
17583 * sunrpc/rpc/rpc_des.h: Likewise.
17584 * sunrpc/rpc/rpc_msg.h: Likewise.
17585 * sunrpc/rpc/svc.h: Likewise.
17586 * sunrpc/rpc/svc_auth.h: Likewise.
17587 * sunrpc/rpc/types.h: Likewise.
17588 * sunrpc/rpc/xdr.h: Likewise.
17589 * sunrpc/rpc_clntout.c: Likewise.
17590 * sunrpc/rpc_cmsg.c: Likewise.
17591 * sunrpc/rpc_common.c: Likewise.
17592 * sunrpc/rpc_cout.c: Likewise.
17593 * sunrpc/rpc_dtable.c: Likewise.
17594 * sunrpc/rpc_hout.c: Likewise.
17595 * sunrpc/rpc_main.c: Likewise.
17596 * sunrpc/rpc_parse.c: Likewise.
17597 * sunrpc/rpc_parse.h: Likewise.
17598 * sunrpc/rpc_prot.c: Likewise.
17599 * sunrpc/rpc_sample.c: Likewise.
17600 * sunrpc/rpc_scan.c: Likewise.
17601 * sunrpc/rpc_scan.h: Likewise.
17602 * sunrpc/rpc_svcout.c: Likewise.
17603 * sunrpc/rpc_tblout.c: Likewise.
17604 * sunrpc/rpc_util.c: Likewise.
17605 * sunrpc/rpc_util.h: Likewise.
17606 * sunrpc/rpcinfo.c: Likewise.
17607 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17608 * sunrpc/rpcsvc/key_prot.x: Likewise.
17609 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17610 * sunrpc/rpcsvc/mount.x: Likewise.
17611 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17612 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17613 * sunrpc/rpcsvc/rex.x: Likewise.
17614 * sunrpc/rpcsvc/rstat.x: Likewise.
17615 * sunrpc/rpcsvc/rusers.x: Likewise.
17616 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17617 * sunrpc/rpcsvc/spray.x: Likewise.
17618 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17619 * sunrpc/rtime.c: Likewise.
17620 * sunrpc/svc.c: Likewise.
17621 * sunrpc/svc_auth.c: Likewise.
17622 * sunrpc/svc_authux.c: Likewise.
17623 * sunrpc/svc_raw.c: Likewise.
17624 * sunrpc/svc_run.c: Likewise.
17625 * sunrpc/svc_simple.c: Likewise.
17626 * sunrpc/svc_tcp.c: Likewise.
17627 * sunrpc/svc_udp.c: Likewise.
17628 * sunrpc/svc_unix.c: Likewise.
17629 * sunrpc/svcauth_des.c: Likewise.
17630 * sunrpc/xcrypt.c: Likewise.
17631 * sunrpc/xdr.c: Likewise.
17632 * sunrpc/xdr_array.c: Likewise.
17633 * sunrpc/xdr_float.c: Likewise.
17634 * sunrpc/xdr_mem.c: Likewise.
17635 * sunrpc/xdr_rec.c: Likewise.
17636 * sunrpc/xdr_ref.c: Likewise.
17637 * sunrpc/xdr_sizeof.c: Likewise.
17638 * sunrpc/xdr_stdio.c: Likewise.
17639
9da4bb31
UD
17640 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17641 handling.
17642
bdaa77bc
AS
176432010-08-19 Andreas Schwab <schwab@redhat.com>
17644
17645 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17646
fe2f79db
LM
176472010-08-19 Luis Machado <luisgpm@br.ibm.com>
17648
17649 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17650 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17651 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17652 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17653 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17654 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17655 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17656 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17657 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17658 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17659 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17660 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17661 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17662 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17663
b9b42ee0
AB
176642010-07-26 Anton Blanchard <anton@samba.org>
17665
17666 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17667 * malloc/arena.c (heap_trim): Likewise.
17668
1c06ba31
UD
176692010-08-16 Ulrich Drepper <drepper@redhat.com>
17670
17671 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17672 here. Not...
17673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17674 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17675
f8392f40
L
176762010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17677
17678 * sysdeps/i386/elf/Makefile: New file.
17679
3162f12e
AS
176802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17681
17682 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17683 from fanotify_init.
17684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17686
28c90b2c
UD
176872010-08-15 Ulrich Drepper <drepper@redhat.com>
17688
17689 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17690 of strncasecmp_l.
1feccb6c 17691 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17692
ca6bb004
UD
176932010-08-14 Ulrich Drepper <drepper@redhat.com>
17694
e9f82e0d
UD
17695 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17696 strncase_l-nonascii.
17697 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17698 Add strncase_l-ssse3.
17699 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17700 * sysdeps/x86_64/strcmp.S: Likewise.
17701 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17702 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17703 * sysdeps/x86_64/strncase.S: New file.
17704 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17705 * sysdeps/x86_64/strncase_l.S: New file.
17706 * string/Makefile (strop-tests): Add strncasecmp.
17707 * string/test-strncasecmp.c: New file.
17708
17709 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17710 warning.
17711
ca6bb004
UD
17712 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17713 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17714
052fa7b3
AS
177152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17716
17717 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17718
962dba78
UD
177192010-08-12 Ulrich Drepper <drepper@redhat.com>
17720
17721 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17722 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17723 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17724
bebff237
AM
177252010-05-01 Alan Modra <amodra@gmail.com>
17726
17727 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17728 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17729 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17730 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17731 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17732 tidying. Don't tail-call __sigjmp_save for static lib.
17733 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17734 save location.
17735 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17736 (CALL_MCOUNT): Add eh info, and nop after bl.
17737 (TAIL_CALL_SYSCALL_ERROR): New macro.
17738 (PSEUDO_RET): Use it.
17739 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17740 Correct save location of integer regs and cr.
17741 (_dl_profile_resolve): Correct cr save location. Delete nops
17742 after bl when SHARED. Reduce cfi size a little by better
17743 placement of cfi directives.
17744 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17745 make a stack frame. Instead use parm save area as a temp.
17746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17747 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17749 Don't make a stack frame for parent, use parm save area.
17750 Increase child stack frame to 112 bytes. Don't save unused reg,
17751 and adjust reg usage. Set up cfi on error recovery and
17752 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17754 (__makecontext): Add dummy nop after jump to exit.
17755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17756 Use correct parm save area and cr save, reduce stack frame.
17757 Correct cfi for possible PSEUDO_RET frame setup.
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17759 Branch to local label emitted by PSEUDO_RET rather than
17760 __syscall_error.
17761
02637374
AS
177622010-08-12 Andreas Schwab <schwab@redhat.com>
17763
17764 [BZ #11904]
17765 * locale/programs/locale.c (print_assignment): New function.
17766 (show_locale_vars): Use it.
17767
c3e2f19b
UD
177682010-08-11 Ulrich Drepper <drepper@redhat.com>
17769
3cdaa6ad
UD
17770 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17771 field.
17772 (struct statfs64): Likewise.
17773 (_STATFS_F_FLAGS): Define.
17774 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17775 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17776 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17777 (ST_VALID): Define locally.
17778 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17779 __statvfs_getflags, use the provided value.
17780 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17781 __ASSUME_STATFS_F_FLAGS.
17782
754f7da3
UD
17783 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17784
10b3bedc
UD
17785 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17786 Add sys/fanotify.h.
17787 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17788 fanotify_mask for GLIBC_2.13.
17789 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17790 fanotify_init and fanotify_mark.
17791 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17792 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17793
c08fb0d7
UD
17794 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17795 Add prlimit.
17796 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17797 prlimit64 for GLIBC_2.13.
17798 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17799 prlimit64.
17800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17801 syscall.
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17803 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17804 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17805 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17807 add prlimit alias.
17808 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17809
15bac72b
UD
17810 [BZ #11903]
17811 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17812 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17813
c3e2f19b
UD
17814 * nss/Makefile: Add rules to build and run tst-nss-test1.
17815 * shlib-versions: Add entry for libnss_test1.
17816 * nss/nss_test1.c: New file.
17817 * nss/tst-nss-test1.c: New file.
17818
17819 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17820 (__nss_configure_lookup): Set appropriate entry in
17821 __nss_configure_lookup to true.
17822 * nss/nsswitch.h: Define enum with indeces of databases in
17823 databases and __nss_database_custom arrays. Declare
17824 __nss_database_custom.
17825 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17826 to avoid using nscd when custom rules are installed.
17827 * nss/getXXbyYY_r.c: Likewise.
17828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17829
17830 * nss/nss_files/files-parse.c: Whitespace fixes.
17831
f15ce4d8
UD
178322010-08-09 Ulrich Drepper <drepper@redhat.com>
17833
17834 [BZ #11883]
17835 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17836 * posix/fnmatch_loop.c: Likewise.
17837
d22e4cc9
AK
178382010-07-17 Andi Kleen <ak@linux.intel.com>
17839
17840 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17841 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17842 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17843 * Versions.def [GLIBC_2.13]: Add.
17844
805bc17d
UD
178452010-08-06 Ulrich Drepper <drepper@redhat.com>
17846
17847 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17848 Also fail if tpwd after pwuid call is NULL.
17849
5a42321d
ST
178502010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17851
17852 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17853 when converting to ms.
17854
fd3ebeda
ST
178552010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17856
17857 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17858 EOPNOTSUPP errors with ENOTTY.
17859 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17860 EOPNOTSUPP errors with ENOTTY.
17861
73507d3a
UD
178622010-07-31 Ulrich Drepper <drepper@redhat.com>
17863
17864 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17865 Add strcasecmp_l-ssse3.
17866 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17867 strcasecmp.
17868 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17869 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17870 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17871
fe36dd02
UD
178722010-07-30 Ulrich Drepper <drepper@redhat.com>
17873
66f6765a
UD
17874 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17875
42e08a54
UD
17876 * string/Makefile (strop-tests): Add strcasecmp.
17877 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17878 strcasecmp_l-nonascii.
17879 (gen-as-const-headers): Add locale-defines.sym.
17880 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17881 * sysdeps/x86_64/strcasecmp.S: New file.
17882 * sysdeps/x86_64/strcasecmp_l.S: New file.
17883 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17884 * sysdeps/x86_64/locale-defines.sym: New file.
17885 * string/test-strcasecmp.c: New file.
17886
fe36dd02
UD
17887 * string/test-strcasestr.c: Test both ends of the range of characters.
17888 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17889
48cbc0d6
RM
178902010-07-29 Roland McGrath <roland@redhat.com>
17891
76e6d6bc 17892 [BZ #11856]
48cbc0d6
RM
17893 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17894
880113d9
UD
178952010-07-27 Ulrich Drepper <drepper@redhat.com>
17896
17897 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17898 for ld.so.
17899
deb9cabb
AS
179002010-07-27 Andreas Schwab <schwab@redhat.com>
17901
17902 * manual/memory.texi (Malloc Tunable Parameters): Document
17903 M_PERTURB.
17904
1c7570ff
RM
179052010-07-26 Roland McGrath <roland@redhat.com>
17906
17907 [BZ #11840]
17908 * configure.in (-fgnu89-inline check): Set and substitute
17909 gnu89_inline, not libc_cv_gnu89_inline.
17910 * configure: Regenerated.
17911 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17912
24fb0f88
UD
179132010-07-26 Ulrich Drepper <drepper@redhat.com>
17914
17915 * string/test-strnlen.c: New file.
17916 * string/Makefile (strop-tests): Add strnlen.
17917 * string/tester.c (test_strnlen): Add a few more test cases.
17918 * string/tst-strlen.c: Better error reporting.
17919
17920 * sysdeps/x86_64/strnlen.S: New file.
17921
8e96b93a
UD
179222010-07-24 Ulrich Drepper <drepper@redhat.com>
17923
17924 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17925 lower-latency instructions.
17926
dbc676d4
UD
179272010-07-23 Ulrich Drepper <drepper@redhat.com>
17928
17929 * string/test-strcasestr.c: New file.
17930 * string/test-strstr.c: New file.
17931 * string/Makefile (strop-tests): Add strstr and strcasestr.
17932 * string/str-two-way.h: Don't undefine MAX.
17933 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17934
f6a31e0e
AS
179352010-07-21 Andreas Schwab <schwab@redhat.com>
17936
17937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17938 strcasestr-nonascii.
17939 (CFLAGS-strcasestr-nonascii.c): Define.
17940 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17941 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17942 Remove unused attribute.
17943
5dbc3b6c
RM
179442010-07-20 Roland McGrath <roland@redhat.com>
17945
17946 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17947 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17948 ld.so.cache was broken. With it, there is no way to disable dsocaps
17949 like LD_HWCAP_MASK can disable hwcaps.
17950
23d101d8
EPM
179512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17952
17953 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17954
cc9f2e47
UD
179552010-07-16 Ulrich Drepper <drepper@redhat.com>
17956
17957 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17958 call in strcasestr.
17959 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17960 __strcasestr_sse42_nonascii.
17961 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17962 strcasestr-nonascii.c.
17963 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17964
77c1b069
LM
179652010-06-15 Luis Machado <luisgpm@br.ibm.com>
17966
17967 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17968 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17969 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17970 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17971
440566c3
UD
179722010-07-09 Ulrich Drepper <drepper@redhat.com>
17973
17974 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17975 fcntl.
17976
5be9d05d
AS
179772010-07-06 Andreas Schwab <schwab@redhat.com>
17978
c30b7ee2 17979 [BZ #11577]
5be9d05d
AS
17980 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17981 dl_signal_cerror.
17982
8a492a67
UD
179832010-07-06 Ulrich Drepper <drepper@redhat.com>
17984
17985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17986 _PC_PIPE_BUF using F_GETPIPE_SZ.
17987
713df3d5
RM
179882010-07-05 Roland McGrath <roland@redhat.com>
17989
17990 * manual/arith.texi (Rounding Functions): Fix rint description
17991 implicit in round description.
17992
702e8f14
UD
179932010-07-02 Ulrich Drepper <drepper@redhat.com>
17994
17995 * elf/Makefile: Fix linking for a few tests to make recent linker
17996 happy.
17997
52ed8be9
AS
179982010-06-30 Andreas Schwab <schwab@redhat.com>
17999
18000 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18001 $(common-objpfx)libc_nonshared.a.
18002
f47c9a11
LM
180032010-06-21 Luis Machado <luisgpm@br.ibm.com>
18004
18005 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18006 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18007 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18008 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18009 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18010 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18011 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18012 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18027 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18028 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18029 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18030 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18031 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18032 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18033 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18034 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18035 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18036 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18037 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18038 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18053
6fb8cbcb
L
180542010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18055
18056 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18057 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18058 * string/memmove.c (memmove): Renamed to ...
18059 (MEMMOVE): ...this. Default to memmove.
18060 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18061 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18062 (END_CHK): Define.
18063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18064 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18065 mempcpy-ssse3-back memmove-ssse3-back.
18066 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18067 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18068 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18069 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18070 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18071 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18072 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18073 * sysdeps/x86_64/multiarch/memmove.c: New file.
18074 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18075 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18076 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18077 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18078 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18079 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18080 Define.
18081 (index_Fast_Copy_Backward): Define.
18082 (HAS_ARCH_FEATURE): Define.
18083 (HAS_FAST_REP_STRING): Define.
18084 (HAS_FAST_COPY_BACKWARD): Define.
18085
4e733bac 180862010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18087
18088 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18089 Restore proper fallback handling.
18090
63c4ed22
UD
180912010-06-19 Ulrich Drepper <drepper@redhat.com>
18092
ac2b484c
UD
18093 [BZ #11701]
18094 * posix/group_member.c (__group_member): Correct checking loop.
18095
63c4ed22
UD
18096 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18097 OOM in getpwuid_r correctly. Return error number when the caller
18098 should return, otherwise -1.
18099 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18100 call returning > 0 value.
18101 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18102
765ade4b
AS
181032010-06-07 Andreas Schwab <schwab@redhat.com>
18104
18105 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18106 libc_nonshared.a from targets in modules-names.
18107
80da2e09
KS
181082010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18109
18110 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18111 requires it.
18112
158db122
LM
181132010-06-10 Luis Machado <luisgpm@br.ibm.com>
18114
18115 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18116 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18119
caa78cf8
AS
181202010-06-02 Andreas Schwab <schwab@redhat.com>
18121
18122 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18123
b2ef2c01
UD
181242010-06-14 Ulrich Drepper <drepper@redhat.com>
18125
18126 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18127 and F_GETPIPE_SZ.
18128 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18132 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18133 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18134
fbd643b6
RM
181352010-06-14 Roland McGrath <roland@redhat.com>
18136
18137 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18138
f32f2869
JJ
181392010-06-07 Jakub Jelinek <jakub@redhat.com>
18140
18141 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18142 __REDIRECT followed by __THROW.
18143 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18144 * posix/getopt.h (getopt): Likewise.
18145
2a50c078
EPM
181462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18147
18148 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18149 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18150 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18151 in AT_FLAGS.
18152 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18153 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18154
eb5ad2eb
LM
181552010-05-28 Luis Machado <luisgpm@br.ibm.com>
18156
18157 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18158
3c88fe1e
L
181592010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18160
18161 [BZ #11640]
18162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18163 Properly check family and model.
18164
d2f73151
TY
181652010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18166
18167 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18168
ebd2e13d
LM
181692010-05-24 Luis Machado <luisgpm@br.ibm.com>
18170
18171 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18172
b32b8b45
UD
181732010-05-21 Ulrich Drepper <drepper@redhat.com>
18174
18175 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18176 symbol reference.
18177
9acbe24d
AS
181782010-05-19 Andreas Schwab <schwab@redhat.com>
18179
18180 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18181 symbol reference.
18182
f0ccf6ea
AS
181832010-05-21 Andreas Schwab <schwab@redhat.com>
18184
3d04ff3a
AS
18185 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18186 and internal_recvmmsg.
18187 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18188 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18189 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18190 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18191
f0ccf6ea
AS
18192 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18193 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18194 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18195
5b08ac57
AS
181962010-05-20 Andreas Schwab <schwab@redhat.com>
18197
18198 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18199
4828935d
LM
182002010-05-17 Luis Machado <luisgpm@br.ibm.com>
18201
18202 POWER7 optimizations.
18203 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18204 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18205
373d545e
UD
182062010-05-19 Ulrich Drepper <drepper@redhat.com>
18207
18208 * version.h: Update for 2.13 development version.
18209
21a2b1ae
AS
182102010-05-12 Andrew Stubbs <ams@codesourcery.com>
18211
18212 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18213 exceptions. Return 0.
18214
3f7dcb2b
RM
182152010-05-07 Roland McGrath <roland@redhat.com>
18216
18217 * elf/ldconfig.c (main): Add a const.
18218
5f24d53a 182192010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18220
a160f8d8
UD
18221 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18222 (args_options): Add no-idn option.
18223 (ahosts_keys_int): Add idn_flags to ai_flags.
18224 (parse_option): Handle 'i' option to clear idn_flags.
18225
5f24d53a
UD
18226 * malloc/malloc.c (_int_free): Possible race in the most recently
18227 added check. Only act on the data if no current modification
18228 happened.
265bb1ce
UD
18229
18230See ChangeLog.17 for earlier changes.