]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add sotruss-lib support for ARM.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b36137f1
JM
12012-08-08 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4 Remove.
5
cdd915fd
RM
62012-08-08 Roland McGrath <roland@hack.frob.com>
7
a2433aac
RM
8 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9
cdd915fd
RM
10 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11 sysdeps/unix -> sysdeps/posix move.
12 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13
bf9b740a
AM
142012-08-07 Allan McRae <allan@archlinux.org>
15
16 [BZ #14303]
17 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18 (SUNOS_CPP): Likewise.
19 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20 not found.
21 (open_input): Call CPP using execvp.
22
93df14ee
JM
232012-08-07 Joseph Myers <joseph@codesourcery.com>
24
25 * sysdeps/unix/sysv/linux/kernel-features.h
26 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29 (__ASSUME_WAITID_SYSCALL): Likewise.
30 * sysdeps/unix/sysv/linux/dl-execstack.c
31 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32 code unconditional.
33 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34 conditional code.
35 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38 code.
39 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40 unconditional.
41 [__ASSUME_WAITID_SYSCALL]: Likewise.
42 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43
d34689de
RM
442012-08-07 Roland McGrath <roland@hack.frob.com>
45
a281decc
RM
46 * sysdeps/unix/closedir.c: Renamed to ...
47 * sysdeps/posix/closedir.c: ... here.
48 * sysdeps/unix/dirfd.c: Renamed to ...
49 * sysdeps/posix/dirfd.c: ... here.
50 * sysdeps/unix/dirstream.h: Renamed to ...
51 * sysdeps/posix/dirstream.h: ... here.
52 * sysdeps/unix/fdopendir.c: Renamed to ...
53 * sysdeps/posix/fdopendir.c: ... here.
54 * sysdeps/unix/opendir.c: Renamed to ...
55 * sysdeps/posix/opendir.c: ... here.
56 * sysdeps/unix/readdir.c: Renamed to ...
57 * sysdeps/posix/readdir.c: ... here.
58 * sysdeps/unix/readdir_r.c: Renamed to ...
59 * sysdeps/posix/readdir_r.c: ... here.
60 * sysdeps/unix/rewinddir.c: Renamed to ...
61 * sysdeps/posix/rewinddir.c: ... here.
62 * sysdeps/unix/seekdir.c: Renamed to ...
63 * sysdeps/posix/seekdir.c: ... here.
64 * sysdeps/unix/telldir.c: Renamed to ...
65 * sysdeps/posix/telldir.c: ... here.
66 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
68 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
70
22895b47
RM
71 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72 * bits/fcntl.h: ... here.
73
707a53b6
RM
74 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
75 not 0.
76 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
77 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
79 (struct flock): Move l_start, l_len to the beginning.
80 Use __pid_t for l_pid.
81 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
82 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
83 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
84 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
85 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
86 [__USE_LARGEFILE64] (struct flock64): New type.
87 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
88
f0bd3e25
RM
89 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
90 * bits/dirent.h: ... here.
91
d34689de
RM
92 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
93 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
94
6dad2c06
JM
952012-08-07 Joseph Myers <joseph@codesourcery.com>
96
97 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
98 Change from 2.6.0 to 2.6.16.
99 * sysdeps/unix/sysv/linux/configure: Regenerated.
100 * sysdeps/unix/sysv/linux/kernel-features.h
101 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
102 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
103 version.
104 (__ASSUME_UTIMES): Likewise.
105 (__ASSUME_CLONE_STOPPED): Remove.
106 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
107 architectures, not kernel version.
108 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
109 (__ASSUME_NO_CLONE_DETACHED): Likewise.
110 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
111 (__ASSUME_WAITID_SYSCALL): Likewise.
112 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
113 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
114 * README: State 2.6.16 as minimum Linux kernel version. Do not
115 refer to older versions.
116
03af9520
RM
1172012-08-06 Roland McGrath <roland@hack.frob.com>
118
8e49df1d
RM
119 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
120 Define alphasort64 as an alias.
121 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
122 Define versionsort64 as an alias.
123 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
124 Define scandir64 as an alias.
125 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
126 Define scandirat64 as an alias.
127 * dirent/alphasort64.c (alphasort64):
128 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
129 * dirent/versionsort64.c: Likewise.
130 * dirent/scandir64.c: Likewise.
131 * dirent/scandirat64.c: Likewise.
132 * sysdeps/wordsize-64/alphasort.c: File removed.
133 * sysdeps/wordsize-64/alphasort64.c: File removed.
134 * sysdeps/wordsize-64/scandir.c: File removed.
135 * sysdeps/wordsize-64/scandir64.c: File removed.
136 * sysdeps/wordsize-64/scandirat.c: File removed.
137 * sysdeps/wordsize-64/scandirat64.c: File removed.
138 * sysdeps/wordsize-64/versionsort.c: File removed.
139 * sysdeps/wordsize-64/versionsort64.c: File removed.
140 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
141 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
142 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
143 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
144 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
145 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
146 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
147 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
148
149 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
150 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
151 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
152 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
153 [defined __arch64__ || defined __sparcv9]
154 (__INO_T_MATCHES_INO64_T): New macro.
155 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
156 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
157 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
158 * sysdeps/unix/sysv/linux/bits/dirent.h
159 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
160 (_DIRENT_MATCHES_DIRENT64): New macro.
161
03af9520
RM
162 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
163 Define lockf64 as an alias.
164 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
165 Define fseeko64 as an alias.
166 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
167 Define ftello64 as an alias.
168 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
169 Define _IO_fgetpos64 and fgetpos64 as aliases.
170 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
171 Define _IO_fsetpos64 and fsetpos64 as aliases.
172 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
173 Conditionalize body on this.
174 * libio/fseeko64.c: Likewise.
175 * libio/ftello64.c: Likewise.
176 * libio/iofgetpos64.c: Likewise.
177 * libio/iofsetpos64.c: Likewise.
178 * sysdeps/wordsize-64/lockf.c: File removed.
179 * sysdeps/wordsize-64/lockf64.c: File removed.
180 * sysdeps/wordsize-64/fseeko.c: File removed.
181 * sysdeps/wordsize-64/fseeko64.c: File removed.
182 * sysdeps/wordsize-64/ftello.c: File removed.
183 * sysdeps/wordsize-64/ftello64.c: File removed.
184 * sysdeps/wordsize-64/iofgetpos.c: File removed.
185 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
186 * sysdeps/wordsize-64/iofsetpos.c: File removed.
187 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
188 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
189 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
190 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
191 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
192 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
193 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
194 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
195 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
196 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
197 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
198
199 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
201 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
203 [defined __arch64__ || defined __sparcv9]
204 (__OFF_T_MATCHES_OFF64_T): New macro.
205 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
206 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
208 (__OFF_T_MATCHES_OFF64_T): New macro.
209
c5757acd
L
2102012-08-06 H.J. Lu <hongjiu.lu@intel.com>
211
212 * stdlib/secure-getenv.c (__secure_getenv): Replace
213 GLIBC_2_16 with GLIBC_2_17.
214
3a31811e
L
2152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
216
217 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
218 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
219
faa2bccb
DM
2202012-08-03 David S. Miller <davem@davemloft.net>
221
222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
223
85fe1997
JM
2242012-08-03 Joseph Myers <joseph@codesourcery.com>
225
226 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
227 Remove.
228 (__ASSUME_CORRECT_SI_PID): Likewise.
229 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
230 (__ASSUME_TMPFS_NAME): Likewise.
231 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
232 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
233 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
234 (HAVE_AUX_SECURE): Make definition unconditional.
235 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
236 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
237
4f75b7a0
RM
2382012-08-03 Roland McGrath <roland@hack.frob.com>
239
240 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
241 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
242 * sysdeps/mach/hurd/eloop-threshold.h: New file.
243 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
244 __eloop_threshold instead of SYMLOOP_MAX.
245
246 * sysdeps/generic/eloop-threshold.h: New file.
247 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
248 of MAXSYMLINKS.
249 * elf/chroot_canon.c (chroot_canon): Likewise.
250
7aab07e4
JM
2512012-08-03 Joseph Myers <joseph@codesourcery.com>
252
253 [BZ #13717]
254 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
255 Change to 2.6.0 everywhere.
256 * sysdeps/unix/sysv/linux/configure: Regenerated.
257 * sysdeps/unix/sysv/linux/kernel-features.h
258 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
259 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
260 kernel versions.
261 (__ASSUME_POSIX_TIMERS): Define unconditionally.
262 (__ASSUME_FUTEX_REQUEUE): Remove.
263 (__ASSUME_STATFS64): Define unconditionally.
264 (__ASSUME_AT_SECURE): Likewise.
265 (__ASSUME_CORRECT_SI_PID): Likewise.
266 (__ASSUME_TGKILL): Define without depending on kernel version for
267 i386.
268 (__ASSUME_UTIMES): Likewise.
269 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
270 kernel version.
271 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
272 (__ASSUME_TMPFS_NAME): Likewise.
273 * README: Update reference to Linux kernel versions.
274
b67e9372
MP
2752012-08-02 Marek Polacek <polacek@redhat.com>
276
277 [BZ#14150]
278 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
279 libc_cv_asm_type_prefix with %.
280 * configure: Regenerated.
d2441631
RM
281 * include/libc-symbols.h: Remove comment about
282 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
283 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
284 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
285 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
286 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
287 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
288 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
289 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
290 * elf/tst-unique2mod1.c: Likewise.
291 * elf/tst-unique1mod2.c: Likewise.
292 * elf/tst-unique1mod1.c: Likewise.
293 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
294 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
295 Replace ASM_TYPE_DIRECTIVE with .type.
296 * sysdeps/s390/s390-64/sysdep.h: Likewise.
297 * sysdeps/i386/sysdep.h: Likewise.
298 * sysdeps/x86_64/sysdep.h: Likewise.
299 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
301 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 302 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
303 * sysdeps/powerpc/powerpc32/sysdep.h:
304 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
305 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
306 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
307 * sysdeps/i386/fpu/e_powf.S: Likewise.
308 * sysdeps/i386/fpu/e_expl.S: Likewise.
309 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
310 * sysdeps/i386/fpu/e_acosh.S: Likewise.
311 * sysdeps/i386/fpu/e_pow.S: Likewise.
312 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
313 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
314 * sysdeps/i386/fpu/s_expm1.S: Likewise.
315 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
316 * sysdeps/i386/fpu/e_log2.S: Likewise.
317 * sysdeps/i386/fpu/e_log2l.S: Likewise.
318 * sysdeps/i386/fpu/e_scalb.S: Likewise.
319 * sysdeps/i386/fpu/e_powl.S: Likewise.
320 * sysdeps/i386/fpu/e_log10f.S: Likewise.
321 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
322 * sysdeps/i386/fpu/e_logl.S: Likewise.
323 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
324 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
325 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
326 * sysdeps/i386/fpu/e_log2f.S: Likewise.
327 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
328 * sysdeps/i386/fpu/e_log.S: Likewise.
329 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
330 * sysdeps/i386/fpu/e_logf.S: Likewise.
331 * sysdeps/i386/fpu/e_log10l.S: Likewise.
332 * sysdeps/i386/fpu/e_atanh.S: Likewise.
333 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
334 * sysdeps/i386/fpu/e_log10.S: Likewise.
335 * sysdeps/i386/fpu/s_frexp.S: Likewise.
336 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
337 * sysdeps/i386/fpu/s_asinh.S: Likewise.
338 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
339 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
340 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
341 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
342 * sysdeps/i386/i686/strtok.S: Likewise.
343 * sysdeps/i386/i386-mcount.S: Likewise.
344 * sysdeps/i386/strtok.S: Likewise.
345 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
346 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
347 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
348 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
349 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
350 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
351 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
352 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
353 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
354 * sysdeps/x86_64/_mcount.S: Likewise.
355 * sysdeps/x86_64/strtok.S: Likewise.
356 * sysdeps/sh/_mcount.S: Likewise.
357
2747bf9a
RM
3582012-08-01 Roland McGrath <roland@hack.frob.com>
359
360 * libio/iofopen.c: Include <fcntl.h>.
361 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
362 (_IO_fopen64, fopen64): Define as aliases.
363 * libio/iofopen64.c: Include <fcntl.h>.
364 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
365 Conditionalize body on this.
366 * sysdeps/wordsize-64/iofopen.c: File removed.
367 * sysdeps/wordsize-64/iofopen64.c: File removed.
368
3fb791b8
MP
3692012-08-01 Marek Polacek <polacek@redhat.com>
370
371 * libc/Makeconfig: Use elf in place of binfmt-subdir.
372 Use dlfcn directly instead of a variable.
373 (binfmt-subdir): Do not define.
374 (dlfcn): Likewise.
375
a9f1039f
JM
3762012-08-01 Joseph Myers <joseph@codesourcery.com>
377
23bddc06
JM
378 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
379 Remove all definitions.
380 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
381 <kernel-features.h>.
382 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
383 (miss_F_GETOWN_EX): Remove all definitions.
384 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
385 macro definition.
386 [!__ASSUME_FCNTL64]: Remove conditional code.
387 [__ASSUME_FCNTL64]: Make code unconditional.
388 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
389 <kernel-features.h>.
390 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
391 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
392 (lockf64) [__NR_fcntl64]: Make code unconditional.
393 (lockf64) [__ASSUME_FCNTL64]: Likewise.
394
a9f1039f
JM
395 * sysdeps/unix/sysv/linux/kernel-features.h
396 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
397 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
398 Make code unconditional.
399 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
400 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
402 [__NR_vfork]: Make code unconditional.
403 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
404 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
406 [__NR_vfork]: Make code unconditional.
407 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
408 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
409
09c0ee5f
RM
4102012-08-01 Roland McGrath <roland@hack.frob.com>
411
48aec5b9
RM
412 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
413 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
414
cd97c966
RM
415 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
416 Define mkstemp64 as an alias.
3f55550c
RM
417 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
418 Define mkstemps64 as an alias.
cd97c966
RM
419 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
420 Define mkostemp64 as an alias.
b8625cfc
RM
421 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
422 Define mkostemps64 as an alias.
cd97c966
RM
423 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
424 Conditionalize body on this.
425 * misc/mkostemp64.c: Likewise.
b8625cfc 426 * misc/mkostemps64.c: Likewise.
3f55550c 427 * misc/mkstemps64.c: Likewise.
cd97c966
RM
428 * sysdeps/wordsize-64/mkstemp64.c: File removed.
429 * sysdeps/wordsize-64/mkostemp64.c: File removed.
430 * sysdeps/wordsize-64/mkostemp.c: File removed.
431 * sysdeps/wordsize-64/mkstemp.c: File removed.
432 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
433 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
434 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
435 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
436
09c0ee5f
RM
437 [BZ #14138]
438 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
439 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
440 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
441 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
442
443 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
444 compat_symbol macros from <shlib-compat.h> rather than the underlying
445 default_symbol_version and symbol_version macros, so that DEFAULT
446 lines in shlib-versions are respected.
447 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
448
7e66ee51
FW
4492012-08-01 Florian Weimer <fweimer@redhat.com>
450
451 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
452 Declare with warn_unused_result.
453 (setgid, setregid, setegid, setresgid): Likewise.
454 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
455 Likewise.
456 * WUR-REPORT: Remove set*id functions.
457
d2a54255
PT
4582012-07-31 Pino Toscano <toscano.pino@tiscali.it>
459
460 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
461
7ecdb005
RM
4622012-07-31 Roland McGrath <roland@hack.frob.com>
463
789bd351
RM
464 * include/sys/socket.h (__libc_accept, __libc_accept4):
465 Add attribute_hidden.
466 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
467
40ce302d
RM
468 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
469 use of PTR_MANGLE.
470 * inet/getnetgrent_r.c (setup): Likewise.
471
7ecdb005
RM
472 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
473
e2eabb2c
DM
4742012-07-31 David S. Miller <davem@davemloft.net>
475
476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
477
d0419dbf
JM
4782012-07-31 Joseph Myers <joseph@codesourcery.com>
479
480 [BZ #13629]
481 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
482 value between 1.0 and 2.0 and smaller part has absolute value less
483 than 1.0.
484 * math/s_clog10.c (__clog10): Likewise.
485 * math/s_clog10f.c (__clog10f): Likewise.
486 * math/s_clog10l.c (__clog10l): Likewise.
487 * math/s_clogf.c (__clogf): Likewise.
488 * math/s_clogl.c (__clogl): Likewise.
489 * math/libm-test.inc (clog_test): Add more tests.
490 (clog10_test): Likewise.
491 * sysdeps/i386/fpu/libm-test-ulps: Update.
492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
493
2bc13872
FW
4942012-07-31 Florian Weimer <fweimer@redhat.com>
495
496 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
497 Exit with zero in case no suitable GID is found, and write a
498 message to standard error.
499
bea9b193
RM
5002012-07-30 Roland McGrath <roland@hack.frob.com>
501
502 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
503 rather than to 1.
504 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
505 (MAXPATHLEN): Removed.
506 (NOGROUP, NODEV): New macros.
507 (setbit, clrbit, isset, isclr): New macros.
508 (howmany, roundup, powerof2): New macros.
509 (DEV_BSIZE): New macro.
510
511 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
512 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
513
514 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
515 definition on [!__NO_LONG_DOUBLE_MATH].
516
517 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
518 PTR_MANGLE and PTR_DEMANGLE.
519
520 * socket/accept4.c (accept4): Rename to __libc_accept4.
521 Define accept4 as a weak alias.
522
523 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
524 on [_DIRENT_HAVE_D_TYPE].
525 * io/ftw.c (ftw_dir): Likewise.
526
527 * io/xmknod.c (__xmknod): Don't check PATH for being null.
528
529 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
530
531 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
532 Use the BSD numbers rather than the arbitrary ones we had.
533 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
534 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
535 (SIGXCPU, SIGXFSZ): New macros.
536 (_NSIG): Now 32.
537
538 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
539 initializer on [_LIBC_REENTRANT].
540
541 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
542 definitions inside [_POSIX_MAPPED_FILES].
543
544 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
545
546 * dirent/opendir.c: Include <fcntl.h>.
547
548 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
549 (__libc_getspecific): Likewise.
550 (__libc_key_create): Likewise.
551
552 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
553 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
554 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
555 (tmpfile64): Define as alias.
556 * sysdeps/wordsize-64/tmpfile.c: File removed.
557 * sysdeps/wordsize-64/tmpfile64.c: File removed.
558 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
559 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
560
561 * stdio-common/vfscanf.c: Include <stdbool.h>.
562 * nss/makedb.c: Likewise.
563 * stdio-common/_i18n_number.h: Likewise.
564 * argp/argp-help.c: Likewise.
565 * posix/wordexp.c: Likewise.
566 * sysdeps/posix/spawni.c: Likewise.
567 * nss/nss_files/files-initgroups.c: Likewise.
568 * stdio-common/reg-modifier.c: Include <stdlib.h>.
569 * nss/nss_files/files-initgroups.c: Likewise.
570 * nss/nss_db/db-netgrp.c: Likewise.
571 * nss/nss_db/db-initgroups.c: Likewise.
572 * io/fchmodat.c: Include <sys/stat.h>.
573
574 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
575 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
576
577 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
578 [HAVE_MMAP].
579
580 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
581 Add multiple inclusion protection.
582
e5abc686
DM
5832012-07-27 David S. Miller <davem@davemloft.net>
584
585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
586
815e6fa3
GB
5872012-07-27 Gary Benson <gbenson@redhat.com>
588
589 [BZ #14298]
590 * elf/rtld.c: Include <stap-probe.h>.
591 (dl_main): Added static probes "init_start" and "init_complete".
592 * elf/dl-load.c: Include <stap-probe.h>.
593 (lose): Take new parameter "nsid".
594 Added static probe "map_failed".
595 (_dl_map_object_from_fd): Pass namespace id to lose.
596 Added static probe "map_start".
597 (open_verify): Pass namespace id to lose.
598 * elf/dl-open.c: Include <stap-probe.h>.
599 (dl_open_worker) Added static probes "map_complete", "reloc_start"
600 and "reloc_complete".
601 * elf/dl-close.c: Include <stap-probe.h>.
602 (_dl_close_worker): Added static probes "unmap_start" and
603 "unmap_complete".
604 * elf/rtld-debugger-interface.txt: New file documenting the above.
605
9f98c16c
RM
6062012-07-26 Roland McGrath <roland@hack.frob.com>
607
608 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
609 rather than a string variable.
610 * sunrpc/rpc_main.c (h_output): Likewise.
611 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
612
f3c22df3
PT
6132012-07-26 Pino Toscano <toscano.pino@tiscali.it>
614
615 * inet/check_native.c: New file.
616
3129cfc6
JM
6172012-07-26 Joseph Myers <joseph@codesourcery.com>
618
da865e95
JM
619 [BZ #13629]
620 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
621 if larger part has absolute value 1.0.
622 * math/s_clog10.c (__clog10): Likewise.
623 * math/s_clog10f.c (__clog10f): Likewise.
624 * math/s_clog10l.c (__clog10l): Likewise.
625 * math/s_clogf.c (__clogf): Likewise.
626 * math/s_clogl.c (__clogl): Likewise.
627 * math/libm-test.inc (clog_test): Add more tests.
628 (clog10_test): Likewise.
629 * sysdeps/i386/fpu/libm-test-ulps: Update.
630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
631
3129cfc6
JM
632 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
633 (pltexit): Likewise.
634 (La_regs): Likewise.
635 (La_retval): Likewise.
636 (int_retval): Likewise.
637 Update #error for removed macros to refer only to definitions in
638 tst-audit.h.
639 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
640 macro.
641 (pltexit): Likewise.
642 (La_regs): Likewise.
643 (La_retval): Likewise.
644 (int_retval): Likewise.
645 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
646 macro.
647 (pltexit): Likewise.
648 (La_regs): Likewise.
649 (La_retval): Likewise.
650 (int_retval): Likewise.
651 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
652 macro.
653 (pltexit): Likewise.
654 (La_regs): Likewise.
655 (La_retval): Likewise.
656 (int_retval): Likewise.
657 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
658 macro.
659 (pltexit): Likewise.
660 (La_regs): Likewise.
661 (La_retval): Likewise.
662 (int_retval): Likewise.
663 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
664 macro.
665 (pltexit): Likewise.
666 (La_regs): Likewise.
667 (La_retval): Likewise.
668 (int_retval): Likewise.
669 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
670 macro.
671 (pltexit): Likewise.
672 (La_regs): Likewise.
673 (La_retval): Likewise.
674 (int_retval): Likewise.
675 * sysdeps/generic/tst-audit.h: Update comment to refer only to
676 macro definitions in tst-audit.h.
677 * sysdeps/i386/tst-audit.h: New file.
678 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
679 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
680 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
681 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
682 * sysdeps/sh/tst-audit.h: Likewise.
683 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
684 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
685 * sysdeps/x86_64/tst-audit.h: Likewise.
686
bfc07087
AJ
6872012-07-26 Andreas Jaeger <aj@suse.de>
688
b1b2aaf8
AJ
689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
690 ptrace.
691
692 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
693 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
694 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
695 PTRACE_O_MASK.
696 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
697 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
698 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
699
bfc07087
AJ
700 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
701 value.
702
703 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
704 _sigsys.
705 (si_call_addr, si_syscall, si_arch): Define new macro.
706 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
707 _sigsys.
708 (si_call_addr, si_syscall, si_arch): Define new marcro.
709 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
710 _sigsys.
711 (si_call_addr, si_syscall, si_arch): Define new macro.
712 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
713 _sigsys.
714 (si_call_addr, si_syscall, si_arch): Define new macro.
715
89b4b02f
JM
7162012-07-25 Joseph Myers <joseph@codesourcery.com>
717
718 [BZ #13717]
719 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
720 Change to 2.4.21 where previously 2.4.1.
721 * sysdeps/unix/sysv/linux/configure: Regenerated.
722 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
723 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
724 Linux kernel version.
725 (__ASSUME_STD_AUXV): Remove.
726 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
727 kernel version.
728 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
729 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
730 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
731 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
732 (__ASSUME_NETLINK_SUPPORT): Likewise.
733 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
734 (__no_netlink_support): Remove conditional definition.
735 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
736 Remove.
737 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
738 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
739 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
740 (if_nameindex_ioctl): Remove.
741 (if_nameindex_netlink): Do not handle __no_netlink_support.
742 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
743 code.
744 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
745 Remove conditional code.
746 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
747 code.
748 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
749 unconditional.
750 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
751 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
752 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
753 Remove.
754 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
755 [!__ASSUME_STD_AUXV]: Remove conditional code.
756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
757 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
758 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
760 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
761 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
762 code.
763 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
765 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
766 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
767 conditional code.
768 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
770 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
771 code.
772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
773 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
774 conditional code.
775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
776 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
777 code unconditional.
778 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
779 conditional code.
780 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
781 unconditional.
782 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
783 conditional code.
784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
785 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
786 unconditional.
787 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
788 conditional code.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
790 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
791 code unconditional.
792 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
793 conditional code.
794 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
795 unconditional.
796 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
797 conditional code.
798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
799 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
800 code unconditional.
801 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
802 conditional code.
803 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
804 unconditional.
805 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
806 conditional code.
807
842a39cd
AS
8082012-07-25 Andreas Schwab <schwab@linux-m68k.org>
809
810 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
811 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
812 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
813 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
814 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
815 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
816 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
817 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
818 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
819 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
820 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
821 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
822 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
823 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
824 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
825 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
826 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
827 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
828 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
830 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
831 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
832 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
833
84b3fd84
FW
8342012-07-25 Florian Weimer <fweimer@redhat.com>
835
836 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
837 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
838 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
839 Introduce __libc_secure_getenv.
0c7936d5
FW
840 * stdlib/Versions (2.17): Add secure_getenv
841 (GLIBC_PRIVATE): Add __libc_secure_getenv.
842 * stdlib/secure-getenv.c: Rename __secure_getenv to
843 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
844 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
845 * stdlib/tst-secure-getenv.c: New.
846 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
847 * manual/startup.texi (Environment Access): Document
848 secure_getenv.
84b3fd84
FW
849 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
850 __libc_secure_getenv.
851 * inet/ruserpass.c (ruserpass): Likewise.
852 * malloc/mtrace.c (mtrace): Likewise.
853 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 854 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
855 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
856 * sysdeps/posix/tempname.c: Likewise. Evaluate
857 HAVE_SECURE_GETENV.
858 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 859 __secure_getenv to __libc_secure_getenv.
84b3fd84 860 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
862 Likewise.
863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
864 Likewise.
865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
867 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 872
56e49b71
JM
8732012-07-25 Joseph Myers <joseph@codesourcery.com>
874
875 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
876 (struct La_i86_retval): Likewise.
877 (struct La_x86_64_regs): Likewise.
878 (struct La_x86_64_retval): Likewise.
879 (struct La_x32_regs): Likewise.
880 (struct La_x32_retval): Likewise.
881 (struct La_ppc32_regs): Likewise.
882 (struct La_ppc32_retval): Likewise.
883 (struct La_ppc64_regs): Likewise.
884 (struct La_ppc64_retval): Likewise.
885 (struct La_sh_regs): Likewise.
886 (struct La_sh_retval): Likewise.
887 (struct La_s390_32_regs): Likewise.
888 (struct La_s390_32_retval): Likewise.
889 (struct La_s390_64_regs): Likewise.
890 (struct La_s390_64_retval): Likewise.
891 (struct La_sparc32_regs): Likewise.
892 (struct La_sparc32_retval): Likewise.
893 (struct La_sparc64_regs): Likewise.
894 (struct La_sparc64_retval): Likewise.
895 (struct audit_ifaces): Remove architecture-specific pltenter and
896 pltexit members.
897 * sysdeps/i386/ldsodefs.h: New file.
898 * sysdeps/powerpc/ldsodefs.h: Likewise.
899 * sysdeps/s390/ldsodefs.h: Likewise.
900 * sysdeps/sh/ldsodefs.h: Likewise.
901 * sysdeps/sparc/ldsodefs.h: Likewise.
902 * sysdeps/x86_64/ldsodefs.h: Likewise.
903
354691b7
MP
9042012-07-25 Marek Polacek <polacek@redhat.com>
905
906 [BZ #6808]
907 * math/libm-test.inc (yn_test): Add another test.
908 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
909 to ERANGE when the result is +-Inf.
910 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
911 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
912 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
913 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
914
bf9e2071
JM
9152012-07-24 Joseph Myers <joseph@codesourcery.com>
916
917 * conform/data/time.h-data (NULL): Use macro-constant. Require
918 equal to 0.
919 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
920 clock_t.
921 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
922
57633811
TS
9232012-07-23 Thomas Schwinge <thomas@codesourcery.com>
924
925 * configure.in <sysdeps resolving>: Correct printing
926 Implies_before.
927 * configure: Regenerate.
928
c23c33b0
TS
9292012-07-22 Thomas Schwinge <thomas@codesourcery.com>
930
931 * math/w_ilogb.c: Include <limits.h>.
932 * math/w_ilogbl.c: Likewise.
933
b5982523
JM
9342012-07-20 Joseph Myers <joseph@codesourcery.com>
935
936 * manual/lang.texi (__va_copy): Document primarily as ISO C99
937 va_copy. Document allowing for unavailable va_copy only as
938 pre-C99 compatibility.
939 * manual/string.texi (Copying and Concatenation): Use va_copy
940 instead of __va_copy in concat example.
941
ac4ea442
PT
9422012-07-20 Pino Toscano <toscano.pino@tiscali.it>
943
944 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
945 (__sendto): Use create_address_port. Initialize APORT and deallocate
946 it if not null.
947
f98eafbd
PT
948 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
949 with O_NOLINK passed to __file_name_lookup.
950
898c7aab
PT
951 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
952 with O_NOLINK passed to __file_name_lookup.
953
0ced335a
PT
954 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
955 negative N or less than NGIDS.
956
b3404dbd
PT
957 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
958 type to string_t. Set ERANGE as errno and return it if NAME is not big
959 enough. Use memcpy instead of strncpy.
960
0f48659e
JM
9612012-07-20 Joseph Myers <joseph@codesourcery.com>
962
963 * elf/Makefile (check-data): Remove.
964 (localplt.data): New vpath directive.
965 ($(objpfx)check-localplt.out): Use localplt.data from vpath
966 instead of $(check-data).
967 * scripts/data/localplt-generic.data: Move to ...
968 * sysdeps/generic/localplt.data: ... here.
969 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
970 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
971 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
973 ... here.
974 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
976 ... here.
977 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
979 ... here.
980 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
982 ... here.
983 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
985 ... here.
986 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
988 ... here.
989
d37cbdaa
AZ
9902012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
991
992 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
993 PPC32 and PPC64 files.
994 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
995 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
996
46f85fc2
AK
9972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
998
999 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1000 __makecontext_ret to ...
1001 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1002 ... here and call exit if uc_link is NULL. New file.
1003 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1004 __makecontext_ret.S.
1005 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1006 __makecontext_ret to ...
1007 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1008 ... here and call exit if uc_link is NULL. New file.
1009 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1010 __makecontext_ret.S.
1011
08f43f9b
AK
10122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1013
1014 * elf/elf.h (R_390_IRELATIVE): New definition.
1015 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1016 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1017 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1018 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1019 (elf_machine_lazy_rel): Likewise.
1020 * sysdeps/s390/dl-irel.h: New file.
1021 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1022 * sysdeps/s390/s390-64/memset.S: New asm code.
1023 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1024 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1025 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1026 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1027 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1028 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1029 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1030 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1031 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1032 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1033 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1034 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1035 * sysdeps/s390/s390-32/memset.S: New asm code.
1036 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1037
3b05db33
MP
10382012-07-17 Marek Polacek <polacek@redhat.com>
1039
1040 [BZ #14349]
1041 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1042 * sysdeps/s390/s390-64/configure.in: Likewise.
1043 * sysdeps/sparc/configure.in: Likewise.
1044 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1045 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1046 * sysdeps/i386/configure.in: Likewise.
1047 * sysdeps/x86_64/configure.in: Likewise.
1048 * sysdeps/sh/configure.in: Likewise.
1049 * sysdeps/s390/s390-32/configure: Regenerated.
1050 * sysdeps/s390/s390-64/configure: Likewise.
1051 * sysdeps/x86_64/configure: Likewise.
1052 * sysdeps/sh/configure: Likewise.
1053 * sysdeps/powerpc/powerpc64/configure: Likewise.
1054 * sysdeps/powerpc/powerpc32/configure: Likewise.
1055 * sysdeps/sparc/configure: Likwise.
1056 * sysdeps/i386/configure: Likewise.
1057
a66877c6
MP
1058 * elf/dl-open.c: Comment fixes.
1059
cfc82fd8
JM
10602012-07-17 Joseph Myers <joseph@codesourcery.com>
1061
bd29910a
JM
1062 * Makefile [CXX] (check-data): Remove.
1063 [CXX] (c++-types.data): New vpath directive.
1064 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1065 vpath. Do not allow for C++ type data being missing.
1066 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1067 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1068 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1069 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1070 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1071 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1072 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1074 ... here.
1075 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1077 ... here.
1078 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1080 ... here.
1081 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1083 ... here.
1084 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1086 ... here.
1087 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1089 ... here.
1090 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1092 ... here.
1093 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1095
cfc82fd8
JM
1096 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1097 definitions to architecture-specific files.
1098 (TLS_IE): Likewise.
1099 (TLS_LD): Likewise.
1100 (TLS_GD): Likewise.
1101 * sysdeps/i386/tls-macros.h: New file.
1102 * sysdeps/powerpc/tls-macros.h: Likewise.
1103 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1104 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1105 * sysdeps/sh/tls-macros.h: Likewise.
1106 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1107 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1108 * sysdeps/x86_64/tls-macros.h: Likewise.
1109
f7db3170
TS
11102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1111
07cbfc23
TS
1112 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1113 zero value for regular exit case.
1114
f7db3170
TS
1115 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1116 (__start_context): Preserve zero value for regular exit case.
1117
dc97c227
TS
11182012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1119 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1120
1121 * manual/setjmp.texi (setcontext): Clarify normal process
1122 termination when uc_link is the null pointer.
1123 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1124 exit call.
1125
d0cd7d02
AS
11262012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1127
1128 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1129 preprocessor. Test for each exception mask separately.
1130
dd318934
AJ
11312012-07-16 Andreas Jaeger <aj@suse.de>
1132
1133 * po/ru.po: Update from translation team.
1134
8048311a
JM
11352012-07-15 Joseph Myers <joseph@codesourcery.com>
1136
1137 * conform/data/string.h-data (NULL): Use macro-constant. Require
1138 equal to 0.
1139 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1140 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1141 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1142 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1143 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1144
b637d46e
AJ
11452012-07-13 Andreas Jaeger <aj@suse.de>
1146
1147 * po/fr.po: Update from translation team.
1148
541428fe
MP
11492012-07-12 Marek Polacek <polacek@redhat.com>
1150
1151 [BZ #14173]
1152 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1153 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1154 loop condition.
1155
ec332e94
JM
11562012-07-12 Joseph Myers <joseph@codesourcery.com>
1157
1158 [BZ #13717]
1159 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1160 Change to 2.4.1 where previously 2.4.0.
1161 * sysdeps/unix/sysv/linux/configure: Regenerated.
1162 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1163 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1164 version.
1165 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1166 (__ASSUME_AT_CLKTCK): Remove.
1167 (__ASSUME_AT_PAGESIZE): Likewise.
1168 (__ASSUME_AT_XID): Likewise.
1169 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1170 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1171 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1172 unconditionally.
1173 (HAVE_AUX_PAGESIZE): Likewise.
1174 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1175 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1176 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1177
7b6e99be
JB
11782012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1179
1180 [BZ #14307]
1181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1182 the temporary buffer used to invoke __gethostbyname2_r,
1183 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1184 host_data / struct gaih_addrtuple.
1185 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1186 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1187 header file nss/nsswitch.h.
1188 * nss/nsswitch.h (global scope): Add definition of implementation
1189 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1190 resolv/nss_dns/dns-host.c).
1191
608404eb
AJ
11922012-07-11 Andreas Jaeger <aj@suse.de>
1193
1194 * po/fr.po: Update from translation team.
1195
71220aca
AJ
1196 * po/sv.po: Update from translation team
1197 * po/fr.po: Another update from translation team.
1198
28cfe843
AZ
11992012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1200
1201 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1202 for subnormals or multiply small sinh result by itself.
1203 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1205
6b90f981
DM
12062012-07-11 David S. Miller <davem@davemloft.net>
1207
1208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1209
c6825772
AS
12102012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1211
1212 [BZ #14347]
1213 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1214 (INTERNAL_MARK): Shift it here.
1215
7b8e0d49
MP
12162012-07-10 Marek Polacek <polacek@redhat.com>
1217
1218 [BZ #14151]
1219 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1220 libc_cv_asm_global_directive with .globl.
1221 * configure: Regenerated.
1222 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1223 with .globl.
1224 * sysdeps/i386/configure: Regenerated.
1225 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1226 with .globl.
1227 * sysdeps/x86_64/configure: Regenerated.
1228 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1229 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1230 * elf/tst-unique2mod2.c: Likewise.
1231 * elf/tst-unique2mod1.c: Likewise.
1232 * elf/tst-unique1mod2.c: Likewise.
1233 * elf/tst-unique1mod1.c: Likewise.
1234 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1235 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1236 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1237 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1238 * sysdeps/mach/sysdep.h: Likewise.
1239 * sysdeps/i386/sysdep.h: Likewise.
1240 * sysdeps/i386/i386-mcount.S: Likewise.
1241 * sysdeps/x86_64/_mcount.S: Likewise.
1242 * sysdeps/x86_64/sysdep.h: Likewise.
1243 * sysdeps/sh/_mcount.S: Likewise.
1244 * sysdeps/sh/sysdep.h: Likewise.
1245 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1246 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1247 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1248 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1249 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1250 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1251 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1252 * locale/localeinfo.h: Likewise.
1253 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1254 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1255
6c55cda3
RM
12562012-07-09 Roland McGrath <roland@hack.frob.com>
1257
1258 [BZ #14336]
1259 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1260 system".
1261 * manual/message.texi (The Uniforum approach): Likewise.
1262 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1263 (glibc iconv Implementation): Likewise.
1264
638a572e
JM
12652012-07-09 Joseph Myers <joseph@codesourcery.com>
1266
1267 [BZ #14337]
1268 * math/s_clog.c (__clog): Avoid scaling a value down where that
1269 could result in underflow.
1270 * math/s_clog10.c (__clog10): Likewise.
1271 * math/s_clog10f.c (__clog10f): Likewise.
1272 * math/s_clog10l.c (__clog10l): Likewise.
1273 * math/s_clogf.c (__clogf): Likewise.
1274 * math/s_clogl.c (__clogl): Likewise.
1275 * math/libm-test.inc (clog_test): Add more tests.
1276 (clog10_test): Likewise.
1277 * sysdeps/i386/fpu/libm-test-ulps: Update.
1278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1279
261f4859
AS
12802012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1281
0abaf3e4
AS
1282 [BZ #14283]
1283 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1284 by 7 not 8 to examine high bit of fractional part.
1285
261f4859
AS
1286 [BZ #14042]
1287 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1288 for call to __mcount_internal.
1289 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1290 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1291 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1292
f17ac40d
JM
12932012-07-06 Joseph Myers <joseph@codesourcery.com>
1294
9ad63c23
JM
1295 [BZ #14154]
1296 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1297 approximation for values within 0x1p-13f of an odd multiple of
1298 pi/4.
1299 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1300 exception. Add more tests.
1301 * sysdeps/i386/fpu/libm-test-ulps: Update.
1302
f17ac40d
JM
1303 [BZ #6778]
1304 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1305 inputs and return -1 for them. Do not check for +Inf in case not
1306 reachable for +Inf.
1307 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1308 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1309 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1310 and return -1 for them. Do not check for +Inf in case not
1311 reachable for +Inf.
1312 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1313 define.
1314 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1315 and return -1 for them. Do not check for +Inf in case not
1316 reachable for +Inf.
1317 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1318 spurious underflow.
1319 * sysdeps/i386/fpu/libm-test-ulps: Update.
1320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1321
fb21f89b
MF
13222012-07-06 Mike Frysinger <vapier@gentoo.org>
1323
1324 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1325
cdfe2c5e
JM
13262012-07-05 Joseph Myers <joseph@codesourcery.com>
1327
1328 [BZ #14157]
1329 [BZ #14331]
1330 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1331 could result in spurious underflow. Scale down values above
1332 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1333 * math/s_csqrtf.c (__csqrtf): Likewise.
1334 * math/s_csqrtl.c (__csqrtl): Likewise.
1335 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1336 spurious underflow.
1337 * sysdeps/i386/fpu/libm-test-ulps: Update.
1338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1339
70d35b67
AS
13402012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1341
704bc459
AS
1342 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1343 xopen-msg.sed.
1344 * catgets/xopen-msg.awk: New file.
1345 * catgets/xopen-msg.sed: Removed.
1346
70d35b67
AS
1347 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1348 po2text.sed.
1349 * intl/po2test.awk: New file.
1350 * intl/po2test.sed: Removed.
1351
ca61cf32
JM
13522012-07-04 Joseph Myers <joseph@codesourcery.com>
1353
1354 [BZ #14328]
1355 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1356 or multiply small sinh result by itself.
1357 * math/s_ctanf.c (__ctanf): Likewise.
1358 * math/s_ctanh.c (__ctanh): Likewise.
1359 * math/s_ctanhf.c (__ctanhf): Likewise.
1360 * math/s_ctanhl.c (__ctanhl): Likewise.
1361 * math/s_ctanl.c (__ctanl): Likewise.
1362 * math/libm-test.inc (ctan_test_tonearest): New function.
1363 (ctan_test_towardzero): Likewise.
1364 (ctan_test_downward): Likewise.
1365 (ctan_test_upward): Likewise.
1366 (ctanh_test_tonearest): Likewise.
1367 (ctanh_test_towardzero): Likewise.
1368 (ctanh_test_downward): Likewise.
1369 (ctanh_test_upward): Likewise.
1370 (main): Call these new functions.
1371 * sysdeps/i386/fpu/libm-test-ulps: Update.
1372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1373
ca48a46a
MF
13742012-07-03 Mike Frysinger <vapier@gentoo.org>
1375
1376 * .gitignore: Delete /ports entry.
1377
9d63d37d
AJ
13782012-07-03 Andreas Jaeger <aj@suse.de>
1379
1380 * po/bg.po: Update from translation team.
1381 * po/cs.po: Likewise.
1382 * po/de.po: Likewise.
1383 * po/hr.po: Likewise.
1384 * po/nl.pl: Likewise.
1385 * po/pl.po: Likewise.
1386 * po/vi.po: Likewise.
1387
370ca3d2
JM
13882012-07-03 Joseph Myers <joseph@codesourcery.com>
1389
95f5a9a8
JM
1390 * Makeconfig [!+link] (+link-before-libc): New variable.
1391 [!+link] (+link-after-libc): Likewise.
1392 [!+link] (+link-tests): Likewise.
1393 [!+link] (+link): Define in terms of $(+link-before-libc) and
1394 $(+link-after-libc).
1395 [!+link-static] (+link-static-before-libc): New variable.
1396 [!+link-static] (+link-static-after-libc): Likewise.
1397 [!+link-static] (+link-static-tests): Likewise.
1398 [!+link-static] (+link-static): Define in terms of
1399 $(+link-static-before-libc) and $(+link-static-after-libc).
1400 [build-shared] (link-libc-before-gnulib): New variable.
1401 [build-shared] (link-libc-tests): Likewise.
1402 [build-shared] (link-libc): Define in terms of
1403 $(link-libc-before-gnulib).
1404 [!build-shared] (link-libc-tests): New variable.
1405 (link-libc-static-tests): New variable.
1406 [!gnulib] (gnulib-arch): New variable.
1407 [!gnulib] (gnulib-tests): Likewise.
1408 [!gnulib] (static-gnulib-arch): Likewise.
1409 [!gnulib] (static-gnulib-tests): Likewise.
1410 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1411 Define with "=" instead of ":=".
1412 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1413 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1414 * Rules (binaries-all-notests): New variable.
1415 (binaries-all-tests): Likewise.
1416 (binaries-static-notests): Likewise.
1417 (binaries-static-tests): Likewise.
1418 (binaries-all): Define using $(binaries-all-notests) and
1419 $(binaries-all-tests).
1420 (binaries-static): Define using $(binaries-static-notests) and
1421 $(binaries-static-tests).
1422 (binaries-shared-tests): New variable.
1423 (binaries-shared-notests): Likewise.
1424 (binaries-shared): Remove variable.
1425 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1426 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1427 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1428 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1429 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1430 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1431 * elf/Makefile (sln-modules): New variable.
1432 (extra-objs): Add $(sln-modules:=.o).
1433 (ldconfig-modules): Add static-stubs.
1434 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1435 * elf/static-stubs.c: New file.
1436
7a845b2c
JM
1437 [BZ #14283]
1438 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1439 by 7 not 8 to examine high bit of fractional part. Use volatile
1440 variables when splitting into final array of floats if
1441 __FLT_EVAL_METHOD__ != 0.
1442 * math/libm-test.inc (cos_test): Add another test.
1443 (sin_test): Likewise.
1444 * sysdeps/i386/fpu/libm-test-ulps: Update.
1445
e2283f38
JM
1446 [BZ #14273]
1447 * math/libm-test.inc (cosh_test): Add more tests.
1448
370ca3d2
JM
1449 * version.h (RELEASE): Set to "development".
1450 (VERSION): Set to "2.16.90".
1451
ee9247c3
CD
14522012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1453
1454 * NEWS: Update copyright. Remove last-updated date.
1455 Mention math library bug fixes and timezone data changes.
1456 * README: Mention GNU/Hurd, x32, and HPPA support status.
1457
4648c381
TS
14582012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1459
1460 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1461
aac78a43
AJ
14622012-06-27 Andreas Jaeger <aj@suse.de>
1463
1464 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1465
ed3dbfad
AJ
14662012-06-25 Andreas Jaeger <aj@suse.de>
1467
1468 * sysdeps/s390/fpu/libm-test-ulps: Update.
1469
4d0ee855
AS
14702012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1471 Thomas Schwinge <thomas@codesourcery.com>
1472
1473 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1474 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1476 fanotify_mark.
1477
af1bce34
TS
14782012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1479
a9fa33ba
TS
1480 * sysdeps/mach/start.c: Remove file.
1481 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1482 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1483 * sysdeps/sh/init-first.c: Likewise.
1484
58f902b8
TS
1485 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1486 registers for frame unwinding purposes, add CFI directives.
1487 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1488 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1489 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1490 Likewise.
1491
1518f58b
TS
1492 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1493 __fortify_fail returning.
1494 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1495
db9b5059
TS
1496 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1497 sysdeps/sh/____longjmp_chk.S.
1498 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1499 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1500 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1501 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1502
967705fe
TS
1503 * sysdeps/sh/abort-instr.h: New file.
1504 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1505 process in case exit returns.
1506
a9def8c4
TS
1507 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1508 initialize the GOT register before use.
1509
2a649725
TS
1510 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1511 calculation of ARGC > 4.
1512
af1bce34
TS
1513 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1514 meaningful names to some local labels.
1515
d230f50a
KK
15162012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1517 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1518
1519 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1520 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1521 (__arch_compare_and_exchange_val_16_acq): Likewise.
1522 (__arch_compare_and_exchange_val_32_acq): Likewise.
1523 (atomic_exchange_and_add): Fix gUSA sequence.
1524 (atomic_add): Likewise.
1525 (atomic_add_negative): Likewise.
1526 (atomic_add_zero): Likewise.
1527 (atomic_bit_test_set): Likewise.
1528
0479b305
AS
15292012-06-22 Andreas Schwab <schwab@redhat.com>
1530
1531 [BZ #13579]
1532 * include/link.h (struct link_map): Add l_free_initfini.
1533 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1534 l_initfini.
1535 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1536 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1537 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1538 set.
1539
0e3933b9
CD
15402012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1541
1542 * configure.in: Use AC_LANG_SOURCE.
1543 * configure: Regenerate.
1544
4248b1b1
RM
15452012-06-22 Roland McGrath <roland@hack.frob.com>
1546
1547 * configure.in (libc_cv_localstatedir): New substituted variable.
1548 * configure: Regenerated.
1549 * config.make.in (localstatedir): New variable, substituted from
1550 libc_cv_localstatedir.
1551 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1552 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1553 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1554 * sysdeps/gnu/configure: Regenerated.
1555
006dd861
JL
15562012-06-21 Jeff Law <law@redhat.com>
1557
1558 [BZ #14277]
1559 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1560 free. Simplify list management for _LIBC case.
1561
79662d42
JM
15622012-06-21 Joseph Myers <joseph@codesourcery.com>
1563
b7abb4bf
JM
1564 [BZ #14273]
1565 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1566 Clear sign bit of 64-bit integer value before comparing against
1567 overflow value.
1568
79662d42
JM
1569 * sysdeps/mach/configure: Regenerated.
1570
1f150908
L
15712012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1572
1573 [BZ #14278]
1574 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1575
28363bbf
JL
15762012-06-21 Jeff Law <law@redhat.com>
1577
1578 [BZ #13882]
1579 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1580 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1581 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1582 * elf/dl-open.c (dl_open_worker): Likewise.
1583
09615db4
CD
15842012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1585
1586 * scripts/list-sources.sh: Scan PORTS for translations.
1587 * po/libc.pot: Regenerated.
1588
2174c6dd
AJ
15892012-06-21 Andreas Jaeger <aj@suse.de>
1590
1591 [BZ #12194]
1592 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1593 warning.
1594 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1595 * bits/byteswap-16.h (__bswap_16): Likewise.
1596 * bits/byteswap.h (__bswap_constant_16): Likewise.
1597
3ee947b1
L
15982012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1599
1600 [BZ #14117]
a2f34833
L
1601 * sysdeps/i386/fpu_control.h: Removed.
1602 * sysdeps/x86_64/fpu_control.h: Moved to ...
1603 * sysdeps/x86/fpu_control.h: Here.
1604
3ee947b1
L
1605 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1606 (_FPU_SETCW): Likewise.
1607
ed1825f8
L
16082012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1609
25f1282a
L
1610 [BZ #14117]
1611 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1612 * sysdeps/x86/fpu/bits/mathinline.h: This.
1613 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1614
ed1825f8
L
1615 [BZ #14050]
1616 [BZ #14117]
1617 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1618 functions if __x86_64__ is defined.
1619
36d54b74
CLT
16202012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1621
1622 * string/endian.h: Add !__ASSEMBLER__ condition for including
1623 conversion interfaces.
1624
10285c21
JM
16252012-06-15 Joseph Myers <joseph@codesourcery.com>
1626
1627 [BZ #14241]
1628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1629 of ABS(x) in calculating zero to negative powers other than odd
1630 integers.
1631 * math/libm-test.inc (pow_test): Add more tests.
1632
06c5abbd
AJ
16332012-06-15 Andreas Jaeger <aj@suse.de>
1634
1635 * manual/contrib.texi (Contributors): Update entry of Liubov
1636 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1637 Machado Filho.
1638
a3aeac40
CH
16392012-06-15 Cyril Hrubis <metan@ucw.cz>
1640
1641 * string/string.h: Add __wur to GNU version of strerror_r.
1642
49bdf4c1
L
16432012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1644
1645 [BZ #14229]
1646 * string/Makefile (tests): Add tst-strtok_r.
1647 * string/tst-strtok_r.c: New file.
1648 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1649 RAX_LP/RDX_LP on SAVE_PTR.
1650
834f9b8d
RM
16512012-06-14 Roland McGrath <roland@hack.frob.com>
1652
1653 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1654
75fa1921
JM
16552012-06-14 Joseph Myers <joseph@codesourcery.com>
1656
1657 * libm_test.inc (csqrt_test): Allow more spurious underflow
1658 exceptions.
1659 (j0_test): Likewise.
1660 (j1_test): Likewise.
1661 (y0_test): Likewise.
1662 (y1_test): Likewise.
1663
771766df
CD
16642012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1665
1666 * po/Makefile (libc.pot): Use UTF-8 charset.
1667
ceb9e56b
PP
16682012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1669
1670 [BZ #14210]
1671 Suppress sign-conversion warning from FD_SET.
1672 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1673 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1674 not unsigned long int.
1675 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1676
ddb28975
L
16772012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1678
1679 [BZ #14050]
1680 [BZ #14117]
1681 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1682 __extern_always_inline instead of __extern_inline.
1683 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1684 (__signbit): Likewise.
1685 (__signbitl): Support C++ namespace.
1686 (lrintf): New inline function.
1687 (lrint): Likewise.
1688 (llrintf): Likewise.
1689 (llrint): Likewise.
1690 (fmaxf): Likewise.
1691 (fmax): Likewise.
1692 (fminf): Likewise.
1693 (fmin): Likewise.
1694 (rint): Likewise.
1695 (rintf): Likewise.
1696 (ceil): Likewise.
1697 (ceilf): Likewise.
1698 (floor): Likewise.
1699 (floorf): Likewise.
1700 (nearbyint): Likewise.
1701 (nearbyintf): Likewise.
1702
d7b4fb26
TS
17032012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1704
1705 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1706 non-default versions.
1707
eb55f5c2
RM
17082012-06-11 Roland McGrath <roland@hack.frob.com>
1709
1710 [BZ #14218]
1711 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1712
366af02c
TS
17132012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1714
99ff6e5c
TS
1715 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1716 (FE_UPWARD, FE_DOWNWARD): Don't define.
1717 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1718 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1719
366af02c
TS
1720 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1721 reading it.
1722 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1723 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1724
793ea851
KK
17252012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1726
1727 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1729 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1730 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1731
a728a38f
L
17322012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1733
1734 [BZ #14117]
c08010c7
L
1735 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1736 * sysdeps/i386/fpu/Implies: New file.
1737 * sysdeps/x86_64/fpu/Implies: Likewise.
1738 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1739 * sysdeps/x86/fpu/bits/fenv.h: This.
1740
a728a38f
L
1741 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1742 __SSE_MATH__.
1743
6e230d11
SP
17442012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1745
1746 [BZ #14134]
1747 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1748 character 0xffff that matches the last element of the
1749 conversion table.
1750
1b671feb
AZ
17512012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1752
1753 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1754 fmodl commit.
1755
6043738b
AZ
17562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1757
1758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1759 values higher than 25.6283.
1760
34ae0b32
AZ
17612012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1762
1763 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1764 subnormal exponent extraction and add some __builtin_expect.
1765 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1766 Fix for subnormal mantissa calculation.
1767
1214ec8f
MF
17682012-06-04 Mike Frysinger <vapier@gentoo.org>
1769
1770 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1771 cpu2 is -1 and errno is not ENOSYS.
1772
f3d1f93c
L
17732012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1774
1775 [BZ #14117]
0e4a3cd7
L
1776 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1777 * sysdeps/x86/bits/string.h: This.
1778 * sysdeps/x86_64/bits/string.h: Removed.
1779
6704c645
L
1780 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1781 if not compiling for x86-64, but compiling for >= i486.
1782
48495318
L
1783 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1784 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1785
14adcbfc
L
1786 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1787 New macro from Linux kernel 3.4.0.
1788 (FP_XSTATE_MAGIC2): Likewise.
1789 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1790 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1791 (struct _fpx_sw_bytes): New struct.
1792 (struct _xsave_hdr): Likewise.
1793 (struct _ymmh_state): Likewise.
1794 (struct _xstate): Likewise.
1795
68e408ab
L
1796 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1797 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1798 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1799 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1800 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1801 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1802
f3d1f93c
L
1803 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1804 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1805 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1806 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1807 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1808 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1809
d9dc34cd
TMQMF
18102012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1811
1812 [BZ #13743]
1813 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1814 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1815 (sysdep_headers): Include sys/platform/ppc.h.
1816 * sysdeps/powerpc/test-gettimebase.c: Test for
1817 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1818 * manual/Makefile (appendices): Include platform.texi.
1819 * manual/contrib.texi (Contributors): Update @node pointers.
1820 * manual/maint.texi (Maintenance): Likewise.
1821 (Platform): New node.
1822 * manual/platform.texi: New file. Document the new features.
1823
4af3879c
SP
18242012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1825 Jakub Jelinek <jakub@redhat.com>
1826
1827 [BZ #14188]
1828 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1829 where __builtin_expect is unavailable.
1830
2fd6ff13
DM
18312012-06-03 David S. Miller <davem@davemloft.net>
1832
1833 * stdlib/longlong.h: Updated from GCC.
1834
173f7220
AS
18352012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1836
1837 [BZ #14042]
1838 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1839 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1840 __mcount_internal.
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1842 (GLIBC_2.16): Likewise.
1843
f34a1c6f
L
18442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1845
1846 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1847
88a4576f
JM
18482012-06-01 Joseph Myers <joseph@codesourcery.com>
1849
ea32bcdd
JM
1850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1851 (default-abi): New variable.
1852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1853 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1854 variable.
1855 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1856 Likewise.
1857 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1858 Likewise.
1859 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1860 Likewise.
1861
88a4576f
JM
1862 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1863 definition. Document in comment.
1864
402fe938
DM
18652012-06-01 David S. Miller <davem@davemloft.net>
1866
1867 * stdlib/longlong.h: Updated from GCC.
1868
3553723f
L
18692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1870
1871 [BZ #14117]
3bd872c4
L
1872 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1873 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1874 sys/debugreg.h sys/io.h here.
1875 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1876 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1877 sys/io.h.
1878 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1879 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1880 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1881 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1882 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1883 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1884
3553723f
L
1885 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1886 Define only if __x86_64__ is defined.
1887
4842e4fe
JM
18882012-06-01 Joseph Myers <joseph@codesourcery.com>
1889
c5bfe3d5
JM
1890 [BZ #14048]
1891 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1892 Use int64_t for variable i.
1893 * math/libm-test.inc (fmod_test): Add more tests.
1894
4842e4fe
JM
1895 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1896 z computation is not scheduled after fetestexcept.
1897 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1898 Use math_force_eval instead of asm to ensure calculation scheduled
1899 before exception test.
1900 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1901 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1902
efb73488
AJ
19032012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1904
1905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1906 computation is not scheduled after fetestexcept.
1907
29bcce7c
L
19082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1909
1910 [BZ #14117]
1911 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1912 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1913
73a68f94
AZ
19142012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1915
1916 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1917 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1918
67b6df78
L
19192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1920
edf2933a 1921 [BZ #14117]
ebc64a18
L
1922 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1923 <bits/wordsize.h>.
1924 (__WCHAR_MIN): Support __WORDSIZE == 64.
1925 (__WCHAR_MAX): Likewise.
1926
edf2933a
L
1927 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1928 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1929
57c6cf40
L
1930 [BZ #14183]
1931 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1932 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1933
67b6df78 1934 [BZ #14117]
8eb6281e
L
1935 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1936 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1937
aac639f4
L
1938 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1939 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1940
67b6df78
L
1941 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1942 Defined to 1 if __x86_64__ isn't defined.
1943 (_STAT_VER_LINUX_OLD): New.
1944 (st_atime): Remove duplicate.
1945 (st_mtime): Likewise.
1946 (st_ctime): Likewise.
1947
1c2cfe81
DM
19482012-05-31 David S. Miller <davem@davemloft.net>
1949
1950 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1951 entries.
1952
5be8418c
AS
19532012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1954
e7725326
AS
1955 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1956 gen-libm-test.pl.
1957
5be8418c
AS
1958 [BZ #14132]
1959 * elf/dl-reloc.c: Include <_itoa.h>.
1960 (_dl_reloc_bad_type): Remove use of INTUSE.
1961 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1962 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1963 * stdio-common/psiginfo.c (psiginfo): Likewise.
1964 * stdio-common/psignal.c (psignal): Likewise.
1965 * string/strsignal.c (strsignal): Likewise.
1966 * include/signal.h (_sys_siglist): Declare hidden proto.
1967 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1968 INTVARDEF with libc_hidden_data_def.
1969 * stdio-common/itoa-udigits.c: Likewise.
1970 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1971 (_itoa_lower_digits_internal): Remove declaration.
1972 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1973 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1974 (_sys_sigabbrev_internal): Remove aliases.
1975 (_sys_siglist): Define hidden alias.
1976
507352f1
MT
19772012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1978
1979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1980 bits/sysctl.h.
1981
42bbb1c3
L
19822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1983
1984 [BZ #14117]
6bd784b6
L
1985 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1986 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1987
8bca20f0
L
1988 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1989 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1990 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1991 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1992 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1993 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1994
f9e890a9
L
1995 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1996 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1997 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1998
471101a1
L
1999 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2000 with __addr.
2001 (insw): Likewise.
2002 (insl): Likewise.
2003 (outsb): Likewise.
2004 (outsw): Likewise.
2005 (outsl): Likewise.
2006
6451c862
L
2007 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2008 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2009 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2010
a254b8c9
L
2011 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2012 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2013 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2014 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2015 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2016 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2017
b8dfdd92
L
2018 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2019 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2020
578cd270
L
2021 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2022 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2023
de662f5f
L
2024 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2025 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2026 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2027
25653439
L
2028 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2029 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2030 to ...
2031 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2032
6bad24a0
L
2033 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2034 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2035 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2036
42bbb1c3
L
2037 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2038 for x86-64.
2039 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2040
2d10d547
JM
20412012-05-31 Joseph Myers <joseph@codesourcery.com>
2042
2043 * math/math.h (M_El): Use two more decimal places.
2044 (M_LOG2El): Likewise.
2045 (M_LOG10El): Likewise.
2046 (M_LN2l): Likewise.
2047 (M_LN10l): Likewise.
2048 (M_PIl): Likewise.
2049 (M_PI_2l): Likewise.
2050 (M_PI_4l): Likewise.
2051 (M_1_PIl): Likewise.
2052 (M_2_PIl): Likewise.
2053 (M_2_SQRTPIl): Likewise.
2054 (M_SQRT2l): Likewise.
2055 (M_SQRT1_2l): Likewise.
2056
f230c29b
DM
20572012-05-31 David S. Miller <davem@davemloft.net>
2058
2059 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2060 values between float registers.
2061 * sysdeps/sparc/sparc64/memset.S: Likewise.
2062 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2063
fed806c3
MF
20642012-05-31 Mike Frysinger <vapier@gentoo.org>
2065
2066 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2067 -D_FORTIFY_SOURCE=1.
2068 (CPPFLAGS-tst-longjmp_chk.c): Define.
2069 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2070 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2071 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2072 CFLAGS-tst-wchar-h.c.
2073
30917259
MP
20742012-05-31 Marek Polacek <polacek@redhat.com>
2075
2076 [BZ #14132]
2077 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2078 __endmntent_internal): Remove declaration.
2079 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2080 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2081 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2082
1c58d5dc
DM
20832012-05-30 David S. Miller <davem@davemloft.net>
2084
2085 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2086 (___Q_simulate_exceptions): Use real FP ops rather than writing
2087 into the %fsr.
2088 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2089 Likewise.
2090
7dc00e0d
L
20912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2092
2093 [BZ #14117]
0bd53985
L
2094 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2095 * sysdeps/x86/bits/xtitypes.h: This.
2096
3a257e66
L
2097 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2098 * sysdeps/x86/bits/wordsize.h: This.
2099
62f62904
L
2100 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2101 * sysdeps/x86/bits/huge_vall.h: This.
2102
404fe9d9
L
2103 * sysdeps/i386/bits/select.h: Removed.
2104 * sysdeps/x86_64/bits/select.h: Renamed to ...
2105 * sysdeps/x86/bits/select.h: This.
2106
d48d0446
L
2107 * sysdeps/i386/bits/setjmp.h: Removed.
2108 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2109 * sysdeps/x86/bits/setjmp.h: This.
2110
7dc00e0d
L
2111 * sysdeps/i386/bits/mathdef.h: Removed.
2112 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2113 * sysdeps/x86/bits/mathdef.h: This.
2114
03277f8f
AS
21152012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2116
2117 [BZ #14132]
2118 * include/sys/socket.h (__connect_internal)
2119 (__libc_sa_len_internal): Remove declaration.
2120 (__connect, __libc_sa_len): Declare hidden_proto.
2121 (SA_LEN): Remove use of INTUSE.
2122 * socket/connect.c: Add libc_hidden_def.
2123 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2124 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2125 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2126 alias.
2127 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2128 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2129 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2130 of adding _internal alias.
2131
13764867
L
21322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2133
2134 [BZ #14117]
6bd97696
L
2135 * sysdeps/i386/bits/link.h: Removed.
2136 * sysdeps/i386/bits/linkmap.h: Likewise.
2137 * sysdeps/x86_64/bits/link.h: Renamed to ...
2138 * sysdeps/x86/bits/link.h: This.
2139 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2140 * sysdeps/x86/bits/linkmap.h: This.
2141
f726f0bb
L
2142 * sysdeps/i386/bits/endian.h: Removed.
2143 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2144 * sysdeps/x86/bits/endian.h: This.
2145
13764867
L
2146 * sysdeps/i386/bits/byteswap.h: Removed.
2147 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2148 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2149 * sysdeps/x86/bits/byteswap.h: This.
2150 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2151 * sysdeps/x86/bits/byteswap-16.h: This.
2152 * sysdeps/i386/Implies: Add x86.
2153 * sysdeps/x86_64/Implies: Likewise.
2154
ae251b0b
DM
21552012-05-30 David S. Miller <davem@davemloft.net>
2156
2157 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2158 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2159 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2160 (FP_TRAPPING_EXCEPTIONS): Define.
2161 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2162 (FP_TRAPPING_EXCEPTIONS): Define.
2163 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2164 subnormals only when inexact has been signalled or underflow
2165 exceptions are enabled.
2166 (_FP_PACK_CANONICAL): Likewise.
2167
d5c90867
L
21682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2169
2170 [BZ #14183]
2171 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2172 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2173
63f1549e
RH
21742012-05-30 Richard Henderson <rth@twiddle.net>
2175
8d8f2279
RH
2176 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2177 with #ifndef NOT_IN_libc.
2178
63f1549e
RH
2179 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2180 marked to avoid plt entry.
2181
0ab0291b
L
21822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2183
2184 [BZ #14112]
2185 * Makeconfig (default-abi): New macro.
2186 (abi-includes): Likewise.
2187 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2188 $(abi-$(default-abi)-lib-soname) for soname if defined.
2189 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2190 abi-variants.
2191 * Makefile (installed-stubs): Likewise.
2192 * include/stubs-biarch.h: Removed.
2193 * scripts/lib-names.awk: Only handle one library at a time.
2194 * scripts/soversions.awk: Remove WORDSIZE support.
2195 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2196 entries.
2197 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2198 Removed.
2199 (syscall-list-default-condition): Likewise.
2200 (syscall-list-default-condition): Likewise.
2201 (syscall-list-includes): Likewise.
2202 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2203 syscall-list-* with abi-*. Handle undefined abi-variants.
2204 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2205 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2206 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2207 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2208 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2209 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2210 Removed.
2211 (syscall-list-32-options): Likewise.
2212 (syscall-list-32-condition): Likewise.
2213 (syscall-list-64-options): Likewise.
2214 (syscall-list-64-condition): Likewise.
2215 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2216 macro.
2217 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2218 Renamed to ...
2219 (abi-*): This.
2220 (abi-64-ld-soname): New macro.
2221 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2222 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2223 Renamed to ...
2224 (abi-*): This.
2225 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2226 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2227
4da0431d
JM
22282012-05-30 Joseph Myers <joseph@codesourcery.com>
2229
3a85279c
JM
2230 * sysdeps/unix/sysv/linux/kernel-features.h
2231 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2232 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2233 include <kernel-features.h>.
2234 [!__NR_ftruncate64]: Remove conditional code.
2235 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2236 [__NR_ftruncate64]: Make code unconditional.
2237 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2238 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2239 include <kernel-features.h>.
2240 [!__NR_ftruncate64]: Remove conditional code.
2241 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2242 [__NR_ftruncate64]: Make code unconditional.
2243 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2245 include <kernel-features.h>.
2246 [!__NR_ftruncate64]: Remove conditional code.
2247 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2248 [__NR_ftruncate64]: Make code unconditional.
2249 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2251 include <kernel-features.h>.
2252 [!__NR_ftruncate64]: Remove conditional code.
2253 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2254 [__NR_ftruncate64]: Make code unconditional.
2255 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2256
4da0431d
JM
2257 * configure.in (libc_cv_fpie): Weaken to a compile test using
2258 LIBC_TRY_CC_OPTION.
2259 * configure: Regenerated.
2260
11ef492c
AK
22612012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2262
2263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2267 Refreshed.
2268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2274 Refreshed.
2275
d66ef399
DM
22762012-05-27 David S. Miller <davem@davemloft.net>
2277
2278 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2279 (___Q_zero): New.
2280 (__Q_simulate_exceptions): Return void. Change to simulate
2281 exceptions by writing into the %fsr.
2282 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2283 (__Qp_handle_exceptions): Likewise.
2284 (numbers): Delete.
2285 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2286 __Qp_handle_exceptions.
2287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2288 __Qp_handle_exceptions.
2289 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2290 as unused and give dummy FP_RND_NEAREST initializer.
2291 (FP_INHIBIT_RESULTS): Define.
2292 (___Q_simulate_exceptions): Update declaration.
2293 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2294 formatting.
2295 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2296 as unused and give dummy FP_RND_NEAREST initializer.
2297 (__Qp_handle_exceptions): Update declaration.
2298 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2299 formatting.
2300
04fb54b5
TS
23012012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2302
2303 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2304 the temporary FPU control word.
2305 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2306 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2307 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2308 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2309 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2310 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2311 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2312 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2313 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2314 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2315 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2316
3f99608f
KK
23172012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2318
2319 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2320 fields.
2321
65a4de4e
CLT
23222012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2323
2324 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2325 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2326 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2327 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2328 Likewise.
2329 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2330 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2331 Likewise.
2332
15749d40
UD
23332012-05-27 Ulrich Drepper <drepper@gmail.com>
2334
2335 * po/h.po: Update from translation team.
2336
25dbcb27
AS
23372012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2338
3d3f8e55
AS
2339 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2340
25dbcb27
AS
2341 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2342 handling of denormals.
2343 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2344 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2345 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2346 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2350 Likewise.
2351
7ad47a80 23522012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2353
2354 [BZ #14152]
2355 * math/libm-test.inc (fma_test): Don't always expect underflow
2356 exception.
2357
9c6ea9fa
SP
23582012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2359
2360 [BZ #12416]
2361 * elf/tst-execstack.c: Include stackinfo.h.
2362 (do_test): Adjust test case to ensure that pthread_getattr_np
2363 behaviour remains the same after marking stack executable.
2364
a8239222
JM
23652012-05-25 Joseph Myers <joseph@codesourcery.com>
2366
2367 * sysdeps/unix/sysv/linux/kernel-features.h
2368 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2369 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2370 kernel-features.h.
2371 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2372 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2373 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2374 kernel-features.h.
2375 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2376 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2377
918b5606
L
23782012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2379
2380 * configure.in: Define the default includes to being none.
2381 * configure: Regenerated.
2382
3a097cc7
RM
23832012-05-25 Roland McGrath <roland@hack.frob.com>
2384
8422c9a5
RM
2385 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2386 * sysdeps/x86_64/setjmp.S: Likewise.
2387 * sysdeps/i386/bsd-setjmp.S: Likewise.
2388 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2389 * sysdeps/i386/setjmp.S: Likewise.
2390 * sysdeps/i386/__longjmp.S: Likewise.
2391 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2392 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2393
3a097cc7
RM
2394 * include/stap-probe.h: New file.
2395 * configure.in: Handle --enable-systemtap.
2396 * configure: Regenerated.
2397 * config.h.in (USE_STAP_PROBE): New #undef.
2398 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2399 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2400 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2401
21708942
JM
24022012-05-25 Joseph Myers <joseph@codesourcery.com>
2403
2404 [BZ #13717]
2405 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2406 to 2.4.0 where earlier.
2407 * sysdeps/unix/sysv/linux/configure: Regenerated.
2408 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2409 <kernel-features.h>.
2410 [__ASSUME_32BITUIDS]: Make code unconditional.
2411 [!__ASSUME_32BITUIDS]: Remove conditional code.
2412 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2413 <kernel-features.h>.
2414 [__ASSUME_32BITUIDS]: Make code unconditional.
2415 [!__ASSUME_32BITUIDS]: Remove conditional code.
2416 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2417 [__ASSUME_32BITUIDS]: Make code unconditional.
2418 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2419 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2420 <kernel-features.h>.
2421 [__ASSUME_32BITUIDS]: Make code unconditional.
2422 [!__ASSUME_32BITUIDS]: Remove conditional code.
2423 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2424 <kernel-features.h>.
2425 [__ASSUME_32BITUIDS]: Make code unconditional.
2426 [!__ASSUME_32BITUIDS]: Remove conditional code.
2427 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2428 <kernel-features.h>.
2429 [__ASSUME_32BITUIDS]: Make code unconditional.
2430 [!__ASSUME_32BITUIDS]: Remove conditional code.
2431 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2432 <kernel-features.h>.
2433 [__ASSUME_32BITUIDS]: Make code unconditional.
2434 [!__ASSUME_32BITUIDS]: Remove conditional code.
2435 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2436 <kernel-features.h>.
2437 [__ASSUME_32BITUIDS]: Make code unconditional.
2438 [!__ASSUME_32BITUIDS]: Remove conditional code.
2439 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2440 <kernel-features.h>.
2441 [__ASSUME_32BITUIDS]: Make code unconditional.
2442 [!__ASSUME_32BITUIDS]: Remove conditional code.
2443 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2444 <kernel-features.h>.
2445 [__ASSUME_32BITUIDS]: Make code unconditional.
2446 [!__ASSUME_32BITUIDS]: Remove conditional code.
2447 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2448 <kernel-features.h>.
2449 [__ASSUME_32BITUIDS]: Make code unconditional.
2450 [!__ASSUME_32BITUIDS]: Remove conditional code.
2451 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2452 <kernel-features.h>.
2453 [__ASSUME_32BITUIDS]: Make code unconditional.
2454 [!__ASSUME_32BITUIDS]: Remove conditional code.
2455 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2456 <kernel-features.h>.
2457 [__ASSUME_32BITUIDS]: Make code unconditional.
2458 [!__ASSUME_32BITUIDS]: Remove conditional code.
2459 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2460 <kernel-features.h>.
2461 [__NR_setresgid] (__setresgid): Do not declare.
2462 [__ASSUME_32BITUIDS]: Make code unconditional.
2463 [!__ASSUME_32BITUIDS]: Remove conditional code.
2464 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2465 <kernel-features.h>.
2466 [__NR_setresuid] (__setresuid): Do not declare.
2467 [__ASSUME_32BITUIDS]: Make code unconditional.
2468 [!__ASSUME_32BITUIDS]: Remove conditional code.
2469 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2470 <kernel-features.h>.
2471 [__ASSUME_32BITUIDS]: Make code unconditional.
2472 [!__ASSUME_32BITUIDS]: Remove conditional code.
2473 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2474 <kernel-features.h>.
2475 [__ASSUME_32BITUIDS]: Make code unconditional.
2476 [!__ASSUME_32BITUIDS]: Remove conditional code.
2477 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2478 <kernel-features.h>.
2479 [__ASSUME_32BITUIDS]: Make code unconditional.
2480 [!__ASSUME_32BITUIDS]: Remove conditional code.
2481 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2482 <kernel-features.h>.
2483 [__ASSUME_32BITUIDS]: Make code unconditional.
2484 [!__ASSUME_32BITUIDS]: Remove conditional code.
2485 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2486 <kernel-features.h>.
2487 [__ASSUME_32BITUIDS]: Make code unconditional.
2488 [!__ASSUME_32BITUIDS]: Remove conditional code.
2489 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2490 <kernel-features.h>.
2491 [__ASSUME_32BITUIDS]: Make code unconditional.
2492 [!__ASSUME_32BITUIDS]: Remove conditional code.
2493 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2494 <kernel-features.h>.
2495 [__ASSUME_32BITUIDS]: Make code unconditional.
2496 [!__ASSUME_32BITUIDS]: Remove conditional code.
2497 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2498 <kernel-features.h>.
2499 [__ASSUME_32BITUIDS]: Make code unconditional.
2500 [!__ASSUME_32BITUIDS]: Remove conditional code.
2501 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2502 <kernel-features.h>.
2503 [__ASSUME_32BITUIDS]: Make code unconditional.
2504 [!__ASSUME_32BITUIDS]: Remove conditional code.
2505 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2506 <kernel-features.h>.
2507 [__ASSUME_32BITUIDS]: Make code unconditional.
2508 [!__ASSUME_32BITUIDS]: Remove conditional code.
2509 * sysdeps/unix/sysv/linux/kernel-features.h
2510 (__ASSUME_SETRESUID_SYSCALL): Remove.
2511 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2512 (__ASSUME_32BITUIDS): Likewise.
2513 (__ASSUME_LDT_WORKS): Likewise.
2514 (__ASSUME_O_DIRECTORY): Likewise.
2515 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2516 architecture but not kernel version.
2517 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2518 (__ASSUME_MMAP2_SYSCALL): Likewise.
2519 (__ASSUME_STAT64_SYSCALL): Likewise.
2520 (__ASSUME_IPC64): Likewise.
2521 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2522 <kernel-features.h>.
2523 [__ASSUME_32BITUIDS]: Make code unconditional.
2524 [!__ASSUME_32BITUIDS]: Remove conditional code.
2525 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2526 <kernel-features.h>.
2527 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2528 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2529 132096]: Remove conditional code.
2530 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2531 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2532 <kernel-features.h>.
2533 [__ASSUME_32BITUIDS]: Make code unconditional.
2534 [!__ASSUME_32BITUIDS]: Remove conditional code.
2535 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2536 <kernel-features.h>.
2537 [__ASSUME_32BITUIDS]: Make code unconditional.
2538 [!__ASSUME_32BITUIDS]: Remove conditional code.
2539 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2540 <kernel-features.h>.
2541 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2542 unconditional.
2543 (__setresgid): Do not declare.
2544 [__ASSUME_32BITUIDS]: Make code unconditional.
2545 [!__ASSUME_32BITUIDS]: Remove conditional code.
2546 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2547 <kernel-features.h>.
2548 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2549 unconditional.
2550 (__setresuid): Do not declare.
2551 [__ASSUME_32BITUIDS]: Make code unconditional.
2552 [!__ASSUME_32BITUIDS]: Remove conditional code.
2553 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2554 <kernel-features.h>.
2555 [__ASSUME_32BITUIDS]: Make code unconditional.
2556 [!__ASSUME_32BITUIDS]: Remove conditional code.
2557 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2558 <kernel-features.h>.
2559 [__ASSUME_32BITUIDS]: Make code unconditional.
2560 [!__ASSUME_32BITUIDS]: Remove conditional code.
2561
a386f1cc
RH
25622012-05-25 Richard Henderson <rth@twiddle.net>
2563
2564 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2565 dl_hwcap to ifunc resolver.
2566 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2567 elf_ifunc_invoke.
2568 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2569 dl_hwcap to ifunc resolver.
2570 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2571
b6550497
JM
25722012-05-24 Joseph Myers <joseph@codesourcery.com>
2573
2574 [BZ #14153]
2575 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2576 for |x| <= 2**-26, not 2**-57.
2577 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2578 exception.
2579
b0bc23a1
JL
25802012-05-24 Jeff Law <law@redhat.com>
2581
2582 * stdio-common/Makefile (tests): Add bug25.
2583 * stdio-common/bug25.c: New test.
2584
347c92e9
L
25852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 [BZ #13576]
2588 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2589 multiple of MALLOC_ALIGNMENT in size.
2590 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2591
6bcc8b3f
JM
25922012-05-24 Joseph Myers <joseph@codesourcery.com>
2593
2594 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2595 Require >= 256.
2596 (FILENAME_MAX): Use macro-int-constant.
2597 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2598 (_IOFBF): Use macro-int-constant.
2599 (_IOLBF): Likewise.
2600 (_IONBF): Likewise.
2601 (SEEK_CUR): Likewise.
2602 (SEEK_END): Likewise.
2603 (SEEK_SET): Likewise.
2604 (TMP_MAX): Likewise.
2605 (EOF): Use macro-int-constant. Require < 0.
2606 (NULL): Use macro-constant. Require == 0.
2607 (stdin): Require type to be FILE *.
2608 (stdout): Likewise.
2609 (stderr): Likewise.
2610 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2611 macro-int-constant.
2612 (EXIT_SUCCESS): Likewise.
2613 (NULL): Use macro-constant. Require == 0.
2614 (RAND_MAX): Use macro-int-constant.
2615 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2616 [C99-based standards] (strtof): Require function.
2617 [C99-based standards] (strtold): Likewise.
2618 [C99-based standards] (strtoll): Likewise.
2619 [C99-based standards] (strtoull): Likewise.
2620 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2621 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2622 [ISO || ISO99 || ISO11] (math.h): Likewise.
2623 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2624 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2626
d18ea0c5
AS
26272012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2628
2629 [BZ #14132]
56d25bb8
AS
2630 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2631 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2632 * intl/dgettext.c (DCGETTEXT): Likewise.
2633 * intl/gettext.c (DCGETTEXT): Likewise.
2634 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2635 * posix/regex_internal.h (gettext): Likewise.
2636 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2637 Remove declaration.
2638 * include/argz.h (__argz_count_internal)
2639 (__argz_stringify_internal): Remove declaration.
2640 (__argz_count, __argz_stringify): Declare hidden proto.
2641 * intl/dcgettext.c: Remove use of INTDEF.
2642 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2643 * string/argz-stringify.c: Likewise.
2644 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2645 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2646 Declare hidden proto.
d18ea0c5
AS
2647 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2648 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2649 Declare hidden proto.
2650 * include/stdio.h (__asprintf_internal): Don't declare.
2651 (__asprintf): Don't define as macro. Declare hidden proto.
2652 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2653 (__fsetlocking): Declare hidden proto.
2654 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2655 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2656 hidden proto.
2657 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2658 (_IO_setlinebuf): Remove use of INTUSE.
2659 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2660 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2661 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2662 Remove declaration.
2663 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2664 (_IO_do_flush): Remove use of INTUSE.
2665 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2666 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2667 (_IO_adjust_column, _IO_least_wmarker)
2668 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2669 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2670 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2671 (_IO_default_doallocate, _IO_wdefault_doallocate)
2672 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2673 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2674 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2675 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2676 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2677 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2678 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2679 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2680 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2681 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2682 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2683 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2684 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2685 proto.
2686 (_IO_flush_all_internal, _IO_adjust_column_internal)
2687 (_IO_default_uflow_internal, _IO_default_finish_internal)
2688 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2689 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2690 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2691 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2692 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2693 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2694 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2695 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2696 (_IO_file_close_internal, _IO_file_close_it_internal)
2697 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2698 (_IO_file_init_internal, _IO_file_attach_internal)
2699 (_IO_file_fopen_internal, _IO_file_read_internal)
2700 (_IO_file_sync_internal, _IO_file_seek_internal)
2701 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2702 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2703 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2704 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2705 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2706 (_IO_list_all_internal, _IO_link_in_internal)
2707 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2708 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2709 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2710 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2711 (_IO_do_write_internal, _IO_padn_internal)
2712 (_IO_getline_info_internal, _IO_getline_internal)
2713 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2714 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2715 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2716 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2717 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2718 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2719 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2720 with libc_hidden_ver, remove use of INTUSE.
2721 * libio/genops.c: Likewise.
2722 * libio/freopen.c: Likewise.
2723 * libio/freopen64.c: Likewise.
2724 * libio/iofclose.c: Likewise.
2725 * libio/iofdopen.c: Likewise.
2726 * libio/iofflush.c: Likewise.
2727 * libio/iofflush_u.c: Likewise.
2728 * libio/iofgets.c: Likewise.
2729 * libio/iofgets_u.c: Likewise.
2730 * libio/iofopen.c: Likewise.
2731 * libio/iofopncook.c: Likewise.
2732 * libio/iofread.c: Likewise.
2733 * libio/iofread_u.c: Likewise.
2734 * libio/ioftell.c: Likewise.
2735 * libio/iofwrite.c: Likewise.
2736 * libio/iogetline.c: Likewise.
2737 * libio/iogets.c: Likewise.
2738 * libio/iogetwline.c: Likewise.
2739 * libio/iopadn.c: Likewise.
2740 * libio/iopopen.c: Likewise.
2741 * libio/ioseekoff.c: Likewise.
2742 * libio/ioseekpos.c: Likewise.
2743 * libio/iosetbuffer.c: Likewise.
2744 * libio/iosetvbuf.c: Likewise.
2745 * libio/ioungetc.c: Likewise.
2746 * libio/ioungetwc.c: Likewise.
2747 * libio/iovdprintf.c: Likewise.
2748 * libio/iovsprintf.c: Likewise.
2749 * libio/iovsscanf.c: Likewise.
2750 * libio/memstream.c: Likewise.
2751 * libio/obprintf.c: Likewise.
2752 * libio/oldfileops.c: Likewise.
2753 * libio/oldiofclose.c: Likewise.
2754 * libio/oldiofdopen.c: Likewise.
2755 * libio/oldiofopen.c: Likewise.
2756 * libio/oldiopopen.c: Likewise.
2757 * libio/oldstdfiles.c: Likewise.
2758 * libio/putc.c: Likewise.
2759 * libio/setbuf.c: Likewise.
2760 * libio/setlinebuf.c: Likewise.
2761 * libio/stdfiles.c: Likewise.
2762 * libio/strops.c: Likewise.
2763 * libio/vasprintf.c: Likewise.
2764 * libio/vscanf.c: Likewise.
2765 * libio/vsnprintf.c: Likewise.
2766 * libio/vswprintf.c: Likewise.
2767 * libio/wfiledoalloc.c: Likewise.
2768 * libio/wfileops.c: Likewise.
2769 * libio/wgenops.c: Likewise.
2770 * libio/wmemstream.c: Likewise.
2771 * libio/wstrops.c: Likewise.
2772 * libio/__fpurge.c: Likewise.
2773 * libio/__fsetlocking.c: Likewise.
2774 * assert/assert.c: Likewise.
2775 * debug/fgets_chk.c: Likewise.
2776 * debug/fgets_u_chk.c: Likewise.
2777 * debug/fread_chk.c: Likewise.
2778 * debug/fread_u_chk.c: Likewise.
2779 * debug/gets_chk.c: Likewise.
2780 * debug/obprintf_chk.c: Likewise.
2781 * debug/vasprintf_chk.c: Likewise.
2782 * debug/vdprintf_chk.c: Likewise.
2783 * debug/vsnprintf_chk.c: Likewise.
2784 * debug/vsprintf_chk.c: Likewise.
2785 * malloc/mtrace.c: Likewise.
2786 * misc/error.c: Likewise.
2787 * misc/syslog.c: Likewise.
2788 * stdio-common/asprintf.c: Likewise.
2789 * stdio-common/fxprintf.c: Likewise.
2790 * stdio-common/getw.c: Likewise.
2791 * stdio-common/isoc99_fscanf.c: Likewise.
2792 * stdio-common/isoc99_scanf.c: Likewise.
2793 * stdio-common/isoc99_vfscanf.c: Likewise.
2794 * stdio-common/isoc99_vscanf.c: Likewise.
2795 * stdio-common/isoc99_vsscanf.c: Likewise.
2796 * stdio-common/printf-prs.c: Likewise.
2797 * stdio-common/printf_fp.c: Likewise.
2798 * stdio-common/printf_fphex.c: Likewise.
2799 * stdio-common/printf_size.c: Likewise.
2800 * stdio-common/putw.c: Likewise.
2801 * stdio-common/scanf.c: Likewise.
2802 * stdio-common/sprintf.c: Likewise.
2803 * stdio-common/tmpfile.c: Likewise.
2804 * stdio-common/vfprintf.c: Likewise.
2805 * stdio-common/vfscanf.c: Likewise.
2806 * stdlib/strfmon_l.c: Likewise.
2807 * sunrpc/openchild.c: Likewise.
2808 * sunrpc/xdr_stdio.c: Likewise.
2809 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2810 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2811
d6c33fda
RM
28122012-05-24 Roland McGrath <roland@hack.frob.com>
2813
c1487492
RM
2814 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2815
2816 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2817 in the third column, to generate for the shared library an IFUNC
2818 that uses _dl_vdso_vsym.
2819 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2820 * Makeconfig (object-suffixes-noshared): New variable.
2821
2822 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2823 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2824 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2825 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2826
d6c33fda
RM
2827 [BZ #14132]
2828 * include/sys/time.h (__gettimeofday): Remove macro.
2829 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2830 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2831 Remove INTDEF.
2832 (__gettimeofday): Add libc_hidden_def.
2833 (gettimeofday): Add libc_hidden_weak.
2834 * sysdeps/mach/gettimeofday.c: Likewise.
2835 * sysdeps/posix/gettimeofday.c: Likewise.
2836 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2837 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2838 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2839 (__gettimeofday_internal): Remove strong_alias.
2840 (__gettimeofday): Add libc_hidden_def.
2841 (gettimeofday): Add libc_hidden_weak.
2842 * sysdeps/unix/syscalls.list (gettimeofday):
2843 Remove __gettimeofday_internal alias.
2844
b5a2bbe6
L
28452012-05-24 Daniel Jacobowitz <drow@false.org>
2846 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 [BZ #12495]
2849 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2850 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2851 (largebin_index_32_big): New.
2852 (largebin_index): Use it for 16-byte alignment.
2853 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2854 correction with front_misalign.
2855
cfba4fda
L
28562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2857
7f907421
L
2858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2860 Likewise.
2861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2862 Likewise.
2863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2864 Likewise.
2865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2866 Likewise.
2867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2868 Likewise.
2869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2870 Likewise.
2871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2872 Likewise.
2873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2874 Likewise.
2875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2876 Likewise.
2877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2878 Likewise.
2879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2880 Likewise.
2881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2882 Likewise.
2883
cfba4fda
L
2884 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2885 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2886
80bad0cc
JM
28872012-05-24 Joseph Myers <joseph@codesourcery.com>
2888
7a25eb06
JM
2889 [BZ #10846]
2890 [BZ #14036]
2891 * math/libm-test.inc (exp_test): Add test from bug 14036.
2892 (pow_test): Add test from bug 10846.
2893
795405f9
JM
2894 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2895 and other flags.
2896 (special_function): Do not include flags in test name.
2897 (parse_args): Likewise.
2898 * sysdeps/i386/fpu/libm-test-ulps: Update.
2899 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2900 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2901 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2903
80bad0cc
JM
2904 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2905 exceptions.
2906 * math/libm-test.inc ("Philosophy"): Update comment about
2907 exception testing.
2908 (UNDERFLOW_EXCEPTION): New macro.
2909 (UNDERFLOW_EXCEPTION_OK): Likewise.
2910 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2911 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2912 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2913 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2914 (INVALID_EXCEPTION_OK): Update value.
2915 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2916 (OVERFLOW_EXCEPTION_OK): Likewise.
2917 (IGNORE_ZERO_INF_SIGN): Likewise.
2918 (test_exceptions): Handle underflow exceptions.
2919 (acos_test): Update for underflow exception expectations.
2920 (cexp_test): Likewise.
2921 (clog_test): Likewise.
2922 (clog10_test): Likewise.
2923 (csqrt_test): Likewise.
2924 (ctan_test): Likewise.
2925 (ctanh_test): Likewise.
2926 (exp_test): Likewise.
2927 (exp10_test): Likewise.
2928 (exp2_test): Likewise.
2929 (expm1_test): Likewise.
2930 (fma_test): Likewise.
2931 (j0_test): Likewise.
2932 (jn_test): Likewise.
2933 (nexttoward_test): Likewise.
2934 (pow_test): Likewise.
2935 (scalbn_test): Likewise.
2936 (scalbln_test): Likewise.
2937 (tan_test): Likewise.
2938 (y1_test): Likewise.
2939 * sysdeps/i386/fpu/libm-test-ulps: Update.
2940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2941
9e0e3d0b
DM
29422012-05-23 David S. Miller <davem@davemloft.net>
2943
2944 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2945 (__libc_sigaction): Remove unused local variables.
2946
ccd0a08f
L
29472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2948
2949 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2950
62bdf9a6
PE
29512012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2952
f8591f80
PE
2953 mktime: avoid signed integer overflow
2954 * time/mktime.c (__mktime_internal): Do not mishandle the case
2955 where diff == INT_MIN.
2956
94c7d826
PE
2957 mktime: simplify computation of average
2958 * time/mktime.c (ranged_convert): Use new time_t_avg function
2959 instead of rolling our own (probably-slower) code.
2960
ce73d683
PE
2961 mktime: do not assume signed right shift propagates sign bit
2962 * time/mktime.c (isdst_differ): New static function.
2963 (__mktime_internal): No need to normalize tm_isdst now.
2964 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2965 tm_isdst values.
2966
72a22e59
PE
2967 mktime: merge another wrapv change from gnulib
2968 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2969 from some compilers.
2970
68605433
PE
2971 mktime: remove incorrect attempt at unusual arithmetics
2972 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2973 The code didn't really work on such machines anyway.
2974 (TYPE_MINIMUM): Assume two's complement.
2975 (twos_complement_arithmetic): Verify that long_int and time_t
2976 are two's complement (or unsigned, in the latter case).
2977
03cf7fe3
PE
2978 mktime: check signed shifts on long_int and time_t, too
2979 * time/mktime.c (SHR): Check that shifts work as desired
2980 on the types long_int and time_t too, as SHR is used on
2981 such types.
2982
f04dfbc2
PE
2983 mktime: do not assume 'long' is wide enough
2984 * time/mktime.c (verify): Move decl up.
2985 (long_int): New type.
2986 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2987 to remove assumption in the code that 'long' is wide enough to
2988 store year values. This assumption is not true on x32 and on
2989 some non-glibc platforms.
2990
62bdf9a6
PE
2991 mktime: merge wrapv change from gnulib
2992 * time/mktime.c (WRAPV): New macro.
2993 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2994 (guess_time_tm, __mktime_internal): Do not assume that signed
2995 integer overflow wraps around; modern compilers generate code
2996 where this assumption is no longer valid.
2997
5e292e4f
L
29982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2999
3000 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3001 Replace "jmp L(pseudo_end)" with "ret".
3002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3003 Likewise.
3004
8caf8c87
AJ
30052012-05-23 Andreas Jaeger <aj@suse.de>
3006
3007 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3008 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3009
1a09dc56
AJ
30102012-05-23 Andreas Jaeger <aj@suse.de>
3011 Maximilian Attems <max@stro.at>
3012
3013 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3014 New macros.
3015
1c87aba0
L
30162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3017
3018 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3019 code so that pseudo_end is just ret and the stack pointer is
3020 correct also for static library in error case.
3021
40e45bd5
JM
30222012-05-23 Joseph Myers <joseph@codesourcery.com>
3023
c2670533
JM
3024 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3025 move to syscalls.list.
3026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3030
40e45bd5
JM
3031 * manual/install.texi (Running make install): Do not mention Linux
3032 kernel version for which pt_chown is not needed.
3033 (Linux): Do not mention problems with nscd with 2.0 kernels.
3034 * INSTALL: Regenerated.
3035
be08eda5
AJ
30362012-05-23 Andreas Jaeger <aj@suse.de>
3037
3038 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3039 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3040 macro.
3041 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3042 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3043 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3044 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3045 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3046 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3047 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3048 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3049 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3050 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3051 * sysdeps/unix/sysv/linux/bits/in.h
3052 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3053
a6a056bb
RM
30542012-05-22 Roland McGrath <roland@hack.frob.com>
3055
3056 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3057 (PREPARE_VERSION): Just use assert instead, it will be elided
3058 under [NDEBUG] anyway.
3059
c9009328
L
30602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3061
3062 * sysdeps/unix/sysv/linux/Makefile: Include
3063 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3064 (sysdep_routines): Remove sysctl.
c9009328
L
3065 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3066 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3067 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3068 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3069 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3070
73338355
AJ
30712012-05-22 Andreas Jaeger <aj@suse.de>
3072
3073 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3074 that pseudo_end is just ret and the stack pointer is correct also
3075 for static library in error case.
3076
d44638b0
PP
30772012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3078
3079 [BZ #14122]
3080 * nss/nsswitch.c (defconfig_entries): New variable.
3081 (__nss_database_lookup): Don't leak defconfig entries.
3082 (nss_parse_service_list): Don't leak on error paths.
3083 (free_database_entries): New function.
3084 (free_defconfig): New function.
3085 (free_mem): Move common code to free_database_entries.
3086
31a39bd8
L
30872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3088
da0331a8
L
3089 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3090 Add arch_prctl.
3091 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3092
31a39bd8
L
3093 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3094 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3096 New macro.
3097 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3098 (INTERNAL_SYSCALL_TYPES): Likewise.
3099 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3100 (LOAD_REGS_TYPES_[1-6]): Likewise.
3101 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3102 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3103
45470df3
AZ
31042012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3105
3106 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3107 copysignl for GLIBC_2_0.
3108 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3109 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3111 logbl for GLIBC_2_0.
3112 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3113 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3114
98a61bcb
L
31152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3116
a4f6e481
L
3117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3118 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3119
f63d5db6
L
3120 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3121 Use "neg %eax".
3122
98a61bcb
L
3123 * time/mktime.c: Update copyright years.
3124
95770f14
PE
31252012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3126
6226efbd
PE
3127 mktime: merge comment-quoting-style change from gnulib
3128 * time/mktime.c: Quote 'like this' in comments.
3129 The GNU coding standards suggest that we no longer quote `like this',
3130 as "`" and "'" are typically rendered asymmetrically nowadays.
3131 The typical gnulib style is to quote 'like this' when quoting
3132 code, and "like this" when quoting English.
3133
b99e4f78
PE
3134 * time/mktime.c (compile-command): Add "-I.".
3135
643e01e6
PE
3136 mktime: merge mktime-internal.h change from gnulib
3137 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3138
2554247d
PE
3139 mktime: merge time_r change from gnulib
3140 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3141
826dd0ab
PE
3142 mktime: merge DEBUG change from gnulib
3143 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3144 case system <time.h> has a #define.
3145
bd83aabe
PE
3146 mktime: merge <sys/types.h> change from gnulib
3147 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3148 since <time.t> is now guaranteed to define time_t.
3149
95770f14
PE
3150 mktime: merge HAVE_CONFIG_H change from gnulib
3151 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3152
5e1a27a9
L
31532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3154
0e44a77e
L
3155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3156 Use "neg %eax".
3157
5e1a27a9
L
3158 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3159 __rlim_t cast.
3160 (struct rusage): Use anonymous union to pad each field to
3161 __syscall_slong_t.
3162
46259bec
DM
31632012-05-21 David S. Miller <davem@davemloft.net>
3164
3165 * Makefules (o-iterator): Remove .s cases.
3166 (compile-command.s): Delete.
3167 (COMPILE.s): Delete.
3168 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3169
59f0c22e
JM
31702012-05-21 Joseph Myers <joseph@codesourcery.com>
3171
3172 * configure.in (libc_cv_predef_stack_protector): Only consider
3173 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3174 * configure: Regenerated.
3175
20c07380
L
31762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3177
bbb3154b
L
3178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3179 New macro. Use R*LP on int and pointer.
3180 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3181 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3182 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3183 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3184
20c07380
L
3185 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3186 [__WORDSIZE_TIME64_COMPAT32] instead of
3187 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3188 (struct utmp): Likewise.
3189 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3190 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3191 Renamed to ...
3192 (__WORDSIZE_TIME64_COMPAT32): This.
3193 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3194 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3195 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3196 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3197 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3198 (__WORDSIZE_TIME64_COMPAT32): New macro.
3199
d8d1017e
AJ
32002012-05-21 Andreas Jaeger <aj@suse.de>
3201
3202 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3203 only if [SHARED]. Add prototype for __wcschr_ia32.
3204
6c7fb145
RM
32052012-05-21 Roland McGrath <roland@hack.frob.com>
3206
3207 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3208 of %rbp unmolested in the jmp_buf while mangling the low bits.
3209 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3210 unmolested high bits of %rbp while demangling the low bits.
3211 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3212
66274218
AJ
32132012-05-21 Andreas Jaeger <aj@suse.de>
3214
07c58f8f
AJ
3215 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3216 * sunrpc/svc_simple.c: Use it for registerrpc.
3217 * sunrpc/xcrypt.c: Use it for passwd2des.
3218
66274218
AJ
3219 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3220
61f65140
L
32212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3222
3223 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3224 Don't define if [__SYSCALL_WORDSIZE != 32].
3225 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3226 New macro.
3227
5fefb436
AJ
32282012-05-21 Bruno Haible <bruno@clisp.org>
3229 Andreas Jaeger <aj@suse.de>
3230
3231 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3232 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3233 inptr and inend for must_buffer_ch.
3234 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3235 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3236 * stdio-common/Makefile (tests): Remove bug15.
3237 (bug15-ENV): Remove macro.
3238 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3239 anymore.
3240
d8e272ab
AJ
32412012-05-19 Andreas Jaeger <aj@suse.de>
3242 Roland McGrath <roland@hack.frob.com>
3243
3244 * manual/contrib.texi: Completely rewritten. It contains now an
3245 alphabetical list of contributors and their contributions.
3246
4a56a162
RH
32472012-05-21 Richard Henderson <rth@twiddle.net>
3248
3249 * misc/getauxval.c (__getauxval): Use unsigned long int.
3250 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3251 (getauxval): Use unsigned long int.
3252
d024d23c
L
32532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3254
3255 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3256
cbc00a03
RM
32572012-05-21 Roland McGrath <roland@hack.frob.com>
3258
3259 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3260 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3261 __alignof__ (long double).
3262
478143fa
AZ
32632012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3264
3265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3266
c7683a6d
RH
32672012-05-20 Richard Henderson <rth@twiddle.net>
3268
3269 * misc/getauxval.c: New file.
3270 * misc/sys/auxv.h: New file.
3271 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3272 (routines): Add getauxval.
3273 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3274 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3275 * elf/dl-sysdep.c (_dl_auxv): Remove.
3276 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3277 * elf/dl-support.c (_dl_auxv): New variable.
3278 (_dl_aux_init): Initialize it.
3279 * manual/startup.texi (Auxiliary Vector): New node.
3280 * sysdeps/generic/bits/hwcap.h: New file.
3281 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3282 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3283 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3284 * sysdeps/sparc/sysdep.h: ... here. Include it.
3285 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3286 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3288 Update.
c7683a6d
RH
3289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3292 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3297
a6f1845d
AZ
32982012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3299
3300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3301
cbcbe830
DM
33022012-05-19 David S. Miller <davem@davemloft.net>
3303
3304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3305
e0b16cc2
JM
33062012-05-19 Joseph Myers <joseph@codesourcery.com>
3307
3308 [BZ #14123]
3309 * math/s_ccosh.c: Include <float.h>
3310 (__ccosh): Avoid internal overflow calculating sinh and cosh
3311 values before multiplying by sin and cos values.
3312 * math/s_ccoshf.c: Likewise.
3313 * math/s_ccoshl.c: Likewise.
3314 * math/s_csin.c: Likewise.
3315 * math/s_csinf.c: Likewise.
3316 * math/s_csinl.c: Likewise.
3317 * math/s_csinh.c: Likewise.
3318 * math/s_csinhf.c: Likewise.
3319 * math/s_csinhl.c: Likewise.
3320 * math/libm-test.inc (ccos_test): Add more tests.
3321 (ccosh_test): Likewise.
3322 (csin_test): Likewise.
3323 (csinh_test): Likewise.
3324 * sysdeps/i386/fpu/libm-test-ulps: Update.
3325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3326
6ad13e08
L
33272012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3328
f66f0ce8
L
3329 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3330 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3331
6ad13e08
L
3332 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3333
b1d072a7
JM
33342012-05-19 Joseph Myers <joseph@codesourcery.com>
3335
3336 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3337 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3338 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3339 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3340 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3341 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3342 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3343 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3344 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3345 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3346 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3347 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3348 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3349 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3350 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3351 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3352 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3353 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3354 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3355 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3356 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3357 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3358 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3359 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3360 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3361 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3362 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3363 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3364 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3365 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3366 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3367
9eae47cb
AJ
33682012-05-18 Andreas Jaeger <aj@suse.de>
3369
3370 * csu/.gitignore: Delete.
3371
bb07f69f
L
33722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3373
3374 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3375 (timex): Use __syscall_slong_t.
3376
e6bdb741
AJ
33772012-05-18 Andreas Jaeger <aj@suse.de>
3378 Carlos O'Donell <carlos_odonell@mentor.com>
3379
3380 * manual/install.texi (Configuring and compiling): Update
3381 description about files modified in the source directory.
d6c33fda 3382 * INSTALL: Regenerated.
e6bdb741 3383
1b74487e
L
33842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3385
3386 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3387 value. Use "or" to set return value to -1.
3388 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3389 negate return value.
3390
a88b64b9
TMQMF
33912012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3392
3393 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3394 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3395 failure if the compiler has Graphite support disabled.
3396 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3397 Likewise.
3398 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3399 CFLAGS-memmove.c): Likewise.
3400 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3401 Likewise.
3402
3707636e
L
34032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3404
610b8622
L
3405 * sysdeps/x86_64/x32/_itoa.h: New file.
3406
7cd195df
L
3407 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3408 getdents system call only if kernel and user dirents have the
3409 same d_ino and d_off.
3410
94b07d20
L
3411 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3412 LLONG_MAX != LONG_MAX.
3413 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3414 (_fitoa_word): Likewise.
3415
18298070
L
3416 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3417 years.
3418 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3419 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3420 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3421
553c7ea4
L
3422 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3423 include <bits/wordsize.h>. Check __x86_64__ instead of
3424 __WORDSIZE.
3425 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3426 if __x86_64__ is defined. Use anonymous union on fpstate.
3427
3707636e
L
3428 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3429 anonymous union.
3430
b53ef01a
AS
34312012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3432
37fb1dc0
AS
3433 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3434 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3435 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3436 Refer to _rtld_local_ro instead of _rtld_global_ro.
3437 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3438 Likewise.
3439 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3440 Likewise.
3441 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3442 Likewise.
3443 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3444 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3445 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3446
b53ef01a
AS
3447 * sysdeps/powerpc/powerpc32/dl-machine.c
3448 (__elf_machine_runtime_setup) [PROF]: Don't reference
3449 _dl_prof_resolve.
3450
7a185db2
AJ
34512012-05-18 Andreas Jaeger <aj@suse.de>
3452
3453 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3454 function only available for GCCs before 3.4 since GCC 3.4
3455 introduced a builtin.
3456 (lrint): Likewise.
3457 (llrintf): Likewise.
3458 (llrint): Likewise.
3459 (fmaxf): Likewise.
3460 (fmax): Likewise.
3461 (fminf): Likewise.
3462 (fmin): Likewise.
3463 (rint): Likewise.
3464 (rintf): Likewise.
3465 (nearbyint): Likewise.
3466 (nearbyintf): Likewise.
3467 (ceil): Likewise.
3468 (ceilf): Likewise.
3469 (floor): Likewise.
3470 (floorf): Likewise.
3471
3e5aef87
L
34722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3473
428bd707
L
3474 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3475 on both fields and cast pointer to __syscall_ulong_t.
3476
3e5aef87
L
3477 * bits/types.h (__fsword_t): New type.
3478 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3479 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3481 (__FSWORD_T_TYPE): Likewise.
3482 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3483 (__FSWORD_T_TYPE): Likewise.
3484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3485 (__FSWORD_T_TYPE): Likewise.
3486 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3487 (__FSWORD_T_TYPE): Likewise.
3488 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3489 __SWORD_TYPE with __fsword_t.
3490 (statfs64): Likewise.
3491
1ba7c3dc
DM
34922012-05-17 David S. Miller <davem@davemloft.net>
3493
3494 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3495
59910343
AJ
34962012-05-17 Andreas Jaeger <aj@suse.de>
3497
3498 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3499 warning.
3500
2e4c1e9e
L
35012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3502
3503 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3504
de7f5ce7
AJ
35052012-05-17 Andreas Jaeger <aj@suse.de>
3506
3507 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3508 when it is used.
3509
286abc3d
CM
35102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3511
3512 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3513
477cc68e
L
35142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3515
3516 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3517 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3518
1a0994f5
CD
35192012-05-17 Andreas Jaeger <aj@suse.de>
3520 Carlos O'Donell <carlos_odonell@mentor.com>
3521
3522 [BZ #14059]
3523 * sysdeps/x86_64/multiarch/init-arch.h
3524 (bit_YMM_Usable): Rename to...
3525 (bit_AVX_Usable): ... this.
3526 (bit_FMA4_Usable): New macro.
3527 (bit_XMM_state): New macro.
3528 (bit_YMM_state): New macro.
3529 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3530 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3531 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3532 (CPUID_OSXSAVE): New macro.
3533 (CPUID_AVX): New macro.
3534 (CPUID_FMA4): New macro.
3535 (index_YMM_Usable): Rename to...
3536 (index_AVX_Usable): ... this.
3537 (HAS_AVX): Use HAS_ARCH_FEATURE.
3538 (HAS_FMA4): Likewise.
3539 (HAS_YMM_USABLE): Remove.
3540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3541 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3542 are present.
3543 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3544 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3545 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3546 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3547 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3548
0af797de
CM
35492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3550
3551 * math/libm-test.c: Support platforms without multiple rounding modes.
3552 * math/bug-nextafter.c: Support platforms without FP exceptions.
3553 * math/bug-nexttoward.c: Likewise.
3554 * math/test-fenv.c: Likewise.
3555 * math/test-misc.c: Likewise.
3556 * stdlib/bug-getcontext.c: Likewise.
3557
e39745ff
AJ
35582012-05-17 Andreas Jaeger <aj@suse.de>
3559
3560 * manual/examples/search.c (critter_cmp): Change signature to
3561 avoid warnings.
3562 * manual/string.texi (Collation Functions): Likewise.
3563
48970aba
L
35642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3565
3566 * bits/types.h: Fold copyright years.
3567 * bits/typesizes.h: Likewise.
3568 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3569 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3572 * time/time.h: Likewise.
3573
bedee953
PP
35742012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3575
3576 [BZ #208]
3577 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3578 in instead of returning them. Return void.
3579 (__libc_mallinfo): Accumulate over all arenas.
3580 (__malloc_stats): Adjust for change in int_mallinfo interface.
3581
61653dfb
RM
35822012-05-16 Roland McGrath <roland@hack.frob.com>
3583
30b99d79
RM
3584 [BZ #10375]
3585 * configure.in (NM): Add AC_CHECK_TOOL for it.
3586 (libc_extra_cflags): New substituted variable.
3587 Check for -fstack-protector being used implicitly.
3588 * configure: Regenerated.
3589 * config.make.in (config-extra-cflags): New variable,
3590 gets @libc_extra_cflags@.
3591 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3592
61653dfb
RM
3593 [BZ #10375]
3594 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3595 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3596 * configure: Regenerated.
3597 * config.make.in (CPPUNDEFS): New substituted variable.
3598 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3599 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3600 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3601
661768bb
L
36022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3603
3604 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3605 (mq_attr): Use __syscall_slong_t.
3606
d4261567
L
36072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3608
3609 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3610 Check __x86_64__ instead of __WORDSIZE.
3611 (_STAT_VER_LINUX): Likewise.
3612 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3613 __syscall_ulong_t and __syscall_slong_t.
3614 (stat64): Likewise.
3615
cf3ff365
L
36162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3617
3618 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3619
76cf3e4d
L
36202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3623
a637753a
L
36242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3625
3626 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3627 __syscall_ulong_t.
3628
d5e05119
L
3629 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3630 include <bits/wordsize.h>. Check __x86_64__ instead of
3631 __WORDSIZE.
3632 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3633 defined.
3634 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3635
f62ee380
L
3636 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3637 include <bits/wordsize.h>. Check __x86_64__ instead of
3638 __WORDSIZE.
3639 (user_regs_struct): Use "__extension__ unsigned long long"
3640 instead of "unsigned long" if __x86_64__ is defined.
3641 (user): Likewise. Pad after pointer field if __ILP32__ is
3642 defined.
3643
4e124ced
JM
36442012-05-16 Joseph Myers <joseph@codesourcery.com>
3645
6a3951a0
JM
3646 * configure.in (makeinfo): Require version 4.5 or later. Allow
3647 versions 5 to 9.
3648 * configure: Regenerated.
3649 * manual/install.texi (texinfo): Increase version requirement to
3650 4.5 or later.
3651 * INSTALL: Regenerated.
3652
4e124ced
JM
3653 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3654
953ca31a
L
36552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3656
3657 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3658
617aca05
L
3659 * sysdeps/x86_64/x32/ffs.c: New file.
3660
5762f7ae
L
3661 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3662 __syscall_ulong_t.
3663 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3664 defined. Use __syscall_ulong_t.
3665 (shminfo): Use __syscall_ulong_t.
3666 (shm_info): Likewise.
3667
a26b6856
L
3668 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3669 __syscall_ulong_t.
3670
cb2b9ef7
L
3671 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3672 <bits/wordsize.h>.
3673 (msgqnum_t): Use __syscall_ulong_t.
3674 (msglen_t): Likewise.
3675 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3676 __syscall_ulong_t.
3677
34683bb0
L
3678 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3679 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3680
84a68786
L
3681 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3682
48baa5f1
L
3683 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3684 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3685
180be88b
L
3686 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3687 __syscall_slong_t.
3688
5e90c8ad
L
3689 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3690 include <bits/wordsize.h>. Check __x86_64__ instead of
3691 __WORDSIZE.
3692
23dfb58b
L
3693 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3694 "unsigned long long int" if __x86_64__ is defined.
3695 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3696
ce5d54b0
L
3697 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3698 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3699 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3700
13dc9eac
L
3701 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3702 <stdint.h>.
3703 (GET_PC): Cast to uintptr_t first.
3704 (GET_FRAME): Likewise.
3705 (GET_STACK): Likewise.
3706
a7895d15
L
3707 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3708 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3709 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3710 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3711 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3712 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3713 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3714 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3715 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3716 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3717 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3718 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3719 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3720 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3721 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3722 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3723 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3724 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3725 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3726 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3727 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3728 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3729 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3730 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3731 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3732 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3733 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3734 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3735 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3736
656416c9
AS
37372012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3738
5bd66283
AS
3739 * Makerules (+depfiles): Also collect depfiles from .oS in
3740 $(extra-objs).
3741 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3742 .oS, $(libnldbl-routines)).
3743
656416c9
AS
3744 * Makerules (native-compile-mkdep-flags): Define.
3745 * sunrpc/Makefile (extra-objs): Add $(addprefix
3746 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3747 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3748 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3749 calling $(make-target-directory).
3750
a46f2169
L
37512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3752
3753 * bits/types.h (__snseconds_t): Removed.
3754 * time/time.h (struct timespec): Replace __snseconds_t with
3755 __syscall_slong_t.
3756 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3757 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3758 Likewise.
3759 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3760 (__SNSECONDS_T_TYPE): Likewise.
3761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3762 (__SNSECONDS_T_TYPE): Likewise.
3763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3764 (__SNSECONDS_T_TYPE): Likewise.
3765
6af6528b
L
37662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3767
3768 * sysdeps/mach/hurd/bits/typesizes.h
3769 (__SYSCALL_SLONG_TYPE): New macro.
3770 (__SYSCALL_ULONG_TYPE): Likewise.
3771
de986b56
L
37722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3773
3774 * bits/types.h (__syscall_slong_t): New type.
3775 (__syscall_ulong_t): Likewise.
3776
3777 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3778 (__SYSCALL_ULONG_TYPE): Likewise.
3779 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3780 (__SYSCALL_SLONG_TYPE): Likewise.
3781 (__SYSCALL_ULONG_TYPE): Likewise.
3782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3783 (__SYSCALL_SLONG_TYPE): Likewise.
3784 (__SYSCALL_ULONG_TYPE): Likewise.
3785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3786 (__SYSCALL_SLONG_TYPE): Likewise.
3787 (__SYSCALL_ULONG_TYPE): Likewise.
3788
85736dc7
L
37892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3790
3791 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3792 Add sigaltstack-offsets.sym.
3793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3794 <sigaltstack-offsets.h>.
3795 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3796 longjmp_msg pointer.
3797 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3798 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3799 signal stack.
3800 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3801
cc03b296
JM
38022012-05-15 Joseph Myers <joseph@codesourcery.com>
3803
a9538892
JM
3804 * elf/stackguard-macros.h: Remove file.
3805 * sysdeps/generic/stackguard-macros.h: New file.
3806 * sysdeps/i386/stackguard-macros.h: Likewise.
3807 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3808 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3809 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3810 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3811 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3812 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3813 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3814 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3815 <elf/stackguard-macros.h>.
3816
cc03b296
JM
3817 [BZ #14109]
3818 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3819 __aligned__ in attribute.
3820 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3821 (gregset_t): Likewise.
3822
93171016
L
38232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3824
3825 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3826 * sysdeps/x86_64/64/Implies-after: Here. New file.
3827 * sysdeps/x86_64/x32/Implies-after: New file.
3828
d86813a0
L
38292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3830
3831 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3832 and access return value for _dl_profile_fixup. Use R10_LP to
3833 load frame size.
3834
2953ec75
L
38352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3836
3837 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3838
3b550e9e
L
38392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3840
3841 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3842 * sysdeps/x86_64/x32/sysdep.h: New file.
3843
eda41706
L
38442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3845
3846 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3847 * sysdeps/x86_64/setjmp.S: Likewise.
3848
9ea01d93
AZ
38492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3850
3851 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3852 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3853 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3854 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3855 remove unused global constant.
3856
02a91938
CM
38572012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3858
3859 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3860 include of <not-cancel.h>.
3861
6540185f
RM
38622012-05-15 Roland McGrath <roland@hack.frob.com>
3863
3864 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3865
509072a0
AJ
38662012-05-15 Jeff Law <law@redhat.com>
3867 Andreas Jaeger <aj@suse.de>
3868
3869 [BZ #13594]
3870 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3871 out from...
3872 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3873 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3874 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3875 code changing __hst_map_handle.map.
3876
ba75122d
RM
38772012-05-15 Roland McGrath <roland@hack.frob.com>
3878
3879 * configure.in (sysnames): Look for Implies-before and Implies-after
3880 files.
3881 * configure: Regenerated.
3882
890d8bd8
L
38832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3884
3885 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3886 8-byte data alignment with LP_SIZE alignment.
3887
f6ee6623
L
38882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3889
3890 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3891 into R10_LP.
3892
ea2626f6
L
38932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3894
3895 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3896
085f715e
L
38972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3898
3899 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3900 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3901 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3902 Likewise.
3903 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3904
be8498fc
L
39052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3906
3907 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3908 (stackinfo_sub_sp): Likewise.
3909
70bc83b9
L
39102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3911
3912 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3913 RAX_LP.
3914
9bc0b730
L
39152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3916
3917 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3918 into R*_LP.
3919
6d2850e7
L
39202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3921
3922 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3923 sizes into R*_LP.
3924
3cb84561
L
39252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3926
3927 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3928
54e2ed81
L
39292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3930
3931 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3932 into R11_LP and load __x86_64_shared_cache_size_half into
3933 R8_LP.
3934
8a17f349
L
39352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3936
3937 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3938 R8_LP.
3939
777b1eea
AZ
39402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3941
3942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3943 logb for POWER7.
3944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3945 logbf for POWER7.
3946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3947 logbl for POWER7.
3948 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3949 powerpc32/power7/fpu/s_logb.c via #include.
3950 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3951 powerpc32/power7/fpu/s_logbf.c via #include.
3952 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3953 powerpc32/power7/fpu/s_logbl.c via #include.
3954
d20d4ac2
JM
39552012-05-15 Joseph Myers <joseph@codesourcery.com>
3956
3957 * README.libm: Remove file.
3958
6cdef1ab
L
39592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3960
3961 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3962 count for x32. Use R*_LP and omit operand-size suffix.
3963
0b254d8f
L
39642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3967 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3968 * sysdeps/x86_64/x32/shlib-versions: New file.
3969
ceb809dc
RM
39702012-05-14 Roland McGrath <roland@hack.frob.com>
3971
3972 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3973 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3974 Use _dl_fatal_printf instead.
3975
37f1abd4
JM
39762012-05-14 Joseph Myers <joseph@codesourcery.com>
3977
3978 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3979 set if not set by the user. Do not allow for being unset.
3980 * sysdeps/unix/sysv/linux/configure: Regenerated.
3981
11de3a33
L
39822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3983
3984 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3985 the `q' suffix from lea and replace .quad with ASM_ADDR.
3986
e02f153a
L
39872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3988
3989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3990 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3991 instead of $17.
3992 (PTR_DEMANGLE): Likewise.
3993
520ae0fd
L
39942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3995
3996 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3997 (LP_OP): Likewise.
3998 (ASM_ADDR): Likewise.
3999 (RAX_LP): Likewise.
4000 (RBP_LP): Likewise.
4001 (RBX_LP): Likewise.
4002 (RCX_LP): Likewise.
4003 (RDI_LP): Likewise.
4004 (RSI_LP): Likewise.
4005 (RSP_LP): Likewise.
4006 (R8_LP): Likewise.
4007 (R9_LP): Likewise.
4008 (R10_LP): Likewise.
4009 (R10_LP): Likewise.
4010 (R11_LP): Likewise.
4011 (R12_LP): Likewise.
4012 (R13_LP): Likewise.
4013 (R14_LP): Likewise.
4014 (R15_LP): Likewise.
4015
b985be81
L
40162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4017
4018 * sysdeps/x86_64/x32/dl-machine.h: New file.
4019
6a4888ff
AJ
40202012-05-14 Andreas Jaeger <aj@suse.de>
4021
4022 * manual/Makefile (subdir): Remove export of subdir.
4023 (all): Remove target.
4024 (.PHONY): Remove all from list.
4025 (mkinstalldirs): Remove.
4026 (.PHONY): Remove installdirs from list.
4027 ($(inst_infodir)/libc.info): Use make-target-directory.
4028 (installdirs): Remove.
4029 (subdir_%): Remove.
4030 (glibc-targets): Remove.
4031 (lib): Remove.
4032 (stubs): Remove.
4033 ($(objpfx)stubs ../po/manual.pot): Remove.
4034 ($(objpfx)stamp%): Remove.
4035 (make-target-directory): Remove.
4036 (subdir_install): Remove.
4037 (routines): Remove.
4038 (aux): Remove.
4039 (sources): Remove.
4040 (objects): Remove.
4041 (headers): Remove.
4042
4043 [BZ #13750]
4044 * manual/.gitignore: Remove, it's not needed anymore.
4045 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4046 all files in it.
4047 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4048 directory.
4049 (texis): Renamed to $(objpfx)texis.
4050 (texis-path): New, contains path to generated files.
4051 (chapters.%): Use texis-path for complete path, add extra argument
4052 libc-texinfo.sh.
4053 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4054 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4055 (summary,texi, stamp-summary): Use complete path of
4056 files. Generate files in build dir.
4057 (dir-add.texi): Build in build dir.
4058 (libm-err.texi,stamp-libm-err): Likewise.
4059 (version.texi, stamp-version): Likewise.
4060 (.%c.texi): Likewise.
4061 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4062 (mostlyclean): Remove target.
4063 (realclean): Remove target.
4064 (generated): Add new variable with contents from mostlyclean and
4065 realclean, remove entries duplicated in common-mostlyclean, add
4066 stamp-libm-err and stamp-version.
4067 (generated-dirs): Add libc directory.
4068 ($(inst_infodir)/libc.info): Install files from build dir.
4069
4070 * manual/install.texi (Configuring and compiling): Adjust since
4071 the info files are not part of the tar ball anymore.
4072
7ac77294
AJ
40732012-05-14 Andreas Jaeger <aj@suse.de>
4074
4075 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4076 variable.
4077
ffb7875d
JM
40782012-05-14 Joseph Myers <joseph@codesourcery.com>
4079
4080 [BZ #13717]
4081 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4082 to 2.2.0 where earlier.
4083 * sysdeps/unix/sysv/linux/configure: Regenerated.
4084 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4085 Remove conditional code.
4086 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4087 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4088 Remove conditional code.
4089 [!__NR_lchown]: Likewise.
4090 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4091 [__NR_lchown]: Likewise.
4092 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4093 comment referencing __ASSUME_LCHOWN_SYSCALL.
4094 * sysdeps/unix/sysv/linux/i386/sigaction.c
4095 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4096 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4097 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4098 Remove conditional code.
4099 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4100 (__protocol_available): Remove #if 0 code.
4101 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4102 conditional code.
4103 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4104 * sysdeps/unix/sysv/linux/kernel-features.h
4105 (__ASSUME_GETCWD_SYSCALL): Don't define.
4106 (__ASSUME_REALTIME_SIGNALS): Likewise.
4107 (__ASSUME_PREAD_SYSCALL): Likewise.
4108 (__ASSUME_PWRITE_SYSCALL): Likewise.
4109 (__ASSUME_POLL_SYSCALL): Likewise.
4110 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4111 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4112 non-SPARC.
4113 (__ASSUME_SIOCGIFNAME): Don't define.
4114 (__ASSUME_MSG_NOSIGNAL): Likewise.
4115 (__ASSUME_SENDFILE): Define unconditionally.
4116 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4117 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4118 conditional code.
4119 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4120 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4121 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4122 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4123 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4124 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4125 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4127 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4130 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4133 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4136 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4139 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4142 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4145 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4150 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4151 Remove conditional code.
4152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4153 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4154 Remove conditional code.
4155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4156 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4157 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4158 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4159 Remove conditional code.
4160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4161 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4162 Remove conditional code.
4163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4164 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4165 Remove conditional code.
4166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4167 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4168 Remove conditional code.
4169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4170 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4171 Remove conditional code.
4172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4173 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4174 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4176 * sysdeps/unix/sysv/linux/sigaction.c
4177 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4178 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4179 * sysdeps/unix/sysv/linux/sigpending.c
4180 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4181 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4182 * sysdeps/unix/sysv/linux/sigprocmask.c
4183 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4184 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4185 * sysdeps/unix/sysv/linux/sigsuspend.c
4186 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4187 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4188 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4189 (__libc_missing_rt_sigs): Remove.
4190 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4191 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4192 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4193 Remove conditional code.
4194 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4195 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4196 return 1.
4197 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4198 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4199 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4200 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4201
1bfb7291
AJ
42022012-05-14 Andreas Jaeger <aj@suse.de>
4203
caae5a81
AJ
4204 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4205 it's not used in glibc.
4206 (__coshm1): Likewise.
4207 (__acosh1p): Likewise.
4208 (__sgn): Likewise.
4209
1bfb7291
AJ
4210 * manual/string.texi (Copying and Concatenation): Add missing
4211 variable in concat example.
4212 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4213
c044d724
L
42142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4215
144c5467 4216 [BZ #14103]
c044d724
L
4217 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4218 __builtin_clzl with __builtin_clzll.
4219
2523c62b
L
42202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4221
4222 [BZ #14104]
4223 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4224 libc_freeres_ptr.
4225
d7bb4c42
LD
42262012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4227
4228 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4229 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4230 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4231 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4232
9dc4e1fb
MF
42332012-05-14 Mike Frysinger <vapier@gentoo.org>
4234
4235 * NEWS: Update ia64 info.
4236
c7df0112
AS
42372012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4238
4239 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4240 used as bcopy.
4241
dc70356c
TS
42422012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4243
4244 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4245 * sysdeps/unix/syscalls.list (dup3): Likewise.
4246 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4247 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4248
9fb1a21f
L
42492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4250
4251 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4252 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4253
4822a2a5
L
42542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4255
4256 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4257 thread pointer.
4258 (TLS_IE): Use mov/add instead of movq/addq to load thread
4259 pointer.
4260 (TLS_GD_PREFIX): New.
4261 (TLS_GD): Use it.
4262
842b81d6
DM
42632012-05-11 David S. Miller <davem@davemloft.net>
4264
4265 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4266 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4267 (_FPU_SETCW): Likewise.
4268
1cf463cd
L
42692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4270
4271 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4272 is 32-byte aligned.
4273
60cc4a18
AS
42742012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4275
4276 [BZ #11837]
4277 * iconvdata/gb18030.c: Update tables.
4278 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4279 characters specially.
4280 (BODY for TO_LOOP): Add encoding of missing ranges.
4281
febb44a4
TS
42822012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4283
4284 [BZ #13673]
4285 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4286 * sysdeps/mach/hurd/dup3.c: Likewise.
4287 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4288 * sysdeps/powerpc/memmove.c:: Likewise.
4289
0a10fb9e
L
42902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4291
4292 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4293 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4294
df8a552f
L
42952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4296
4297 * elf/elf.h (R_X86_64_RELATIVE64): New.
4298 (R_X86_64_NUM): Updated.
4299 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4300 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4301 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4302 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4303 tst-quad1pie tst-quad2pie
4304 (modules-names): Add tst-quadmod1 tst-quadmod2.
4305 ($(objpfx)tst-quad1): New dependency.
4306 ($(objpfx)tst-quad2): Likewise.
4307 ($(objpfx)tst-quad1pie): Likewise.
4308 ($(objpfx)tst-quad2pie): Likewise.
4309 * sysdeps/x86_64/tst-quad1.c: New file.
4310 * sysdeps/x86_64/tst-quad1pie.c: New file.
4311 * sysdeps/x86_64/tst-quad2.c: Likewise.
4312 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4313 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4314 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4315 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4316 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4317
f34d6f84
ST
43182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4319
f42d41d1
ST
4320 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4321 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4322 * streams/stropts.h (t_scalar_t): Define type.
4323
3c3571fc
ST
4324 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4325 (_PATH_PRESERVE): Set to "/var/lib".
4326 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4327
61f06bd3
ST
4328 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4329 instead of int.
4330
918d4d71
ST
4331 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4332 if __dir_mkfile succeeded.
4333
f34d6f84
ST
4334 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4335 checking for _hurd_dtablesize. Unlock it right after having
4336 finished _hurd_dtable allocation.
4337
10589b4a
TS
43382012-05-10 Thomas Schwinge <thomas@schwinge.name>
4339
674cdbc7
TS
4340 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4341 * sysdeps/mach/hurd/configure: Regenerated.
4342 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4343 special-casing to...
4344 * sysdeps/gnu/configure.in: ... this new file.
4345 * sysdeps/unix/sysv/linux/configure: Regenerated.
4346 * sysdeps/gnu/configure: New generated file.
4347
8e41b99f
TS
4348 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4349 for Linux: use nsec instead of usec, as well as:
4350 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4351 members of type struct timespec.
4352 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4353 New macros.
4354 (struct stat64): Likewise.
4355 (_STATBUF_ST_NSEC): New macro.
4356 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4357
10589b4a
TS
4358 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4359 __strtoul_internal rather than strtoul.
4360
63643c85
PT
43612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4362
4363 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4364 and reject them.
4365
3faebe6a
ST
43662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4367
4368 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4369 which preserves existing values.
4370 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4371
c6474b07
PT
43722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4373
4374 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4375 TIMEOUT values. Return EINVAL for NFDS values either negative or
4376 greater than FD_SETSIZE.
4377
1043890b
ST
43782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4379
4380 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4381 allocated, call __vm_protect to finish enabling the existing space, and
4382 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4383 allocate the remainder.
4384
37ed8b9b
PT
43852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4386
4387 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4388 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4389
db653660
ST
43902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4391
37ed8b9b
PT
4392 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4393 sysdeps/mach/hurd/readlink.c.
b29d4053 4394
db653660
ST
4395 * posix/tst-sysconf.c (posix_options): Only use
4396 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4397 _POSIX_SYNCHRONIZED_IO when they are defined
4398 * sysdeps/mach/hurd/bits/posix_opt.h:
4399 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4400 (_XOPEN_REALTIME): Undefine macro.
4401 (_XOPEN_REALTIME_THREADS): Undefine macro.
4402 (_XOPEN_SHM): Undefine macro.
4403 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4404 macro to -1.
4405 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4406 macro to -1.
4407 (_POSIX_ASYNC_IO): Undefine macro.
4408 (_POSIX_PRIORITIZED_IO): Undefine macro.
4409 (_POSIX_SPIN_LOCKS): Define macro to -1.
4410
ee16e894
ST
4411 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4412 SA_NODEFER, SA_RESETHAND.
4413 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4414 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4415 F_DUPFD_CLOEXEC.
4416
6103ae3b
TS
44172012-05-10 Thomas Schwinge <thomas@schwinge.name>
4418
4419 * elf/Makefile (pldd-modules): Define unconditionally.
4420
80b4e5f3
TS
44212012-05-10 Thomas Schwinge <thomas@schwinge.name>
4422
4423 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4424
edadcbd6
ST
44252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4426
4427 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4428 Return ENOENT when name is empty.
4429 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4430
80694780
TS
44312012-05-10 Thomas Schwinge <thomas@schwinge.name>
4432
1792c087
TS
4433 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4434
80694780
TS
4435 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4436
6b645f0d
ST
44372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4438
80694780
TS
4439 Fix mlock in all cases except non-readable pages.
4440 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4441 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4442
6b645f0d
ST
4443 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4444 (__mkdir): When path is `/', just fail with EEXIST.
4445 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4446
e468f8a3
TS
44472012-05-10 Thomas Schwinge <thomas@schwinge.name>
4448
4449 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4450 <sys/uio.h> (for writev).
4451 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4452 and <sys/param.h> (for MIN).
4453
a4186cff
PT
44542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4455
4456 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4457 REQUESTED_TIME. Properly set the remaining time and return EINTR
4458 if interrupted.
4459
510bbf14
TS
44602012-05-10 Thomas Schwinge <thomas@schwinge.name>
4461
4462 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4463 Depend on against $(link-rpcuserlibs).
4464
5d5722e8
ST
44652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4466
a4186cff
PT
4467 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4468 (__libc_stack_end): Do not use attribute_relro.
4469 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4470 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4471 to libthread-provided value.
a4186cff
PT
4472 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4473 attribute_relro.
5d5722e8 4474
37233df9
TS
44752012-05-10 Thomas Schwinge <thomas@schwinge.name>
4476
be971a2b
TS
4477 [BZ #3748]
4478 * bits/libc-lock.h (__libc_once_get): New macro.
4479 * sysdeps/mach/bits/libc-lock.h: Likewise.
4480 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4481 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4482 instead of using implementation details.
4483
37233df9
TS
4484 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4485 * libio/freopen.c: Likewise.
4486 * libio/freopen64.c: Likewise.
4487 * misc/syslog.c: Likewise.
4488 * nscd/connections.c: Likewise.
4489 * nscd/netgroupcache.c: Likewise.
4490 * sysdeps/posix/getcwd.c: Likewise.
4491
38de94a5
RM
44922012-05-10 Roland McGrath <roland@hack.frob.com>
4493
4494 * math/w_ilogbf.c: Add #include <limits.h>.
4495
67530489
ST
44962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4497
a4186cff 4498 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4499 path instead of returning without unlocking.
4500
67530489
ST
4501 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4502 immediate-write ioctls.
4503 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4504
5aa3a74a
TS
45052012-05-10 Thomas Schwinge <thomas@schwinge.name>
4506
18bad2ae
TS
4507 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4508 __builtin_frame_address instead of making assumptions about the
4509 location of the return address relative to DATA. Force early load of
4510 the return address.
4511 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4512 __builtin_frame_address.
4513
5aa3a74a
TS
4514 dup3 for GNU Hurd.
4515 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4516 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4517 implement dup3 and do some further code clean-ups.
4518 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4519 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4520
ecd0de9a
ST
45212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4522
cd9fa985
ST
4523 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4524
a4186cff
PT
4525 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4526 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4527 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4528 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4529 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4530 d->port.lock.
802ca5a5 4531
a4186cff
PT
4532 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4533 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4534 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4535
bcf55240
TS
45362012-05-10 Thomas Schwinge <thomas@schwinge.name>
4537
6960eb42
TS
4538 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4539 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4540 definitions.
4541
eb43375f
TS
4542 accept4 for GNU Hurd.
4543 * include/sys/socket.h (__libc_accept4): New prototype.
4544 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4545 to implement __libc_accept4.
4546 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4547 __libc_accept4.
4548 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4549
bcf55240
TS
4550 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4551 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4552 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4553 signal-defines.sym.
4554
6178c55b
ST
45552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4556
a4186cff 4557 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4558
6f080c2f
TS
45592012-05-10 Thomas Schwinge <thomas@schwinge.name>
4560
4561 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4562 assertion on O_CLOEXEC flag.
4563 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4564 * hurd/intern-fd.c: Likewise.
4565 * hurd/port2fd.c: Likewise.
4566
bcfe3a54
ST
45672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4568
4569 [BZ #3906]
4570 * bits/in.h (IPV6_PKTINFO): Define new macro.
4571 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4572
89c9aa49
AZ
45732012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4574
4575 [BZ #13954]
4576 [BZ #13955]
4577 [BZ #13956]
4578 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4580 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4581 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4582 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4583 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4584 * math/libm-test.inc (logb_test) : Additional logb tests.
4585
021db4be
AJ
45862012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4587 Andreas Jaeger <aj@suse.de>
4588
4589 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4590 * configure: Regenerated.
4591 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4592 * config.make.in (link-obsolete-rpc): New substituted variable.
4593 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4594 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4595 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4596 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4597 so that libc.a contains the symbols.
4598 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4599 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4600 * sunrpc/auth_none.c: Likewise.
4601 * sunrpc/auth_unix.c: Likewise.
4602 * sunrpc/authdes_prot.c: Likewise.
4603 * sunrpc/authuxprot.c: Likewise.
4604 * sunrpc/clnt_gen.c: Likewise.
4605 * sunrpc/clnt_perr.c: Likewise.
4606 * sunrpc/clnt_raw.c: Likewise.
4607 * sunrpc/clnt_simp.c: Likewise.
4608 * sunrpc/clnt_tcp.c: Likewise.
4609 * sunrpc/clnt_udp.c: Likewise.
4610 * sunrpc/clnt_unix.c: Likewise.
4611 * sunrpc/des_crypt.c: Likewise.
4612 * sunrpc/des_soft.c: Likewise.
4613 * sunrpc/get_myaddr.c: Likewise.
4614 * sunrpc/key_call.c: Likewise.
4615 * sunrpc/key_prot.c: Likewise.
4616 * sunrpc/netname.c: Likewise.
4617 * sunrpc/pm_getmaps.c: Likewise.
4618 * sunrpc/pm_getport.c: Likewise.
4619 * sunrpc/pmap_clnt.c: Likewise.
4620 * sunrpc/pmap_prot.c: Likewise.
4621 * sunrpc/pmap_prot2.c: Likewise.
4622 * sunrpc/pmap_rmt.c: Likewise.
4623 * sunrpc/publickey.c: Likewise.
4624 * sunrpc/rpc_cmsg.c: Likewise.
4625 * sunrpc/rpc_common.c: Likewise.
4626 * sunrpc/rpc_dtable.c: Likewise.
4627 * sunrpc/rpc_prot.c: Likewise.
4628 * sunrpc/rpc_thread.c: Likewise.
4629 * sunrpc/rtime.c: Likewise.
4630 * sunrpc/svc.c: Likewise.
4631 * sunrpc/svc_auth.c: Likewise.
4632 * sunrpc/svc_raw.c: Likewise.
4633 * sunrpc/svc_run.c: Likewise.
4634 * sunrpc/svc_tcp.c: Likewise.
4635 * sunrpc/svc_udp.c: Likewise.
4636 * sunrpc/svc_unix.c: Likewise.
4637 * sunrpc/svcauth_des.c: Likewise.
4638 * sunrpc/xcrypt.c: Likewise.
4639 * sunrpc/xdr.c: Likewise.
4640 * sunrpc/xdr_array.c: Likewise.
4641 * sunrpc/xdr_float.c: Likewise.
4642 * sunrpc/xdr_intXX_t.c: Likewise.
4643 * sunrpc/xdr_mem.c: Likewise.
4644 * sunrpc/xdr_rec.c: Likewise.
4645 * sunrpc/xdr_ref.c: Likewise.
4646 * sunrpc/xdr_sizeof.c: Likewise.
4647 * sunrpc/xdr_stdio.c: Likewise.
4648
b5c086a2
RM
46492012-05-10 Roland McGrath <roland@hack.frob.com>
4650
4651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4652 change. Update copyright years.
4653
6d74dd09
JM
46542012-05-10 Joseph Myers <joseph@codesourcery.com>
4655
4656 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4657
28e72501
MK
46582012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4659 Joseph Myers <joseph@codesourcery.com>
4660 Paul Pluzhnikov <ppluzhnikov@google.com>
4661
4662 [BZ #14012]
4663 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4664 requiring rpcgen.
4665 [cross-compiling] (extra-libs): Likewise.
4666 [cross-compiling] (extra-libs-others): Likewise.
4667 [cross-compiling] (librpcsvc-routines): Likewise.
4668 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4669 [cross-compiling] (omit-deps): Likewise.
4670 (sunrpc-CPPFLAGS): New variable.
4671 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4672 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4673 (cross-rpcgen-objs): New variable.
4674 (extra-objs): Append $(cross-rpcgen-objs).
4675 ($(cross-rpcgen-objs)): New rule.
4676 ($(objpfx)cross-rpcgen): Likewise.
4677 (rpcgen-cmd): Define to use $(built-program-file). Expand
4678 comment.
4679 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4680 ($(objpfx)x%.stmp): Likewise.
4681 * sunrpc/proto.h [IS_IN_build] (_): Define.
4682 [IS_IN_build] (_libc_intl_domainname): Likewise.
4683
c8c59454
L
46842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4685
4686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4687 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4688 and R_X86_64_TPOFF64.
4689
6f27cd16
JM
46902012-05-10 Joseph Myers <joseph@codesourcery.com>
4691
4692 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4693 sysdeps/unix/sysv/syscalls.list.
4694 (stime): Likewise.
4695 (utime): Likewise.
4696 * sysdeps/unix/sysv/syscalls.list: Remove file.
4697
02467e1c
PE
46982012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4699
4700 [BZ #3440]
4701 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4702 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4703 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4704 (__LC_IDENTIFICATION): Make these macros useful in #if
4705 expressions, as required by C99.
4706
da392631
AS
47072012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4708
4709 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4710 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4711 after this.
4712
8115f29b
L
47132012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4714
4715 * stdlib/longlong.h: Updated from GCC.
4716
bdd74070
AJ
47172012-05-09 Andreas Jaeger <aj@suse.de>
4718
edfe0dbe
AJ
4719 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4720 default is first entry.
4721 (run_mode): Set type.
4722 (main): Remove informal message about syslog.
4723 (options): Fix typo.
4724
bcfe3a54
ST
4725 [BZ #14053]
4726 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4727 to asm.
bcfe3a54
ST
4728 (lrint): Likewise.
4729 (llrintf): Likewise.
4730 (llrint): Likewise.
4731 (rint): Likewise.
4732 (rintf): Likewise.
4733 (nearbyint): Likewise.
4734 (nearbyintf): Likewise.
bdd74070 4735
91d8d69e
AJ
47362012-05-09 Andreas Jaeger <aj@suse.de>
4737 Pedro Alves <palves@redhat.com>
4738
4739 * nscd/nscd.c (run_mode): Use enum.
4740 (main): Cleanup coding style issue.
4741
bb90b80b
AJ
47422012-05-09 Alexandre Oliva <aoliva@redhat.com>
4743 Andreas Jaeger <aj@suse.de>
4744
bcfe3a54
ST
4745 * nscd/nscd.c (go_background): Replaced with...
4746 (run_mode): ... this.
bb90b80b 4747 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4748 (options): Add -F --foreground.
4749 (main): Implement it.
4750 (parse_opt): Parse it.
bb90b80b 4751
1a4b75a1
AJ
47522012-05-09 Andreas Jaeger <aj@suse.de>
4753
4754 [BZ #14083]
4755 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4756 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4757 -Wconversion warning.
4758 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4759 Likewise.
4760
b1cc2472
JM
47612012-05-09 Joseph Myers <joseph@codesourcery.com>
4762
4763 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4764 == 0.
4765 (LC_ALL): Use macro-int-constant.
4766 (LC_COLLATE): Likewise.
4767 (LC_CTYPE): Likewise.
4768 (LC_MESSAGES): Likewise.
4769 (LC_MONETARY): Likewise.
4770 (LC_NUMERIC): Likewise.
4771 (LC_TIME): Likewise.
4772 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4773 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4775 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4776 Specify type.
4777 [C99-based standards] (float_t): Expect type.
4778 [C99-based standards] (double_t): Expect type.
4779 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4780 type.
4781 [C99-based standards] (HUGE_VALL): Likewise.
4782 [C99-based standards] (INFINITY): Likewise.
4783 [C99-based standards] (NAN): Likewise.
4784 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4785 [C99-based standards] (FP_NAN): Likewise.
4786 [C99-based standards] (FP_NORMAL): Likewise.
4787 [C99-based standards] (FP_SUBNORMAL): Likewise.
4788 [C99-based standards] (FP_ZERO): Likewise.
4789 [C99-based standards] (FP_FAST_FMA): Use
4790 optional-macro-int-constant. Specify type. Require == 1.
4791 [C99-based standards] (FP_FAST_FMAF): Likewise.
4792 [C99-based standards] (FP_FAST_FMAL): Likewise.
4793 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4794 [C99-based standards] (FP_ILOGBNAN): Likewise.
4795 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4796 Specify type.
4797 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4798 [C99-based standards] (math_errhandling): Specify type.
4799 [ISO99 || ISO11] (signgam): Do not allow.
4800 [non-C99-based standards] (copysignf): Do not allow.
4801 [non-C99-based standards] (exp2f): Likewise.
4802 [non-C99-based standards] (log2f): Likewise.
4803 [non-C99-based standards] (modff): Allow.
4804 [non-C99-based standards] (erff): Do not allow.
4805 [non-C99-based standards] (erfcf): Likewise.
4806 [non-C99-based standards] (gammaf): Likewise.
4807 [non-C99-based standards] (hypotf): Likewise.
4808 [non-C99-based standards] (j0f): Likewise.
4809 [non-C99-based standards] (j1f): Likewise.
4810 [non-C99-based standards] (jnf): Likewise.
4811 [non-C99-based standards] (lgammaf): Likewise.
4812 [non-C99-based standards] (tgammaf): Likewise.
4813 [non-C99-based standards] (y0f): Likewise.
4814 [non-C99-based standards] (y1f): Likewise.
4815 [non-C99-based standards] (ynf): Likewise.
4816 [non-C99-based standards] (isnanf): Likewise.
4817 [non-C99-based standards] (acoshf): Likewise.
4818 [non-C99-based standards] (asinhf): Likewise.
4819 [non-C99-based standards] (atanhf): Likewise.
4820 [non-C99-based standards] (cbrtf): Likewise.
4821 [non-C99-based standards] (expm1f): Likewise.
4822 [non-C99-based standards] (ilogbf): Likewise.
4823 [non-C99-based standards] (log1pf): Likewise.
4824 [non-C99-based standards] (logbf): Likewise.
4825 [non-C99-based standards] (nextafterf): Likewise.
4826 [non-C99-based standards] (remainderf): Likewise.
4827 [non-C99-based standards] (rintf): Likewise.
4828 [non-C99-based standards] (scalbf): Likewise.
4829 [non-C99-based standards] (copysignl): Likewise.
4830 [non-C99-based standards] (exp2l): Likewise.
4831 [non-C99-based standards] (log2l): Likewise.
4832 [non-C99-based standards] (modfl): Allow.
4833 [non-C99-based standards] (erfl): Do not allow.
4834 [non-C99-based standards] (erfcl): Likewise.
4835 [non-C99-based standards] (gammal): Likewise.
4836 [non-C99-based standards] (hypotl): Likewise.
4837 [non-C99-based standards] (j0l): Likewise.
4838 [non-C99-based standards] (j1l): Likewise.
4839 [non-C99-based standards] (jnl): Likewise.
4840 [non-C99-based standards] (lgammal): Likewise.
4841 [non-C99-based standards] (tgammal): Likewise.
4842 [non-C99-based standards] (y0l): Likewise.
4843 [non-C99-based standards] (y1l): Likewise.
4844 [non-C99-based standards] (ynl): Likewise.
4845 [non-C99-based standards] (isnanl): Likewise.
4846 [non-C99-based standards] (acoshl): Likewise.
4847 [non-C99-based standards] (asinhl): Likewise.
4848 [non-C99-based standards] (atanhl): Likewise.
4849 [non-C99-based standards] (cbrtl): Likewise.
4850 [non-C99-based standards] (expm1l): Likewise.
4851 [non-C99-based standards] (ilogbl): Likewise.
4852 [non-C99-based standards] (log1pl): Likewise.
4853 [non-C99-based standards] (logbl): Likewise.
4854 [non-C99-based standards] (nextafterl): Likewise.
4855 [non-C99-based standards] (remainderl): Likewise.
4856 [non-C99-based standards] (rintl): Likewise.
4857 [non-C99-based standards] (scalbl): Likewise.
4858 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4859 [non-C99-based standards] (FP_*): Do not allow.
4860 [C99-based standards] (FP_*): Change to
4861 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4862 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4863 allow.
4864 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4865 (SIG_ERR): Likewise.
4866 [X/Open-based standards] (SIG_HOLD): Likewise.
4867 (SIG_IGN): Likewise.
4868 (SIGABRT): Use macro-int-constant. Specify type. Require
4869 positive value.
4870 (SIGFPE): Likewise.
4871 (SIGILL): Likewise.
4872 (SIGINT): Likewise.
4873 (SIGSEGV): Likewise.
4874 (SIGTER): Likewise.
4875 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4876 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4877 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4878 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4879 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4880 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4881 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4882 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4883 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4884 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4885 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4886 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4887 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4888 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4889 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4890 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4891 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4892 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4893 [X/Open-based standards] (SIGTRAP): Likewise.
4894 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4895 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4896 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4897 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4898 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4899 allow.
4900
b9f1922d
IW
49012012-05-08 Ian Wienand <ianw@vmware.com>
4902
4903 [BZ #14080]
4904 * time/tzset.c (__tzset_parse_tz): Update default rules for
4905 daylight time changes in the Energy Policy Act of 2005.
4906
1db86e88
AJ
49072012-05-09 Andreas Jaeger <aj@suse.de>
4908
4909 [BZ #13983]
4910 * elf/ldconfig.c (parse_conf): Change string to make clear that
4911 ldconfig only issued a warning if ld.so.conf does not exist.
4912
dee4a4e3
DM
49132012-05-08 David S. Miller <davem@davemloft.net>
4914
ee0db190
DM
4915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4916 movxtod instead of popping the value on the stack.
4917
dee4a4e3
DM
4918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4919
6a43ec98
CD
49202012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4921
4922 * config.h.in: Add HAVE_ARM_PCS_VFP.
4923
05c2c961
RMG
49242012-05-08 Roland Mc Grath <roland@hack.frob.com>
4925
bcfe3a54
ST
4926 [BZ #13979]
4927 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4928 checking but the checks are disabled for any reason.
05c2c961 4929
4b30f61a
L
49302012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4931
4932 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4933 and ELF64_R_TYPE with ELFW(R_TYPE).
4934
eee2bc67
JM
49352012-05-08 Joseph Myers <joseph@codesourcery.com>
4936
7ea5391a
JM
4937 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4938 (ulimit): Likewise.
4939
eee2bc67
JM
4940 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4941 (settimeofday): Likewise.
4942
abb66a67
MF
49432012-05-08 Mike Frysinger <vapier@gentoo.org>
4944
4945 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4946 a struct th_u2 inside the union, and move tu_block/tu_code into
4947 a new th_u3 union of tu_block/tu_code inside of that. Move
4948 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4949 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4950 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4951 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4952 (th_stuff): Change to th_u1.tu_stuff.
4953 (th_data): Define.
4954 (th_msg): Change to th_u1.th_u2.tu_data.
4955
7f18b530
DM
49562012-05-07 David S. Miller <davem@davemloft.net>
4957
05760585
DM
4958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4959
7f18b530
DM
4960 [BZ #14074]
4961 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4962 (SETUP_PIC_REG): Use it.
4963 (SETUP_PIC_REG_LEAF): Use it.
4964
495fd99f
JM
49652012-05-07 Joseph Myers <joseph@codesourcery.com>
4966
4967 [BZ #13885]
4968 [BZ #13923]
4969 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4970 USE_AS_EXPM1L.
4971 (EXPL_FINITE): Likewise.
4972 (FLDLOG): Likewise.
4973 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4974 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4975 e_expl.S.
4976 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4977 USE_AS_EXPM1L.
4978 (EXPL_FINITE): Likewise.
4979 (FLDLOG): Likewise.
4980 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4981 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4982 e_expl.S.
4983 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4984 test of -max_value argument for long double.
4985 * sysdeps/i386/fpu/libm-test-ulps: Update.
4986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4987
6693d694
DM
49882012-05-06 David S. Miller <davem@davemloft.net>
4989
4990 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4991 quad soft-float symbols whose references which are compiler
4992 generated.
4993 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4994
6c23e11c
JM
49952012-05-06 Joseph Myers <joseph@codesourcery.com>
4996
d8b82cad
JM
4997 [BZ #13884]
4998 [BZ #13914]
4999 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5000 USE_AS_EXP10L.
5001 (EXPL_FINITE): Likewise.
5002 (FLDLOG): Likewise.
5003 (c0): Likewise.
5004 (c1): Likewise.
5005 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5006 Adjust comments for base varying.
5007 (__expl_finite): Change alias to EXPL_FINITE.
5008 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5009 e_expl.S.
5010 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5011 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5012 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5013 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5014 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5015 USE_AS_EXP10L.
5016 (EXPL_FINITE): Likewise.
5017 (FLDLOG): Likewise.
5018 (c0): Likewise.
5019 (c1): Likewise.
5020 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5021 Adjust comments for base varying.
5022 (__expl_finite): Change alias to EXPL_FINITE.
5023 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5024 tests for bugs.
5025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5026
6c23e11c
JM
5027 [BZ #14064]
5028 * math/libm-test.inc (check_float_internal): Correct ulp
5029 calculation for subnormal expected results.
5030
29ba805c
AJ
50312012-05-06 Andreas Jaeger <aj@suse.de>
5032
5033 * Makeconfig (+math-flags): New, set to -frounding-math.
5034 (+cflags): Add +math-flags so that all of glibc gets compiled with
5035 it.
5036
5037 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5038
7b17aeda
JM
50392012-05-05 Joseph Myers <joseph@codesourcery.com>
5040
5779f134
JM
5041 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5042 Disable one test.
5043
41498f4d
JM
5044 [BZ #13787]
5045 [BZ #13922]
5046 [BZ #14036]
5047 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5048 (__ieee754_expl): Allow for and saturate large arguments.
5049 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5050 (u_threshold): Likewise.
5051 (__exp): Call __ieee754_exp before checking for overflow and
5052 underflow.
5053 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5054 (u_threshold): Likewise.
5055 (__expf): Call __ieee754_expf before checking for overflow and
5056 underflow.
5057 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5058 (u_threshold): Likewise.
5059 (__expl): Call __ieee754_expl before checking for overflow and
5060 underflow.
5061 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5062 (__ieee754_expl): Allow for and saturate large arguments.
5063 * math/libm-test.inc (exp_test): Add another test. Do not allow
5064 missing overflow exception on overflow.
5065 (expm1_test): Do not allow missing overflow exception on overflow.
5066
6698b8bf
JM
5067 * sysdeps/i386/fpu/e_expl.c: Move to ...
5068 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5069 rather than using inline asm.
5070 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5071 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5072 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5073
7b17aeda
JM
5074 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5075 (nice): Likewise.
5076 (poll): Likewise.
5077 (signal): Likewise.
5078 (time): Likewise.
5079 (times): Likewise.
5080
f7c85819
JM
50812012-05-04 Joseph Myers <joseph@codesourcery.com>
5082
5083 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5084 sysdeps/unix/common/syscalls.list.
5085 (fchmod): Likewise.
5086 (fchown): Likewise.
5087 (ftruncate): Likewise.
5088 (getrusage): Likewise.
5089 (gettimeofday): Likewise.
5090 (setpgid): Likewise.
5091 (setregid): Likewise.
5092 (setreuid): Likewise.
5093 (sigaction): Likewise.
5094 (truncate): Likewise.
5095 (vhangup): Likewise.
5096 * sysdeps/unix/common/syscalls.list: Remove file.
5097 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5098 * sysdeps/unix/sysv/linux/Implies: Likewise.
5099
336270d0
L
51002012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5101
5102 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5104 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5105 Moved to ...
5106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5107 Here.
5108 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5109 to ...
5110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5111 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5112 to ...
5113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5114 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5115 to ...
5116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5117 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5118 to ...
5119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5120 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5121 to ...
5122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5123 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5124 to ...
5125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5126 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5127 to ...
5128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5129 Here.
5130 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5131 to ...
5132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5133 Here.
5134 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5135 to ...
5136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5137 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5138 Moved to ...
5139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5140 Here.
5141 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5142 to ...
5143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5144
d128e450
JM
51452012-05-04 Joseph Myers <joseph@codesourcery.com>
5146
fa8ee516
JM
5147 * sysdeps/unix/common/bits/dirent.h: Remove file.
5148 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5149
d128e450
JM
5150 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5151 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5152 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5153 * sysdeps/unix/bsd/isatty.c: Likewise.
5154 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5155 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5156 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5157
ff8faaf0 51582012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5159
62881be4 5160 [BZ #13563]
31dc8730
AZ
5161 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5162 long double comparison inaccuracies.
5163 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5165
6fef930c
AS
51662012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5167
5168 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5169 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5170
8f203e6c
JM
51712012-05-04 Joseph Myers <joseph@codesourcery.com>
5172
5173 [BZ #14049]
5174 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5175 nonzero digits before rounding a hex value.
5176 * stdlib/tst-strtod.c (tests): Add another test.
5177
5197d9c2
AK
51782012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5179
5180 * sysdeps/s390/fpu/libm-test-ulps: Update.
5181
f0c1dedf
AJ
51822012-05-03 Andreas Jaeger <aj@suse.de>
5183
5184 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5185 does not get optimized out.
5186 (malloc_opt_barrier): New.
5187
a65ef2ae 51882012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5189 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5190
2b942cb7 5191 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5192 intermediate file deletion.
2b942cb7 5193 (generated): Add .symlist files.
a65ef2ae 5194
54b71e02
JM
51952012-05-03 Joseph Myers <joseph@codesourcery.com>
5196
5197 [BZ #13775]
5198 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5199 Redirect under this condition.
5200 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5201 [__USE_GNU] (__dprintf_chk): Not under this condition.
5202 [__USE_GNU] (__vdprintf_chk): Likewise.
5203 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5204 under this condition.
5205 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5206 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5207 [__USE_XOPEN2K8] (vdprintf): Likewise.
5208 [__USE_GNU] (__dprintf_chk): Not under this condition.
5209 [__USE_GNU] (__vdprintf_chk): Likewise.
5210 [__USE_GNU] (dprintf): Likewise.
5211 [__USE_GNU] (vdprintf): Likewise.
5212
d3dfcc41
RM
52132012-05-03 Roland McGrath <roland@hack.frob.com>
5214
5215 * elf/Makefile (common-generated): Set this instead of generated for
5216 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5217 $(all-built-dso)-derived lists.
5218
7ac30cc5
AJ
52192012-05-03 Andreas Jaeger <aj@suse.de>
5220
0c51e550
AJ
5221 * sysdeps/i386/fpu/libm-test-ulps: Update.
5222
7ac30cc5
AJ
5223 * FAQ: Removed.
5224 * FAQ.in: Likewise.
5225 * scripts/gen-FAQ.pl: Likewise.
5226 * manual/install.texi (Installation): Point to online location of
5227 FAQ.
5228 * Makefile (files-for-dist): Remove FAQ.
5229 (FAQ): Remove.
5230
d4c2917f
AM
52312012-05-02 Allan McRae <allan@archlinux.org>
5232
5233 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5234 (LDFLAGS-reldepmod5.so): Likewise.
5235 (LDFLAGS-reldep6mod1.so): Likewise.
5236 (LDFLAGS-reldep6mod4.so): Likewise.
5237 (LDFLAGS-reldep8mod3.so): Likewise.
5238 (LDFLAGS-unload4mod1.so): Likewise.
5239 (LDFLAGS-unload4mod2.so): Likewise.
5240 (LDFLAGS-tst-initorder): Likewise.
5241 (LDFLAGS-tst-initordera2.so): Likewise.
5242 (LDFLAGS-tst-initordera3.so): Likewise.
5243 (LDFLAGS-tst-initordera4.so): Likewise.
5244 (LDFLAGS-tst-initorderb2.so): Likewise.
5245 (LDFLAGS-noload): Likewise.
5246 (LDFLAGS-next): Likewise.
5247 (LDFLAGS-order2mod1.so): Likewise.
5248 (LDFLAGS-order2mod2.so): Likewise.
5249 (LDFLAGS-tst-initorder2): Likewise.
5250 (LDFLAGS-tst-initorder2a.so): Likewise.
5251 (LDFLAGS-tst-initorder2b.so): Likewise.
5252 (LDFLAGS-tst-initorder2c.so): Likewise.
5253 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5254
d77f993f
DM
52552012-05-02 David S. Miller <davem@davemloft.net>
5256
5257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5258
171a70b4
PP
52592012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5260
5261 [BZ #14055]
5262 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5263
0be196ad
AJ
52642012-05-02 Andreas Jaeger <aj@suse.de>
5265
5266 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5267 since we manipulate rounding mode.
5268 (CPPFLAGS-test-idouble.c): Likewise.
5269 (CPPFLAGS-test-ifloat.c): Likewise.
5270 (CFLAGS-test-ldouble.c): Likewise.
5271 (CFLAGS-test-double.c): Likewise.
5272 (CFLAGS-test-float.c): Likewise.
5273 (CFLAGS-test-misc.c): Likewise.
5274 (CFLAGS-test-test-fenv.c): Likewise.
5275
4f9d04aa
AZ
52762012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5277
2b942cb7
RM
5278 [BZ #2550]
5279 [BZ #2570]
5280 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5281 comparisons to determine direction to adjust input.
4f9d04aa 5282
82a79e7d
RM
52832012-05-01 Roland McGrath <roland@hack.frob.com>
5284
f5a01ca9
RM
5285 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5286 output to the target.
5287
90fe4186
RM
5288 * scripts/localplt.awk: New file.
5289 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5290 (check-localplt-CFLAGS): Variable removed.
5291 ($(all-built-dso:=.jmprel)): New static pattern rule.
5292 (generated): Add those targets.
5293 (localplt-built-dso): New variable.
5294 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5295
5296 * elf/check-localplt.c: File removed.
5297
82397ed6
RM
5298 * scripts/check-execstack.awk: New file.
5299 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5300 (check-execstack-CFLAGS): Variable removed.
5301 ($(objpfx)check-execstack.h): Target removed.
5302 ($(objpfx)execstack-default): New target.
5303 (generated): Add that instead of check-execstack.h.
5304 ($(all-built-dso:=.phdr)): New static pattern rule.
5305 (generated): Add those targets.
5306 * elf/check-execstack.c: File removed.
5307
82a79e7d
RM
5308 * scripts/check-textrel.awk: New file.
5309 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5310 (check-textrel-CFLAGS): Variable removed.
5311 (all-built-dso): Use := to define.o
5312 ($(all-built-dso:=.dyn)): New static pattern rule.
5313 (generated): Add those targets.
5314 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5315 * config.make.in (READELF): New substituted variable.
5316 * elf/check-textrel.c: File removed.
5317
62fde54f 53182012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5319
615605c9
JM
5320 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5321 allow.
5322 * conform/data/ctype.h-data [C99-based standards] (isblank):
5323 Expect function.
5324 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5325 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5326 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5327 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5328 Specify type. Require positive value.
5329 (EILSEQ): Likewise.
5330 (ERANGE): Likewise.
5331 [ISO || POSIX] (EILSEQ): Do not expect.
5332 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5333 Specify type. Require positive value.
5334 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5335 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5336 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5337 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5338 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5339 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5340 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5341 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5342 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5343 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5344 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5345 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5346 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5347 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5348 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5349 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5350 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5351 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5352 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5353 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5354 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5355 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5356 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5357 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5358 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5359 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5360 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5361 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5362 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5363 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5364 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5365 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5366 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5367 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5368 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5369 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5370 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5371 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5372 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5373 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5374 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5375 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5376 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5377 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5378 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5379 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5380 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5381 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5382 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5383 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5384 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5385 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5386 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5387 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5388 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5389 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5390 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5391 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5392 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5393 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5394 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5395 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5396 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5397 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5398 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5399 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5400 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5401 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5402 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5403 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5404 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5405 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5406 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5407 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5408 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5409 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5410 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5411 Require >= 2.
5412 (FLT_ROUNDS): Expect as macro, not constant.
5413 (FLT_MANT_DIG): Use macro-int-constant.
5414 (DBL_MANT_DIG): Likewise.
5415 (LDBL_MANT_DIG): Likewise.
5416 (FLT_DIG): Likewise.
5417 (DBL_DIG): Likewise.
5418 (LDBL_DIG): Likewise.
5419 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5420 (DBL_MIN_EXP): Likewise.
5421 (LDBL_MIN_EXP): Likewise.
5422 (FLT_MAX_EXP): Use macro-int-constant.
5423 (DBL_MAX_EXP): Likewise.
5424 (LDBL_MAX_EXP): Likewise.
5425 (FLT_MAX_10_EXP): Likewise.
5426 (DBL_MAX_10_EXP): Likewise.
5427 (LDBL_MAX_10_EXP): Likewise.
5428 (FLT_MAX): Use macro-constant.
5429 (DBL_MAX): Likewise.
5430 (LDBL_MAX): Likewise.
5431 (FLT_EPSILON): Use macro-constant. Give upper bound.
5432 (DBL_EPSILON): Likewise.
5433 (LDBL_EPSILON): Likewise.
5434 (FLT_MIN): Likewise.
5435 (DBL_MIN): Likewise.
5436 (LDBL_MIN): Likewise.
5437 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5438 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5439 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5440 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5441 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5442 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5443 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5444 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5445 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5446 [ISO11] (FLT_TRUE_MIN): Likewise.
5447 [ISO11] (LDBL_TRUE_MIN): Likewise.
5448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5449 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5450 (SCHAR_MIN): Use macro-int-constant. Specify type.
5451 (SCHAR_MAX): Likewise.
5452 (UCHAR_MAX): Likewise.
5453 (CHAR_MIN): Likewise.
5454 (CHAR_MAX): Likewise.
5455 (MB_LEN_MAX): Use macro-int-constant.
5456 (SHRT_MIN): Use macro-int-constant. Specify type.
5457 (SHRT_MAX): Likewise.
5458 (USHRT_MAX): Likewise.
5459 (INT_MAX): Likewise.
5460 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5461 bound negative.
5462 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5463 bound with "U".
5464 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5465 bound with "L".
5466 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5467 bound negative. Suffix upper bound with "L".
5468 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5469 bound with "UL".
5470 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5471 Specify type.
5472 [C99-based standards] (LLONG_MAX): Likewise.
5473 [C99-based standards] (ULLONG_MAX): Likewise.
5474 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5475 == 0.
5476 [ISO11] (max_align_t): Require type.
5477 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5478
c9140a62
JM
5479 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5480 from $CFLAGS, without defining away __attribute__ calls.
5481 (checknamespace): Use $CFLAGS_namespace.
5482
9af0bf29
JM
5483 * conform/conformtest.pl (@keywords): Only include C99 keywords
5484 for standards based on C99 or C11.
5485
343222a2
JM
5486 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5487 Disable tests.
5488 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5489 UNIX98]: Likewise.
5490
661f8cf0
JM
5491 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5492 usability of symbols in #if.
5493
ee74b9cb
JM
5494 * conform/conformtest.pl: If macro or constant types start
5495 "promoted:", expect the symbol to be of the following type
5496 promoted by the integer promotions.
62fde54f 5497
aafc49b3
JM
5498 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5499 in one place. Also handle "macro-constant".
5500
fefdf574
JM
5501 * conform/conformtest.pl: Only accept expected macro values with
5502 "==". Parse all "macro" lines in one place.
5503 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5504
f2d922fe
JM
5505 * conform/conformtest.pl: Handle braced types on "constant" lines
5506 instead of handling "typed-constant".
5507 * conform/data/signal.h-data: Use "constant" instead of
5508 "typed-constant".
5509
d22956c9
JM
5510 * conform/conformtest.pl: Handle "optional-" at start of lines in
5511 one place rather than duplicating several cases. Handle each
5512 format of "macro" line with initial "optional-".
5513
028e2e38
JM
5514 * conform/conformtest.pl: Only accept expected constant or
5515 optional-constant values with "==". Parse all "constant" lines in
5516 one place. Parse all "optional-constant" lines in one place.
5517 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5518 * conform/data/fmtmsg.h-data: Likewise.
5519 * conform/data/netinet/in.h-data: Likewise.
5520 * conform/data/tar.h-data: Likewise.
5521 * conform/data/limits.h-data: Use "==" form on "constant" and
5522 "optional-constant" lines.
5523
1b8f2850
JM
5524 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5525 Use -std=c99 for XOPEN2K.
5526 (@knownproblems): Remove.
5527 (newtoken): Don't check %isknown.
5528
a05a144b
JM
5529 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5530 Do not expect macro.
5531 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5532 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5533 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5534 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5535 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5536 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5537 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5538 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5539 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5540 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5541 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5542 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5543 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5544 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5545 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5546 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5547 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5548 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5549 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5550 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5551 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5552 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5553 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5554 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5555 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5556 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5557 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5558 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5559 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5560 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5561 [XPG3] (acosh): Likewise.
5562 [XPG3] (asinh): Likewise.
5563 [XPG3] (atanh): Likewise.
5564 [XPG3] (cbrt): Likewise.
5565 [XPG3] (expm1): Likewise.
5566 [XPG3] (ilogb): Likewise.
5567 [XPG3] (log1p): Likewise.
5568 [XPG3] (logb): Likewise.
5569 [XPG3] (nextafter): Likewise.
5570 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5571 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5572 [XPG3] (remainder): Likewise.
5573 [XPG3] (rint): Likewise.
5574 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5575 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5576 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5577 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5578 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5579 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5580 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5581 [UNIX98 || XOPEN2K] (scalb): Expect.
5582 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5583 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5584 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5585 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5586 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5587 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5588 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5589 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5590 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5591 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5592 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5593 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5594 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5595 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5596 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5597 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5598 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5599 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5600 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5601 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5602 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5603 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5604 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5605 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5606 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5607 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5608 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5609 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5610 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5611 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5612 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5613 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5614 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5615 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5616 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5617 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5618 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5619 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5620 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5621 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5622 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5623 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5624 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5626 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5627 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5628 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5629 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5630 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5632 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5633 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5634 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5635 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5636 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5637 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5638 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5639 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5640 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5641 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5642 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5643 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5644 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5645 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5646 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5647 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5648 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5649 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5650 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5651 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5652 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5653 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5654 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5655 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5656 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5657 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5658 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5659 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5660 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5661 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5662 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5663 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5664 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5665 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5666 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5667 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5668 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5669 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5670 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5672 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5673 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5682 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5683 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5701 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5702 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5711 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5712 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5719
73c5ebe3
JM
5720 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5721 _XOPEN_SOURCE_EXTENDED for XPG4.
5722
39c33b6c
JM
5723 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5724
62fde54f
JM
5725 * Makeconfig (localtime): Remove variable.
5726 (inst_localtime-file): Likewise.
5727
0741d64c
AS
57282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5729
5730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5731 Update.
5732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5733 Update.
5734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5735 Update.
5736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5737 Update.
5738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5739 Update.
5740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5741 Update.
5742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5743 Update.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5745 Update.
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5747 Update.
5748
7cb029ee
JM
57492012-05-01 Joseph Myers <joseph@codesourcery.com>
5750
5751 [BZ #2550]
5752 [BZ #2570]
5753 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5754 comparisons to determine direction to adjust input.
5755 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5756 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5757 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5758 Likewise.
5759 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5760 Likewise.
5761 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5762 Likewise.
5763 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5764 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5765 Likewise.
5766 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5767 Likewise.
5768 * math/libm-test.inc (nexttoward_test): Add more tests.
5769
412bd966
AS
57702012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5771
5772 [BZ #14040]
5773 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5774 in version GLIBC_2.1, not GLIBC_2.0.
5775 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5776 Likewise.
5777
9568c0c2
JM
57782012-04-30 Joseph Myers <joseph@codesourcery.com>
5779
adfbc8ac
JM
5780 [BZ #13942]
5781 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5782 (1 - x) * (1 + x).
5783 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5784 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5785 * math/libm-test.inc (acos_test): Add more tests.
5786 (asin_test): Likewise.
5787 * sysdeps/i386/fpu/libm-test-ulps: Update.
5788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5789
5ba3cc69
JM
5790 [BZ #14034]
5791 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5792 of square root.
5793 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5794 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5795 * math/libm-test.inc (acos_test_tonearest): New function.
5796 (acos_test_towardzero): Likewise.
5797 (acos_test_downward): Likewise.
5798 (acos_test_upward): Likewise.
5799 (asin_test_tonearest): Likewise.
5800 (asin_test_towardzero): Likewise.
5801 (asin_test_downward): Likewise.
5802 (asin_test_upward): Likewise.
5803 (main): Call the new functions.
5804 * sysdeps/i386/fpu/libm-test-ulps: Update.
5805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5806
9568c0c2
JM
5807 [BZ #13884]
5808 [BZ #13924]
5809 * math/e_exp10.c: Include <float.h>.
5810 (__ieee754_exp10): Handle underflow here rather than multiplying
5811 large negative argument by M_LN10.
5812 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5813 of __ieee754_expf.
5814 * math/e_exp10l.c: Include <float.h>.
5815 (__ieee754_exp10l): Handle underflow here rather than multiplying
5816 large negative argument by M_LN10l.
5817 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5818 spurious overflow exception on underflow.
5819
5ac3ea17
MP
58202012-04-29 Marek Polacek <polacek@redhat.com>
5821
5822 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5823 (__fortify_function): New macro.
5824 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5825 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5826 __extern_always_inline.
5827 * libio/bits/stdio2.h: Likewise.
5828 * libio/bits/stdio.h: Likewise.
5829 * string/string.h: Likewise.
5830 * string/bits/string3.h: Likewise.
5831 * include/stdio.h: Likewise.
5832 * stdlib/bits/stdlib.h: Likewise.
5833 * stdlib/stdlib.h: Likewise.
5834 * rt/bits/mqueue2.h: Likewise.
5835 * rt/mqueue.h: Likewise.
5836 * posix/bits/unistd.h: Likewise.
5837 * posix/unistd.h: Likewise.
5838 * io/bits/poll2.h: Likewise.
5839 * io/bits/fcntl2.h: Likewise.
5840 * io/fcntl.h: Likewise.
5841 * io/sys/poll.h: Likewise.
5842 * misc/bits/syslog.h: Likewise.
5843 * misc/bits/syslog-ldbl.h: Likewise.
5844 * misc/sys/syslog.h: Likewise.
5845 * socket/bits/socket2.h: Likewise.
5846 * socket/sys/socket.h: Likewise.
5847 * debug/tst-chk1.c: Likewise.
5848 * wcsmbs/bits/wchar2.h: Likewise.
5849 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5850 * wcsmbs/wchar.h: Likewise.
5851
ecf0ebfb
AJ
58522012-04-29 Andreas Jaeger <aj@suse.de>
5853
5854 * Makerules (tests): Remove enable-check-abi protection.
5855 (check-abi-warn): Remove.
5856 (check-abi-%): Remove check-abi-warn usage.
5857
5858 * configure.in: Remove check-abi configure option.
5859 * configure: Regenerated.
5860 * config.make.in (enable-check-abi): Remove.
5861
6d5c57fa
AS
58622012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5863
24c5d07e 5864 [BZ #14033]
ded5180a
AS
5865 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5866 double functions to double *_finite functions.
5867
7e0d315d
AS
5868 [BZ #13941]
5869 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5870 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5871 LDBL_MIN_EXP.
5872 * stdio-common/Makefile (tests): Add tst-sprintf3.
5873 * stdio-common/tst-sprintf3.c: New file.
5874
6d5c57fa
AS
5875 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5876 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5877
0749ff8b
JM
58782012-04-28 Joseph Myers <joseph@codesourcery.com>
5879
5880 * conform/conformtest.pl: Remove duplicate typed-constant
5881 handling.
5882
8dbd5d7b
DM
58832012-04-28 David S. Miller <davem@davemloft.net>
5884
5885 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5886 (check-abi-%): Remove AWK script prerequisite and explicit
5887 abilist directory.
5888 (check-abi): Rewrite to just diff the symlist with the abilist.
5889 (config-tls, config-abi-config): Delete, no longer used.
5890 (update-abi-%): Remove AWK script and explicit abilist directory.
5891 (update-abi): Rewrite to simply compare and conditionally copy the
5892 symlist and the sysdep abilist file. Remove update-abi-config
5893 checks.
5894 * abilist/ld.abilist: Remove.
5895 * abilist/libBrokenLocale.abilist: Remove.
5896 * abilist/libanl.abilist: Remove.
5897 * abilist/libcrypt.abilist: Remove.
5898 * abilist/libdl.abilist: Remove.
5899 * abilist/librt.abilist: Remove.
5900 * abilist/libthread_db.abilist: Remove.
5901 * abilist/libutil.abilist: Remove.
5902 * scripts/extract-abilist.awk: Remove.
5903 * scripts/merge-abilist.awk: Remove.
5904 * sysdeps/generic/libcidn.abilist: New file.
5905 * sysdeps/generic/libnss_compat.abilist: New file.
5906 * sysdeps/generic/libnss_db.abilist: New file.
5907 * sysdeps/generic/libnss_dns.abilist: New file.
5908 * sysdeps/generic/libnss_files.abilist: New file.
5909 * sysdeps/generic/libnss_hesiod.abilist: New file.
5910 * sysdeps/generic/libnss_nis.abilist: New file.
5911 * sysdeps/generic/libnss_nisplus.abilist: New file.
5912 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5913 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5914 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5915 file.
5916 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5917 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5918 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5919 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5920 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5921 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5922 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5923 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5924 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5925 file.
5926 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5927 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5928 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5929 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5930 file.
5931 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5932 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5933 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5934 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5935 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5936 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5937 file.
5938 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5939 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5940 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5941 file.
5942 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5944 New file.
5945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5946 New file.
5947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5948 New file.
5949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5950 New file.
5951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5952 New file.
5953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5954 New file.
5955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5956 New file.
5957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5958 New file.
5959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5960 New file.
5961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5962 New file.
5963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5964 New file.
5965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5966 New file.
5967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5968 New file.
5969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5970 file.
5971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5972 New file.
5973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5974 New file.
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5976 file.
5977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5978 New file.
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5980 New file.
5981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5982 file.
5983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5984 New file.
5985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5986 New file.
5987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5988 New file.
5989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5990 New file.
5991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5992 New file.
5993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5994 New file.
5995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5997 file.
5998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5999 New file.
6000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6001 file.
6002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6003 file.
6004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6005 file.
6006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6007 file.
6008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6009 file.
6010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6011 New file.
6012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6013 file.
6014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6015 file.
6016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6017 New file.
6018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6019 file.
6020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6022 file.
6023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6024 New file.
6025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6026 file.
6027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6028 file.
6029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6030 file.
6031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6032 file.
6033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6034 file.
6035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6036 New file.
6037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6038 file.
6039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6040 file.
6041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6042 New file.
6043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6044 file.
6045 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6046 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6047 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6048 file.
6049 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6050 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6051 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6052 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6053 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6054 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6055 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6056 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6057 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6058 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6061 file.
6062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6063 New file.
6064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6065 file.
6066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6067 file.
6068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6069 file.
6070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6071 file.
6072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6073 file.
6074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6075 New file.
6076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6077 New file.
6078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6079 file.
6080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6081 New file.
6082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6083 file.
6084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6086 file.
6087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6088 New file.
6089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6090 file.
6091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6092 file.
6093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6094 file.
6095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6096 file.
6097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6098 file.
6099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6100 New file.
6101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6102 New file.
6103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6104 file.
6105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6106 New file.
6107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6108 file.
6109
41d73a1b
JM
61102012-04-28 Joseph Myers <joseph@codesourcery.com>
6111
6112 * conform/conformtest.pl: Fix typo in handling typed-constant from
6113 allow-header.
6114
28aeeda4
JM
61152012-04-27 Joseph Myers <joseph@codesourcery.com>
6116
adae8f5e
JM
6117 * README: Cut down references to pre-2.6 Linux kernels and
6118 Linuxthreads. Update lists of configurations in libc and ports
6119 and sort alphabetically. Say "or newer" with Linux kernel version
6120 requirements.
6121
28aeeda4
JM
6122 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6123
a462cb63
RA
61242012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6125
6126 [BZ #887]
6127 * math/libm-test.inc (logb_test_downward): New test to expose
6128 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6129 rounding mode.
6130
6ad3493e
JM
61312012-04-27 Joseph Myers <joseph@codesourcery.com>
6132
6133 [BZ #14027]
6134 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6135 to be done.
6136 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6137 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6138
2ce4f015
JM
61392012-04-26 Joseph Myers <joseph@codesourcery.com>
6140
5aeb141a
JM
6141 * sysdeps/unix/i386/brk.S: Remove file.
6142 * sysdeps/unix/i386/dl-brk.S: Likewise.
6143 * sysdeps/unix/i386/pipe.S: Likewise.
6144 * sysdeps/unix/i386/sigreturn.S: Likewise.
6145 * sysdeps/unix/i386/syscall.S: Likewise.
6146 * sysdeps/unix/i386/vfork.S: Likewise.
6147 * sysdeps/unix/i386/wait.S: Likewise.
6148
7143acae
JM
6149 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6150 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6151
2ce4f015
JM
6152 * configure.in (arm*-none*): Do not allow without
6153 --enable-hacker-mode.
6154 (netbsd*): Remove case setting base_os.
6155 (386bsd*): Likewise.
6156 (freebsd*): Likewise.
6157 (bsdi*): Likewise.
6158 (osf*): Likewise.
6159 (sunos*): Likewise.
6160 (ultrix*): Likewise.
6161 (newsos*): Likewise.
6162 (dynix*): Likewise.
6163 (*bsd*): Likewise.
6164 (sysv*): Likewise.
6165 (isc*): Likewise.
6166 (esix*): Likewise.
6167 (sco*): Likewise.
6168 (minix*): Likewise.
6169 (irix4*): Likewise.
6170 (irix6*): Likewise.
6171 (solaris[2-9]*): Likewise.
6172 (none): Likewise.
6173 * configure: Regenerated.
6174
0ac229c8
AZ
61752012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6176
6177 [BZ #11521]
6178 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6179 overflow or cancellation in calculating denominator.
6180 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6181 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6182 down expression to avoid unexpected rounding in newer GCCs.
6183 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6184
33f244f4
DM
61852012-04-26 David S. Miller <davem@davemloft.net>
6186
6187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6188 long-double compat symbols.
6189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6202
cfa1f3e8
DM
62032012-04-25 David S. Miller <davem@davemloft.net>
6204
6205 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6206 HWCAP_* values only after the memory barriers have been defined.
6207 (atomic_full_barrier): Define.
6208 (atomic_read_barrier): Define.
6209 (atomic_write_barrier): Define.
6210
6e236b92
SP
62112012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6212
6213 * shlib-versions: Add libgcc_s version information.
6214 * sysdeps/generic/libgcc_s.h: Remove.
6215 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6216 libgcc_s.h.
6217 * sysdeps/gnu/unwind-resume.c: Likewise.
6218 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6219
aab39a09
DM
62202012-04-25 David S. Miller <davem@davemloft.net>
6221
6222 * sysdeps/unix/sparc/brk.S: Delete.
6223 * sysdeps/unix/sparc/dl-brk.S: Delete.
6224 * sysdeps/unix/sparc/pipe.S: Delete.
6225 * sysdeps/unix/sparc/sysdep.S: Delete.
6226 * sysdeps/unix/sparc/sysdep.h: Delete.
6227 * sysdeps/unix/sparc/vfork.S: Delete.
6228 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6229 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6230 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6231 ret_ERRVAL, r0, r1, MOVE): Define.
6232 (JUMPTARGET): Remove.
6233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6234 sysdeps/unix/sparc/sysdep.h
6235 (ENTRY, END): Remove.
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6237
a3cc4f48
JM
62382012-04-25 Joseph Myers <joseph@codesourcery.com>
6239
2ed8cda2
JM
6240 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6241 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6242 -DIS_IN_build.
6243
35d76d59
JM
6244 * timezone/README: Update upstream location and email address for
6245 tzcode and tzdata.
6246 * timezone/zdump.c: Update from tzcode 2012b.
6247 * timezone/zic.c: Likewise.
6248
a3cc4f48
JM
6249 * configure.in (libc_cv_as_needed): Remove test.
6250 * configure: Regenerated.
6251 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6252 conditional definition.
6253 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6254 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6255 * config.make.in (have-as-needed): Remove variable.
6256
ceab42c3
SP
62572012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6258 Paul Pluzhnikov <ppluzhnikov@google.com>
6259
6260 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6261 strings correctly.
6262
3ce2865f
CLT
62632012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6264
6265 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6266 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6267 * sysdeps/sh/strlen.S: Likewise.
6268
f37e0d68
JM
62692012-04-24 Joseph Myers <joseph@codesourcery.com>
6270
ae186e9a
JM
6271 * sysdeps/unix/fork.S: Remove file.
6272 * sysdeps/unix/i386/fork.S: Likewise.
6273 * sysdeps/unix/sparc/fork.S: Likewise.
6274
b96914af
JM
6275 * sysdeps/unix/system.c: Remove file.
6276 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6277
f37e0d68
JM
6278 * sysdeps/unix/getegid.S: Remove file.
6279 * sysdeps/unix/geteuid.S: Likewise.
6280
87ef29ca
RM
62812012-04-24 Roland McGrath <roland@hack.frob.com>
6282
83bcd236
RM
6283 * scripts/check-localplt.awk: New file.
6284 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6285 of diff.
6286 * scripts/data/localplt-generic.data: Add a comment.
6287
87ef29ca
RM
6288 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6289 NODE when __dir_mkfile failed.
6290 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6291 Reported by Ludovic Courtès <ludo@gnu.org>.
6292
e5a6e567
AJ
62932012-04-24 Andreas Jaeger <aj@suse.de>
6294
6295 * Makerules (common-clean): Also remove gen-as-const-headers
6296 files.
6297
c1820385
JM
62982012-04-24 Joseph Myers <joseph@codesourcery.com>
6299
6300 * Makerules (native-compile): Do not change working directory for
6301 build. Use $(OUTPUT_OPTION) in command.
6302 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6303
94e02fc4
AZ
63042012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6305
6306 [BZ #13886]
6307 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6308 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6309 * math/libm-test.inc (floor_test): Add more tests.
6310 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6311
3a533ca3
JM
63122012-04-24 Joseph Myers <joseph@codesourcery.com>
6313
940ab4b3
JM
6314 * sysdeps/unix/getdents.c: Remove file.
6315 * sysdeps/unix/sysv/getdents.c: Likewise.
6316 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6317
90e037bd
JM
6318 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6319 sysdeps/unix/mman/syscalls.list.
6320 (mmap): Likewise.
6321 (mprotect): Likewise.
6322 (msync): Likewise.
6323 (munmap): Likewise.
6324 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6325 * sysdeps/unix/mman/syscalls.list: Remove.
6326 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6327
3a533ca3
JM
6328 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6329 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6330 * configure: Regenerated.
6331 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6332 $(libgcc_s_suffix).
6333 * config.make.in (libgcc_s_suffix): Remove variable.
6334
1ad743de
JM
63352012-04-23 Joseph Myers <joseph@codesourcery.com>
6336
4ad451e2
JM
6337 * sysdeps/unix/sysv/gethostname.c: Move to ...
6338 * sysdeps/posix/gethostname.c: ... here.
6339
5e37ce39
JM
6340 * sysdeps/unix/execve.S: Remove file.
6341
1ad743de
JM
6342 * sysdeps/unix/_exit.S: Remove file.
6343
4e681b5b
AJ
63442012-04-23 Andreas Jaeger <aj@suse.de>
6345
6346 [BZ #13739]
6347 * manual/Makefile: Remove make dist support, there's no
6348 need for a stand-alone documentation tar ball.
6349 (TEXI2DVI): Define always, it's not in Makeconfig.
6350 (dist): Removed.
6351 (tar-it): Removed.
6352 (edition): Removed.
6353 (glibc-doc-$(edition).tar): Removed
6354 (%.Z): Removed.
6355 (%.gz): Removed.
6356 (%.uu): Removed.
6357 (ETAGS): Remove, it's in Makeconfig.
6358 (move-if-change): Remove, it's in Makeconfig.
6359
c0baea34
PE
63602013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6361
6362 [BZ #13970]
6363 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6364 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6365 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6366 (strtod_l, strtof_l, strtold_l): Remove __wur.
6367 It is not necessarily an error to ignore strtol's return value.
6368 One can reliably look at the stored endptr to decide whether
6369 the number had valid syntax.
6370
7c0616fa
AJ
63712012-04-21 Andreas Jaeger <aj@suse.de>
6372
803cb6b7 6373 [BZ #13739]
7c0616fa
AJ
6374 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6375
b0fe253f
JM
63762012-04-21 Joseph Myers <joseph@codesourcery.com>
6377
6378 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6379 * sysdeps/unix/sysv/Versions: Remove file.
6380
8280f22d
MT
63812012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6382
6383 [BZ #13927]
6384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6385
75ce411f 63862012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6387
6388 [BZ #7064]
6389 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6390 version from __vm86.
6391
097d59fa
JM
63922012-04-20 Joseph Myers <joseph@codesourcery.com>
6393
a90f3bcb
JM
6394 * sysdeps/unix/common/lxstat.c: Remove file.
6395 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6396
edc7ea78
JM
6397 * sysdeps/unix/sysv/Makefile: Remove file.
6398
cb78c221
JM
6399 * sysdeps/unix/sysv/direct.h: Remove file.
6400
efa6a45f
JM
6401 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6402 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6403 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6404 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6405 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6406 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6407 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6408
9c9f2d0c
JM
6409 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6410
4541c83b
JM
6411 * sysdeps/unix/xmknod.c: Remove file.
6412 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6413
f5d153a0
JM
6414 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6415
aa746595
JM
6416 * sysdeps/unix/sysv/i386/time.S: Remove file.
6417
cce5905e
JM
6418 * sysdeps/unix/fxstat.c: Remove file.
6419 * sysdeps/unix/xstat.c: Likewise.
6420 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6421
37fa3841
JM
6422 * sysdeps/unix/sysv/sigaction.c: Remove file.
6423
ff1962a3
JM
6424 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6425 (sysdep_headers): Remove variable.
6426 [termio.h not in sysdep_headers] (generated): Likewise.
6427 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6428 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6429 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6430 * sysdeps/unix/sysv/tcflow.c: Likewise.
6431 * sysdeps/unix/sysv/tcflush.c: Likewise.
6432 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6433 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6434 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6435 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6436 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6437
e7740d31
JM
6438 * sysdeps/unix/siglist.c: Remove file.
6439
ee06f18b
JM
6440 * sysdeps/unix/getppid.S: Remove file.
6441
097d59fa
JM
6442 * sysdeps/unix/mkdir.c: Remove file.
6443 * sysdeps/unix/rmdir.c: Likewise.
6444
ff3d51ec
AS
64452012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6446
6447 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6448 ERR_MAX value.
6449 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6450 errlist-compat value.
6451
50f81fd7
DM
64522012-04-18 David S. Miller <davem@davemloft.net>
6453
6454 * sysdeps/generic/memcopy.h (reg_char): Delete.
6455 * debug/strcat_chk.c: Use char, not reg_char.
6456 * debug/strcpy_chk.c: Likewise.
6457 * debug/strncat_chk.c: Likewise.
6458 * debug/strncpy_chk.c: Likewise.
6459 * string/memchr.c: Likewise.
6460 * string/memrchr.c: Likewise.
6461 * string/rawmemchr.c: Likewise.
6462 * string/strcat.c: Likewise.
6463 * string/strchr.c: Likewise.
6464 * string/strchrnul.c: Likewise.
6465 * string/strcmp.c: Likewise.
6466 * string/strcpy.c: Likewise.
6467 * string/strncat.c: Likewise.
6468 * string/strncmp.c: Likewise.
6469 * string/strncpy.c: Likewise.
6470
8ff41c46
WS
64712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6472
6473 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6474 __builtin_memcopy is called when src and dest ranges are known to not
6475 overlap.
6476
6b652f46
WS
64772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6478
6479 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6480 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6481 fwd_align_merge macro call.
6482 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6483 bwd_align_merge macro call.
6484 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6485
b282631e
WS
64862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6487
6488 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6489 bwd_align_merge macros.
6490 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6491 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6492 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6493
95aa737c
DM
64942012-04-18 David S. Miller <davem@davemloft.net>
6495
6496 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6497
7a99a614
AJ
64982012-04-18 Andreas Jaeger <aj@suse.de>
6499
6500 [BZ# 6794]
6501 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6502 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6503 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6504
6505 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6506 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6507 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6508
6509 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6510 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6511 Adjust for changed ldbl-128 files.
6512
6513 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6514 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6515 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6516
e5270c23
DM
65172012-04-17 David S. Miller <davem@davemloft.net>
6518
6519 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6520
fb5e92c9
AS
65212012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6522
6523 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6524 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6525 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6526 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6527 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6528 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6529
76da7265
AZ
65302012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6531
6532 [BZ #6794]
6533 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6534 * math/libm-test.inc: Add ilogb errno and exception tests.
6535 * math/w_ilogb.c: New file: ilogb wrapper.
6536 * math/w_ilogbf.c: New file: ilogbf wrapper.
6537 * math/w_ilogbl.c: New file: ilogbl wrapper.
6538 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6539 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6540 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6541 exception being thrown with 0.0 as argument.
6542 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6543 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6544 exception being thrown with 0.0 as argument.
6545 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6546 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6547 exception being thrown with 0.0 as argument.
6548 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6549 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6550 exception being thrown with 0.0 as argument.
6551 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6552 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6553 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6554 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6555 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6556 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6557 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6558 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6559 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6560
0396e69d
PB
65612012-04-17 Petr Baudis <pasky@ucw.cz>
6562
6563 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6564 with altivec.
6565
750b5926
MP
65662012-04-16 Marek Polacek <polacek@redhat.com>
6567
6568 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6569
751728a1
MP
65702012-04-16 Marek Polacek <polacek@redhat.com>
6571
6572 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6573 operands of fdivp instruction.
6574
34a27407
L
65752012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6576
6577 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6578 * elf/tst-auditmod3b.c: Likewise.
6579 * elf/tst-auditmod4b.c: Likewise.
6580 * elf/tst-auditmod5b.c: Likewise.
6581 * elf/tst-auditmod6b.c: Likewise.
6582 * elf/tst-auditmod6c.c: Likewise.
6583 * elf/tst-auditmod7b.c: Likewise.
6584 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6585 * sysdeps/x86_64/preconfigure.in: Likewise.
6586 * sysdeps/x86_64/preconfigure: Regenerated.
6587
7e73e17d
L
65882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6589
6590 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6591 __ILP32__.
6592
c7a6ab72
AB
65932012-04-13 Antoine Balestrat <merkil33@gmail.com>
6594
6595 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6596 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6597
a9e8e0e0
CL
65982012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6599
6600 [BZ #13973]
6601 * locale/iso-639.def: Fix gl language name. Spotted by
6602 Yaron Shahrabani.
6603
ec98af7d
RM
66042012-04-12 Roland McGrath <roland@hack.frob.com>
6605
6606 [BZ #2074]
6607 * libio/libio.h (__io_write_fn): Update comment.
6608
247c3ede
PB
66092012-04-12 Petr Baudis <pasky@ucw.cz>
6610
6611 [BZ #2074]
6612 * stdio.texi (Hook Functions): The user provided writer function
6613 is not allowed to return -1.
6614
55939d6d
DM
66152012-04-11 David S. Miller <davem@davemloft.net>
6616
6617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6618
90020f5a
MF
66192012-04-11 Mike Frysinger <vapier@gentoo.org>
6620
6621 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6622 Add a leading slash to rtkaio.
6623
288f9098
JM
66242012-04-11 Jim Meyering <meyering@redhat.com>
6625
90020f5a
MF
6626 [BZ #11959]
6627 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6628 It is not necessarily an error to ignore fwrite's return
6629 value. One can reliably use ferror to test for errors after
6630 the fact.
288f9098 6631
4be2b570
L
66322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6633
6634 * bits/types.h (__snseconds_t): New type.
6635 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6636
6637 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6639 (__SNSECONDS_T_TYPE): Likewise.
6640 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6641 (__SNSECONDS_T_TYPE): Likewise.
6642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6643 (__SNSECONDS_T_TYPE): Likewise.
6644
288f9098 66452012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6646
6647 [BZ #2636]
6648 * manual/time.texi (Processor Time): Return type of times is
6649 elapsed real time since an arbitrary point in the past.
6650 (CPU Time): Move CLK_TCK from here...
6651 (Processor Time): ...to here. Correct description.
6652 * manual/conf.texi (Constants for Sysconf): Correct description of
6653 _SC_CLK_TCK.
6654
d7dd4413
DM
66552012-04-10 David S. Miller <davem@davemloft.net>
6656
6657 [BZ #13967]
6658 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6659 where the is a gap between DT_REL(A) and DT_JMPREL.
6660
b46068fc
L
66612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6662
6663 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6664 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6665 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6666
73d65cc3
SP
66672012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6668
6669 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6670 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6671 (dl_main): Handle --inhibit-cache.
6672 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6673 _dl_inhibit_cache.
6674 * elf/dl-load.c (_dl_map_object): Use it.
6675 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6676
bcc8d661
JM
66772012-04-09 Joseph Myers <joseph@codesourcery.com>
6678
8f9a2fae
JM
6679 [BZ #13872]
6680 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6681 (__ieee754_powl): Saturate large exponents rather than testing for
6682 overflow of y*log2(x).
6683 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6684 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6685 exceptions.
6686
bcc8d661
JM
6687 [BZ #11521]
6688 * math/s_ctan.c: Include <float.h>.
6689 (__ctan): Avoid internal overflow or cancellation in calculating
6690 denominator.
6691 * math/s_ctanf.c: Likewise.
6692 * math/s_ctanl.c: Likewise.
6693 * math/s_ctanh.c: Likewise.
6694 * math/s_ctanhf.c: Likewise.
6695 * math/s_ctanhl.c: Likewise.
6696 * math/libm-test.inc (ctan_test): Add more tests.
6697 (ctanh_test): Likewise.
6698 * sysdeps/i386/fpu/libm-test-ulps: Update.
6699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6700
823fbbb4
AJ
67012012-04-09 Andreas Jaeger <aj@suse.de>
6702
03879793
AJ
6703 [BZ #6894]
6704 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6705 is an optional BSD extension.
6706
823fbbb4
AJ
6707 [BZ #10254]
6708 * manual/stdio.texi (Opening Streams): Document additional fopen
6709 parameters.
6710
8de131cb
RM
67112012-04-09 Roland McGrath <roland@hack.frob.com>
6712
6713 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6714 %eax without telling the compiler.
6715
c0ed9d7d
CD
67162012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6717
6718 [BZ # 13963]
6719 * manual/install.texi: Use sourceware.org.
6720
c483f6b4
JM
67212012-04-09 Joseph Myers <joseph@codesourcery.com>
6722
d7dd9453
JM
6723 [BZ #13873]
6724 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6725 (__ieee754_pow): Generate overflow and underflow using huge*huge
6726 and tiny*tiny rather than just returning constant infinity or zero
6727 for large exponents.
6728 * math/libm-test.inc (pow_test): Require overflow exceptions for
6729 applicable cases of large exponents.
6730
c483f6b4
JM
6731 [BZ #706]
6732 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6733 (__ieee754_pow): Use iterative multiplication algorithm only for
6734 integer exponents with absolute value below 1024. Check for odd
6735 integer exponents when using algorithm for real exponents.
6736 * math/libm-test.inc (pow_test): Add more tests.
6737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6738
d2de7579
JM
67392012-04-08 Joseph Myers <joseph@codesourcery.com>
6740
6741 [BZ #13705]
6742 * math/libm-test.inc (exp_test): Do not allow overflow exception
6743 on underflow test.
6744
f77f1232
AJ
67452012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6746
6747 [BZ #13705]
6748 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6749 instead of __kernel_standard_f.
6750
3884932b
MF
67512012-04-08 Mike Frysinger <vapier@gentoo.org>
6752
6753 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6754 * sysdeps/x86_64/memset_chk.S: Likewise.
6755
54472e9c
AJ
67562012-04-08 Andreas Jaeger <aj@suse.de>
6757
6ab0fbfc
AJ
6758 [BZ #10153]
6759 * manual/startup.texi (Environment Access): Describe return value
6760 for putenv and setenv.
6761
61efba8c
AJ
6762 [BZ #6895]
6763 * manual/filesys.texi (Directory Entries): Add description for
6764 DT_LNK.
6765
95c3f29a
AJ
6766 [BZ #6890]
6767 * manual/filesys.texi (Directory Entries): Clarify that it's file
6768 system not operating system in the description of DT_UNKNOWN.
6769
54472e9c
AJ
6770 [BZ #6578]
6771 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6772
624254b1
SC
67732012-04-08 Stephen Compall <s11@member.fsf.org>
6774
6775 [BZ #6649]
6776 * manual/llio.texi (Opening and Closing Files): Add cross
6777 reference to explain mode argument.
6778
1e4920e0
MF
67792012-04-07 Mike Frysinger <vapier@gentoo.org>
6780
6781 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6782 * sysdeps/x86_64/memset_chk.S: Likewise.
6783
5ed848f3
DM
67842012-04-07 David S. Miller <davem@davemloft.net>
6785
6786 * elf/elf.h (R_SPARC_WDISP10): Define.
6787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6788 R_SPARC_SIZE32.
6789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6790 R_SPARC_SIZE64 and R_SPARC_H34.
6791
96154cd8
CD
67922012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6793
6794 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6795 conditions and remove no longer applicable assertion.
6796
9904dc47
L
67972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6798
6799 * bits/byteswap.h: Include <features.h>.
6800 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6801 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6802
f8887d0a
L
68032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6804
6805 * bits/byteswap.h (__bswap_16): Removed.
6806 Include <bits/byteswap-16.h> to get __bswap_16.
6807 * sysdeps/i386/bits/byteswap.h: Likewise.
6808 * sysdeps/s390/bits/byteswap.h: Likewise.
6809 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6810 * bits/byteswap-16.h: New file.
6811 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6812 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6813 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6814 * string/Makefile (headers): Add bits/byteswap-16.h.
6815
62470f60
PP
68162012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6817
6818 [BZ #13895]
6819 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6820 extra indirection.
6821 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6822 * nss/tst-nss-static.c: New.
6823
4dad7bab
RM
68242012-04-06 Robert Millan <rmh@gnu.org>
6825
6826 [BZ #6486]
6827 * manual/llio.texi (File Position Primitive): lseek
6828 refers to WHENCE when it really means OFFSET.
6829
e9142a17
AJ
68302012-04-06 Andreas Jaeger <aj@suse.de>
6831
2c040eff
AJ
6832 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6833 strncmp declarations.
6834
e9142a17
AJ
6835 * abilist/libc.abilist: Add __poll and __ppoll.
6836
ff9f1c5f
DM
68372012-04-05 David S. Miller <davem@davemloft.net>
6838
dcd2ae90
DM
6839 * scripts/check-local-headers.sh: Accept a host triplet in the
6840 path matched by the exclude regexp.
6841
993eb054
DM
6842 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6843 definition.
6844 * sysdeps/powerpc/powerpc32/dl-machine.h
6845 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6846 * sysdeps/s390/s390-32/dl-machine.h
6847 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6848 * sysdeps/sparc/sparc32/dl-machine.h
6849 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6850 * sysdeps/sparc/sparc64/dl-machine.h
6851 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6852
ff9f1c5f
DM
6853 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6854 lazy binding.
48e2e132 6855 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6856 undefined symbol errors.
6857
48e2e132 6858 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6859 DT_NEEDED entries.
6860
e80d6f94
MM
68612012-04-05 Michael Matz <matz@suse.de>
6862
6863 [BZ #13592]
6864 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6865
349fa79f
AJ
68662012-04-05 Andreas Jaeger <aj@suse.de>
6867
6868 [BZ #13908]
6869 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6870 comment.
6871
f402708f
KK
68722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6873
6874 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6875 which ROUND is no valid rounding mode.
6876
2ecccfc9
KK
68772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6878
6879 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6880 read again.
6881 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6882
8a53f50f
KK
68832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6884
6885 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6886 an exception using FPU order intentionally.
6887
68882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6889
6890 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6891 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6892 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6893 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6894
d653abb7
SJ
68952012-04-05 Simon Josefsson <simon@josefsson.org>
6896
6897 [BZ #12340]
6898 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6899 EINVAL when BUFLEN is too smal.
6900
c3b1bf7d
TS
69012012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6902
6903 [BZ #13553]
6904 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6905 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6906
b1aa60f3
AJ
69072012-04-03 Andreas Jaeger <aj@suse.de>
6908
c3b1bf7d 6909 [BZ #13938]
67f60a26
AJ
6910 * manual/setjmp.texi (System V contexts): Fix sentence.
6911
b1aa60f3
AJ
6912 [BZ #13926]
6913 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6914 New macro for this case.
6915 [!__GNUC__] (__bswap_64): New inline function for this case.
6916 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6917 * bits/byteswap.h: Likewise.
6918 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6919 ull, guard with __GLIBC_HAVE_LONG_LONG.
6920
6921 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6922 __GLIBC_HAVE_LONG_LONG.
6923
6924 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6925 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6926
39c59c35
TMQMF
69272012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6928
6929 [BZ #13691]
6930 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6931 inptr and inend, rather than using last_ch.
6932
135ffda8
DM
69332012-04-02 David S. Miller <davem@davemloft.net>
6934
6935 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6936 * stdio-common/printf-parse.h (read_int): Change return type to
6937 'int', return -1 on INT_MAX overflow.
6938 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6939 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6940 overflows INT_MAX. Check for overflow of in-format-string precision
6941 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6942 SIZE_MAX not INT_MAX for integer overflow test.
6943 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6944 skip the construct in the format string but do not record anything.
6945 * stdio-common/bug22.c: Adjust to test both width/prevision
6946 INT_MAX overflow as well as total length INT_MAX overflow. Check
6947 explicitly for proper errno values.
6948
228c019e
TS
69492012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6950
302cadd3
TS
6951 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6952 CHAR_MAX.
6953 * string/test-strcmp.c [! WIDE]: Likewise.
6954 * time/tst-mktime2.c: Likewise for INT_MAX.
6955 * string/test-string.h: #include <sys/param.h> for MIN.
6956
228c019e
TS
6957 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6958 * sysdeps/i386/init-first.c (init): Likewise.
6959 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6960 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6961 * sysdeps/sh/init-first.c (init): Likewise.
6962
cfa633f5
UD
69632012-04-01 Ulrich Drepper <drepper@gmail.com>
6964
6965 * po/ru.po: Update from translation team.
d1635ef8 6966 * po/vi.po: Likewise.
cfa633f5 6967
6cd0a5ea
SP
69682012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6969
6970 * resolv/nss_dns/dns-host.c: Merge copyright years.
6971
4b43400f
LD
69722012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6973
6974 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6975 Optimize memcpy with prefetch if
6976 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6977 src, dst pointers have unequal 16 byte alignments.
6978
48c41d04
SP
69792012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6980
6981 [BZ #13928]
6982 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6983 from a CNAME entry and return the minimum ttl for the query.
6984 (gaih_getanswer_slice): Likewise.
6985
b8dc394d
JL
69862012-03-30 Jeff Law <law@redhat.com>
6987
6988 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6989 due to long keys.
6990 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6991 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6992
2f5a5ed0
JL
6993 * resolv/nss_dns/dns-host.c: Update copyright year.
6994
1d39e359
UD
69952012-03-30 Ulrich Drepper <drepper@gmail.com>
6996
c030f70c 6997 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6998 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6999
1d39e359
UD
7000 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7001 comments for sendmmsg.
7002
70032012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7004
7005 [BZ #13691]
7006 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7007 with only 1 character between 0x0041 and 0x01b0.
7008 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7009 * wcsmbs/tst-mbsnrtowcs.c: New file.
7010
20fde227
DM
70112012-03-29 David S. Miller <davem@davemloft.net>
7012
7013 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7014 small copies by hand.
7015
984a4237
JL
70162012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7017
7018 [BZ #13761]
7019 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7020 _nss_compat_initgroups_dyn): Fall back to malloc/free
7021 for large group memberships.
7022
18c9d62b
DM
70232012-03-28 David S. Miller <davem@davemloft.net>
7024
88d85d4f
DM
7025 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7026 that branches into memcpy.
7027 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7028 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7030 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7031 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7032 bits.
7033 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7034 implementation too.
7035 * sysdeps/sparc/mempcpy.S: New file.
7036
e5aa83e1
DM
7037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7038 the IFUNC routine in the libc case.
7039 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7040
88570753
DM
7041 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7042 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7043 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7044 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7045 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7046 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7047 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7048 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7049
249d7567
DM
7050 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7051 loop to 256 bytes instead of 64 bytes and fix test signedness.
7052
18c9d62b
DM
7053 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7054 * sysdeps/sparc/sparc32/Makefile: rather than here...
7055 * sysdeps/sparc/sparc64/Makefile: and here.
7056
05f3d1f6
UD
70572012-03-28 Ulrich Drepper <drepper@gmail.com>
7058
7059 * malloc/mallocbug.c: Avoid warnings about unused variables.
7060
86ae07a8
JL
70612012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7062
7063 [BZ #13760]
7064 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7065 in the right place. Discard and retry query if response is
7066 larger than input buffer size.
7067
41bf21a1
JM
70682012-03-28 Joseph Myers <joseph@codesourcery.com>
7069
d6270972
JM
7070 [BZ #369]
7071 [BZ #2678]
7072 [BZ #3866]
7073 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7074 x for large integer exponent.
7075 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7076 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7077 sign of result as needed afterwards.
7078 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7079 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7080 result for underflowing pow the same as for overflow.
7081 (__kernel_standard_l): Handle powl overflow and underflow here
7082 rather than calling __kernel_standard.
7083 * math/libm-test.inc (pow_test): Add more tests.
7084
414fca03 7085 [BZ #3868]
41bf21a1
JM
7086 [BZ #13879]
7087 [BZ #13910]
7088 [BZ #13911]
7089 [BZ #13912]
7090 [BZ #13913]
7091 [BZ #13915]
7092 [BZ #13916]
7093 [BZ #13917]
7094 [BZ #13918]
7095 [BZ #13919]
7096 [BZ #13920]
7097 [BZ #13921]
7098 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7099 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7100 (__kernel_standard_l): New function.
7101 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7102 __kernel_standard.
7103 * math/w_acosl.c (__acosl): Likewise.
7104 * math/w_asinl.c (__asinl): Likewise.
7105 * math/w_atan2l.c (__atan2l): Likewise.
7106 * math/w_atanhl.c (__atanhl): Likewise.
7107 * math/w_coshl.c (__coshl): Likewise.
7108 * math/w_exp10l.c (__exp10l): Likewise.
7109 * math/w_exp2l.c (__exp2l): Likewise.
7110 * math/w_fmodl.c (__fmodl): Likewise.
7111 * math/w_hypotl.c (__hypotl): Likewise.
7112 * math/w_j0l.c (__j0l, __y0l): Likewise.
7113 * math/w_j1l.c (__j1l, __y1l): Likewise.
7114 * math/w_jnl.c (__jnl, __ynl): Likewise.
7115 * math/w_lgammal.c (__lgammal): Likewise.
7116 * math/w_log10l.c (__log10l): Likewise.
7117 * math/w_log2l.c (__log2l): Likewise.
7118 * math/w_logl.c (__logl): Likewise.
7119 * math/w_powl.c (__powl): Likewise.
7120 * math/w_remainderl.c (__remainderl): Likewise.
7121 * math/w_scalbl.c (sysv_scalbl): Likewise.
7122 * math/w_sinhl.c (__sinhl): Likewise.
7123 * math/w_sqrtl.c (__sqrtl): Likewise.
7124 * math/w_tgammal.c (__tgammal): Likewise.
7125 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7126 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7127 * math/libm-test.inc (acos_test): Add more tests.
7128 (acosh_test): Likewise.
7129 (asin_test): Likewise.
7130 (atanh_test): Likewise.
7131 (exp_test): Likewise.
7132 (exp10_test): Likewise.
7133 (exp2_test): Likewise.
7134 (expm1_test): Likewise.
7135 (lgamma_test): Likewise.
7136 (log_test): Likewise.
7137 (log10_test): Likewise.
7138 (log1p_test): Likewise.
7139 (log2_test): Likewise.
7140 (pow_test): Do not allow some spurious overflow exceptions.
7141 (sqrt_test): Add more tests.
7142 (tgamma_test): Likewise.
7143 (y0_test): Likewise.
7144 (y1_test): Likewise.
7145 (yn_test): Likewise.
7146
dd62fda6
AB
71472012-03-27 Anton Blanchard <anton@samba.org>
7148
7149 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7150 MAP_HUGETLB.
7151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7152 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7153 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7154
1e3cdfda
AJ
71552012-03-27 David S. Miller <davem@davemloft.net>
7156
b855ab85
DM
7157 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7158
1e3cdfda
AJ
7159 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7160 have-as-vis3 check.
7161
71622012-03-27 Andreas Jaeger <aj@suse.de>
7163
7164 * sysdeps/x86_64/elf/configure.in: Moved to ...
7165 * sysdeps/x86_64/configure.in: ... here.
7166 * sysdeps/x86_64/elf/start.S: Moved to ...
7167 * sysdeps/x86_64/start.S: ... here.
7168 * sysdeps/x86_64/elf/configure: Delete.
7169
7170 * sysdeps/x86_64/configure.in: Merge contents from
7171 sysdeps/i386/configure.in (without i686 check).
7172
7173 * sysdeps/i386/elf/Versions: Merge into ...
7174 * sysdeps/i386/Versions: ... this.
7175 * sysdeps/i386/elf/Versions: Delete file.
7176 * sysdeps/i386/elf/start.S: Moved to ...
7177 * sysdeps/i386/start.S: ...here.
7178 * sysdeps/i386/elf/configure.in: Merge into...
7179 * sysdeps/i386/configure.in: ...here.
7180 * sysdeps/i386/elf/configure.in: Delete file.
7181 * sysdeps/i386/elf/configure: Delete file.
7182
7183 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7184 * debug/backtracesyms.c: ... here.
7185 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7186 * debug/backtracesymsfd.c: ... here.
7187 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7188 * sysdeps/generic/ifunc-sel.h: ... here.
7189
7190 * sysdeps/unix/i386/start.c: Delete file.
7191 * sysdeps/unix/sparc/start.c: Delete file.
7192 * sysdeps/unix/start.c: Delete file.
7193
7194 * sysdeps/sh/elf/configure.in: Moved to ...
7195 * sysdeps/sh/configure.in: ... here.
7196 * sysdeps/sh/elf/start.S: Moved to ...
7197 * sysdeps/sh/start.S: ... here.
7198 * sysdeps/sh/elf/configure: Delete file.
7199
7200 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7201 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7202 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7203 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7204 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7205 * sysdeps/powerpc/powerpc64/start.S: here.
7206 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7207 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7208 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7209 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7210 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7211
7212 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7213 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7214 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7215 * sysdeps/powerpc/powerpc32/start.S: ... here.
7216 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7217 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7218 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7219
7220 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7221 * sysdeps/powerpc/ifunc-sel.h: ... here.
7222 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7223 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7224
7225 * sysdeps/sparc/elf/configure.in: Moved to ...
7226 * sysdeps/sparc/configure.in: ... here.
7227 * sysdeps/sparc/elf/configure: Delete file.
7228 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7229 * sysdeps/sparc/sparc32/start.S: ... here.
7230 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7231 * sysdeps/sparc/sparc64/start.S: ... here.
7232 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7233 * sysdeps/sparc/sparc32/Makefile: ... this.
7234 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7235 * sysdeps/sparc/sparc64/Makefile: ... this.
7236
7237 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7238 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7239 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7240 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7241 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7242 * sysdeps/s390/s390-32/setjmp.S: ... here.
7243 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7244 * sysdeps/s390/s390-32/configure.in: ... here.
7245 * sysdeps/s390/s390-32/elf/configure: Delete file.
7246 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7247 * sysdeps/s390/s390-32/start.S: ... here.
7248
7249 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7250 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7251 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7252 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7253 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7254 * sysdeps/s390/s390-64/setjmp.S: ... here.
7255 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7256 * sysdeps/s390/s390-64/configure.in: ... here
7257 * sysdeps/s390/s390-64/elf/configure: Delete file.
7258 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7259 * sysdeps/s390/s390-64/start.S: ... here.
7260 * sysdeps/s390/s390-64/elf/configure: Delete.
7261
7262 * configure.in: Remove support for elf directories in sysdeps.
7263
7264 * configure: Regenerated.
7265 * sysdeps/i386/configure: Regenerated.
7266 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7267 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7268 * sysdeps/s390/s390-32/configure: Regenerated.
7269 * sysdeps/s390/s390-64/configure: Regenerated.
7270 * sysdeps/sh/configure: Regenerated.
7271 * sysdeps/sparc/configure: Regenerated.
7272 * sysdeps/x86_64/configure: Regenerated.
7273
a3f61311
AS
72742012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7275
c876e002
AS
7276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7277
a3f61311
AS
7278 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7279 denormal result into account.
7280
ac4c54f0
RM
72812012-03-25 Roland McGrath <roland@hack.frob.com>
7282
7283 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7284 Reported by Allan McRae <allan@archlinux.org>.
7285
6a9b9c02
JL
72862012-03-23 Jeff Law <law@redhat.com>
7287
7288 * nss/getnssent.c (__nss_getent): Fix typo.
7289
4c42a0c1
DM
72902012-03-23 David S. Miller <davem@davemloft.net>
7291
7292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7293
1532c7ac
L
72942012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7295
7296 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7297 to pad to uint64_t for each field.
7298 (dl_tls_index): Replace unsigned long with uint64_t.
7299
3ff42526
PP
73002012-03-23 Daniel Jacobowitz <dmj@google.com>
7301 Paul Pluzhnikov <ppluzhnikov@google.com>
7302
7303 [BZ #6528]
7304 * grp/Makefile (otherlibs): Don't set it.
7305 * inet/Makefile (otherlibs): Likewise.
7306 * login/Makefile (otherlibs): Likewise.
7307 * nscd/Makefile (otherlibs): Likewise.
7308 * posix/Makefile (otherlibs): Likewise.
7309 * pwd/Makefile (otherlibs): Likewise.
7310 * rt/Makefile (otherlibs): Likewise.
7311 * sunrpc/Makefile (otherlibs): Likewise.
7312 * nss/Makefile (otherlibs): Likewise.
7313 Add libnss_files to routines and static-only-routines.
7314 ($(objpfx)getent): Remove rule.
7315 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7316 static-only-routines.
7317
7c69cd14
JM
73182012-03-22 Joseph Myers <joseph@codesourcery.com>
7319
7320 [BZ #13892]
7321 * math/s_cexp.c: Include <float.h>.
7322 (__cexp): Handle exp result overflowing not necessarily
7323 overflowing both real and imaginary parts of result.
7324 * math/s_cexpf.c: Likewise.
7325 * math/s_cexpl.c: Likewise.
7326 * math/libm-test.inc (cexp_test): Add more tests.
7327 * sysdeps/i386/fpu/libm-test-ulps: Update.
7328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7329
81b035fe
L
73302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7331
7332 * include/link.h (ELFW): New macro.
7333 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7334 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7335
1da7940c
L
73362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7337
7338 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7339 with uint64_t.
7340
b749dbb9
L
73412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7342
7343 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7344 declaration.
7345 (struct La_x32_retval): Likewise.
7346
2ff87f3f
L
73472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7348
7349 * sysdeps/x86_64/preconfigure.in: New file.
7350 * sysdeps/x86_64/preconfigure: New generated file.
7351
c0df8e69
JM
73522012-03-22 Joseph Myers <joseph@codesourcery.com>
7353
48e44791
JM
7354 [BZ #13824]
7355 * math/e_exp2l.c: Include <float.h>.
7356 (__ieee754_exp2l): Handle overflow and underflow cases
7357 separately. Only pass fractional part of argument to
7358 __ieee754_expl.
7359 * math/libm-test.inc (exp2_test): Add more tests.
7360
c0df8e69
JM
7361 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7362 negating x to take absolute value.
7363 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7364 Likewise.
7365 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7367 Likewise.
7368 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7369 computing low part if x was negated.
7370 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7371
c8e43ba7
L
73722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7373
7374 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7375 la_x32_gnu_pltexit.
7376 (pltexit): Cast int_retval to ptrdiff_t.
7377 * elf/tst-auditmod3b.c: Likewise.
7378 * elf/tst-auditmod4b.c: Likewise.
7379 * elf/tst-auditmod5b.c: Likewise.
7380 * elf/tst-auditmod6b.c: Likewise.
7381 * elf/tst-auditmod6c.c: Likewise.
7382 * elf/tst-auditmod7b.c: Likewise.
7383
7384 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7385 and x32_gnu_pltexit.
7386
7387 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7388 __ELF_NATIVE_CLASS.
7389 (La_x32_regs): New macro.
7390 (La_x32_retval): Likewise.
7391 (la_x32_gnu_pltenter): New function prototype.
7392 (la_x32_gnu_pltexit): Likewise.
7393
7998fa78
AS
73942012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7395
dcb33988
AS
7396 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7397 exponent.
7398
233fc563
AS
7399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7400
7998fa78
AS
7401 * configure.in (libc_cv_cc_nofma): Check for option to disable
7402 generation of FMA instructions.
7403 * configure: Regenerate.
7404 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7405 * sysdeps/ieee754/dbl-64/Makefile: New file.
7406 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7407 Remove brandred-fma4.
7408 (CFLAGS-brandred-fma4.c): Remove.
7409 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7410 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7411 define.
7412 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7413 define.
7414
8e95c99a
L
74152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7416
7417 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7418 LLONG_MAX != LONG_MAX.
7419 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7420 (_fitoa_word): Likewise.
7421 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7422 LLONG_MAX != LONG_MAX.
7423 * stdio-common/_itowa.h: Include <_itoa.h>.
7424 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7425 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7426 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7427 only if not defined.
7428 (_ITOA_WORD_TYPE): Likewise.
7429 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7430 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7431
6f4db457
DM
74322012-03-21 David S. Miller <davem@davemloft.net>
7433
7434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7435
7785fe5a
L
74362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7437
7438 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7439 of x86_64 when setting libc_cv_slibdir, libdir and
7440 libc_cv_localedir.
7441 * sysdeps/unix/sysv/linux/configure: Regenerated.
7442
4535cd55
JM
74432012-03-21 Joseph Myers <joseph@codesourcery.com>
7444
7445 * manual/lang.texi (Old Varargs): Remove section.
7446 (How Variadic): Update menu.
7447 (va_start): Do not mention varargs.h.
7448
17228132
TS
74492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7450 Joseph Myers <joseph@codesourcery.com>
7451
7452 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7453 link test.
7454 * configure: Regenerated.
7455
8149f976
TS
74562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7457
05f3d1f6
UD
7458 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7459 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7460 conformtest.pl
8149f976 7461
1a4ac776
JM
74622012-03-21 Joseph Myers <joseph@codesourcery.com>
7463
be22ce65
JM
7464 * NOTES: Remove.
7465 * Makefile (files-for-dist): Remove NOTES.
7466 (NOTES): Remove rule.
7467 * README: Don't refer to NOTES.
7468 * manual/creature.texi: Don't include macros.texi.
7469 * manual/intro.texi (creature.texi): Remove comment referring to
7470 NOTES.
7471
40b601fb
JM
7472 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7473 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7474 * configure: Regenerated.
7475 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7476 LIBC_TRY_CC_OPTION.
7477 (libc_cv_as_i686): Likewise.
7478 (libc_cv_cc_avx): Likewise.
7479 (libc_cv_cc_sse2avx): Likewise.
7480 (libc_cv_cc_fma4): Likewise.
7481 (libc_cv_cc_novzeroupper): Likewise.
7482 * sysdeps/i386/configure: Regenerated.
7483
1a4ac776
JM
7484 [BZ #13883]
7485 * sysdeps/i386/fpu/s_cexp.S: Remove.
7486 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7487 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7488 * math/libm-test.inc (cexp_test): Add more tests.
7489 * sysdeps/i386/fpu/libm-test-ulps: Update.
7490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7491
a458e7fe
AM
74922012-03-21 Allan McRae <allan@archlinux.org>
7493
7494 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7495
0cb7efc5
JM
74962012-03-21 Joseph Myers <joseph@codesourcery.com>
7497
7498 [BZ #13871]
7499 * math/w_exp2.c: Do not include <float.h>.
7500 (o_threshold, u_threshold): Remove.
7501 (__exp2): Calculate result before checking finiteness and calling
7502 __kernel_standard.
7503 * math/w_exp2f.c: Likewise.
7504 * math/w_exp2l.c: Likewise.
7505 * math/libm-test.inc (exp2_test): Require overflow exception for
7506 1e6 input.
2460d3aa
JM
7507
7508 [BZ #3866]
7509 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7510 range of signed 64-bit integers before using fistpll. Remove
7511 checks for whether integers fit in mantissa bits.
7512 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7513 the range of signed 32-bit integers before using fistpl. Remove
7514 checks for whether integers fit in mantissa bits.
7515 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7516 (__ieee754_powl): Test for y outside the range of signed 64-bit
7517 integers before using fistpll. Reduce 64-bit values to 63-bit
7518 ones as needed.
7519 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7520 divide-by-zero is raised for zero to large negative powers.
7521 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7522 (__ieee754_powl): Test for y outside the range of signed 64-bit
7523 integers before using fistpll. Reduce 64-bit values to 63-bit
7524 ones as needed.
7525 * math/libm-test.inc (pow_test): Add more tests.
7526
eb96ffb0
L
75272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7528
7529 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7530 <stdio-common/_itoa.h>.
7531 * debug/segfault.c: Likewise.
7532 * elf/dl-cache.c: Likewise.
7533 * elf/dl-minimal.c: Likewise.
7534 * elf/dl-misc.c: Likewise.
7535 * elf/dl-sysdep.c: Likewise.
7536 * elf/dl-version.c: Likewise.
7537 * elf/rtld.c: Likewise.
7538 * hurd/hurdsock.c: Likewise.
7539 * hurd/lookup-retry.c: Likewise.
7540 * malloc/malloc.c: Likewise.
7541 * malloc/mtrace.c: Likewise.
7542 * nscd/nscd_getgr_r.c: Likewise.
7543 * nscd/nscd_getpw_r.c: Likewise.
7544 * nscd/nscd_getserv_r.c: Likewise.
7545 * posix/getopt_init.c: Likewise.
7546 * posix/wordexp.c: Likewise.
7547 * stdio-common/_itoa.c: Likewise.
7548 * stdio-common/printf_fphex.c: Likewise.
7549 * stdio-common/vfprintf.c: Likewise.
7550 * string/_strerror.c: Likewise.
7551 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7552 * sysdeps/i386/i686/hp-timing.h: Likewise.
7553 * sysdeps/mach/_strerror.c: Likewise.
7554 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7555 * sysdeps/mach/hurd/sethostid.c: Likewise.
7556 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7557 * sysdeps/mach/xpg-strerror.c: Likewise.
7558 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7559 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7560 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7561 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7562 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7563 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7564 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7565 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7566 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7567 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7568 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7569 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7570 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7571 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7572 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7573 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7574 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7575 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7576 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7577 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7578 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7579
7580 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7581
7582 * stdio-common/_itoa.h: Moved to ...
7583 * sysdeps/generic/_itoa.h: Here.
7584
7585 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7586
7587 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7588 instead of "_itoa.h" and "_itowa.h".
7589 * stdio-common/vfprintf.: Likewise.
7590
d1af992d
L
75912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7592
7593 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7594 <bits/wordsize.h>.
7595 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7596 (__signbit): Likwise.
7597 (llrintf): Likwise.
7598 (llrint): Likwise.
7599
114883e0
L
76002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7601
7602 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7603 __WORDSIZE != 64.
7604
c135cc1b
JM
76052012-03-20 Joseph Myers <joseph@codesourcery.com>
7606
7607 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7608 OVERFLOW_EXCEPTION_OK.
7609 * math/libm-test.inc ("Philosophy"): Update comment about
7610 exception testing.
7611 (OVERFLOW_EXCEPTION): Define.
7612 (OVERFLOW_EXCEPTION_OK): Likewise.
7613 (INVALID_EXCEPTION_OK): Renumber.
7614 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7615 (IGNORE_ZERO_INF_SIGN): Likewise.
7616 (test_exceptions): Handle FE_OVERFLOW.
7617 (exp10_test): Expect overflow exceptions.
7618 (exp2_test): Likewise.
7619 (expm1_test): Likewise.
7620 (nextafter_test): Likewise.
7621 (pow_test): Likewise.
7622 (scalbn_test): Likewise.
7623 (scalbln_test): Likewise.
7624
95443d88
L
76252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7626
7627 * sysdeps/x86_64/bits/atomic.h
7628 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7629 64bit integer.
7630 (atomic_exchange_acq): Likewise.
7631 (__arch_exchange_and_add_body): Likewise.
7632 (__arch_add_body): Likewise.
7633 (atomic_add_negative): Likewise.
7634 (atomic_add_zero): Likewise.
7635
490df6c4
L
76362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7637
c2722551 7638 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7639 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7640
5e52b189
L
76412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7642
7643 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7644 Check __x86_64__ instead of __WORDSIZE.
7645
a9879d4c
L
76462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7647
7648 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7649
5df98260
DM
76502012-03-19 David S. Miller <davem@davemloft.net>
7651
e1497744
DM
7652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7653
5df98260
DM
7654 * sysdeps/sparc/fpu/fenv_private.h: New file.
7655 * sysdeps/sparc/fpu/math_private.h: Use it.
7656 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7657 Remove.
7658 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7659 (libc_feholdexcept_setroundl): Remove.
7660 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7661 Remove.
7662 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7663 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7664
b4c35121
L
76652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7666
7667 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7668 int64_t instead of long int.
7669 (INSERT_WORDS64): Likwise.
7670
56965fd7
L
76712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7672
7673 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7674 _Unwind_GetCFA return to _Unwind_Ptr first.
7675
83d1aec8
JM
76762012-03-19 Joseph Myers <joseph@codesourcery.com>
7677
1897ad44
JM
7678 [BZ #13629]
7679 * math/s_clog.c: Include <float.h>.
7680 (__clog): Scale large or subnormal inputs.
7681 * math/s_clogf.c: Likewise.
7682 * math/s_clogl.c: Likewise.
7683 * math/s_clog10.c: Include <float.h>.
7684 (M_LOG10_2): Define.
7685 (__clog10): Scale large or subnormal inputs.
7686 * math/s_clog10f.c: Likewise.
7687 * math/s_clog10l.c: Likewise.
7688 * math/libm-test.inc (clog_test): Add more tests.
7689 (clog10_test): Likewise.
7690 * sysdeps/i386/fpu/libm-test-ulps: Update.
7691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7692
7726d6a9
JM
7693 [BZ #11451]
7694 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7695 x and y.
7696 * math/libm-test.inc (atan2_test): Add another test.
7697
83d1aec8
JM
7698 * Makerules (common-objdir-compile): Remove.
7699 * sysdeps/unix/Makefile (config-generated): Do not add
7700 $(unix-generated) to variable.
7701 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7702 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7703 Remove rule.
7704 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7705 Likewise.
7706 [generic bits/local_lim.h] (before-compile): Do not append to
7707 variable.
7708 [generic bits/local_lim.h] (common-generated): Likewise.
7709 [generic sys/param.h] (before-compile): Do not append to variable.
7710 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7711 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7712 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7713 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7714 include.
7715 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7716 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7717 [generic sys/param.h] ($(addprefix
7718 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7719 [generic sys/param.h] (common-generated): Do not append to
7720 variable.
7721 [generic sys/param.h] (sysdep_headers): Likewise.
7722 [generic bits/errno.h] (before-compile): Do not append to
7723 variable.
7724 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7725 rule.
7726 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7727 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7728 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7729 [generic bits/errno.h] (common-generated): Do not append to
7730 variable.
7731 [generic bits/ioctls.h] (before-compile): Do not append to
7732 variable.
7733 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7734 rule.
7735 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7736 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7737 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7738 rule.
7739 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7740 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7741 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7742 [generic bits/ioctls.h] (common-generated): Do not append to
7743 variable.
7744 [generic sys/syscall.h] (syscall.h): Remove variable.
7745 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7746 rule.
7747 [generic sys/syscall.h] (before-compile): Do not append to
7748 variable.
7749 [generic sys/syscall.h] (common-generated): Likewise.
7750 * sysdeps/unix/errnos-tmpl.c: Remove file.
7751 * sysdeps/unix/errnos.awk: Likewise.
7752 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7753 * sysdeps/unix/ioctls.awk: Likewise.
7754 * sysdeps/unix/mk-local_lim.c: Likewise.
7755 * sysdeps/unix/snarf-ioctls: Likewise.
7756
4851a949
RH
77572012-03-19 Richard Henderson <rth@twiddle.net>
7758
bd37f2ee
RH
7759 * sysdeps/i386/fpu/fenv_private.h: New file.
7760 * sysdeps/i386/fpu/math_private.h: Use it.
7761 (math_opt_barrier, math_force_eval): Remove.
7762 (libc_feholdexcept_setround_53bit): Remove.
7763 (libc_feupdateenv_53bit): Remove.
7764 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7765 (math_opt_barrier, math_force_eval): Remove.
7766 (libc_feholdexcept): Remove.
7767 (libc_feholdexcept_setround): Remove.
7768 (libc_fetestexcept, libc_fesetenv): Remove.
7769 (libc_feupdateenv_test): Remove.
7770 (libc_feupdateenv, libc_feholdsetround): Remove.
7771 (libc_feresetround): Remove.
7772
d0adc922
RH
7773 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7774 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7775
0fe0f1f8
RH
7776 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7777 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7778 (libc_feupdateenv_testl): New.
7779 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7780 (libc_feupdateenv_testf): New.
7781 (libc_feupdateenv): Use libc_feupdateenv_test.
7782 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7783 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7784
eb92c487
RH
7785 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7786 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7787 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7788 (libc_feresetround_noex): New.
7789 (libc_feresetround_noexf): New.
7790 (libc_feresetround_noexl): New.
7791 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7792 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7793 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7794 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7795 SET_RESTORE_ROUND.
7796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7797 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7798 (__cos): Likewise.
7799 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7800 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7801 SET_RESTORE_ROUND_NOEX.
7802 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7803 SET_RESTORE_ROUND_NOEXF.
7804 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7805 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7806 (libc_feholdsetroundf): New.
7807 (libc_feresetround, libc_feresetroundf): New.
7808
7d2e8012
RH
7809 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7810 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7811 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7812
b4dabbb4
RH
7813 * sysdeps/generic/math_private.h: Include <fenv.h>.
7814 (default_libc_feholdexcept): New.
7815 (default_libc_feholdexcept_setround): New.
7816 (default_libc_fesetenv, default_libc_feupdateenv): New.
7817 (libc_feholdexcept): Only define if undefined.
7818 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7819 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7820 (libc_feholdexcept_setroundl): Likewise.
7821 (libc_feholdexcept_setround_53bit): Likewise.
7822 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7823 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7824 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7825 (libc_feupdateenv_53bit): Likewise.
7826 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7827 (libc_feholdexcept): Convert from macro to inline function.
7828 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7829 (libc_fesetenv, libc_feupdateenv): Likewise.
7830
4851a949
RH
7831 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7832 not previously defined.
7833 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7834 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7835 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7836 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7837 * sysdeps/ieee754/flt-32/math_private.h: New file.
7838 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7839 math_private.h below SET_FLOAT_WORD.
7840 (__isnan, __isinf_ns, __finite): Remove.
7841 (__isnanf, __isinf_nsf, __finitef): Remove.
7842
e79d442e
AS
78432012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7844
7845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7846
90b80344
DM
78472012-03-17 David S. Miller <davem@davemloft.net>
7848
7849 [BZ #6471]
7850 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7851 for 2.16.
7852
edc21804
DM
78532012-03-16 David S. Miller <davem@davemloft.net>
7854
77e927af
DM
7855 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7856 warnings.
7857
374976dd
DM
7858 [BZ #6471]
7859 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7860 properly.
7861 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7862 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7863 sysdep_routines when subdir is sysvipc.
7864 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7865 __getshmlba helper.
7866
edc21804
DM
7867 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7868
473c3ef3
L
78692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7870
7871 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7872 [__LP64__].
7873
eb0f39b6
L
78742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7875
7876 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7877 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7878 (__lround): Renamed to ...
7879 (__llround): This. Replace long int with long long int.
7880 Define lround functions as aliases of llround functions.
7881 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7882
6b6cd74b
L
78832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7884
7885 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7886 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7887 adresses to uintptr_t. Replace "long int" and "unsigned long
7888 int" with "greg_t" on va_arg.
7889
f1a77b01
L
78902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7891
7892 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7893 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7894
7895 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7896 Move e_machine check before EI_CLASS check. Handle x32
7897 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7898 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7899 SKIP_EM_IA_64 and include
7900 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7901
7902 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7903 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7904 (add_system_dir): New macro.
7905
7906 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7907 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7908
11b90b9f
JM
79092012-03-16 Joseph Myers <joseph@codesourcery.com>
7910
c36e1d23
JM
7911 [BZ #2551]
7912 [BZ #2552]
7913 [BZ #2553]
7914 [BZ #2554]
7915 [BZ #2562]
7916 [BZ #2563]
7917 [BZ #2565]
7918 [BZ #2566]
7919 [BZ #2576]
7920 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7921 (y0): Likewise.
7922 * math/w_j0f.c (j0f): Likewise.
7923 (y0f): Likewise.
7924 * math/w_j0l.c (__j0l): Likewise.
7925 (__y0l): Likewise.
7926 * math/w_j1.c (j1): Likewise.
7927 (y1): Likewise.
7928 * math/w_j1f.c (j1f): Likewise.
7929 (y1f): Likewise.
7930 * math/w_j1l.c (__j1l): Likewise.
7931 (__y1l): Likewise.
7932 * math/w_jn.c (jn): Likewise.
7933 (yn): Likewise.
7934 * math/w_jnf.c (jnf): Likewise.
7935 (ynf): Likewise.
7936 * math/w_jnl.c (__jnl): Likewise.
7937 (__ynl): Likewise.
7938 * math/libm-test.inc (j0_test): Add more tests.
7939 (j1_test): Likewise.
7940 (jn_test): Likewise. Add trailing semicolon to existing test.
7941 (y0_test): Likewise.
7942 (y1_test): Likewise.
7943 * sysdeps/i386/fpu/libm-test-ulps: Update.
7944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7945
11b90b9f
JM
7946 [BZ #13851]
7947 [BZ #13854]
7948 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7949 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7950 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7951 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7952 (__tanl): Set errno for infinite argument.
7953 * sysdeps/i386/fpu/mptan.c: Remove.
7954 * sysdeps/i386/fpu/s_tan.S: Likewise.
7955 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7956 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7957 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7958 * math/libm-test.inc (tan_test): Add more tests and enable more
7959 tests for double and long double.
7960 * sysdeps/i386/fpu/libm-test-ulps: Update.
7961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7962
6a1bd2a1
JK
79632012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7964
7965 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7966 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7967
10a803e0
RM
79682012-03-16 Roland McGrath <roland@hack.frob.com>
7969
7970 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7971 * configure.in: Use it for both main tree and add-ons.
7972 * configure: Regenerated.
7973
f196c7f7
L
79742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7975
7976 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7977
8848d99d
JM
79782012-03-16 Joseph Myers <joseph@codesourcery.com>
7979
96cbe7f4
JM
7980 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7981 in comment.
7982
8848d99d
JM
7983 [BZ #13851]
7984 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7985 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7986 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7987 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7988 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7989 infinite argument.
7990 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7991 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7992 != 0 for prec == 2.
7993 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7994 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7995 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7996 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7997 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7998 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7999 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8000 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8001 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8002 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8003 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8004 * math/libm-test.inc (cos_test): Add more tests and enable more
8005 tests for long double.
8006 (sin_test): Likewise.
8007 (sincos_test): Likewise.
8008 * sysdeps/i386/fpu/libm-test-ulps: Update.
8009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8010
dd7f4703
DM
80112012-03-16 David S. Miller <davem@davemloft.net>
8012
8013 * sysdeps/sparc/fpu/math_private.h: New file.
8014
006f1daa
DM
80152012-03-15 David S. Miller <davem@davemloft.net>
8016
c0c83bc8
DM
8017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8018 file.
e6a62e18 8019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8021 file.
e6a62e18
DM
8022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8028 sysdep routines.
8029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8030
88cb87d9
DM
8031 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8032 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8033
006f1daa 8034 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8036 sparc-ifunc.h
006f1daa 8037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8039 Likewise.
8040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8041 Likewise.
006f1daa
DM
8042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8046 Likewise.
006f1daa
DM
8047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8052 Likewise.
8053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8054 Likewise.
006f1daa
DM
8055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8062 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8075 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8079
11e0098e
AS
80802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8081
8082 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8083 scaling.
8084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8085
e85b09d0
AJ
80862012-03-15 Andreas Jaeger <aj@suse.de>
8087
8088 [BZ #13852]
8089 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8090 ieee754/flt-32 implementation for sin, cos and sincos.
8091 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8092 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8093 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8094 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8095 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8096 ieee754/flt-32 implementation for tan.
8097
8098 * math/libm-test.inc (cos_test): Enable some large input tests for
8099 float as well
8100 (sin_test): Likewise.
8101 (sincos_test): Likewise.
8102 (tan_test): Add tests for large input.
8103
8104 * sysdeps/i386/fpu/libm-test-ulps: Update.
8105
81c64153
AJ
81062012-03-15 Andreas Jaeger <aj@suse.de>
8107
8108 [BZ #13658]
8109 * math/libm-test.inc (cos_test): Add more test cases.
8110 (sin_test): Likewise.
8111 (sincos_test): Likewise.
8112
7bbfa5c6
AJ
81132012-03-15 Andreas Jaeger <aj@suse.de>
8114
8115 [BZ #13837]
8116 * math/libm-test.inc (cos_test): Add a test case for large input
8117 value.
8118 (sin_test): Likewise.
8119 (sincos_test): Likewise.
8120
81212012-03-15 Andreas Jaeger <aj@suse.de>,
8122 Joseph Myers <joseph@codesourcery.com>
8123
8124 [BZ #13658]
0671f479 8125 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8126 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8127 * sysdeps/i386/fpu/branred.c: Likewise.
8128 * sysdeps/i386/fpu/dosincos.c: Likewise.
8129 * sysdeps/i386/fpu/mpa.c: Likewise.
8130 * sysdeps/i386/fpu/s_cos.S: Likewise.
8131 * sysdeps/i386/fpu/s_sin.S: Likewise.
8132 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8133 * sysdeps/i386/fpu/sincos32.c: Likewise.
8134
8135 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8136 Define.
8137 (libc_feupdateenv_53bit): Define.
8138 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8139 Define.
8140 (libc_feupdateenv_53bit): Define.
8141
8142 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8143 53 bit (without extend i386 double precision).
8144
8145 * math/libm-test.inc (sincos_test): Add tests for large input.
8146 (sin): Likewise.
8147 (cos): Likewise.
8148
8149 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8150
9cad04ea
AS
81512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8152
8153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8154
f7062b9a
DM
81552012-03-15 David S. Miller <davem@davemloft.net>
8156
8157 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8158 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8159 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8160 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8173 file.
f7062b9a 8174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8176 file.
f7062b9a 8177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8179 file.
f7062b9a 8180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8182 file.
f7062b9a
DM
8183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8185 fmin/fmax sysdep routines.
8186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8187
7bd951ff
DM
81882012-03-14 David S. Miller <davem@davemloft.net>
8189
559398ab
DM
8190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8194 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8210 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8211 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8212 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8219 routines.
8220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8221 file.
559398ab 8222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8224 file.
559398ab 8225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8227 file.
559398ab 8228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8230 file.
559398ab 8231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8233 file.
559398ab 8234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8236 file.
8237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8238 file.
8239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8240 file.
8241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8242 file.
8243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8244 New file.
8245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8246 file.
8247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8248 file.
559398ab 8249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8251 file.
559398ab 8252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8254 file.
559398ab 8255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8257 file.
559398ab 8258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8260 VIS3 routines.
559398ab
DM
8261
8262 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8263 New file.
8264
5a1c1e32
DM
8265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8266
eae47a36
DM
8267 * sysdeps/sparc/configure.in: New file.
8268 * sysdeps/sparc/configure: Generate.
8269 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8270 * configure: Regenerate.
8271 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8272 * config.make.in (have-as-vis3): New.
8273 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8274 available use -Av9d instead of -Av9a.
8275 * sysdeps/sparc/sparc64/Makefile: Likewise.
8276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8278 New file.
8279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8280 file.
8281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8282 New file.
8283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8284 file.
eae47a36
DM
8285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8286 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8287 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8288 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8290
c0c83bc8
DM
8291 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8292 fzeros/fnegs to load 0x80000000 into a float register instead of
8293 using the stack.
7bd951ff
DM
8294 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8295
bd951ccb
JM
82962012-03-14 Joseph Myers <joseph@codesourcery.com>
8297
8298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8299 bits/syscall.h.
8300 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8301 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8302 ($(inst_includedir)/bits/syscall.h): Remove rule.
8303 ($(objpfx)bits/syscall.d): Include instead of
8304 $(objpfx)syscall-list.d.
8305 (generated): Change syscall-list.h and syscall-list.d to
8306 bits/syscall.h and bits/syscall.d.
8307
bb4e6db2
RM
83082012-03-14 Roland McGrath <roland@hack.frob.com>
8309
8310 [BZ #13846]
8311 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8312
aa4a2ae1
JM
83132012-03-14 Joseph Myers <joseph@codesourcery.com>
8314
e456826d
JM
8315 [BZ #13841]
8316 * math/s_csqrt.c: Include <float.h>.
8317 (__csqrt): Scale large or subnormal inputs.
8318 * math/s_csqrtf.c: Likewise.
8319 * math/s_csqrtl.c: Likewise.
8320 * math/libm-test.inc (csqrt_test): Add more tests.
8321 * sysdeps/i386/fpu/libm-test-ulps: Update.
8322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8323
aa4a2ae1
JM
8324 [BZ #13840]
8325 * math/libm-test.inc (hypot_test): Add more tests.
8326
7c10fd35
DM
83272012-03-13 David S. Miller <davem@davemloft.net>
8328
8329 [BZ #13840]
8330 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8331 double-precision for the calculation instead of scaling.
8332
f453b98b
JM
83332012-03-13 Joseph Myers <joseph@codesourcery.com>
8334
8335 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8336 manipulate bits before adding and subtracting TWO52[sx].
8337 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8338 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8339 Likewise.
8340 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8341
09a3453f
DM
83422012-03-13 David S. Miller <davem@davemloft.net>
8343
8e59da90
DM
8344 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8345 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8347 rtld-global-offsets.h
8348 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8349
2a8ab7f2
DM
8350 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8351 large parameters.
8352
10f62770
DM
8353 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8354
5f0bdb18
DM
8355 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8356 'err' in the ifdef scope in which it is actually used.
8357
09a3453f
DM
8358 * nss/nss_db/db-init.c: Include string.h
8359
b4b2eb5e
DM
83602012-03-12 David S. Miller <davem@davemloft.net>
8361
98bb2f1c
DM
8362 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8363 masking out of the most significant byte of random value used.
8364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8365 Fix coding style in previous change.
8366
b4b2eb5e
DM
8367 * sysdeps/unix/sysv/linux/kernel-features.h
8368 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8369 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8370 expression.
8371 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8372 later.
8373
6e226b09
DM
83742012-03-11 David S. Miller <davem@davemloft.net>
8375
a1bcbd40
DM
8376 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8377 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8378 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8379 for 'resultvar' otherwise things get truncated on 64-bit.
8380
cb9d6174
DM
8381 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8382 Fix masking out of the most significant byte of random value used.
8383
6e226b09
DM
8384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8385
058c132d
AS
83862012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8387
8388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8389
2d2cd515
DM
83902012-03-09 David S. Miller <davem@davemloft.net>
8391
8392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8393 variables with appropriate CPP guards.
8394 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8395 frame pointer, not the stack pointer. Correct layout comments. Fix test
8396 on resulting framesize and the management of the outregs buffer for pltexit.
8397 Preserve floating point return values across _dl_call_pltexit call.
8398 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8399 framesize and the management of the outregs buffer for pltexit.
8400 Preserve floating point return values across _dl_call_pltexit
8401 call.
8402 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8403 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8404 (print_exit): Fix format string for return register value.
8405
9a07f9d0
JM
84062012-03-10 Joseph Myers <joseph@codesourcery.com>
8407
8408 * sunrpc/Makefile (others): Add rpcgen.
8409 ($(objpfx)rpcgen): Remove special build rule and dependency on
8410 libc.
8411 * sunrpc/rpcgen.c: New file.
8412
547b5e30
PE
84132012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8414
c524201a
PE
8415 [BZ #13673]
8416 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8417 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8418 * sysdeps/i386/crti.S: Likewise.
8419 * sysdeps/i386/crtn.S: Likewise.
8420 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8421 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8422 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8423 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8424 * sysdeps/sh/crti.S: Likewise.
8425 * sysdeps/sh/crtn.S: Likewise.
8426 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8427
7b6235f2
PE
8428 [BZ #13673]
8429 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8430 with URL.
8431 * locale/programs/locfile-kw.gperf: Likewise.
8432 * locale/programs/charmap-kw.h: Regenerated.
8433 * locale/programs/locfile-kw.h: Likewise.
8434
547b5e30
PE
8435 [BZ #13673]
8436 * intl/plural.y: Replace FSF snail mail address with URL.
8437 * intl/plural.c: Regenerated.
8438
5f0a5dae
RH
84392012-03-09 Richard Henderson <rth@twiddle.net>
8440
8441 * include/math_private.h: Remove file.
8442 * math/math_private.h: Move file ...
8443 * sysdeps/generic/math_private.h: ... here.
8444
b8c03620
RH
8445 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8446 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8447 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8448
4e234f5d 8449 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8450 and <math_private.h>.
8451 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8452 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8453 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8454 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8455 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8456 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8457 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8459 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8460 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8462 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8463 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8464 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8465 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8466 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8467 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8468 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8469 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8470 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8475 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8478 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8493 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8494 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8539 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8540 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8541 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8542 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8543 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8544 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8545 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8546 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8547 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8548 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8549 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8550 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8551 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8552 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8553 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8554 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8555 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8556 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8557 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8558 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8559 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8560 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8561 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8562 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8563 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8564 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8565 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8566 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8567 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8568 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8569 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8570 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8571 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8572 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8573 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8574 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8575 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8576 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8577 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8578 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8579 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8580 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8581 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8582 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8583 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8584 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8585 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8586 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8587 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8588 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8589 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8590 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8591 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8592 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8593 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8594 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8595 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8596 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8597 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8598 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8599 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8600 * sysdeps/ieee754/k_standard.c: Likewise.
8601 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8608 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8609 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8610 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8611 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8613 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8614 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8615 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8616 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8618 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8619 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8620 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8621 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8625 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8626 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8627 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8628 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8629 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8632 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8633 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8634 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8635 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8636 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8637 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8638 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8639 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8640 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8641 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8642 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8643 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8644 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8645 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8646 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8716 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8720 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8721 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8723 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8728 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8733 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8749 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8750 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8751 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8761 * sysdeps/ieee754/s_lib_version.c: Likewise.
8762 * sysdeps/ieee754/s_matherr.c: Likewise.
8763 * sysdeps/ieee754/s_signgam.c: Likewise.
8764 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8765 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8766 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8767 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8768 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8769 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8770 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8771 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8772 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8773 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8774 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8775 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8776 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8777 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8778 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8779 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8780 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8781 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8782 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8785
1991fa03
JM
87862012-03-09 Joseph Myers <joseph@codesourcery.com>
8787
8788 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8789 * sunrpc/rpc_main.c: Likewise.
8790 * sunrpc/rpc_svcout.c: Likewise.
8791
60d6f5a6
DM
87922012-03-09 David S. Miller <davem@davemloft.net>
8793
8794 * include/math_private.h: New file.
8795
4962050e
JM
87962012-03-09 Joseph Myers <joseph@codesourcery.com>
8797
02a6f887
JM
8798 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8799 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8800 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8801 from <bits/socket_type.h>.
8802 (enum __socket_type): Don't define here.
8803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8805 bits/socket_type.h.
8806
c6e013c1
JM
8807 [BZ #13566]
8808 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8809 checking __USE_GNU.
8810
4962050e
JM
8811 * Makerules ($(inst_includedir)/%.h): New rule.
8812 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8813 (install-others): Remove variable setting.
8814 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8815
38842f45
RH
88162012-03-08 Richard Henderson <rth@twiddle.net>
8817
67bb6da6
RH
8818 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8819 from macro to inline function; merge with the
8820 !__LIBC_INTERNAL_MATH_INLINES version.
8821 (__ieee754_sqrtf): Likewise.
8822
15194b4b
RH
8823 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8824 to inline function.
8825 (__rintf, __floor, __floorf): Likewise.
8826
64e21ede
RH
8827 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8828 macro to inline function.
8829 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8830
38842f45
RH
8831 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8832 not <math/math_private.h>.
8833
c64bf5fe
DM
88342012-03-08 David S. Miller <davem@davemloft.net>
8835
8836 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8837 copyright year.
8838 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8839
82d86f28
TS
88402012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8841
8842 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8843 normalization.
8844 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8845 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8846
aea5d727
UD
88472012-03-08 Ulrich Drepper <drepper@gmail.com>
8848
8849 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8850 be defined individually, they must be defined as a block. Define
8851 S for printing a string instead of hidint the different by using a
8852 macro for adding the 'l'.
8853 * stdio-common/tst-fphex-wide.c: Adjust.
8854
70bca0a3
MP
88552012-03-07 Marek Polacek <polacek@redhat.com>
8856
8857 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8858
65b81130
MP
88592012-03-08 Marek Polacek <polacek@redhat.com>
8860
8861 [BZ #13806]
8862 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8863 * stdio-common/tst-fphex.c: Define a few macros to make the
8864 test reusable. Use them.
8865 * stdio-common/tst-fphex-wide.c: New file.
8866
07037eeb
JM
88672012-03-08 Joseph Myers <joseph@codesourcery.com>
8868
a7a93d50
JM
8869 [BZ #6911]
8870 * manual/macros.texi (gnusystems): New macro.
8871 (nongnusystems): Likewise.
8872 (gnulinuxhurdsystems): Likewise.
8873 (gnuhurdsystems): Likewise..
8874 (gnulinuxsystems): Likewise.
8875 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8876 variants of the GNU system, not "GNU system".
8877 * manual/conf.texi: Likewise.
8878 * manual/errno.texi: Likewise. Update example of errno macro
8879 expansion.
8880 * manual/filesys.texi: Likewise.
8881 (getumask): Document as specific to GNU/Hurd.
8882 * manual/install.texi: Likewise. Reword some references to
8883 GNU/Linux.
8884 * manual/intro.texi: Likewise.
8885 * manual/io.texi: Likewise.
8886 (File Name Portability): Detail which constraints are inapplicable
8887 to all GNU systems and which are only inapplicable to GNU/Hurd.
8888 * manual/job.texi: Likewise.
8889 * manual/llio.texi: Likewise.
8890 (O_NOCTTY): Document as present on GNU/Linux.
8891 * manual/maint.texi: Likewise.
8892 * manual/memory.texi: Likewise.
8893 * manual/pattern.texi: Likewise.
8894 * manual/pipe.texi: Likewise.
8895 * manual/process.texi: Likewise.
8896 * manual/resource.texi: Likewise.
8897 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8898 child on GNU/Hurd.
8899 * manual/setjmp.texi: Likewise.
8900 * manual/signal.texi: Likewise.
8901 * manual/startup.texi: Likewise.
8902 * manual/stdio.texi: Likewise.
8903 * manual/terminal.texi: Likewise.
8904 (ONLCR): Document as POSIX.
8905 (OXTABS): Document availability on GNU/Linux as XTABS.
8906 (ONOEOT): Document availability separately from other bits.
8907 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8908 * manual/time.texi: Likewise.
8909 * manual/users.texi: Likewise.
8910 * INSTALL: Regenerated.
8911 * sysdeps/gnu/errlist.c: Regenerated.
8912
07037eeb
JM
8913 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8914 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8915 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8916 puts.
8917 * configure: Regenerated.
8918
d1d3431a
JM
89192012-03-07 Joseph Myers <joseph@codesourcery.com>
8920
af6a1e37
JM
8921 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8922 default includes instead of AC_HEADER_CHECK.
8923 * sysdeps/i386/configure: Regenerated.
8924
d1d3431a
JM
8925 [BZ #10716]
8926 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8927 * math/s_cacoshf.c (__cacoshf): Likewise.
8928 * math/s_cacoshl.c (__cacoshl): Likewise.
8929 * math/s_casinh.c (__casinh): Set signs of result from argument.
8930 * math/s_casinhf.c (__casinhf): Likewise.
8931 * math/s_casinhl.c (__casinhl): Likewise.
8932 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8933 (casinh_test): Add more tests.
8934 * sysdeps/i386/fpu/libm-test-ulps: Update.
8935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8936
482ff4da
UD
89372012-03-07 Ulrich Drepper <drepper@gmail.com>
8938
872fda05
UD
8939 * po/zh_TW.po: Update from translation team.
8940
a4300c7a
UD
8941 * login/Makefile (distribute): Remove variable.
8942 * catgets/Makefile: Likewise.
8943 * mach/Makefile: Likewise.
8944 * malloc/Makefile: Likewise.
8945 * misc/Makefile: Likewise.
8946 * iconv/Makefile: Likewise.
8947 * nscd/Makefile: Likewise.
8948 * hurd/Makefile: Likewise.
8949 * manual/Makefile: Likewise.
8950 * locale/Makefile: Likewise.
8951 * intl/Makefile: Likewise.
8952 * conform/Makefile: Likewise.
8953 * nss/Makefile: Likewise.
8954 * time/Makefile: Likewise.
8955 * soft-fp/Makefile: Likewise.
8956 * dirent/Makefile: Likewise.
8957 * gmon/Makefile: Likewise.
8958 * po/Makefile: Likewise.
8959 * rt/Makefile: Likewise.
8960 * socket/Makefile: Likewise.
8961 * math/Makefile: Likewise.
8962 * signal/Makefile: Likewise.
8963 * debug/Makefile: Likewise.
8964 * elf/Makefile: Likewise.
8965 * timezone/Makefile: Likewise.
8966 * stdlib/Makefile: Likewise.
8967 * iconvdata/Makefile: Likewise.
8968 * sunrpc/Makefile: Likewise.
8969 * io/Makefile: Likewise.
8970 * argp/Makefile: Likewise.
8971 * inet/Makefile: Likewise.
8972 * hesiod/Makefile: Likewise.
8973 * grp/Makefile: Likewise.
8974 * csu/Makefile: Likewise.
8975 * wctype/Makefile: Likewise.
8976 * crypt/Makefile: Likewise.
8977 * libio/Makefile: Likewise.
8978 * string/Makefile: Likewise.
8979 * nis/Makefile: Likewise.
8980 * resolv/Makefile: Likewise.
8981 * stdio-common/Makefile: Likewise.
8982 * wcsmbs/Makefile: Likewise.
8983 * dlfcn/Makefile: Likewise.
8984 * posix/Makefile: Likewise.
8985
3b7c4e74 8986 [BZ #6959]
482ff4da
UD
8987 * timezone/Makefile: Don't install timezone files, just the programs
8988 and scripts.
8989
f72ed77d
UD
89902012-03-06 Ulrich Drepper <drepper@gmail.com>
8991
a000466f
UD
8992 * nss/databases.def: Add missing gshadow entry.
8993
f72ed77d
UD
8994 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8995
a53b7a4e
MP
89962012-03-06 Marek Polacek <polacek@redhat.com>
8997
8998 [BZ #13726]
8999 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9000 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9001 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9002 * stdio-common/tst-long-dbl-fphex.c: New file.
9003
e9258400
DM
90042012-03-06 David S. Miller <davem@davemloft.net>
9005
9006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9007 (set_obp_int): New function.
9008 (get_obp_int): New function.
9009 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9010 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9011 Avoid unused variable warnings on 'val' and use builtin_expect.
9012 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9013 __builtin_expect.
e9258400
DM
9014 (INLINE_CLONE_SYSCALL): Likewise.
9015
3bd2c723
DM
90162012-03-05 David S. Miller <davem@davemloft.net>
9017
9018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9019
bbb78d03
AS
90202012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9021
884c5db4
AS
9022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9023
bbb78d03
AS
9024 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9025 only for |x| >= 40.
9026 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9027
1c9f702a 90282012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9029
9030 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9031 Replace gettimeofday with __vdso_gettimeofday.
9032
7be16f82
RM
9033 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9034 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9035 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9036
9037 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9038 time with __vdso_time.
9039
ed58a00f
JM
90402012-03-05 Joseph Myers <joseph@codesourcery.com>
9041
9042 * manual/lang.texi (size_t): Note types to which size_t may be
9043 equivalent with the GNU C Library, but do not describe when
9044 differences between them are significant.
9045
30ee4ced
AJ
90462012-03-05 Andreas Jaeger <aj@suse.de>
9047
9048 * sysdeps/i386/fpu/libm-test-ulps: Update.
9049
b7cd39e8
JM
90502012-03-05 Joseph Myers <joseph@codesourcery.com>
9051
9052 [BZ #3976]
9053 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9054 (__ieee754_pow): Save and restore rounding mode and use
9055 round-to-nearest for main computations.
9056 * math/libm-test.inc (pow_test_tonearest): New function.
9057 (pow_test_towardzero): Likewise.
9058 (pow_test_downward): Likewise.
9059 (pow_test_upward): Likewise.
9060 (main): Call the new functions.
9061 * sysdeps/i386/fpu/libm-test-ulps: Update.
9062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9063
9064 [BZ #3976]
9065 * math/libm-test.inc (cosh_test_tonearest): New function.
9066 (cosh_test_towardzero): Likewise.
9067 (cosh_test_downward): Likewise.
9068 (cosh_test_upward): Likewise.
9069 (sinh_test_tonearest): Likewise.
9070 (sinh_test_towardzero): Likewise.
9071 (sinh_test_downward): Likewise.
9072 (sinh_test_upward): Likewise.
9073 (main): Call the new functions.
9074 * sysdeps/i386/fpu/libm-test-ulps: Update.
9075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9076
6c6a98c9
TV
90772012-03-05 Tom de Vries <tom@codesourcery.com>
9078
9079 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9080 default stack guard is set in last bytes.
9081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9082
21bb2d2e 90832012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9084
21bb2d2e 9085 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9086
21bb2d2e
AJ
9087 [BZ #13656]
9088 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9089 possibly allocate from heap instead of stack.
9090 * stdio-common/bug-vfprintf-nargs.c: New file.
9091 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9092
c6922934
AS
90932012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9094
9095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9096
bc957d53
MP
90972012-03-03 Marek Polacek <polacek@redhat.com>
9098
9099 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9100 * math/math_private.h: Likewise.
9101 * stdlib/tst-strtod.c: Likewise.
9102 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9103 * sysdeps/x86_64/bits/atomic.h: Likewise.
9104
6358490d
DM
91052012-03-02 David S. Miller <davem@davemloft.net>
9106
9107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9111 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9112 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9113 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9114 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9115
01ae168d
RM
91162012-03-02 Roland McGrath <roland@hack.frob.com>
9117
d9a17c07
RM
9118 [BZ #13792]
9119 * manual/examples/README: New file, says the example source files
9120 can be used under GPL>=2.
9121 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9122 line containing just "*/".
9123 * manual/examples/add.c: Add copyright header (GPL>=2).
9124 * manual/examples/argp-ex1.c: Likewise.
9125 * manual/examples/argp-ex2.c: Likewise.
9126 * manual/examples/argp-ex3.c: Likewise.
9127 * manual/examples/argp-ex4.c: Likewise.
9128 * manual/examples/atexit.c: Likewise.
9129 * manual/examples/db.c: Likewise.
9130 * manual/examples/dir.c: Likewise.
9131 * manual/examples/dir2.c: Likewise.
9132 * manual/examples/execinfo.c: Likewise.
9133 * manual/examples/filecli.c: Likewise.
9134 * manual/examples/filesrv.c: Likewise.
9135 * manual/examples/fmtmsgexpl.c: Likewise.
9136 * manual/examples/genpass.c: Likewise.
9137 * manual/examples/inetcli.c: Likewise.
9138 * manual/examples/inetsrv.c: Likewise.
9139 * manual/examples/isockad.c: Likewise.
9140 * manual/examples/longopt.c: Likewise.
9141 * manual/examples/memopen.c: Likewise.
9142 * manual/examples/memstrm.c: Likewise.
9143 * manual/examples/mkfsock.c: Likewise.
9144 * manual/examples/mkisock.c: Likewise.
9145 * manual/examples/mygetpass.c: Likewise.
9146 * manual/examples/pipe.c: Likewise.
9147 * manual/examples/popen.c: Likewise.
9148 * manual/examples/rprintf.c: Likewise.
9149 * manual/examples/search.c: Likewise.
9150 * manual/examples/select.c: Likewise.
9151 * manual/examples/setjmp.c: Likewise.
9152 * manual/examples/sigh1.c: Likewise.
9153 * manual/examples/sigusr.c: Likewise.
9154 * manual/examples/stpcpy.c: Likewise.
9155 * manual/examples/strdupa.c: Likewise.
9156 * manual/examples/strftim.c: Likewise.
9157 * manual/examples/strncat.c: Likewise.
9158 * manual/examples/subopt.c: Likewise.
9159 * manual/examples/swapcontext.c: Likewise.
9160 * manual/examples/termios.c: Likewise.
9161 * manual/examples/testopt.c: Likewise.
9162 * manual/examples/testpass.c: Likewise.
9163 * manual/examples/timeval_subtract.c: Likewise.
9164
01ae168d
RM
9165 [BZ #13792]
9166 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9167 function to ...
9168 * manual/timeval_subtract.c.texi: ... here, new file.
9169
49efa33d
DM
91702012-03-02 David S. Miller <davem@davemloft.net>
9171
9172 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9173
28afd92d
JM
91742012-03-02 Joseph Myers <joseph@codesourcery.com>
9175
804360ed
JM
9176 [BZ #3976]
9177 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9178 (__sin): Save and restore rounding mode and use round-to-nearest
9179 for all computations.
9180 (__cos): Save and restore rounding mode and use round-to-nearest
9181 for all computations.
9182 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9183 <fenv.h>.
9184 (tan): Save and restore rounding mode and use round-to-nearest for
9185 all computations.
9186 * math/libm-test.inc (cos_test_tonearest): New function.
9187 (cos_test_towardzero): Likewise.
9188 (cos_test_downward): Likewise.
9189 (cos_test_upward): Likewise.
9190 (sin_test_tonearest): Likewise.
9191 (sin_test_towardzero): Likewise.
9192 (sin_test_downward): Likewise.
9193 (sin_test_upward): Likewise.
9194 (tan_test_tonearest): Likewise.
9195 (tan_test_towardzero): Likewise.
9196 (tan_test_downward): Likewise.
9197 (tan_test_upward): Likewise.
9198 (main): Call the new functions.
9199 * sysdeps/i386/fpu/libm-test-ulps: Update.
9200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9201
a6d06d7b
JM
9202 [BZ #10135]
9203 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9204 small n, then large n, before computing and testing k+n.
9205 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9206 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9207 Likewise.
9208 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9209 Likewise.
9210 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9211 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9212 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9213 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9216 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9217 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9218 * math/libm-test.inc (scalbn_test): Add more tests.
9219 (scalbln_test): Likewise.
9220
07e12bb3
JM
9221 * manual/filesys.texi (mode_t): Describe constraints on size and
9222 signedness, not exact equivalence to a particular type.
9223 (ino_t): Likewise.
9224 (ino64_t): Likewise.
9225 (dev_t): Likewise.
9226 (nlink_t): Likewise.
9227 (blkcnt_t): Likewise.
9228 (blkcnt64_t): Likewise.
9229 * manual/llio.texi (off_t): Likewise.
9230
28afd92d
JM
9231 [BZ #3976]
9232 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9233 (__ieee754_exp): Save and restore rounding mode and use
9234 round-to-nearest for all computations.
9235 * math/libm-test.inc (exp_test_tonearest): New function.
9236 (exp_test_towardzero): Likewise.
9237 (exp_test_downward): Likewise.
9238 (exp_test_upward): Likewise.
9239 (main): Call the new functions.
9240 * sysdeps/i386/fpu/libm-test-ulps: Update.
9241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9242
b1eeb65d
CD
92432012-03-01 Chris Demetriou <cgd@google.com>
9244
9245 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9246 have predictable order.
9247
53362a4b
DM
92482012-03-01 David S. Miller <davem@davemloft.net>
9249
3c969083
DM
9250 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9251
759707de
DM
9252 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9253 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9254 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9255 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9256
dfdb8ff2
DM
9257 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9258 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9259 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9261 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9262 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9263 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9264 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9265 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9266
ead89f96
DM
9267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9268
7f66bd07
DM
9269 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9270 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9271 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9272
53362a4b
DM
9273 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9274 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9275 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9276 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9277 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9278 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9279 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9280 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9281 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9282 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9283 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9284 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9286 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9287 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9289 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9290 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9291 * sysdeps/sparc/elf/configure: Regenerated.
9292
7b1902cb
JM
92932012-03-01 Joseph Myers <joseph@codesourcery.com>
9294
bec039bc
JM
9295 * configure.in (AS, LD): Require binutils 2.20 or later.
9296 * configure: Regenerated.
9297 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9298 as required minimum version.
9299 * INSTALL: Regenerated.
9300
7b1902cb
JM
9301 [BZ #2541]
9302 [BZ #4108]
9303 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9304 before squaring exponent.
9305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9306 bottom long double and 27 bits of top long double before squaring
9307 exponent.
9308 * math/libm-test.inc (erfc_test): Add more tests.
9309 * sysdeps/i386/fpu/libm-test-ulps: Update.
9310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9312
f775c276
KT
93132012-03-01 Kai Tietz <ktietz@redhat.com>
9314
9315 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9316 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9317 containing bit-fields.
9318 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9319 * soft-fp/single.h (_FP_UNION_S): Likewise.
9320 * soft-fp/double.h (_FP_UNION_D): Likewise.
9321
5b8a4d4a
JM
93222012-02-29 Joseph Myers <joseph@codesourcery.com>
9323
0bab47b6
JM
9324 [BZ #13786]
9325 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9326 not include ../strcmp.S.
9327 [USE_AS_STRNCASECMP_L]: Likewise.
9328 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9329 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9330 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9331 (__strncasecmp_l_ia32): Define as alias to
9332 __strncasecmp_l_nonascii.
9333
0fcad3e2
JM
9334 [BZ #5794]
9335 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9336 * sysdeps/i386/fpu/libm-test-ulps: Update.
9337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9338
5b8a4d4a
JM
9339 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9341
8fdceb2e
JL
93422012-02-29 Jeff Law <law@redhat.com>
9343
9344 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9345 out of bounds read.
9346
1f393a11
MP
93472012-02-29 Marek Polacek <polacek@redhat.com>
9348
9349 [BZ #13706]
9350 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9351 * elf/Makefile: Add rules to run tst-unused-dep.out.
9352
8847f037
DM
93532012-02-28 David S. Miller <davem@davemloft.net>
9354
9355 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9356 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9357 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9358 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9359 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9360 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9361
169d7f11
JM
93622012-02-29 Joseph Myers <joseph@codesourcery.com>
9363
9364 * math/libm-test.inc (llround_test): Move one test from
9365 lround_test. Use TEST_f_L in moved test.
9366 (lround_test): Move misplaced test to llround_test. Add testcase
9367 from bug 2561.
9368
39adf059
UD
93692012-02-28 Ulrich Drepper <drepper@gmail.com>
9370
9371 * sysdeps/x86_64/fpu/e_expf.S: New file.
9372 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9373
71b5d1c5
SB
93742012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9375
9376 [BZ #13637]
9377 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9378 of remain_len that may cause incomplete multi-byte character and
9379 false match.
9380 * posix/bug-regex33.c: New file.
9381 * posix/Makefile (tests): Add bug-regex33.
9382
1f77f049
JM
93832012-02-28 Joseph Myers <joseph@codesourcery.com>
9384
9385 * manual/macros.texi: New file.
9386 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9387 * manual/libc.texinfo: Include macros.texi.
9388 * manual/creatute.texi: Likewise.
9389 * manual/install.texi: Likewise.
9390 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9391 @glibcadj{} in references to the GNU C Library.
9392 * manual/charset.texi: Likewise.
9393 * manual/conf.texi: Likewise.
9394 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9395 when not using those macros.
9396 * manual/creature.texi: Likewise.
9397 * manual/crypt.texi: Likewise.
9398 * manual/errno.texi: Likewise.
9399 * manual/filesys.texi: Likewise.
9400 * manual/header.texi: Likewise.
9401 * manual/install.texi: Likewise.
9402 * manual/intro.texi: Likewise.
9403 * manual/io.texi: Likewise.
9404 * manual/job.texi: Likewise.
9405 * manual/lang.texi: Likewise.
9406 * manual/libc.texiinfo: Likewise.
9407 * manual/llio.texi: Likewise.
9408 * manual/locale.texi: Likewise.
9409 * manual/maint.texi: Likewise.
9410 * manual/math.texi: Likewise.
9411 * manual/memory.texi: Likewise.
9412 * manual/message.texi: Likewise.
9413 * manual/nss.texi: Likewise.
9414 * manual/pattern.texi: Likewise.
9415 * manual/process.texi: Likewise.
9416 * manual/resource.texi: Likewise.
9417 * manual/search.texi: Likewise.
9418 * manual/setjmp.texi: Likewise.
9419 * manual/signal.texi: Likewise.
9420 * manual/socket.texi: Likewise.
9421 * manual/startup.texi: Likewise.
9422 * manual/stdio.texi: Likewise.
9423 * manual/string.texi: Likewise.
9424 * manual/sysinfo.texi: Likewise.
9425 * manual/syslog.texi: Likewise.
9426 * manual/terminal.texi: Likewise.
9427 * manual/time.texi: Likewise.
9428 * manual/users.texi: Likewise.
9429 * INSTALL: Regenerated.
9430 * NOTES: Regenerated.
d40c5d54 9431 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9432
450bf206
AS
94332012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9434
9435 * include/dirent.h: Include <dirstream.h> before
9436 <dirent/dirent.h>.
9437
741a235b
DM
94382012-02-28 David S. Miller <davem@davemloft.net>
9439
9440 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9441 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9442 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9443 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9444
d6b5aa58
DM
94452012-02-27 David S. Miller <davem@davemloft.net>
9446
1aff59a3
DM
9447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9449 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9450 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9451
d6b5aa58
DM
9452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9453 frame pointer instead of stack pointer relative arg slot.
9454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9455 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9456 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9457
433f48bf
CD
94582012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9459
9460 [BZ #3992]
9461 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9462
d674b76d
DM
94632012-02-27 David S. Miller <davem@davemloft.net>
9464
9465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9469 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9470 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9471 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9472 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9473
0e7727f7
JM
94742012-02-27 Joseph Myers <joseph@codesourcery.com>
9475
9476 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9477 later. Allow versions 5-9.
43be4ca2 9478 * configure: Regenerated.
0e7727f7
JM
9479 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9480 required minimum version and 4.6 as recommended version. Do not
9481 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9482 * INSTALL: Regenerated.
0e7727f7 9483
a78bc654
DM
94842012-02-27 David S. Miller <davem@davemloft.net>
9485
428d5830
DM
9486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9490 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9491 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9492 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9493 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9494
a78bc654
DM
9495 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9496 manipulate bits before adding and subtracting TWO112[sx].
9497 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9498
4579f81c
RM
94992012-02-27 Roland McGrath <roland@hack.frob.com>
9500
36c8acb4
RM
9501 [BZ #13775]
9502 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9503 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9504 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9505 being in POSIX, because they are in 1003.1-2008.
9506
84ad622b
RM
9507 * rt/tst-aio.c: Include <fcntl.h>.
9508 * rt/tst-aio7.c: Likewise.
9509 * rt/tst-aio64.c: Likewise.
9510
4579f81c
RM
9511 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9512
abd923db
JM
95132012-02-27 Joseph Myers <joseph@codesourcery.com>
9514
9515 * manual/install.texi (--with-headers): Describe headers as
9516 interface headers, not private headers.
9517 (Specific advice for GNU/Linux systems): Describe use of headers
9518 from "make headers_install", not private headers from older
9519 kernels.
43be4ca2 9520 * INSTALL: Regenerated.
abd923db
JM
9521 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9522 Change to 2.6.19.
9523 * sysdeps/unix/sysv/linux/configure: Regenerated.
9524
6664049b
JM
9525 * manual/llio.texi (fclean): Remove documentation.
9526
bb8b6697
JM
9527 * manual/Makefile (libc-texi-generated): New variable. Include
9528 version.texi.
9529 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9530 $(libc-texi-generated), not duplicated list of files.
9531 (version.texi, stamp-version): New rules.
9532 (realclean): Remove $(libc-texi-generated), not individual files
9533 from that list. Do not remove dir-add.texinfo.
9534 * manual/libc.texinfo: Comment out uses of edition numbers and
9535 references to printed manual. Remove last-updated dates.
9536 (EDITION): Comment out.
9537 (ISBN): Likewise.
9538 (VERSION, UPDATED): Remove.
9539 (version.texi): Include.
9540
12e5c3b9
AS
95412012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9542
9543 * sysdeps/posix/spawni.c: Include <signal.h>.
9544 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9545 * sysdeps/pthread/aio_fsync.c: Likewise.
9546
4efeffc1 95472012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9548
ba63ba08
UD
9549 * conform/Makefile (tests): Run only when not cross-compiling and
9550 when fast-check is not defined.
9551
d94a4670
UD
9552 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9553 * conform/data/limits.h-data: Fixes for POSIX2008.
9554 * conform/run-conformtest.sh: Run all tests.
9555 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9556 headers.
9557 * include/bits/dlfcn.h: Likewise.
9558 * include/langinfo.h: Likewise.
9559 * include/monetary.h: Likewise.
9560 * include/sys/poll.h: Likewise.
9561
9562 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9563 for __USE_GNU.
9564 * posix/spawn.h: Define __need_sigset_t.
9565 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9566 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9567 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9568 to get sigevent_t only.
9569 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9570 only for __USE_GNU.
9571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9572 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9573 process_vm_writev only for __USE_GNU.
9574 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9575
9576 * conform/Makefile: For now ignore errors from run-conformtest.
9577 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9578 POSIX to avoid namespace pollution. Don't prepend headers.
9579 * conform/data/aio.h-data: Fixes for POSIX testing.
9580 * conform/data/fcntl.h-data: Likewise.
9581 * conform/data/glob.h-data: Likewise.
9582 * conform/data/grp.h-data: Likewise.
9583 * conform/data/pthread.h-data: Likewise.
9584 * conform/data/pwd.h-data: Likewise.
9585 * conform/data/signal.h-data: Likewise.
9586 * conform/data/spawn.h-data: Likewise.
9587 * conform/data/stdio.h-data: Likewise.
9588 * conform/data/stdlib.h-data: Likewise.
9589 * conform/data/stropts.h-data: Likewise.
9590 * conform/data/sys/mman.h-data: Likewise.
9591 * conform/data/sys/stat.h-data: Likewise.
9592 * conform/data/sys/types.h-data: Likewise.
9593 * conform/data/sys/wait.h-data: Likewise.
9594 * conform/data/time.h-data: Likewise.
9595 * conform/data/unistd.h-data: Likewise.
9596 * conform/data/utime.h-data: Likewise.
9597
9598 * io/sys/stat.h: fchmod was always in POSIX.
9599 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9600 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9601 * rt/aio.h: Define __need_timespec before including <time.h>.
9602 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9603 struct. Add forward declaration of pthread_attr_t and use it in
9604 sigevent.
9605 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9606 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9607 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9608 always remove CLK_TCK definition.
9609
c20105c3
AS
96102012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9611
9612 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9613
7a270350
UD
96142012-02-25 Ulrich Drepper <drepper@gmail.com>
9615
31341567
UD
9616 * conform/run-conformtest.sh: New file.
9617 * conform/Makefile: Run run-conformtest for tests.
9618 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9619 support.
9620
9621 * conform/data/uchar.h-data: New file.
9622 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9623 * conform/data/arpa/inet.h-data: Likewise.
9624 * conform/data/assert.h-data: Likewise.
9625 * conform/data/complex.h-data: Likewise.
9626 * conform/data/cpio.h-data: Likewise.
9627 * conform/data/ctype.h-data: Likewise.
9628 * conform/data/dirent.h-data: Likewise.
9629 * conform/data/dlfcn.h-data: Likewise.
9630 * conform/data/errno.h-data: Likewise.
9631 * conform/data/fcntl.h-data: Likewise.
9632 * conform/data/float.h-data: Likewise.
9633 * conform/data/fmtmsg.h-data: Likewise.
9634 * conform/data/fnmatch.h-data: Likewise.
9635 * conform/data/ftw.h-data: Likewise.
9636 * conform/data/glob.h-data: Likewise.
9637 * conform/data/grp.h-data: Likewise.
9638 * conform/data/iconv.h-data: Likewise.
9639 * conform/data/inttypes.h-data: Likewise.
9640 * conform/data/langinfo.h-data: Likewise.
9641 * conform/data/libgen.h-data: Likewise.
9642 * conform/data/limits.h-data: Likewise.
9643 * conform/data/locale.h-data: Likewise.
9644 * conform/data/math.h-data: Likewise.
9645 * conform/data/monetary.h-data: Likewise.
9646 * conform/data/mqueue.h-data: Likewise.
9647 * conform/data/ndbm.h-data: Likewise.
9648 * conform/data/net/if.h-data: Likewise.
9649 * conform/data/netdb.h-data: Likewise.
9650 * conform/data/netinet/in.h-data: Likewise.
9651 * conform/data/nl_types.h-data: Likewise.
9652 * conform/data/poll.h-data: Likewise.
9653 * conform/data/pthread.h-data: Likewise.
9654 * conform/data/pwd.h-data: Likewise.
9655 * conform/data/regex.h-data: Likewise.
9656 * conform/data/sched.h-data: Likewise.
9657 * conform/data/search.h-data: Likewise.
9658 * conform/data/semaphore.h-data: Likewise.
9659 * conform/data/setjmp.h-data: Likewise.
9660 * conform/data/signal.h-data: Likewise.
9661 * conform/data/spawn.h-data: Likewise.
9662 * conform/data/stdarg.h-data: Likewise.
9663 * conform/data/stdio.h-data: Likewise.
9664 * conform/data/stdlib.h-data: Likewise.
9665 * conform/data/string.h-data: Likewise.
9666 * conform/data/strings.h-data: Likewise.
9667 * conform/data/stropts.h-data: Likewise.
9668 * conform/data/sys/ipc.h-data: Likewise.
9669 * conform/data/sys/mman.h-data: Likewise.
9670 * conform/data/sys/msg.h-data: Likewise.
9671 * conform/data/sys/resource.h-data: Likewise.
9672 * conform/data/sys/select.h-data: Likewise.
9673 * conform/data/sys/sem.h-data: Likewise.
9674 * conform/data/sys/shm.h-data: Likewise.
9675 * conform/data/sys/socket.h-data: Likewise.
9676 * conform/data/sys/stat.h-data: Likewise.
9677 * conform/data/sys/statvfs.h-data: Likewise.
9678 * conform/data/sys/time.h-data: Likewise.
9679 * conform/data/sys/timeb.h-data: Likewise.
9680 * conform/data/sys/times.h-data: Likewise.
9681 * conform/data/sys/types.h-data: Likewise.
9682 * conform/data/sys/uio.h-data: Likewise.
9683 * conform/data/sys/un.h-data: Likewise.
9684 * conform/data/sys/utsname.h-data: Likewise.
9685 * conform/data/sys/wait.h-data: Likewise.
9686 * conform/data/syslog.h-data: Likewise.
9687 * conform/data/tar.h-data: Likewise.
9688 * conform/data/termios.h-data: Likewise.
9689 * conform/data/utime.h-data: Likewise.
9690 * conform/data/utmpx.h-data: Likewise.
9691 * conform/data/varargs.h-data: Likewise.
9692 * conform/data/wchar.h-data: Likewise.
9693 * conform/data/wctype.h-data: Likewise.
9694 * conform/data/wordexp.h-data: Likewise.
9695
9696 * include/stropts.h: New file.
9697 * include/uchar.h: New file.
9698 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9699 * include/assert.h: Likewise.
9700 * include/ctype.h: Likewise.
9701 * include/dirent.h: Likewise.
9702 * include/dlfcn.h: Likewise.
9703 * include/fcntl.h: Likewise.
9704 * include/fnmatch.h: Likewise.
9705 * include/glob.h: Likewise.
9706 * include/grp.h: Likewise.
9707 * include/libio.h: Likewise.
9708 * include/locale.h: Likewise.
9709 * include/math.h: Likewise.
9710 * include/net/if.h: Likewise.
9711 * include/netdb.h: Likewise.
9712 * include/netinet/in.h: Likewise.
9713 * include/pthread.h: Likewise.
9714 * include/pwd.h: Likewise.
9715 * include/regex.h: Likewise.
9716 * include/sched.h: Likewise.
9717 * include/search.h: Likewise.
9718 * include/setjmp.h: Likewise.
9719 * include/signal.h: Likewise.
9720 * include/stdio.h: Likewise.
9721 * include/stdlib.h: Likewise.
9722 * include/string.h: Likewise.
9723 * include/sys/cdefs.h: Likewise.
9724 * include/sys/mman.h: Likewise.
9725 * include/sys/msg.h: Likewise.
9726 * include/sys/resource.h: Likewise.
9727 * include/sys/select.h: Likewise.
9728 * include/sys/socket.h: Likewise.
9729 * include/sys/stat.h: Likewise.
9730 * include/sys/statvfs.h: Likewise.
9731 * include/sys/time.h: Likewise.
9732 * include/sys/times.h: Likewise.
9733 * include/sys/uio.h: Likewise.
9734 * include/sys/utsname.h: Likewise.
9735 * include/sys/wait.h: Likewise.
9736 * include/termios.h: Likewise.
9737 * include/time.h: Likewise.
9738 * include/ulimit.h: Likewise.
9739 * include/unistd.h: Likewise.
9740 * include/utime.h: Likewise.
9741 * include/wchar.h: Likewise.
9742 * include/wctype.h: Likewise.
9743 * include/wordexp.h: Likewise.
9744
9745 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9746
7a270350
UD
9747 * time/time.h: TIME_UTC must be a macro.
9748 Make timespec_get available for ISO C11 only as well.
9749
7724defc
UD
97502012-02-24 Ulrich Drepper <drepper@gmail.com>
9751
9752 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9753 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9754
6b1d1d46
JM
97552012-02-24 Joseph Myers <joseph@codesourcery.com>
9756
9757 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9758
0f8bbd69
JM
97592012-02-24 Joseph Myers <joseph@codesourcery.com>
9760
9761 * manual/texinfo.tex: Update to version 2012-01-19.16.
9762
66ab80bc
JM
97632012-02-24 Joseph Myers <joseph@codesourcery.com>
9764
9765 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9766
74981cc5
RM
97672012-02-24 Roland McGrath <roland@hack.frob.com>
9768
ee968201
RM
9769 [BZ #13738]
9770 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9771 * manual/fdl-1.3.texi: New file.
9772 * manual/fdl-1.1.texi: File removed.
9773
74981cc5
RM
9774 [BZ #13738]
9775 * manual/libc.texinfo (FDL_VERSION): New @set.
9776 Use it for mention of FDL in cover text.
9777 (Documentation License): Use it in @include file name.
9778
7bb764bc
JM
97792012-02-22 Joseph Myers <joseph@codesourcery.com>
9780 Roland McGrath <roland@hack.frob.com>
9781
9782 [BZ #5461]
9783 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9784 not LONG_LONG_MAX and LONG_LONG_MIN.
9785 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9786 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9787 name.
9788 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9789
6cbeae47
JM
97902012-02-22 Joseph Myers <joseph@codesourcery.com>
9791
9792 [BZ #2547]
9793 [BZ #11365]
9794 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9795 manipulate bits before adding and subtracting TWO23[sx].
9796 * math/libm-test.inc (nearbyint_test): Add more tests.
9797
fe45ce09
JM
97982012-02-22 Joseph Myers <joseph@codesourcery.com>
9799
9800 [BZ #2548]
9801 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9802 bits before adding and subtracting TWO23[sx].
9803 * math/libm-test.inc (rint_test): Add more tests.
9804 (rint_test_tonearest): Likewise.
9805 (rint_test_towardzero): Likewise.
9806 (rint_test_downward): Likewise.
9807 (rint_test_upward: Likewise.
9808
ff3b3d82
JM
98092012-02-22 Joseph Myers <joseph@codesourcery.com>
9810
9811 [BZ #10110]
9812 * include/stdc-predef.h: New file. Extracted from features.h.
9813 * include/features.h: Include stdc-predef.h.
9814 * Makefile (headers): Add stdc-predef.h.
9815 * CONFORMANCE (Compiler limitations): Update.
9816
ef0aab35
JM
98172012-02-22 Joseph Myers <joseph@codesourcery.com>
9818
9819 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9820
58639409
DM
98212012-02-21 David S. Miller <davem@davemloft.net>
9822
9823 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9824 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9825
c0e70b25
DM
98262012-02-20 David S. Miller <davem@davemloft.net>
9827
9828 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9829 using a normal save/restore sequence, rather than allocating a
9830 dummy stack frame just to store a frame pointer and restore.
9831 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9832
fb06851d
JM
98332012-02-21 Joseph Myers <joseph@codesourcery.com>
9834
9835 * manual/install.texi: Fix stray word in line-wrapped comment.
9836
7a8b71c3
DM
98372012-02-20 David S. Miller <davem@davemloft.net>
9838
d510c123
DM
9839 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9840 both binutils and gcc support GOTDATA.
9841
0722d7c2
DM
9842 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9843 "rd %pc" in the PIC register setup sequences.
9844
3d2b3019
DM
9845 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9846 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9847 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9848 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9849 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9851 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9852 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9854 (SYSCALL_ERROR_HANDLER): Likewise.
9855 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9856 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9857 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9858 (SYSCALL_ERROR_HANDLER): Likewise.
9859
c80098a9
DM
9860 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9861 (HAVE_GCC_GOTDATA): New.
9862 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9863 relocation support in both binutils and gcc.
9864 * sysdeps/sparc/elf/configure: Regenerate.
9865
3a2545a0
DM
9866 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9867 * sysdeps/sparc/sparc32/elf/configure: Delete.
9868 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9869 * sysdeps/sparc/sparc64/elf/configure: Delete.
9870 * sysdeps/sparc/elf/configure.in: New file.
9871 * sysdeps/sparc/elf/configure: Generate.
9872
7a8b71c3
DM
9873 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9874 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9875 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9876 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9877 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9878
f1e86fca
JM
98792012-02-21 Joseph Myers <joseph@codesourcery.com>
9880
9881 * manual/install.texi: Do not mention specific glibc version
9882 numbers.
9883 * manual/libc.texinfo (VERSION, UPDATED): Update.
9884 (@copying): Use @copyright{} and range of years.
9885
0e7dfaef
JM
98862012-02-21 Joseph Myers <joseph@codesourcery.com>
9887
9888 [BZ #13695]
9889 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9890 [crti.S not in sysdirs] (generated): Do not append.
9891 [crti.S not in sysdirs] (omit-deps): Likewise.
9892 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9893 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9894 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9895 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9896 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9897 Likewise.
9898 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9899 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9900 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9901 * csu/defs.awk: Remove file.
9902 * sysdeps/generic/initfini.c: Likewise.
9903 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9904 variable.
9905 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9906 Likewise.
9907
599af3ca
JM
99082012-02-20 Joseph Myers <joseph@codesourcery.com>
9909
9910 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9911 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9912 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9913 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9914 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9915 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9916 <bits/epoll.h>.
9917 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9918 (__EPOLL_PACKED): Define to empty if not defined by
9919 <bits/epoll.h>.
9920 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9922 bits/epoll.h.
9923
0e499750
JM
99242012-02-20 Joseph Myers <joseph@codesourcery.com>
9925
9926 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9927 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9928 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9929 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9930 <bits/timerfd.h>.
9931 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9933 bits/timerfd.h.
9934
5ad91f6e
JM
99352012-02-20 Joseph Myers <joseph@codesourcery.com>
9936
9937 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9938 in C locale.
9939 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9940 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9941 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9943
06b99b02
AJ
99442012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9945
9946 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9947 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9948
7638c0fd
AS
99492012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9950
9951 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9952 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9953 defined.
9954 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9955 Likewise.
9956 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9957 entry for 2.16.
9958
92221550
AJ
99592012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9960
9961 * math/w_acos.c: Use non-signaling floating-point comparisons.
9962 * math/w_acosf.c: Likewise.
9963 * math/w_acosh.c: Likewise.
9964 * math/w_acoshf.c: Likewise.
9965 * math/w_acoshl.c: Likewise.
9966 * math/w_acosl.c: Likewise.
9967 * math/w_asin.c: Likewise.
9968 * math/w_asinf.c: Likewise.
9969 * math/w_asinl.c: Likewise.
9970 * math/w_atanh.c: Likewise.
9971 * math/w_atanhf.c: Likewise.
9972 * math/w_atanhl.c: Likewise.
9973 * math/w_exp2.c: Likewise.
9974 * math/w_exp2f.c: Likewise.
9975 * math/w_exp2l.c: Likewise.
9976 * math/w_j0.c: Likewise.
9977 * math/w_j0f.c: Likewise.
9978 * math/w_j0l.c: Likewise.
9979 * math/w_j1.c: Likewise.
9980 * math/w_j1f.c: Likewise.
9981 * math/w_j1l.c: Likewise.
9982 * math/w_jn.c: Likewise.
9983 * math/w_jnf.c: Likewise.
9984 * math/w_log.c: Likewise.
9985 * math/w_log10.c: Likewise.
9986 * math/w_log10f.c: Likewise.
9987 * math/w_log10l.c: Likewise.
9988 * math/w_log2.c: Likewise.
9989 * math/w_log2f.c: Likewise.
9990 * math/w_log2l.c: Likewise.
9991 * math/w_logf.c: Likewise.
9992 * math/w_logl.c: Likewise.
9993 * math/w_sqrt.c: Likewise.
9994 * math/w_sqrtf.c: Likewise.
9995 * math/w_sqrtl.c: Likewise.
9996 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9997 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9998 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9999 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10000 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10001
ebaf36eb
JM
100022012-02-19 Joseph Myers <joseph@codesourcery.com>
10003
10004 [BZ #9739]
10005 * manual/string.texi (strnlen): Use correct parameter name in
10006 equivalent expression.
10007
71c254a6
JM
100082012-02-19 Joseph Myers <joseph@codesourcery.com>
10009
10010 [BZ #11174]
10011 * manual/users.texi (seteuid): Consistently use neweuid for
10012 argument name.
10013
16d2c631
JM
100142012-02-19 Joseph Myers <joseph@codesourcery.com>
10015
10016 [BZ #13704]
10017 * manual/nss.texi (Services in the NSS configuration): Correct
10018 list of services in example configuration file.
10019
cd837b09
NB
100202012-02-19 Nick Bowler <nbowler@draconx.ca>
10021
10022 [BZ #11322]
10023 * manual/arith.texi: Remove statements about negative zero
10024 behaving identically to zero.
10025
02c4bbad
JM
100262012-02-18 Joseph Myers <joseph@codesourcery.com>
10027
10028 [BZ #5993]
10029 * manual/install.texi: Do not document upgrading from libc5.
10030
366842e7
JM
100312012-02-18 Joseph Myers <joseph@codesourcery.com>
10032
10033 [BZ #4596]
10034 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10035
dd54084d
DM
100362012-02-18 David S. Miller <davem@davemloft.net>
10037
10038 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10039 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10040 %o7 across the call.
10041 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10042 instead.
10043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10044 SETUP_PIC_REG_LEAF.
10045 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10046 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10047 * sysdeps/sparc/crtn.S: Likewise.
10048
2bcc53a3
UD
100492012-02-17 Ulrich Drepper <drepper@gmail.com>
10050
10051 * aout/Makefile: Remove.
10052
09c093b5
RK
100532012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10054
10055 [BZ #13058]
10056 * manual/examples/argp-ex1.c (main): Format definition in GNU
10057 style.
10058 * manual/examples/argp-ex2.c (main): Likewise.
10059 * manual/examples/argp-ex3.c (main): Likewise.
10060 * manual/examples/argp-ex4.c (main): Likewise.
10061 * manual/examples/longopt.c (main): Use new-style prototype
10062 definition.
10063 * manual/examples/strncat.c (main): Specify return type and use
10064 (void) for arguments.
10065 * manual/examples/subopt.c (main): Use char **argv argument.
10066
2ee633a2
JM
100672012-02-17 Joseph Myers <joseph@codesourcery.com>
10068
10069 [BZ #5077]
10070 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10071 rounding modes.
10072
0520adde
FB
100732012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10074
10075 [BZ #6907]
10076 * manual/string.texi (strchr): Change when strchrnul is
10077 recommended.
10078
3f4081cd
DGM
100792012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10080
10081 [BZ #174]
10082 * manual/locale.texi (setlocale): Document LOCPATH.
10083
d1b10e78
JM
100842012-02-17 Joseph Myers <joseph@codesourcery.com>
10085
10086 [BZ #10210]
10087 * manual/process.texi (execle): Move @dots{} before last argument.
10088
79c6869c
PB
100892012-02-17 Paul Bolle <pebolle@tiscali.nl>
10090
10091 [BZ #12047]
10092 * manual/charset.texi (Generic Charset Conversion): Fix typo
10093 (LC_TYPE -> LC_CTYPE).
10094
cc6e48bc
NB
100952012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10096
10097 [BZ #5805]
10098 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10099 (scalbnf): Likewise.
10100 (scalbnl): Likewise.
10101 (scalbln): Likewise.
10102 (scalblnf): Likewise.
10103 (scalblnl): Likewise.
10104 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10105 (vwarnx): Likewise.
10106 (verr): Likewise.
10107 (verrx): Likewise.
10108 * manual/filesys.texi (telldir): Use braces around return type.
10109 * manual/llio.texi (mmap): Add space after comma.
10110 (mmap64): Likewise.
10111 * manual/math.texi (jn): Use @var{} on parameter names.
10112 (jnf): Likewise.
10113 (jnl): Likewise.
10114 (yn): Likewise.
10115 (ynf): Likewise.
10116 (ynl): Likewise.
10117 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10118 line.
10119 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10120 "...".
10121 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10122 (sched_get_priority_max): Likewise.
10123 * manual/signal.texi (sigvec): Add space after comma.
10124 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10125 names.
10126 (if_indextoname): Likewise.
10127 (if_freenameindex): Likewise.
10128 (sendto): Use ',' instead of '.' in prototype.
10129 * manual/startup.texi (syscall): Use @dots{} instead of literal
10130 "...".
10131 * manual/stdio.texi (__fpending): Separate initial words of
10132 paragraph from @deftypefun line.
10133 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10134 "...".
10135 (vsyslog): Use @var{} on parameter names.
10136 * manual/terminal.texi (stty): Use @var{} on parameter names.
10137 * manual/users.texi (getutmp): Use @var{} on parameter names.
10138 (getutmpx): Likewise.
10139
5b23062f
JM
101402012-02-17 Joseph Myers <joseph@codesourcery.com>
10141
10142 [BZ #6884]
10143 * manual/stdio.texi (fopen): Fix typos in description of
10144 ",ccs=STRING".
10145
8dee4833
AJ
101462012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10147
10148 [BZ #4026]
10149 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10150 get clock_id definition.
10151
9078ce93
TS
101522012-02-17 Thomas Schwinge <thomas@schwinge.name>
10153
10154 [BZ #4822]
10155 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10156 (madvise): Cast every argument to void on its own.
10157
3835c55f
JM
101582012-02-17 Joseph Myers <joseph@codesourcery.com>
10159
10160 [BZ #9902]
10161 * manual/startup.texi (Exit Status): Fix typo.
10162
35c47e37
JM
101632012-02-17 Joseph Myers <joseph@codesourcery.com>
10164
10165 [BZ #10140]
10166 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10167 * manual/examples/argp-ex2.c: Likewise.
10168 * manual/examples/argp-ex3.c: Likewise.
10169
e3b69ca7
RH
101702012-02-16 Richard Henderson <rth@redhat.com>
10171
10172 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10173 * sysdeps/s390/s390-32/initfini.c: Remove.
10174 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10175 * sysdeps/s390/s390-64/initfini.c: Remove.
10176
df83af67
KK
101772012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10178
10179 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10180 compiler output for sysdeps/generic/initfini.c.
10181 * sysdeps/sh/elf/initfini.c: Remove file.
10182
f63f3380
DM
101832012-02-16 David S. Miller <davem@davemloft.net>
10184
fb59b3a4
DM
10185 [BZ #11494]
10186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10187
f63f3380
DM
10188 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10189 * sysdeps/sparc/crti.S: New file.
10190 * sysdeps/sparc/crtn.S: New file.
10191 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10192 * sysdeps/sparc/sparc64/Makefile: Likewise.
10193
df6a4a4a
MF
101942012-02-15 Mike Frysinger <vapier@gentoo.org>
10195
6dd8f3dc 10196 [BZ #3335]
df6a4a4a
MF
10197 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10198
1cac7236
RM
101992012-02-15 Roland McGrath <roland@hack.frob.com>
10200
d2c736f8
RM
10201 [BZ #4822]
10202 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10203
1cac7236
RM
10204 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10205 (write, read, close): Likewise.
10206 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10207
8e475601
JM
102082012-02-15 Joseph Myers <joseph@codesourcery.com>
10209
10210 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10211 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10212 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10213 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10214 <bits/signalfd.h>.
10215 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10217 bits/signalfd.h.
10218
ed656b40
MP
102192012-02-14 Marek Polacek <polacek@redhat.com>
10220
10221 * sysdeps/x86_64/crti.S: New file.
10222 * sysdeps/x86_64/crtn.S: New file.
10223 * sysdeps/x86_64/elf/initfini.c: Remove file.
10224
2a979d3a
JM
102252012-02-13 Joseph Myers <joseph@codesourcery.com>
10226
10227 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10228 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10229 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10230 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10231 <bits/inotify.h>.
10232 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10234 bits/inotify.h.
10235
2a418ac3
JM
102362012-02-13 Joseph Myers <joseph@codesourcery.com>
10237
10238 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10239 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10240 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10241 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10242 <bits/eventfd.h>.
10243 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10245 bits/eventfd.h.
10246
fb779be7
TS
102472012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10248
e19e83c5
RM
10249 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10250 __feraiseexcept instead of feraiseexcept.
7c35ffed 10251
fb779be7
TS
10252 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10253 nanosleep invocations.
10254 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10255 strings, and add error checking for a nanosleep invocations.
10256
59ba27a6
PE
102572012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10258
10259 Replace FSF snail mail address with URLs, as per GNU coding standards.
10260 Most of the snail mail addresses were wrong anyway, and omitting
10261 them makes the source code easier to maintain. Almost all of the
10262 changes are to license notices and to locale LC_IDENTIFICATION
10263 addresses, except for this one:
10264 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10265 not its snail mail address.
10266
57b957eb
RH
102672012-02-09 Richard Henderson <rth@twiddle.net>
10268
af850b1c
RH
10269 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10270 of kernel-features.h.
10271
57b957eb
RH
10272 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10273
6b73181a
MP
102742012-02-08 Marek Polacek <polacek@redhat.com>
10275
10276 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10277 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10278 * sysdeps/gnu/_G_config.h: Likewise.
10279 * sysdeps/generic/_G_config.h: Likewise.
10280
26ecc33a
AS
102812012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10282
6c6dbc63
AS
10283 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10284 tests.
10285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10286
e216c012
AS
10287 * sysdeps/powerpc/powerpc32/crti.S: New file.
10288 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10289 * sysdeps/powerpc/powerpc64/crti.S: New file.
10290 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10291
26ecc33a
AS
10292 * Makeconfig (have-initfini): Don't set.
10293 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10294 * configure.in (nopic_initfini): Don't substitute.
10295 * config.h.in (HAVE_INITFINI): Don't #undef.
10296 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10297 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10298
3add8e13
JM
102992012-02-08 Joseph Myers <joseph@codesourcery.com>
10300
10301 Support crti.S and crtn.S provided directly by architectures.
10302 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10303 [crti.S in sysdirs] (omit-deps): Likewise.
10304 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10305 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10306 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10307 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10308 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10309 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10310 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10311 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10312 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10313 compiler output for sysdeps/generic/initfini.c.
10314 * sysdeps/i386/elf/Makefile: Remove file.
10315 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10316
a22f12b4
MP
103172012-02-07 Marek Polacek <polacek@redhat.com>
10318
10319 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10320 * sysdeps/gnu/_G_config.h: Likewise.
10321 * sysdeps/mach/hurd/_G_config.h: Likewise.
10322
148cf100
MP
103232012-02-07 Marek Polacek <polacek@redhat.com>
10324
10325 * math/Makefile (tests): Add tst-CMPLX2.
10326 * math/tst-CMPLX2.c: New file.
10327
cfdc0dd7
AS
103282012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10329
84ba42c4
AS
10330 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10331
cfdc0dd7
AS
10332 * math/libm-test.inc (jn_test): Add missing L suffix.
10333
622c86f4
MP
103342012-02-06 Marek Polacek <polacek@redhat.com>
10335
10336 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10337 * sysdeps/i386/fpu/e_powf.S: Likewise.
10338 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10339 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10340 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10341 * sysdeps/i386/fpu/e_pow.S: Likewise.
10342 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10343 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10344 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10345 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10346 * sysdeps/i386/fpu/e_log2.S: Likewise.
10347 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10348 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10349 * sysdeps/i386/fpu/e_powl.S: Likewise.
10350 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10351 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10352 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10353 * sysdeps/i386/fpu/e_logl.S: Likewise.
10354 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10355 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10356 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10357 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10358 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10359 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10360 * sysdeps/i386/fpu/e_log.S: Likewise.
10361 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10362 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10363 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10364 * sysdeps/i386/fpu/e_logf.S: Likewise.
10365 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10366 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10367 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10368 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10369 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10370 * sysdeps/i386/fpu/e_log10.S: Likewise.
10371 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10372 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10373 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10374 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10375 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10376 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10377 * sysdeps/i386/asm-syntax.h: Likewise.
10378 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10379 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10380 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10381 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10382 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10383 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10384 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10385 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10386 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10387 * sysdeps/powerpc/sysdep.h: Likewise.
10388 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10389 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10390
d4a54ac6
JM
103912012-02-06 Joseph Myers <joseph@codesourcery.com>
10392
10393 [BZ #411]
10394 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10395
314054ea
JM
103962012-02-06 Joseph Myers <joseph@codesourcery.com>
10397
10398 * sysdeps/i386/sysdep.h: Include <features.h>.
10399 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10400 version.
10401
d8e0ca50
JM
104022012-02-05 Joseph Myers <joseph@codesourcery.com>
10403
10404 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10405 Define.
10406 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10407 LOAD_PIC_REG_STR.
10408
b1da7dd9
JM
104092012-02-03 Joseph Myers <joseph@codesourcery.com>
10410
10411 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10412 (SETUP_PIC_REG): Use GET_PC_THUNK.
10413 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10414 macro.
10415
9a1d9254
JM
104162012-02-03 Joseph Myers <joseph@codesourcery.com>
10417
10418 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10419 for non-PIC compilation.
10420 (SETUP_PIC_REG): Add .p2align directive.
10421 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10422 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10423 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10424 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10425 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10426 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10427 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10429 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10430 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10431 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10432 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10433 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10434 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10435 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10436 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10437 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10438 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10439 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10440 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10441 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10442 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10443 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10444 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10445 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10446 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10447 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10449 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10450 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10451 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10452 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10453 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10454 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10455 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10456 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10457 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10458 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10459 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10460 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10461 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10462
65dc3b75
JM
104632012-02-03 Joseph Myers <joseph@codesourcery.com>
10464
10465 * math/tst-CMPLX.c: Include <stdio.h>.
10466
d55bf177
JM
104672012-01-31 Joseph Myers <joseph@codesourcery.com>
10468
10469 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10470 float.
10471 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10472 * sysdeps/sparc/bits/mathdef.h: Likewise.
10473
69db4f8f
MP
104742012-01-31 Marek Polacek <polacek@redhat.com>
10475
10476 * libio/libio.h: Don't define _PARAMS.
10477 * locale/programs/config.h: Don't define PARAMS.
10478 * stdlib/strtol_l.c: Likewise.
10479 (__strtol_l): Remove PARAMS from the prototype.
10480
41b81892
UD
104812012-01-31 Ulrich Drepper <drepper@gmail.com>
10482
3b49edc0
UD
10483 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10484 names. Just use the correct names. Remove unnecessary wrapper
10485 functions.
10486 * malloc/arena.c: Likewise.
10487 * malloc/hooks.c: Likewise.
10488
41b81892
UD
10489 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10490 ARENA_TEST says not to. Simplify test for creation of a new arena.
10491 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10492
27a25b6e
UD
104932012-01-30 Ulrich Drepper <drepper@gmail.com>
10494
10495 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10496 into tail calls.
10497 (update_get_addr): New function.
10498 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10499 GET_ADDR_MODULE parameter.
10500
c8a89e7d
JM
105012012-01-30 Joseph Myers <joseph@codesourcery.com>
10502
10503 * crypt/cert.c: Remove __STDC__ conditionals.
10504 * crypt/crypt-entry.c: Likewise.
10505 * crypt/crypt_util.c: Likewise.
10506 * libio/filedoalloc.c: Likewise.
10507 * libio/fileops.c: Likewise.
10508 * libio/genops.c: Likewise.
10509 * libio/iofclose.c: Likewise.
10510 * libio/iofdopen.c: Likewise.
10511 * libio/iofopen.c: Likewise.
10512 * libio/iofopen64.c: Likewise.
10513 * libio/iogetdelim.c: Likewise.
10514 * libio/iopopen.c: Likewise.
10515 * libio/obprintf.c: Likewise.
10516 * libio/oldfileops.c: Likewise.
10517 * libio/oldiofclose.c: Likewise.
10518 * libio/oldiofdopen.c: Likewise.
10519 * libio/oldiofopen.c: Likewise.
10520 * libio/oldiopopen.c: Likewise.
10521 * libio/wfiledoalloc.c: Likewise.
10522 * libio/wgenops.c: Likewise.
10523 * locale/programs/xmalloc.c: Likewise.
10524 * misc/syslog.c: Likewise.
10525 * stdio-common/xbug.c: Likewise.
10526 * string/memchr.c: Likewise.
10527 * string/memcmp.c: Likewise.
10528 * string/memrchr.c: Likewise.
10529 * string/rawmemchr.c: Likewise.
10530 * sysdeps/posix/getcwd.c: Likewise.
10531 * time/strftime_l.c: Likewise.
10532
3b100462
JM
105332012-01-30 Joseph Myers <joseph@codesourcery.com>
10534
10535 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10536 * config.make.in (config-cflags-sse2avx): Define.
10537 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10538 Fix typo.
10539
607998af
CM
105402012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10541
10542 * scripts/config.guess: Update from upstream config git repository.
10543 * scripts/config.sub: Likewise.
10544
3601428f
CM
105452012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10546
3ac8b282
CM
10547 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10548 (EM_NUM): Update.
10549 (R_TILEPRO_*, R_TILEGX_*): New macros.
10550
e034841e
CM
10551 * scripts/firstversions.awk: Fix bug in version range handling.
10552
540d7568
CM
10553 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10554
3601428f
CM
10555 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10556
463de862
CM
10557 * include/sys/epoll.h: New file.
10558 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10559 libc_hidden_def.
10560
73139a76
UD
105612012-01-28 Ulrich Drepper <drepper@gmail.com>
10562
96bc5b45
UD
10563 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10564 Avoid unnecessary __WORDSIZE == 64 test.
10565 (fmaxf): Use VEX format if possible.
10566 (fmax): Likewise.
10567 (fminf): Likewise.
10568 (fmin): Likewise.
10569
56f6f6a2
UD
10570 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10571 * math/math_private.h: Remove libc_fegetround* and
10572 libc_fesetround*.
10573 * sysdeps/i386/configure.in: Check for -msse2avx.
10574 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10575 also if SSE2AVX is defined.
10576 Remove libc_fegetround* and libc_fesetround*.
10577 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10578 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10579 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10580 of HAS_YMM_USABLE.
10581 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10582 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10583 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10584 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10585 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10586
73139a76
UD
10587 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10588
d73f93a4
AZ
105892012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10590
10591 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10592 size is not set.
10593 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10594
6ee65ed6
UD
105952012-01-27 Ulrich Drepper <drepper@gmail.com>
10596
10597 [BZ #13618]
10598 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10599 relocation.
10600 * Makeconfig (libm): Define.
10601 * elf/Makefile: Add rules to build and run tst-relsort1.
10602 * elf/tst-relsort1.c: New file.
10603 * elf/tst-relsort1mod1.c: New file.
10604 * elf/tst-relsort1mod2.c: New file.
10605
8db21882
JM
106062012-01-27 Joseph Myers <joseph@codesourcery.com>
10607
10608 * math/s_ldexp.c: Remove __STDC__ conditionals.
10609 * math/s_ldexpf.c: Likewise.
10610 * math/s_ldexpl.c: Likewise.
10611 * math/s_nextafter.c: Likewise.
10612 * math/s_nexttowardf.c: Likewise.
10613 * math/s_significand.c: Likewise.
10614 * math/s_significandf.c: Likewise.
10615 * math/s_significandl.c: Likewise.
10616 * math/w_jnl.c: Likewise.
10617 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10618 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10619 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10620 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10621 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10623 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10625 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10626 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10627 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10630 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10631 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10633 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10634 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10636 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10637 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10638 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10639 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10640 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10641 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10642 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10643 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10644 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10645 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10646 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10647 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10648 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10649 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10650 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10651 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10652 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10653 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10654 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10655 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10656 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10657 * sysdeps/ieee754/k_standard.c: Likewise.
10658 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10659 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10660 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10661 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10662 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10663 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10664 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10665 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10666 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10667 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10668 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10669 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10670 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10671 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10672 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10673 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10674 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10675 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10676 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10677 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10678 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10679 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10680 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10681 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10682 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10683 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10687 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10688 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10689 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10690 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10691 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10692 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10693 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10694 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10695 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10696 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10697 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10698 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10699 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10700 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10701 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10712 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10718 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10719 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10721 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10722 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10723 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10724 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10725 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10727 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10728 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10732 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10733 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10737 * sysdeps/ieee754/s_matherr.c: Likewise.
10738 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10739 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10741 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10742
965a54a4
JM
107432012-01-26 Joseph Myers <joseph@codesourcery.com>
10744
10745 * crypt/md5.h: Remove __STDC__ conditionals.
10746 * libio/libioP.h: Likewise.
10747 * locale/programs/config.h: Likewise.
10748 * sysdeps/generic/sysdep.h: Likewise.
10749 * sysdeps/i386/asm-syntax.h: Likewise.
10750 * sysdeps/s390/asm-syntax.h: Likewise.
10751 * sysdeps/unix/sysdep.h: Likewise.
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10754
7071ad79
JM
107552012-01-26 Joseph Myers <joseph@codesourcery.com>
10756
10757 * libio/libio.h: Remove __STDC__ conditionals.
10758 * malloc/obstack.h: Likewise.
10759 * math/complex.h: Likewise.
10760 * math/math.h: Likewise.
10761 * sysdeps/generic/_G_config.h: Likewise.
10762 * sysdeps/gnu/_G_config.h: Likewise.
10763 * sysdeps/mach/hurd/_G_config.h: Likewise.
10764 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10765 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10766 * sysdeps/sparc/bits/mathdef.h: Likewise.
10767
afc5ed09
UD
107682012-01-26 Ulrich Drepper <drepper@gmail.com>
10769
10770 [BZ #13583]
10771 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10772 Clean up HAS_* macros.
afc5ed09 10773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10774 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10775 possible.
10776 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10777 HAS_AVX.
10778 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10779 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10780 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10781 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10782 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10783
bdb6de1d
JM
107842012-01-25 Joseph Myers <joseph@codesourcery.com>
10785
10786 * elf/tst-unique3.cc (gets): Remove declaration.
10787 * elf/tst-unique3lib.cc (gets): Likewise.
10788 * elf/tst-unique3lib2.cc (gets): Likewise.
10789 * elf/tst-unique4.cc (gets): Likewise.
10790
b15549e6
UD
107912012-01-24 Ulrich Drepper <drepper@gmail.com>
10792
10793 * include/stdio.h: Add C++ protection. Add gets declarations and
10794 definitions.
10795 * debug/tst-chk1.c: Don't declare gets here.
10796 * stdio-common/tst-gets.c: Likewise.
10797
a037381f
JM
107982012-01-24 Joseph Myers <joseph@codesourcery.com>
10799
10800 * posix/glob: Remove directory.
10801
f1d4aa75
JM
108022012-01-24 Joseph Myers <joseph@codesourcery.com>
10803
10804 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10805
81c0c964
PT
108062012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10807
10808 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10809 of the non-standard EPFNOSUPPORT.
10810
0ea698ae
ST
108112011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10812
10813 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10814 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10815 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10816
d220b117
UD
108172012-01-21 Ulrich Drepper <drepper@gmail.com>
10818
10819 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10820
3e1aa84e
UD
108212012-01-20 Ulrich Drepper <drepper@gmail.com>
10822
10823 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10824 transient errors.
10825 * nscd/grpcache.c (cache_addgr): Likewise.
10826 * nscd/hstcache.c (cache_addhst): Likewise.
10827 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10828 * nscd/pwdcache.c (cache_addpw): Likewise.
10829 * nscd/servicescache.c (cache_addserv): Likewise.
10830
400aa020
UD
108312012-01-16 Ulrich Drepper <drepper@gmail.com>
10832
d77e7869
UD
10833 * malloc/malloc.c: Various cleanups.
10834 * malloc/hooks.c: Likewise.
10835
400aa020
UD
10836 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10837 * stdlib/bug-fmtmsg1.c: New file.
10838
10839 * stdlib/fmtmsg.c (init): Add missing unlock.
10840 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10841
e0a309cf
MP
108422012-01-12 Marek Polacek <polacek@redhat.com>
10843
10844 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10845 and _GNU_SOURCE.
10846
929d11c7
WS
108472012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10848
10849 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10850 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10851 macro to ensure uniqueness of label name.
10852 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10853 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10854
41d0e869
UD
108552012-01-11 Ulrich Drepper <drepper@gmail.com>
10856
0cc5ed3b
UD
10857 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10858
41d0e869
UD
10859 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10860 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10863
a47a831a
UD
108642012-01-10 Ulrich Drepper <drepper@gmail.com>
10865
daa891c0
UD
10866 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10867
10868 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10869 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10870 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10871
e58ef0f2
UD
10872 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10873
a47a831a 10874 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10875 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10876 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10877 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10878
10879 * math/bits/math-finite.h: Add ldexp support.
10880
a0bfc9c7
MP
108812012-01-10 Marek Polacek <polacek@redhat.com>
10882
10883 * locale/programs/localedef.h (show_archive_content): Add noreturn
10884 attribute.
10885
d6e97a1d
UD
108862012-01-09 Ulrich Drepper <drepper@gmail.com>
10887
10888 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10889
d5835c26
UD
108902012-01-08 Ulrich Drepper <drepper@gmail.com>
10891
e5f484c6
UD
10892 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10893
d5835c26
UD
10894 * io/Makefile (headers): Add bits/poll2.h.
10895
d1f741e9
WS
108962011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10897
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10899 typo #include statement.
10900
ec09c1c4
UD
109012012-01-08 Ulrich Drepper <drepper@gmail.com>
10902
10903 * include/sys/cdefs.h: Define __attribute_alloc_size.
10904 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10905 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10906 * elf/pldd.c: Likewise.
10907 * iconv/iconv_charmap.c: Likewise.
10908 * iconv/iconvconfig.c: Likewise.
10909 * iconv/strtab.c: Likewise.
10910 * locale/programs/locale.c: Likewise.
10911 * locale/programs/localedef.h: Likewise.
10912 * locale/programs/simple-hash.c: Likewise.
10913 * nscd/nscd.h: Likewise.
10914 * nss/makedb.c: Likewise.
10915 * sysdeps/generic/ldconfig.h: Likewise.
10916 * locale/programs/localedef.c: Remove xmalloc prototype.
10917 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10918
20b38e03
PP
109192012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10920
10921 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10922 appropriate.
10923
a0da5fe1
UD
109242012-01-08 Ulrich Drepper <drepper@gmail.com>
10925
1d5a644a 10926 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10927 * math/tst-CMPLX.c: New file.
1d5a644a 10928
8784a6db
UD
10929 * math/complex.h (CMPLXL): Fix typo.
10930
d9a216c0
UD
10931 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10932 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10933 GLIBC_2.16.
10934 * debug/tst-chk1.c: Add poll and ppoll tests.
10935 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10936 * include/sys/poll.h: Add hidden proto for ppoll.
10937 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10938 * sysdeps/mach/hurd/ppoll.c: Likewise.
10939 * io/ppoll.c: Likewise.
10940 * debug/poll_chk.c: New file.
10941 * debug/ppoll_chk.c: New file.
10942 * include/bits/poll2.h: New file.
10943 * io/bits/poll2.h: New file.
10944
ac097f5c
UD
10945 [BZ #1350]
10946 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10947
2119dcfa
UD
10948 * configure.in: static is always set to yes. Remove.
10949 * config.make.in: Don't set build-static.
10950 * Makeconfig: Remove use of build-static.
10951 * dlfcn/Makefile: Likewise.
10952 * elf/Makefile: Likewise.
10953 * math/Makefile: Likewise.
10954 * misc/Makefile: Likewise.
10955 * nptl/Makefile: Likewise.
10956 * sysdeps/mach/hurd/Makefile: Likewise.
10957
121766a9
UD
10958 * configure.in: PWD_P is not used anymore.
10959 * config.make.in: Remove PWD_P entry.
10960
51a1d39c 10961 * configure.in: Remove last remnants of RANLIB.
8720d066 10962 No need to check for signed size_t anymore.
215f4bdc
UD
10963 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10964 and IA-64.
3857022a 10965 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10966 * aclocal.m4: Likewise.
10967
d3ed7225
UD
10968 * wcsmbs/mbrtoc16.c: Implement using towc function.
10969 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10970 * wcsmbs/wcsmbsload.c: Likewise.
10971 * iconv/gconv_simple.c: Likewise.
10972 * iconv/gconv_int.h: Likewise.
10973 * iconv/gconv_builtin.h: Likewise.
10974 * iconv/iconv_prog.c: Remove CHAR16 handling.
10975
10976 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10977
10978 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10979
a0da5fe1
UD
10980 * configure.in: Remove --with-elf and --enable-bounded options.
10981 Dont set base_machine for ia64. More non-ELF conditions removed.
10982 Remove testing and setting of leading underscore information.
10983 * config.make.in (build-bounded): Set to no.
10984 * config.h.in: Remove NO_UNDERSCORES entry.
10985 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10986 them.
10987 * csu/start.c: Remove !NO_UNDERSCORE code.
10988 * locale/localeinfo.h: Likewise.
10989 * sysdeps/generic/machine-gmon.h: Likewise.
10990 * sysdeps/generic/sysdep.h: Likewise.
10991 * sysdeps/i386/sysdep.h: Likewise.
10992 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10993 * sysdeps/mach/sysdep.h: Likewise.
10994 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10995 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10996 * sysdeps/sh/sysdep.h: Likewise.
10997 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10998 * sysdeps/unix/i386/sysdep.S: Likewise.
10999 * sysdeps/unix/sparc/start.c: Likewise.
11000 * sysdeps/unix/sparc/sysdep.S: Likewise.
11001 * sysdeps/unix/sparc/sysdep.h: Likewise.
11002 * sysdeps/unix/start.c: Likewise.
11003 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11004 * sysdeps/x86_64/sysdep.h: Likewise.
11005
df78418a
UD
110062012-01-07 Ulrich Drepper <drepper@gmail.com>
11007
a784e502
UD
11008 [BZ #13553]
11009 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11010 for non-gcc.
11011 * argp/argp-fmtstream.h: Use const instead __const.
11012 * argp/argp.h: Likewise.
11013 * assert/assert.h: Likewise.
11014 * bits/fenv.h: Likewise.
11015 * bits/sched.h: Likewise.
11016 * bits/sigset.h: Likewise.
11017 * bits/sigthread.h: Likewise.
11018 * catgets/nl_types.h: Likewise.
11019 * conform/data/pthread.h-data: Likewise.
11020 * crypt/crypt-private.h: Likewise.
11021 * crypt/crypt.h: Likewise.
11022 * crypt/crypt_util.c: Likewise.
11023 * ctype/ctype.h: Likewise.
11024 * debug/execinfo.h: Likewise.
11025 * debug/mbsnrtowcs_chk.c: Likewise.
11026 * debug/mbsrtowcs_chk.c: Likewise.
11027 * debug/wcsnrtombs_chk.c: Likewise.
11028 * debug/wcsrtombs_chk.c: Likewise.
11029 * debug/wcstombs_chk.c: Likewise.
11030 * dirent/dirent.h: Likewise.
11031 * dlfcn/dlfcn.h: Likewise.
11032 * elf/neededtest4.c: Likewise.
11033 * grp/grp.h: Likewise.
11034 * gshadow/gshadow.h: Likewise.
11035 * iconv/gconv.h: Likewise.
11036 * iconv/gconv_int.h: Likewise.
11037 * iconv/gconv_simple.c: Likewise.
11038 * iconv/iconv.h: Likewise.
11039 * iconv/loop.c: Likewise.
11040 * iconv/skeleton.c: Likewise.
11041 * include/aio.h: Likewise.
11042 * include/aliases.h: Likewise.
11043 * include/argz.h: Likewise.
11044 * include/arpa/inet.h: Likewise.
11045 * include/assert.h: Likewise.
11046 * include/dirent.h: Likewise.
11047 * include/dlfcn.h: Likewise.
11048 * include/execinfo.h: Likewise.
11049 * include/fcntl.h: Likewise.
11050 * include/fenv.h: Likewise.
11051 * include/glob.h: Likewise.
11052 * include/grp.h: Likewise.
11053 * include/libintl.h: Likewise.
11054 * include/mntent.h: Likewise.
11055 * include/netdb.h: Likewise.
11056 * include/pwd.h: Likewise.
11057 * include/rpc/netdb.h: Likewise.
11058 * include/sched.h: Likewise.
11059 * include/search.h: Likewise.
11060 * include/shadow.h: Likewise.
11061 * include/signal.h: Likewise.
11062 * include/stdio.h: Likewise.
11063 * include/stdlib.h: Likewise.
11064 * include/string.h: Likewise.
11065 * include/sys/socket.h: Likewise.
11066 * include/sys/stat.h: Likewise.
11067 * include/sys/statfs.h: Likewise.
11068 * include/sys/statvfs.h: Likewise.
11069 * include/sys/syslog.h: Likewise.
11070 * include/sys/time.h: Likewise.
11071 * include/sys/uio.h: Likewise.
11072 * include/time.h: Likewise.
11073 * include/unistd.h: Likewise.
11074 * include/utmp.h: Likewise.
11075 * include/wchar.h: Likewise.
11076 * include/wctype.h: Likewise.
11077 * inet/aliases.h: Likewise.
11078 * inet/arpa/inet.h: Likewise.
11079 * inet/netinet/ether.h: Likewise.
11080 * inet/netinet/in.h: Likewise.
11081 * intl/libintl.h: Likewise.
11082 * io/bits/fcntl2.h: Likewise.
11083 * io/fcntl.h: Likewise.
11084 * io/ftw.h: Likewise.
11085 * io/sys/poll.h: Likewise.
11086 * io/sys/stat.h: Likewise.
11087 * io/sys/statfs.h: Likewise.
11088 * io/sys/statvfs.h: Likewise.
11089 * io/utime.h: Likewise.
11090 * libio/bits/stdio.h: Likewise.
11091 * libio/bits/stdio2.h: Likewise.
11092 * libio/libio.h: Likewise.
11093 * libio/libioP.h: Likewise.
11094 * libio/stdio.h: Likewise.
11095 * locale/lc-ctype.c: Likewise.
11096 * locale/locale.h: Likewise.
11097 * login/utmp.h: Likewise.
11098 * malloc/arena.c: Likewise.
11099 * malloc/malloc.c: Likewise.
11100 * malloc/malloc.h: Likewise.
11101 * malloc/mcheck.c: Likewise.
11102 * malloc/mtrace.c: Likewise.
11103 * math/bits/mathcalls.h: Likewise.
11104 * math/fenv.h: Likewise.
11105 * math/math_private.h: Likewise.
11106 * misc/bits/error.h: Likewise.
11107 * misc/bits/syslog.h: Likewise.
11108 * misc/err.h: Likewise.
11109 * misc/error.h: Likewise.
11110 * misc/fstab.h: Likewise.
11111 * misc/mntent.h: Likewise.
11112 * misc/regexp.h: Likewise.
11113 * misc/search.h: Likewise.
11114 * misc/sgtty.h: Likewise.
11115 * misc/sys/mman.h: Likewise.
11116 * misc/sys/syslog.h: Likewise.
11117 * misc/sys/uio.h: Likewise.
11118 * misc/sys/xattr.h: Likewise.
11119 * misc/ttyent.h: Likewise.
11120 * nis/rpcsvc/ypclnt.h: Likewise.
11121 * nss/nss.h: Likewise.
11122 * posix/bits/unistd.h: Likewise.
11123 * posix/fnmatch.h: Likewise.
11124 * posix/glob.h: Likewise.
11125 * posix/sched.h: Likewise.
11126 * posix/spawn.h: Likewise.
11127 * posix/sys/wait.h: Likewise.
11128 * posix/unistd.h: Likewise.
11129 * posix/wordexp.h: Likewise.
11130 * pwd/pwd.h: Likewise.
11131 * resolv/netdb.h: Likewise.
11132 * resource/sys/resource.h: Likewise.
11133 * rt/aio.h: Likewise.
11134 * rt/bits/mqueue2.h: Likewise.
11135 * rt/mqueue.h: Likewise.
11136 * shadow/shadow.h: Likewise.
11137 * signal/signal.h: Likewise.
11138 * socket/send.c: Likewise.
11139 * socket/sendto.c: Likewise.
11140 * socket/sys/socket.h: Likewise.
11141 * stdio-common/printf.h: Likewise.
11142 * stdlib/bits/stdlib.h: Likewise.
11143 * stdlib/fmtmsg.h: Likewise.
11144 * stdlib/monetary.h: Likewise.
11145 * stdlib/stdlib.h: Likewise.
11146 * stdlib/ucontext.h: Likewise.
11147 * streams/stropts.h: Likewise.
11148 * string/argz.h: Likewise.
11149 * string/bits/string2.h: Likewise.
11150 * string/string.h: Likewise.
11151 * string/strings.h: Likewise.
11152 * sunrpc/rpc/auth.h: Likewise.
11153 * sunrpc/rpc/auth_des.h: Likewise.
11154 * sunrpc/rpc/clnt.h: Likewise.
11155 * sunrpc/rpc/netdb.h: Likewise.
11156 * sunrpc/rpc/pmap_clnt.h: Likewise.
11157 * sunrpc/rpc/xdr.h: Likewise.
11158 * sysdeps/generic/inttypes.h: Likewise.
11159 * sysdeps/generic/net/if.h: Likewise.
11160 * sysdeps/generic/sys/swap.h: Likewise.
11161 * sysdeps/gnu/net/if.h: Likewise.
11162 * sysdeps/gnu/utmpx.h: Likewise.
11163 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11164 * sysdeps/i386/i486/bits/string.h: Likewise.
11165 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11166 * sysdeps/s390/bits/string.h: Likewise.
11167 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11168 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11169 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11170 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11171 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11172 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11173 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11174 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11175 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11176 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11177 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11178 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11179 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11180 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11181 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11182 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11183 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11184 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11185 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11186 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11187 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11188 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11189 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11190 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11191 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11192 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11193 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11194 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11195 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11196 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11197 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11198 * sysvipc/sys/ipc.h: Likewise.
11199 * sysvipc/sys/msg.h: Likewise.
11200 * sysvipc/sys/sem.h: Likewise.
11201 * sysvipc/sys/shm.h: Likewise.
11202 * termios/termios.h: Likewise.
11203 * time/sys/time.h: Likewise.
11204 * time/time.h: Likewise.
11205 * wcsmbs/bits/wchar2.h: Likewise.
11206 * wcsmbs/uchar.h: Likewise.
11207 * wcsmbs/wchar.h: Likewise.
11208 * wctype/wctype.h: Likewise.
11209
0269750c
UD
11210 [BZ #13551]
11211 * Makeconfig: Remove all but ELF support including AIX support.
11212 * Makerules: Likewise.
11213 * config.h.in: Likewise.
11214 * config.make.in: Likewise.
11215 * configure: Likewise.
11216 * configure.in: Likewise.
11217 * csu/Makefile: Likewise.
11218 * csu/version.c: Likewise.
11219 * debug/Makefile: Likewise.
11220 * dlfcn/Makefile: Likewise.
11221 * elf/Makefile: Likewise.
11222 * extra-lib.mk: Likewise.
11223 * iconv/Makefile: Likewise.
11224 * include/libc-symbols.h: Likewise.
11225 * include/shlib-compat.h: Likewise.
11226 * resolv/Makefile: Likewise.
11227 * resolv/res_libc.c: Likewise.
11228 * rt/Makefile: Likewise.
11229 * sysdeps/i386/asm-syntax.h: Likewise.
11230 * sysdeps/i386/sysdep.h: Likewise.
11231 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11232 * sysdeps/mach/sysdep.h: Likewise.
11233 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11234 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11235 * sysdeps/s390/asm-syntax.h: Likewise.
11236 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11237 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11238 * sysdeps/sh/sysdep.h: Likewise.
11239 * sysdeps/unix/sparc/sysdep.h: Likewise.
11240 * sysdeps/wordsize-32/divdi3.c: Likewise.
11241 * sysdeps/x86_64/sysdep.h: Likewise.
11242
00bbd29b
UD
11243 * argp/Versions: Remove _argp_unlock_xxx.
11244
11245 [BZ #13559]
11246 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11247 * abilist/libBrokenLocale.abilist: Likewise.
11248 * abilist/libanl.abilist: Likewise.
11249 * abilist/libc.abilist: Likewise.
11250 * abilist/libcrypt.abilist: Likewise.
11251 * abilist/libdl.abilist: Likewise.
11252 * abilist/libm.abilist: Likewise.
11253 * abilist/libnsl.abilist: Likewise.
11254 * abilist/libpthread.abilist: Likewise.
11255 * abilist/libresolv.abilist: Likewise.
11256 * abilist/librt.abilist: Likewise.
11257 * abilist/libthread_db.abilist: Likewise.
11258 * abilist/libutil.abilist: Likewise.
11259 * abilist/libnss_db.abilist: New file.
11260
11261 * scripts/abilist.awk: Add support for indirect functions.
11262
a2693a0e
UD
11263 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11264
3f05895f
UD
11265 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11266
ecb6fb48
UD
11267 * shlib-versions: Remove entries for ports architectures.
11268
664f8cb9
UD
11269 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11270 files in ports.
11271 * elf/stackguard-macros.h: Remove support for IA-64.
11272 * elf/tst-auditmod1.c: Likewise.
11273 * sysdeps/generic/ldsodefs.h: Likewise.
11274
7ae81d88
UD
11275 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11276 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11277 configure files.
11278
bdeba135
UD
11279 [BZ #13552]
11280 * configure.in: Remove --enable-omitfp support.
11281 * FAQ.in: Adjust.
11282 * config.make.in: Likewise.
11283 * Makeconfig: Likewise.
11284 * manual/install.texi: Likewise.
11285
d75a0a62
UD
11286 In case anyone cares, the IA-64 architecture could move to ports.
11287 * sysdeps/ia64/*: Removed.
11288 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11289 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11290
dcc9756b
UD
11291 [BZ #13555]
11292 * configure.in: Remove entries for unsupported architectures.
11293
d3761ebc 11294 [BZ #13533]
9954432e
UD
11295 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11296 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11297 routines.
11298 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11299 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11300 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11301 fall back to using wcrtomb.
11302 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11303 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11304 renaming.
11305 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11306 * wcsmbs/tst-c16c32-1.c: New file.
11307
11308 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11309 local variable.
11310
c3a87236
UD
11311 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11312
28926a1b
UD
11313 * elf/tst-unique3.cc: Add explicit declaration of gets.
11314 * elf/tst-unique3lib.cc: Likewise.
11315 * elf/tst-unique3lib2.cc: Likewise.
11316 * elf/tst-unique4.cc: Likewise.
11317
df78418a
UD
11318 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11319
8ecd6b2a
JM
113202012-01-06 Joseph Myers <joseph@codesourcery.com>
11321
11322 [BZ #13566]
11323 * assert/assert.h (static_assert): Don't define for C++.
11324 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11325 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11326
9f115170
UD
113272012-01-03 Ulrich Drepper <drepper@gmail.com>
11328
5e0d0300
UD
11329 * iconv/loop.c (single loop): Fix assertion in storing of
11330 remaining bytes.
11331
9f115170
UD
11332 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11333
81fb02b0
UD
113342012-01-01 Ulrich Drepper <drepper@gmail.com>
11335
11336 * posix/getconf.c: Update copyright year.
11337 * nss/getent.c: Likewise.
a316c1f6 11338 * nss/makedb.c: Likewise.
81fb02b0
UD
11339 * iconv/iconvconfig.c: Likewise.
11340 * iconv/iconv_prog.c: Likewise.
11341 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11342 * elf/pldd.c: Likewise.
11343 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11344 * catgets/gencat.c: Likewise.
11345 * csu/version.c: Likewise.
11346 * elf/ldd.bash.in: Likewise.
11347 * elf/sprof.c (print_version): Likewise.
11348 * locale/programs/locale.c: Likewise.
11349 * locale/programs/localedef.c: Likewise.
a316c1f6 11350 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11351 * nscd/nscd.c (print_version): Likewise.
11352 * debug/xtrace.sh: Likewise.
11353 * malloc/memusage.sh: Likewise.
11354 * malloc/mtrace.pl: Likewise.
11355 * debug/catchsegv.sh: Likewise.
11356
2ba92745
JJ
113572011-12-30 Jakub Jelinek <jakub@redhat.com>
11358
11359 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11360 pure attribute.
11361
dadebdae
UD
113622011-12-24 Ulrich Drepper <drepper@gmail.com>
11363
d3761ebc 11364 [BZ #13533]
db6af3eb
UD
11365 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11366 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11367 transformations.
11368 * iconv/gconv_int.h: Likewise.
11369 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11370 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11371 from libc for GLIBC_2.16.
11372 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11373 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11374 * wcsmbs/uchar.h: Really define mbstate_t.
11375 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11376 * wcsmbs/c16rtomb.c: New file.
11377 * wcsmbs/mbrtoc16.c: New file.
11378 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11379 for C/POSIX locale.
11380 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11381 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11382
dadebdae
UD
11383 * wcsmbs/wchar.h: Add missing __restrict.
11384
67371b56
UD
113852011-12-23 Ulrich Drepper <drepper@gmail.com>
11386
74033a25
UD
11387 [BZ #13532]
11388 * time/Makefile (routines): Add timespec_get.
11389 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11390 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11391 timespec for ISO C11.
11392 * time/timespec_get.c: New file.
11393 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11394 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11395
380d7e87
UD
11396 [BZ #13531]
11397 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11398 * stdlib/stdlib.h: Declare aligned_alloc.
11399 * Versions.def: Add GLIBC_2.16 for libc.
11400 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11401
4e9e7a35
UD
11402 [BZ 13527]
11403 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11404 ISO C11.
11405
380d7e87 11406 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11407 code.
11408
03a71829
UD
11409 [BZ #13528]
11410 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11411
839e283e
UD
11412 [BZ #13529]
11413 * assert/assert.h (static_assert): Define.
11414
ce5294e2 11415 * version.h: Update for 2.16 development version.
90fa7312 11416
8d44e150 11417 [BZ #13526]
d7809905
UD
11418 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11419 _ISOC11_SOURCE.
11420
c0da14cd
UD
11421 * version.h (RELEASE): Bump for 2.15 release.
11422 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11423
530a3249
MP
11424 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11425 Patch by Marek Polacek <mpolacek@redhat.com>.
11426
67371b56
UD
11427 * bits/byteswap.h: Protect long long constants with __extension__.
11428 * sysdeps/i386/bits/byteswap.h: Likewise.
11429 * sysdeps/ia64/bits/byteswap.h: Likewise.
11430 * sysdeps/s390/bits/byteswap.h: Likewise.
11431 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11432
15db4de1
LD
114332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11434
11435 [BZ #13540]
bbe315ea
LD
11436 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11437 destination buffer.
15db4de1
LD
11438 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11439
2b2596b1
MP
114402011-12-23 Marek Polacek <polacek@redhat.com>
11441
11442 * elf/dl-addr.c (determine_info): Add inline keyword.
11443 * elf/tst-auditmod4b.c (check_avx): Likewise.
11444 * elf/tst-auditmod6b.c (check_avx): Likewise.
11445 * elf/tst-auditmod6c.c (check_avx): Likewise.
11446 * elf/tst-auditmod7b.c (check_avx): Likewise.
11447
70c6c246
UD
114482011-12-23 Ulrich Drepper <drepper@gmail.com>
11449
11450 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11451 !__SSE_MATH__.
11452
c044cf14
LD
114532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11454
15db4de1 11455 [BZ #13540]
c044cf14
LD
11456 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11457 processing for last bytes.
11458
6b13d9d9
BH
114592011-08-06 Bruno Haible <bruno@clisp.org>
11460
d455f537
BH
11461 [BZ #13061]
11462 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11463 U+0385, not to U+1FEE.
11464
6b13d9d9
BH
11465 [BZ #13062]
11466 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11467 entry for U+00A5 U+0301.
11468
db910efd
UD
114692011-12-22 Ulrich Drepper <drepper@gmail.com>
11470
27deeafc
UD
11471 [BZ #13166]
11472 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11473 buffer for the output is too small.
11474
aed9d171
UD
11475 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11476 optimization.
11477
db910efd
UD
11478 [BZ #13185]
11479 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11480 SSE flags if possible.
11481
2bd779ae
LD
114822011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11483
e7f9dac3 11484 [BZ #13540]
2bd779ae
LD
11485 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11486 processing for last bytes.
11487
154bfc16
JM
114882011-12-22 Joseph Myers <joseph@codesourcery.com>
11489
11490 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11491 (syscall-list-default-options, syscall-list-default-condition)
11492 (syscall-list-includes): Define.
11493 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11494 list of ABIs and options and #if conditions for each ABI. Do not
11495 handle common syscalls between ABIs specially.
11496 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11497 Remove.
11498 (syscall-list-variants, syscall-list-32bit-options)
11499 (syscall-list-32bit-condition, syscall-list-64bit-options)
11500 (syscall-list-64bit-condition): Define.
11501 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11502 (syscall-list-variants, syscall-list-32bit-options)
11503 (syscall-list-32bit-condition, syscall-list-64bit-options)
11504 (syscall-list-64bit-condition): Define.
11505 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11506 Remove.
11507 (syscall-list-variants, syscall-list-32bit-options)
11508 (syscall-list-32bit-condition, syscall-list-64bit-options)
11509 (syscall-list-64bit-condition): Define.
11510 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11511 Remove.
11512 (syscall-list-variants, syscall-list-32bit-options)
11513 (syscall-list-32bit-condition, syscall-list-64bit-options)
11514 (syscall-list-64bit-condition): Define.
11515
21eaf3a5
UD
115162011-12-22 Ulrich Drepper <drepper@gmail.com>
11517
16c6f992
UD
11518 * locale/iso-639.def: Add brx entry.
11519
41043168
UD
11520 [BZ #13328]
11521 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11522 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11523
21eaf3a5
UD
11524 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11525 __feraiseexcept_renamed.
11526
e3a851a2
UD
115272011-12-21 Ulrich Drepper <drepper@gmail.com>
11528
4920765e
UD
11529 [BZ #13538]
11530 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11531 EPOLLET with unsigned values.
11532 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11533 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11534
e3a851a2
UD
11535 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11536 to large cancellation.
11537 * math/s_cacoshf.c: Likewise.
11538 * math/s_cacoshl.c: Likewise.
11539
b27e24b8
RK
115402011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11541
11542 [BZ #13305]
aebefeee 11543 [BZ #12786]
b27e24b8
RK
11544 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11545 * math/s_cacoshf.c: Likewise.
11546 * math/s_cacoshl.c: Likewise.
11547
ee190f67
UD
115482011-12-21 Ulrich Drepper <drepper@gmail.com>
11549
11550 [BZ #13439]
11551 * iconv/gconv.h: Define __GCONV_SWAP.
11552 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11553 * iconvdata/utf-16.c: Likewise.
11554 * iconvdata/utf-32.c: Likewise.
11555
707f25df
AS
115562011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11557
11558 [BZ #13524]
11559 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11560 numerator after shifting it by one limb.
11561
d2daaa1e
RÁE
115622011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11563
11564 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11565 under [__USE_EXTERN_INLINES].
11566
a4647e72
UD
115672011-12-17 Ulrich Drepper <drepper@gmail.com>
11568
11569 [BZ #13446]
11570 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11571
f0b264f1
AZ
115722011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11573
11574 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11575 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11576 optimized code.
11577 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11578 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11579 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11580 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11581 for strncasecmp/strncasecmp_l compilation.
11582 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11583 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11584
8ef4f244
MP
115852011-12-08 Marek Polacek <mpolacek@redhat.com>
11586
11587 [BZ #13484]
11588 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11589 of __asm__.
11590
97ac2654
UD
115912011-12-17 Ulrich Drepper <drepper@gmail.com>
11592
11593 [BZ #13506]
11594 * time/tzfile.c (__tzfile_read): Check values from file header.
11595
91d2a845
WS
115962011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11597
11598 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11599 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11600 * powerpc/powerpc32/dl-start.S: Likewise.
11601 * powerpc/powerpc32/elf/start.S: Likewise.
11602 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11603 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11604 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11605 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11606 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11607 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11608 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11609 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11610 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11611 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11612 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11613 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11614 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11615 * powerpc/powerpc32/memset.S: Likewise.
11616 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11617 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11618 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11619 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11620 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11621 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11622 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11623 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11624 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11625 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11626 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11627 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11628 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11629
a1267ba1
AZ
116302011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11631
11632 * math/libm-test.inc: Added more nearbyint tests.
11633 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11634 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11635 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11637
ad8ac1bd
RL
116382011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11639
11640 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11641 FD_CLOEXEC.
11642
1d3e4b61
UD
116432011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11644
11645 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11646 Add wcscpy-ssse3 wcscpy-c.
11647 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11648 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11649 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11650 * sysdeps/x86_64/wcschr.S: New file.
11651 * sysdeps/x86_64/wcsrchr.S: New file.
11652 * string/test-strcmp.c: Remove checking of wcscmp function for
11653 wrong alignments.
11654 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11655 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11656 wcsrchr-sse2 wcsrchr-c.
11657 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11658 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11659 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11660 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11661 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11662 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11663 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11664 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11665 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11666 * wcsmbc/wcschr.c (WCSCHR): New macro.
11667
5b330a2d
UD
116682011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11669
11670 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11671 * wcsmbs/test-wcsrchr.c: New file.
11672 * string/test-strrchr.c: Add wcsrchr support.
11673 (WIDE): New macro.
11674 * wcsmbs/test-wcscpy.c: New file.
11675 * string/test-strcpy.c: Add wcscpy support.
11676 (WIDE): New macro.
26428b7c 11677
f039c043
UD
116782011-12-10 Ulrich Drepper <drepper@gmail.com>
11679
11680 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11681 the inner loop.
11682
850fb039
AS
116832011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11684
11685 [BZ #13472]
11686 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11687
4efbd5cb
UD
116882011-12-04 Ulrich Drepper <drepper@gmail.com>
11689
52ff5dd0 11690 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11691 Minor optimizations.
52ff5dd0 11692
4efbd5cb
UD
11693 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11694 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11695 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11696
8a426e12
UD
116972011-12-03 Ulrich Drepper <drepper@gmail.com>
11698
aff2453d
UD
11699 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11700 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11701 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11702 for gcc to avoid warnings.
11703 * inet/Makefile (tests): Add tst-checks.
11704 * inet/tst-checks.c: New file.
11705
11706 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11707 warning.
11708
11709 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11710 __wmemcmp_sse2.
11711
11712 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11713 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11714
8a426e12
UD
11715 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11716
9bea3473
UD
117172011-12-02 Ulrich Drepper <drepper@gmail.com>
11718
3a965496
UD
11719 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11720 problem.
11721
9bea3473
UD
11722 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11723
f101631b
UD
117242011-11-29 Joseph Myers <joseph@codesourcery.com>
11725
11726 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11727 conditional on GCC version.
11728 (__arch_compare_and_exchange_val_8_acq)
11729 (__arch_compare_and_exchange_val_16_acq)
11730 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11731 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11732 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11733
a98275aa
UD
117342011-12-02 Joseph Myers <joseph@codesourcery.com>
11735
11736 * sysdeps/sh/backtrace.c: New file.
11737
d4cc29a2
AS
117382011-12-02 Andreas Schwab <schwab@redhat.com>
11739
11740 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11741 parenthesis.
11742
6257af2d
AS
117432011-12-01 Andreas Schwab <schwab@redhat.com>
11744
11745 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11746 falling back to utime.
11747
b5f44c1a
AS
117482011-11-30 Andreas Schwab <schwab@redhat.com>
11749
11750 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11751 expectations for float.
11752
f3a6cc0a
AS
117532011-11-29 Andreas Schwab <schwab@redhat.com>
11754
11755 * locale/weight.h (findidx): Add parameter len.
11756 * locale/weightwc.h (findidx): Likewise.
11757 * posix/fnmatch_loop.c (FCT): Adjust caller.
11758 * posix/regcomp.c (build_equiv_class): Likewise.
11759 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11760 * posix/regexec.c (check_node_accept_bytes): Likewise.
11761 * string/strcoll_l.c (STRCOLL): Likewise.
11762 * string/strxfrm_l.c (STRXFRM): Likewise.
11763
9d65ea3a
UD
117642011-11-17 Ulrich Drepper <drepper@gmail.com>
11765
11766 * Makefile.in: Remove CVSOPT handling.
11767 * configure.in: Remove use of AC_REVISION.
11768 * iconvdata/Makefile (distribute): No need to filter out CVS.
11769 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11770 handling.
11771
5583a086
AS
117722011-11-16 Andreas Schwab <schwab@redhat.com>
11773
11774 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11775 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11776 [USE_AS_STRNCASECMP_L]: Likewise.
11777 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11778 NO_TLS_DIRECT_SEG_REFS.
11779 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11780 Fix argument offsets for non-PIC.
11781 [USE_AS_STRNCASECMP_L]: Likewise.
11782 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11783 NO_TLS_DIRECT_SEG_REFS.
11784
d62a8200
UD
117852011-11-15 Ulrich Drepper <drepper@gmail.com>
11786
9d65ea3a 11787 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11788 O_CLOEXEC.
11789 * locale/loadlocale.c (_nl_load_locale): Likewise.
11790
09f93bd3
AS
117912011-11-15 Andreas Schwab <schwab@redhat.com>
11792
446514f9
AS
11793 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11794 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11795 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11796 (SYSCALL_GETTIME): Set errno on error.
11797
09f93bd3
AS
11798 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11799 count references to noai6ai_cached.
11800
312be3f9
UD
118012011-11-15 Ulrich Drepper <drepper@gmail.com>
11802
11803 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11804
11805 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11806 FD_CLOEXEC for /proc/self/maps.
11807
11808 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11809 FD_CLOEXEC for /proc/meminfo.
11810
11811 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11812 gai.conf.
11813
11814 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11815 FD_CLOEXEC for given file.
11816
11817 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11818
11819 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11820 FD_CLOEXEC for /etc/hosts.
11821 (_gethtent): Likewise.
11822
11823 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11824
11825 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11826 cancellation and set FD_CLOEXEC for /etc/netgroup.
11827
11828 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11829 reading /etc/publickey.
11830
11831 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11832 allow cancellation when reading /etc/group.
11833
11834 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11835 cancellation.
11836 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11837
11838 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11839 when using data file.
11840
11841 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11842
11843 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11844 (write_nis_obj): Use "c" and "e" in fopen.
11845
11846 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11847
11848 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11849
11850 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11851
11852 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11853
11854 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11855 locale.alias.
11856
11857 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11858
11859 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11860
11861 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11862
11863 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11864 file parsing and set FD_CLOEXEC.
11865
82af0fa8
UD
118662011-11-14 Ulrich Drepper <drepper@gmail.com>
11867
11868 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11869
a5fb313c
AS
118702011-11-14 Andreas Schwab <schwab@redhat.com>
11871
11872 * malloc/arena.c (arena_get2): Don't call reused_arena when
11873 _int_new_arena failed.
11874
6abf3465
UD
118752011-11-14 Ulrich Drepper <drepper@gmail.com>
11876
11877 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11878 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11879 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11880 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11881 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11882 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11883 to compile strcasecmp and strncasecmp.
11884 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11885 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11886
11887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11888
76e3966e
UD
118892011-11-13 Ulrich Drepper <drepper@gmail.com>
11890
11891 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11892 locale-defines.sym to gen-as-const-headers.
11893 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11894 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11896 to compile strcasecmp and strncasecmp.
11897 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11898 strcasecmp_l and strncasecmp_l.
11899 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11900 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11901 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11902 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11903 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11904 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11905 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11906 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11907 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11908 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11909 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11910
ab26144e
UD
119112011-11-12 Ulrich Drepper <drepper@gmail.com>
11912
7edb22ef
UD
11913 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11914 result of SYSDEP_GETTIME_CPU to retval.
11915 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11916 parameter list to macro. Remove trailing semicolon. Adjust users.
11917
9694fc44
UD
11918 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11919 variable.
11920
8ad89ef8
UD
11921 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11922 mantissa words.
11923 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11924
0c822ef9
UD
11925 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11926 from unused variable.
11927
874e0564
UD
11928 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11929 DWARF definitions.
11930 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11931 for assembling.
11932
3a2edc79
UD
11933 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11934 over namespaces.
11935
f3c2577f
UD
11936 * sunrpc/rpc_prot.c (rejected): Fix case value.
11937
294ce126
UD
11938 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11939 unsigned long long int to avoid warnings in shift.
11940
5e2b63c6
UD
11941 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11942 of use of trans.
11943 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11944 variable tmp.
11945
e7f4b08e
UD
11946 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11947 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11948 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11949
ab26144e
UD
11950 * nis/nis_table.c (nis_list): Use variable of correct type for
11951 result of __follow_path call.
11952
8a6d5255
AZ
119532011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11954
11955 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11956 of math functions ceil, trunc, floor, round, and sqrt, when
11957 avaliable on the platform.
11958 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11959 name clash.
11960 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11961 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11962 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11963
aaddc98c
MP
119642011-10-30 Marek Polacek <mpolacek@redhat.com>
11965
11966 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11967 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11968
95b7042b
RM
119692011-11-11 Roland McGrath <roland@hack.frob.com>
11970
11971 * include/unistd.h: Fix __readlink return type.
11972 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11973
57769839
UD
119742011-11-11 Ulrich Drepper <drepper@gmail.com>
11975
11976 * stdlib/ucontext.h: Undo last change for makecontext.
11977
edc5984d
AS
119782011-11-11 Andreas Schwab <schwab@redhat.com>
11979
98591e58
AS
11980 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11981
edc5984d
AS
11982 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11983 * setjmp/setjmp.h: Mark functions as non-leaf.
11984 * setjmp/bits/setjmp2.h: Likewise.
11985 * stdlib/ucontext.h: Likewise.
11986
77cdc054
AS
119872011-11-10 Andreas Schwab <schwab@redhat.com>
11988
11989 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11990 (reused_arena): Don't check arena limit.
11991 (arena_get2): Atomically check arena limit.
11992
fe72eebd
UD
119932011-11-08 Ulrich Drepper <drepper@gmail.com>
11994
5f078c32
UD
11995 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11996 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11997
fe72eebd
UD
11998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11999 instructions.
12000
ae1bc2fa
AS
120012011-11-07 Andreas Schwab <schwab@redhat.com>
12002
7583a88d
AS
12003 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12004 handler when locking.
12005
ae1bc2fa
AS
12006 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12007 Fix size of allocated buffer.
12008
10fb0bfa
AS
120092011-11-04 Andreas Schwab <schwab@redhat.com>
12010
998832a4
AS
12011 [BZ #10103]
12012 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12013 declarations for long double functions.
12014 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12015
10fb0bfa
AS
12016 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12017
3d7ba52b
AS
120182011-11-03 Andreas Schwab <schwab@redhat.com>
12019
a9ae54a1
AS
12020 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12021 installed.
12022
3d7ba52b
AS
12023 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12024 is disabled.
12025
bc8db248
ST
120262011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12027
12028 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12029
45b96dd6
AS
120302011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12031
647776f6
AS
12032 * include/alloca.h (stackinfo_alloca_round): Define.
12033 (extend_alloca): Use it.
12034 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12035 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12036 here.
12037
d91a8b93
AS
12038 * scripts/check-local-headers.sh: Ignore libaudit.h.
12039
45b96dd6
AS
12040 * nscd/Makefile (extra-objs): Make recursively expanded.
12041
432d41ce
UD
120422011-11-01 Ulrich Drepper <drepper@gmail.com>
12043
34372fc6
UD
12044 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12045 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12046
fadb59f8
UD
12047 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12048 * posix/tst-rfc3484-2.c: Likewise.
12049 * posix/tst-rfc3484-3.c: Likewise.
12050
78239589
UD
12051 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12052 process_vm_writev.
12053 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12054 process_vm_writev.
12055 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12056 process_vm_writev from libc using GLIBC_2.15 version.
12057
432d41ce
UD
12058 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12059
02f9c6cf
PP
120602011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12061
12062 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12063 stack usage.
12064
3a2c0242
UD
120652011-10-31 Ulrich Drepper <drepper@gmail.com>
12066
f4ec4833
UD
12067 [BZ #13367]
12068 * nss/getent.c (initgroups_keys): Show error message in case no group
12069 names are given.
12070
3a2c0242
UD
12071 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12072 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12073 __bump_nl_timestamp.
12074 * nscd/connections (nscd_init): When host database is served open
12075 netlink socket and request notification about configuration changes.
12076 (main_loop_poll): Track netlink file descriptor and bump timestamp
12077 in case data becomes available.
12078 (main_loop_epoll): Likewise.
12079 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12080 (database_pers_head): Add extra_data fileds.
12081 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12082 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12083 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12084 Adjust caller.
12085 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12086 in6ai data, call __free_in6ai.
12087 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12088 Add -DHAVE_NETLINK.
12089 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12090 interface information. Reuse previous data if netlink timestamp
12091 is not changed.
12092 (__bump_nl_timestamp): New function.
12093 (__free_in6ai): New function.
12094
636064eb
UD
120952011-10-30 Ulrich Drepper <drepper@gmail.com>
12096
12097 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12098 close_not_cancel_no_status here.
12099 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12100
9beb2334
UD
121012011-10-29 Ulrich Drepper <drepper@gmail.com>
12102
6ef76f3b
UD
12103 [BZ #13276]
12104 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12105 return value.
12106
0ffc4f3e 12107 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12108 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12109 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12110
cb95113e
UD
121112011-07-03 Andreas Jaeger <aj@suse.de>
12112
12113 [BZ #10709]
12114 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12115 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12116 * math/libm-test.inc (sin_test): Add test case.
12117
a1b560ff
UD
121182011-10-29 Ulrich Drepper <drepper@gmail.com>
12119
c9aaface
UD
12120 [BZ #13337]
12121 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12122 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12123
d272e7f1
UD
12124 * elf/chroot_canon.c (chroot_canon): Cleanups.
12125
1bc33071
UD
12126 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12127
1760874d
TJ
12128 [BZ #13335]
12129 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12130 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12131
51d91b18
UD
12132 * string/test-strchr.c: Make usable for strchrnul testing.
12133 * string/test-strchrnul.c: New file.
12134 * string/Makefile (strop-tests): Add strchrnul.
12135
a1b560ff 12136 * po/it.po: Update from translation team.
b611fb81 12137 * po/es.po: Likewise.
a1b560ff 12138
a5b81e1f
UD
121392011-10-28 Ulrich Drepper <drepper@gmail.com>
12140
fd52bc6d
UD
12141 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12142 the three constants needed as parameters. Drop the others.
12143 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12144 __m128i_strloadu_tolower.
52e4b9eb
UD
12145 Create and initialize variable zero and use it in all the places
12146 where _mm_setzero_si128 was used.
fd52bc6d 12147
a5b81e1f
UD
12148 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12149 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12150 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12151 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12152 anymore.
12153 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12154 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12155 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12156 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12157 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12158 __mpranred, __mptan.
12159 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12160 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12161 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12162 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12163 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12164 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12165 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12166 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12167 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12168
b4343346
AS
121692011-10-28 Andreas Schwab <schwab@redhat.com>
12170
0c92d8a8
AS
12171 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12172 redefine if SHARED.
12173 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12174
b4343346
AS
12175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12176 wide char related routines to wcsmbs subdir.
12177
3871f58f
AS
121782011-10-27 Andreas Schwab <schwab@redhat.com>
12179
12180 [BZ #13344]
12181 * misc/sys/cdefs.h (__THROWNL): Define.
12182 * posix/unistd.h: Use __THREADNL instead of __THREAD
12183 for memory synchronization functions.
12184
94d44d9f
RM
121852011-10-26 Roland McGrath <roland@hack.frob.com>
12186
21b64b15 12187 [BZ #13349]
94d44d9f
RM
12188 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12189 doesn't exist.
12190 * manual/stdio.texi (Obstack Streams): Node removed.
12191
f6ce9294
AS
121922011-10-26 Andreas Schwab <schwab@redhat.com>
12193
80479147
AS
12194 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12195 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12196 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12197
f6ce9294
AS
12198 * math/math_private.h (math_force_eval): Allow non-addressable
12199 arguments.
12200 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12201
618280a1
UD
122022011-10-25 Ulrich Drepper <drepper@gmail.com>
12203
e0016b11
UD
12204 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12205 file is not needed.
12206
12207 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12208 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12209 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12210 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12211 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12212 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12213 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12214 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12215 Add AVX variants.
12216 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12217 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12218 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12219 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12220 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12221 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12222 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12223 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12226 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12227 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12228 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12229 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12230 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12231 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12232 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12233 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12234 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12235
12236 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12237 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12238
618280a1
UD
12239 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12240 place. Use VEX encoding when compiling for AVX.
12241
37822576
AS
122422011-10-25 Andreas Schwab <schwab@redhat.com>
12243
1f1e1947
AS
12244 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12245 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12246
37822576
AS
12247 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12248
31ea014d
UD
122492011-10-25 Ulrich Drepper <drepper@gmail.com>
12250
d7826aa1 12251 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12252 useless if() expression.
d7826aa1
UD
12253 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12256 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12257 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12258 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12259 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12262 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12263 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12264 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12265 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12266 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12267 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12268 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12269 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12271 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12272
31ea014d
UD
12273 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12274
16437fec
AS
122752011-10-25 Andreas Schwab <schwab@redhat.com>
12276
12277 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12278 condition.
12279 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12280
31d3cc00
UD
122812011-10-25 Ulrich Drepper <drepper@gmail.com>
12282
12283 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12284 .text section. Avoid duplicate constants.
12285 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12295 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12297 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12300 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12302 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12308 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12309 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12310 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12311 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12312 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12313 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12314 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12315 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12316 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12317 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12318 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12319 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12320 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12321 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12322 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12323 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12324 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12325 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12326 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12327 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12328 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12329 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12330
58985aa9
UD
123312011-10-24 Ulrich Drepper <drepper@gmail.com>
12332
202c9deb
UD
12333 * sysdeps/x86_64/dla.h: Move to ...
12334 * sysdeps/x86_64/fpu/dla.h: ...here.
12335 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12336 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12337
af968f62
UD
12338 * config.make.in: Add have-mfma4 entry.
12339 * configure.in: Substitute libc_cv_cc_fma4.
12340 * math/Makefile (dbl-only-routines): Add sincostab.
12341 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12342 Use __sincostab not sincos.
12343 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12344 name is a macro.
12345 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12349 using __copysign.
12350 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12351 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12352 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12353 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12354 and __inv.
12355 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12356 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12357 __copysign.
12358 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12359 define aliases when function name is a macro.
12360 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12361 sysdeps/ieee754/dbl-64/sincos.tbl.
12362 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12363 fma4-enabled routines.
12364 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12365 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12366 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12367 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12368 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12369 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12371 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12372 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12373 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12374 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12375 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12376 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12386 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12387 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12388 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12389 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12390 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12391 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12392 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12393 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12394
58985aa9
UD
12395 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12396 rename.
12397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12403 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12404 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12405
a201fbcf
AS
124062011-10-24 Andreas Schwab <schwab@redhat.com>
12407
12408 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12409
fc2ee42a
LD
124102011-10-23 Ulrich Drepper <drepper@gmail.com>
12411
bb3129bd
UD
12412 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12413
0275fff8
UD
12414 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12415 prediction.
12416 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12417
2fa2ae85
UD
12418 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12419 Remove unused variable magic_bits.
12420 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12421
fc2ee42a
LD
12422 * string/strnlen.c: Define and use STRNLEN macro.
12423 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12424 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12426 * wcsmbs/wcslen.c: Define and use WCSLEN.
12427 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12428 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12429 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12430 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12431 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12432 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12433 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12434
ce7dd29f
LD
124352011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12436
12437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12438 strnlen-sse2-no-bsf.
12439 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12440 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12441 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12442 Add strnlen support.
12443 (USE_AS_STRNLEN): New macro.
12444 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12445 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12446 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12447 * sysdeps/x86_64/wcslen.S: New file.
12448
979c70a3
MZ
124492011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12450
12451 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12452 XMM-moves are used for copying on small sizes.
12453
2d09f82f
LD
124542011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12455
12456 * wcsmbs/Makefile (strop-tests): Add wcschr.
12457 * wcsmbs/test-wcschr.c: New file.
12458 * string/test-strchr.c: Update.
12459 Add wcschr support.
12460 (WIDE): New macro.
12461
619fccca
LD
124622011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12463
2d09f82f 12464 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12465 * wcsmbs/test-wcslen.c: New file.
12466 * string/test-strlen.c: Update.
12467 Add wcslen support.
12468 (WIDE): New macro.
12469
09f699ea
UD
124702011-10-23 Ulrich Drepper <drepper@gmail.com>
12471
12472 * po/it.po: Update from translation team.
12473
95584d3b
LD
124742011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12475
12476 * sysdeps/x86_64/wcscmp.S: Update.
12477 Fix wrong comparison semantics.
12478 wcscmp shall use signed comparison not unsigned.
12479 Don't use substraction to avoid overflow bug.
12480 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12481 * wcsmbc/wcscmp.c: Likewise.
12482 * string/test-strcmp.c: Likewise.
12483 Add new tests to check cases with negative values.
12484
c8b3296b
UD
124852011-10-23 Ulrich Drepper <drepper@gmail.com>
12486
12487 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12488 * sysdeps/x86_64/dla.h: ...here. New file.
12489 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12494 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12498
246ad57a
AS
124992011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12500
12501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12502 __ynl_finite aliases.
12503
a1a87169
UD
125042011-10-22 Ulrich Drepper <drepper@gmail.com>
12505
0d355eb7
UD
12506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12507
a1a87169
UD
12508 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12509 define DLA_FMA.
12510 [DLA_FMA] (EMULV): Use DLA_FMA.
12511 [DLA_FMA] (MUL12): Use EMULV.
12512 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12513 that are not needed.
12514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12520 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12521
ee2aafe0
AS
125222011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12523
12524 * math/s_nan.c: Undef __nan.
12525 * math/s_nanf.c: Undef __nanf.
12526 * math/s_nanl.c: Undef __nanl.
12527 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12528 "math_private.h".
12529
bc62c2fb
UD
125302011-10-22 Ulrich Drepper <drepper@gmail.com>
12531
77425c63
UD
12532 * math/s_catan.c: Add branch predictions.
12533 * math/s_catanf.c: Likewise.
12534 * math/s_catanh.c: Likewise.
12535 * math/s_catanhf.c: Likewise.
12536 * math/s_catanhl.c: Likewise.
12537 * math/s_catanl.c: Likewise.
12538 * math/s_cexp.c: Likewise.
12539 * math/s_cexpf.c: Likewise.
12540 * math/s_cexpl.c: Likewise.
12541 * math/s_clog.c: Likewise.
12542 * math/s_clog10.c: Likewise.
12543 * math/s_clog10f.c: Likewise.
12544 * math/s_clog10l.c: Likewise.
12545 * math/s_clogf.c: Likewise.
12546 * math/s_clogl.c: Likewise.
12547 * math/s_csqrt.c: Likewise.
12548 * math/s_csqrtf.c: Likewise.
12549 * math/s_csqrtl.c: Likewise.
12550 * math/s_ctanf.c: Likewise.
12551 * math/s_ctanh.c: Likewise.
12552 * math/s_ctanhf.c: Likewise.
12553 * math/s_ctanhl.c: Likewise.
12554 * math/s_ctanl.c: Likewise.
12555
bc62c2fb
UD
12556 * math/math_private.h: Define __nan, __nanf, __nanl.
12557 * math/s_cacosh.c: Include <math_private.h>.
12558 * math/s_cacoshl.c: Likewise.
12559 * math/s_casinh.c: Likewise.
12560 * math/s_casinhf.c: Likewise.
12561 * math/s_casinhl.c: Likewise.
12562 * math/s_ccos.c: Rely entire on ccosh.
12563 * math/s_ccosf.c: Rely entire on ccoshf.
12564 * math/s_ccosl.c: Rely entirely on ccoshl.
12565 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12566 Remove tests for FE_INVALID.
12567 * math/s_ccoshf.c: Likewise.
12568 * math/s_ccoshl.c: Likewise.
12569 * math/s_csin.c: Likewise.
12570 * math/s_csinf.c: Likewise.
12571 * math/s_csinh.c Likewise.
12572 * math/s_csinhf.c: Likewise.
12573 * math/s_csinhl.c: Likewise.
12574 * math/s_csinl.c: Likewise.
12575 * math/s_ctan.c: Likewise.
12576 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12577 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12578 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12579
8ec250a4
UD
125802011-10-21 Ulrich Drepper <drepper@gmail.com>
12581
c196fed8
UD
12582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12583 compilation problems.
12584
8ec250a4
UD
12585 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12586 __builtin_expect.
12587
8d4f46c6
UD
125882011-10-20 Ulrich Drepper <drepper@gmail.com>
12589
ed72b654
UD
12590 * sysdeps/i386/configure.in: Test for -mfma4 option.
12591 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12592 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12593 COMMON_CPUID_INDEX_80000001.
12594 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12595 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12596 use it if FMA3 is not supported.
12597 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12598
8d4f46c6
UD
12599 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12600 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12601
d45c60c2
AS
126022011-10-20 Andreas Schwab <schwab@redhat.com>
12603
12604 [BZ #12892]
12605 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12606 it would create a cycle with a link time dependency.
12607
d9a4d2ab
UD
126082011-10-19 Ulrich Drepper <drepper@gmail.com>
12609
855d1560
UD
12610 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12611 instruction.
12612 * string/Makefile (strop-tests): Add rawmemchr.
12613 * string/test-rawmemchr.c: New file.
12614
d9a4d2ab
UD
12615 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12616 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12617 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12618 when compiling str{,n}casecmp and when AVX is available. Hook up
12619 new optimized code in initializers.
12620
8f3b1ffe
AS
126212011-10-19 Andreas Schwab <schwab@redhat.com>
12622
12623 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12624 __feraiseexcept instead of feraiseexcept.
12625
d38f1dba
UD
126262011-10-18 Ulrich Drepper <drepper@gmail.com>
12627
d9a8d0ab
UD
12628 * math/math_private.h: Define defaults for libc_fetestexcept and
12629 libc_feupdateenv.
12630 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12631 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12632 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12633 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12634 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12635 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12636 libc_fetestexcept and libc_feupdateenv.
12637
4855e3dd
UD
12638 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12639 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12640 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12641 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12642 libc_feholdexcept_setround.
12643
581d30e3
UD
12644 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12645 Add s_nearbyint-c and s_nearbyintf-c.
12646 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12647 nearbyintf inlines.
12648 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12649 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12650 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12651 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12652
d38f1dba
UD
12653 * math/math_private.h: Define defaults for libc_fegetround,
12654 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12655 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12656 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12658 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12659 standard functions.
12660 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12661 Remove comments and hacks for old compiler versions.
12662 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12663 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12664 libc_feholdexceptl.
12665
caa6c9d8
AS
126662011-10-18 Andreas Schwab <schwab@redhat.com>
12667
12668 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12669 (__feraiseexcept_renamed): Add __NTH.
12670 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12671 namespace violations.
12672
97c066e6
UD
126732011-10-17 Ulrich Drepper <drepper@gmail.com>
12674
99ce7b04
UD
12675 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12676
1004d182
UD
12677 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12678
228a984d
UD
12679 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12680 recently added interfaces.
12681 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12682
c8553a6a
UD
12683 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12684 about macro parameter expansion.
12685
ed22dcf6
UD
12686 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12687 __NO_MATH_INLINES is defined. Cleanups.
12688
12689 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12690 and __floorf is target has SSE4.1.
12691 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12692 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12693 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12694 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12695
b171c137
UD
12696 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12697 name.
12698 (floorf): Likewise.
12699
97c066e6
UD
12700 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12701
629f62ef
AS
127022011-10-17 Andreas Schwab <schwab@redhat.com>
12703
49a43d80
AS
12704 * misc/sys/cdefs.h: Fix last change.
12705
629f62ef
AS
12706 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12707 database lookup.
12708
e453f6cd
UD
127092011-10-16 Ulrich Drepper <drepper@gmail.com>
12710
aa78043a
UD
12711 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12712
ad0f5cad
UD
12713 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12714 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12715 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12716 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12717 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12718 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12719 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12720 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12721 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12722 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12723 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12724 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12725 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12726 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12727 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12728 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12729 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12730 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12731 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12732 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12733 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12734 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12735
12736 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12737 ceil, ceilf, floor, floorf.
12738
12739 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12740 Perform IRELATIVE relocations last.
12741
e453f6cd
UD
12742 * elf/do-rel.h: Add another parameter nrelative, replacing the
12743 local variable with the same name. Change name of the function
12744 to end in Rel or Rela (uppercase).
12745 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12746 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12747 elf_dynamic_do_##reloc function.
12748
fd5bdc09
UD
127492011-10-15 Ulrich Drepper <drepper@gmail.com>
12750
79b195b5
UD
12751 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12752 is sufficient, at least on modern CPUs.
12753
d4a28569
UD
12754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12755
b61099b5
UD
12756 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12757 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12758
bcf01e6d
UD
12759 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12760 __expl_finite.
12761 * math/bits/math-finite.h: Add entries for exp.
12762 * math/e_expl.c: Add __*_finite alias.
12763 * sysdeps/i386/fpu/e_exp.S: Likewise.
12764 * sysdeps/i386/fpu/e_expf.S: Likewise.
12765 * sysdeps/i386/fpu/e_expl.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12767 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12768 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12769 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12771 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12772 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12773
ba1a0d59
UD
12774 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12775 is sufficient, at least on modern CPUs.
12776
fd5bdc09
UD
12777 * ctype/ctype-info.c (__ctype_init): Define.
12778 * include/ctype.h (__ctype_init): Declare.
12779 (__ctype_b_loc): The variable is always initialized.
12780 (__ctype_toupper_loc): Likewise.
12781 (__ctype_tolower_loc): Likewise.
12782 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12783 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12784
7872cfb0
AS
127852011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12786
b468825a
AS
12787 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12788
7872cfb0
AS
12789 * configure.in: Also look in $cxxmachine/include for C++ system
12790 headers.
12791
be13f7bf
LD
127922011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12793
12794 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12795 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12796 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12797 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12798 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12799 (USE_AS_WMEMCMP): New macro.
12800 Fixing indents.
12801 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12802 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12803 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12804 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12806 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12807 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12808 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12809 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12810 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12811 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12812 (USE_AS_WMEMCMP): New macro.
12813 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12814 * sysdeps/string/test-memcmp.c: Update.
12815 Fix simple_wmemcmp.
12816 Add new tests.
12817 * wcsmbs/wmemcmp.c: Update.
12818 (WMEMCMP): New macro.
12819 Fix overflow bug.
12820
556a2007
AJ
128212011-10-12 Andreas Jaeger <aj@suse.de>
12822
12823 [BZ #13268]
12824 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12825
538faaa7
UD
128262011-10-15 Ulrich Drepper <drepper@gmail.com>
12827
ab6737ff
UD
12828 * libio/iofwide.c (do_length): Avoid warning.
12829
538faaa7
UD
12830 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12831
396a21b1
UD
128322011-10-14 Ulrich Drepper <drepper@gmail.com>
12833
cdf2901f
UD
12834 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12835
38ad40ce
UD
12836 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12837 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12838 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12839 * sysdeps/i386/i686/fpu/e_log.S: New file.
12840 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12841 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12842
396a21b1
UD
12843 * ctype/ctype.h: Add support for inlined isXXX functions when
12844 compiling C++ code.
12845
6b1f68c9
AS
128462011-10-14 Andreas Schwab <schwab@redhat.com>
12847
349290c0
AS
12848 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12849
6b1f68c9
AS
12850 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12851
f2282d42
RM
128522011-10-13 Roland McGrath <roland@hack.frob.com>
12853
12854 [BZ #13291]
12855 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12856
5298ffa8
AS
128572011-10-13 Andreas Schwab <schwab@redhat.com>
12858
714fad23
AS
12859 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12860 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12861 feraiseexcept.
12862
81dcc7fb
AS
12863 * sysdeps/x86_64/memrchr.S: Check for zero size.
12864
5298ffa8
AS
12865 * string/stratcliff.c: Add memrchr tests.
12866
951fbcec
LD
128672011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12868
12869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12870 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12871 rawmemchr-sse2 rawmemchr-sse2-bsf.
12872 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12873 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12874 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12875 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12876 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12877 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12878 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12879 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12880 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12881 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12882 * string/memrchr.c (MEMRCHR): New macro.
12883
0ac5ae23
UD
128842011-10-12 Ulrich Drepper <drepper@gmail.com>
12885
12886 Add integration with gcc's -ffinite-math-only and optimize wrapper
12887 functions in libm.
12888 * Versions.def: Define GLIBC_2.15 version for libm.
12889 * math/Makefile (headers): Add bits/math-finite.h.
12890 * math/bits/math-finite.h: New file.
12891 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12892 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12893 * math/e_acoshl.c: Add __*_finite alias.
12894 * math/e_acosl.c: Likewise.
12895 * math/e_asinl.c: Likewise.
12896 * math/e_atan2l.c: Likewise.
12897 * math/e_atanhl.c: Likewise.
12898 * math/e_coshl.c: Likewise.
12899 * math/e_exp10.c: Likewise.
12900 * math/e_exp10f.c: Likewise.
12901 * math/e_exp10l.c: Likewise.
12902 * math/e_exp2l.c: Likewise.
12903 * math/e_fmodl.c: Likewise.
12904 * math/e_gammal_r.c: Likewise.
12905 * math/e_hypotl.c: Likewise.
12906 * math/e_j0l.c: Likewise.
12907 * math/e_j1l.c: Likewise.
12908 * math/e_jnl.c: Likewise.
12909 * math/e_lgammal_r.c: Likewise.
12910 * math/e_log10l.c: Likewise.
12911 * math/e_log2l.c: Likewise.
12912 * math/e_logl.c: Likewise.
12913 * math/e_powl.c: Likewise.
12914 * math/e_sinhl.c: Likewise.
12915 * math/e_sqrtl.c: Likewise.
12916 * math/e_scalb.c: Completely rewritten and optimized.
12917 * math/e_scalbf.c: Likewise.
12918 * math/e_scalbl.c: Likewise.
12919 * math/w_acos.c: Likewise.
12920 * math/w_acosf.c: Likewise.
12921 * math/w_acosl.c: Likewise.
12922 * math/w_acosh.c: Likewise.
12923 * math/w_acoshf.c: Likewise.
12924 * math/w_acoshl.c: Likewise.
12925 * math/w_asin.c: Likewise.
12926 * math/w_asinf.c: Likewise.
12927 * math/w_asinl.c: Likewise.
12928 * math/w_atan2.c: Likewise.
12929 * math/w_atan2f.c: Likewise.
12930 * math/w_atan2l.c: Likewise.
12931 * math/w_atanh.c: Likewise.
12932 * math/w_atanhf.c: Likewise.
12933 * math/w_atanhl.c: Likewise.
12934 * math/w_exp10.c: Likewise.
12935 * math/w_exp10f.c: Likewise.
12936 * math/w_exp10l.c: Likewise.
12937 * math/w_fmod.c: Likewise.
12938 * math/w_fmodf.c: Likewise.
12939 * math/w_fmodl.c: Likewise.
12940 * math/w_j0.c: Likewise.
12941 * math/w_j0f.c: Likewise.
12942 * math/w_j0l.c: Likewise.
12943 * math/w_j1.c: Likewise.
12944 * math/w_j1f.c: Likewise.
12945 * math/w_j1l.c: Likewise.
12946 * math/w_jn.c: Likewise.
12947 * math/w_jnf.c: Likewise.
12948 * math/w_log.c: Likewise.
12949 * math/w_logf.c: Likewise.
12950 * math/w_logl.c: Likewise.
12951 * math/w_log10.c: Likewise.
12952 * math/w_log10f.c: Likewise.
12953 * math/w_log10l.c: Likewise.
12954 * math/w_log2.c: Likewise.
12955 * math/w_log2f.c: Likewise.
12956 * math/w_log2l.c: Likewise.
12957 * math/w_pow.c: Likewise.
12958 * math/w_powf.c: Likewise.
12959 * math/w_powl.c: Likewise.
12960 * math/w_remainder.c: Likewise.
12961 * math/w_remainderf.c: Likewise.
12962 * math/w_remainderl.c: Likewise.
12963 * math/w_scalb.c: Likewise.
12964 * math/w_scalbf.c: Likewise.
12965 * math/w_scalbl.c: Likewise.
12966 * math/w_sqrt.c: Likewise.
12967 * math/w_sqrtf.c: Likewise.
12968 * math/w_sqrtl.c: Likewise.
12969 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12970 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12971 used.
12972 * math/math_private.h: Declare __kernel_standard_f.
12973 * math/w_cosh.c: Remove cruft and optimize a bit.
12974 * math/w_coshf.c: Likewise.
12975 * math/w_coshl.c: Likewise.
12976 * math/w_exp2.c: Likewise.
12977 * math/w_exp2f.c: Likewise.
12978 * math/w_exp2l.c: Likewise.
12979 * math/w_hypot.c: Likewise.
12980 * math/w_hypotf.c: Likewise.
12981 * math/w_hypotl.c: Likewise.
12982 * math/w_lgamma.c: Likewise.
12983 * math/w_lgamma_r.c: Likewise.
12984 * math/w_lgammaf.c: Likewise.
12985 * math/w_lgammaf_r.c: Likewise.
12986 * math/w_lgammal.c: Likewise.
12987 * math/w_lgammal_r.c: Likewise.
12988 * math/w_sinh.c: Likewise.
12989 * math/w_sinhf.c: Likewise.
12990 * math/w_sinhl.c: Likewise.
12991 * math/w_tgamma.c: Likewise.
12992 * math/w_tgammaf.c: Likewise.
12993 * math/w_tgammal.c: Likewise.
12994 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12995 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12996 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12997 Minor optimizations. Pretty printing. Remove cruft.
12998 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12999 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13000 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13001 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13002 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13003 * sysdeps/i386/fpu/e_asin.S: Likewise.
13004 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13005 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13006 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13007 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13008 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13009 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13010 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13011 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13012 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13013 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13014 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13015 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13016 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13017 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13018 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13019 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13020 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13021 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13022 * sysdeps/i386/fpu/e_log.S: Likewise.
13023 * sysdeps/i386/fpu/e_log10.S: Likewise.
13024 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13025 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13026 * sysdeps/i386/fpu/e_log2.S: Likewise.
13027 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13028 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13029 * sysdeps/i386/fpu/e_logf.S: Likewise.
13030 * sysdeps/i386/fpu/e_logl.S: Likewise.
13031 * sysdeps/i386/fpu/e_pow.S: Likewise.
13032 * sysdeps/i386/fpu/e_powf.S: Likewise.
13033 * sysdeps/i386/fpu/e_powl.S: Likewise.
13034 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13035 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13036 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13037 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13038 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13039 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13040 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13041 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13042 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13043 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13044 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13046 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13047 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13048 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13049 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13050 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13064 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13065 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13066 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13067 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13068 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13069 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13070 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13071 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13072 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13073 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13074 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13075 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13076 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13077 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13078 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13079 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13080 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13081 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13082 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13083 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13084 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13085 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13089 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13094 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13095 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13096 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13098 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13099 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13107 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13108 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13112 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13114 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13115 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13119 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13123 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13125 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13126 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13128 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13129 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13131 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13134 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13135 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13136 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13137 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13138 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13139 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13140 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13141 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13142 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13143 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13144 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13145 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13146 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13147 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13148 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13149 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13150 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13151 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13152 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13153 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13154 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13155 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13156 (__isnanf): Likewise.
13157 (__isinf_ns): Likewise.
13158 (__isinf_nsf): Likewise.
13159 (__finite): Likewise.
13160 (__finitef): Likewise.
13161 (__ieee754_sqrt): Define as macro.
13162 (__ieee754_sqrtf): Define as macro.
13163 (__ieee754_sqrtl): Define as macro.
13164 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13165 inlined copy.
13166 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13167 __FINITE_MATH_ONLY__ consistent.
13168 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13169
12cc2fcd
AS
131702011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13171
a843a204
AS
13172 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13173 of rawmemchr.
13174
12cc2fcd
AS
13175 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13176
c853acd5
UD
131772011-10-09 Ulrich Drepper <drepper@gmail.com>
13178
13179 * po/ja.po: Update from translation team.
13180
c658d255
RM
131812011-10-08 Roland McGrath <roland@hack.frob.com>
13182
110946e4
RM
13183 * locale/programs/locarchive.c (prepare_address_space): New function.
13184 (create_archive, enlarge_archive, open_archive): Use it.
13185
50604220
RM
13186 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13187 inside [SHARED], where it is used.
13188
c658d255
RM
13189 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13190
13191 * nss/getent.c (netgroup_keys): Remove unused variable.
13192 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13193
6a621eb7
UD
131942011-10-08 Ulrich Drepper <drepper@gmail.com>
13195
7edb55ce
UD
13196 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13197 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13198 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13199 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13200 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13201 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13202 * math/Makefile (libm-calls): Add s_isinf_ns.
13203 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13204 * math/multc3.c: Likewise.
13205 * math/s_casin.c: Likewise.
13206 * math/s_casinf.c: Likewise.
13207 * math/s_casinl.c: Likewise.
13208 * math/s_ccos.c: Likewise.
13209 * math/s_ccosf.c: Likewise.
13210 * math/s_ccosl.c: Likewise.
13211 * math/s_ctan.c: Likewise.
13212 * math/s_ctanf.c: Likewise.
13213 * math/s_ctanh.c: Likewise.
13214 * math/s_ctanhf.c: Likewise.
13215 * math/s_ctanhl.c: Likewise.
13216 * math/s_ctanl.c: Likewise.
13217 * math/w_fmod.c: Likewise.
13218 * math/w_fmodf.c: Likewise.
13219 * math/w_fmodl.c: Likewise.
13220 * math/w_remainder.c: Likewise.
13221 * math/w_remainderf.c: Likewise.
13222 * math/w_remainderl.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13224 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13226 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13227 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13228 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13229 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13230 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13231
187da0ae
UD
13232 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13233 of the number.
13234 * stdio-common/printf_fphex.c: Likewise.
13235 * stdio-common/printf_size.c: Likewise.
13236
9277c064
UD
13237 * math/e_exp10.c: Include math_private.h using <...> not "...".
13238 * math/e_exp10f.c: Likewise.
13239 * math/e_exp10l.c: Likewise.
13240 * math/e_exp2l.c: Likewise.
13241 * math/e_j0l.c: Likewise.
13242 * math/e_j1l.c: Likewise.
13243 * math/e_jnl.c: Likewise.
13244 * math/e_lgammal_r.c: Likewise.
13245 * math/e_rem_pio2l.c: Likewise.
13246 * math/e_scalb.c: Likewise.
13247 * math/e_scalbf.c: Likewise.
13248 * math/e_scalbl.c: Likewise.
13249 * math/k_cosl.c: Likewise.
13250 * math/k_sinl.c: Likewise.
13251 * math/k_tanl.c: Likewise.
13252 * math/s_cacoshf.c: Likewise.
13253 * math/s_catan.c: Likewise.
13254 * math/s_catanf.c: Likewise.
13255 * math/s_catanh.c: Likewise.
13256 * math/s_catanhf.c: Likewise.
13257 * math/s_catanhl.c: Likewise.
13258 * math/s_catanl.c: Likewise.
13259 * math/s_ccosh.c: Likewise.
13260 * math/s_ccoshf.c: Likewise.
13261 * math/s_ccoshl.c: Likewise.
13262 * math/s_cexp.c: Likewise.
13263 * math/s_cexpf.c: Likewise.
13264 * math/s_cexpl.c: Likewise.
13265 * math/s_clog.c: Likewise.
13266 * math/s_clog10.c: Likewise.
13267 * math/s_clog10f.c: Likewise.
13268 * math/s_clog10l.c: Likewise.
13269 * math/s_clogf.c: Likewise.
13270 * math/s_clogl.c: Likewise.
13271 * math/s_csin.c: Likewise.
13272 * math/s_csinf.c: Likewise.
13273 * math/s_csinh.c: Likewise.
13274 * math/s_csinhf.c: Likewise.
13275 * math/s_csinhl.c: Likewise.
13276 * math/s_csinl.c: Likewise.
13277 * math/s_csqrt.c: Likewise.
13278 * math/s_csqrtf.c: Likewise.
13279 * math/s_csqrtl.c: Likewise.
13280 * math/s_ctan.c: Likewise.
13281 * math/s_ctanf.c: Likewise.
13282 * math/s_ctanh.c: Likewise.
13283 * math/s_ctanhf.c: Likewise.
13284 * math/s_ctanhl.c: Likewise.
13285 * math/s_ctanl.c: Likewise.
13286 * math/s_ldexp.c: Likewise.
13287 * math/s_ldexpf.c: Likewise.
13288 * math/s_ldexpl.c: Likewise.
13289 * math/s_significand.c: Likewise.
13290 * math/s_significandf.c: Likewise.
13291 * math/s_significandl.c: Likewise.
13292 * math/w_acos.c: Likewise.
13293 * math/w_acosf.c: Likewise.
13294 * math/w_acosh.c: Likewise.
13295 * math/w_acoshf.c: Likewise.
13296 * math/w_acoshl.c: Likewise.
13297 * math/w_acosl.c: Likewise.
13298 * math/w_asin.c: Likewise.
13299 * math/w_asinf.c: Likewise.
13300 * math/w_asinl.c: Likewise.
13301 * math/w_atan2.c: Likewise.
13302 * math/w_atan2f.c: Likewise.
13303 * math/w_atan2l.c: Likewise.
13304 * math/w_atanh.c: Likewise.
13305 * math/w_atanhf.c: Likewise.
13306 * math/w_atanhl.c: Likewise.
13307 * math/w_cosh.c: Likewise.
13308 * math/w_coshf.c: Likewise.
13309 * math/w_coshl.c: Likewise.
13310 * math/w_dremf.c: Likewise.
13311 * math/w_exp10.c: Likewise.
13312 * math/w_exp10f.c: Likewise.
13313 * math/w_exp10l.c: Likewise.
13314 * math/w_exp2.c: Likewise.
13315 * math/w_exp2f.c: Likewise.
13316 * math/w_fmod.c: Likewise.
13317 * math/w_fmodf.c: Likewise.
13318 * math/w_fmodl.c: Likewise.
13319 * math/w_hypot.c: Likewise.
13320 * math/w_hypotf.c: Likewise.
13321 * math/w_hypotl.c: Likewise.
13322 * math/w_j0.c: Likewise.
13323 * math/w_j0f.c: Likewise.
13324 * math/w_j0l.c: Likewise.
13325 * math/w_j1.c: Likewise.
13326 * math/w_j1f.c: Likewise.
13327 * math/w_j1l.c: Likewise.
13328 * math/w_jn.c: Likewise.
13329 * math/w_jnf.c: Likewise.
13330 * math/w_jnl.c: Likewise.
13331 * math/w_lgamma.c: Likewise.
13332 * math/w_lgamma_r.c: Likewise.
13333 * math/w_lgammaf.c: Likewise.
13334 * math/w_lgammaf_r.c: Likewise.
13335 * math/w_lgammal.c: Likewise.
13336 * math/w_lgammal_r.c: Likewise.
13337 * math/w_log.c: Likewise.
13338 * math/w_log10.c: Likewise.
13339 * math/w_log10f.c: Likewise.
13340 * math/w_log10l.c: Likewise.
13341 * math/w_log2.c: Likewise.
13342 * math/w_log2f.c: Likewise.
13343 * math/w_log2l.c: Likewise.
13344 * math/w_logf.c: Likewise.
13345 * math/w_logl.c: Likewise.
13346 * math/w_pow.c: Likewise.
13347 * math/w_powf.c: Likewise.
13348 * math/w_powl.c: Likewise.
13349 * math/w_remainder.c: Likewise.
13350 * math/w_remainderf.c: Likewise.
13351 * math/w_remainderl.c: Likewise.
13352 * math/w_scalb.c: Likewise.
13353 * math/w_scalbf.c: Likewise.
13354 * math/w_scalbl.c: Likewise.
13355 * math/w_sinh.c: Likewise.
13356 * math/w_sinhf.c: Likewise.
13357 * math/w_sinhl.c: Likewise.
13358 * math/w_sqrt.c: Likewise.
13359 * math/w_sqrtf.c: Likewise.
13360 * math/w_sqrtl.c: Likewise.
13361 * math/w_tgamma.c: Likewise.
13362 * math/w_tgammaf.c: Likewise.
13363 * math/w_tgammal.c: Likewise.
13364
6a621eb7
UD
13365 * po/ja.po: Update from translation team.
13366
bf582445
AJ
133672011-09-29 Andreas Jaeger <aj@suse.de>
13368
f9efbf3a
AJ
13369 [BZ #13179]
13370 * sunrpc/netname.c (netname2host): Fix logic.
13371
bf582445
AJ
13372 [BZ #6779]
13373 [BZ #6783]
13374 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13375 correctly.
13376 * math/w_remainder.c (__remainder): Likewise.
13377 * math/w_remainderf.c (__remainderf): Likewise.
13378 * math/libm-test.inc (remainder_test): Add test cases.
13379
48693bea
AK
133802011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13381
13382 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13383 sdiv_qrnnd.
13384
42622229
LD
133852011-10-07 Ulrich Drepper <drepper@gmail.com>
13386
13387 * string/test-memcmp.c: Avoid unncessary #defines.
13388 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13389
093ecf92
LD
133902011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13391
13392 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13393 Use new sse2 version for core i3 - i7 as it's faster
13394 than sse42 version.
13395 (bit_Prefer_PMINUB_for_stringop): New.
13396 * sysdeps/x86_64/rawmemchr.S: Update.
13397 Replace with faster SSE2 version.
13398 * sysdeps/x86_64/memrchr.S: New file.
13399 * sysdeps/x86_64/memchr.S: Update.
13400 Replace with faster SSE2 version.
13401
fde56e5c
MP
134022011-09-12 Marek Polacek <mpolacek@redhat.com>
13403
13404 * elf/dl-load.c (lose): Add cast to avoid warning.
13405
21fd49a9
UD
134062011-10-07 Ulrich Drepper <drepper@gmail.com>
13407
5a06e643
UD
13408 * po/ca.po: Update from translation team.
13409
684ae515
UD
13410 * inet/getnetgrent_r.c: Hook up nscd.
13411 * nscd/Makefile (routines): Add nscd_netgroup.
13412 (nscd-modules): Add netgroupcache.
13413 (CFLAGS-netgroupcache.c): Define.
13414 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13415 (cache_search): Add const to second parameter.
13416 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13417 INNETGR.
13418 (dbs): Add netgrdb entry.
13419 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13420 (verify_persistent_db): Handle netgrdb.
13421 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13422 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13423 GETFDNETGR.
13424 (netgroup_response_header): Define.
13425 (innetgroup_response_header): Define.
13426 (datahead): Add netgroup_response_header and innetgroup_response_header
13427 elements.
13428 * nscd/nscd.conf: Add entries for netgroup cache.
13429 * nscd/nscd.h (dbtype): Add netgrdb.
13430 (_PATH_NSCD_NETGROUP_DB): Define.
13431 (netgroup_iov_disabled): Declare.
13432 (xmalloc, xcalloc, xrealloc): Move declarations here.
13433 (cache_search): Adjust prototype.
13434 Add netgroup-related prototypes.
13435 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13436 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13437 (__nscd_innetgr): Declare.
13438 * nscd/selinux.c (perms): Use access_vector_t as element type and
13439 add netgroup-related initializers.
13440 * nscd/netgroupcache.c: New file.
13441 * nscd/nscd_netgroup.c: New file.
13442 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13443 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13444 For four parameters use innetgr.
13445 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13446 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13447 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13448 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13449
21fd49a9
UD
13450 * nscd/connections.c (register_traced_file): Don't register file
13451 for disabled databases.
13452
054c0457
UD
134532011-10-06 Ulrich Drepper <drepper@gmail.com>
13454
32b63198
UD
13455 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13456
054c0457
UD
13457 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13458 from tree and freeing node.
13459
64031225
JO
134602011-09-25 Jiri Olsa <jolsa@redhat.com>
13461
13462 * nss/nsswitch.c (__nss_database_lookup): Handle
13463 nss_parse_service_list out of memory case.
13464
0490345c
JO
134652011-09-15 Jiri Olsa <jolsa@redhat.com>
13466
13467 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13468 out of memory case.
13469
3a62d00d
AS
134702011-10-04 Andreas Schwab <schwab@redhat.com>
13471
13472 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13473 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13474 pass it down.
13475 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13476 elf_machine_rela, elf_machine_lazy_rel.
13477 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13478 (ELF_DYNAMIC_DO_REL): Likewise.
13479 (ELF_DYNAMIC_DO_RELA): Likewise.
13480 (ELF_DYNAMIC_RELOCATE): Likewise.
13481 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13482 to ELF_DYNAMIC_DO_REL.
13483 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13484 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13485 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13486 elf_machine_rela.
13487 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13488 skip_ifunc, don't call ifunc function if non-zero.
13489 (elf_machine_rela): Likewise.
13490 (elf_machine_lazy_rel): Likewise.
13491 (elf_machine_lazy_rela): Likewise.
13492 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13493 (elf_machine_lazy_rel): Likewise.
13494 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13495 Likewise.
13496 (elf_machine_lazy_rel): Likewise.
13497 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13498 Likewise.
13499 (elf_machine_lazy_rel): Likewise.
13500 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13501 (elf_machine_lazy_rel): Likewise.
13502 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13503 (elf_machine_lazy_rel): Likewise.
13504 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13505 (elf_machine_lazy_rel): Likewise.
13506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13507 (elf_machine_lazy_rel): Likewise.
13508 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13509 (elf_machine_lazy_rel): Likewise.
13510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13511 (elf_machine_lazy_rel): Likewise.
13512
68577918
UD
135132011-09-28 Ulrich Drepper <drepper@gmail.com>
13514
13515 * nss/nss_files/files-init.c (_nss_files_init): Use static
13516 initialization for all the *_traced_file variables.
13517
68822d74
AS
135182011-09-28 Andreas Schwab <schwab@redhat.com>
13519
13520 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13521
2056100b
RM
135222011-09-27 Roland McGrath <roland@hack.frob.com>
13523
13524 [BZ #13226]
13525 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13526
32c76b63
AS
135272011-09-27 Andreas Schwab <schwab@redhat.com>
13528
13529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13530 Reread the line before reparsing it.
13531
bf972c9d
AS
135322011-09-26 Andreas Schwab <schwab@redhat.com>
13533
13534 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13535
e057a1b5
JM
135362011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13537 Maxim Kuvyrkov <maxim@codesourcery.com>
13538 Joseph Myers <joseph@codesourcery.com>
13539
13540 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13541 if needed for __stack_chk_guard.
13542
bc7e1c36
RM
135432011-09-19 Roland McGrath <roland@hack.frob.com>
13544
ecb1482f
RM
13545 * sysdeps/posix/spawni.c (script_execute): Always define it.
13546 It will be optimized away if unused.
13547 (maybe_script_execute): New function.
13548 (__spawni): Call it.
13549
bc7e1c36
RM
13550 * Makerules: Don't include tls.make.
13551 (config-tls): Always set to thread.
13552 * tls.make.c: File removed.
13553
1c3b002b
MF
135542011-09-19 Mike Frysinger <vapier@gentoo.org>
13555
13556 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13557 * config.make.in (CPPFLAGS-config): New substituted variable.
13558
2840865d
UD
135592011-09-15 Ulrich Drepper <drepper@gmail.com>
13560
88738eb6
UD
13561 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13562
cbf645a6 13563 [BZ #13192]
2840865d
UD
13564 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13565 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13566
b402e91a
RM
135672011-09-15 Roland McGrath <roland@hack.frob.com>
13568
13569 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13570 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13571 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13572 (CALL_FAIL): Likewise.
13573 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13574 (CALL_FAIL): Macro removed.
13575 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13576
4c1a1f71
UD
135772011-09-15 Ulrich Drepper <drepper@gmail.com>
13578
13579 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13580 for __FINITE_MATH_ONLY__ == 1.
13581
edc121be
AS
135822011-09-15 Andreas Schwab <schwab@redhat.com>
13583
13584 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13585 __ieee754_sqrt instead of sqrt.
13586 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13587 __ieee754_sqrtf instead of sqrtf.
13588 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13589 __floorf instead of floorf.
13590 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13591 __floorf, __truncf instead of floorf, truncf.
13592
cd205654
UD
135932011-09-14 Ulrich Drepper <drepper@gmail.com>
13594
ee4d0315
UD
13595 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13596
cd205654
UD
13597 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13598 __extern_always_inline.
13599 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13600 32-bit.
13601
48b67d71
AS
136022011-09-14 Andreas Schwab <schwab@redhat.com>
13603
13604 * elf/rtld.c (dl_main): Also relocate in dependency order when
13605 doing symbol dependency testing.
13606
1ae12c75
AS
136072011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13608
13609 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13610 Always define `refsym'.
13611
995a80df
AS
136122011-09-13 Andreas Schwab <schwab@redhat.com>
13613
e529793b
AS
13614 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13615 (__FD_ELT): Renamed from __FDELT.
13616 * misc/bits/select2.h (__FD_ELT): Likewise.
13617 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13618 __FD_MASK instead of __FDELT, __FDMASK.
13619 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13620 Likewise.
13621 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13622 Likewise.
13623
52d4fef8
AS
13624 * elf/Makefile (gen-ldd): Fix pattern.
13625
995a80df
AS
13626 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13627 (init_tls): Likewise.
13628
8682f8b0
UD
136292011-09-12 Ulrich Drepper <drepper@gmail.com>
13630
13631 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13632
de82006d
AS
136332011-09-12 Andreas Schwab <schwab@redhat.com>
13634
a7c8e6a1
AS
13635 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13636 `struct cmsghdr *' instead of `void *'.
13637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13638 Likewise.
13639
0f31fe77
AS
136402011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13641
13642 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13643 if non-absolute.
13644 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13645 ldd_rewrite_script.
0f31fe77 13646
32b4c839
UD
136472011-09-11 Ulrich Drepper <drepper@gmail.com>
13648
83cd1420
UD
13649 * configure.in: Remove --with-tls option.
13650 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13651 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13652 out in case it is missing.
13653 * sysdeps/ia64/elf/configure.in: Likewise.
13654 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13655 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13656 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13657 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13658 * sysdeps/sh/elf/configure.in: Likewise.
13659 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13660 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13661 * sysdeps/x86_64/elf/configure.in: Likewise.
13662 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13663 * sysdeps/mach/hurd/tls.h: Likewise.
13664
633f745d
UD
13665 [BZ #13067]
13666 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13667
f318beb8
UD
13668 [BZ #13090]
13669 * configure.in: Fix use of AC_INIT.
13670
32b4c839
UD
13671 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13672
3ce1f295
UD
136732011-09-10 Ulrich Drepper <drepper@gmail.com>
13674
bb016596
UD
13675 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13676 __set_errno.
8e58439c
UD
13677 * malloc/hooks.c: Likewise.
13678
aebae053 13679 [BZ #11929]
02d46fc4
UD
13680 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13681 variables statically.
13682 (narenas): Initialize.
13683 (list_lock): Initialize.
bb016596
UD
13684 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13685 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13686 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13687 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13688 Add initializers to main_arena and mp_.
13689 (malloc_state): Remove pagesize member. Change all users to use
13690 GLRO(dl_pagesize).
13691
13692 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13693 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13694 is always initialized.
13695
22a89187
UD
13696 * malloc/malloc.c: Removed unused configurations and dead code.
13697 * malloc/arena.c: Likewise.
13698 * malloc/hooks.c: Likewise.
02d46fc4 13699 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13700
d063d164
UD
13701 * include/tls.h: Removed. USE___THREAD must always be defined.
13702 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13703 * elf/dl-libc.c: Likewise.
13704 * elf/dl-tsd.c: Likewise.
13705 * include/errno.h: Likewise.
13706 * include/netdb.h: Likewise.
13707 * include/resolv.h: Likewise.
13708 * inet/herrno-loc.c: Likewise.
13709 * inet/herrno.c: Likewise.
13710 * malloc/arena.c: Likewise.
13711 * malloc/hooks.c: Likewise.
13712 * malloc/malloc.c: Likewise.
13713 * resolv/res-state.c: Likewise.
13714 * resolv/res_libc.c: Likewise.
13715 * sysdeps/i386/dl-machine.h: Likewise.
13716 * sysdeps/ia64/dl-machine.h: Likewise.
13717 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13718 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13719 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13720 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13721 * sysdeps/sh/dl-machine.h: Likewise.
13722 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13723 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13724 * sysdeps/unix/i386/sysdep.S: Likewise.
13725 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13726 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13727 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13728 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13731 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13732 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13735 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13736 * sysdeps/x86_64/dl-machine.h: Likewise.
13737 * tls.make.c: Likewise.
13738
3ce1f295
UD
13739 * configure.in: Remove --with-__thread option. Make tests for
13740 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13741 tls_model attribute fail if no support is available. Remove
13742 USE_IN_LIBIO.
13743 * Makeconfig: Adjust for dropped configure option. All features are
13744 now mandatory.
13745 * Makerules: Likewise.
13746 * Versions.def: Likewise.
13747 * argp/argp-fmtstream.c: Likewise.
13748 * argp/argp-fmtstream.h: Likewise.
13749 * argp/argp-help.c: Likewise.
13750 * assert/assert.c: Likewise.
13751 * config.h.in: Likewise.
13752 * config.make.in: Likewise.
13753 * configure: Likewise.
13754 * configure.in: Likewise.
13755 * csu/Versions: Likewise.
13756 * csu/init.c: Likewise.
13757 * elf/tst-audit2.c: Likewise.
13758 * elf/tst-tls10.c: Likewise.
13759 * elf/tst-tls10.h: Likewise.
13760 * elf/tst-tls11.c: Likewise.
13761 * elf/tst-tls12.c: Likewise.
13762 * elf/tst-tls14.c: Likewise.
13763 * elf/tst-tlsmod11.c: Likewise.
13764 * elf/tst-tlsmod12.c: Likewise.
13765 * elf/tst-tlsmod13.c: Likewise.
13766 * elf/tst-tlsmod13a.c: Likewise.
13767 * elf/tst-tlsmod14a.c: Likewise.
13768 * elf/tst-tlsmod15b.c: Likewise.
13769 * elf/tst-tlsmod16a.c: Likewise.
13770 * elf/tst-tlsmod16b.c: Likewise.
13771 * elf/tst-tlsmod7.c: Likewise.
13772 * elf/tst-tlsmod8.c: Likewise.
13773 * elf/tst-tlsmod9.c: Likewise.
13774 * gmon/gmon.c: Likewise.
13775 * grp/fgetgrent_r.c: Likewise.
13776 * grp/putgrent.c: Likewise.
13777 * hurd/fopenport.c: Likewise.
13778 * include/libc-symbols.h: Likewise.
13779 * include/tls.h: Likewise.
13780 * intl/gettextP.h: Likewise.
13781 * intl/loadinfo.h: Likewise.
13782 * locale/global-locale.c: Likewise.
13783 * locale/localeinfo.h: Likewise.
13784 * mach/devstream.c: Likewise.
13785 * malloc/arena.c: Likewise.
13786 * malloc/set-freeres.c: Likewise.
13787 * misc/err.c: Likewise.
13788 * misc/getttyent.c: Likewise.
13789 * misc/mntent_r.c: Likewise.
13790 * posix/getopt.c: Likewise.
13791 * posix/wordexp.c: Likewise.
13792 * pwd/fgetpwent_r.c: Likewise.
13793 * resolv/Versions: Likewise.
13794 * resolv/res_hconf.c: Likewise.
13795 * shadow/fgetspent_r.c: Likewise.
13796 * shadow/putspent.c: Likewise.
13797 * stdio-common/printf_fphex.c: Likewise.
13798 * stdio-common/tmpfile.c: Likewise.
13799 * stdlib/abort.c: Likewise.
13800 * stdlib/fmtmsg.c: Likewise.
13801 * sunrpc/auth_unix.c: Likewise.
13802 * sunrpc/clnt_perr.c: Likewise.
13803 * sunrpc/clnt_tcp.c: Likewise.
13804 * sunrpc/clnt_udp.c: Likewise.
13805 * sunrpc/clnt_unix.c: Likewise.
13806 * sunrpc/openchild.c: Likewise.
13807 * sunrpc/svc_simple.c: Likewise.
13808 * sunrpc/svc_tcp.c: Likewise.
13809 * sunrpc/svc_udp.c: Likewise.
13810 * sunrpc/svc_unix.c: Likewise.
13811 * sunrpc/xdr.c: Likewise.
13812 * sunrpc/xdr_array.c: Likewise.
13813 * sunrpc/xdr_rec.c: Likewise.
13814 * sunrpc/xdr_ref.c: Likewise.
13815 * sunrpc/xdr_stdio.c: Likewise.
13816
1248c1c4
PB
138172011-09-09 Ulrich Drepper <drepper@gmail.com>
13818
13819 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13820
138212011-07-03 Andreas Jaeger <aj@suse.de>
13822
13823 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13824 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13825 regenerate with gen-libm-tests.pl.
13826
138272010-05-12 Petr Baudis <pasky@suse.cz>
13828
13829 [BZ #11589]
13830 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13831 around j0() zero points by switching to j1().
13832 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13836
f22e1074
UD
138372011-09-09 Ulrich Drepper <drepper@gmail.com>
13838
f19009c1
UD
13839 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13840 instead of 0.
13841 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13842 instead of 0. .
13843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13844 Patch in part by Pavel Roskin <proski@gnu.org>.
13845
3f8cc204
UD
13846 [BZ #13138]
13847 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13848 realloc.
13849 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13850 Free memory block if necessary.
13851
f22e1074
UD
13852 [BZ #12847]
13853 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13854 be NULL. Don't lock in this case.
13855
0a2349f9
RM
138562011-09-09 Roland McGrath <roland@hack.frob.com>
13857
13858 * elf/elf.h (ELFOSABI_GNU): New macro.
13859 (ELFOSABI_LINUX): Define to that.
13860
f3cdd467
DZ
138612011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13862
13863 * string/strncat.c (strncat): Undef the symbol in case it has been
13864 defined in bits/string.h.
13865
74718d13
UD
138662011-09-09 Ulrich Drepper <drepper@gmail.com>
13867
633e9e0f
UD
13868 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13869
0a2349f9 13870 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13871 link map.
13872
f9924780
AJ
138732011-08-17 Andreas Jaeger <aj@suse.de>
13874
13875 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13876
7f5517aa
PP
138772011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13878 Ian Lance Taylor <iant@google.com>
13879
13880 * math/libm-test.inc (lround_test): New testcase.
13881 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13882
762011fe
UD
138832011-09-08 Ulrich Drepper <drepper@gmail.com>
13884
92963737
UD
13885 * Makefile: Remove support for automatic cvs check-ins.
13886 * Makerules: Likewise.
13887 * config.make.in: Likewise.
13888 * configure.in: Likewise.
13889 * intl/Makefile: Likewise.
13890 * locale/Makefile: Likewise.
13891 * po/Makefile: Likewise.
13892 * posix/Makefile: Likewise.
13893 * sysdeps/gnu/Makefile: Likewise.
13894 * sysdeps/mach/hurd/Makefile: Likewise.
13895 * sysdeps/sparc/sparc32/Makefile: Likewise.
13896
b0727fd8
JS
13897 [BZ #13118]
13898 * posix/Makefile (bug-regex32-ENV): Define.
13899 Patch by John Stanley <jpsinthemix@verizon.net>.
13900
a0f33f99
UD
13901 * misc/Makefile (headers): Add bits/select2.h.
13902 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13903 * misc/bits/select2.h: New file.
13904 * include/bits/select2.h: New file.
13905 * debug/Makefile (routines): Add fdelt_chk.
13906 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13907 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13908 FD_ISSET.
13909 * debug/fdelt_chk.c: New file.
13910
762011fe
UD
13911 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13912 * wcsmbs/test-wmemcmp.c: Likewise.
13913 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13914 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13915
139162011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13917
13918 * string/Makefile (strop-tests): Add memcmp.
13919 * string/test-wmemcmp.c: New file.
13920 * string/test-memcmp.c: Add wmemcmp support.
13921
7f513ec8
RM
139222011-09-08 Roland McGrath <roland@hack.frob.com>
13923
0442afb4
RM
13924 [BZ #13153]
13925 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13926 2011-07-19 change.
13927
7f513ec8
RM
13928 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13929 garbage value in a __mach_port_mod_refs call in the cases of the
13930 task-self and thread-self ports.
13931
a12b2239
ST
139322011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13933
13934 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13935
610f9ab4
AS
139362011-09-08 Andreas Schwab <schwab@redhat.com>
13937
7f513ec8 13938 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13939
48882a1a
LD
139402011-09-07 Ulrich Drepper <drepper@gmail.com>
13941
b49865be
UD
13942 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13943
fdc86bc9
UD
13944 * elf/dl-libc.c (dlerror_run): Pass back error code from
13945 dl_catch_error.
13946
c966526a
UD
13947 [BZ #13123]
13948 * elf/dl-load.c (lose): Free l_origin if it is valid.
13949
48882a1a
LD
13950 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13951 names.
13952 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13953 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13954 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13955 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13956 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13957 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13958
77a2a8b4
AZ
139592011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13960
13961 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13962 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13963 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13964 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13965 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13966 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13967 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13968 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13969 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13970 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13971
24f579d8
AM
139722011-08-15 Alan Modra <amodra@gmail.com>
13973
13974 [BZ #13092]
13975 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13976 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13977 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13978 ppc_mcount to static-only-routines.
13979 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13980 __mcount_internal.
13981 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13982 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13983
3d4837df
UD
139842011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13985
13986 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13987 for finite and infinity parameters.
13988
22700377
WS
139892011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13990
13991 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13992 and add nop instructions for throughput optimization.
13993 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13994
5025581e
WS
139952011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13996
13997 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13998 aligned copy for power7 with vector-scalar instructions.
13999 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14000
08a300c9
L
140012011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14002
14003 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14004 AVX check.
14005
59178ef9
AS
140062011-09-07 Andreas Schwab <schwab@redhat.com>
14007
14008 [BZ #13144]
14009 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14010 last change.
14011
e38ba7ab
UD
140122011-09-07 Ulrich Drepper <drepper@gmail.com>
14013
14014 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14015 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14016 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14017 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14018 clock_gettime.
14019
d53a73ac
UD
140202011-09-06 Ulrich Drepper <drepper@gmail.com>
14021
fc8bffcc
UD
14022 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14023 Forgot to demangle the pointer.
14024
ceaa0c5d
UD
14025 * sysdeps/i386/sysdep.h: Define atom_text_section.
14026 * sysdeps/x86_64/sysdep.h: Likewise.
14027 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14028 section with atom_text_section.
14029 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14030 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14031 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14032 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14033 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14034
a77d3c17
UD
14035 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14036 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14037 already be defined. Change to take two parameters and don't assign
14038 result to variable. Adjust all users.
14039 Define INTERNAL_GETTIME if not already defined.
14040 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14041 call.
14042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14043 HAVE_CLOCK_GETTIME_VSYSCALL.
14044 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14045
d53a73ac
UD
14046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14047 gettimeofday vsyscall, just use time.
14048
a8f84144
AS
140492011-09-06 Andreas Schwab <schwab@redhat.com>
14050
14051 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14052 <errno.h>.
14053
ef606249
UD
140542011-09-06 Ulrich Drepper <drepper@gmail.com>
14055
14056 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14057 syscall on x86-64.
14058 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14059 syscall.
14060 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14061 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14062 syscall if possible.
14063
6585cb60
UD
140642011-09-05 Ulrich Drepper <drepper@gmail.com>
14065
14066 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14067 e_ident. Don't pass to find_mapsXX.
14068 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14069
a5f524e4
LD
140702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14071
14072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14073 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14074 * sysdeps/x86_64/multiarch/strchr.S: Update.
14075 Check bit_slow_BSF bit.
14076 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14077 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14078 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14079
554881ef
UD
140802011-09-05 Ulrich Drepper <drepper@gmail.com>
14081
d96de963
UD
14082 [BZ #13134]
14083 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14084 before glibc 2.15.
14085 (tryshell): Define.
14086 (__spawni): Change last parameter to be flag. Test
14087 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14088 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14089 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14090 * posix/spawni.c: Likewise.
14091 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14092 * posix/spawnp.c: Likewise. Change normal version to use
14093 SPAWN_XFLAGS_USE_PATH.
14094 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14095 SPAWN_XFLAGS_TRY_SHELL.
14096
d48e5868
UD
14097 [BZ #13150]
14098 * posix/glob.h: Remove gcc 1.x support.
14099
554881ef
UD
14100 [BZ #13068]
14101 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14102
693fb948
LD
141032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14104
14105 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14106 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14107 strrchr-sse2-bsf
14108 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14109 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14110 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14111 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14112 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14113 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14114
1b48c537
UD
141152011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14116
49d42c37
UD
14117 * sysdeps/x86_64/wcscmp.S: New file.
14118
1b48c537
UD
14119 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14120 wcscmp-c wcscmp-sse2
14121 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14122 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14123 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14124 * wcsmbs/wcscmp.c: Allow renaming.
14125
15c95c5d
DM
141262011-09-05 David S. Miller <davem@davemloft.net>
14127
14128 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14129 stack slot, rather than the struct return pointer slot.
14130 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14131 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14133 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14134
2f0ad8f3
UD
141352011-09-05 Ulrich Drepper <drepper@gmail.com>
14136
d88ae418
UD
14137 * po/ja.po: Update from translation team.
14138
2f0ad8f3
UD
14139 [BZ #13144]
14140 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14141 kernel in 64-bit binaries.
14142
5f4318d1
DM
141432011-09-01 David S. Miller <davem@davemloft.net>
14144
14145 * elf/elf.h (HWCAP_SPARC_*): Move to..
14146 * sysdeps/sparc/sysdep.h: this new file and add new values.
14147 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14148 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14149 _DL_HWCAP_COUNT to 24.
14150 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14151 entries.
14152 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14153 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14154 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14156 instead of magic constants.
14157 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14158
3ba57516
DM
141592011-08-31 David S. Miller <davem@davemloft.net>
14160
14161 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14163 Reimplement to do errno handling inline.
14164 (SYSCALL_ERROR_HANDLER): New macro.
14165 (__SYSCALL_STRING): Do not do errno handling in asm.
14166 (__CLONE_SYSCALL_STRING): Delete.
14167 (__INTERNAL_SYSCALL_STRING): Delete.
14168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14169 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14170 (PSEUDO): Reimplement to do errno handling inline.
14171 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14172 (SYSCALL_ERROR_HANDLER): New macro.
14173 (__SYSCALL_STRING): Do not do errno handling in asm.
14174 (__CLONE_SYSCALL_STRING): Delete.
14175 (__INTERNAL_SYSCALL_STRING): Delete.
14176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14177 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14178 i386.
14179 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14180 (inline_syscall*): Add 'err' argument.
14181 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14182 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14183 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14184 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14185
14186 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14187 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14188
2bc17433
AS
141892011-08-30 Andreas Schwab <schwab@redhat.com>
14190
14191 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14192
fbeb5f4d
JO
141932011-08-29 Jiri Olsa <jolsa@redhat.com>
14194
14195 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14196 directive.
14197
ad69cc26
DM
141982011-08-24 David S. Miller <davem@davemloft.net>
14199
14200 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14201
39dd69df
AS
142022011-08-24 Andreas Schwab <schwab@redhat.com>
14203
14204 * elf/Makefile: Add rules to build and run unload8 test.
14205 * elf/unload8.c: New file.
14206 * elf/unload8mod1.c: New file.
14207 * elf/unload8mod1x.c: New file.
14208 * elf/unload8mod2.c: New file.
14209 * elf/unload8mod3.c: New file.
14210
14211 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14212 it wasn't used.
14213
2c0b250a
DM
142142011-08-23 David S. Miller <davem@davemloft.net>
14215
14216 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14217 subtract stack bias.
14218 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14219 %sp not %fp in calculations.
14220 (_JMPBUF_UNWINDS_ADJ): Likewise.
14221
22044b48
DM
14222 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14223 (aio_suspend): Call it to force an exception region around the
14224 AIO_MISC_WAIT() invocation.
14225
2cae4995
AS
142262011-08-23 Andreas Schwab <schwab@redhat.com>
14227
14228 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14229 backslash.
14230
873a772e
AJ
142312011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14232
14233 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14234 protection macro.
14235 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14236 and <dl-machine.h>.
14237 (Elf64_FuncDesc): Remove.
14238
25ad0df1
DM
142392011-08-22 David S. Miller <davem@davemloft.net>
14240
14241 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14242 sigaltstack check, add missing cfi directives.
14243 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14244 missing cfi directives, and sigaltstack handling.
14245
e888bcbe
AS
142462011-08-16 Andreas Schwab <schwab@redhat.com>
14247
14248 [BZ #11724]
14249 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14250 object is seen twice.
14251 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14252
14253 * elf/Makefile (distribute): Add tst-initorder2.c.
14254 (tests): Add tst-initorder2.
14255 (modules-names): Add tst-initorder2a tst-initorder2b
14256 tst-initorder2c tst-initorder2d. Add rules to build them.
14257 ($(objpfx)tst-initorder2.out): New rule.
14258 * elf/tst-initorder2.c: New file.
14259 * elf/tst-initorder2.exp: New file.
14260
87162f46
AS
142612011-08-22 Andreas Schwab <schwab@redhat.com>
14262
70538b7f
AS
14263 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14264
f55ffe58
AS
14265 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14266 dependencies back to end of function.
14267
87162f46
AS
14268 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14269 $(elfobjdir)/ld.so.
14270
91b392a4
UD
142712011-08-21 Ulrich Drepper <drepper@gmail.com>
14272
14273 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14274 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14275 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14276 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14277 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14278 of __vdso_gettimeofday.
14279 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14280 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14281 attribute_hidden.
14282 (_libc_vdso_platform_setup): Remove initialization of
14283 __vdso_gettimeofday and __vdso_time.
14284
5c43483f
UD
142852011-08-20 Ulrich Drepper <drepper@gmail.com>
14286
775a77e7
UD
14287 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14288 and fgetc_unlocked.
14289 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14290 getc_unlocked.
89f447ed 14291
49c74ba9
UD
14292 * elf/dl-open.c (add_to_global): Report additions to the global scope
14293 for LD_DEBUG=scopes.
14294 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14295 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14296
5c43483f
UD
14297 [BZ #13114]
14298 * stdio-common/Makefile (tests): Add bug24.
14299 * stdio-common/bug24.c: New file.
14300
a101b025
AJ
143012011-08-19 Andreas Jaeger <aj@suse.de>
14302
14303 [BZ #13114]
14304 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14305 non-existant file when using close-on-exec mode.
14306
c88f1766
UD
143072011-08-20 Ulrich Drepper <drepper@gmail.com>
14308
0276a718
UD
14309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14310 the very first instruction.
14311
c88f1766
UD
14312 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14313 the CFI state in the end.
14314 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14315 inclusion of dl-trampoline.h.
14316 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14317
51ccffa0
AS
143182011-08-19 Andreas Schwab <schwab@redhat.com>
14319
94d7165f
AS
14320 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14321 expectations for long double.
14322
51ccffa0
AS
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14324 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14325
fd708658 143262011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14327
14328 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14329 artificual limit depends upon the system page size.
14330
44f0a71e
UD
143312011-08-17 Ulrich Drepper <drepper@gmail.com>
14332
14333 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14334 * resolv/Makefile: Define CFLAGS-libresolv.
14335
8de79a24
AS
143362011-08-17 Andreas Schwab <schwab@redhat.com>
14337
14338 * nss/makedb.c (compute_tables): Make variables used in nested
14339 function static.
14340
27724598
UD
143412011-08-17 Ulrich Drepper <drepper@gmail.com>
14342
c5305d88
UD
14343 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14344 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14345 if buffer was too small.
14346
27724598
UD
14347 * elf/pldd.c (main): Attach to all threads in the process.
14348 Rewrite /proc handling to use *at functions.
14349
076fe015
UD
143502011-08-16 Ulrich Drepper <drepper@gmail.com>
14351
174baab3
UD
14352 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14353 specifies first scope to show.
14354 (dl_open_worker): Update callers. Move printing scope of new
14355 object to before the relocation.
44f0a71e 14356 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14357 * sysdeps/generic/ldsodefs.h: Update declaration.
14358
076fe015
UD
14359 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14360 string for the scope number.
14361
a60df2c3
UD
143622011-08-14 Ulrich Drepper <drepper@gmail.com>
14363
14364 * nscd/servicescache.c (cache_addserv): Make sure written is always
14365 initialized.
14366
5e4287d1
RM
143672011-08-14 Roland McGrath <roland@hack.frob.com>
14368
85ae0589
RM
14369 * sysdeps/i386/i486/bits/atomic.h
14370 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14371 statement expression, so as to suppress "set but not used" warning.
14372 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14373
69f63097
RM
14374 * string/strncat.c (STRNCAT): Use prototype definition.
14375
675456ef
RM
14376 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14377 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14378 -Iprograms here.
14379 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14380 (localedef-modules): Add localedef.
14381 (locale-modules): Add locale.
14382
5e4287d1
RM
14383 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14384 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14385 to avoid a warning.
14386
9c96ff23
DM
143872011-08-14 David S. Miller <davem@davemloft.net>
14388
14389 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14390 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14391
f9ddf089
UD
143922011-08-13 Ulrich Drepper <drepper@gmail.com>
14393
44f0a71e 14394 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14395 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14396 * elf/rtld.c (dl_main): Set l_name of vDSO.
14397 Call _dl_show_scope when DL_DEBUG_SCOPES.
14398 (process_dl_debug): Recognize scopes flag and also set it for all.
14399 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14400 Declare _dl_show_scope.
14401
1dc27704
UD
14402 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14403 (do_dlopen): Pass caller_dlopen to dl_open.
14404 (__libc_dlopen_mode): Initialize caller_dlopen.
14405
f9ddf089
UD
14406 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14407 of libc. Make tolower call locale-independent. Optimize a bit by
14408 using isdigit instead of isalnum.
14409 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14410
9ac533d3
UD
144112011-08-12 Ulrich Drepper <drepper@gmail.com>
14412
14413 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14414 was a dependency or dynamically loaded.
14415
89edf2e9
UD
144162011-08-11 Ulrich Drepper <drepper@gmail.com>
14417
8e999d29
UD
14418 * intl/l10nflist.c: Allow architecture-specific pop function.
14419 * sysdeps/x86_64/l10nflist.c: New file.
14420
89edf2e9
UD
14421 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14422 classification.
14423
14d96785
AS
144242011-08-10 Andreas Schwab <schwab@redhat.com>
14425
14426 * include/dirent.h: Add libc_hidden_proto for scandirat and
14427 scandirat64. Don't declare __scandirat64.
14428 * dirent/scandirat.c: Add libc_hidden_def.
14429 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14430 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14431
6761ac04
DM
144322011-08-10 David S. Miller <davem@davemloft.net>
14433
14434 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14435 enum.
14436 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14437 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14438 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14439
c55fbd1e
UD
144402011-08-09 Ulrich Drepper <drepper@gmail.com>
14441
14442 * Versions.def [libc]: Add GLIBC_2.15.
14443 * dirent/Makefile (routines): Add scandirat and scandirat64.
14444 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14445 GLIBC_2.15.
14446 * dirent/dirent.h: Declare scandirat and scandirat64.
14447 * dirent/scandirat.c: New file.
14448 * dirent/scandirat64.c: New file.
14449 * sysdeps/wordsize-64/scandirat.c: New file.
14450 * sysdeps/wordsize-64/scandirat64.c: New file.
14451 * dirent/opendir.c: Define opendirat.
14452 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14453 using scandirat.
14454 * dirent/scandir64.c: Adjust for scandir.c change.
14455 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14456 __scandirat64, and __scandir_cancel_handler.
14457 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14458 additional parameter and use openat instead of open (outside of ld.so).
14459 Add new __opendir as wrapper around __opendirat.
14460 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14461 here without requiring old scandirat implementation.
14462
879165f2
UD
144632011-08-08 Ulrich Drepper <drepper@gmail.com>
14464
14465 * dirent/scandir.c (cancel_handler): Renamed to
14466 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14467 defined. Adjust users.
14468 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14469 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14470
cb7e923b
UD
144712011-08-04 Ulrich Drepper <drepper@gmail.com>
14472
16292edd
UD
14473 * string/test-string.h (IMPL): Use __STRING to expand name and then
14474 stringify it.
14475
cb7e923b
UD
14476 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14477 of cleanups.
14478
cff82933
LD
144792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14480
14481 * string/Makefile: Update.
14482 (strop-tests): Append strncat.
14483 * string/test-wcscmp.c: New file.
14484 New comprehensive test for wcscmp.
14485 * string/test-strcmp.c: Update.
14486 (WIDE): New define.
14487
9be9bfcc
AS
144882011-07-22 Andreas Schwab <schwab@redhat.com>
14489
14490 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14491 line.
14492
2e96f1c7
AS
144932011-07-26 Andreas Schwab <schwab@redhat.com>
14494
14495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14496 encoding to ACE if AI_IDN.
14497
85188888
JJ
144982011-08-01 Jakub Jelinek <jakub@redhat.com>
14499
14500 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14501 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14502
5fa16e9b
LD
145032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14504
14505 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14506 Fix overflow bug in strncat.
14507 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14508
14509 * string/test-strncat.c: Update.
14510 Add new tests for checking overflow bugs.
14511
145122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14513
14514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14515 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14516 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14517 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14518 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14519 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14520 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14521 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14522 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14523
14524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14525 (USE_AS_STRCAT): Define.
14526 Add strcat and strncat support.
14527 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14528
8c1a459f
AS
145292011-07-25 Andreas Schwab <schwab@redhat.com>
14530
14531 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14532 __n bigger than INT_MAX+1.
14533 (__strncmp_g): Likewise.
14534
bba33c28
UD
145352011-07-23 Ulrich Drepper <drepper@gmail.com>
14536
798be72d
UD
14537 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14538 * libio/stido.h: Likewise.
14539
8accd4dc
UD
14540 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14541 (AF_NFC): Define.
14542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14543 (AF_NFC): Define.
14544
cbff0d96
UD
14545 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14546 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14547 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14548 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14549 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14550
9191c04a
UD
14551 [BZ #13021]
14552 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14553 installed.
14554
bba33c28
UD
14555 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14556 typo.
14557 (_dl_x86_64_save_sse): Likewise.
14558
90f139dd
UD
145592011-07-22 Ulrich Drepper <drepper@gmail.com>
14560
1aae088a
UD
14561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14562 OSXSAVE.
14563 (_dl_x86_64_save_sse): Likewise.
14564
8e2045f5
UD
14565 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14566
90f139dd
UD
14567 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14568
1d002f25
AS
145692011-07-21 Andreas Schwab <schwab@redhat.com>
14570
14571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14572 change.
14573 (_dl_x86_64_save_sse): Use correct AVX check.
14574
21137f89
UD
145752011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14576
14577 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14578 bug in strncpy/strncat.
14579 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14580
a65c0b7a
UD
145812011-07-21 Ulrich Drepper <drepper@gmail.com>
14582
14583 * string/tester.c (test_strcat): Add tests for different alignments
14584 of source and destination.
14585 (test_strncat): Likewise.
14586
6986b98a
UD
145872011-07-20 Ulrich Drepper <drepper@gmail.com>
14588
90bb2039
UD
14589 [BZ #12852]
14590 * posix/glob.c (glob): Check passed in values before using them in
14591 expressions to avoid some overflows.
14592 (glob_in_dir): Likewise.
14593
5644ef54
UD
14594 [BZ #13007]
14595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14596 check for AVX enablement so that we don't crash with old kernels and
14597 new hardware.
14598 * elf/tst-audit4.c: Add same checks here.
14599 * elf/tst-audit6.c: Likewise.
14600
14601 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14602
bfc9dc9b
AS
146032011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14604
14605 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14606
702e64bb
UD
146072011-07-20 Ulrich Drepper <drepper@gmail.com>
14608
14609 * po/cs.po: Update from translation team.
14610 * po/bg.po: Likewise.
14611
295e904f
MP
146122011-07-12 Marek Polacek <mpolacek@redhat.com>
14613
14614 * misc/sys/cdefs.h: Add support for const attribute.
14615 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14616 to gnu_dev_{major,minor,makedev} functions.
14617
3ff94596
MP
146182011-07-20 Marek Polacek <mpolacek@redhat.com>
14619
14620 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14621
28b59fca
AS
146222011-07-20 Andreas Schwab <schwab@redhat.com>
14623
14624 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14625 strlen results.
14626
19df733e
AK
146272011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14628
14629 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14630 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14631 register in order to avoid conflicts with the soft frame pointer
14632 being held in r11 when necessary.
14633 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14634 (INTERNAL_VSYSCALL_NCS): Likewise.
14635
c8835729
MP
146362011-07-14 Marek Polacek <mpolacek@redhat.com>
14637
14638 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14639 * elf/dl-fini.c (_dl_fini): Adjust caller.
14640 * elf/dl-close.c (_dl_close_worker): Likewise.
14641 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14642
b902330c
MP
146432011-07-15 Marek Polacek <mpolacek@redhat.com>
14644
8991e135
MP
14645 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14646 "aux_cache->nlibs < 0".
14647
b902330c
MP
14648 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14649 in the reload-count case.
14650
99710781
LD
146512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14652
14653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14654 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14655 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14656 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14657 * sysdeps/x86_64/multiarch/strcat.S: New file.
14658 * sysdeps/x86_64/multiarch/strncat.S: New file.
14659 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14660 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14661 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14662 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14663 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14664 (USE_AS_STRCAT): Define.
14665 Add strcat and strncat support.
14666 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14667 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14668 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14669 * string/strncat.c: Update.
14670 (USE_AS_STRNCAT): Define.
14671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14672 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14673 and i7.
14674 * sysdeps/x86_64/multiarch/init-arch.h
14675 (bit_Prefer_PMINUB_for_stringop): New.
14676 (index_Prefer_PMINUB_for_stringop): Likewise.
14677 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14678 bit_Prefer_PMINUB_for_stringop.
14679
7dc6bd90
UD
146802011-07-19 Ulrich Drepper <drepper@gmail.com>
14681
14682 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14683 buffer64.
14684 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14685 of casting of buffer.
14686 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14687 buffer32 and buffer64.
14688 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14689 writes instead of casting of buffer.
14690 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14691 buffer32.
14692 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14693 casting of buffer.
14694
e0e72284
AS
146952011-07-19 Andreas Schwab <schwab@redhat.com>
14696
14697 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14698
feb1eb0b
UD
146992011-07-19 Ulrich Drepper <drepper@gmail.com>
14700
14701 * nscd/nscd.c (termination_handler): Don't do anything for a database
14702 if it has not yet been initialized.
14703
298711ff
UD
147042011-07-18 Ulrich Drepper <drepper@gmail.com>
14705
14706 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14707
147082011-07-15 Marek Polacek <mpolacek@redhat.com>
14709
14710 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14711
f9d68389
UD
147122011-07-18 Ulrich Drepper <drepper@gmail.com>
14713
14714 * po/nl.po: Update from translation team.
14715 * po/sv.po: Likewise.
14716
db290cf5
RM
147172011-07-16 Roland McGrath <roland@hack.frob.com>
14718
14719 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14720 now disallowed by GCC.
5c550700 14721
fd5e21c7
RM
14722 * configure.in (use-default-link): Default to yes if a test -shared
14723 link meets our qualifications.
14724 * configure: Regenerated.
14725
5c550700
RM
14726 * config.make.in (output-format): New variable.
14727 * configure.in: Check for ld --print-output-format support.
14728 * configure: Regenerated.
14729 * Makerules ($(common-objpfx)format.lds)
14730 [$(output-format) != unknown]: Just use $(output-format),
14731 instead of the linker-script munging.
14732
9fa2c032
RM
147332011-07-14 Roland McGrath <roland@hack.frob.com>
14734
a6928d51
RM
14735 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14736 of $(common-objpfx)shlib.lds.
14737 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14738
661607b3
RM
14739 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14740 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14741
9fa2c032
RM
14742 * configure.in (-z relro check): Adjust test code to add a large
14743 writable data section after it.
14744 * configure: Regenerated.
14745
defe9061
RM
147462011-07-11 Roland McGrath <roland@hack.frob.com>
14747
14748 * configure.in (-z relro check): Fix test code to make the variable
14749 truly const.
14750 * configure: Regenerated.
14751
319b9ad4
UD
147522011-07-11 Ulrich Drepper <drepper@gmail.com>
14753
14754 * nscd/nscd.h (struct traced_file): Define.
14755 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14756 elements. Add traced_files.
14757 (inotify_fd): Declare.
14758 (register_traced_file): Declare.
14759 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14760 (inotify_fd): Export.
14761 (resolv_conf_descr): Remove.
14762 (nscd_init): Move inotify descriptor creation to main.
14763 Don't register files for notification here.
14764 (register_traced_file): New function.
14765 (invalidate_cache): Don't use reset_res to determine whether to call
14766 res_init, go through the list of registered files.
14767 (main_loop_poll): The inotify descriptors are now stored in the
14768 structures for the traced files.
14769 (main_loop_epoll): Likewise
14770 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14771 to __nss_disable_nscd.
14772 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14773 for a database anymore. Check the records for all the registered
14774 files instead.
14775 * nss/Makefile (libnss_files-routines): Add files-init.
14776 (libnss_db-routines): Add db-init.
14777 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14778 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14779 * nss/nss_db/db-init.c: New file.
14780 * nss/nss_files/files-init.c: New file.
14781 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14782 __nss_lookup_function.
14783 (__nss_lookup_function): Call nss_load_library.
14784 (nss_load_all_libraries): New function.
14785 (__nss_disable_nscd): Take parameter with callback function for files
14786 to register. Set is_nscd. Load all the DSOs for the NSS modules
14787 used for the cached services.
14788 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14789 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14790 options for features to all the files in nscd.
14791
14792 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14793
23bee3e8
RM
147942011-07-10 Roland McGrath <roland@hack.frob.com>
14795
14796 * csu/elf-init.c (__libc_csu_init): Comment typo.
14797
46a5b7f0
UD
147982011-07-09 Ulrich Drepper <drepper@gmail.com>
14799
14800 * po/pl.po: Update from translation team.
14801 * po/ja.po: Likewise.
14802 * po/ru.po: Likewise.
14803 * po/ko.po: Likewise.
14804 * po/fr.po: Likewise.
14805
d30cf5bb
RM
148062011-07-09 Roland McGrath <roland@hack.frob.com>
14807
113ddea4
RM
14808 * configure.in (.ctors/.dtors header and trailer check):
14809 Use an empirical test on a built program.
14810 * configure: Regenerated.
14811
574920b4
RM
14812 * configure.in (-z relro check): Use an empirical test on a built DSO.
14813 Detect, but do not require, on ia64.
14814 * configure: Regenerated.
14815
d30cf5bb
RM
14816 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14817 Update tests that use readelf to use $READELF instead.
14818 * configure: Regenerated.
14819
8538fdb3
UD
148202011-07-08 Ulrich Drepper <drepper@gmail.com>
14821
14822 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14823 if the result is not used.
14824
04d08991
AJ
148252011-07-05 Andreas Jaeger <aj@suse.de>
14826
14827 [BZ#9696]
14828 * stdlib/tst-strtod.c: Add testcase.
14829
de283087
AD
148302011-07-07 Ulrich Drepper <drepper@gmail.com>
14831
4e5f31c8 14832 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14833 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14834 The latter has a higher limit. Take additional parameter to pass to
14835 the new function.
14836 (__pathconf): Pass file to __statfs_link_max.
14837 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14838 __statfs_link_max.
14839 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14840 __statfs_link_max.
14841
de283087
AD
14842 [BZ #12868]
14843 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14844 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14845 Handle Lustre.
14846 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14847 (__statfs_filesize_max): Likewise.
14848 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14849
c75fa153
AJ
148502011-07-05 Andreas Jaeger <aj@suse.de>
14851
14852 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14853
1a544854
UD
148542011-07-06 Marek Polacek <mpolacek@redhat.com>
14855
14856 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14857 `status' variable.
14858 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14859 Likewise.
14860
6f0eec67
UD
148612011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14862
14863 * Makefile (strop-tests): Add strncat.
14864 * string/test-strncat.c: New file.
14865
aae30307
UD
148662011-06-30 Marek Polacek <mpolacek@redhat.com>
14867
14868 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14869
c0cfb5eb
UD
148702011-06-21 Andreas Jaeger <aj@suse.de>
14871
14872 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14873 Copy rule from iconvdata/Makefile.
14874
01636b21
UD
148752011-07-06 Ulrich Drepper <drepper@gmail.com>
14876
14877 [BZ #12922]
14878 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14879 but no long options are defined, just return 'W'.
14880
9895c8bc
UD
148812011-06-22 Marek Polacek <mpolacek@redhat.com>
14882
14883 [BZ #9696]
14884 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14885
5d4cf042
UD
148862011-07-06 Ulrich Drepper <drepper@gmail.com>
14887
14888 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14889 netgroups to read.
960e5535 14890 (innetgr): Likewise.
5d4cf042 14891
751eb97e
RM
148922011-07-05 Roland McGrath <roland@hack.frob.com>
14893
14894 * config.make.in (install_root): Default to $(DESTDIR).
14895
f15f1e45
UD
148962011-07-05 Ulrich Drepper <drepper@gmail.com>
14897
14898 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14899
4e34ac6a
RM
149002011-07-02 Roland McGrath <roland@hack.frob.com>
14901
5e9b6af4
RM
14902 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14903
84f9ea0f
RM
14904 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14905 containing directory rather than embedding absolute directory names.
14906
ea5ee9f7
RM
14907 * scripts/check-local-headers.sh: Rewritten using awk.
14908 Match by word, not by line. Print error messages for matches.
14909 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14910
1b74661a
RM
14911 * Makerules [shlib-lds-flags empty]:
14912 ($(common-objpfx)libc_pic.opts): New target.
14913 ($(common-objpfx)libc_pic.os.clean): New target.
14914 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14915
14916 * config.make.in (OBJCOPY): New variable.
14917 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14918 * configure: Regenerated.
14919
f781ef40
RM
14920 * config.make.in (use-default-link): New variable.
14921 * configure.in (use_default_link): Grok --with-default-link to set it.
14922 * configure: Regenerated.
14923 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14924 (shlib-lds, shlib-lds-flags): Define to empty.
14925
2d4fa81e
RM
14926 * Makerules (shlib-lds): New variable.
14927 (shlib-lds-flags): New variable.
14928 (build-shlib, build-moduile, build-module-asneeded): Use it.
14929 ($(common-objpfx)libc.so): Use $(shlib-lds).
14930 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14931 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14932
31fffa6b
RM
14933 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14934 DT_FLAGS/DT_FLAGS_1 with zero flags.
14935
4e34ac6a
RM
14936 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14937 linker script munging.
14938
fcfc776b
UD
149392011-07-02 Ulrich Drepper <drepper@gmail.com>
14940
14941 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14942 as 128-bit value.
14943 * crypt/sha512.c (sha512_process_block): Perform total addition using
14944 128-bit if possible.
14945 (__sha512_finish_ctx): Likewise.
14946 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14947 as 64-bit value.
14948 * crypt/sha256.c (SWAP64): Define.
14949 (sha256_process_block): Perform total addition using 64-bit if
14950 possible.
14951 (__sha256_finish_ctx): Likewise.
14952
99231d9a
UD
149532011-07-01 Ulrich Drepper <drepper@gmail.com>
14954
14955 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14956 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14957 * nscd/hstcache.c (cache_addhst): Likewise.
14958 * nscd/grpcache.c (cache_addgr): Likewise.
14959 * nscd/aicache.c (addhstaiX): Likewise
14960 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14961
445b4a53
TK
149622011-07-01 Thorsten Kukuk <kukuk@suse.de>
14963
14964 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14965 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14966 * nscd/hstcache.c (cache_addhst): Likewise.
14967 * nscd/grpcache.c (cache_addgr): Likewise.
14968 * nscd/aicache.c (addhstaiX): Likewise
14969
6d4d8e8e
AS
149702011-07-01 Andreas Schwab <schwab@redhat.com>
14971
14972 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14973 domain only when needed.
14974
89f654c5
AS
149752011-06-30 Andreas Schwab <schwab@redhat.com>
14976
14977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14978 is always restored.
14979
cf3b23ff
UD
149802011-06-29 Ulrich Drepper <drepper@gmail.com>
14981
14982 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14983 are re-adding the entry.
14984 * nscd/servicescache.c (cache_addserv): Likewise.
14985
751626f9
AJ
149862011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14987
14988 * sysdeps/generic/dl-irel.h: fix protection against multiple
14989 inclusions.
14990 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14991
9113ea1f
UD
149922011-06-28 Ulrich Drepper <drepper@gmail.com>
14993
5c0b8d90
UD
14994 [BZ #12935]
14995 * malloc/memusage.sh: Fix quoting in message.
14996 * debug/xtrace.sh: Likewise.
14997
9113ea1f
UD
14998 * configure.in: Remove support for --experimental-malloc option, make
14999 it the default.
15000 * config.make.in: Likewise.
15001 * malloc/Makefile: Likewise.
15002
a4172181
AS
150032011-06-27 Andreas Schwab <schwab@redhat.com>
15004
15005 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15006 two-byte characters.
15007
78a7eee7
RM
150082011-06-27 Roland McGrath <roland@hack.frob.com>
15009
62bede13
RM
15010 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15011 AC_CACHE_CHECK invocation.
15012 * configure: Regenerated.
15013
78a7eee7
RM
15014 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15015
5ce33a62
UD
150162011-06-27 Ulrich Drepper <drepper@gmail.com>
15017
034807a9
UD
15018 [BZ #12350]
15019 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15020 bit from old_res_options.
15021
4902da17
UD
15022 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15023
5ce33a62
UD
15024 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15025 value type for setfct.
15026
c2344f56
L
150272011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15028
15029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15030 __gettimeofday instead of gettimeofday.
15031
68468076
UD
150322011-06-26 Ulrich Drepper <drepper@gmail.com>
15033
15034 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15035
acb0d739
L
150362011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15037
15038 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15039
15040 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15041 info.
15042
8912479f
L
150432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15044
15045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15046 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15047 strcpy-sse2-unaligned strncpy-sse2-unaligned
15048 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15049 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15050 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15051 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15052 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15053 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15054 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15055 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15056 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15057 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15058 (STRCPY): Support SSE2 and SSSE3 versions.
15059
d5495a11
UD
150602011-06-24 Ulrich Drepper <drepper@gmail.com>
15061
15062 [BZ #12874]
15063 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15064 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15065 kernels which artificially limit size of requests.
15066
0b1cbaae
L
150672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15068
15069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15070 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15071 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15072 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15073 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15074 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15075 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15076 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15077 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15078 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15079 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15080 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15081 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15082 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15083 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15085 Enable unaligned load optimization for Intel Core i3, i5 and i7
15086 processors.
15087 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15088 Define.
15089 (index_Fast_Unaligned_Load): Define.
15090 (HAS_FAST_UNALIGNED_LOAD): Define.
15091
07f494a0
MP
150922011-06-23 Marek Polacek <mpolacek@redhat.com>
15093
15094 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15095
fa3fc0fe
UD
150962011-06-22 Ulrich Drepper <drepper@gmail.com>
15097
15098 [BZ #12907]
15099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15100 until it is clear that the information is realy needed.
15101 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15102
e12df166
AS
151032011-06-22 Andreas Schwab <schwab@redhat.com>
15104
15105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15106
852eb34d
UD
151072011-06-22 Ulrich Drepper <drepper@gmail.com>
15108
84e2a551
UD
15109 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15110 /sys/devices/system/cpu/online if it is usable.
15111
852eb34d
UD
15112 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15113 reading the information from the /proc filesystem to once a second.
15114
6e502e19
UD
151152011-06-21 Andreas Jaeger <aj@suse.de>
15116
15117 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15118 NULL after inclusion of kernel headers.
15119
75d39ff2
UD
151202011-06-21 Ulrich Drepper <drepper@gmail.com>
15121
51f9aa6a
UD
15122 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15123 calls to internal_setent.
15124
c0244a9d
UD
15125 [BZ #12885]
15126 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15127 addresses using gethostbyname4_r ignore IPv4 addresses.
15128
c5e3c2ae
UD
15129 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15130 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15131
75d39ff2
UD
15132 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15133
42675c6f
DM
151342011-06-20 David S. Miller <davem@davemloft.net>
15135
15136 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15137 inclusions.
15138 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15139
15140 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15141 (elf_irel): Use it.
15142 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15143 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15144 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15145 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15146 * sysdeps/x86_64/dl-irel.h: Likewise.
15147
15148 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15149 * elf/dl-sym.c: Likewise.
15150
57912a71
UD
151512011-06-15 Ulrich Drepper <drepper@gmail.com>
15152
15153 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15154 need to dereference resplen2.
15155
ee22793d
AS
151562011-06-14 Andreas Schwab <schwab@redhat.com>
15157
15158 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15159
a9e836b0
UD
151602011-06-15 Ulrich Drepper <drepper@gmail.com>
15161
77fb9117
UD
15162 * Makeconfig: Define vardbdir and inst_vardbdir.
15163 * nss/Makefile: Add rules to install db-Makefile.
15164
40c1b22c
UD
15165 * nss/nss_db/db-XXX.c: Cleanup.
15166
9f2da732
UD
15167 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15168 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15169 GLIBC_PRIVATE.
15170 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15171 * nss/makedb.c: Implement -g option to specify that value strings
15172 are generated and should not be added to table iterated over for
15173 get*ent calls.
15174 * nss/nss_db/db-initgroups.c: New file.
15175
82e9a1f7
UD
15176 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15177 interface.
15178
c41af17e
UD
15179 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15180 (internal_getgrouplist): Adjust to name change.
15181 Update use_initgroups_entry if this is not the first call.
15182 * nss/databases.def: Add initgroups entry.
15183
a9e836b0
UD
15184 * nss/makedb.c (compute_tables): Check result of multiple hash table
15185 sizes to minimize maximum chain length.
15186
2666d441
UD
151872011-06-14 Ulrich Drepper <drepper@gmail.com>
15188
15189 * Versions.def: Add entry for libnss_db.
15190 * shlib-versions: Likewise.
15191 * nss/Makefile: Add rules to build libnss_db.
15192 * nss/Versions: Add libnss_db information. Organize libnss_files
15193 entries better.
15194 * nss/db-Makefile: Add gshadow support. Change rules for the new
15195 makedb progra. Some minor improvements to generate smaller files.
15196 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15197 here from...
15198 * nss/makedb.c: ...here.
15199 Improve database format to be smaller and require less memory at
15200 runtime.
15201 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15202 db anymore.
15203 * nss/nss_db/db-netgrp.c: Likewise.
15204 * nss/nss_db/db-open.c: Likewise.
15205 * nss/nss_files/flies-XXX.x: Adjust comments.
15206 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15207 * nss/nss_files/files-grp.c: Likewise.
15208 * nss/nss_files/files-hosts.c: Likewise.
15209 * nss/nss_files/files-network.c: Likewise.
15210 * nss/nss_files/files-proto.c: Likewise.
15211 * nss/nss_files/files-pwd.c: Likewise.
15212 * nss/nss_files/files-rpc.c: Likewise.
15213 * nss/nss_files/files-service.c: Likewise.
15214 * nss/nss_files/files-sgrp.c: Likewise.
15215 * nss/nss_files/files-spwd.c: Likewise.
15216 * nss/nss_db/db-alias.c: Removed.
15217 * nss/nss_db/dummy-db.h: Removed.
15218
9ee76b5a
UD
152192011-06-02 Ulrich Drepper <drepper@gmail.com>
15220
15221 * nss/makedb.c: Rewritten to not use database library.
15222 * nss/Makefile: Update to build new makedb program.
15223
c71ca1f8
AJ
152242011-06-14 Andreas Jaeger <aj@suse.de>
15225
15226 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15227 memset declaration.
15228
3154bfb8
UD
152292011-06-10 Andreas Schwab <schwab@redhat.com>
15230
15231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15232 tmpbuf.
15233
b350afab
RM
152342011-06-10 Roland McGrath <roland@hack.frob.com>
15235
decd4e50
RM
15236 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15237 * elf/Makefile ($(objpfx)ld.so): Likewise.
15238
5615eaf2
RM
15239 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15240 Don't list ld.so twice in dependencies.
15241
15242 * posix/bug-regex31.c: Include <stdlib.h>.
15243
15244 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15245
15246 * nis/nss_compat/compat-spwd.c
15247 (getspent_next_nss_netgr): Remove unused variable.
15248 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15249
15250 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15251 nonmembers" output to use the right array.
15252
15253 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15254
15255 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15256
15257 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15258 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15259 * catgets/gencat.c (read_input_file): Likewise.
15260 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15261
15262 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15263 variable definition inside #if's controlling its use.
15264
15265 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15266
15267 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15268
15269 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15270
15271 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15272 unreachable code.
15273
15274 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15275
b68e08db
RM
15276 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15277 * configure: Regenerated.
15278
b350afab
RM
15279 * Makerules: Revert last change.
15280 * elf/Makefile: Likewise.
15281
28368601
RM
152822011-06-09 Roland McGrath <roland@hack.frob.com>
15283
15284 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15285 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15286 (reloc-link): Likewise.
15287
11988f8f
UD
152882011-06-09 Ulrich Drepper <drepper@gmail.com>
15289
15290 * elf/Makefile: Add rules to build pldd.
15291 * elf/pldd.c: New file.
15292 * elf/pldd-xx.c: New file.
15293
e80fab37
UD
152942011-06-07 Ulrich Drepper <drepper@gmail.com>
15295
15296 * version.h: Update for 2.15 development version.
15297
9b849836
DM
152982011-06-07 David S. Miller <davem@davemloft.net>
15299
15300 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15301 ifuncs.
15302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15303 elf_machine_lazy_rel): Likewise.
15304 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15306 elf_machine_lazy_rel): Likewise.
15307 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15308 dl_hwcap via passed in argument.
15309 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15310 Likewise.
15311
5a31b283
AK
153122011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15313
15314 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15315
069e52f8
RM
153162011-06-06 Roland McGrath <roland@hack.frob.com>
15317
15318 [BZ #12849]
15319 * manual/fdl-1.1.texi: New file, verbatim from:
15320 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15321 * manual/lgpl-2.1.texi: New file, verbatim from:
15322 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15323 * manual/Makefile (licenses): New variable, list those new file names.
15324 (texis): Use it.
15325 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15326
15327 * manual/fdl.texi: File removed.
15328 * manual/lesser.texi: File removed.
15329 * manual/libc.texinfo (Copying, Documentation License):
15330 Use new @include file names, put @appendix directive before @include.
15331
f16846a5
JJ
153322011-06-04 Jakub Jelinek <jakub@redhat.com>
15333
15334 [BZ #12841]
15335 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15336 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15337 (mq_open): Add __NTH.
15338
3d29045b
L
153392011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15340
15341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15342 Assume Intel Core i3/i5/i7 processor if AVX is available.
15343
8c297311
UD
153442011-05-31 Ulrich Drepper <drepper@gmail.com>
15345
15346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15347 typo.
15348
c8fc0c91
UD
153492011-05-31 Andreas Schwab <schwab@redhat.com>
15350
15351 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15352 memory. Use alloca_account. Fix memory leak when retrying.
15353
5b27a807
UD
153542011-05-31 Ulrich Drepper <drepper@gmail.com>
15355
356f8bc6
UD
15356 * version.h (RELEASE): Bump for 2.14 release.
15357 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15358
5b27a807
UD
15359 * config.make.in (RANLIB): Remove entry.
15360
01f16ab0
UD
153612011-05-30 Ulrich Drepper <drepper@gmail.com>
15362
41fce8bd
UD
15363 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15364 (libc.pot): Work around missing support for .ksh extension in xgettext.
15365
4769ae77
UD
15366 [BZ #12684]
15367 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15368 if both request failed.
15369 (send_dg): In case of server errors clear resplen or *resplen2.
15370
6b1e7d19
UD
15371 [BZ #12454]
15372 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15373 when there are multiple maps.
15374 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15375 (_dl_fini): Remove test here.
15376
01f16ab0
UD
15377 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15378
b1ebd700
UD
153792011-05-29 Ulrich Drepper <drepper@gmail.com>
15380
7ae22829
UD
15381 [BZ #12350]
15382 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15383 bit from old_res_options.
15384 (gaih_inet): Likewise.
15385
553149f6 15386 [BZ #11099]
18a84741 15387 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15388 as signed.
15389
652ffab1
UD
15390 * resolv/res_init.c (res_setoptions): Make the code more compact.
15391
16985fd0
UD
15392 [BZ #11558]
15393 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15394 set RES_USEVC.
15395
0464f746
UD
15396 [BZ #11634]
15397 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15398
7d17596c
UD
15399 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15400
cf6bbbd7
UD
15401 [BZ #11781]
15402 * malloc/malloc.h: Declare malloc hook variables as volatile.
15403
13f1ab36
UD
15404 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15405 in last patch.
15406
b1ebd700
UD
15407 [BZ #11799]
15408 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15409 raise in the comment.
80e2212d
UD
15410 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15411 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15412 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15413
ce67228d
UD
154142011-05-28 Ulrich Drepper <drepper@gmail.com>
15415
8887a920
UD
15416 [BZ #12811]
15417 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15418 grow the buffers more if it already has to be sufficient.
15419 (build_wcs_upper_buffer): Likewise.
15420 * posix/regexec.c (check_matching): Likewise.
15421 (clean_state_log_if_needed): Likewise.
15422 (extend_buffers): Don't enlarge buffers beyond size of the input
15423 buffer.
15424 Patches mostly by Emil Wojak <emil@wojak.eu>.
15425 * posix/bug-regex32.c: New file.
15426 * posix/Makefile (tests): Add bug-regex32.
15427
4f031072
UD
15428 * locale/findlocale.c (_nl_find_locale): Return right away if
15429 _nl_explode_name failed.
15430 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15431
d0478f0c
UD
15432 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15433
de81b246
UD
15434 * debug/xtrace.sh: Unify messages.
15435 * malloc/memusage.sh: Likewise.
15436
c738465a
UD
15437 [BZ #12813]
15438 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15439 time symbol from vDSO. Substitute with vsyscall if not available.
15440 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15441 __vdso_time.
15442
f1f929d7
UD
15443 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15444 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15445 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15446 Add sendmmsg and internal_sendmmsg.
15447 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15448 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15449 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15450
ce67228d
UD
15451 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15452 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15453 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15454
e57420c6
UD
154552011-05-27 Ulrich Drepper <drepper@gmail.com>
15456
a8509ca5
UD
15457 [BZ #12813]
15458 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15459 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15460 available.
15461 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15462 __vdso_getcpu.
15463
e57420c6
UD
15464 [BZ #12814]
15465 * iconvdata/Makefile (tests): Add bug-iconv9.
15466 * iconvdata/bug-iconv9.c: New file.
15467
4d07db15
AS
154682011-05-27 Andreas Schwab <schwab@redhat.com>
15469
15470 [BZ #12814]
15471 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15472
ea486f69
JJ
154732011-05-25 Jakub Jelinek <jakub@redhat.com>
15474
15475 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15476 (struct user_regs_struct): Change intcs field back to cs.
15477
6f038433
UD
154782011-05-25 Ulrich Drepper <drepper@gmail.com>
15479
15480 * po/ja.po: Update from translation team.
15481
67f86a25
UD
154822011-05-23 Ulrich Drepper <drepper@gmail.com>
15483
15484 [BZ #12795]
15485 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15486 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15487
def7fbd6
AS
154882011-05-20 Andreas Schwab <schwab@redhat.com>
15489
15490 * stdlib/longlong.h: Update from GCC.
15491
f50ef8f1
AS
154922011-05-23 Andreas Schwab <schwab@redhat.com>
15493
15494 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15495 parameter name.
15496 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15497 Add parameter name.
15498 (__sysconf): Pass it down.
15499
de7ce8f1
UD
155002011-05-22 Ulrich Drepper <drepper@gmail.com>
15501
f2962a71
UD
15502 [BZ #12671]
15503 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15504 some situations.
15505 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15506 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15507 add in in __libc_use_alloca calls. Adjust callers.
15508 (glob): Use malloc in some situations.
15509
de7ce8f1
UD
15510 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15511 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15512 pltexit.
15513
aec84f53
UD
155142011-05-21 Ulrich Drepper <drepper@gmail.com>
15515
05bb4a68
UD
15516 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15517 and CLOCK_BOOTTIME_ALARM.
15518
7ea72f99
UD
15519 [BZ #12782]
15520 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15521 is returned.
15522
7e4afad5
UD
15523 * string/_strerror.c (__strerror_r): Print negative errors as signed
15524 numbers.
15525
8e211fec
UD
15526 [BZ #12777]
15527 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15528 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15529 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15530
f7d82dc9
UD
15531 * configure.in: Fix typo in redirection and correct removal of test
15532 files in two cases.
15533
cc9e536d
UD
15534 [BZ #12788]
15535 * locale/setlocale.c (new_composite_name): Fix test to check for
15536 identical name of all categories.
15537
aec84f53
UD
15538 [BZ #12792]
15539 * libio/filedoalloc.c (local_isatty): New function.
15540 (_IO_file_doallocate): Use local_isatty.
15541 * stdio-common/perror.c (perror): In case a new stream is used
15542 forward the stream error.
15543 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15544 error flag.
15545
78e64fdc
RT
155462011-05-20 Ulrich Drepper <drepper@gmail.com>
15547
34a9094f
UD
15548 [BZ #11869]
15549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15550 alloca.
15551 * include/alloca.h (extend_alloca_account): Define.
15552
78e64fdc
RT
15553 [BZ #11857]
15554 * posix/regex.h: Fix comments with documentation of user-accessible
15555 fields after compilation and describe correct free'ing of pattern
15556 after re_compile_pattern.
15557 Patch by Reuben Thomas <rrt@sc3d.org>.
15558
457bddfc
RA
155592011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15560
15561 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15562 and -mno-altivec to prevent the compiler from using Altivec and/or
15563 VSX instructions when the corresponding registers are not available.
15564
a4527b51
AS
155652011-05-19 Andreas Schwab <schwab@redhat.com>
15566
15567 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15568
ed690b2f
UD
155692011-05-19 Ulrich Drepper <drepper@gmail.com>
15570
15571 * libio/freopen.c (freopen): Use __dup2, not dup2.
15572 * libio/freopen64.c (freopen64): Likewise.
15573
8db73634
L
155742011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15575
15576 [BZ #12775]
15577 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15578 * math/Makefile (tests): Add test-powl.
15579 (CFLAGS-test-powl.c): Define.
15580 * math/test-powl.c: New file.
15581
0a197a9d
L
155822011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15583
15584 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15585
ee30c380
UD
155862011-05-17 Ulrich Drepper <drepper@gmail.com>
15587
15588 [BZ #11837]
15589 * iconvdata/gb18030.c: Update to GB18020-2005.
15590
6ce75379
UD
155912011-05-16 Ulrich Drepper <drepper@gmail.com>
15592
a4b89fd8
AR
15593 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15594 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15595 Patch by Aharon Robbins <arnold@skeeve.com>.
15596
ea389b12
UD
15597 [BZ #11892]
15598 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15599 on the stack.
15600
68a3f91f
UD
15601 [BZ #11895]
15602 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15603 through underflows.
15604
15cc7dd1
UD
15605 [BZ #12766]
15606 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15607 point to strings before performing equality test for error_one_per_line
15608 mode.
15609
f3799213
UD
15610 [BZ #11697]
15611 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15612
d79a9c94
UD
15613 [BZ #11820]
15614 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15615 (struct user_fpregs_struct): Avoid __uint*_t types.
15616
56e5eb46
UD
15617 [BZ #6420]
15618 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15619 symbol info. Use it instead of calling _dl_addr locally.
15620 (lock_and_info): New function.
15621 (tr_freehook): Call lock_and_info and pass symbol info as additional
15622 parameter to tr_where.
15623 (tr_mallochook): Likewise.
15624 (tr_reallochook): Likewise.
15625 (tr_memalignhook): Likewise.
15626
6ce75379
UD
15627 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15628 used and couldn't be at all thread-safe.
15629
f8a3b5bf
UD
156302011-05-15 Ulrich Drepper <drepper@gmail.com>
15631
94b7cc37
UD
15632 * libio/freopen.c (freopen): Don't close old file descriptor
15633 before the new one is opened. Instead dup the new file descriptor
15634 to the old one after the new stream is created.
15635 * libio/freopen64.c (freopen64): Likewise.
15636 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15637 * libio/fileops.c (_IO_new_file_close_it): Handle new
15638 _IO_FLAGS2_NOCLOSE flag.
15639 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15640 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15641 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15642 _IO_FLAGS2_NOCLOSE flag.
15643 * include/unistd.h: Add hidden_proto for dup3.
15644 Define __have_dup3.
15645 * io/dup3.c: Define hidden symbol.
15646 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15647
bd25564e
UD
15648 [BZ #7101]
15649 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15650 when an incomplete long option is used.
15651 * posix/tst-getopt_long1.c: New file.
15652 * posix/Makefile (tests): Add tst-getopt_long1.
15653
c84cfef4
UD
15654 [BZ #10138]
15655 * scripts/config.guess: Update from autoconf-2.68.
15656 * scripts/config.sub: Likewise.
15657
3b85df27
UD
15658 [BZ #10157]
15659 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15660 tests into ...
15661 (has_cpuclock): ...this. New function.
15662 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15663 macro here based on has_cpuclock code.
15664
15a856b1
UD
15665 [BZ #10149]
15666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15667 First byte (not low byte) is now always NUL.
15668 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15669
05f399e6
UD
15670 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15671 Use non-cancelable interfaces.
15672
10a52685 15673 [BZ #9809]
94ecc67d
UD
15674 * locale/iso-639.def: Add entry for Sorani.
15675
f8a3b5bf
UD
15676 [BZ #11901]
15677 * include/stdlib.h: Move include protection to the right place.
15678 Define abort_msg_s. Declare __abort_msg with it.
15679 * stdlib/abort.c (__abort_msg): Adjust type.
15680 * assert/assert.c (__assert_fail_base): New function. Majority
15681 of code from __assert_fail. Allocate memory for __abort_msg with
15682 mmap.
15683 (__assert_fail): Now call __assert_fail_base.
15684 * assert/assert-perr.c: Remove bulk of implementation. Use
15685 __assert_fail_base.
15686 * include/assert.hL Declare __assert_fail_base.
15687 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15688 mmap.
15689 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15690
1af4e298
UD
156912011-05-14 Ulrich Drepper <drepper@gmail.com>
15692
f8a3b5bf 15693 [BZ #11952]
d26dfc60
MG
15694 [BZ #12453]
15695 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15696 until all modules are registered in the DTV.
15697 * elf/Makefile: Add rules to build and run tst-tls19.
15698 * elf/tst-tls19.c: New file.
15699 * elf/tst-tls19mod1.c: New file.
15700 * elf/tst-tls19mod2.c: New file.
15701 * elf/tst-tls19mod3.c: New file.
15702 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15703
2fc54d6f
UD
15704 [BZ #12083]
15705 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15706 correctly.
15707
98d76b46
UD
15708 [BZ #12601]
15709 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15710 two-byte sequence errors.
15711 * iconvdata/Makefile (tests): Add bug-iconv8.
15712 * iconvdata/bug-iconv8.c: New file.
15713
da3c19ef
UD
15714 [BZ #12626]
15715 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15716 buf2 definition.
15717
ca408c15
UD
15718 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15719
d6f67f7d
UD
15720 [BZ #12432]
15721 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15722 (dummy_getcfa): New function.
15723 (init): Get _Unwind_GetCFA address, use dummy if not found.
15724 (backtrace_helper): In recursion check, also check whether CFA changes.
15725 (__backtrace): Completely initialize arg.
15726
1af4e298 15727 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15728 storing incomplete byte sequence in state object. Avoid testing for
15729 guaranteed too small input if we know there is enough data available.
1af4e298 15730
da62f81b
AS
157312011-05-11 Andreas Schwab <schwab@redhat.com>
15732
15733 * Makeconfig (+link-pie): Indent.
15734 * Rules (binaries-pie): Define if $(have-fpie) and
15735 $(build-shared).
15736 (binaries-shared): Also filter out $(binaries-pie).
15737 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15738 * nscd/Makefile (others-pie): Add nscd.
15739 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15740 ($(objpfx)nscd): Remove command override.
15741 * login/Makefile (others-pie): Add pt_chown.
15742 ($(objpfx)pt_chown): Remove command override.
15743 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15744 remove command overrides.
15745
fcabc0f8
UD
157462011-05-13 Ulrich Drepper <drepper@gmail.com>
15747
20030ae6
UD
15748 * libio/tst_putwc.c: Fix error messages.
15749
fcabc0f8
UD
15750 [BZ #12724]
15751 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15752 currently writing and seek to current position when not.
15753 * libio/Makefile (tests): Add bug-fclose1.
15754 * libio/bug-fclose1.c: New file.
15755
320a5dc0
PB
157562011-05-12 Ulrich Drepper <drepper@gmail.com>
15757
15758 [BZ #12511]
15759 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15760 don't set DF_1_NODELETE here.
15761 (do_lookup_x): When entering new entry test for copy relocation
15762 and if necessary set DF_1_NODELETE flag.
15763 * elf/tst-unique4.cc: New file.
15764 * elf/tst-unique4.h: New file.
15765 * elf/tst-unique4lib.cc: New file.
15766 * elf/Makefile: Add rules to build and run tst-unique4.
15767 Patch by Piotr Bury <pbury@goahead.com>.
15768
22836f52
UD
157692011-05-11 Ulrich Drepper <drepper@gmail.com>
15770
f574184a
UD
15771 [BZ #12052]
15772 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15773
e1fb097f
UD
15774 [BZ #12625]
15775 * misc/mntent_r.c (addmntent): Flush the stream after the output
15776
22836f52
UD
15777 [BZ #12393]
15778 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15779 (is_trusted_path_normalize): Skip initial colon. Append slash
15780 to empty buffer. Duplicate is_trusted_path code but allow
15781 constructed patch to be prefix.
15782 (is_dst): Allow $ORIGIN followed by /.
15783 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15784 Correct testing of result of is_trusted_path_normalize
15785 (decompose_rpath): Fix warning.
15786
7b3b0b2a
UD
157872011-05-10 Ulrich Drepper <drepper@gmail.com>
15788
15789 [BZ #11257]
15790 * grp/initgroups.c (internal_getgrouplist): When we found the service
15791 list through the initgroups entry in nsswitch.conf do not always
15792 continue on a successful lookup. Don't always use the
eac80ce2 15793 __nss_group_database value if it is set.
7b3b0b2a
UD
15794 * nss/nsswitch.conf (initgroups): Change action for successful db
15795 lookup to continue for compatibility.
15796
2a81eaa5
UD
157972011-05-09 Ulrich Drepper <drepper@gmail.com>
15798
be97a69e
UD
15799 [BZ #11532]
15800 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15801 and CP774 modules.
15802 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15803 and CP774 modules.
15804 * iconvdata/tst-tables.sh: Likewise.
15805 * iconvdata/cp770.c: New file.
15806 * iconvdata/cp771.c: New file.
15807 * iconvdata/cp772.c: New file.
15808 * iconvdata/cp773.c: New file.
15809 * iconvdata/cp774.c: New file.
15810 * iconvdata/testdata/CP770: New file.
15811 * iconvdata/testdata/CP770..UTF8: New file.
15812 * iconvdata/testdata/CP771: New file.
15813 * iconvdata/testdata/CP771..UTF8: New file.
15814 * iconvdata/testdata/CP772: New file.
15815 * iconvdata/testdata/CP772..UTF8: New file.
15816 * iconvdata/testdata/CP773: New file.
15817 * iconvdata/testdata/CP773..UTF8: New file.
15818 * iconvdata/testdata/CP774: New file.
15819 * iconvdata/testdata/CP774..UTF8: New file.
15820
15821 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15822 END CHARMAP line.
15823 * iconvdata/gen-8bit-gap.sh: Likewise.
15824 * iconvdata/gen-8bit.sh: Likewise.
15825
c1e9e399
UD
15826 * locale/iso-639.def: Add ary entry.
15827
24c55fb3 15828 [BZ #11258]
96b4b1b0
UD
15829 * locale/C-translit.h.in: Add U20A1 transliteration.
15830
bdc2f971
KB
15831 [BZ #12178]
15832 * locale/iso-639.def: Add wae entry.
15833 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15834
2952b117
UD
15835 [BZ #12545]
15836 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15837 for n.
15838
2a81eaa5
UD
15839 [BZ #12711]
15840 * locale/C-translit.h.in: Add entry for U20B9.
15841 Patch by pravin.d.s@gmail.com.
15842
28377d1b
UD
158432011-05-08 Ulrich Drepper <drepper@gmail.com>
15844
7fb90fb8
UD
15845 [BZ #12713]
15846 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15847 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15848 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15849 in rtld. Use *stat64.
7fb90fb8 15850 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15851 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15852 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15853 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15854 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15855 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15856 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15857 __fstatat64 macros.
7fb90fb8
UD
15858 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15859 * dirent/rewinddir.c: Add libc_hidden_def.
15860 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15861 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15862
28377d1b
UD
15863 * include/dirent.h (__alloc_dir): Add flags parameter.
15864 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15865 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15866 __alloc_dir.
15867 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15868 from fdopendir if O_CLOEXEC is already set.
15869
66bdbaa4
AM
158702011-03-15 Alan Modra <amodra@gmail.com>
15871
15872 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15873 l_tls_firstbyte_offset non-zero. Save padding offset in
15874 l_tls_firstbyte_offset for later use.
15875 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15876 freeing static tls block.
15877
95721191
JN
158782011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15879
15880 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15881 where #ifdef was intended. The intent is to prevent ARG_MAX from
15882 being defined by the kernel headers.
15883
f87dfb1f
UD
158842011-05-07 Ulrich Drepper <drepper@gmail.com>
15885
15886 [BZ #12734]
15887 * resolv/resolv.h: Define RES_NOTLDQUERY.
15888 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15889 no-tld-query and set RES_NOTLDQUERY.
15890 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15891 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15892 modern BIND to search name as TLD unless forbidden.
15893
47c3cd7a
UD
158942011-05-07 Petr Baudis <pasky@suse.cz>
15895 Ulrich Drepper <drepper@gmail.com>
15896
15897 [BZ #12393]
15898 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15899 (is_trusted_path): ...to here.
c1e9ea35 15900 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15901 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15902 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15903
8a35c912
PP
159042011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15905
15906 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15907 __BEGIN/__END_DECLS.
15908
acd41f47
UD
159092011-05-06 Ulrich Drepper <drepper@gmail.com>
15910
15911 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15912 NSS_STATUS_NOTFOUND if no record was found.
15913
597df647
AS
159142011-05-05 Andreas Schwab <schwab@redhat.com>
15915
15916 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15917 (headers-not-in-tirpc): Remove rpc/netdb.h
15918 * resolv/netdb.h: Revert last change.
15919
b9af1301
PP
159202011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15921
15922 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15923 circular dependency between libgcc.a and libc.a.
15924
4e34d5f5
AS
159252011-05-05 Andreas Schwab <schwab@redhat.com>
15926
15927 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15928 * nis/Makefile: Don't install rpcsvc/*.
15929 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15930 instead of <rpc/types.h>.
15931 (MAXHOSTNAMELEN): Define.
15932
00ee369c
AS
159332011-05-03 Andreas Schwab <schwab@redhat.com>
15934
15935 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15936
0b592a30
MB
159372011-04-28 Maciej Babinski <mbabinski@google.com>
15938
15939 [BZ #12714]
15940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15941 gethostbyname4_r when IPv6 results are possible.
15942
6e04cbbe
UD
159432011-05-02 Ulrich Drepper <drepper@gmail.com>
15944
15945 [BZ #12723]
15946 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15947 _PC_PIPE_BUF handling.
15948
e4ecafe0
BH
159492011-04-30 Bruno Haible <bruno@clisp.org>
15950
15951 [BZ #12717]
15952 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15953 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15954 to 'int'.
15955 * inet/getnameinfo.c (getnameinfo): Likewise.
15956
125ee683
UD
159572011-04-29 Ulrich Drepper <drepper@gmail.com>
15958
15959 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15960 to groups setting in database lookup.
15961 * nss/nsswitch.conf: Add initgroups entry.
15962
b722481a
EB
159632011-04-22 Ulrich Drepper <drepper@gmail.com>
15964
15965 [BZ #12685]
15966 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15967 mode string.
15968 Patch by Eric Blake <eblake@redhat.com>.
15969
4df46dbd
L
159702011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15971
15972 * sunrpc/Makefile (need-export-routines): Add svc_run.
15973 (routines): Remove svc_run.
15974 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15975 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15976 * sunrpc/svc_run.c (svc_run): Likewise.
15977 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15978
e84142d2
UD
159792011-04-21 Ulrich Drepper <drepper@gmail.com>
15980
15981 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15982 problem in reallocation in last patch.
15983
877175d8
UD
159842011-04-20 Ulrich Drepper <drepper@gmail.com>
15985
15986 * sunrpc/Makefile: Move inclusion of Rules.
15987
ab8eed78
UD
159882011-04-19 Ulrich Drepper <drepper@gmail.com>
15989
15990 * nss/nss_files/files-initgroups.c: New file.
15991 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15992 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15993 _nss_files_initgroups_dyn.
15994
e3d8f584
RS
159952011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15996
15997 * elf/elf.h (R_ARM_IRELATIVE): Define.
15998
af190f45
UD
159992011-04-19 Ulrich Drepper <drepper@gmail.com>
16000
16001 * po/ru.po: Update from translation team.
16002
53cf59ef
UD
160032011-04-17 Ulrich Drepper <drepper@gmail.com>
16004
16005 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16006 dependencies.
16007
4c559bcd
MF
160082011-02-06 Mike Frysinger <vapier@gentoo.org>
16009
16010 [BZ #12653]
16011 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16012 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16013 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16014 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16015 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16016
4420675c
AS
160172011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16018
16019 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16020 differing bytes.
16021 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16022 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16023 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16024
75ea32ab
UD
160252011-04-17 Ulrich Drepper <drepper@gmail.com>
16026
16027 [BZ #12420]
16028 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16029 storing it.
16030 * stdlib/bug-getcontext.c: New file.
16031 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16032
27390476
AK
160332011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16034
16035 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16036 instructions into .machine "z9-109".
16037 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16038 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16039
10442705
AK
160402011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16041
16042 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16043 between environment variables and auxiliary vector.
16044
7b57bfe5
UD
160452011-04-16 Ulrich Drepper <drepper@gmail.com>
16046
16047 * Makefile: Add rules to build linkobj/libc.so.
16048 * include/libc-symbols.h: Define libc_hidden_nolink.
16049 * include/rpc/auth.h: Mark functions which are to be hidden.
16050 * include/rpc/auth_des.h: Likewise.
16051 * include/rpc/auth_unix.h: Likewise.
16052 * include/rpc/clnt.h: Likewise.
16053 * include/rpc/des_crypt.h: Likewise.
16054 * include/rpc/key_prot.h: Likewise.
16055 * include/rpc/pmap_clnt.h: Likewise.
16056 * include/rpc/pmap_prot.h: Likewise.
16057 * include/rpc/pmap_rmt.h: Likewise.
16058 * include/rpc/rpc_msg.h: Likewise.
16059 * include/rpc/svc.h: Likewise.
16060 * include/rpc/svc_auth.h: Likewise.
16061 * include/rpc/xdr.h: Likewise.
16062 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16063 * nss/Makefile: Likewise.
16064 * sunrpc/Makefile: Don't install headers. Build library with normal
16065 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16066 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16067 for the compat linking library. Remove use of INTDEF/INTUSE.
16068 * sunrpc/auth_none.c: Likewise.
16069 * sunrpc/auth_unix.c: Likewise.
16070 * sunrpc/authdes_prot.c: Likewise.
16071 * sunrpc/authuxprot.c: Likewise.
16072 * sunrpc/clnt_gen.c: Likewise.
16073 * sunrpc/clnt_perr.c: Likewise.
16074 * sunrpc/clnt_raw.c: Likewise.
16075 * sunrpc/clnt_simp.c: Likewise.
16076 * sunrpc/clnt_tcp.c: Likewise.
16077 * sunrpc/clnt_udp.c: Likewise.
16078 * sunrpc/clnt_unix.c: Likewise.
16079 * sunrpc/des_crypt.c: Likewise.
16080 * sunrpc/des_soft.c: Likewise.
16081 * sunrpc/get_myaddr.c: Likewise.
16082 * sunrpc/key_call.c: Likewise.
16083 * sunrpc/key_prot.c: Likewise.
16084 * sunrpc/netname.c: Likewise.
16085 * sunrpc/pm_getmaps.c: Likewise.
16086 * sunrpc/pm_getport.c: Likewise.
16087 * sunrpc/pmap_clnt.c: Likewise.
16088 * sunrpc/pmap_prot.c: Likewise.
16089 * sunrpc/pmap_prot2.c: Likewise.
16090 * sunrpc/pmap_rmt.c: Likewise.
16091 * sunrpc/publickey.c: Likewise.
16092 * sunrpc/rpc_cmsg.c: Likewise.
16093 * sunrpc/rpc_common.c: Likewise.
16094 * sunrpc/rpc_dtable.c: Likewise.
16095 * sunrpc/rpc_prot.c: Likewise.
16096 * sunrpc/rpc_thread.c: Likewise.
16097 * sunrpc/rtime.c: Likewise.
16098 * sunrpc/svc.c: Likewise.
16099 * sunrpc/svc_auth.c: Likewise.
16100 * sunrpc/svc_authux.c: Likewise.
16101 * sunrpc/svc_raw.c: Likewise.
16102 * sunrpc/svc_run.c: Likewise.
16103 * sunrpc/svc_simple.c: Likewise.
16104 * sunrpc/svc_tcp.c: Likewise.
16105 * sunrpc/svc_udp.c: Likewise.
16106 * sunrpc/svc_unix.c: Likewise.
16107 * sunrpc/svcauth_des.c: Likewise.
16108 * sunrpc/xcrypt.c: Likewise.
16109 * sunrpc/xdr.c: Likewise.
16110 * sunrpc/xdr_array.c: Likewise.
16111 * sunrpc/xdr_float.c: Likewise.
16112 * sunrpc/xdr_intXX_t.c: Likewise.
16113 * sunrpc/xdr_mem.c: Likewise.
16114 * sunrpc/xdr_rec.c: Likewise.
16115 * sunrpc/xdr_ref.c: Likewise.
16116 * sunrpc/xdr_sizeof.c: Likewise.
16117 * sunrpc/xdr_stdio.c: Likewise.
16118
e6c61494
UD
161192011-04-10 Ulrich Drepper <drepper@gmail.com>
16120
16121 [BZ #12650]
16122 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16123 * sysdeps/ia64/dl-tls.h: Likewise.
16124 * sysdeps/powerpc/dl-tls.h: Likewise.
16125 * sysdeps/s390/dl-tls.h: Likewise.
16126 * sysdeps/sh/dl-tls.h: Likewise.
16127 * sysdeps/sparc/dl-tls.h: Likewise.
16128 * sysdeps/x86_64/dl-tls.h: Likewise.
16129 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16130
34fe483e
AS
161312011-03-14 Andreas Schwab <schwab@redhat.com>
16132
16133 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16134 rpath element also skip the following colon.
16135 (expand_dynamic_string_token): Add is_path parameter and pass
16136 down to DL_DST_REQUIRED and _dl_dst_substitute.
16137 (decompose_rpath): Call expand_dynamic_string_token with
16138 non-zero is_path. Ignore empty rpaths.
16139 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16140 with zero is_path.
16141
f12a32e6
AS
161422011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16143
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16145 Make cancelable.
16146
38a7d692
UD
161472011-04-09 Ulrich Drepper <drepper@gmail.com>
16148
16149 [BZ #12655]
16150 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16151 Patch by Filipe David Manana <fdmanana@apache.org>.
16152
e451d22b
AS
161532011-04-07 Andreas Schwab <schwab@redhat.com>
16154
16155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16156 Maintain aligned stack.
16157 (CHECK_RSP): Remove unused macro.
16158
dedc7c7b
UD
161592011-04-03 Ulrich Drepper <drepper@gmail.com>
16160
16161 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16162 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16163
94521213
UD
161642011-04-02 Ulrich Drepper <drepper@gmail.com>
16165
16166 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16167
8cb700c0 16168 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16169
0354e355
L
161702011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16171
16172 [BZ #12518]
16173 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16174 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16175 * sysdeps/x86_64/memmove.c: New file.
16176 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16177 (memcpy): Renamed to ...
16178 (__new_memcpy): This.
16179 (memcpy): Provide GLIBC_2_14 memcpy.
16180 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16181 (memcpy): Provide GLIBC_2_2_5 memcpy.
16182
8593482f
UD
161832011-04-01 Ulrich Drepper <drepper@gmail.com>
16184
16185 [BZ #12631]
16186 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16187
81a5726b
AS
161882011-03-30 Andreas Schwab <schwab@redhat.com>
16189
16190 * misc/syncfs.c: New file.
16191 * misc/Makefile (routines): Add syncfs.
16192 * posix/unistd.h: Declare syncfs.
16193 * sysdeps/unix/syscalls.list: Add syncfs.
16194
00e5419f
AS
161952011-04-01 Andreas Schwab <schwab@redhat.com>
16196
16197 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16198 open_by_handle_at.
16199 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16200 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16204 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16205 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16206
748876bf
UD
162072011-04-01 Ulrich Drepper <drepper@gmail.com>
16208
658e451d
UD
16209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16210 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16211 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16213 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16215 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16216
748876bf
UD
16217 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16218 sync_file_range.c with -fexceptions.
16219 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16220 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16221 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16222 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16223 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16224 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16226 sync_file_range as cancellation point
16227 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16228 now a wrapper around __call_sync_file_range with cancellation handling.
16229 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16230 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16231 function name to __call_sync_file_range.
16232 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16233 Add call_sync_file_range.
748876bf 16234
6e63d5e1
AS
162352011-04-01 Andreas Schwab <schwab@redhat.com>
16236
16237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16238 bits/timex.h.
6e63d5e1 16239
46998f74
UD
162402011-04-01 Ulrich Drepper <drepper@gmail.com>
16241
4c1423ed
UD
16242 * iconv/iconv.h: Fix typo in comment.
16243 * io/fcntl.h: Likewise.
16244 * libio/stdio.h: Likewise.
16245 * posix/spawn.h: Likewise.
16246 * posix/unistd.h: Likewise.
16247 * stdlib/stdlib.h: Likewise.
16248 * time/time.h: Likewise.
16249 * wcsmbs/wchar.h: Likewise.
16250
158648c0
UD
16251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16252 open_by_handle): Add.
16253 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16254 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16255 Augment a few comments.
16256 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16261 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16262 open_by_handle.
16263
46998f74
UD
16264 * io/fcntl.h (AT_EMPTY_PATH): Define.
16265
83fe108b
UD
162662011-03-30 Ulrich Drepper <drepper@gmail.com>
16267
16268 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16269 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16270 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16271 to...
16272 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16273 * Versions.def: Add GLIBC_2.14.
16274 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16275 Export.
83fe108b 16276
bb242059
UD
162772011-03-22 Ulrich Drepper <drepper@gmail.com>
16278
16279 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16280 round counter.
16281 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16282
c97a1282
L
162832011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16284
16285 [BZ #12597]
16286 * string/test-strncmp.c (do_page_test): New function.
16287 (check2): Likewise.
16288 (test_main): Call check2.
16289 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16290
2a115601
UD
162912011-03-20 Ulrich Drepper <drepper@gmail.com>
16292
16293 [BZ #12587]
16294 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16295 Handle cache information in CPU leaf 4.
16296 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16297
8126d904
UD
162982011-03-18 Ulrich Drepper <drepper@gmail.com>
16299
042c49c6 16300 [BZ #12583]
8126d904
UD
16301 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16302 character representation.
16303 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16304
ccfe366e
RA
163052011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16306
16307 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16308 END(__isnan) to END(__isnanf) to match function entry point/label
16309 EALIGN(__isnanf,...).
16310
c6e13027
JJ
163112011-03-10 Jakub Jelinek <jakub@redhat.com>
16312
16313 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16314
33f85a3f
UD
163152011-03-10 Ulrich Drepper <drepper@gmail.com>
16316
028478fa
UD
16317 [BZ #12510]
16318 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16319 copy from the symbol referenced in the relocation to initialize the
16320 used variable.
16321 Patch by Piotr Bury <pbury@goahead.com>.
16322 * elf/Makefile: Add rules to build and tst-unique3.
16323 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16324 * elf/tst-unique3.cc: New file.
16325 * elf/tst-unique3.h: New file.
16326 * elf/tst-unique3lib.cc: New file.
16327 * elf/tst-unique3lib2.cc: New file.
16328
33f85a3f
UD
16329 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16330
03592fc7
MF
163312011-03-10 Mike Frysinger <vapier@gentoo.org>
16332
16333 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16334 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16335 to _start.
03592fc7 16336
6a5ee102
UD
163372011-03-06 Ulrich Drepper <drepper@gmail.com>
16338
16339 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16340 to-be-loaded object along a path to loader is ld.so.
16341
7e4ba49c
HJ
163422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16343 Ulrich Drepper <drepper@gmail.com>
16344
16345 * sysdeps/x86_64/memset.S: After aligning destination, code
16346 branches to different locations depending on the value of
16347 misalignment, when multiarch is enabled. Fix this.
16348
163492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16350
16351 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16352 Set _x86_64_preferred_memory_instruction for AMD processsors.
16353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16354 Set bit_Prefer_SSE_for_memop for AMD processors.
16355
13a804de
UD
163562011-03-04 Ulrich Drepper <drepper@gmail.com>
16357
16358 * libio/fmemopen.c (fmemopen): Optimize a bit.
16359
9d25c392
AS
163602011-03-03 Andreas Schwab <schwab@redhat.com>
16361
16362 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16363
a5543c6a
RM
163642011-03-03 Roland McGrath <roland@redhat.com>
16365
16366 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16367
012d35f7
DM
163682011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16369
7e4ba49c 16370 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16371 __bzero_ultra1 instead of __memset_ultra1.
16372
4bff6e01
AS
163732011-02-23 Andreas Schwab <schwab@redhat.com>
16374 Ulrich Drepper <drepper@gmail.com>
16375
16376 [BZ #12509]
16377 * include/link.h (struct link_map): Add l_orig_initfini.
16378 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16379 returning unsuccessfully.
16380 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16381 close of a file loaded at startup, restore the original l_initfini
16382 list.
16383 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16384 list, store the pointer.
16385 * elf/Makefile ($(objpfx)noload-mem): New rule.
16386 (noload-ENV): Define.
16387 (tests): Add $(objpfx)noload-mem.
16388 * elf/noload.c: Include <memcheck.h>.
16389 (main): Call mtrace. Close all opened handles.
16390
f2092faf
AS
163912011-02-17 Andreas Schwab <schwab@redhat.com>
16392
16393 [BZ #12454]
16394 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16395 dependencies are missing.
16396
6c8a2e88
ST
163972011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16398
f2092faf 16399 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16400 Hurd needs munmap.
16401 * sysdeps/mach/hurd/ifreq.h: New file.
16402
84a42118
PB
164032011-01-27 Petr Baudis <pasky@suse.cz>
16404 Ulrich Drepper <drepper@gmail.com>
16405
071f805e 16406 [BZ 12445]#
84a42118
PB
16407 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16408 to extend_alloca().
16409 * stdio-common/bug23.c: New file.
16410 * stdio-common/Makefile (tests): Add bug23.
16411
e23fe25b
AS
164122010-09-28 Andreas Schwab <schwab@redhat.com>
16413 Ulrich Drepper <drepper@gmail.com>
16414
16415 [BZ #12489]
16416 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16417 before performing relro protection. At old place add assertion
16418 to make sure nothing changed.
16419
d3f02e10
NS
164202011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16421 Glauber de Oliveira Costa <glommer@gmail.com>
16422
16423 * elf/elf.h: Add new ARM TLS relocs.
16424
d55fd7a5
RA
164252011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16426
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16428 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16429 cast from r3.
16430 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16431 'tests' variable.
16432 * sysdeps/wordsize-64/tst-writev.c: New file.
16433
2206397e
RA
164342011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16435
16436 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16437 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16438 insns in _dl_start to prevent a TOC reference before relocs are
16439 resolved.
16440
e9433893
UD
164412011-02-15 Ulrich Drepper <drepper@gmail.com>
16442
16443 [BZ #12469]
16444 * Makeconfig: Remove RANLIB definition.
16445 * Makerules: Don't use RANLIB.
16446 * aclocal.m4: Remove ranlib test.
16447 * configure.in: No need to check for ranlib.
16448 * elf/rtld-Rules: Don't use RANLIB.
16449
f75286c6
ST
164502011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16451
8e31c82d
ST
16452 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16453 protection macro.
16454 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16455 inclusion protection macro.
16456
f75286c6
ST
16457 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16458 SIGRTMIN and SIGRTMAX and print information in that case only when
16459 SIGRTMIN is defined.
16460
c1d0e639
JJ
164612011-02-11 Jakub Jelinek <jakub@redhat.com>
16462
16463 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16464 arginfo fn returning -1.
16465
16466 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16467 and thousands string is zero terminated.
16468
edf9294e
AS
164692011-02-03 Andreas Schwab <schwab@redhat.com>
16470
16471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16472 sysdeps/unix/sysv/linux/bits/socket.h.
16473
2b7e92df
ST
164742011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16475
edf9294e
AS
16476 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16477 (__CPU_COUNT): Remove old macros.
16478 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16479 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16480 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16481 (__sched_cpualloc, __sched_cpufree): Add declarations.
16482
a4c7ea7b
UD
164832011-02-05 Ulrich Drepper <drepper@gmail.com>
16484
16485 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16486 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16487 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16488 (readdhstai): Return value of addhstaiX call.
16489 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16490 (addgrbyX): Return value returned by cache_addgr.
16491 (readdgrbyname): Return value returned by addgrbyX.
16492 (readdgrbygid): Likewise.
16493 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16494 (addpwbyX): Return value returned by cache_addpw.
16495 (readdpwbyname): Return value returned by addhstbyX.
16496 (readdpwbyuid): Likewise.
16497 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16498 (addservbyX): Return value returned by cache_addserv.
16499 (readdservbyname): Return value returned by addservbyX:
16500 (readdservbyport): Likewise.
16501 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16502 (addhstbyX): Return value returned by cache_addhst.
16503 (readdhstbyname): Return value returned by addhstbyX.
16504 (readdhstbyaddr): Likewise.
16505 (readdhstbynamev6): Likewise.
16506 (readdhstbyaddrv6): Likewise.
16507 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16508 (readdinitgroups): Return value returned by addinitgroupsX.
16509 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16510 (prune_cache): Keep track of timeout value of re-added entries.
16511 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16512 * nscd/nscd.h: Adjust prototypes of readd* functions.
16513
a0bf67cc
RM
165142011-02-04 Roland McGrath <roland@redhat.com>
16515
16516 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16517 (nis_stats): Likewise.
16518 * nis/nis_modify.c (nis_modify): Likewise.
16519 * nis/nis_remove.c (nis_remove): Likewise.
16520 * nis/nis_add.c (nis_add): Likewise.
16521
16522 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16523
16524 * posix/fnmatch_loop.c: Add some consts.
16525
16526 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16527
435b95eb
L
165282011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16529
16530 [BZ #12460]
16531 * config.make.in (config-cflags-novzeroupper): Define.
16532 * configure.in: Substitute libc_cv_cc_novzeroupper.
16533 * elf/Makefile (AVX-CFLAGS): Define.
16534 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16535 (CFLAGS-tst-auditmod4a.c): Likewise.
16536 (CFLAGS-tst-auditmod4b.c): Likewise.
16537 (CFLAGS-tst-auditmod6b.c): Likewise.
16538 (CFLAGS-tst-auditmod6c.c): Likewise.
16539 (CFLAGS-tst-auditmod7b.c): Likewise.
16540 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16541
8517b15e
UD
165422011-02-02 Ulrich Drepper <drepper@gmail.com>
16543
16544 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16545 function to the callback.
16546 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16547
10a656fe
AS
165482011-02-02 Andreas Schwab <schwab@redhat.com>
16549
16550 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16551 of errno.
16552
968dad0a
UD
165532011-01-19 Ulrich Drepper <drepper@gmail.com>
16554
9f94d2ea 16555 [BZ #11724]
968dad0a
UD
16556 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16557 of constructors.
16558 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16559 of destructors.
16560 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16561
16562 [BZ #11724]
16563 * elf/Makefile: Add rules to build and run new test.
16564 * elf/tst-initorder.c: New file.
16565 * elf/tst-initorder.exp: New file.
16566 * elf/tst-initordera1.c: New file.
16567 * elf/tst-initordera2.c: New file.
16568 * elf/tst-initordera3.c: New file.
16569 * elf/tst-initordera4.c: New file.
16570 * elf/tst-initorderb1.c: New file.
16571 * elf/tst-initorderb2.c: New file.
16572 * elf/tst-order-a1.c: New file.
16573 * elf/tst-order-a2.c: New file.
16574 * elf/tst-order-a3.c: New file.
16575 * elf/tst-order-a4.c: New file.
16576 * elf/tst-order-b1.c: New file.
16577 * elf/tst-order-b2.c: New file.
16578 * elf/tst-order-main.c: New file.
16579 New test case by George Gensure <werkt0@gmail.com>.
16580
86e92359
UD
165812010-10-01 Andreas Schwab <schwab@redhat.com>
16582
16583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16584 decoding ACE if AI_CANONIDN.
16585
5d5732b0
UD
165862011-01-18 Ulrich Drepper <drepper@gmail.com>
16587
16588 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16589
a77e8cbc
UD
165902011-01-17 Ulrich Drepper <drepper@gmail.com>
16591
6392473f
UD
16592 * version.h (RELEASE): Bump for 2.13 release.
16593 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16594
620a0529
UD
16595 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16596
18ba70a5
UD
16597 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16598 MADV_NOHUGEPAGE.
32465c3e
UD
16599 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16600 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16601 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16602 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16603 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16604 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16605
c0dafcf1
UD
16606 * posix/getconf.c: Update copyright year.
16607 * catgets/gencat.c: Likewise.
16608 * csu/version.c: Likewise.
16609 * debug/catchsegv.sh: Likewise.
16610 * debug/xtrace.sh: Likewise.
16611 * elf/ldconfig.c: Likewise.
16612 * elf/ldd.bash.in: Likewise.
16613 * elf/sprof.c (print_version): Likewise.
16614 * iconv/iconv_prog.c: Likewise.
16615 * iconv/iconvconfig.c: Likewise.
16616 * locale/programs/locale.c: Likewise.
16617 * locale/programs/localedef.c: Likewise.
16618 * malloc/memusage.sh: Likewise.
16619 * malloc/mtrace.pl: Likewise.
16620 * nscd/nscd.c (print_version): Likewise.
16621 * nss/getent.c: Likewise.
16622
a77e8cbc
UD
16623 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16624 PF_CAIF, and PF_ALG.
16625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16626
77e8bddf
AS
166272011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16628
1f20b93a
AS
16629 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16630 (modules-names): Use them.
16631 (ifunc-test-modules, ifunc-pie-tests): Define.
16632 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16633 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16634 (test-extras): Likewise.
16635 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16636 $(compile-command.c).
16637 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16638 (all-built-dso): Define.
16639 (check-textrel.out, check-execstack.out): Depend on it.
16640
77e8bddf
AS
16641 * configure.in: Don't override --enable-multi-arch.
16642
bc425b33
UD
166432011-01-15 Ulrich Drepper <drepper@gmail.com>
16644
16645 [BZ #6812]
16646 * nscd/hstcache.c (tryagain): Define.
16647 (cache_addhst): Return tryagain not notfound for temporary errors.
16648 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16649 failed.
16650
794c3ad3
UD
166512011-01-14 Ulrich Drepper <drepper@gmail.com>
16652
70181fdd
UD
16653 [BZ #10563]
16654 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16655 to make the syscall.
16656 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16657
794c3ad3
UD
16658 [BZ #12378]
16659 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16660 and fall back to matching as normal character if the string ends before
16661 the matching ']' is found. This is what POSIX requires.
16662 * posix/testfnm.c: Adjust test result.
16663 * posix/globtest.sh: Adjust test result. Add new test.
16664 * posix/tst-fnmatch.input: Likewise.
16665 * posix/tst-fnmatch2.c: Add new test.
16666
68dc9497
AS
166672010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16668
16669 * elf/Makefile (check-execstack): Revert last change. Depend on
16670 check-execstack.h.
16671 (check-execstack.h): New target.
16672 (generated): Add check-execstack.h.
16673 * elf/check-execstack.c: Include "check-execstack.h".
16674 (main): Revert last change.
16675 (handle_file): Return zero if GNU_STACK is absent and
16676 DEFAULT_STACK_PERMS doesn't include PF_X.
16677
451f001b
UD
166782011-01-13 Ulrich Drepper <drepper@gmail.com>
16679
cfa28e56
UD
16680 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16681 in child fails because the descriptor is already closed.
8cf8ce17
UD
16682 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16683 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16684 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16685
1086d70d
UD
16686 [BZ #12397]
16687 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16688 syscall.
16689
451f001b
UD
16690 [BZ #10484]
16691 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16692 temporary buffer used to handle multi lookups locally.
a85b5cb4 16693 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16694
08769175
UD
166952011-01-12 Ulrich Drepper <drepper@gmail.com>
16696
16697 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16698 loader is ld.so.
16699
5e49c52e
UD
167002011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16701
16702 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16703 alignment for SSE2.
16704
60522a5f
UD
167052011-01-12 Ulrich Drepper <drepper@gmail.com>
16706
16707 [BZ #12394]
16708 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16709 characters. When rounding increased number of integer digits recompute
16710 number of groups.
16711 * stdio-common/tst-grouping.c: New file.
16712 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16713
f257bbd7
UD
167142011-01-09 Ulrich Drepper <drepper@gmail.com>
16715
16716 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16717 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16718
16719 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16720 void.
16721 * bits/select.h: Likewise.
16722
fa9c15cb
UD
167232011-01-08 Ulrich Drepper <drepper@gmail.com>
16724
16725 * po/ja.po: Update from translation team.
16726
16c2895f
DM
167272011-01-04 David S. Miller <davem@sunset.davemloft.net>
16728
16729 [BZ #11155]
16730 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16731 implementation just like for lxstat, fxstatat, et al.
16732
2543fef2
JM
167332010-12-27 Jim Meyering <meyering@redhat.com>
16734
16735 [BZ #12348]
16736 * posix/regexec.c (build_trtable): Return failure indication upon
16737 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16738
98727dbe
UD
167392010-12-25 Ulrich Drepper <drepper@gmail.com>
16740
5bd6dc5c
UD
16741 [BZ #12201]
16742 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16743 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16744 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16745 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16746
97983464
UD
16747 [BZ #12207]
16748 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16749
98727dbe
UD
16750 [BZ #12204]
16751 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16752 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16753
4a531bb0
L
167542010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16755
16756 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16757 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16758 script has SORT_BY_INIT_PRIORITY.
16759 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16760 NO_CTORS_DTORS_SECTIONS is defined.
16761 * elf/soinit.c: Likewise.
16762 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16763 NO_CTORS_DTORS_SECTIONS is defined.
16764 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16765 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16766 * sysdeps/sh/init-first.c: Likewise.
16767 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16768
07eb4b71
UD
167692010-12-24 Ulrich Drepper <drepper@gmail.com>
16770
16771 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16772 always use the slow path.
16773
30950a5f
RA
167742010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16775
16776 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16777 similar rule which adds the sysdep directories to the header search in
16778 order to pick up the correct platform stackinfo.h.
16779 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16780 perform test if it is, otherwise return successfully without testing.
16781 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16782 DEFAULT_STACK_PERMS define in stackinfo.h.
16783 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16784 defined in stackinfo.h.
16785 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16786 DEFAULT_STACK_PERMS defined in stackinfo.h.
16787 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16788 * sysdeps/ia64/stackinfo.h: Likewise.
16789 * sysdeps/s390/stackinfo.h: Likewise.
16790 * sysdeps/sh/stackinfo.h: Likewise.
16791 * sysdeps/sparc/stackinfo.h: Likewise.
16792 * sysdeps/x86_64/stackinfo.h: Likewise.
16793 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16794 PF_X for powerpc64. Retain PF_X for powerpc32.
16795
db753e2c
UD
167962010-12-19 Ulrich Drepper <drepper@gmail.com>
16797
14b697f7
UD
16798 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16799 accurately.
db753e2c
UD
16800 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16801 GETDENTS_64BIT_ALIGNED.
16802
28300719
UD
168032010-12-14 Ulrich Drepper <dreper@gmail.com>
16804
14b697f7 16805 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16806
4f197237
AS
168072010-12-10 Andreas Schwab <schwab@redhat.com>
16808
dbb0472f
AS
16809 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16810 _GNU_SOURCE.
16811
4f197237
AS
16812 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16813 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16814 Remove __restrict.
16815 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16816 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16817
fb88ac72
UD
168182010-12-09 Ulrich Drepper <drepper@gmail.com>
16819
16820 [BZ #11655]
16821 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16822 are initialized.
16823
42acbb92
JJ
168242010-12-09 Jakub Jelinek <jakub@redhat.com>
16825
16826 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16827
c038d98d
UD
168282010-12-03 Ulrich Drepper <drepper@gmail.com>
16829
16830 * po/it.po: Update from translation team.
16831
3a4a2499
L
168322010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16833
16834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16835 unused codes.
16836
1e24cf6e
UD
168372010-11-30 Ulrich Drepper <drepper@gmail.com>
16838
16839 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16840
a7690819
AS
168412010-11-24 Andreas Schwab <schwab@redhat.com>
16842
16843 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16844 specially.
16845 (gaih_getanswer_slice): Likewise.
16846
3bf8d1b1
JJ
168472010-10-20 Jakub Jelinek <jakub@redhat.com>
16848
16849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16850
6db52fbb
PB
168512010-05-31 Petr Baudis <pasky@suse.cz>
16852
16853 [BZ #11149]
16854 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16855 silently even in the chroot mode.
16856
eaca7569
UD
168572010-11-22 Ulrich Drepper <drepper@gmail.com>
16858
16859 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16860 last patch a bit. Pretty printing
16861
3056dcdb
UD
168622010-05-31 Petr Baudis <pasky@suse.cz>
16863
16864 [BZ #10085]
16865 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16866 initialization of skip_initgroups_dyn.
16867
cf7c9078
UD
168682010-11-19 Ulrich Drepper <drepper@gmail.com>
16869
16870 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16871 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16872
a1fb5e3e
UD
168732010-11-16 Ulrich Drepper <drepper@gmail.com>
16874
16875 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16876
3540d66b
AS
168772010-11-11 Andreas Schwab <schwab@redhat.com>
16878
16879 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16880 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16881 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16882 ($(objpfx)tst-fnmatch-mem): New rule.
16883 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16884 * posix/tst-fnmatch.c (main): Call mtrace.
16885
13b69574
L
168862010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16887
16888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16889 Support Intel processor model 6 and model 0x2c.
16890
da93d214
LM
168912010-11-10 Luis Machado <luisgpm@br.ibm.com>
16892
16893 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16894 signed comparison.
16895
8ca52c6e
L
168962010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16897
16898 [BZ #12205]
16899 * string/test-strncasecmp.c (check_result): New function.
16900 (do_one_test): Use it.
16901 (check1): New function.
16902 (test_main): Use it.
16903 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16904 Support strcasecmp and strncasecmp.
16905
69da074d
UD
169062010-11-08 Ulrich Drepper <drepper@gmail.com>
16907
16908 [BZ #12194]
16909 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16910 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16911
ff02d528
L
169122010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16913
16914 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16915 IFUNC support.
16916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16917 memset-x86-64.
16918 * sysdeps/x86_64/multiarch/bzero.S: New file.
16919 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16920 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16921 * sysdeps/x86_64/multiarch/memset.S: New file.
16922 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16924 Set bit_Prefer_SSE_for_memop for Intel processors.
16925 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16926 Define.
16927 (index_Prefer_SSE_for_memop): Define.
16928 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16929
344d0b54
LM
169302010-11-04 Luis Machado <luisgpm@br.ibm.com>
16931
16932 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16933 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16934
c0dde15b
UD
169352010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16936
16937 [BZ #12191]
16938 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16939 (__x86_64_raw_data_cache_size_half): Likewise.
16940 (__x86_64_raw_shared_cache_size): Likewise.
16941 (__x86_64_raw_shared_cache_size_half): Likewise.
16942
16943 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16944 (__x86_64_raw_data_cache_size_half): Likewise.
16945 (__x86_64_raw_shared_cache_size): Likewise.
16946 (__x86_64_raw_shared_cache_size_half): Likewise.
16947 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16948 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16949 and __x86_64_raw_shared_cache_size_half. Round
16950 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16951 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16952 to multiple of 256 bytes.
16953
0e516e0e
MS
169542010-11-03 Ulrich Drepper <drepper@gmail.com>
16955
16956 [BZ #12167]
16957 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16958 of inacessible symlinks. Verify result of symlink before returning it.
16959 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16960 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16961
0e012e87
ER
169622010-10-28 Erich Ritz <erichritz@gmail.com>
16963
16964 * math/math.h (isinf): Fix typo in comment.
16965
de0ff7bc
UD
169662010-11-01 Ulrich Drepper <drepper@gmail.com>
16967
16968 * po/da.po: Update from translation team.
16969
fa41c84d
UD
169702010-10-26 Ulrich Drepper <drepper@gmail.com>
16971
16972 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16973 is added to the list.
16974
f0967738
AK
169752010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16976 Ulrich Drepper <drepper@gmail.com>
16977
16978 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16979 the global list here. Move code to...
16980 (_dl_add_to_namespace_list): ...here. New function.
16981 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16982 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16983 * elf/dl-load.c (lose): Don't remove the element from the list.
16984 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16985 (_dl_map_object): Likewise.
16986
169872010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16988
16989 [BZ #12159]
16990 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16991 into all bytes of SSE register.
16992 Patch by Richard Li <richardpku@gmail.com>.
16993
f0967738 169942010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16995
16996 [BZ #12140]
16997 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16998 perturbing.
16999
d0b9e94f
MB
170002010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17001
17002 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17003 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17004 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17005 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17007 submachine.
17008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17009
8e9f92e9
AS
170102010-10-22 Andreas Schwab <schwab@redhat.com>
17011
17012 * include/dlfcn.h (__RTLD_SECURE): Define.
17013 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17014 mode & __RTLD_SECURE instead.
17015 (open_path): Rename preloaded parameter to secure.
17016 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17017 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17018 * elf/dl-deps.c (openaux): Likewise.
17019 * elf/rtld.c (struct map_args): Remove is_preloaded.
17020 (map_doit): Don't use it.
17021 (dl_main): Likewise.
17022 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17023 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17024
bc96fbda
AS
170252010-09-09 Andreas Schwab <schwab@redhat.com>
17026
17027 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17028 (sysd-rules-targets): Remove duplicates.
17029 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17030 rtld-%.$o dependency.
17031
22cd1c9b
AS
170322010-10-18 Andreas Schwab <schwab@redhat.com>
17033
17034 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17035 _dl_map_object do it.
17036
18edac48
UD
170372010-10-19 Ulrich Drepper <drepper@gmail.com>
17038
17039 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17040 fast fma builtins, define the macros in the C99 standard.
17041 (FP_FAST_FMAF): Likewise.
17042 (FP_FAST_FMAL): Likewise.
17043 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17044
17045 * bits/mathdef.h: Update copyright year.
17046 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17047
d2050124
MM
170482010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17049
17050 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17051 builtins, define the macros in the C99 standard.
17052 (FP_FAST_FMAF): Likewise.
17053 (FP_FAST_FMAL): Likewise.
17054 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17055 multiply/add.
17056 (FP_FAST_FMAF): Likewise.
17057
475facd1
JJ
170582010-10-15 Jakub Jelinek <jakub@redhat.com>
17059
17060 [BZ #3268]
17061 * math/libm-test.inc (fma_test): Some new testcases.
17062 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17063 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17064 y and infinite z. Do multiplication by C already in long double.
17065 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17067 y and infinite z. Do bitwise or of inexact bit into u.d.
17068 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17069 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17070 * sysdeps/i386/fpu/s_fma.S: Removed.
17071 * sysdeps/i386/fpu/s_fmal.S: Removed.
17072
7c08a05c
JJ
170732010-10-16 Jakub Jelinek <jakub@redhat.com>
17074
17075 [BZ #3268]
17076 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17078 computation is not scheduled after fetestexcept. Fix value
17079 of minimum denormal long double.
17080
f3f7372d
JJ
170812010-10-14 Jakub Jelinek <jakub@redhat.com>
17082
17083 [BZ #3268]
17084 * math/libm-test.inc (fma_test): Add some more tests.
17085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17086 correctly.
17087
14d43591
AS
170882010-10-15 Andreas Schwab <schwab@redhat.com>
17089
17090 * scripts/data/localplt-s390-linux-gnu.data: New file.
17091 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17092
5e908464
JJ
170932010-10-13 Jakub Jelinek <jakub@redhat.com>
17094
17095 [BZ #3268]
17096 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17097 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17098 instead of dbl-64.
17099 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17100 inlines.
17101 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17103 if one of x and y is very large and the other is subnormal.
17104 * sysdeps/s390/fpu/s_fmaf.c: New file.
17105 * sysdeps/s390/fpu/s_fma.c: New file.
17106 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17107 * sysdeps/powerpc/fpu/s_fma.S: New file.
17108 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17109 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17110 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17111
171122010-10-12 Jakub Jelinek <jakub@redhat.com>
17113
17114 [BZ #3268]
17115 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17116 fma tests.
17117 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17118 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17119 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17120 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17121 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17122 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17123 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17124
b833d51f
UD
171252010-10-12 Ulrich Drepper <drepper@redhat.com>
17126
17127 [BZ #12078]
17128 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17129 * posix/bug-regex31.input: Add test case.
17130
1751705d
UD
171312010-10-11 Ulrich Drepper <drepper@gmail.com>
17132
e9b9cbf5
UD
17133 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17134 * posix/bug-regex31.input: New file.
17135
17136 [BZ #12078]
17137 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17138 (parse_sub_exp): Fix last change, use postorder.
17139
ef06edbe
UD
17140 * posix/bug-regex31.c: New file.
17141 * posix/Makefile: Add rules to build and run bug-regex31.
17142
a129c80d
UD
17143 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17144
17145 [BZ #12078]
17146 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17147
b76b818e
UD
17148 [BZ #12108]
17149 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17150 to have entries in sys_siglist.
17151
1751705d
UD
17152 [BZ #12093]
17153 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17154 be NULL.
17155
9ff8d36f
JJ
171562010-10-07 Jakub Jelinek <jakub@redhat.com>
17157
17158 [BZ #3268]
17159 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17160 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17161 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17162 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17163 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17164 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17165 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17166 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17167 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17168 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17169 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17170 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17171 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17172 * math/ftestexcept.c (fetestexcept): Likewise.
17173 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17174 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17175 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17176 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17177 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17178 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17179 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17180
af325969
UD
171812010-10-11 Ulrich Drepper <drepper@gmail.com>
17182
c579b202 17183 [BZ #12107]
af325969
UD
17184 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17185 newline.
17186
67a67b95
UD
171872010-10-06 Ulrich Drepper <drepper@gmail.com>
17188
17189 * string/bug-strstr1.c: New file.
17190 * string/Makefile: Add rules to build and run bug-strstr1.
17191
5fb308bc
EB
171922010-10-05 Eric Blake <eblake@redhat.com>
17193
17194 [BZ #12092]
17195 * string/str-two-way.h (two_way_long_needle): Always clear memory
17196 when skipping input due to the shift table.
17197
45db99c7
UD
171982010-10-03 Ulrich Drepper <drepper@gmail.com>
17199
3b111893
UD
17200 [BZ #12005]
17201 * malloc/mcheck.c: Handle large requests.
17202
45db99c7
UD
17203 [BZ #12077]
17204 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17205 for strncmp and strncasecmp.
17206 * string/stratcliff.c: Add tests for strcmp and strncmp.
17207 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17208
cf7a1eb8
NI
172092010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17210
17211 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17212 __set_fpscr.
17213
6484ba5e
AJ
172142010-09-30 Andreas Jaeger <aj@suse.de>
17215
17216 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17217 (CGROUP_SUPER_MAGIC): Define.
17218 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17219 Handle btrfs and cgroup file systems.
17220 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17221 Likewise.
17222
91c42559
LM
172232010-09-27 Luis Machado <luisgpm@br.ibm.com>
17224
17225 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17226 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17227
87a97932
AK
172282010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17229
17230 [BZ #12067]
17231 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17232 trying to locate the ELF header.
17233
c21cc9bc
AS
172342010-09-27 Andreas Schwab <schwab@redhat.com>
17235
17236 [BZ #11611]
17237 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17238 Mask out sign-bit copies when constructing f_fsid.
17239
315970f6
PB
172402010-09-24 Petr Baudis <pasky@suse.cz>
17241
17242 * debug/stack_chk_fail_local.c: Add missing licence exception.
17243 * debug/warning-nop.c: Likewise.
17244
1ac7a2c7
JM
172452010-09-15 Joseph Myers <joseph@codesourcery.com>
17246
17247 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17248 implementing getdents64 using getdents syscall, set d_type if
17249 __ASSUME_GETDENTS32_D_TYPE.
17250
56801c50
AS
172512010-09-16 Andreas Schwab <schwab@redhat.com>
17252
17253 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17254 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17255
dda51327
UD
172562010-09-21 Ulrich Drepper <drepper@redhat.com>
17257
17258 [BZ #12037]
17259 * posix/unistd.h: Undo change of feature selection for ftruncate from
17260 2010-01-11.
17261
8ffcee4a
UD
172622010-09-20 Ulrich Drepper <drepper@redhat.com>
17263
a545ecd9 17264 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17265 detection.
17266
e24f0a8b
AS
172672010-09-20 Andreas Schwab <schwab@redhat.com>
17268
17269 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17270 fanotify_mark.
17271 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17272
7291c56f
AS
172732010-09-14 Andreas Schwab <schwab@redhat.com>
17274
17275 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17276 variables after CHECK_SP call.
17277 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17278
bc5fb037
AS
172792010-09-13 Andreas Schwab <schwab@redhat.com>
17280 Ulrich Drepper <drepper@redhat.com>
17281
17282 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17283 re-relocationg ld.so.
17284 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17285 _dl_init_paths call.
17286 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17287 here anymore.
17288
e66e7419
UD
172892010-09-14 Ulrich Drepper <drepper@redhat.com>
17290
17291 * resolv/res_init.c (__res_vinit): Count the default server we added.
17292
c044aa75
CLT
172932010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17294 Ulrich Drepper <drepper@redhat.com>
17295
17296 [BZ #11968]
17297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17298 (____longjmp_chk): Use %ebx for saving value across system call.
17299 Add unwind info.
17300
32cf4069
AS
173012010-09-06 Andreas Schwab <schwab@redhat.com>
17302
17303 * manual/Makefile: Don't mix pattern rules with normal rules.
17304
817328ee
AS
173052010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17306
17307 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17308 operation.
17309 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17310 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17311 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17312 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17313 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17314 Likewise.
17315
29fddf61
UD
173162010-09-04 Ulrich Drepper <drepper@redhat.com>
17317
17318 [BZ #11979]
17319 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17320 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17321
0959ffc9
UD
173222010-09-02 Ulrich Drepper <drepper@redhat.com>
17323
17324 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17325 * sysdeps/x86_64/addmul_1.S: Likewise.
17326 * sysdeps/x86_64/lshift.S: Likewise.
17327 * sysdeps/x86_64/mul_1.S: Likewise.
17328 * sysdeps/x86_64/rshift.S: Likewise.
17329 * sysdeps/x86_64/sub_n.S: Likewise.
17330 * sysdeps/x86_64/submul_1.S: Likewise.
17331
ece29840
ST
173322010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17333
0959ffc9
UD
17334 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17335 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17336 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17337 * bits/sched.h [__need_schedparam]
ece29840 17338 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17339 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17340 (__defined_schedparam): Define to 1.
ece29840
ST
17341 (__sched_param): New structure, identical to sched_param.
17342 (__need_schedparam): Undefine.
17343
e53a31fe
MF
173442010-08-31 Mike Frysinger <vapier@gentoo.org>
17345
fdc0c10d
MF
17346 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17347 (epoll_create1): Declare.
17348
e53a31fe
MF
17349 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17350
a726d796
AS
173512010-08-31 Andreas Schwab <schwab@redhat.com>
17352
17353 [BZ #7066]
17354 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17355 shifting retval into place.
17356
2f3e3dc7
UD
173572010-09-01 Ulrich Drepper <drepper@redhat.com>
17358
f2933da9
UD
17359 * nis/rpcsvc/nis.h: Update copyright notice.
17360 * nis/rpcsvc/nis.x: Likewise.
17361 * nis/rpcsvc/nis_callback.h: Likewise.
17362 * nis/rpcsvc/nis_callback.x: Likewise.
17363 * nis/rpcsvc/nis_object.x: Likewise.
17364 * nis/rpcsvc/nis_tags.h: Likewise.
17365 * nis/rpcsvc/yp.h: Likewise.
17366 * nis/rpcsvc/yp.x: Likewise.
17367 * nis/rpcsvc/ypupd.h: Likewise.
17368 * nis/yp_xdr.c: Likewise.
17369 * nis/ypupdate_xdr.c: Likewise.
17370
2f3e3dc7
UD
17371 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17372 mainly the body of pmap_getport. Add parameters to specify timeouts.
17373 (pmap_getport): Use __libc_rpc_getport.
17374 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17375 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17376 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17377
f3dcc2f9
AS
173782010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17379
17380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17381 fanotify_mark.
17382
6d34eb5b
RM
173832010-08-27 Roland McGrath <roland@redhat.com>
17384
17385 * sysdeps/i386/i686/multiarch/Makefile
17386 (CFLAGS-varshift.c): New variable.
17387
9ea3de11
UD
173882010-08-27 Ulrich Drepper <drepper@redhat.com>
17389
c96d23fc
UD
17390 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17391 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17392
9ea3de11
UD
17393 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17394
17395 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17396
623aac7f
L
173972010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17398
17399 * sysdeps/x86_64/strlen.S: Unroll the loop.
17400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17401 strlen-sse2 strlen-sse2-bsf.
17402 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17403 __strlen_no_bsf if bit_Slow_BSF is set.
17404 (__strlen_sse42): Removed.
17405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17406 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17407
8b2b7715
RM
174082010-08-25 Roland McGrath <roland@redhat.com>
17409
17410 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17411 * sysdeps/x86_64/multiarch/varshift.c: New file.
17412 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17413 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17414 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17415 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17416
e73015f2
L
174172010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17418
17419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17420 strlen-sse2 strlen-sse2-bsf.
17421 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17422 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17423 (__strlen_sse2): Removed.
17424 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17427 bit_Slow_BSF for Atom.
17428 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17429 (index_Slow_BSF): Define.
17430 (HAS_SLOW_BSF): Define.
17431
df24a73e
UD
174322010-08-25 Ulrich Drepper <drepper@redhat.com>
17433
17434 [BZ #10851]
17435 * resolv/res_init.c (__res_vinit): When no server address at all
17436 is given default to loopback.
17437
f2ac4868
RM
174382010-08-24 Roland McGrath <roland@redhat.com>
17439
09055553
RM
17440 * configure.in: Remove config-name.h generation.
17441 * configure: Regenerated.
17442 * config-name.in: File removed.
17443 * scripts/config-uname.sh: New file.
17444 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17445 ($(objdir)config-name.h): New target.
17446
f2ac4868
RM
17447 * sunrpc/rpc_parse.h: Avoid nested comment.
17448
73f27d5e
RH
174492010-08-24 Richard Henderson <rth@redhat.com>
17450 Ulrich Drepper <drepper@redhat.com>
17451 H.J. Lu <hongjiu.lu@intel.com>
17452
17453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17455 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17456 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17457 _mm_alignr_epi8 with _mm_loadu_si128.
17458 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17459 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17460 (__m128i_shift_right): Removed.
17461 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17462 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17463 * sysdeps/x86_64/multiarch/varshift.h: New file.
17464 * sysdeps/x86_64/multiarch/varshift.S: New file.
17465
84b9230c
MF
174662010-08-21 Mike Frysinger <vapier@gentoo.org>
17467
17468 * configure.in: Move assembler checks to before sysdep dir checking.
17469
9bbd0ddc
PB
174702010-08-20 Petr Baudis <pasky@suse.cz>
17471
17472 * LICENSES: Sync the sunrpc license.
17473
9da4bb31
UD
174742010-08-19 Ulrich Drepper <drepper@redhat.com>
17475
a7ab6ec8
UD
17476 * sunrpc/auth_des.c: Update copyright notice once again.
17477 * sunrpc/auth_none.c: Likewise.
17478 * sunrpc/auth_unix.c: Likewise.
17479 * sunrpc/authdes_prot.c: Likewise.
17480 * sunrpc/authuxprot.c: Likewise.
17481 * sunrpc/bindrsvprt.c: Likewise.
17482 * sunrpc/clnt_gen.c: Likewise.
17483 * sunrpc/clnt_perr.c: Likewise.
17484 * sunrpc/clnt_raw.c: Likewise.
17485 * sunrpc/clnt_simp.c: Likewise.
17486 * sunrpc/clnt_tcp.c: Likewise.
17487 * sunrpc/clnt_udp.c: Likewise.
17488 * sunrpc/clnt_unix.c: Likewise.
17489 * sunrpc/des_crypt.c: Likewise.
17490 * sunrpc/des_soft.c: Likewise.
17491 * sunrpc/get_myaddr.c: Likewise.
17492 * sunrpc/getrpcport.c: Likewise.
17493 * sunrpc/key_call.c: Likewise.
17494 * sunrpc/key_prot.c: Likewise.
17495 * sunrpc/openchild.c: Likewise.
17496 * sunrpc/pm_getmaps.c: Likewise.
17497 * sunrpc/pm_getport.c: Likewise.
17498 * sunrpc/pmap_clnt.c: Likewise.
17499 * sunrpc/pmap_prot.c: Likewise.
17500 * sunrpc/pmap_prot2.c: Likewise.
17501 * sunrpc/pmap_rmt.c: Likewise.
17502 * sunrpc/rpc/auth.h: Likewise.
17503 * sunrpc/rpc/auth_unix.h: Likewise.
17504 * sunrpc/rpc/clnt.h: Likewise.
17505 * sunrpc/rpc/des_crypt.h: Likewise.
17506 * sunrpc/rpc/key_prot.h: Likewise.
17507 * sunrpc/rpc/netdb.h: Likewise.
17508 * sunrpc/rpc/pmap_clnt.h: Likewise.
17509 * sunrpc/rpc/pmap_prot.h: Likewise.
17510 * sunrpc/rpc/pmap_rmt.h: Likewise.
17511 * sunrpc/rpc/rpc.h: Likewise.
17512 * sunrpc/rpc/rpc_des.h: Likewise.
17513 * sunrpc/rpc/rpc_msg.h: Likewise.
17514 * sunrpc/rpc/svc.h: Likewise.
17515 * sunrpc/rpc/svc_auth.h: Likewise.
17516 * sunrpc/rpc/types.h: Likewise.
17517 * sunrpc/rpc/xdr.h: Likewise.
17518 * sunrpc/rpc_clntout.c: Likewise.
17519 * sunrpc/rpc_cmsg.c: Likewise.
17520 * sunrpc/rpc_common.c: Likewise.
17521 * sunrpc/rpc_cout.c: Likewise.
17522 * sunrpc/rpc_dtable.c: Likewise.
17523 * sunrpc/rpc_hout.c: Likewise.
17524 * sunrpc/rpc_main.c: Likewise.
17525 * sunrpc/rpc_parse.c: Likewise.
17526 * sunrpc/rpc_parse.h: Likewise.
17527 * sunrpc/rpc_prot.c: Likewise.
17528 * sunrpc/rpc_sample.c: Likewise.
17529 * sunrpc/rpc_scan.c: Likewise.
17530 * sunrpc/rpc_scan.h: Likewise.
17531 * sunrpc/rpc_svcout.c: Likewise.
17532 * sunrpc/rpc_tblout.c: Likewise.
17533 * sunrpc/rpc_util.c: Likewise.
17534 * sunrpc/rpc_util.h: Likewise.
17535 * sunrpc/rpcinfo.c: Likewise.
17536 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17537 * sunrpc/rpcsvc/key_prot.x: Likewise.
17538 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17539 * sunrpc/rpcsvc/mount.x: Likewise.
17540 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17541 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17542 * sunrpc/rpcsvc/rex.x: Likewise.
17543 * sunrpc/rpcsvc/rstat.x: Likewise.
17544 * sunrpc/rpcsvc/rusers.x: Likewise.
17545 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17546 * sunrpc/rpcsvc/spray.x: Likewise.
17547 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17548 * sunrpc/rtime.c: Likewise.
17549 * sunrpc/svc.c: Likewise.
17550 * sunrpc/svc_auth.c: Likewise.
17551 * sunrpc/svc_authux.c: Likewise.
17552 * sunrpc/svc_raw.c: Likewise.
17553 * sunrpc/svc_run.c: Likewise.
17554 * sunrpc/svc_simple.c: Likewise.
17555 * sunrpc/svc_tcp.c: Likewise.
17556 * sunrpc/svc_udp.c: Likewise.
17557 * sunrpc/svc_unix.c: Likewise.
17558 * sunrpc/svcauth_des.c: Likewise.
17559 * sunrpc/xcrypt.c: Likewise.
17560 * sunrpc/xdr.c: Likewise.
17561 * sunrpc/xdr_array.c: Likewise.
17562 * sunrpc/xdr_float.c: Likewise.
17563 * sunrpc/xdr_mem.c: Likewise.
17564 * sunrpc/xdr_rec.c: Likewise.
17565 * sunrpc/xdr_ref.c: Likewise.
17566 * sunrpc/xdr_sizeof.c: Likewise.
17567 * sunrpc/xdr_stdio.c: Likewise.
17568
9da4bb31
UD
17569 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17570 handling.
17571
bdaa77bc
AS
175722010-08-19 Andreas Schwab <schwab@redhat.com>
17573
17574 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17575
fe2f79db
LM
175762010-08-19 Luis Machado <luisgpm@br.ibm.com>
17577
17578 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17579 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17580 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17581 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17582 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17583 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17584 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17585 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17586 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17587 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17588 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17589 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17590 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17591 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17592
b9b42ee0
AB
175932010-07-26 Anton Blanchard <anton@samba.org>
17594
17595 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17596 * malloc/arena.c (heap_trim): Likewise.
17597
1c06ba31
UD
175982010-08-16 Ulrich Drepper <drepper@redhat.com>
17599
17600 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17601 here. Not...
17602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17603 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17604
f8392f40
L
176052010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17606
17607 * sysdeps/i386/elf/Makefile: New file.
17608
3162f12e
AS
176092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17610
17611 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17612 from fanotify_init.
17613 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17614 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17615
28c90b2c
UD
176162010-08-15 Ulrich Drepper <drepper@redhat.com>
17617
17618 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17619 of strncasecmp_l.
1feccb6c 17620 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17621
ca6bb004
UD
176222010-08-14 Ulrich Drepper <drepper@redhat.com>
17623
e9f82e0d
UD
17624 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17625 strncase_l-nonascii.
17626 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17627 Add strncase_l-ssse3.
17628 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17629 * sysdeps/x86_64/strcmp.S: Likewise.
17630 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17631 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17632 * sysdeps/x86_64/strncase.S: New file.
17633 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17634 * sysdeps/x86_64/strncase_l.S: New file.
17635 * string/Makefile (strop-tests): Add strncasecmp.
17636 * string/test-strncasecmp.c: New file.
17637
17638 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17639 warning.
17640
ca6bb004
UD
17641 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17642 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17643
052fa7b3
AS
176442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17645
17646 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17647
962dba78
UD
176482010-08-12 Ulrich Drepper <drepper@redhat.com>
17649
17650 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17651 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17652 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17653
bebff237
AM
176542010-05-01 Alan Modra <amodra@gmail.com>
17655
17656 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17657 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17658 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17659 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17660 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17661 tidying. Don't tail-call __sigjmp_save for static lib.
17662 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17663 save location.
17664 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17665 (CALL_MCOUNT): Add eh info, and nop after bl.
17666 (TAIL_CALL_SYSCALL_ERROR): New macro.
17667 (PSEUDO_RET): Use it.
17668 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17669 Correct save location of integer regs and cr.
17670 (_dl_profile_resolve): Correct cr save location. Delete nops
17671 after bl when SHARED. Reduce cfi size a little by better
17672 placement of cfi directives.
17673 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17674 make a stack frame. Instead use parm save area as a temp.
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17676 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17678 Don't make a stack frame for parent, use parm save area.
17679 Increase child stack frame to 112 bytes. Don't save unused reg,
17680 and adjust reg usage. Set up cfi on error recovery and
17681 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17683 (__makecontext): Add dummy nop after jump to exit.
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17685 Use correct parm save area and cr save, reduce stack frame.
17686 Correct cfi for possible PSEUDO_RET frame setup.
17687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17688 Branch to local label emitted by PSEUDO_RET rather than
17689 __syscall_error.
17690
02637374
AS
176912010-08-12 Andreas Schwab <schwab@redhat.com>
17692
17693 [BZ #11904]
17694 * locale/programs/locale.c (print_assignment): New function.
17695 (show_locale_vars): Use it.
17696
c3e2f19b
UD
176972010-08-11 Ulrich Drepper <drepper@redhat.com>
17698
3cdaa6ad
UD
17699 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17700 field.
17701 (struct statfs64): Likewise.
17702 (_STATFS_F_FLAGS): Define.
17703 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17704 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17705 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17706 (ST_VALID): Define locally.
17707 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17708 __statvfs_getflags, use the provided value.
17709 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17710 __ASSUME_STATFS_F_FLAGS.
17711
754f7da3
UD
17712 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17713
10b3bedc
UD
17714 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17715 Add sys/fanotify.h.
17716 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17717 fanotify_mask for GLIBC_2.13.
17718 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17719 fanotify_init and fanotify_mark.
17720 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17721 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17722
c08fb0d7
UD
17723 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17724 Add prlimit.
17725 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17726 prlimit64 for GLIBC_2.13.
17727 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17728 prlimit64.
17729 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17730 syscall.
17731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17732 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17733 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17734 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17735 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17736 add prlimit alias.
17737 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17738
15bac72b
UD
17739 [BZ #11903]
17740 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17741 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17742
c3e2f19b
UD
17743 * nss/Makefile: Add rules to build and run tst-nss-test1.
17744 * shlib-versions: Add entry for libnss_test1.
17745 * nss/nss_test1.c: New file.
17746 * nss/tst-nss-test1.c: New file.
17747
17748 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17749 (__nss_configure_lookup): Set appropriate entry in
17750 __nss_configure_lookup to true.
17751 * nss/nsswitch.h: Define enum with indeces of databases in
17752 databases and __nss_database_custom arrays. Declare
17753 __nss_database_custom.
17754 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17755 to avoid using nscd when custom rules are installed.
17756 * nss/getXXbyYY_r.c: Likewise.
17757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17758
17759 * nss/nss_files/files-parse.c: Whitespace fixes.
17760
f15ce4d8
UD
177612010-08-09 Ulrich Drepper <drepper@redhat.com>
17762
17763 [BZ #11883]
17764 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17765 * posix/fnmatch_loop.c: Likewise.
17766
d22e4cc9
AK
177672010-07-17 Andi Kleen <ak@linux.intel.com>
17768
17769 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17770 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17771 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17772 * Versions.def [GLIBC_2.13]: Add.
17773
805bc17d
UD
177742010-08-06 Ulrich Drepper <drepper@redhat.com>
17775
17776 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17777 Also fail if tpwd after pwuid call is NULL.
17778
5a42321d
ST
177792010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17780
17781 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17782 when converting to ms.
17783
fd3ebeda
ST
177842010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17785
17786 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17787 EOPNOTSUPP errors with ENOTTY.
17788 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17789 EOPNOTSUPP errors with ENOTTY.
17790
73507d3a
UD
177912010-07-31 Ulrich Drepper <drepper@redhat.com>
17792
17793 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17794 Add strcasecmp_l-ssse3.
17795 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17796 strcasecmp.
17797 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17798 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17799 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17800
fe36dd02
UD
178012010-07-30 Ulrich Drepper <drepper@redhat.com>
17802
66f6765a
UD
17803 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17804
42e08a54
UD
17805 * string/Makefile (strop-tests): Add strcasecmp.
17806 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17807 strcasecmp_l-nonascii.
17808 (gen-as-const-headers): Add locale-defines.sym.
17809 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17810 * sysdeps/x86_64/strcasecmp.S: New file.
17811 * sysdeps/x86_64/strcasecmp_l.S: New file.
17812 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17813 * sysdeps/x86_64/locale-defines.sym: New file.
17814 * string/test-strcasecmp.c: New file.
17815
fe36dd02
UD
17816 * string/test-strcasestr.c: Test both ends of the range of characters.
17817 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17818
48cbc0d6
RM
178192010-07-29 Roland McGrath <roland@redhat.com>
17820
76e6d6bc 17821 [BZ #11856]
48cbc0d6
RM
17822 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17823
880113d9
UD
178242010-07-27 Ulrich Drepper <drepper@redhat.com>
17825
17826 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17827 for ld.so.
17828
deb9cabb
AS
178292010-07-27 Andreas Schwab <schwab@redhat.com>
17830
17831 * manual/memory.texi (Malloc Tunable Parameters): Document
17832 M_PERTURB.
17833
1c7570ff
RM
178342010-07-26 Roland McGrath <roland@redhat.com>
17835
17836 [BZ #11840]
17837 * configure.in (-fgnu89-inline check): Set and substitute
17838 gnu89_inline, not libc_cv_gnu89_inline.
17839 * configure: Regenerated.
17840 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17841
24fb0f88
UD
178422010-07-26 Ulrich Drepper <drepper@redhat.com>
17843
17844 * string/test-strnlen.c: New file.
17845 * string/Makefile (strop-tests): Add strnlen.
17846 * string/tester.c (test_strnlen): Add a few more test cases.
17847 * string/tst-strlen.c: Better error reporting.
17848
17849 * sysdeps/x86_64/strnlen.S: New file.
17850
8e96b93a
UD
178512010-07-24 Ulrich Drepper <drepper@redhat.com>
17852
17853 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17854 lower-latency instructions.
17855
dbc676d4
UD
178562010-07-23 Ulrich Drepper <drepper@redhat.com>
17857
17858 * string/test-strcasestr.c: New file.
17859 * string/test-strstr.c: New file.
17860 * string/Makefile (strop-tests): Add strstr and strcasestr.
17861 * string/str-two-way.h: Don't undefine MAX.
17862 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17863
f6a31e0e
AS
178642010-07-21 Andreas Schwab <schwab@redhat.com>
17865
17866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17867 strcasestr-nonascii.
17868 (CFLAGS-strcasestr-nonascii.c): Define.
17869 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17870 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17871 Remove unused attribute.
17872
5dbc3b6c
RM
178732010-07-20 Roland McGrath <roland@redhat.com>
17874
17875 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17876 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17877 ld.so.cache was broken. With it, there is no way to disable dsocaps
17878 like LD_HWCAP_MASK can disable hwcaps.
17879
23d101d8
EPM
178802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17881
17882 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17883
cc9f2e47
UD
178842010-07-16 Ulrich Drepper <drepper@redhat.com>
17885
17886 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17887 call in strcasestr.
17888 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17889 __strcasestr_sse42_nonascii.
17890 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17891 strcasestr-nonascii.c.
17892 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17893
77c1b069
LM
178942010-06-15 Luis Machado <luisgpm@br.ibm.com>
17895
17896 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17897 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17898 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17899 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17900
440566c3
UD
179012010-07-09 Ulrich Drepper <drepper@redhat.com>
17902
17903 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17904 fcntl.
17905
5be9d05d
AS
179062010-07-06 Andreas Schwab <schwab@redhat.com>
17907
c30b7ee2 17908 [BZ #11577]
5be9d05d
AS
17909 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17910 dl_signal_cerror.
17911
8a492a67
UD
179122010-07-06 Ulrich Drepper <drepper@redhat.com>
17913
17914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17915 _PC_PIPE_BUF using F_GETPIPE_SZ.
17916
713df3d5
RM
179172010-07-05 Roland McGrath <roland@redhat.com>
17918
17919 * manual/arith.texi (Rounding Functions): Fix rint description
17920 implicit in round description.
17921
702e8f14
UD
179222010-07-02 Ulrich Drepper <drepper@redhat.com>
17923
17924 * elf/Makefile: Fix linking for a few tests to make recent linker
17925 happy.
17926
52ed8be9
AS
179272010-06-30 Andreas Schwab <schwab@redhat.com>
17928
17929 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17930 $(common-objpfx)libc_nonshared.a.
17931
f47c9a11
LM
179322010-06-21 Luis Machado <luisgpm@br.ibm.com>
17933
17934 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17935 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17936 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17937 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17938 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17939 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17940 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17941 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17956 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17957 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17958 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17959 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17960 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17961 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17962 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17963 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17964 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17965 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17966 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17967 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17982
6fb8cbcb
L
179832010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17984
17985 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17986 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17987 * string/memmove.c (memmove): Renamed to ...
17988 (MEMMOVE): ...this. Default to memmove.
17989 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17990 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17991 (END_CHK): Define.
17992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17993 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17994 mempcpy-ssse3-back memmove-ssse3-back.
17995 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17996 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17998 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17999 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18000 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18001 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18002 * sysdeps/x86_64/multiarch/memmove.c: New file.
18003 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18004 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18005 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18006 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18007 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18008 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18009 Define.
18010 (index_Fast_Copy_Backward): Define.
18011 (HAS_ARCH_FEATURE): Define.
18012 (HAS_FAST_REP_STRING): Define.
18013 (HAS_FAST_COPY_BACKWARD): Define.
18014
4e733bac 180152010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18016
18017 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18018 Restore proper fallback handling.
18019
63c4ed22
UD
180202010-06-19 Ulrich Drepper <drepper@redhat.com>
18021
ac2b484c
UD
18022 [BZ #11701]
18023 * posix/group_member.c (__group_member): Correct checking loop.
18024
63c4ed22
UD
18025 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18026 OOM in getpwuid_r correctly. Return error number when the caller
18027 should return, otherwise -1.
18028 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18029 call returning > 0 value.
18030 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18031
765ade4b
AS
180322010-06-07 Andreas Schwab <schwab@redhat.com>
18033
18034 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18035 libc_nonshared.a from targets in modules-names.
18036
80da2e09
KS
180372010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18038
18039 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18040 requires it.
18041
158db122
LM
180422010-06-10 Luis Machado <luisgpm@br.ibm.com>
18043
18044 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18045 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18048
caa78cf8
AS
180492010-06-02 Andreas Schwab <schwab@redhat.com>
18050
18051 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18052
b2ef2c01
UD
180532010-06-14 Ulrich Drepper <drepper@redhat.com>
18054
18055 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18056 and F_GETPIPE_SZ.
18057 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18061 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18062 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18063
fbd643b6
RM
180642010-06-14 Roland McGrath <roland@redhat.com>
18065
18066 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18067
f32f2869
JJ
180682010-06-07 Jakub Jelinek <jakub@redhat.com>
18069
18070 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18071 __REDIRECT followed by __THROW.
18072 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18073 * posix/getopt.h (getopt): Likewise.
18074
2a50c078
EPM
180752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18076
18077 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18078 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18079 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18080 in AT_FLAGS.
18081 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18082 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18083
eb5ad2eb
LM
180842010-05-28 Luis Machado <luisgpm@br.ibm.com>
18085
18086 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18087
3c88fe1e
L
180882010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18089
18090 [BZ #11640]
18091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18092 Properly check family and model.
18093
d2f73151
TY
180942010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18095
18096 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18097
ebd2e13d
LM
180982010-05-24 Luis Machado <luisgpm@br.ibm.com>
18099
18100 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18101
b32b8b45
UD
181022010-05-21 Ulrich Drepper <drepper@redhat.com>
18103
18104 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18105 symbol reference.
18106
9acbe24d
AS
181072010-05-19 Andreas Schwab <schwab@redhat.com>
18108
18109 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18110 symbol reference.
18111
f0ccf6ea
AS
181122010-05-21 Andreas Schwab <schwab@redhat.com>
18113
3d04ff3a
AS
18114 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18115 and internal_recvmmsg.
18116 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18117 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18118 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18119 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18120
f0ccf6ea
AS
18121 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18122 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18123 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18124
5b08ac57
AS
181252010-05-20 Andreas Schwab <schwab@redhat.com>
18126
18127 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18128
4828935d
LM
181292010-05-17 Luis Machado <luisgpm@br.ibm.com>
18130
18131 POWER7 optimizations.
18132 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18133 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18134
373d545e
UD
181352010-05-19 Ulrich Drepper <drepper@redhat.com>
18136
18137 * version.h: Update for 2.13 development version.
18138
21a2b1ae
AS
181392010-05-12 Andrew Stubbs <ams@codesourcery.com>
18140
18141 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18142 exceptions. Return 0.
18143
3f7dcb2b
RM
181442010-05-07 Roland McGrath <roland@redhat.com>
18145
18146 * elf/ldconfig.c (main): Add a const.
18147
5f24d53a 181482010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18149
a160f8d8
UD
18150 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18151 (args_options): Add no-idn option.
18152 (ahosts_keys_int): Add idn_flags to ai_flags.
18153 (parse_option): Handle 'i' option to clear idn_flags.
18154
5f24d53a
UD
18155 * malloc/malloc.c (_int_free): Possible race in the most recently
18156 added check. Only act on the data if no current modification
18157 happened.
265bb1ce
UD
18158
18159See ChangeLog.17 for earlier changes.