]> sourceware.org Git - glibc.git/blame - ChangeLog
Make the bsd4.4/bits/dirent.h be the generic one.
[glibc.git] / ChangeLog
CommitLineData
d34689de
RM
12012-08-07 Roland McGrath <roland@hack.frob.com>
2
f0bd3e25
RM
3 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4 * bits/dirent.h: ... here.
5
d34689de
RM
6 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8
6dad2c06
JM
92012-08-07 Joseph Myers <joseph@codesourcery.com>
10
11 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12 Change from 2.6.0 to 2.6.16.
13 * sysdeps/unix/sysv/linux/configure: Regenerated.
14 * sysdeps/unix/sysv/linux/kernel-features.h
15 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17 version.
18 (__ASSUME_UTIMES): Likewise.
19 (__ASSUME_CLONE_STOPPED): Remove.
20 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21 architectures, not kernel version.
22 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25 (__ASSUME_WAITID_SYSCALL): Likewise.
26 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28 * README: State 2.6.16 as minimum Linux kernel version. Do not
29 refer to older versions.
30
03af9520
RM
312012-08-06 Roland McGrath <roland@hack.frob.com>
32
8e49df1d
RM
33 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34 Define alphasort64 as an alias.
35 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36 Define versionsort64 as an alias.
37 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38 Define scandir64 as an alias.
39 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40 Define scandirat64 as an alias.
41 * dirent/alphasort64.c (alphasort64):
42 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43 * dirent/versionsort64.c: Likewise.
44 * dirent/scandir64.c: Likewise.
45 * dirent/scandirat64.c: Likewise.
46 * sysdeps/wordsize-64/alphasort.c: File removed.
47 * sysdeps/wordsize-64/alphasort64.c: File removed.
48 * sysdeps/wordsize-64/scandir.c: File removed.
49 * sysdeps/wordsize-64/scandir64.c: File removed.
50 * sysdeps/wordsize-64/scandirat.c: File removed.
51 * sysdeps/wordsize-64/scandirat64.c: File removed.
52 * sysdeps/wordsize-64/versionsort.c: File removed.
53 * sysdeps/wordsize-64/versionsort64.c: File removed.
54 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
56 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62
63 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
64 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
66 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67 [defined __arch64__ || defined __sparcv9]
68 (__INO_T_MATCHES_INO64_T): New macro.
69 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72 * sysdeps/unix/sysv/linux/bits/dirent.h
73 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
74 (_DIRENT_MATCHES_DIRENT64): New macro.
75
03af9520
RM
76 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
77 Define lockf64 as an alias.
78 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
79 Define fseeko64 as an alias.
80 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
81 Define ftello64 as an alias.
82 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
83 Define _IO_fgetpos64 and fgetpos64 as aliases.
84 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
85 Define _IO_fsetpos64 and fsetpos64 as aliases.
86 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
87 Conditionalize body on this.
88 * libio/fseeko64.c: Likewise.
89 * libio/ftello64.c: Likewise.
90 * libio/iofgetpos64.c: Likewise.
91 * libio/iofsetpos64.c: Likewise.
92 * sysdeps/wordsize-64/lockf.c: File removed.
93 * sysdeps/wordsize-64/lockf64.c: File removed.
94 * sysdeps/wordsize-64/fseeko.c: File removed.
95 * sysdeps/wordsize-64/fseeko64.c: File removed.
96 * sysdeps/wordsize-64/ftello.c: File removed.
97 * sysdeps/wordsize-64/ftello64.c: File removed.
98 * sysdeps/wordsize-64/iofgetpos.c: File removed.
99 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
100 * sysdeps/wordsize-64/iofsetpos.c: File removed.
101 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
102 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
103 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
104 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
105 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
106 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
107 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
108 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
109 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
110 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
111 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
112
113 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
115 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
117 [defined __arch64__ || defined __sparcv9]
118 (__OFF_T_MATCHES_OFF64_T): New macro.
119 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
120 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
122 (__OFF_T_MATCHES_OFF64_T): New macro.
123
c5757acd
L
1242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
125
126 * stdlib/secure-getenv.c (__secure_getenv): Replace
127 GLIBC_2_16 with GLIBC_2_17.
128
3a31811e
L
1292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
130
131 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
132 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
133
faa2bccb
DM
1342012-08-03 David S. Miller <davem@davemloft.net>
135
136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
137
85fe1997
JM
1382012-08-03 Joseph Myers <joseph@codesourcery.com>
139
140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
141 Remove.
142 (__ASSUME_CORRECT_SI_PID): Likewise.
143 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
144 (__ASSUME_TMPFS_NAME): Likewise.
145 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
146 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
147 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
148 (HAVE_AUX_SECURE): Make definition unconditional.
149 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
150 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
151
4f75b7a0
RM
1522012-08-03 Roland McGrath <roland@hack.frob.com>
153
154 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
155 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
156 * sysdeps/mach/hurd/eloop-threshold.h: New file.
157 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
158 __eloop_threshold instead of SYMLOOP_MAX.
159
160 * sysdeps/generic/eloop-threshold.h: New file.
161 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
162 of MAXSYMLINKS.
163 * elf/chroot_canon.c (chroot_canon): Likewise.
164
7aab07e4
JM
1652012-08-03 Joseph Myers <joseph@codesourcery.com>
166
167 [BZ #13717]
168 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
169 Change to 2.6.0 everywhere.
170 * sysdeps/unix/sysv/linux/configure: Regenerated.
171 * sysdeps/unix/sysv/linux/kernel-features.h
172 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
173 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
174 kernel versions.
175 (__ASSUME_POSIX_TIMERS): Define unconditionally.
176 (__ASSUME_FUTEX_REQUEUE): Remove.
177 (__ASSUME_STATFS64): Define unconditionally.
178 (__ASSUME_AT_SECURE): Likewise.
179 (__ASSUME_CORRECT_SI_PID): Likewise.
180 (__ASSUME_TGKILL): Define without depending on kernel version for
181 i386.
182 (__ASSUME_UTIMES): Likewise.
183 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
184 kernel version.
185 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
186 (__ASSUME_TMPFS_NAME): Likewise.
187 * README: Update reference to Linux kernel versions.
188
b67e9372
MP
1892012-08-02 Marek Polacek <polacek@redhat.com>
190
191 [BZ#14150]
192 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
193 libc_cv_asm_type_prefix with %.
194 * configure: Regenerated.
d2441631
RM
195 * include/libc-symbols.h: Remove comment about
196 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
197 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
198 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
199 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
200 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
201 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
202 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
203 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
204 * elf/tst-unique2mod1.c: Likewise.
205 * elf/tst-unique1mod2.c: Likewise.
206 * elf/tst-unique1mod1.c: Likewise.
207 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
208 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
209 Replace ASM_TYPE_DIRECTIVE with .type.
210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
211 * sysdeps/i386/sysdep.h: Likewise.
212 * sysdeps/x86_64/sysdep.h: Likewise.
213 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
215 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 216 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
217 * sysdeps/powerpc/powerpc32/sysdep.h:
218 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
219 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
220 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
221 * sysdeps/i386/fpu/e_powf.S: Likewise.
222 * sysdeps/i386/fpu/e_expl.S: Likewise.
223 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
224 * sysdeps/i386/fpu/e_acosh.S: Likewise.
225 * sysdeps/i386/fpu/e_pow.S: Likewise.
226 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
227 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
228 * sysdeps/i386/fpu/s_expm1.S: Likewise.
229 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
230 * sysdeps/i386/fpu/e_log2.S: Likewise.
231 * sysdeps/i386/fpu/e_log2l.S: Likewise.
232 * sysdeps/i386/fpu/e_scalb.S: Likewise.
233 * sysdeps/i386/fpu/e_powl.S: Likewise.
234 * sysdeps/i386/fpu/e_log10f.S: Likewise.
235 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
236 * sysdeps/i386/fpu/e_logl.S: Likewise.
237 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
238 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
239 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
240 * sysdeps/i386/fpu/e_log2f.S: Likewise.
241 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
242 * sysdeps/i386/fpu/e_log.S: Likewise.
243 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
244 * sysdeps/i386/fpu/e_logf.S: Likewise.
245 * sysdeps/i386/fpu/e_log10l.S: Likewise.
246 * sysdeps/i386/fpu/e_atanh.S: Likewise.
247 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
248 * sysdeps/i386/fpu/e_log10.S: Likewise.
249 * sysdeps/i386/fpu/s_frexp.S: Likewise.
250 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
251 * sysdeps/i386/fpu/s_asinh.S: Likewise.
252 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
253 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
254 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
255 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
256 * sysdeps/i386/i686/strtok.S: Likewise.
257 * sysdeps/i386/i386-mcount.S: Likewise.
258 * sysdeps/i386/strtok.S: Likewise.
259 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
260 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
261 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
262 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
263 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
264 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
265 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
266 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
267 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
268 * sysdeps/x86_64/_mcount.S: Likewise.
269 * sysdeps/x86_64/strtok.S: Likewise.
270 * sysdeps/sh/_mcount.S: Likewise.
271
2747bf9a
RM
2722012-08-01 Roland McGrath <roland@hack.frob.com>
273
274 * libio/iofopen.c: Include <fcntl.h>.
275 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
276 (_IO_fopen64, fopen64): Define as aliases.
277 * libio/iofopen64.c: Include <fcntl.h>.
278 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
279 Conditionalize body on this.
280 * sysdeps/wordsize-64/iofopen.c: File removed.
281 * sysdeps/wordsize-64/iofopen64.c: File removed.
282
3fb791b8
MP
2832012-08-01 Marek Polacek <polacek@redhat.com>
284
285 * libc/Makeconfig: Use elf in place of binfmt-subdir.
286 Use dlfcn directly instead of a variable.
287 (binfmt-subdir): Do not define.
288 (dlfcn): Likewise.
289
a9f1039f
JM
2902012-08-01 Joseph Myers <joseph@codesourcery.com>
291
23bddc06
JM
292 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
293 Remove all definitions.
294 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
295 <kernel-features.h>.
296 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
297 (miss_F_GETOWN_EX): Remove all definitions.
298 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
299 macro definition.
300 [!__ASSUME_FCNTL64]: Remove conditional code.
301 [__ASSUME_FCNTL64]: Make code unconditional.
302 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
303 <kernel-features.h>.
304 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
305 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
306 (lockf64) [__NR_fcntl64]: Make code unconditional.
307 (lockf64) [__ASSUME_FCNTL64]: Likewise.
308
a9f1039f
JM
309 * sysdeps/unix/sysv/linux/kernel-features.h
310 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
311 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
312 Make code unconditional.
313 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
314 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
316 [__NR_vfork]: Make code unconditional.
317 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
318 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
320 [__NR_vfork]: Make code unconditional.
321 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
322 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
323
09c0ee5f
RM
3242012-08-01 Roland McGrath <roland@hack.frob.com>
325
48aec5b9
RM
326 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
327 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
328
cd97c966
RM
329 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
330 Define mkstemp64 as an alias.
3f55550c
RM
331 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
332 Define mkstemps64 as an alias.
cd97c966
RM
333 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
334 Define mkostemp64 as an alias.
b8625cfc
RM
335 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
336 Define mkostemps64 as an alias.
cd97c966
RM
337 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
338 Conditionalize body on this.
339 * misc/mkostemp64.c: Likewise.
b8625cfc 340 * misc/mkostemps64.c: Likewise.
3f55550c 341 * misc/mkstemps64.c: Likewise.
cd97c966
RM
342 * sysdeps/wordsize-64/mkstemp64.c: File removed.
343 * sysdeps/wordsize-64/mkostemp64.c: File removed.
344 * sysdeps/wordsize-64/mkostemp.c: File removed.
345 * sysdeps/wordsize-64/mkstemp.c: File removed.
346 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
347 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
348 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
349 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
350
09c0ee5f
RM
351 [BZ #14138]
352 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
353 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
354 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
355 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
356
357 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
358 compat_symbol macros from <shlib-compat.h> rather than the underlying
359 default_symbol_version and symbol_version macros, so that DEFAULT
360 lines in shlib-versions are respected.
361 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
362
7e66ee51
FW
3632012-08-01 Florian Weimer <fweimer@redhat.com>
364
365 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
366 Declare with warn_unused_result.
367 (setgid, setregid, setegid, setresgid): Likewise.
368 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
369 Likewise.
370 * WUR-REPORT: Remove set*id functions.
371
d2a54255
PT
3722012-07-31 Pino Toscano <toscano.pino@tiscali.it>
373
374 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
375
7ecdb005
RM
3762012-07-31 Roland McGrath <roland@hack.frob.com>
377
789bd351
RM
378 * include/sys/socket.h (__libc_accept, __libc_accept4):
379 Add attribute_hidden.
380 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
381
40ce302d
RM
382 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
383 use of PTR_MANGLE.
384 * inet/getnetgrent_r.c (setup): Likewise.
385
7ecdb005
RM
386 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
387
e2eabb2c
DM
3882012-07-31 David S. Miller <davem@davemloft.net>
389
390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
391
d0419dbf
JM
3922012-07-31 Joseph Myers <joseph@codesourcery.com>
393
394 [BZ #13629]
395 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
396 value between 1.0 and 2.0 and smaller part has absolute value less
397 than 1.0.
398 * math/s_clog10.c (__clog10): Likewise.
399 * math/s_clog10f.c (__clog10f): Likewise.
400 * math/s_clog10l.c (__clog10l): Likewise.
401 * math/s_clogf.c (__clogf): Likewise.
402 * math/s_clogl.c (__clogl): Likewise.
403 * math/libm-test.inc (clog_test): Add more tests.
404 (clog10_test): Likewise.
405 * sysdeps/i386/fpu/libm-test-ulps: Update.
406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
407
2bc13872
FW
4082012-07-31 Florian Weimer <fweimer@redhat.com>
409
410 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
411 Exit with zero in case no suitable GID is found, and write a
412 message to standard error.
413
bea9b193
RM
4142012-07-30 Roland McGrath <roland@hack.frob.com>
415
416 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
417 rather than to 1.
418 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
419 (MAXPATHLEN): Removed.
420 (NOGROUP, NODEV): New macros.
421 (setbit, clrbit, isset, isclr): New macros.
422 (howmany, roundup, powerof2): New macros.
423 (DEV_BSIZE): New macro.
424
425 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
426 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
427
428 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
429 definition on [!__NO_LONG_DOUBLE_MATH].
430
431 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
432 PTR_MANGLE and PTR_DEMANGLE.
433
434 * socket/accept4.c (accept4): Rename to __libc_accept4.
435 Define accept4 as a weak alias.
436
437 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
438 on [_DIRENT_HAVE_D_TYPE].
439 * io/ftw.c (ftw_dir): Likewise.
440
441 * io/xmknod.c (__xmknod): Don't check PATH for being null.
442
443 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
444
445 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
446 Use the BSD numbers rather than the arbitrary ones we had.
447 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
448 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
449 (SIGXCPU, SIGXFSZ): New macros.
450 (_NSIG): Now 32.
451
452 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
453 initializer on [_LIBC_REENTRANT].
454
455 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
456 definitions inside [_POSIX_MAPPED_FILES].
457
458 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
459
460 * dirent/opendir.c: Include <fcntl.h>.
461
462 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
463 (__libc_getspecific): Likewise.
464 (__libc_key_create): Likewise.
465
466 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
467 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
468 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
469 (tmpfile64): Define as alias.
470 * sysdeps/wordsize-64/tmpfile.c: File removed.
471 * sysdeps/wordsize-64/tmpfile64.c: File removed.
472 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
473 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
474
475 * stdio-common/vfscanf.c: Include <stdbool.h>.
476 * nss/makedb.c: Likewise.
477 * stdio-common/_i18n_number.h: Likewise.
478 * argp/argp-help.c: Likewise.
479 * posix/wordexp.c: Likewise.
480 * sysdeps/posix/spawni.c: Likewise.
481 * nss/nss_files/files-initgroups.c: Likewise.
482 * stdio-common/reg-modifier.c: Include <stdlib.h>.
483 * nss/nss_files/files-initgroups.c: Likewise.
484 * nss/nss_db/db-netgrp.c: Likewise.
485 * nss/nss_db/db-initgroups.c: Likewise.
486 * io/fchmodat.c: Include <sys/stat.h>.
487
488 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
489 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
490
491 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
492 [HAVE_MMAP].
493
494 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
495 Add multiple inclusion protection.
496
e5abc686
DM
4972012-07-27 David S. Miller <davem@davemloft.net>
498
499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
500
815e6fa3
GB
5012012-07-27 Gary Benson <gbenson@redhat.com>
502
503 [BZ #14298]
504 * elf/rtld.c: Include <stap-probe.h>.
505 (dl_main): Added static probes "init_start" and "init_complete".
506 * elf/dl-load.c: Include <stap-probe.h>.
507 (lose): Take new parameter "nsid".
508 Added static probe "map_failed".
509 (_dl_map_object_from_fd): Pass namespace id to lose.
510 Added static probe "map_start".
511 (open_verify): Pass namespace id to lose.
512 * elf/dl-open.c: Include <stap-probe.h>.
513 (dl_open_worker) Added static probes "map_complete", "reloc_start"
514 and "reloc_complete".
515 * elf/dl-close.c: Include <stap-probe.h>.
516 (_dl_close_worker): Added static probes "unmap_start" and
517 "unmap_complete".
518 * elf/rtld-debugger-interface.txt: New file documenting the above.
519
9f98c16c
RM
5202012-07-26 Roland McGrath <roland@hack.frob.com>
521
522 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
523 rather than a string variable.
524 * sunrpc/rpc_main.c (h_output): Likewise.
525 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
526
f3c22df3
PT
5272012-07-26 Pino Toscano <toscano.pino@tiscali.it>
528
529 * inet/check_native.c: New file.
530
3129cfc6
JM
5312012-07-26 Joseph Myers <joseph@codesourcery.com>
532
da865e95
JM
533 [BZ #13629]
534 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
535 if larger part has absolute value 1.0.
536 * math/s_clog10.c (__clog10): Likewise.
537 * math/s_clog10f.c (__clog10f): Likewise.
538 * math/s_clog10l.c (__clog10l): Likewise.
539 * math/s_clogf.c (__clogf): Likewise.
540 * math/s_clogl.c (__clogl): Likewise.
541 * math/libm-test.inc (clog_test): Add more tests.
542 (clog10_test): Likewise.
543 * sysdeps/i386/fpu/libm-test-ulps: Update.
544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
545
3129cfc6
JM
546 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
547 (pltexit): Likewise.
548 (La_regs): Likewise.
549 (La_retval): Likewise.
550 (int_retval): Likewise.
551 Update #error for removed macros to refer only to definitions in
552 tst-audit.h.
553 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
554 macro.
555 (pltexit): Likewise.
556 (La_regs): Likewise.
557 (La_retval): Likewise.
558 (int_retval): Likewise.
559 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
560 macro.
561 (pltexit): Likewise.
562 (La_regs): Likewise.
563 (La_retval): Likewise.
564 (int_retval): Likewise.
565 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
566 macro.
567 (pltexit): Likewise.
568 (La_regs): Likewise.
569 (La_retval): Likewise.
570 (int_retval): Likewise.
571 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
572 macro.
573 (pltexit): Likewise.
574 (La_regs): Likewise.
575 (La_retval): Likewise.
576 (int_retval): Likewise.
577 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
578 macro.
579 (pltexit): Likewise.
580 (La_regs): Likewise.
581 (La_retval): Likewise.
582 (int_retval): Likewise.
583 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
584 macro.
585 (pltexit): Likewise.
586 (La_regs): Likewise.
587 (La_retval): Likewise.
588 (int_retval): Likewise.
589 * sysdeps/generic/tst-audit.h: Update comment to refer only to
590 macro definitions in tst-audit.h.
591 * sysdeps/i386/tst-audit.h: New file.
592 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
593 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
594 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
595 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
596 * sysdeps/sh/tst-audit.h: Likewise.
597 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
598 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
599 * sysdeps/x86_64/tst-audit.h: Likewise.
600
bfc07087
AJ
6012012-07-26 Andreas Jaeger <aj@suse.de>
602
b1b2aaf8
AJ
603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
604 ptrace.
605
606 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
607 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
608 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
609 PTRACE_O_MASK.
610 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
611 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
612 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
613
bfc07087
AJ
614 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
615 value.
616
617 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
618 _sigsys.
619 (si_call_addr, si_syscall, si_arch): Define new macro.
620 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
621 _sigsys.
622 (si_call_addr, si_syscall, si_arch): Define new marcro.
623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
624 _sigsys.
625 (si_call_addr, si_syscall, si_arch): Define new macro.
626 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
627 _sigsys.
628 (si_call_addr, si_syscall, si_arch): Define new macro.
629
89b4b02f
JM
6302012-07-25 Joseph Myers <joseph@codesourcery.com>
631
632 [BZ #13717]
633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
634 Change to 2.4.21 where previously 2.4.1.
635 * sysdeps/unix/sysv/linux/configure: Regenerated.
636 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
637 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
638 Linux kernel version.
639 (__ASSUME_STD_AUXV): Remove.
640 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
641 kernel version.
642 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
643 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
644 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
645 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
646 (__ASSUME_NETLINK_SUPPORT): Likewise.
647 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
648 (__no_netlink_support): Remove conditional definition.
649 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
650 Remove.
651 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
652 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
653 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
654 (if_nameindex_ioctl): Remove.
655 (if_nameindex_netlink): Do not handle __no_netlink_support.
656 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
657 code.
658 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
659 Remove conditional code.
660 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
661 code.
662 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
663 unconditional.
664 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
665 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
666 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
667 Remove.
668 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
669 [!__ASSUME_STD_AUXV]: Remove conditional code.
670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
671 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
672 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
674 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
675 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
676 code.
677 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
679 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
680 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
681 conditional code.
682 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
684 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
685 code.
686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
687 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
688 conditional code.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
690 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
691 code unconditional.
692 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
693 conditional code.
694 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
695 unconditional.
696 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
697 conditional code.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
699 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
700 unconditional.
701 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
702 conditional code.
703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
704 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
705 code unconditional.
706 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
707 conditional code.
708 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
709 unconditional.
710 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
711 conditional code.
712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
713 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
714 code unconditional.
715 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
716 conditional code.
717 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
718 unconditional.
719 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
720 conditional code.
721
842a39cd
AS
7222012-07-25 Andreas Schwab <schwab@linux-m68k.org>
723
724 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
725 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
726 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
727 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
728 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
729 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
730 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
731 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
732 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
733 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
734 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
735 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
736 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
737 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
738 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
739 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
740 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
741 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
742 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
744 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
745 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
746 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
747
84b3fd84
FW
7482012-07-25 Florian Weimer <fweimer@redhat.com>
749
750 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
751 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
752 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
753 Introduce __libc_secure_getenv.
0c7936d5
FW
754 * stdlib/Versions (2.17): Add secure_getenv
755 (GLIBC_PRIVATE): Add __libc_secure_getenv.
756 * stdlib/secure-getenv.c: Rename __secure_getenv to
757 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
758 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
759 * stdlib/tst-secure-getenv.c: New.
760 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
761 * manual/startup.texi (Environment Access): Document
762 secure_getenv.
84b3fd84
FW
763 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
764 __libc_secure_getenv.
765 * inet/ruserpass.c (ruserpass): Likewise.
766 * malloc/mtrace.c (mtrace): Likewise.
767 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 768 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
769 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
770 * sysdeps/posix/tempname.c: Likewise. Evaluate
771 HAVE_SECURE_GETENV.
772 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 773 __secure_getenv to __libc_secure_getenv.
84b3fd84 774 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
776 Likewise.
777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
778 Likewise.
779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 786
56e49b71
JM
7872012-07-25 Joseph Myers <joseph@codesourcery.com>
788
789 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
790 (struct La_i86_retval): Likewise.
791 (struct La_x86_64_regs): Likewise.
792 (struct La_x86_64_retval): Likewise.
793 (struct La_x32_regs): Likewise.
794 (struct La_x32_retval): Likewise.
795 (struct La_ppc32_regs): Likewise.
796 (struct La_ppc32_retval): Likewise.
797 (struct La_ppc64_regs): Likewise.
798 (struct La_ppc64_retval): Likewise.
799 (struct La_sh_regs): Likewise.
800 (struct La_sh_retval): Likewise.
801 (struct La_s390_32_regs): Likewise.
802 (struct La_s390_32_retval): Likewise.
803 (struct La_s390_64_regs): Likewise.
804 (struct La_s390_64_retval): Likewise.
805 (struct La_sparc32_regs): Likewise.
806 (struct La_sparc32_retval): Likewise.
807 (struct La_sparc64_regs): Likewise.
808 (struct La_sparc64_retval): Likewise.
809 (struct audit_ifaces): Remove architecture-specific pltenter and
810 pltexit members.
811 * sysdeps/i386/ldsodefs.h: New file.
812 * sysdeps/powerpc/ldsodefs.h: Likewise.
813 * sysdeps/s390/ldsodefs.h: Likewise.
814 * sysdeps/sh/ldsodefs.h: Likewise.
815 * sysdeps/sparc/ldsodefs.h: Likewise.
816 * sysdeps/x86_64/ldsodefs.h: Likewise.
817
354691b7
MP
8182012-07-25 Marek Polacek <polacek@redhat.com>
819
820 [BZ #6808]
821 * math/libm-test.inc (yn_test): Add another test.
822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
823 to ERANGE when the result is +-Inf.
824 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
825 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
826 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
827 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
828
bf9e2071
JM
8292012-07-24 Joseph Myers <joseph@codesourcery.com>
830
831 * conform/data/time.h-data (NULL): Use macro-constant. Require
832 equal to 0.
833 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
834 clock_t.
835 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
836
57633811
TS
8372012-07-23 Thomas Schwinge <thomas@codesourcery.com>
838
839 * configure.in <sysdeps resolving>: Correct printing
840 Implies_before.
841 * configure: Regenerate.
842
c23c33b0
TS
8432012-07-22 Thomas Schwinge <thomas@codesourcery.com>
844
845 * math/w_ilogb.c: Include <limits.h>.
846 * math/w_ilogbl.c: Likewise.
847
b5982523
JM
8482012-07-20 Joseph Myers <joseph@codesourcery.com>
849
850 * manual/lang.texi (__va_copy): Document primarily as ISO C99
851 va_copy. Document allowing for unavailable va_copy only as
852 pre-C99 compatibility.
853 * manual/string.texi (Copying and Concatenation): Use va_copy
854 instead of __va_copy in concat example.
855
ac4ea442
PT
8562012-07-20 Pino Toscano <toscano.pino@tiscali.it>
857
858 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
859 (__sendto): Use create_address_port. Initialize APORT and deallocate
860 it if not null.
861
f98eafbd
PT
862 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
863 with O_NOLINK passed to __file_name_lookup.
864
898c7aab
PT
865 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
866 with O_NOLINK passed to __file_name_lookup.
867
0ced335a
PT
868 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
869 negative N or less than NGIDS.
870
b3404dbd
PT
871 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
872 type to string_t. Set ERANGE as errno and return it if NAME is not big
873 enough. Use memcpy instead of strncpy.
874
0f48659e
JM
8752012-07-20 Joseph Myers <joseph@codesourcery.com>
876
877 * elf/Makefile (check-data): Remove.
878 (localplt.data): New vpath directive.
879 ($(objpfx)check-localplt.out): Use localplt.data from vpath
880 instead of $(check-data).
881 * scripts/data/localplt-generic.data: Move to ...
882 * sysdeps/generic/localplt.data: ... here.
883 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
884 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
885 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
887 ... here.
888 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
890 ... here.
891 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
893 ... here.
894 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
896 ... here.
897 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
899 ... here.
900 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
902 ... here.
903
d37cbdaa
AZ
9042012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
905
906 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
907 PPC32 and PPC64 files.
908 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
909 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
910
46f85fc2
AK
9112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
912
913 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
914 __makecontext_ret to ...
915 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
916 ... here and call exit if uc_link is NULL. New file.
917 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
918 __makecontext_ret.S.
919 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
920 __makecontext_ret to ...
921 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
922 ... here and call exit if uc_link is NULL. New file.
923 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
924 __makecontext_ret.S.
925
08f43f9b
AK
9262012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
927
928 * elf/elf.h (R_390_IRELATIVE): New definition.
929 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
930 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
931 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
932 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
933 (elf_machine_lazy_rel): Likewise.
934 * sysdeps/s390/dl-irel.h: New file.
935 * sysdeps/s390/s390-64/memcpy.S: New asm code.
936 * sysdeps/s390/s390-64/memset.S: New asm code.
937 * sysdeps/s390/s390-64/memcmp.S: New asm code.
938 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
939 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
940 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
941 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
942 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
943 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
944 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
945 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
946 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
947 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
948 * sysdeps/s390/s390-32/memcpy.S: New asm code.
949 * sysdeps/s390/s390-32/memset.S: New asm code.
950 * sysdeps/s390/s390-32/memcmp.S: New asm code.
951
3b05db33
MP
9522012-07-17 Marek Polacek <polacek@redhat.com>
953
954 [BZ #14349]
955 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
956 * sysdeps/s390/s390-64/configure.in: Likewise.
957 * sysdeps/sparc/configure.in: Likewise.
958 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
959 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
960 * sysdeps/i386/configure.in: Likewise.
961 * sysdeps/x86_64/configure.in: Likewise.
962 * sysdeps/sh/configure.in: Likewise.
963 * sysdeps/s390/s390-32/configure: Regenerated.
964 * sysdeps/s390/s390-64/configure: Likewise.
965 * sysdeps/x86_64/configure: Likewise.
966 * sysdeps/sh/configure: Likewise.
967 * sysdeps/powerpc/powerpc64/configure: Likewise.
968 * sysdeps/powerpc/powerpc32/configure: Likewise.
969 * sysdeps/sparc/configure: Likwise.
970 * sysdeps/i386/configure: Likewise.
971
a66877c6
MP
972 * elf/dl-open.c: Comment fixes.
973
cfc82fd8
JM
9742012-07-17 Joseph Myers <joseph@codesourcery.com>
975
bd29910a
JM
976 * Makefile [CXX] (check-data): Remove.
977 [CXX] (c++-types.data): New vpath directive.
978 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
979 vpath. Do not allow for C++ type data being missing.
980 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
981 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
982 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
983 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
984 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
985 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
986 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
988 ... here.
989 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
991 ... here.
992 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
994 ... here.
995 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
997 ... here.
998 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1000 ... here.
1001 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1003 ... here.
1004 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1006 ... here.
1007 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1009
cfc82fd8
JM
1010 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1011 definitions to architecture-specific files.
1012 (TLS_IE): Likewise.
1013 (TLS_LD): Likewise.
1014 (TLS_GD): Likewise.
1015 * sysdeps/i386/tls-macros.h: New file.
1016 * sysdeps/powerpc/tls-macros.h: Likewise.
1017 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1018 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1019 * sysdeps/sh/tls-macros.h: Likewise.
1020 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1021 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1022 * sysdeps/x86_64/tls-macros.h: Likewise.
1023
f7db3170
TS
10242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1025
07cbfc23
TS
1026 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1027 zero value for regular exit case.
1028
f7db3170
TS
1029 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1030 (__start_context): Preserve zero value for regular exit case.
1031
dc97c227
TS
10322012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1033 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1034
1035 * manual/setjmp.texi (setcontext): Clarify normal process
1036 termination when uc_link is the null pointer.
1037 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1038 exit call.
1039
d0cd7d02
AS
10402012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1041
1042 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1043 preprocessor. Test for each exception mask separately.
1044
dd318934
AJ
10452012-07-16 Andreas Jaeger <aj@suse.de>
1046
1047 * po/ru.po: Update from translation team.
1048
8048311a
JM
10492012-07-15 Joseph Myers <joseph@codesourcery.com>
1050
1051 * conform/data/string.h-data (NULL): Use macro-constant. Require
1052 equal to 0.
1053 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1054 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1055 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1056 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1058
b637d46e
AJ
10592012-07-13 Andreas Jaeger <aj@suse.de>
1060
1061 * po/fr.po: Update from translation team.
1062
541428fe
MP
10632012-07-12 Marek Polacek <polacek@redhat.com>
1064
1065 [BZ #14173]
1066 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1067 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1068 loop condition.
1069
ec332e94
JM
10702012-07-12 Joseph Myers <joseph@codesourcery.com>
1071
1072 [BZ #13717]
1073 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1074 Change to 2.4.1 where previously 2.4.0.
1075 * sysdeps/unix/sysv/linux/configure: Regenerated.
1076 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1077 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1078 version.
1079 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1080 (__ASSUME_AT_CLKTCK): Remove.
1081 (__ASSUME_AT_PAGESIZE): Likewise.
1082 (__ASSUME_AT_XID): Likewise.
1083 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1084 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1085 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1086 unconditionally.
1087 (HAVE_AUX_PAGESIZE): Likewise.
1088 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1089 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1090 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1091
7b6e99be
JB
10922012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1093
1094 [BZ #14307]
1095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1096 the temporary buffer used to invoke __gethostbyname2_r,
1097 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1098 host_data / struct gaih_addrtuple.
1099 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1100 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1101 header file nss/nsswitch.h.
1102 * nss/nsswitch.h (global scope): Add definition of implementation
1103 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1104 resolv/nss_dns/dns-host.c).
1105
608404eb
AJ
11062012-07-11 Andreas Jaeger <aj@suse.de>
1107
1108 * po/fr.po: Update from translation team.
1109
71220aca
AJ
1110 * po/sv.po: Update from translation team
1111 * po/fr.po: Another update from translation team.
1112
28cfe843
AZ
11132012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1114
1115 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1116 for subnormals or multiply small sinh result by itself.
1117 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1119
6b90f981
DM
11202012-07-11 David S. Miller <davem@davemloft.net>
1121
1122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1123
c6825772
AS
11242012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1125
1126 [BZ #14347]
1127 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1128 (INTERNAL_MARK): Shift it here.
1129
7b8e0d49
MP
11302012-07-10 Marek Polacek <polacek@redhat.com>
1131
1132 [BZ #14151]
1133 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1134 libc_cv_asm_global_directive with .globl.
1135 * configure: Regenerated.
1136 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1137 with .globl.
1138 * sysdeps/i386/configure: Regenerated.
1139 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1140 with .globl.
1141 * sysdeps/x86_64/configure: Regenerated.
1142 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1143 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1144 * elf/tst-unique2mod2.c: Likewise.
1145 * elf/tst-unique2mod1.c: Likewise.
1146 * elf/tst-unique1mod2.c: Likewise.
1147 * elf/tst-unique1mod1.c: Likewise.
1148 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1149 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1150 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1151 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1152 * sysdeps/mach/sysdep.h: Likewise.
1153 * sysdeps/i386/sysdep.h: Likewise.
1154 * sysdeps/i386/i386-mcount.S: Likewise.
1155 * sysdeps/x86_64/_mcount.S: Likewise.
1156 * sysdeps/x86_64/sysdep.h: Likewise.
1157 * sysdeps/sh/_mcount.S: Likewise.
1158 * sysdeps/sh/sysdep.h: Likewise.
1159 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1160 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1161 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1162 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1163 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1164 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1165 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1166 * locale/localeinfo.h: Likewise.
1167 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1168 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1169
6c55cda3
RM
11702012-07-09 Roland McGrath <roland@hack.frob.com>
1171
1172 [BZ #14336]
1173 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1174 system".
1175 * manual/message.texi (The Uniforum approach): Likewise.
1176 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1177 (glibc iconv Implementation): Likewise.
1178
638a572e
JM
11792012-07-09 Joseph Myers <joseph@codesourcery.com>
1180
1181 [BZ #14337]
1182 * math/s_clog.c (__clog): Avoid scaling a value down where that
1183 could result in underflow.
1184 * math/s_clog10.c (__clog10): Likewise.
1185 * math/s_clog10f.c (__clog10f): Likewise.
1186 * math/s_clog10l.c (__clog10l): Likewise.
1187 * math/s_clogf.c (__clogf): Likewise.
1188 * math/s_clogl.c (__clogl): Likewise.
1189 * math/libm-test.inc (clog_test): Add more tests.
1190 (clog10_test): Likewise.
1191 * sysdeps/i386/fpu/libm-test-ulps: Update.
1192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1193
261f4859
AS
11942012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1195
0abaf3e4
AS
1196 [BZ #14283]
1197 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1198 by 7 not 8 to examine high bit of fractional part.
1199
261f4859
AS
1200 [BZ #14042]
1201 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1202 for call to __mcount_internal.
1203 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1204 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1205 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1206
f17ac40d
JM
12072012-07-06 Joseph Myers <joseph@codesourcery.com>
1208
9ad63c23
JM
1209 [BZ #14154]
1210 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1211 approximation for values within 0x1p-13f of an odd multiple of
1212 pi/4.
1213 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1214 exception. Add more tests.
1215 * sysdeps/i386/fpu/libm-test-ulps: Update.
1216
f17ac40d
JM
1217 [BZ #6778]
1218 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1219 inputs and return -1 for them. Do not check for +Inf in case not
1220 reachable for +Inf.
1221 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1222 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1223 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1224 and return -1 for them. Do not check for +Inf in case not
1225 reachable for +Inf.
1226 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1227 define.
1228 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1229 and return -1 for them. Do not check for +Inf in case not
1230 reachable for +Inf.
1231 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1232 spurious underflow.
1233 * sysdeps/i386/fpu/libm-test-ulps: Update.
1234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1235
fb21f89b
MF
12362012-07-06 Mike Frysinger <vapier@gentoo.org>
1237
1238 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1239
cdfe2c5e
JM
12402012-07-05 Joseph Myers <joseph@codesourcery.com>
1241
1242 [BZ #14157]
1243 [BZ #14331]
1244 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1245 could result in spurious underflow. Scale down values above
1246 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1247 * math/s_csqrtf.c (__csqrtf): Likewise.
1248 * math/s_csqrtl.c (__csqrtl): Likewise.
1249 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1250 spurious underflow.
1251 * sysdeps/i386/fpu/libm-test-ulps: Update.
1252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1253
70d35b67
AS
12542012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1255
704bc459
AS
1256 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1257 xopen-msg.sed.
1258 * catgets/xopen-msg.awk: New file.
1259 * catgets/xopen-msg.sed: Removed.
1260
70d35b67
AS
1261 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1262 po2text.sed.
1263 * intl/po2test.awk: New file.
1264 * intl/po2test.sed: Removed.
1265
ca61cf32
JM
12662012-07-04 Joseph Myers <joseph@codesourcery.com>
1267
1268 [BZ #14328]
1269 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1270 or multiply small sinh result by itself.
1271 * math/s_ctanf.c (__ctanf): Likewise.
1272 * math/s_ctanh.c (__ctanh): Likewise.
1273 * math/s_ctanhf.c (__ctanhf): Likewise.
1274 * math/s_ctanhl.c (__ctanhl): Likewise.
1275 * math/s_ctanl.c (__ctanl): Likewise.
1276 * math/libm-test.inc (ctan_test_tonearest): New function.
1277 (ctan_test_towardzero): Likewise.
1278 (ctan_test_downward): Likewise.
1279 (ctan_test_upward): Likewise.
1280 (ctanh_test_tonearest): Likewise.
1281 (ctanh_test_towardzero): Likewise.
1282 (ctanh_test_downward): Likewise.
1283 (ctanh_test_upward): Likewise.
1284 (main): Call these new functions.
1285 * sysdeps/i386/fpu/libm-test-ulps: Update.
1286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1287
ca48a46a
MF
12882012-07-03 Mike Frysinger <vapier@gentoo.org>
1289
1290 * .gitignore: Delete /ports entry.
1291
9d63d37d
AJ
12922012-07-03 Andreas Jaeger <aj@suse.de>
1293
1294 * po/bg.po: Update from translation team.
1295 * po/cs.po: Likewise.
1296 * po/de.po: Likewise.
1297 * po/hr.po: Likewise.
1298 * po/nl.pl: Likewise.
1299 * po/pl.po: Likewise.
1300 * po/vi.po: Likewise.
1301
370ca3d2
JM
13022012-07-03 Joseph Myers <joseph@codesourcery.com>
1303
95f5a9a8
JM
1304 * Makeconfig [!+link] (+link-before-libc): New variable.
1305 [!+link] (+link-after-libc): Likewise.
1306 [!+link] (+link-tests): Likewise.
1307 [!+link] (+link): Define in terms of $(+link-before-libc) and
1308 $(+link-after-libc).
1309 [!+link-static] (+link-static-before-libc): New variable.
1310 [!+link-static] (+link-static-after-libc): Likewise.
1311 [!+link-static] (+link-static-tests): Likewise.
1312 [!+link-static] (+link-static): Define in terms of
1313 $(+link-static-before-libc) and $(+link-static-after-libc).
1314 [build-shared] (link-libc-before-gnulib): New variable.
1315 [build-shared] (link-libc-tests): Likewise.
1316 [build-shared] (link-libc): Define in terms of
1317 $(link-libc-before-gnulib).
1318 [!build-shared] (link-libc-tests): New variable.
1319 (link-libc-static-tests): New variable.
1320 [!gnulib] (gnulib-arch): New variable.
1321 [!gnulib] (gnulib-tests): Likewise.
1322 [!gnulib] (static-gnulib-arch): Likewise.
1323 [!gnulib] (static-gnulib-tests): Likewise.
1324 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1325 Define with "=" instead of ":=".
1326 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1327 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1328 * Rules (binaries-all-notests): New variable.
1329 (binaries-all-tests): Likewise.
1330 (binaries-static-notests): Likewise.
1331 (binaries-static-tests): Likewise.
1332 (binaries-all): Define using $(binaries-all-notests) and
1333 $(binaries-all-tests).
1334 (binaries-static): Define using $(binaries-static-notests) and
1335 $(binaries-static-tests).
1336 (binaries-shared-tests): New variable.
1337 (binaries-shared-notests): Likewise.
1338 (binaries-shared): Remove variable.
1339 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1340 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1341 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1342 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1343 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1344 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1345 * elf/Makefile (sln-modules): New variable.
1346 (extra-objs): Add $(sln-modules:=.o).
1347 (ldconfig-modules): Add static-stubs.
1348 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1349 * elf/static-stubs.c: New file.
1350
7a845b2c
JM
1351 [BZ #14283]
1352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1353 by 7 not 8 to examine high bit of fractional part. Use volatile
1354 variables when splitting into final array of floats if
1355 __FLT_EVAL_METHOD__ != 0.
1356 * math/libm-test.inc (cos_test): Add another test.
1357 (sin_test): Likewise.
1358 * sysdeps/i386/fpu/libm-test-ulps: Update.
1359
e2283f38
JM
1360 [BZ #14273]
1361 * math/libm-test.inc (cosh_test): Add more tests.
1362
370ca3d2
JM
1363 * version.h (RELEASE): Set to "development".
1364 (VERSION): Set to "2.16.90".
1365
ee9247c3
CD
13662012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1367
1368 * NEWS: Update copyright. Remove last-updated date.
1369 Mention math library bug fixes and timezone data changes.
1370 * README: Mention GNU/Hurd, x32, and HPPA support status.
1371
4648c381
TS
13722012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1373
1374 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1375
aac78a43
AJ
13762012-06-27 Andreas Jaeger <aj@suse.de>
1377
1378 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1379
ed3dbfad
AJ
13802012-06-25 Andreas Jaeger <aj@suse.de>
1381
1382 * sysdeps/s390/fpu/libm-test-ulps: Update.
1383
4d0ee855
AS
13842012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1385 Thomas Schwinge <thomas@codesourcery.com>
1386
1387 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1388 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1389 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1390 fanotify_mark.
1391
af1bce34
TS
13922012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1393
a9fa33ba
TS
1394 * sysdeps/mach/start.c: Remove file.
1395 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1396 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1397 * sysdeps/sh/init-first.c: Likewise.
1398
58f902b8
TS
1399 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1400 registers for frame unwinding purposes, add CFI directives.
1401 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1402 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1403 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1404 Likewise.
1405
1518f58b
TS
1406 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1407 __fortify_fail returning.
1408 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1409
db9b5059
TS
1410 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1411 sysdeps/sh/____longjmp_chk.S.
1412 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1413 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1414 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1415 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1416
967705fe
TS
1417 * sysdeps/sh/abort-instr.h: New file.
1418 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1419 process in case exit returns.
1420
a9def8c4
TS
1421 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1422 initialize the GOT register before use.
1423
2a649725
TS
1424 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1425 calculation of ARGC > 4.
1426
af1bce34
TS
1427 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1428 meaningful names to some local labels.
1429
d230f50a
KK
14302012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1431 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1432
1433 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1434 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1435 (__arch_compare_and_exchange_val_16_acq): Likewise.
1436 (__arch_compare_and_exchange_val_32_acq): Likewise.
1437 (atomic_exchange_and_add): Fix gUSA sequence.
1438 (atomic_add): Likewise.
1439 (atomic_add_negative): Likewise.
1440 (atomic_add_zero): Likewise.
1441 (atomic_bit_test_set): Likewise.
1442
0479b305
AS
14432012-06-22 Andreas Schwab <schwab@redhat.com>
1444
1445 [BZ #13579]
1446 * include/link.h (struct link_map): Add l_free_initfini.
1447 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1448 l_initfini.
1449 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1450 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1451 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1452 set.
1453
0e3933b9
CD
14542012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1455
1456 * configure.in: Use AC_LANG_SOURCE.
1457 * configure: Regenerate.
1458
4248b1b1
RM
14592012-06-22 Roland McGrath <roland@hack.frob.com>
1460
1461 * configure.in (libc_cv_localstatedir): New substituted variable.
1462 * configure: Regenerated.
1463 * config.make.in (localstatedir): New variable, substituted from
1464 libc_cv_localstatedir.
1465 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1466 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1467 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1468 * sysdeps/gnu/configure: Regenerated.
1469
006dd861
JL
14702012-06-21 Jeff Law <law@redhat.com>
1471
1472 [BZ #14277]
1473 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1474 free. Simplify list management for _LIBC case.
1475
79662d42
JM
14762012-06-21 Joseph Myers <joseph@codesourcery.com>
1477
b7abb4bf
JM
1478 [BZ #14273]
1479 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1480 Clear sign bit of 64-bit integer value before comparing against
1481 overflow value.
1482
79662d42
JM
1483 * sysdeps/mach/configure: Regenerated.
1484
1f150908
L
14852012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1486
1487 [BZ #14278]
1488 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1489
28363bbf
JL
14902012-06-21 Jeff Law <law@redhat.com>
1491
1492 [BZ #13882]
1493 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1494 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1495 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1496 * elf/dl-open.c (dl_open_worker): Likewise.
1497
09615db4
CD
14982012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1499
1500 * scripts/list-sources.sh: Scan PORTS for translations.
1501 * po/libc.pot: Regenerated.
1502
2174c6dd
AJ
15032012-06-21 Andreas Jaeger <aj@suse.de>
1504
1505 [BZ #12194]
1506 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1507 warning.
1508 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1509 * bits/byteswap-16.h (__bswap_16): Likewise.
1510 * bits/byteswap.h (__bswap_constant_16): Likewise.
1511
3ee947b1
L
15122012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1513
1514 [BZ #14117]
a2f34833
L
1515 * sysdeps/i386/fpu_control.h: Removed.
1516 * sysdeps/x86_64/fpu_control.h: Moved to ...
1517 * sysdeps/x86/fpu_control.h: Here.
1518
3ee947b1
L
1519 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1520 (_FPU_SETCW): Likewise.
1521
ed1825f8
L
15222012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1523
25f1282a
L
1524 [BZ #14117]
1525 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1526 * sysdeps/x86/fpu/bits/mathinline.h: This.
1527 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1528
ed1825f8
L
1529 [BZ #14050]
1530 [BZ #14117]
1531 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1532 functions if __x86_64__ is defined.
1533
36d54b74
CLT
15342012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1535
1536 * string/endian.h: Add !__ASSEMBLER__ condition for including
1537 conversion interfaces.
1538
10285c21
JM
15392012-06-15 Joseph Myers <joseph@codesourcery.com>
1540
1541 [BZ #14241]
1542 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1543 of ABS(x) in calculating zero to negative powers other than odd
1544 integers.
1545 * math/libm-test.inc (pow_test): Add more tests.
1546
06c5abbd
AJ
15472012-06-15 Andreas Jaeger <aj@suse.de>
1548
1549 * manual/contrib.texi (Contributors): Update entry of Liubov
1550 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1551 Machado Filho.
1552
a3aeac40
CH
15532012-06-15 Cyril Hrubis <metan@ucw.cz>
1554
1555 * string/string.h: Add __wur to GNU version of strerror_r.
1556
49bdf4c1
L
15572012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1558
1559 [BZ #14229]
1560 * string/Makefile (tests): Add tst-strtok_r.
1561 * string/tst-strtok_r.c: New file.
1562 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1563 RAX_LP/RDX_LP on SAVE_PTR.
1564
834f9b8d
RM
15652012-06-14 Roland McGrath <roland@hack.frob.com>
1566
1567 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1568
75fa1921
JM
15692012-06-14 Joseph Myers <joseph@codesourcery.com>
1570
1571 * libm_test.inc (csqrt_test): Allow more spurious underflow
1572 exceptions.
1573 (j0_test): Likewise.
1574 (j1_test): Likewise.
1575 (y0_test): Likewise.
1576 (y1_test): Likewise.
1577
771766df
CD
15782012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1579
1580 * po/Makefile (libc.pot): Use UTF-8 charset.
1581
ceb9e56b
PP
15822012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1583
1584 [BZ #14210]
1585 Suppress sign-conversion warning from FD_SET.
1586 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1587 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1588 not unsigned long int.
1589 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1590
ddb28975
L
15912012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1592
1593 [BZ #14050]
1594 [BZ #14117]
1595 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1596 __extern_always_inline instead of __extern_inline.
1597 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1598 (__signbit): Likewise.
1599 (__signbitl): Support C++ namespace.
1600 (lrintf): New inline function.
1601 (lrint): Likewise.
1602 (llrintf): Likewise.
1603 (llrint): Likewise.
1604 (fmaxf): Likewise.
1605 (fmax): Likewise.
1606 (fminf): Likewise.
1607 (fmin): Likewise.
1608 (rint): Likewise.
1609 (rintf): Likewise.
1610 (ceil): Likewise.
1611 (ceilf): Likewise.
1612 (floor): Likewise.
1613 (floorf): Likewise.
1614 (nearbyint): Likewise.
1615 (nearbyintf): Likewise.
1616
d7b4fb26
TS
16172012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1618
1619 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1620 non-default versions.
1621
eb55f5c2
RM
16222012-06-11 Roland McGrath <roland@hack.frob.com>
1623
1624 [BZ #14218]
1625 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1626
366af02c
TS
16272012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1628
99ff6e5c
TS
1629 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1630 (FE_UPWARD, FE_DOWNWARD): Don't define.
1631 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1632 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1633
366af02c
TS
1634 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1635 reading it.
1636 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1637 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1638
793ea851
KK
16392012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1640
1641 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1643 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1644 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1645
a728a38f
L
16462012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1647
1648 [BZ #14117]
c08010c7
L
1649 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1650 * sysdeps/i386/fpu/Implies: New file.
1651 * sysdeps/x86_64/fpu/Implies: Likewise.
1652 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1653 * sysdeps/x86/fpu/bits/fenv.h: This.
1654
a728a38f
L
1655 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1656 __SSE_MATH__.
1657
6e230d11
SP
16582012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1659
1660 [BZ #14134]
1661 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1662 character 0xffff that matches the last element of the
1663 conversion table.
1664
1b671feb
AZ
16652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1666
1667 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1668 fmodl commit.
1669
6043738b
AZ
16702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1671
1672 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1673 values higher than 25.6283.
1674
34ae0b32
AZ
16752012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1676
1677 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1678 subnormal exponent extraction and add some __builtin_expect.
1679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1680 Fix for subnormal mantissa calculation.
1681
1214ec8f
MF
16822012-06-04 Mike Frysinger <vapier@gentoo.org>
1683
1684 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1685 cpu2 is -1 and errno is not ENOSYS.
1686
f3d1f93c
L
16872012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1688
1689 [BZ #14117]
0e4a3cd7
L
1690 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1691 * sysdeps/x86/bits/string.h: This.
1692 * sysdeps/x86_64/bits/string.h: Removed.
1693
6704c645
L
1694 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1695 if not compiling for x86-64, but compiling for >= i486.
1696
48495318
L
1697 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1698 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1699
14adcbfc
L
1700 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1701 New macro from Linux kernel 3.4.0.
1702 (FP_XSTATE_MAGIC2): Likewise.
1703 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1704 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1705 (struct _fpx_sw_bytes): New struct.
1706 (struct _xsave_hdr): Likewise.
1707 (struct _ymmh_state): Likewise.
1708 (struct _xstate): Likewise.
1709
68e408ab
L
1710 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1711 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1712 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1713 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1714 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1715 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1716
f3d1f93c
L
1717 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1718 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1719 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1720 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1721 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1722 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1723
d9dc34cd
TMQMF
17242012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1725
1726 [BZ #13743]
1727 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1728 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1729 (sysdep_headers): Include sys/platform/ppc.h.
1730 * sysdeps/powerpc/test-gettimebase.c: Test for
1731 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1732 * manual/Makefile (appendices): Include platform.texi.
1733 * manual/contrib.texi (Contributors): Update @node pointers.
1734 * manual/maint.texi (Maintenance): Likewise.
1735 (Platform): New node.
1736 * manual/platform.texi: New file. Document the new features.
1737
4af3879c
SP
17382012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1739 Jakub Jelinek <jakub@redhat.com>
1740
1741 [BZ #14188]
1742 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1743 where __builtin_expect is unavailable.
1744
2fd6ff13
DM
17452012-06-03 David S. Miller <davem@davemloft.net>
1746
1747 * stdlib/longlong.h: Updated from GCC.
1748
173f7220
AS
17492012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1750
1751 [BZ #14042]
1752 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1753 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1754 __mcount_internal.
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1756 (GLIBC_2.16): Likewise.
1757
f34a1c6f
L
17582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1759
1760 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1761
88a4576f
JM
17622012-06-01 Joseph Myers <joseph@codesourcery.com>
1763
ea32bcdd
JM
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1765 (default-abi): New variable.
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1767 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1768 variable.
1769 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1770 Likewise.
1771 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1772 Likewise.
1773 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1774 Likewise.
1775
88a4576f
JM
1776 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1777 definition. Document in comment.
1778
402fe938
DM
17792012-06-01 David S. Miller <davem@davemloft.net>
1780
1781 * stdlib/longlong.h: Updated from GCC.
1782
3553723f
L
17832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1784
1785 [BZ #14117]
3bd872c4
L
1786 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1787 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1788 sys/debugreg.h sys/io.h here.
1789 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1790 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1791 sys/io.h.
1792 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1793 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1794 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1795 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1796 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1797 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1798
3553723f
L
1799 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1800 Define only if __x86_64__ is defined.
1801
4842e4fe
JM
18022012-06-01 Joseph Myers <joseph@codesourcery.com>
1803
c5bfe3d5
JM
1804 [BZ #14048]
1805 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1806 Use int64_t for variable i.
1807 * math/libm-test.inc (fmod_test): Add more tests.
1808
4842e4fe
JM
1809 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1810 z computation is not scheduled after fetestexcept.
1811 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1812 Use math_force_eval instead of asm to ensure calculation scheduled
1813 before exception test.
1814 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1815 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1816
efb73488
AJ
18172012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1818
1819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1820 computation is not scheduled after fetestexcept.
1821
29bcce7c
L
18222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1823
1824 [BZ #14117]
1825 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1826 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1827
73a68f94
AZ
18282012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1829
1830 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1831 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1832
67b6df78
L
18332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1834
edf2933a 1835 [BZ #14117]
ebc64a18
L
1836 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1837 <bits/wordsize.h>.
1838 (__WCHAR_MIN): Support __WORDSIZE == 64.
1839 (__WCHAR_MAX): Likewise.
1840
edf2933a
L
1841 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1842 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1843
57c6cf40
L
1844 [BZ #14183]
1845 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1846 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1847
67b6df78 1848 [BZ #14117]
8eb6281e
L
1849 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1850 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1851
aac639f4
L
1852 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1853 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1854
67b6df78
L
1855 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1856 Defined to 1 if __x86_64__ isn't defined.
1857 (_STAT_VER_LINUX_OLD): New.
1858 (st_atime): Remove duplicate.
1859 (st_mtime): Likewise.
1860 (st_ctime): Likewise.
1861
1c2cfe81
DM
18622012-05-31 David S. Miller <davem@davemloft.net>
1863
1864 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1865 entries.
1866
5be8418c
AS
18672012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1868
e7725326
AS
1869 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1870 gen-libm-test.pl.
1871
5be8418c
AS
1872 [BZ #14132]
1873 * elf/dl-reloc.c: Include <_itoa.h>.
1874 (_dl_reloc_bad_type): Remove use of INTUSE.
1875 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1876 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1877 * stdio-common/psiginfo.c (psiginfo): Likewise.
1878 * stdio-common/psignal.c (psignal): Likewise.
1879 * string/strsignal.c (strsignal): Likewise.
1880 * include/signal.h (_sys_siglist): Declare hidden proto.
1881 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1882 INTVARDEF with libc_hidden_data_def.
1883 * stdio-common/itoa-udigits.c: Likewise.
1884 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1885 (_itoa_lower_digits_internal): Remove declaration.
1886 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1887 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1888 (_sys_sigabbrev_internal): Remove aliases.
1889 (_sys_siglist): Define hidden alias.
1890
507352f1
MT
18912012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1892
1893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1894 bits/sysctl.h.
1895
42bbb1c3
L
18962012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1897
1898 [BZ #14117]
6bd784b6
L
1899 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1900 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1901
8bca20f0
L
1902 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1903 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1904 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1905 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1906 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1907 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1908
f9e890a9
L
1909 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1910 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1911 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1912
471101a1
L
1913 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1914 with __addr.
1915 (insw): Likewise.
1916 (insl): Likewise.
1917 (outsb): Likewise.
1918 (outsw): Likewise.
1919 (outsl): Likewise.
1920
6451c862
L
1921 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1922 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1923 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1924
a254b8c9
L
1925 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1926 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1927 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1928 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1929 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1930 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1931
b8dfdd92
L
1932 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1933 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1934
578cd270
L
1935 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1936 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1937
de662f5f
L
1938 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1939 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1940 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1941
25653439
L
1942 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1943 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1944 to ...
1945 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1946
6bad24a0
L
1947 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1948 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1949 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1950
42bbb1c3
L
1951 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1952 for x86-64.
1953 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1954
2d10d547
JM
19552012-05-31 Joseph Myers <joseph@codesourcery.com>
1956
1957 * math/math.h (M_El): Use two more decimal places.
1958 (M_LOG2El): Likewise.
1959 (M_LOG10El): Likewise.
1960 (M_LN2l): Likewise.
1961 (M_LN10l): Likewise.
1962 (M_PIl): Likewise.
1963 (M_PI_2l): Likewise.
1964 (M_PI_4l): Likewise.
1965 (M_1_PIl): Likewise.
1966 (M_2_PIl): Likewise.
1967 (M_2_SQRTPIl): Likewise.
1968 (M_SQRT2l): Likewise.
1969 (M_SQRT1_2l): Likewise.
1970
f230c29b
DM
19712012-05-31 David S. Miller <davem@davemloft.net>
1972
1973 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1974 values between float registers.
1975 * sysdeps/sparc/sparc64/memset.S: Likewise.
1976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1977
fed806c3
MF
19782012-05-31 Mike Frysinger <vapier@gentoo.org>
1979
1980 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1981 -D_FORTIFY_SOURCE=1.
1982 (CPPFLAGS-tst-longjmp_chk.c): Define.
1983 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1984 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1985 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1986 CFLAGS-tst-wchar-h.c.
1987
30917259
MP
19882012-05-31 Marek Polacek <polacek@redhat.com>
1989
1990 [BZ #14132]
1991 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1992 __endmntent_internal): Remove declaration.
1993 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1994 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1995 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1996
1c58d5dc
DM
19972012-05-30 David S. Miller <davem@davemloft.net>
1998
1999 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2000 (___Q_simulate_exceptions): Use real FP ops rather than writing
2001 into the %fsr.
2002 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2003 Likewise.
2004
7dc00e0d
L
20052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2006
2007 [BZ #14117]
0bd53985
L
2008 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2009 * sysdeps/x86/bits/xtitypes.h: This.
2010
3a257e66
L
2011 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2012 * sysdeps/x86/bits/wordsize.h: This.
2013
62f62904
L
2014 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2015 * sysdeps/x86/bits/huge_vall.h: This.
2016
404fe9d9
L
2017 * sysdeps/i386/bits/select.h: Removed.
2018 * sysdeps/x86_64/bits/select.h: Renamed to ...
2019 * sysdeps/x86/bits/select.h: This.
2020
d48d0446
L
2021 * sysdeps/i386/bits/setjmp.h: Removed.
2022 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2023 * sysdeps/x86/bits/setjmp.h: This.
2024
7dc00e0d
L
2025 * sysdeps/i386/bits/mathdef.h: Removed.
2026 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2027 * sysdeps/x86/bits/mathdef.h: This.
2028
03277f8f
AS
20292012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2030
2031 [BZ #14132]
2032 * include/sys/socket.h (__connect_internal)
2033 (__libc_sa_len_internal): Remove declaration.
2034 (__connect, __libc_sa_len): Declare hidden_proto.
2035 (SA_LEN): Remove use of INTUSE.
2036 * socket/connect.c: Add libc_hidden_def.
2037 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2038 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2039 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2040 alias.
2041 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2042 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2043 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2044 of adding _internal alias.
2045
13764867
L
20462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2047
2048 [BZ #14117]
6bd97696
L
2049 * sysdeps/i386/bits/link.h: Removed.
2050 * sysdeps/i386/bits/linkmap.h: Likewise.
2051 * sysdeps/x86_64/bits/link.h: Renamed to ...
2052 * sysdeps/x86/bits/link.h: This.
2053 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2054 * sysdeps/x86/bits/linkmap.h: This.
2055
f726f0bb
L
2056 * sysdeps/i386/bits/endian.h: Removed.
2057 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2058 * sysdeps/x86/bits/endian.h: This.
2059
13764867
L
2060 * sysdeps/i386/bits/byteswap.h: Removed.
2061 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2062 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2063 * sysdeps/x86/bits/byteswap.h: This.
2064 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2065 * sysdeps/x86/bits/byteswap-16.h: This.
2066 * sysdeps/i386/Implies: Add x86.
2067 * sysdeps/x86_64/Implies: Likewise.
2068
ae251b0b
DM
20692012-05-30 David S. Miller <davem@davemloft.net>
2070
2071 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2072 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2073 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2074 (FP_TRAPPING_EXCEPTIONS): Define.
2075 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2076 (FP_TRAPPING_EXCEPTIONS): Define.
2077 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2078 subnormals only when inexact has been signalled or underflow
2079 exceptions are enabled.
2080 (_FP_PACK_CANONICAL): Likewise.
2081
d5c90867
L
20822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2083
2084 [BZ #14183]
2085 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2086 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2087
63f1549e
RH
20882012-05-30 Richard Henderson <rth@twiddle.net>
2089
8d8f2279
RH
2090 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2091 with #ifndef NOT_IN_libc.
2092
63f1549e
RH
2093 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2094 marked to avoid plt entry.
2095
0ab0291b
L
20962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2097
2098 [BZ #14112]
2099 * Makeconfig (default-abi): New macro.
2100 (abi-includes): Likewise.
2101 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2102 $(abi-$(default-abi)-lib-soname) for soname if defined.
2103 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2104 abi-variants.
2105 * Makefile (installed-stubs): Likewise.
2106 * include/stubs-biarch.h: Removed.
2107 * scripts/lib-names.awk: Only handle one library at a time.
2108 * scripts/soversions.awk: Remove WORDSIZE support.
2109 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2110 entries.
2111 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2112 Removed.
2113 (syscall-list-default-condition): Likewise.
2114 (syscall-list-default-condition): Likewise.
2115 (syscall-list-includes): Likewise.
2116 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2117 syscall-list-* with abi-*. Handle undefined abi-variants.
2118 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2119 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2120 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2121 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2122 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2123 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2124 Removed.
2125 (syscall-list-32-options): Likewise.
2126 (syscall-list-32-condition): Likewise.
2127 (syscall-list-64-options): Likewise.
2128 (syscall-list-64-condition): Likewise.
2129 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2130 macro.
2131 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2132 Renamed to ...
2133 (abi-*): This.
2134 (abi-64-ld-soname): New macro.
2135 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2136 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2137 Renamed to ...
2138 (abi-*): This.
2139 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2140 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2141
4da0431d
JM
21422012-05-30 Joseph Myers <joseph@codesourcery.com>
2143
3a85279c
JM
2144 * sysdeps/unix/sysv/linux/kernel-features.h
2145 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2146 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2147 include <kernel-features.h>.
2148 [!__NR_ftruncate64]: Remove conditional code.
2149 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2150 [__NR_ftruncate64]: Make code unconditional.
2151 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2152 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2153 include <kernel-features.h>.
2154 [!__NR_ftruncate64]: Remove conditional code.
2155 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2156 [__NR_ftruncate64]: Make code unconditional.
2157 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2159 include <kernel-features.h>.
2160 [!__NR_ftruncate64]: Remove conditional code.
2161 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2162 [__NR_ftruncate64]: Make code unconditional.
2163 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2165 include <kernel-features.h>.
2166 [!__NR_ftruncate64]: Remove conditional code.
2167 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2168 [__NR_ftruncate64]: Make code unconditional.
2169 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2170
4da0431d
JM
2171 * configure.in (libc_cv_fpie): Weaken to a compile test using
2172 LIBC_TRY_CC_OPTION.
2173 * configure: Regenerated.
2174
11ef492c
AK
21752012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2176
2177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2181 Refreshed.
2182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2188 Refreshed.
2189
d66ef399
DM
21902012-05-27 David S. Miller <davem@davemloft.net>
2191
2192 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2193 (___Q_zero): New.
2194 (__Q_simulate_exceptions): Return void. Change to simulate
2195 exceptions by writing into the %fsr.
2196 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2197 (__Qp_handle_exceptions): Likewise.
2198 (numbers): Delete.
2199 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2200 __Qp_handle_exceptions.
2201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2202 __Qp_handle_exceptions.
2203 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2204 as unused and give dummy FP_RND_NEAREST initializer.
2205 (FP_INHIBIT_RESULTS): Define.
2206 (___Q_simulate_exceptions): Update declaration.
2207 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2208 formatting.
2209 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2210 as unused and give dummy FP_RND_NEAREST initializer.
2211 (__Qp_handle_exceptions): Update declaration.
2212 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2213 formatting.
2214
04fb54b5
TS
22152012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2216
2217 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2218 the temporary FPU control word.
2219 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2220 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2221 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2222 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2223 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2224 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2225 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2226 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2227 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2228 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2229 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2230
3f99608f
KK
22312012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2232
2233 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2234 fields.
2235
65a4de4e
CLT
22362012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2237
2238 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2239 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2240 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2241 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2242 Likewise.
2243 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2244 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2245 Likewise.
2246
15749d40
UD
22472012-05-27 Ulrich Drepper <drepper@gmail.com>
2248
2249 * po/h.po: Update from translation team.
2250
25dbcb27
AS
22512012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2252
3d3f8e55
AS
2253 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2254
25dbcb27
AS
2255 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2256 handling of denormals.
2257 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2258 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2259 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2260 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2264 Likewise.
2265
7ad47a80 22662012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2267
2268 [BZ #14152]
2269 * math/libm-test.inc (fma_test): Don't always expect underflow
2270 exception.
2271
9c6ea9fa
SP
22722012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2273
2274 [BZ #12416]
2275 * elf/tst-execstack.c: Include stackinfo.h.
2276 (do_test): Adjust test case to ensure that pthread_getattr_np
2277 behaviour remains the same after marking stack executable.
2278
a8239222
JM
22792012-05-25 Joseph Myers <joseph@codesourcery.com>
2280
2281 * sysdeps/unix/sysv/linux/kernel-features.h
2282 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2283 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2284 kernel-features.h.
2285 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2286 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2287 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2288 kernel-features.h.
2289 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2290 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2291
918b5606
L
22922012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2293
2294 * configure.in: Define the default includes to being none.
2295 * configure: Regenerated.
2296
3a097cc7
RM
22972012-05-25 Roland McGrath <roland@hack.frob.com>
2298
8422c9a5
RM
2299 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2300 * sysdeps/x86_64/setjmp.S: Likewise.
2301 * sysdeps/i386/bsd-setjmp.S: Likewise.
2302 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2303 * sysdeps/i386/setjmp.S: Likewise.
2304 * sysdeps/i386/__longjmp.S: Likewise.
2305 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2306 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2307
3a097cc7
RM
2308 * include/stap-probe.h: New file.
2309 * configure.in: Handle --enable-systemtap.
2310 * configure: Regenerated.
2311 * config.h.in (USE_STAP_PROBE): New #undef.
2312 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2313 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2314 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2315
21708942
JM
23162012-05-25 Joseph Myers <joseph@codesourcery.com>
2317
2318 [BZ #13717]
2319 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2320 to 2.4.0 where earlier.
2321 * sysdeps/unix/sysv/linux/configure: Regenerated.
2322 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2323 <kernel-features.h>.
2324 [__ASSUME_32BITUIDS]: Make code unconditional.
2325 [!__ASSUME_32BITUIDS]: Remove conditional code.
2326 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2327 <kernel-features.h>.
2328 [__ASSUME_32BITUIDS]: Make code unconditional.
2329 [!__ASSUME_32BITUIDS]: Remove conditional code.
2330 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2331 [__ASSUME_32BITUIDS]: Make code unconditional.
2332 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2333 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2334 <kernel-features.h>.
2335 [__ASSUME_32BITUIDS]: Make code unconditional.
2336 [!__ASSUME_32BITUIDS]: Remove conditional code.
2337 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2338 <kernel-features.h>.
2339 [__ASSUME_32BITUIDS]: Make code unconditional.
2340 [!__ASSUME_32BITUIDS]: Remove conditional code.
2341 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2342 <kernel-features.h>.
2343 [__ASSUME_32BITUIDS]: Make code unconditional.
2344 [!__ASSUME_32BITUIDS]: Remove conditional code.
2345 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2346 <kernel-features.h>.
2347 [__ASSUME_32BITUIDS]: Make code unconditional.
2348 [!__ASSUME_32BITUIDS]: Remove conditional code.
2349 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2350 <kernel-features.h>.
2351 [__ASSUME_32BITUIDS]: Make code unconditional.
2352 [!__ASSUME_32BITUIDS]: Remove conditional code.
2353 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2354 <kernel-features.h>.
2355 [__ASSUME_32BITUIDS]: Make code unconditional.
2356 [!__ASSUME_32BITUIDS]: Remove conditional code.
2357 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2358 <kernel-features.h>.
2359 [__ASSUME_32BITUIDS]: Make code unconditional.
2360 [!__ASSUME_32BITUIDS]: Remove conditional code.
2361 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2362 <kernel-features.h>.
2363 [__ASSUME_32BITUIDS]: Make code unconditional.
2364 [!__ASSUME_32BITUIDS]: Remove conditional code.
2365 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2366 <kernel-features.h>.
2367 [__ASSUME_32BITUIDS]: Make code unconditional.
2368 [!__ASSUME_32BITUIDS]: Remove conditional code.
2369 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2370 <kernel-features.h>.
2371 [__ASSUME_32BITUIDS]: Make code unconditional.
2372 [!__ASSUME_32BITUIDS]: Remove conditional code.
2373 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2374 <kernel-features.h>.
2375 [__NR_setresgid] (__setresgid): Do not declare.
2376 [__ASSUME_32BITUIDS]: Make code unconditional.
2377 [!__ASSUME_32BITUIDS]: Remove conditional code.
2378 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2379 <kernel-features.h>.
2380 [__NR_setresuid] (__setresuid): Do not declare.
2381 [__ASSUME_32BITUIDS]: Make code unconditional.
2382 [!__ASSUME_32BITUIDS]: Remove conditional code.
2383 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2384 <kernel-features.h>.
2385 [__ASSUME_32BITUIDS]: Make code unconditional.
2386 [!__ASSUME_32BITUIDS]: Remove conditional code.
2387 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2388 <kernel-features.h>.
2389 [__ASSUME_32BITUIDS]: Make code unconditional.
2390 [!__ASSUME_32BITUIDS]: Remove conditional code.
2391 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2392 <kernel-features.h>.
2393 [__ASSUME_32BITUIDS]: Make code unconditional.
2394 [!__ASSUME_32BITUIDS]: Remove conditional code.
2395 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2396 <kernel-features.h>.
2397 [__ASSUME_32BITUIDS]: Make code unconditional.
2398 [!__ASSUME_32BITUIDS]: Remove conditional code.
2399 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2400 <kernel-features.h>.
2401 [__ASSUME_32BITUIDS]: Make code unconditional.
2402 [!__ASSUME_32BITUIDS]: Remove conditional code.
2403 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2404 <kernel-features.h>.
2405 [__ASSUME_32BITUIDS]: Make code unconditional.
2406 [!__ASSUME_32BITUIDS]: Remove conditional code.
2407 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2408 <kernel-features.h>.
2409 [__ASSUME_32BITUIDS]: Make code unconditional.
2410 [!__ASSUME_32BITUIDS]: Remove conditional code.
2411 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2412 <kernel-features.h>.
2413 [__ASSUME_32BITUIDS]: Make code unconditional.
2414 [!__ASSUME_32BITUIDS]: Remove conditional code.
2415 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2416 <kernel-features.h>.
2417 [__ASSUME_32BITUIDS]: Make code unconditional.
2418 [!__ASSUME_32BITUIDS]: Remove conditional code.
2419 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
2424 (__ASSUME_SETRESUID_SYSCALL): Remove.
2425 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2426 (__ASSUME_32BITUIDS): Likewise.
2427 (__ASSUME_LDT_WORKS): Likewise.
2428 (__ASSUME_O_DIRECTORY): Likewise.
2429 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2430 architecture but not kernel version.
2431 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2432 (__ASSUME_MMAP2_SYSCALL): Likewise.
2433 (__ASSUME_STAT64_SYSCALL): Likewise.
2434 (__ASSUME_IPC64): Likewise.
2435 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2436 <kernel-features.h>.
2437 [__ASSUME_32BITUIDS]: Make code unconditional.
2438 [!__ASSUME_32BITUIDS]: Remove conditional code.
2439 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2440 <kernel-features.h>.
2441 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2442 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2443 132096]: Remove conditional code.
2444 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2445 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2446 <kernel-features.h>.
2447 [__ASSUME_32BITUIDS]: Make code unconditional.
2448 [!__ASSUME_32BITUIDS]: Remove conditional code.
2449 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2450 <kernel-features.h>.
2451 [__ASSUME_32BITUIDS]: Make code unconditional.
2452 [!__ASSUME_32BITUIDS]: Remove conditional code.
2453 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2454 <kernel-features.h>.
2455 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2456 unconditional.
2457 (__setresgid): Do not declare.
2458 [__ASSUME_32BITUIDS]: Make code unconditional.
2459 [!__ASSUME_32BITUIDS]: Remove conditional code.
2460 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2461 <kernel-features.h>.
2462 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2463 unconditional.
2464 (__setresuid): Do not declare.
2465 [__ASSUME_32BITUIDS]: Make code unconditional.
2466 [!__ASSUME_32BITUIDS]: Remove conditional code.
2467 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2468 <kernel-features.h>.
2469 [__ASSUME_32BITUIDS]: Make code unconditional.
2470 [!__ASSUME_32BITUIDS]: Remove conditional code.
2471 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2472 <kernel-features.h>.
2473 [__ASSUME_32BITUIDS]: Make code unconditional.
2474 [!__ASSUME_32BITUIDS]: Remove conditional code.
2475
a386f1cc
RH
24762012-05-25 Richard Henderson <rth@twiddle.net>
2477
2478 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2479 dl_hwcap to ifunc resolver.
2480 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2481 elf_ifunc_invoke.
2482 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2483 dl_hwcap to ifunc resolver.
2484 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2485
b6550497
JM
24862012-05-24 Joseph Myers <joseph@codesourcery.com>
2487
2488 [BZ #14153]
2489 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2490 for |x| <= 2**-26, not 2**-57.
2491 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2492 exception.
2493
b0bc23a1
JL
24942012-05-24 Jeff Law <law@redhat.com>
2495
2496 * stdio-common/Makefile (tests): Add bug25.
2497 * stdio-common/bug25.c: New test.
2498
347c92e9
L
24992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2500
2501 [BZ #13576]
2502 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2503 multiple of MALLOC_ALIGNMENT in size.
2504 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2505
6bcc8b3f
JM
25062012-05-24 Joseph Myers <joseph@codesourcery.com>
2507
2508 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2509 Require >= 256.
2510 (FILENAME_MAX): Use macro-int-constant.
2511 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2512 (_IOFBF): Use macro-int-constant.
2513 (_IOLBF): Likewise.
2514 (_IONBF): Likewise.
2515 (SEEK_CUR): Likewise.
2516 (SEEK_END): Likewise.
2517 (SEEK_SET): Likewise.
2518 (TMP_MAX): Likewise.
2519 (EOF): Use macro-int-constant. Require < 0.
2520 (NULL): Use macro-constant. Require == 0.
2521 (stdin): Require type to be FILE *.
2522 (stdout): Likewise.
2523 (stderr): Likewise.
2524 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2525 macro-int-constant.
2526 (EXIT_SUCCESS): Likewise.
2527 (NULL): Use macro-constant. Require == 0.
2528 (RAND_MAX): Use macro-int-constant.
2529 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2530 [C99-based standards] (strtof): Require function.
2531 [C99-based standards] (strtold): Likewise.
2532 [C99-based standards] (strtoll): Likewise.
2533 [C99-based standards] (strtoull): Likewise.
2534 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2535 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2536 [ISO || ISO99 || ISO11] (math.h): Likewise.
2537 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2538 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2540
d18ea0c5
AS
25412012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2542
2543 [BZ #14132]
56d25bb8
AS
2544 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2545 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2546 * intl/dgettext.c (DCGETTEXT): Likewise.
2547 * intl/gettext.c (DCGETTEXT): Likewise.
2548 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2549 * posix/regex_internal.h (gettext): Likewise.
2550 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2551 Remove declaration.
2552 * include/argz.h (__argz_count_internal)
2553 (__argz_stringify_internal): Remove declaration.
2554 (__argz_count, __argz_stringify): Declare hidden proto.
2555 * intl/dcgettext.c: Remove use of INTDEF.
2556 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2557 * string/argz-stringify.c: Likewise.
2558 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2559 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2560 Declare hidden proto.
d18ea0c5
AS
2561 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2562 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2563 Declare hidden proto.
2564 * include/stdio.h (__asprintf_internal): Don't declare.
2565 (__asprintf): Don't define as macro. Declare hidden proto.
2566 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2567 (__fsetlocking): Declare hidden proto.
2568 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2569 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2570 hidden proto.
2571 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2572 (_IO_setlinebuf): Remove use of INTUSE.
2573 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2574 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2575 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2576 Remove declaration.
2577 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2578 (_IO_do_flush): Remove use of INTUSE.
2579 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2580 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2581 (_IO_adjust_column, _IO_least_wmarker)
2582 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2583 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2584 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2585 (_IO_default_doallocate, _IO_wdefault_doallocate)
2586 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2587 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2588 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2589 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2590 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2591 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2592 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2593 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2594 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2595 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2596 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2597 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2598 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2599 proto.
2600 (_IO_flush_all_internal, _IO_adjust_column_internal)
2601 (_IO_default_uflow_internal, _IO_default_finish_internal)
2602 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2603 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2604 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2605 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2606 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2607 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2608 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2609 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2610 (_IO_file_close_internal, _IO_file_close_it_internal)
2611 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2612 (_IO_file_init_internal, _IO_file_attach_internal)
2613 (_IO_file_fopen_internal, _IO_file_read_internal)
2614 (_IO_file_sync_internal, _IO_file_seek_internal)
2615 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2616 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2617 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2618 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2619 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2620 (_IO_list_all_internal, _IO_link_in_internal)
2621 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2622 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2623 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2624 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2625 (_IO_do_write_internal, _IO_padn_internal)
2626 (_IO_getline_info_internal, _IO_getline_internal)
2627 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2628 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2629 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2630 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2631 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2632 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2633 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2634 with libc_hidden_ver, remove use of INTUSE.
2635 * libio/genops.c: Likewise.
2636 * libio/freopen.c: Likewise.
2637 * libio/freopen64.c: Likewise.
2638 * libio/iofclose.c: Likewise.
2639 * libio/iofdopen.c: Likewise.
2640 * libio/iofflush.c: Likewise.
2641 * libio/iofflush_u.c: Likewise.
2642 * libio/iofgets.c: Likewise.
2643 * libio/iofgets_u.c: Likewise.
2644 * libio/iofopen.c: Likewise.
2645 * libio/iofopncook.c: Likewise.
2646 * libio/iofread.c: Likewise.
2647 * libio/iofread_u.c: Likewise.
2648 * libio/ioftell.c: Likewise.
2649 * libio/iofwrite.c: Likewise.
2650 * libio/iogetline.c: Likewise.
2651 * libio/iogets.c: Likewise.
2652 * libio/iogetwline.c: Likewise.
2653 * libio/iopadn.c: Likewise.
2654 * libio/iopopen.c: Likewise.
2655 * libio/ioseekoff.c: Likewise.
2656 * libio/ioseekpos.c: Likewise.
2657 * libio/iosetbuffer.c: Likewise.
2658 * libio/iosetvbuf.c: Likewise.
2659 * libio/ioungetc.c: Likewise.
2660 * libio/ioungetwc.c: Likewise.
2661 * libio/iovdprintf.c: Likewise.
2662 * libio/iovsprintf.c: Likewise.
2663 * libio/iovsscanf.c: Likewise.
2664 * libio/memstream.c: Likewise.
2665 * libio/obprintf.c: Likewise.
2666 * libio/oldfileops.c: Likewise.
2667 * libio/oldiofclose.c: Likewise.
2668 * libio/oldiofdopen.c: Likewise.
2669 * libio/oldiofopen.c: Likewise.
2670 * libio/oldiopopen.c: Likewise.
2671 * libio/oldstdfiles.c: Likewise.
2672 * libio/putc.c: Likewise.
2673 * libio/setbuf.c: Likewise.
2674 * libio/setlinebuf.c: Likewise.
2675 * libio/stdfiles.c: Likewise.
2676 * libio/strops.c: Likewise.
2677 * libio/vasprintf.c: Likewise.
2678 * libio/vscanf.c: Likewise.
2679 * libio/vsnprintf.c: Likewise.
2680 * libio/vswprintf.c: Likewise.
2681 * libio/wfiledoalloc.c: Likewise.
2682 * libio/wfileops.c: Likewise.
2683 * libio/wgenops.c: Likewise.
2684 * libio/wmemstream.c: Likewise.
2685 * libio/wstrops.c: Likewise.
2686 * libio/__fpurge.c: Likewise.
2687 * libio/__fsetlocking.c: Likewise.
2688 * assert/assert.c: Likewise.
2689 * debug/fgets_chk.c: Likewise.
2690 * debug/fgets_u_chk.c: Likewise.
2691 * debug/fread_chk.c: Likewise.
2692 * debug/fread_u_chk.c: Likewise.
2693 * debug/gets_chk.c: Likewise.
2694 * debug/obprintf_chk.c: Likewise.
2695 * debug/vasprintf_chk.c: Likewise.
2696 * debug/vdprintf_chk.c: Likewise.
2697 * debug/vsnprintf_chk.c: Likewise.
2698 * debug/vsprintf_chk.c: Likewise.
2699 * malloc/mtrace.c: Likewise.
2700 * misc/error.c: Likewise.
2701 * misc/syslog.c: Likewise.
2702 * stdio-common/asprintf.c: Likewise.
2703 * stdio-common/fxprintf.c: Likewise.
2704 * stdio-common/getw.c: Likewise.
2705 * stdio-common/isoc99_fscanf.c: Likewise.
2706 * stdio-common/isoc99_scanf.c: Likewise.
2707 * stdio-common/isoc99_vfscanf.c: Likewise.
2708 * stdio-common/isoc99_vscanf.c: Likewise.
2709 * stdio-common/isoc99_vsscanf.c: Likewise.
2710 * stdio-common/printf-prs.c: Likewise.
2711 * stdio-common/printf_fp.c: Likewise.
2712 * stdio-common/printf_fphex.c: Likewise.
2713 * stdio-common/printf_size.c: Likewise.
2714 * stdio-common/putw.c: Likewise.
2715 * stdio-common/scanf.c: Likewise.
2716 * stdio-common/sprintf.c: Likewise.
2717 * stdio-common/tmpfile.c: Likewise.
2718 * stdio-common/vfprintf.c: Likewise.
2719 * stdio-common/vfscanf.c: Likewise.
2720 * stdlib/strfmon_l.c: Likewise.
2721 * sunrpc/openchild.c: Likewise.
2722 * sunrpc/xdr_stdio.c: Likewise.
2723 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2724 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2725
d6c33fda
RM
27262012-05-24 Roland McGrath <roland@hack.frob.com>
2727
c1487492
RM
2728 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2729
2730 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2731 in the third column, to generate for the shared library an IFUNC
2732 that uses _dl_vdso_vsym.
2733 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2734 * Makeconfig (object-suffixes-noshared): New variable.
2735
2736 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2737 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2738 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2739 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2740
d6c33fda
RM
2741 [BZ #14132]
2742 * include/sys/time.h (__gettimeofday): Remove macro.
2743 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2744 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2745 Remove INTDEF.
2746 (__gettimeofday): Add libc_hidden_def.
2747 (gettimeofday): Add libc_hidden_weak.
2748 * sysdeps/mach/gettimeofday.c: Likewise.
2749 * sysdeps/posix/gettimeofday.c: Likewise.
2750 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2751 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2752 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2753 (__gettimeofday_internal): Remove strong_alias.
2754 (__gettimeofday): Add libc_hidden_def.
2755 (gettimeofday): Add libc_hidden_weak.
2756 * sysdeps/unix/syscalls.list (gettimeofday):
2757 Remove __gettimeofday_internal alias.
2758
b5a2bbe6
L
27592012-05-24 Daniel Jacobowitz <drow@false.org>
2760 H.J. Lu <hongjiu.lu@intel.com>
2761
2762 [BZ #12495]
2763 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2764 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2765 (largebin_index_32_big): New.
2766 (largebin_index): Use it for 16-byte alignment.
2767 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2768 correction with front_misalign.
2769
cfba4fda
L
27702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2771
7f907421
L
2772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2774 Likewise.
2775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2776 Likewise.
2777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2778 Likewise.
2779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2780 Likewise.
2781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2782 Likewise.
2783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2784 Likewise.
2785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2786 Likewise.
2787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2788 Likewise.
2789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2790 Likewise.
2791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2792 Likewise.
2793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2794 Likewise.
2795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2796 Likewise.
2797
cfba4fda
L
2798 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2799 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2800
80bad0cc
JM
28012012-05-24 Joseph Myers <joseph@codesourcery.com>
2802
7a25eb06
JM
2803 [BZ #10846]
2804 [BZ #14036]
2805 * math/libm-test.inc (exp_test): Add test from bug 14036.
2806 (pow_test): Add test from bug 10846.
2807
795405f9
JM
2808 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2809 and other flags.
2810 (special_function): Do not include flags in test name.
2811 (parse_args): Likewise.
2812 * sysdeps/i386/fpu/libm-test-ulps: Update.
2813 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2814 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2815 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2817
80bad0cc
JM
2818 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2819 exceptions.
2820 * math/libm-test.inc ("Philosophy"): Update comment about
2821 exception testing.
2822 (UNDERFLOW_EXCEPTION): New macro.
2823 (UNDERFLOW_EXCEPTION_OK): Likewise.
2824 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2825 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2826 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2827 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2828 (INVALID_EXCEPTION_OK): Update value.
2829 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2830 (OVERFLOW_EXCEPTION_OK): Likewise.
2831 (IGNORE_ZERO_INF_SIGN): Likewise.
2832 (test_exceptions): Handle underflow exceptions.
2833 (acos_test): Update for underflow exception expectations.
2834 (cexp_test): Likewise.
2835 (clog_test): Likewise.
2836 (clog10_test): Likewise.
2837 (csqrt_test): Likewise.
2838 (ctan_test): Likewise.
2839 (ctanh_test): Likewise.
2840 (exp_test): Likewise.
2841 (exp10_test): Likewise.
2842 (exp2_test): Likewise.
2843 (expm1_test): Likewise.
2844 (fma_test): Likewise.
2845 (j0_test): Likewise.
2846 (jn_test): Likewise.
2847 (nexttoward_test): Likewise.
2848 (pow_test): Likewise.
2849 (scalbn_test): Likewise.
2850 (scalbln_test): Likewise.
2851 (tan_test): Likewise.
2852 (y1_test): Likewise.
2853 * sysdeps/i386/fpu/libm-test-ulps: Update.
2854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2855
9e0e3d0b
DM
28562012-05-23 David S. Miller <davem@davemloft.net>
2857
2858 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2859 (__libc_sigaction): Remove unused local variables.
2860
ccd0a08f
L
28612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2862
2863 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2864
62bdf9a6
PE
28652012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2866
f8591f80
PE
2867 mktime: avoid signed integer overflow
2868 * time/mktime.c (__mktime_internal): Do not mishandle the case
2869 where diff == INT_MIN.
2870
94c7d826
PE
2871 mktime: simplify computation of average
2872 * time/mktime.c (ranged_convert): Use new time_t_avg function
2873 instead of rolling our own (probably-slower) code.
2874
ce73d683
PE
2875 mktime: do not assume signed right shift propagates sign bit
2876 * time/mktime.c (isdst_differ): New static function.
2877 (__mktime_internal): No need to normalize tm_isdst now.
2878 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2879 tm_isdst values.
2880
72a22e59
PE
2881 mktime: merge another wrapv change from gnulib
2882 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2883 from some compilers.
2884
68605433
PE
2885 mktime: remove incorrect attempt at unusual arithmetics
2886 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2887 The code didn't really work on such machines anyway.
2888 (TYPE_MINIMUM): Assume two's complement.
2889 (twos_complement_arithmetic): Verify that long_int and time_t
2890 are two's complement (or unsigned, in the latter case).
2891
03cf7fe3
PE
2892 mktime: check signed shifts on long_int and time_t, too
2893 * time/mktime.c (SHR): Check that shifts work as desired
2894 on the types long_int and time_t too, as SHR is used on
2895 such types.
2896
f04dfbc2
PE
2897 mktime: do not assume 'long' is wide enough
2898 * time/mktime.c (verify): Move decl up.
2899 (long_int): New type.
2900 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2901 to remove assumption in the code that 'long' is wide enough to
2902 store year values. This assumption is not true on x32 and on
2903 some non-glibc platforms.
2904
62bdf9a6
PE
2905 mktime: merge wrapv change from gnulib
2906 * time/mktime.c (WRAPV): New macro.
2907 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2908 (guess_time_tm, __mktime_internal): Do not assume that signed
2909 integer overflow wraps around; modern compilers generate code
2910 where this assumption is no longer valid.
2911
5e292e4f
L
29122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2913
2914 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2915 Replace "jmp L(pseudo_end)" with "ret".
2916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2917 Likewise.
2918
8caf8c87
AJ
29192012-05-23 Andreas Jaeger <aj@suse.de>
2920
2921 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2922 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2923
1a09dc56
AJ
29242012-05-23 Andreas Jaeger <aj@suse.de>
2925 Maximilian Attems <max@stro.at>
2926
2927 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2928 New macros.
2929
1c87aba0
L
29302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2931
2932 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2933 code so that pseudo_end is just ret and the stack pointer is
2934 correct also for static library in error case.
2935
40e45bd5
JM
29362012-05-23 Joseph Myers <joseph@codesourcery.com>
2937
c2670533
JM
2938 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2939 move to syscalls.list.
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2944
40e45bd5
JM
2945 * manual/install.texi (Running make install): Do not mention Linux
2946 kernel version for which pt_chown is not needed.
2947 (Linux): Do not mention problems with nscd with 2.0 kernels.
2948 * INSTALL: Regenerated.
2949
be08eda5
AJ
29502012-05-23 Andreas Jaeger <aj@suse.de>
2951
2952 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2953 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2954 macro.
2955 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2956 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2957 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2958 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2959 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2960 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2961 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2962 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2963 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2964 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2965 * sysdeps/unix/sysv/linux/bits/in.h
2966 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2967
a6a056bb
RM
29682012-05-22 Roland McGrath <roland@hack.frob.com>
2969
2970 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2971 (PREPARE_VERSION): Just use assert instead, it will be elided
2972 under [NDEBUG] anyway.
2973
c9009328
L
29742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2975
2976 * sysdeps/unix/sysv/linux/Makefile: Include
2977 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2978 (sysdep_routines): Remove sysctl.
c9009328
L
2979 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2980 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2981 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2982 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2983 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2984
73338355
AJ
29852012-05-22 Andreas Jaeger <aj@suse.de>
2986
2987 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2988 that pseudo_end is just ret and the stack pointer is correct also
2989 for static library in error case.
2990
d44638b0
PP
29912012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2992
2993 [BZ #14122]
2994 * nss/nsswitch.c (defconfig_entries): New variable.
2995 (__nss_database_lookup): Don't leak defconfig entries.
2996 (nss_parse_service_list): Don't leak on error paths.
2997 (free_database_entries): New function.
2998 (free_defconfig): New function.
2999 (free_mem): Move common code to free_database_entries.
3000
31a39bd8
L
30012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3002
da0331a8
L
3003 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3004 Add arch_prctl.
3005 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3006
31a39bd8
L
3007 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3008 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3010 New macro.
3011 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3012 (INTERNAL_SYSCALL_TYPES): Likewise.
3013 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3014 (LOAD_REGS_TYPES_[1-6]): Likewise.
3015 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3016 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3017
45470df3
AZ
30182012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3019
3020 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3021 copysignl for GLIBC_2_0.
3022 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3023 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3025 logbl for GLIBC_2_0.
3026 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3027 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3028
98a61bcb
L
30292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3030
a4f6e481
L
3031 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3032 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3033
f63d5db6
L
3034 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3035 Use "neg %eax".
3036
98a61bcb
L
3037 * time/mktime.c: Update copyright years.
3038
95770f14
PE
30392012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3040
6226efbd
PE
3041 mktime: merge comment-quoting-style change from gnulib
3042 * time/mktime.c: Quote 'like this' in comments.
3043 The GNU coding standards suggest that we no longer quote `like this',
3044 as "`" and "'" are typically rendered asymmetrically nowadays.
3045 The typical gnulib style is to quote 'like this' when quoting
3046 code, and "like this" when quoting English.
3047
b99e4f78
PE
3048 * time/mktime.c (compile-command): Add "-I.".
3049
643e01e6
PE
3050 mktime: merge mktime-internal.h change from gnulib
3051 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3052
2554247d
PE
3053 mktime: merge time_r change from gnulib
3054 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3055
826dd0ab
PE
3056 mktime: merge DEBUG change from gnulib
3057 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3058 case system <time.h> has a #define.
3059
bd83aabe
PE
3060 mktime: merge <sys/types.h> change from gnulib
3061 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3062 since <time.t> is now guaranteed to define time_t.
3063
95770f14
PE
3064 mktime: merge HAVE_CONFIG_H change from gnulib
3065 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3066
5e1a27a9
L
30672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3068
0e44a77e
L
3069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3070 Use "neg %eax".
3071
5e1a27a9
L
3072 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3073 __rlim_t cast.
3074 (struct rusage): Use anonymous union to pad each field to
3075 __syscall_slong_t.
3076
46259bec
DM
30772012-05-21 David S. Miller <davem@davemloft.net>
3078
3079 * Makefules (o-iterator): Remove .s cases.
3080 (compile-command.s): Delete.
3081 (COMPILE.s): Delete.
3082 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3083
59f0c22e
JM
30842012-05-21 Joseph Myers <joseph@codesourcery.com>
3085
3086 * configure.in (libc_cv_predef_stack_protector): Only consider
3087 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3088 * configure: Regenerated.
3089
20c07380
L
30902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3091
bbb3154b
L
3092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3093 New macro. Use R*LP on int and pointer.
3094 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3095 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3096 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3097 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3098
20c07380
L
3099 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3100 [__WORDSIZE_TIME64_COMPAT32] instead of
3101 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3102 (struct utmp): Likewise.
3103 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3104 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3105 Renamed to ...
3106 (__WORDSIZE_TIME64_COMPAT32): This.
3107 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3108 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3109 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3110 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3111 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3112 (__WORDSIZE_TIME64_COMPAT32): New macro.
3113
d8d1017e
AJ
31142012-05-21 Andreas Jaeger <aj@suse.de>
3115
3116 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3117 only if [SHARED]. Add prototype for __wcschr_ia32.
3118
6c7fb145
RM
31192012-05-21 Roland McGrath <roland@hack.frob.com>
3120
3121 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3122 of %rbp unmolested in the jmp_buf while mangling the low bits.
3123 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3124 unmolested high bits of %rbp while demangling the low bits.
3125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3126
66274218
AJ
31272012-05-21 Andreas Jaeger <aj@suse.de>
3128
07c58f8f
AJ
3129 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3130 * sunrpc/svc_simple.c: Use it for registerrpc.
3131 * sunrpc/xcrypt.c: Use it for passwd2des.
3132
66274218
AJ
3133 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3134
61f65140
L
31352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3136
3137 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3138 Don't define if [__SYSCALL_WORDSIZE != 32].
3139 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3140 New macro.
3141
5fefb436
AJ
31422012-05-21 Bruno Haible <bruno@clisp.org>
3143 Andreas Jaeger <aj@suse.de>
3144
3145 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3146 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3147 inptr and inend for must_buffer_ch.
3148 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3149 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3150 * stdio-common/Makefile (tests): Remove bug15.
3151 (bug15-ENV): Remove macro.
3152 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3153 anymore.
3154
d8e272ab
AJ
31552012-05-19 Andreas Jaeger <aj@suse.de>
3156 Roland McGrath <roland@hack.frob.com>
3157
3158 * manual/contrib.texi: Completely rewritten. It contains now an
3159 alphabetical list of contributors and their contributions.
3160
4a56a162
RH
31612012-05-21 Richard Henderson <rth@twiddle.net>
3162
3163 * misc/getauxval.c (__getauxval): Use unsigned long int.
3164 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3165 (getauxval): Use unsigned long int.
3166
d024d23c
L
31672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3168
3169 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3170
cbc00a03
RM
31712012-05-21 Roland McGrath <roland@hack.frob.com>
3172
3173 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3174 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3175 __alignof__ (long double).
3176
478143fa
AZ
31772012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3178
3179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3180
c7683a6d
RH
31812012-05-20 Richard Henderson <rth@twiddle.net>
3182
3183 * misc/getauxval.c: New file.
3184 * misc/sys/auxv.h: New file.
3185 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3186 (routines): Add getauxval.
3187 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3189 * elf/dl-sysdep.c (_dl_auxv): Remove.
3190 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3191 * elf/dl-support.c (_dl_auxv): New variable.
3192 (_dl_aux_init): Initialize it.
3193 * manual/startup.texi (Auxiliary Vector): New node.
3194 * sysdeps/generic/bits/hwcap.h: New file.
3195 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3196 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3197 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3198 * sysdeps/sparc/sysdep.h: ... here. Include it.
3199 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3200 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3202 Update.
c7683a6d
RH
3203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3206 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3211
a6f1845d
AZ
32122012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3213
3214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3215
cbcbe830
DM
32162012-05-19 David S. Miller <davem@davemloft.net>
3217
3218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3219
e0b16cc2
JM
32202012-05-19 Joseph Myers <joseph@codesourcery.com>
3221
3222 [BZ #14123]
3223 * math/s_ccosh.c: Include <float.h>
3224 (__ccosh): Avoid internal overflow calculating sinh and cosh
3225 values before multiplying by sin and cos values.
3226 * math/s_ccoshf.c: Likewise.
3227 * math/s_ccoshl.c: Likewise.
3228 * math/s_csin.c: Likewise.
3229 * math/s_csinf.c: Likewise.
3230 * math/s_csinl.c: Likewise.
3231 * math/s_csinh.c: Likewise.
3232 * math/s_csinhf.c: Likewise.
3233 * math/s_csinhl.c: Likewise.
3234 * math/libm-test.inc (ccos_test): Add more tests.
3235 (ccosh_test): Likewise.
3236 (csin_test): Likewise.
3237 (csinh_test): Likewise.
3238 * sysdeps/i386/fpu/libm-test-ulps: Update.
3239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3240
6ad13e08
L
32412012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3242
f66f0ce8
L
3243 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3244 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3245
6ad13e08
L
3246 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3247
b1d072a7
JM
32482012-05-19 Joseph Myers <joseph@codesourcery.com>
3249
3250 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3251 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3252 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3253 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3254 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3255 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3256 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3257 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3258 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3259 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3260 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3261 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3262 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3263 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3264 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3265 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3266 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3267 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3268 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3269 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3270 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3271 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3272 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3273 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3274 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3275 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3276 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3277 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3278 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3279 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3280 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3281
9eae47cb
AJ
32822012-05-18 Andreas Jaeger <aj@suse.de>
3283
3284 * csu/.gitignore: Delete.
3285
bb07f69f
L
32862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3287
3288 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3289 (timex): Use __syscall_slong_t.
3290
e6bdb741
AJ
32912012-05-18 Andreas Jaeger <aj@suse.de>
3292 Carlos O'Donell <carlos_odonell@mentor.com>
3293
3294 * manual/install.texi (Configuring and compiling): Update
3295 description about files modified in the source directory.
d6c33fda 3296 * INSTALL: Regenerated.
e6bdb741 3297
1b74487e
L
32982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3299
3300 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3301 value. Use "or" to set return value to -1.
3302 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3303 negate return value.
3304
a88b64b9
TMQMF
33052012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3306
3307 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3308 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3309 failure if the compiler has Graphite support disabled.
3310 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3311 Likewise.
3312 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3313 CFLAGS-memmove.c): Likewise.
3314 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3315 Likewise.
3316
3707636e
L
33172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3318
610b8622
L
3319 * sysdeps/x86_64/x32/_itoa.h: New file.
3320
7cd195df
L
3321 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3322 getdents system call only if kernel and user dirents have the
3323 same d_ino and d_off.
3324
94b07d20
L
3325 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3326 LLONG_MAX != LONG_MAX.
3327 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3328 (_fitoa_word): Likewise.
3329
18298070
L
3330 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3331 years.
3332 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3333 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3334 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3335
553c7ea4
L
3336 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3337 include <bits/wordsize.h>. Check __x86_64__ instead of
3338 __WORDSIZE.
3339 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3340 if __x86_64__ is defined. Use anonymous union on fpstate.
3341
3707636e
L
3342 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3343 anonymous union.
3344
b53ef01a
AS
33452012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3346
37fb1dc0
AS
3347 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3348 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3349 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3350 Refer to _rtld_local_ro instead of _rtld_global_ro.
3351 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3352 Likewise.
3353 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3354 Likewise.
3355 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3356 Likewise.
3357 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3358 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3359 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3360
b53ef01a
AS
3361 * sysdeps/powerpc/powerpc32/dl-machine.c
3362 (__elf_machine_runtime_setup) [PROF]: Don't reference
3363 _dl_prof_resolve.
3364
7a185db2
AJ
33652012-05-18 Andreas Jaeger <aj@suse.de>
3366
3367 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3368 function only available for GCCs before 3.4 since GCC 3.4
3369 introduced a builtin.
3370 (lrint): Likewise.
3371 (llrintf): Likewise.
3372 (llrint): Likewise.
3373 (fmaxf): Likewise.
3374 (fmax): Likewise.
3375 (fminf): Likewise.
3376 (fmin): Likewise.
3377 (rint): Likewise.
3378 (rintf): Likewise.
3379 (nearbyint): Likewise.
3380 (nearbyintf): Likewise.
3381 (ceil): Likewise.
3382 (ceilf): Likewise.
3383 (floor): Likewise.
3384 (floorf): Likewise.
3385
3e5aef87
L
33862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3387
428bd707
L
3388 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3389 on both fields and cast pointer to __syscall_ulong_t.
3390
3e5aef87
L
3391 * bits/types.h (__fsword_t): New type.
3392 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3393 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3394 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3395 (__FSWORD_T_TYPE): Likewise.
3396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3397 (__FSWORD_T_TYPE): Likewise.
3398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3399 (__FSWORD_T_TYPE): Likewise.
3400 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3401 (__FSWORD_T_TYPE): Likewise.
3402 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3403 __SWORD_TYPE with __fsword_t.
3404 (statfs64): Likewise.
3405
1ba7c3dc
DM
34062012-05-17 David S. Miller <davem@davemloft.net>
3407
3408 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3409
59910343
AJ
34102012-05-17 Andreas Jaeger <aj@suse.de>
3411
3412 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3413 warning.
3414
2e4c1e9e
L
34152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3416
3417 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3418
de7f5ce7
AJ
34192012-05-17 Andreas Jaeger <aj@suse.de>
3420
3421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3422 when it is used.
3423
286abc3d
CM
34242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3425
3426 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3427
477cc68e
L
34282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3429
3430 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3431 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3432
1a0994f5
CD
34332012-05-17 Andreas Jaeger <aj@suse.de>
3434 Carlos O'Donell <carlos_odonell@mentor.com>
3435
3436 [BZ #14059]
3437 * sysdeps/x86_64/multiarch/init-arch.h
3438 (bit_YMM_Usable): Rename to...
3439 (bit_AVX_Usable): ... this.
3440 (bit_FMA4_Usable): New macro.
3441 (bit_XMM_state): New macro.
3442 (bit_YMM_state): New macro.
3443 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3444 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3445 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3446 (CPUID_OSXSAVE): New macro.
3447 (CPUID_AVX): New macro.
3448 (CPUID_FMA4): New macro.
3449 (index_YMM_Usable): Rename to...
3450 (index_AVX_Usable): ... this.
3451 (HAS_AVX): Use HAS_ARCH_FEATURE.
3452 (HAS_FMA4): Likewise.
3453 (HAS_YMM_USABLE): Remove.
3454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3455 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3456 are present.
3457 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3458 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3459 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3460 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3461 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3462
0af797de
CM
34632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3464
3465 * math/libm-test.c: Support platforms without multiple rounding modes.
3466 * math/bug-nextafter.c: Support platforms without FP exceptions.
3467 * math/bug-nexttoward.c: Likewise.
3468 * math/test-fenv.c: Likewise.
3469 * math/test-misc.c: Likewise.
3470 * stdlib/bug-getcontext.c: Likewise.
3471
e39745ff
AJ
34722012-05-17 Andreas Jaeger <aj@suse.de>
3473
3474 * manual/examples/search.c (critter_cmp): Change signature to
3475 avoid warnings.
3476 * manual/string.texi (Collation Functions): Likewise.
3477
48970aba
L
34782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3479
3480 * bits/types.h: Fold copyright years.
3481 * bits/typesizes.h: Likewise.
3482 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3484 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3486 * time/time.h: Likewise.
3487
bedee953
PP
34882012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3489
3490 [BZ #208]
3491 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3492 in instead of returning them. Return void.
3493 (__libc_mallinfo): Accumulate over all arenas.
3494 (__malloc_stats): Adjust for change in int_mallinfo interface.
3495
61653dfb
RM
34962012-05-16 Roland McGrath <roland@hack.frob.com>
3497
30b99d79
RM
3498 [BZ #10375]
3499 * configure.in (NM): Add AC_CHECK_TOOL for it.
3500 (libc_extra_cflags): New substituted variable.
3501 Check for -fstack-protector being used implicitly.
3502 * configure: Regenerated.
3503 * config.make.in (config-extra-cflags): New variable,
3504 gets @libc_extra_cflags@.
3505 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3506
61653dfb
RM
3507 [BZ #10375]
3508 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3509 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3510 * configure: Regenerated.
3511 * config.make.in (CPPUNDEFS): New substituted variable.
3512 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3513 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3514 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3515
661768bb
L
35162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3517
3518 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3519 (mq_attr): Use __syscall_slong_t.
3520
d4261567
L
35212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3522
3523 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3524 Check __x86_64__ instead of __WORDSIZE.
3525 (_STAT_VER_LINUX): Likewise.
3526 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3527 __syscall_ulong_t and __syscall_slong_t.
3528 (stat64): Likewise.
3529
cf3ff365
L
35302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3531
3532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3533
76cf3e4d
L
35342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3535
3536 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3537
a637753a
L
35382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3539
3540 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3541 __syscall_ulong_t.
3542
d5e05119
L
3543 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3544 include <bits/wordsize.h>. Check __x86_64__ instead of
3545 __WORDSIZE.
3546 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3547 defined.
3548 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3549
f62ee380
L
3550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3551 include <bits/wordsize.h>. Check __x86_64__ instead of
3552 __WORDSIZE.
3553 (user_regs_struct): Use "__extension__ unsigned long long"
3554 instead of "unsigned long" if __x86_64__ is defined.
3555 (user): Likewise. Pad after pointer field if __ILP32__ is
3556 defined.
3557
4e124ced
JM
35582012-05-16 Joseph Myers <joseph@codesourcery.com>
3559
6a3951a0
JM
3560 * configure.in (makeinfo): Require version 4.5 or later. Allow
3561 versions 5 to 9.
3562 * configure: Regenerated.
3563 * manual/install.texi (texinfo): Increase version requirement to
3564 4.5 or later.
3565 * INSTALL: Regenerated.
3566
4e124ced
JM
3567 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3568
953ca31a
L
35692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3570
3571 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3572
617aca05
L
3573 * sysdeps/x86_64/x32/ffs.c: New file.
3574
5762f7ae
L
3575 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3576 __syscall_ulong_t.
3577 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3578 defined. Use __syscall_ulong_t.
3579 (shminfo): Use __syscall_ulong_t.
3580 (shm_info): Likewise.
3581
a26b6856
L
3582 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3583 __syscall_ulong_t.
3584
cb2b9ef7
L
3585 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3586 <bits/wordsize.h>.
3587 (msgqnum_t): Use __syscall_ulong_t.
3588 (msglen_t): Likewise.
3589 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3590 __syscall_ulong_t.
3591
34683bb0
L
3592 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3593 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3594
84a68786
L
3595 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3596
48baa5f1
L
3597 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3598 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3599
180be88b
L
3600 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3601 __syscall_slong_t.
3602
5e90c8ad
L
3603 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3604 include <bits/wordsize.h>. Check __x86_64__ instead of
3605 __WORDSIZE.
3606
23dfb58b
L
3607 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3608 "unsigned long long int" if __x86_64__ is defined.
3609 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3610
ce5d54b0
L
3611 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3612 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3613 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3614
13dc9eac
L
3615 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3616 <stdint.h>.
3617 (GET_PC): Cast to uintptr_t first.
3618 (GET_FRAME): Likewise.
3619 (GET_STACK): Likewise.
3620
a7895d15
L
3621 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3622 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3623 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3624 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3625 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3626 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3627 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3628 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3629 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3630 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3631 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3632 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3633 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3634 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3635 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3636 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3637 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3638 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3639 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3640 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3641 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3642 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3643 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3644 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3645 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3646 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3647 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3648 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3649 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3650
656416c9
AS
36512012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3652
5bd66283
AS
3653 * Makerules (+depfiles): Also collect depfiles from .oS in
3654 $(extra-objs).
3655 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3656 .oS, $(libnldbl-routines)).
3657
656416c9
AS
3658 * Makerules (native-compile-mkdep-flags): Define.
3659 * sunrpc/Makefile (extra-objs): Add $(addprefix
3660 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3661 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3662 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3663 calling $(make-target-directory).
3664
a46f2169
L
36652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3666
3667 * bits/types.h (__snseconds_t): Removed.
3668 * time/time.h (struct timespec): Replace __snseconds_t with
3669 __syscall_slong_t.
3670 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3671 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3672 Likewise.
3673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3674 (__SNSECONDS_T_TYPE): Likewise.
3675 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3676 (__SNSECONDS_T_TYPE): Likewise.
3677 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3678 (__SNSECONDS_T_TYPE): Likewise.
3679
6af6528b
L
36802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3681
3682 * sysdeps/mach/hurd/bits/typesizes.h
3683 (__SYSCALL_SLONG_TYPE): New macro.
3684 (__SYSCALL_ULONG_TYPE): Likewise.
3685
de986b56
L
36862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3687
3688 * bits/types.h (__syscall_slong_t): New type.
3689 (__syscall_ulong_t): Likewise.
3690
3691 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3692 (__SYSCALL_ULONG_TYPE): Likewise.
3693 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3694 (__SYSCALL_SLONG_TYPE): Likewise.
3695 (__SYSCALL_ULONG_TYPE): Likewise.
3696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3697 (__SYSCALL_SLONG_TYPE): Likewise.
3698 (__SYSCALL_ULONG_TYPE): Likewise.
3699 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3700 (__SYSCALL_SLONG_TYPE): Likewise.
3701 (__SYSCALL_ULONG_TYPE): Likewise.
3702
85736dc7
L
37032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3704
3705 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3706 Add sigaltstack-offsets.sym.
3707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3708 <sigaltstack-offsets.h>.
3709 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3710 longjmp_msg pointer.
3711 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3712 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3713 signal stack.
3714 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3715
cc03b296
JM
37162012-05-15 Joseph Myers <joseph@codesourcery.com>
3717
a9538892
JM
3718 * elf/stackguard-macros.h: Remove file.
3719 * sysdeps/generic/stackguard-macros.h: New file.
3720 * sysdeps/i386/stackguard-macros.h: Likewise.
3721 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3722 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3723 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3724 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3725 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3726 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3727 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3728 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3729 <elf/stackguard-macros.h>.
3730
cc03b296
JM
3731 [BZ #14109]
3732 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3733 __aligned__ in attribute.
3734 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3735 (gregset_t): Likewise.
3736
93171016
L
37372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3738
3739 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3740 * sysdeps/x86_64/64/Implies-after: Here. New file.
3741 * sysdeps/x86_64/x32/Implies-after: New file.
3742
d86813a0
L
37432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3744
3745 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3746 and access return value for _dl_profile_fixup. Use R10_LP to
3747 load frame size.
3748
2953ec75
L
37492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3750
3751 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3752
3b550e9e
L
37532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3754
3755 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3756 * sysdeps/x86_64/x32/sysdep.h: New file.
3757
eda41706
L
37582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3759
3760 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3761 * sysdeps/x86_64/setjmp.S: Likewise.
3762
9ea01d93
AZ
37632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3764
3765 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3766 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3767 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3768 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3769 remove unused global constant.
3770
02a91938
CM
37712012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3772
3773 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3774 include of <not-cancel.h>.
3775
6540185f
RM
37762012-05-15 Roland McGrath <roland@hack.frob.com>
3777
3778 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3779
509072a0
AJ
37802012-05-15 Jeff Law <law@redhat.com>
3781 Andreas Jaeger <aj@suse.de>
3782
3783 [BZ #13594]
3784 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3785 out from...
3786 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3787 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3788 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3789 code changing __hst_map_handle.map.
3790
ba75122d
RM
37912012-05-15 Roland McGrath <roland@hack.frob.com>
3792
3793 * configure.in (sysnames): Look for Implies-before and Implies-after
3794 files.
3795 * configure: Regenerated.
3796
890d8bd8
L
37972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3798
3799 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3800 8-byte data alignment with LP_SIZE alignment.
3801
f6ee6623
L
38022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3803
3804 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3805 into R10_LP.
3806
ea2626f6
L
38072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3808
3809 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3810
085f715e
L
38112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3812
3813 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3814 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3815 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3816 Likewise.
3817 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3818
be8498fc
L
38192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3820
3821 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3822 (stackinfo_sub_sp): Likewise.
3823
70bc83b9
L
38242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3825
3826 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3827 RAX_LP.
3828
9bc0b730
L
38292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3830
3831 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3832 into R*_LP.
3833
6d2850e7
L
38342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3835
3836 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3837 sizes into R*_LP.
3838
3cb84561
L
38392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3840
3841 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3842
54e2ed81
L
38432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3844
3845 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3846 into R11_LP and load __x86_64_shared_cache_size_half into
3847 R8_LP.
3848
8a17f349
L
38492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3850
3851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3852 R8_LP.
3853
777b1eea
AZ
38542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3855
3856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3857 logb for POWER7.
3858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3859 logbf for POWER7.
3860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3861 logbl for POWER7.
3862 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3863 powerpc32/power7/fpu/s_logb.c via #include.
3864 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3865 powerpc32/power7/fpu/s_logbf.c via #include.
3866 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3867 powerpc32/power7/fpu/s_logbl.c via #include.
3868
d20d4ac2
JM
38692012-05-15 Joseph Myers <joseph@codesourcery.com>
3870
3871 * README.libm: Remove file.
3872
6cdef1ab
L
38732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3874
3875 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3876 count for x32. Use R*_LP and omit operand-size suffix.
3877
0b254d8f
L
38782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3879
3880 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3881 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3882 * sysdeps/x86_64/x32/shlib-versions: New file.
3883
ceb809dc
RM
38842012-05-14 Roland McGrath <roland@hack.frob.com>
3885
3886 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3887 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3888 Use _dl_fatal_printf instead.
3889
37f1abd4
JM
38902012-05-14 Joseph Myers <joseph@codesourcery.com>
3891
3892 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3893 set if not set by the user. Do not allow for being unset.
3894 * sysdeps/unix/sysv/linux/configure: Regenerated.
3895
11de3a33
L
38962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3897
3898 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3899 the `q' suffix from lea and replace .quad with ASM_ADDR.
3900
e02f153a
L
39012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3902
3903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3904 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3905 instead of $17.
3906 (PTR_DEMANGLE): Likewise.
3907
520ae0fd
L
39082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3909
3910 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3911 (LP_OP): Likewise.
3912 (ASM_ADDR): Likewise.
3913 (RAX_LP): Likewise.
3914 (RBP_LP): Likewise.
3915 (RBX_LP): Likewise.
3916 (RCX_LP): Likewise.
3917 (RDI_LP): Likewise.
3918 (RSI_LP): Likewise.
3919 (RSP_LP): Likewise.
3920 (R8_LP): Likewise.
3921 (R9_LP): Likewise.
3922 (R10_LP): Likewise.
3923 (R10_LP): Likewise.
3924 (R11_LP): Likewise.
3925 (R12_LP): Likewise.
3926 (R13_LP): Likewise.
3927 (R14_LP): Likewise.
3928 (R15_LP): Likewise.
3929
b985be81
L
39302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3931
3932 * sysdeps/x86_64/x32/dl-machine.h: New file.
3933
6a4888ff
AJ
39342012-05-14 Andreas Jaeger <aj@suse.de>
3935
3936 * manual/Makefile (subdir): Remove export of subdir.
3937 (all): Remove target.
3938 (.PHONY): Remove all from list.
3939 (mkinstalldirs): Remove.
3940 (.PHONY): Remove installdirs from list.
3941 ($(inst_infodir)/libc.info): Use make-target-directory.
3942 (installdirs): Remove.
3943 (subdir_%): Remove.
3944 (glibc-targets): Remove.
3945 (lib): Remove.
3946 (stubs): Remove.
3947 ($(objpfx)stubs ../po/manual.pot): Remove.
3948 ($(objpfx)stamp%): Remove.
3949 (make-target-directory): Remove.
3950 (subdir_install): Remove.
3951 (routines): Remove.
3952 (aux): Remove.
3953 (sources): Remove.
3954 (objects): Remove.
3955 (headers): Remove.
3956
3957 [BZ #13750]
3958 * manual/.gitignore: Remove, it's not needed anymore.
3959 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3960 all files in it.
3961 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3962 directory.
3963 (texis): Renamed to $(objpfx)texis.
3964 (texis-path): New, contains path to generated files.
3965 (chapters.%): Use texis-path for complete path, add extra argument
3966 libc-texinfo.sh.
3967 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3968 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3969 (summary,texi, stamp-summary): Use complete path of
3970 files. Generate files in build dir.
3971 (dir-add.texi): Build in build dir.
3972 (libm-err.texi,stamp-libm-err): Likewise.
3973 (version.texi, stamp-version): Likewise.
3974 (.%c.texi): Likewise.
3975 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3976 (mostlyclean): Remove target.
3977 (realclean): Remove target.
3978 (generated): Add new variable with contents from mostlyclean and
3979 realclean, remove entries duplicated in common-mostlyclean, add
3980 stamp-libm-err and stamp-version.
3981 (generated-dirs): Add libc directory.
3982 ($(inst_infodir)/libc.info): Install files from build dir.
3983
3984 * manual/install.texi (Configuring and compiling): Adjust since
3985 the info files are not part of the tar ball anymore.
3986
7ac77294
AJ
39872012-05-14 Andreas Jaeger <aj@suse.de>
3988
3989 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3990 variable.
3991
ffb7875d
JM
39922012-05-14 Joseph Myers <joseph@codesourcery.com>
3993
3994 [BZ #13717]
3995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3996 to 2.2.0 where earlier.
3997 * sysdeps/unix/sysv/linux/configure: Regenerated.
3998 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3999 Remove conditional code.
4000 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4001 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4002 Remove conditional code.
4003 [!__NR_lchown]: Likewise.
4004 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4005 [__NR_lchown]: Likewise.
4006 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4007 comment referencing __ASSUME_LCHOWN_SYSCALL.
4008 * sysdeps/unix/sysv/linux/i386/sigaction.c
4009 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4010 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4011 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4012 Remove conditional code.
4013 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4014 (__protocol_available): Remove #if 0 code.
4015 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4016 conditional code.
4017 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4018 * sysdeps/unix/sysv/linux/kernel-features.h
4019 (__ASSUME_GETCWD_SYSCALL): Don't define.
4020 (__ASSUME_REALTIME_SIGNALS): Likewise.
4021 (__ASSUME_PREAD_SYSCALL): Likewise.
4022 (__ASSUME_PWRITE_SYSCALL): Likewise.
4023 (__ASSUME_POLL_SYSCALL): Likewise.
4024 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4025 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4026 non-SPARC.
4027 (__ASSUME_SIOCGIFNAME): Don't define.
4028 (__ASSUME_MSG_NOSIGNAL): Likewise.
4029 (__ASSUME_SENDFILE): Define unconditionally.
4030 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4031 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4032 conditional code.
4033 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4034 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4035 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4036 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4037 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4038 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4039 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4041 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4044 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4047 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4053 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4056 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4059 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4062 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4064 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4065 Remove conditional code.
4066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4067 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4068 Remove conditional code.
4069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4070 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4071 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4072 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4073 Remove conditional code.
4074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4075 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4076 Remove conditional code.
4077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4078 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4079 Remove conditional code.
4080 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4081 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4082 Remove conditional code.
4083 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4084 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4085 Remove conditional code.
4086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4087 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4088 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4090 * sysdeps/unix/sysv/linux/sigaction.c
4091 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4092 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4093 * sysdeps/unix/sysv/linux/sigpending.c
4094 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4095 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4096 * sysdeps/unix/sysv/linux/sigprocmask.c
4097 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4098 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4099 * sysdeps/unix/sysv/linux/sigsuspend.c
4100 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4101 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4102 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4103 (__libc_missing_rt_sigs): Remove.
4104 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4105 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4106 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4107 Remove conditional code.
4108 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4109 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4110 return 1.
4111 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4112 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4113 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4114 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4115
1bfb7291
AJ
41162012-05-14 Andreas Jaeger <aj@suse.de>
4117
caae5a81
AJ
4118 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4119 it's not used in glibc.
4120 (__coshm1): Likewise.
4121 (__acosh1p): Likewise.
4122 (__sgn): Likewise.
4123
1bfb7291
AJ
4124 * manual/string.texi (Copying and Concatenation): Add missing
4125 variable in concat example.
4126 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4127
c044d724
L
41282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4129
144c5467 4130 [BZ #14103]
c044d724
L
4131 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4132 __builtin_clzl with __builtin_clzll.
4133
2523c62b
L
41342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4135
4136 [BZ #14104]
4137 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4138 libc_freeres_ptr.
4139
d7bb4c42
LD
41402012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4141
4142 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4143 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4144 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4145 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4146
9dc4e1fb
MF
41472012-05-14 Mike Frysinger <vapier@gentoo.org>
4148
4149 * NEWS: Update ia64 info.
4150
c7df0112
AS
41512012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4152
4153 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4154 used as bcopy.
4155
dc70356c
TS
41562012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4157
4158 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4159 * sysdeps/unix/syscalls.list (dup3): Likewise.
4160 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4161 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4162
9fb1a21f
L
41632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4164
4165 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4166 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4167
4822a2a5
L
41682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4169
4170 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4171 thread pointer.
4172 (TLS_IE): Use mov/add instead of movq/addq to load thread
4173 pointer.
4174 (TLS_GD_PREFIX): New.
4175 (TLS_GD): Use it.
4176
842b81d6
DM
41772012-05-11 David S. Miller <davem@davemloft.net>
4178
4179 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4180 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4181 (_FPU_SETCW): Likewise.
4182
1cf463cd
L
41832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4184
4185 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4186 is 32-byte aligned.
4187
60cc4a18
AS
41882012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4189
4190 [BZ #11837]
4191 * iconvdata/gb18030.c: Update tables.
4192 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4193 characters specially.
4194 (BODY for TO_LOOP): Add encoding of missing ranges.
4195
febb44a4
TS
41962012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4197
4198 [BZ #13673]
4199 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4200 * sysdeps/mach/hurd/dup3.c: Likewise.
4201 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4202 * sysdeps/powerpc/memmove.c:: Likewise.
4203
0a10fb9e
L
42042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4205
4206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4207 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4208
df8a552f
L
42092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4210
4211 * elf/elf.h (R_X86_64_RELATIVE64): New.
4212 (R_X86_64_NUM): Updated.
4213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4214 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4215 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4216 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4217 tst-quad1pie tst-quad2pie
4218 (modules-names): Add tst-quadmod1 tst-quadmod2.
4219 ($(objpfx)tst-quad1): New dependency.
4220 ($(objpfx)tst-quad2): Likewise.
4221 ($(objpfx)tst-quad1pie): Likewise.
4222 ($(objpfx)tst-quad2pie): Likewise.
4223 * sysdeps/x86_64/tst-quad1.c: New file.
4224 * sysdeps/x86_64/tst-quad1pie.c: New file.
4225 * sysdeps/x86_64/tst-quad2.c: Likewise.
4226 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4227 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4228 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4229 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4230 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4231
f34d6f84
ST
42322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4233
f42d41d1
ST
4234 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4235 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4236 * streams/stropts.h (t_scalar_t): Define type.
4237
3c3571fc
ST
4238 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4239 (_PATH_PRESERVE): Set to "/var/lib".
4240 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4241
61f06bd3
ST
4242 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4243 instead of int.
4244
918d4d71
ST
4245 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4246 if __dir_mkfile succeeded.
4247
f34d6f84
ST
4248 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4249 checking for _hurd_dtablesize. Unlock it right after having
4250 finished _hurd_dtable allocation.
4251
10589b4a
TS
42522012-05-10 Thomas Schwinge <thomas@schwinge.name>
4253
674cdbc7
TS
4254 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4255 * sysdeps/mach/hurd/configure: Regenerated.
4256 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4257 special-casing to...
4258 * sysdeps/gnu/configure.in: ... this new file.
4259 * sysdeps/unix/sysv/linux/configure: Regenerated.
4260 * sysdeps/gnu/configure: New generated file.
4261
8e41b99f
TS
4262 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4263 for Linux: use nsec instead of usec, as well as:
4264 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4265 members of type struct timespec.
4266 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4267 New macros.
4268 (struct stat64): Likewise.
4269 (_STATBUF_ST_NSEC): New macro.
4270 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4271
10589b4a
TS
4272 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4273 __strtoul_internal rather than strtoul.
4274
63643c85
PT
42752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4276
4277 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4278 and reject them.
4279
3faebe6a
ST
42802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4281
4282 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4283 which preserves existing values.
4284 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4285
c6474b07
PT
42862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4287
4288 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4289 TIMEOUT values. Return EINVAL for NFDS values either negative or
4290 greater than FD_SETSIZE.
4291
1043890b
ST
42922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4293
4294 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4295 allocated, call __vm_protect to finish enabling the existing space, and
4296 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4297 allocate the remainder.
4298
37ed8b9b
PT
42992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4300
4301 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4302 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4303
db653660
ST
43042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4305
37ed8b9b
PT
4306 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4307 sysdeps/mach/hurd/readlink.c.
b29d4053 4308
db653660
ST
4309 * posix/tst-sysconf.c (posix_options): Only use
4310 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4311 _POSIX_SYNCHRONIZED_IO when they are defined
4312 * sysdeps/mach/hurd/bits/posix_opt.h:
4313 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4314 (_XOPEN_REALTIME): Undefine macro.
4315 (_XOPEN_REALTIME_THREADS): Undefine macro.
4316 (_XOPEN_SHM): Undefine macro.
4317 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4318 macro to -1.
4319 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4320 macro to -1.
4321 (_POSIX_ASYNC_IO): Undefine macro.
4322 (_POSIX_PRIORITIZED_IO): Undefine macro.
4323 (_POSIX_SPIN_LOCKS): Define macro to -1.
4324
ee16e894
ST
4325 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4326 SA_NODEFER, SA_RESETHAND.
4327 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4328 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4329 F_DUPFD_CLOEXEC.
4330
6103ae3b
TS
43312012-05-10 Thomas Schwinge <thomas@schwinge.name>
4332
4333 * elf/Makefile (pldd-modules): Define unconditionally.
4334
80b4e5f3
TS
43352012-05-10 Thomas Schwinge <thomas@schwinge.name>
4336
4337 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4338
edadcbd6
ST
43392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4340
4341 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4342 Return ENOENT when name is empty.
4343 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4344
80694780
TS
43452012-05-10 Thomas Schwinge <thomas@schwinge.name>
4346
1792c087
TS
4347 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4348
80694780
TS
4349 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4350
6b645f0d
ST
43512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4352
80694780
TS
4353 Fix mlock in all cases except non-readable pages.
4354 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4355 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4356
6b645f0d
ST
4357 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4358 (__mkdir): When path is `/', just fail with EEXIST.
4359 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4360
e468f8a3
TS
43612012-05-10 Thomas Schwinge <thomas@schwinge.name>
4362
4363 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4364 <sys/uio.h> (for writev).
4365 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4366 and <sys/param.h> (for MIN).
4367
a4186cff
PT
43682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4369
4370 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4371 REQUESTED_TIME. Properly set the remaining time and return EINTR
4372 if interrupted.
4373
510bbf14
TS
43742012-05-10 Thomas Schwinge <thomas@schwinge.name>
4375
4376 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4377 Depend on against $(link-rpcuserlibs).
4378
5d5722e8
ST
43792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4380
a4186cff
PT
4381 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4382 (__libc_stack_end): Do not use attribute_relro.
4383 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4384 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4385 to libthread-provided value.
a4186cff
PT
4386 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4387 attribute_relro.
5d5722e8 4388
37233df9
TS
43892012-05-10 Thomas Schwinge <thomas@schwinge.name>
4390
be971a2b
TS
4391 [BZ #3748]
4392 * bits/libc-lock.h (__libc_once_get): New macro.
4393 * sysdeps/mach/bits/libc-lock.h: Likewise.
4394 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4395 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4396 instead of using implementation details.
4397
37233df9
TS
4398 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4399 * libio/freopen.c: Likewise.
4400 * libio/freopen64.c: Likewise.
4401 * misc/syslog.c: Likewise.
4402 * nscd/connections.c: Likewise.
4403 * nscd/netgroupcache.c: Likewise.
4404 * sysdeps/posix/getcwd.c: Likewise.
4405
38de94a5
RM
44062012-05-10 Roland McGrath <roland@hack.frob.com>
4407
4408 * math/w_ilogbf.c: Add #include <limits.h>.
4409
67530489
ST
44102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4411
a4186cff 4412 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4413 path instead of returning without unlocking.
4414
67530489
ST
4415 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4416 immediate-write ioctls.
4417 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4418
5aa3a74a
TS
44192012-05-10 Thomas Schwinge <thomas@schwinge.name>
4420
18bad2ae
TS
4421 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4422 __builtin_frame_address instead of making assumptions about the
4423 location of the return address relative to DATA. Force early load of
4424 the return address.
4425 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4426 __builtin_frame_address.
4427
5aa3a74a
TS
4428 dup3 for GNU Hurd.
4429 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4430 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4431 implement dup3 and do some further code clean-ups.
4432 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4433 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4434
ecd0de9a
ST
44352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4436
cd9fa985
ST
4437 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4438
a4186cff
PT
4439 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4440 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4441 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4442 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4443 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4444 d->port.lock.
802ca5a5 4445
a4186cff
PT
4446 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4447 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4448 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4449
bcf55240
TS
44502012-05-10 Thomas Schwinge <thomas@schwinge.name>
4451
6960eb42
TS
4452 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4453 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4454 definitions.
4455
eb43375f
TS
4456 accept4 for GNU Hurd.
4457 * include/sys/socket.h (__libc_accept4): New prototype.
4458 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4459 to implement __libc_accept4.
4460 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4461 __libc_accept4.
4462 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4463
bcf55240
TS
4464 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4465 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4466 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4467 signal-defines.sym.
4468
6178c55b
ST
44692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4470
a4186cff 4471 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4472
6f080c2f
TS
44732012-05-10 Thomas Schwinge <thomas@schwinge.name>
4474
4475 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4476 assertion on O_CLOEXEC flag.
4477 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4478 * hurd/intern-fd.c: Likewise.
4479 * hurd/port2fd.c: Likewise.
4480
bcfe3a54
ST
44812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4482
4483 [BZ #3906]
4484 * bits/in.h (IPV6_PKTINFO): Define new macro.
4485 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4486
89c9aa49
AZ
44872012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4488
4489 [BZ #13954]
4490 [BZ #13955]
4491 [BZ #13956]
4492 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4493 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4494 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4495 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4497 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4498 * math/libm-test.inc (logb_test) : Additional logb tests.
4499
021db4be
AJ
45002012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4501 Andreas Jaeger <aj@suse.de>
4502
4503 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4504 * configure: Regenerated.
4505 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4506 * config.make.in (link-obsolete-rpc): New substituted variable.
4507 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4508 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4509 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4510 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4511 so that libc.a contains the symbols.
4512 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4513 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4514 * sunrpc/auth_none.c: Likewise.
4515 * sunrpc/auth_unix.c: Likewise.
4516 * sunrpc/authdes_prot.c: Likewise.
4517 * sunrpc/authuxprot.c: Likewise.
4518 * sunrpc/clnt_gen.c: Likewise.
4519 * sunrpc/clnt_perr.c: Likewise.
4520 * sunrpc/clnt_raw.c: Likewise.
4521 * sunrpc/clnt_simp.c: Likewise.
4522 * sunrpc/clnt_tcp.c: Likewise.
4523 * sunrpc/clnt_udp.c: Likewise.
4524 * sunrpc/clnt_unix.c: Likewise.
4525 * sunrpc/des_crypt.c: Likewise.
4526 * sunrpc/des_soft.c: Likewise.
4527 * sunrpc/get_myaddr.c: Likewise.
4528 * sunrpc/key_call.c: Likewise.
4529 * sunrpc/key_prot.c: Likewise.
4530 * sunrpc/netname.c: Likewise.
4531 * sunrpc/pm_getmaps.c: Likewise.
4532 * sunrpc/pm_getport.c: Likewise.
4533 * sunrpc/pmap_clnt.c: Likewise.
4534 * sunrpc/pmap_prot.c: Likewise.
4535 * sunrpc/pmap_prot2.c: Likewise.
4536 * sunrpc/pmap_rmt.c: Likewise.
4537 * sunrpc/publickey.c: Likewise.
4538 * sunrpc/rpc_cmsg.c: Likewise.
4539 * sunrpc/rpc_common.c: Likewise.
4540 * sunrpc/rpc_dtable.c: Likewise.
4541 * sunrpc/rpc_prot.c: Likewise.
4542 * sunrpc/rpc_thread.c: Likewise.
4543 * sunrpc/rtime.c: Likewise.
4544 * sunrpc/svc.c: Likewise.
4545 * sunrpc/svc_auth.c: Likewise.
4546 * sunrpc/svc_raw.c: Likewise.
4547 * sunrpc/svc_run.c: Likewise.
4548 * sunrpc/svc_tcp.c: Likewise.
4549 * sunrpc/svc_udp.c: Likewise.
4550 * sunrpc/svc_unix.c: Likewise.
4551 * sunrpc/svcauth_des.c: Likewise.
4552 * sunrpc/xcrypt.c: Likewise.
4553 * sunrpc/xdr.c: Likewise.
4554 * sunrpc/xdr_array.c: Likewise.
4555 * sunrpc/xdr_float.c: Likewise.
4556 * sunrpc/xdr_intXX_t.c: Likewise.
4557 * sunrpc/xdr_mem.c: Likewise.
4558 * sunrpc/xdr_rec.c: Likewise.
4559 * sunrpc/xdr_ref.c: Likewise.
4560 * sunrpc/xdr_sizeof.c: Likewise.
4561 * sunrpc/xdr_stdio.c: Likewise.
4562
b5c086a2
RM
45632012-05-10 Roland McGrath <roland@hack.frob.com>
4564
4565 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4566 change. Update copyright years.
4567
6d74dd09
JM
45682012-05-10 Joseph Myers <joseph@codesourcery.com>
4569
4570 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4571
28e72501
MK
45722012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4573 Joseph Myers <joseph@codesourcery.com>
4574 Paul Pluzhnikov <ppluzhnikov@google.com>
4575
4576 [BZ #14012]
4577 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4578 requiring rpcgen.
4579 [cross-compiling] (extra-libs): Likewise.
4580 [cross-compiling] (extra-libs-others): Likewise.
4581 [cross-compiling] (librpcsvc-routines): Likewise.
4582 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4583 [cross-compiling] (omit-deps): Likewise.
4584 (sunrpc-CPPFLAGS): New variable.
4585 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4586 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4587 (cross-rpcgen-objs): New variable.
4588 (extra-objs): Append $(cross-rpcgen-objs).
4589 ($(cross-rpcgen-objs)): New rule.
4590 ($(objpfx)cross-rpcgen): Likewise.
4591 (rpcgen-cmd): Define to use $(built-program-file). Expand
4592 comment.
4593 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4594 ($(objpfx)x%.stmp): Likewise.
4595 * sunrpc/proto.h [IS_IN_build] (_): Define.
4596 [IS_IN_build] (_libc_intl_domainname): Likewise.
4597
c8c59454
L
45982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4599
4600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4601 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4602 and R_X86_64_TPOFF64.
4603
6f27cd16
JM
46042012-05-10 Joseph Myers <joseph@codesourcery.com>
4605
4606 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4607 sysdeps/unix/sysv/syscalls.list.
4608 (stime): Likewise.
4609 (utime): Likewise.
4610 * sysdeps/unix/sysv/syscalls.list: Remove file.
4611
02467e1c
PE
46122012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4613
4614 [BZ #3440]
4615 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4616 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4617 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4618 (__LC_IDENTIFICATION): Make these macros useful in #if
4619 expressions, as required by C99.
4620
da392631
AS
46212012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4622
4623 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4624 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4625 after this.
4626
8115f29b
L
46272012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4628
4629 * stdlib/longlong.h: Updated from GCC.
4630
bdd74070
AJ
46312012-05-09 Andreas Jaeger <aj@suse.de>
4632
edfe0dbe
AJ
4633 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4634 default is first entry.
4635 (run_mode): Set type.
4636 (main): Remove informal message about syslog.
4637 (options): Fix typo.
4638
bcfe3a54
ST
4639 [BZ #14053]
4640 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4641 to asm.
bcfe3a54
ST
4642 (lrint): Likewise.
4643 (llrintf): Likewise.
4644 (llrint): Likewise.
4645 (rint): Likewise.
4646 (rintf): Likewise.
4647 (nearbyint): Likewise.
4648 (nearbyintf): Likewise.
bdd74070 4649
91d8d69e
AJ
46502012-05-09 Andreas Jaeger <aj@suse.de>
4651 Pedro Alves <palves@redhat.com>
4652
4653 * nscd/nscd.c (run_mode): Use enum.
4654 (main): Cleanup coding style issue.
4655
bb90b80b
AJ
46562012-05-09 Alexandre Oliva <aoliva@redhat.com>
4657 Andreas Jaeger <aj@suse.de>
4658
bcfe3a54
ST
4659 * nscd/nscd.c (go_background): Replaced with...
4660 (run_mode): ... this.
bb90b80b 4661 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4662 (options): Add -F --foreground.
4663 (main): Implement it.
4664 (parse_opt): Parse it.
bb90b80b 4665
1a4b75a1
AJ
46662012-05-09 Andreas Jaeger <aj@suse.de>
4667
4668 [BZ #14083]
4669 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4670 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4671 -Wconversion warning.
4672 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4673 Likewise.
4674
b1cc2472
JM
46752012-05-09 Joseph Myers <joseph@codesourcery.com>
4676
4677 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4678 == 0.
4679 (LC_ALL): Use macro-int-constant.
4680 (LC_COLLATE): Likewise.
4681 (LC_CTYPE): Likewise.
4682 (LC_MESSAGES): Likewise.
4683 (LC_MONETARY): Likewise.
4684 (LC_NUMERIC): Likewise.
4685 (LC_TIME): Likewise.
4686 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4687 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4689 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4690 Specify type.
4691 [C99-based standards] (float_t): Expect type.
4692 [C99-based standards] (double_t): Expect type.
4693 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4694 type.
4695 [C99-based standards] (HUGE_VALL): Likewise.
4696 [C99-based standards] (INFINITY): Likewise.
4697 [C99-based standards] (NAN): Likewise.
4698 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4699 [C99-based standards] (FP_NAN): Likewise.
4700 [C99-based standards] (FP_NORMAL): Likewise.
4701 [C99-based standards] (FP_SUBNORMAL): Likewise.
4702 [C99-based standards] (FP_ZERO): Likewise.
4703 [C99-based standards] (FP_FAST_FMA): Use
4704 optional-macro-int-constant. Specify type. Require == 1.
4705 [C99-based standards] (FP_FAST_FMAF): Likewise.
4706 [C99-based standards] (FP_FAST_FMAL): Likewise.
4707 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4708 [C99-based standards] (FP_ILOGBNAN): Likewise.
4709 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4710 Specify type.
4711 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4712 [C99-based standards] (math_errhandling): Specify type.
4713 [ISO99 || ISO11] (signgam): Do not allow.
4714 [non-C99-based standards] (copysignf): Do not allow.
4715 [non-C99-based standards] (exp2f): Likewise.
4716 [non-C99-based standards] (log2f): Likewise.
4717 [non-C99-based standards] (modff): Allow.
4718 [non-C99-based standards] (erff): Do not allow.
4719 [non-C99-based standards] (erfcf): Likewise.
4720 [non-C99-based standards] (gammaf): Likewise.
4721 [non-C99-based standards] (hypotf): Likewise.
4722 [non-C99-based standards] (j0f): Likewise.
4723 [non-C99-based standards] (j1f): Likewise.
4724 [non-C99-based standards] (jnf): Likewise.
4725 [non-C99-based standards] (lgammaf): Likewise.
4726 [non-C99-based standards] (tgammaf): Likewise.
4727 [non-C99-based standards] (y0f): Likewise.
4728 [non-C99-based standards] (y1f): Likewise.
4729 [non-C99-based standards] (ynf): Likewise.
4730 [non-C99-based standards] (isnanf): Likewise.
4731 [non-C99-based standards] (acoshf): Likewise.
4732 [non-C99-based standards] (asinhf): Likewise.
4733 [non-C99-based standards] (atanhf): Likewise.
4734 [non-C99-based standards] (cbrtf): Likewise.
4735 [non-C99-based standards] (expm1f): Likewise.
4736 [non-C99-based standards] (ilogbf): Likewise.
4737 [non-C99-based standards] (log1pf): Likewise.
4738 [non-C99-based standards] (logbf): Likewise.
4739 [non-C99-based standards] (nextafterf): Likewise.
4740 [non-C99-based standards] (remainderf): Likewise.
4741 [non-C99-based standards] (rintf): Likewise.
4742 [non-C99-based standards] (scalbf): Likewise.
4743 [non-C99-based standards] (copysignl): Likewise.
4744 [non-C99-based standards] (exp2l): Likewise.
4745 [non-C99-based standards] (log2l): Likewise.
4746 [non-C99-based standards] (modfl): Allow.
4747 [non-C99-based standards] (erfl): Do not allow.
4748 [non-C99-based standards] (erfcl): Likewise.
4749 [non-C99-based standards] (gammal): Likewise.
4750 [non-C99-based standards] (hypotl): Likewise.
4751 [non-C99-based standards] (j0l): Likewise.
4752 [non-C99-based standards] (j1l): Likewise.
4753 [non-C99-based standards] (jnl): Likewise.
4754 [non-C99-based standards] (lgammal): Likewise.
4755 [non-C99-based standards] (tgammal): Likewise.
4756 [non-C99-based standards] (y0l): Likewise.
4757 [non-C99-based standards] (y1l): Likewise.
4758 [non-C99-based standards] (ynl): Likewise.
4759 [non-C99-based standards] (isnanl): Likewise.
4760 [non-C99-based standards] (acoshl): Likewise.
4761 [non-C99-based standards] (asinhl): Likewise.
4762 [non-C99-based standards] (atanhl): Likewise.
4763 [non-C99-based standards] (cbrtl): Likewise.
4764 [non-C99-based standards] (expm1l): Likewise.
4765 [non-C99-based standards] (ilogbl): Likewise.
4766 [non-C99-based standards] (log1pl): Likewise.
4767 [non-C99-based standards] (logbl): Likewise.
4768 [non-C99-based standards] (nextafterl): Likewise.
4769 [non-C99-based standards] (remainderl): Likewise.
4770 [non-C99-based standards] (rintl): Likewise.
4771 [non-C99-based standards] (scalbl): Likewise.
4772 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4773 [non-C99-based standards] (FP_*): Do not allow.
4774 [C99-based standards] (FP_*): Change to
4775 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4776 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4777 allow.
4778 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4779 (SIG_ERR): Likewise.
4780 [X/Open-based standards] (SIG_HOLD): Likewise.
4781 (SIG_IGN): Likewise.
4782 (SIGABRT): Use macro-int-constant. Specify type. Require
4783 positive value.
4784 (SIGFPE): Likewise.
4785 (SIGILL): Likewise.
4786 (SIGINT): Likewise.
4787 (SIGSEGV): Likewise.
4788 (SIGTER): Likewise.
4789 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4790 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4791 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4792 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4793 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4794 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4795 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4796 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4797 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4798 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4799 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4800 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4801 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4802 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4803 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4804 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4805 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4806 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4807 [X/Open-based standards] (SIGTRAP): Likewise.
4808 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4809 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4810 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4811 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4812 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4813 allow.
4814
b9f1922d
IW
48152012-05-08 Ian Wienand <ianw@vmware.com>
4816
4817 [BZ #14080]
4818 * time/tzset.c (__tzset_parse_tz): Update default rules for
4819 daylight time changes in the Energy Policy Act of 2005.
4820
1db86e88
AJ
48212012-05-09 Andreas Jaeger <aj@suse.de>
4822
4823 [BZ #13983]
4824 * elf/ldconfig.c (parse_conf): Change string to make clear that
4825 ldconfig only issued a warning if ld.so.conf does not exist.
4826
dee4a4e3
DM
48272012-05-08 David S. Miller <davem@davemloft.net>
4828
ee0db190
DM
4829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4830 movxtod instead of popping the value on the stack.
4831
dee4a4e3
DM
4832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4833
6a43ec98
CD
48342012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4835
4836 * config.h.in: Add HAVE_ARM_PCS_VFP.
4837
05c2c961
RMG
48382012-05-08 Roland Mc Grath <roland@hack.frob.com>
4839
bcfe3a54
ST
4840 [BZ #13979]
4841 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4842 checking but the checks are disabled for any reason.
05c2c961 4843
4b30f61a
L
48442012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4845
4846 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4847 and ELF64_R_TYPE with ELFW(R_TYPE).
4848
eee2bc67
JM
48492012-05-08 Joseph Myers <joseph@codesourcery.com>
4850
7ea5391a
JM
4851 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4852 (ulimit): Likewise.
4853
eee2bc67
JM
4854 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4855 (settimeofday): Likewise.
4856
abb66a67
MF
48572012-05-08 Mike Frysinger <vapier@gentoo.org>
4858
4859 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4860 a struct th_u2 inside the union, and move tu_block/tu_code into
4861 a new th_u3 union of tu_block/tu_code inside of that. Move
4862 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4863 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4864 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4865 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4866 (th_stuff): Change to th_u1.tu_stuff.
4867 (th_data): Define.
4868 (th_msg): Change to th_u1.th_u2.tu_data.
4869
7f18b530
DM
48702012-05-07 David S. Miller <davem@davemloft.net>
4871
05760585
DM
4872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4873
7f18b530
DM
4874 [BZ #14074]
4875 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4876 (SETUP_PIC_REG): Use it.
4877 (SETUP_PIC_REG_LEAF): Use it.
4878
495fd99f
JM
48792012-05-07 Joseph Myers <joseph@codesourcery.com>
4880
4881 [BZ #13885]
4882 [BZ #13923]
4883 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4884 USE_AS_EXPM1L.
4885 (EXPL_FINITE): Likewise.
4886 (FLDLOG): Likewise.
4887 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4888 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4889 e_expl.S.
4890 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4891 USE_AS_EXPM1L.
4892 (EXPL_FINITE): Likewise.
4893 (FLDLOG): Likewise.
4894 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4895 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4896 e_expl.S.
4897 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4898 test of -max_value argument for long double.
4899 * sysdeps/i386/fpu/libm-test-ulps: Update.
4900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4901
6693d694
DM
49022012-05-06 David S. Miller <davem@davemloft.net>
4903
4904 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4905 quad soft-float symbols whose references which are compiler
4906 generated.
4907 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4908
6c23e11c
JM
49092012-05-06 Joseph Myers <joseph@codesourcery.com>
4910
d8b82cad
JM
4911 [BZ #13884]
4912 [BZ #13914]
4913 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4914 USE_AS_EXP10L.
4915 (EXPL_FINITE): Likewise.
4916 (FLDLOG): Likewise.
4917 (c0): Likewise.
4918 (c1): Likewise.
4919 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4920 Adjust comments for base varying.
4921 (__expl_finite): Change alias to EXPL_FINITE.
4922 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4923 e_expl.S.
4924 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4925 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4926 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4927 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4928 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4929 USE_AS_EXP10L.
4930 (EXPL_FINITE): Likewise.
4931 (FLDLOG): Likewise.
4932 (c0): Likewise.
4933 (c1): Likewise.
4934 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4935 Adjust comments for base varying.
4936 (__expl_finite): Change alias to EXPL_FINITE.
4937 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4938 tests for bugs.
4939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4940
6c23e11c
JM
4941 [BZ #14064]
4942 * math/libm-test.inc (check_float_internal): Correct ulp
4943 calculation for subnormal expected results.
4944
29ba805c
AJ
49452012-05-06 Andreas Jaeger <aj@suse.de>
4946
4947 * Makeconfig (+math-flags): New, set to -frounding-math.
4948 (+cflags): Add +math-flags so that all of glibc gets compiled with
4949 it.
4950
4951 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4952
7b17aeda
JM
49532012-05-05 Joseph Myers <joseph@codesourcery.com>
4954
5779f134
JM
4955 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4956 Disable one test.
4957
41498f4d
JM
4958 [BZ #13787]
4959 [BZ #13922]
4960 [BZ #14036]
4961 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4962 (__ieee754_expl): Allow for and saturate large arguments.
4963 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4964 (u_threshold): Likewise.
4965 (__exp): Call __ieee754_exp before checking for overflow and
4966 underflow.
4967 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4968 (u_threshold): Likewise.
4969 (__expf): Call __ieee754_expf before checking for overflow and
4970 underflow.
4971 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4972 (u_threshold): Likewise.
4973 (__expl): Call __ieee754_expl before checking for overflow and
4974 underflow.
4975 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4976 (__ieee754_expl): Allow for and saturate large arguments.
4977 * math/libm-test.inc (exp_test): Add another test. Do not allow
4978 missing overflow exception on overflow.
4979 (expm1_test): Do not allow missing overflow exception on overflow.
4980
6698b8bf
JM
4981 * sysdeps/i386/fpu/e_expl.c: Move to ...
4982 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4983 rather than using inline asm.
4984 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4985 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4986 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4987
7b17aeda
JM
4988 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4989 (nice): Likewise.
4990 (poll): Likewise.
4991 (signal): Likewise.
4992 (time): Likewise.
4993 (times): Likewise.
4994
f7c85819
JM
49952012-05-04 Joseph Myers <joseph@codesourcery.com>
4996
4997 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4998 sysdeps/unix/common/syscalls.list.
4999 (fchmod): Likewise.
5000 (fchown): Likewise.
5001 (ftruncate): Likewise.
5002 (getrusage): Likewise.
5003 (gettimeofday): Likewise.
5004 (setpgid): Likewise.
5005 (setregid): Likewise.
5006 (setreuid): Likewise.
5007 (sigaction): Likewise.
5008 (truncate): Likewise.
5009 (vhangup): Likewise.
5010 * sysdeps/unix/common/syscalls.list: Remove file.
5011 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5012 * sysdeps/unix/sysv/linux/Implies: Likewise.
5013
336270d0
L
50142012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5015
5016 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5018 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5019 Moved to ...
5020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5021 Here.
5022 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5023 to ...
5024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5025 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5026 to ...
5027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5028 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5029 to ...
5030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5031 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5032 to ...
5033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5034 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5035 to ...
5036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5037 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5038 to ...
5039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5040 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5041 to ...
5042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5043 Here.
5044 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5045 to ...
5046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5047 Here.
5048 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5049 to ...
5050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5051 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5052 Moved to ...
5053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5054 Here.
5055 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5056 to ...
5057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5058
d128e450
JM
50592012-05-04 Joseph Myers <joseph@codesourcery.com>
5060
fa8ee516
JM
5061 * sysdeps/unix/common/bits/dirent.h: Remove file.
5062 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5063
d128e450
JM
5064 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5065 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5066 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5067 * sysdeps/unix/bsd/isatty.c: Likewise.
5068 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5069 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5070 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5071
ff8faaf0 50722012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5073
62881be4 5074 [BZ #13563]
31dc8730
AZ
5075 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5076 long double comparison inaccuracies.
5077 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5079
6fef930c
AS
50802012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5081
5082 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5084
8f203e6c
JM
50852012-05-04 Joseph Myers <joseph@codesourcery.com>
5086
5087 [BZ #14049]
5088 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5089 nonzero digits before rounding a hex value.
5090 * stdlib/tst-strtod.c (tests): Add another test.
5091
5197d9c2
AK
50922012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5093
5094 * sysdeps/s390/fpu/libm-test-ulps: Update.
5095
f0c1dedf
AJ
50962012-05-03 Andreas Jaeger <aj@suse.de>
5097
5098 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5099 does not get optimized out.
5100 (malloc_opt_barrier): New.
5101
a65ef2ae 51022012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5103 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5104
2b942cb7 5105 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5106 intermediate file deletion.
2b942cb7 5107 (generated): Add .symlist files.
a65ef2ae 5108
54b71e02
JM
51092012-05-03 Joseph Myers <joseph@codesourcery.com>
5110
5111 [BZ #13775]
5112 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5113 Redirect under this condition.
5114 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5115 [__USE_GNU] (__dprintf_chk): Not under this condition.
5116 [__USE_GNU] (__vdprintf_chk): Likewise.
5117 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5118 under this condition.
5119 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5120 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5121 [__USE_XOPEN2K8] (vdprintf): Likewise.
5122 [__USE_GNU] (__dprintf_chk): Not under this condition.
5123 [__USE_GNU] (__vdprintf_chk): Likewise.
5124 [__USE_GNU] (dprintf): Likewise.
5125 [__USE_GNU] (vdprintf): Likewise.
5126
d3dfcc41
RM
51272012-05-03 Roland McGrath <roland@hack.frob.com>
5128
5129 * elf/Makefile (common-generated): Set this instead of generated for
5130 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5131 $(all-built-dso)-derived lists.
5132
7ac30cc5
AJ
51332012-05-03 Andreas Jaeger <aj@suse.de>
5134
0c51e550
AJ
5135 * sysdeps/i386/fpu/libm-test-ulps: Update.
5136
7ac30cc5
AJ
5137 * FAQ: Removed.
5138 * FAQ.in: Likewise.
5139 * scripts/gen-FAQ.pl: Likewise.
5140 * manual/install.texi (Installation): Point to online location of
5141 FAQ.
5142 * Makefile (files-for-dist): Remove FAQ.
5143 (FAQ): Remove.
5144
d4c2917f
AM
51452012-05-02 Allan McRae <allan@archlinux.org>
5146
5147 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5148 (LDFLAGS-reldepmod5.so): Likewise.
5149 (LDFLAGS-reldep6mod1.so): Likewise.
5150 (LDFLAGS-reldep6mod4.so): Likewise.
5151 (LDFLAGS-reldep8mod3.so): Likewise.
5152 (LDFLAGS-unload4mod1.so): Likewise.
5153 (LDFLAGS-unload4mod2.so): Likewise.
5154 (LDFLAGS-tst-initorder): Likewise.
5155 (LDFLAGS-tst-initordera2.so): Likewise.
5156 (LDFLAGS-tst-initordera3.so): Likewise.
5157 (LDFLAGS-tst-initordera4.so): Likewise.
5158 (LDFLAGS-tst-initorderb2.so): Likewise.
5159 (LDFLAGS-noload): Likewise.
5160 (LDFLAGS-next): Likewise.
5161 (LDFLAGS-order2mod1.so): Likewise.
5162 (LDFLAGS-order2mod2.so): Likewise.
5163 (LDFLAGS-tst-initorder2): Likewise.
5164 (LDFLAGS-tst-initorder2a.so): Likewise.
5165 (LDFLAGS-tst-initorder2b.so): Likewise.
5166 (LDFLAGS-tst-initorder2c.so): Likewise.
5167 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5168
d77f993f
DM
51692012-05-02 David S. Miller <davem@davemloft.net>
5170
5171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5172
171a70b4
PP
51732012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5174
5175 [BZ #14055]
5176 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5177
0be196ad
AJ
51782012-05-02 Andreas Jaeger <aj@suse.de>
5179
5180 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5181 since we manipulate rounding mode.
5182 (CPPFLAGS-test-idouble.c): Likewise.
5183 (CPPFLAGS-test-ifloat.c): Likewise.
5184 (CFLAGS-test-ldouble.c): Likewise.
5185 (CFLAGS-test-double.c): Likewise.
5186 (CFLAGS-test-float.c): Likewise.
5187 (CFLAGS-test-misc.c): Likewise.
5188 (CFLAGS-test-test-fenv.c): Likewise.
5189
4f9d04aa
AZ
51902012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5191
2b942cb7
RM
5192 [BZ #2550]
5193 [BZ #2570]
5194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5195 comparisons to determine direction to adjust input.
4f9d04aa 5196
82a79e7d
RM
51972012-05-01 Roland McGrath <roland@hack.frob.com>
5198
f5a01ca9
RM
5199 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5200 output to the target.
5201
90fe4186
RM
5202 * scripts/localplt.awk: New file.
5203 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5204 (check-localplt-CFLAGS): Variable removed.
5205 ($(all-built-dso:=.jmprel)): New static pattern rule.
5206 (generated): Add those targets.
5207 (localplt-built-dso): New variable.
5208 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5209
5210 * elf/check-localplt.c: File removed.
5211
82397ed6
RM
5212 * scripts/check-execstack.awk: New file.
5213 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5214 (check-execstack-CFLAGS): Variable removed.
5215 ($(objpfx)check-execstack.h): Target removed.
5216 ($(objpfx)execstack-default): New target.
5217 (generated): Add that instead of check-execstack.h.
5218 ($(all-built-dso:=.phdr)): New static pattern rule.
5219 (generated): Add those targets.
5220 * elf/check-execstack.c: File removed.
5221
82a79e7d
RM
5222 * scripts/check-textrel.awk: New file.
5223 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5224 (check-textrel-CFLAGS): Variable removed.
5225 (all-built-dso): Use := to define.o
5226 ($(all-built-dso:=.dyn)): New static pattern rule.
5227 (generated): Add those targets.
5228 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5229 * config.make.in (READELF): New substituted variable.
5230 * elf/check-textrel.c: File removed.
5231
62fde54f 52322012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5233
615605c9
JM
5234 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5235 allow.
5236 * conform/data/ctype.h-data [C99-based standards] (isblank):
5237 Expect function.
5238 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5239 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5241 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5242 Specify type. Require positive value.
5243 (EILSEQ): Likewise.
5244 (ERANGE): Likewise.
5245 [ISO || POSIX] (EILSEQ): Do not expect.
5246 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5247 Specify type. Require positive value.
5248 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5249 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5250 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5251 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5252 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5253 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5254 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5255 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5256 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5257 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5258 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5259 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5260 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5261 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5262 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5263 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5264 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5265 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5266 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5267 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5268 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5269 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5270 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5271 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5272 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5273 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5274 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5275 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5276 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5277 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5278 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5279 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5280 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5281 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5282 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5283 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5284 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5285 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5286 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5287 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5288 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5289 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5290 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5291 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5292 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5293 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5294 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5295 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5296 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5297 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5298 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5299 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5300 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5301 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5302 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5303 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5304 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5305 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5306 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5307 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5308 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5309 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5310 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5311 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5312 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5313 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5314 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5315 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5316 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5317 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5318 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5319 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5320 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5321 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5322 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5323 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5324 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5325 Require >= 2.
5326 (FLT_ROUNDS): Expect as macro, not constant.
5327 (FLT_MANT_DIG): Use macro-int-constant.
5328 (DBL_MANT_DIG): Likewise.
5329 (LDBL_MANT_DIG): Likewise.
5330 (FLT_DIG): Likewise.
5331 (DBL_DIG): Likewise.
5332 (LDBL_DIG): Likewise.
5333 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5334 (DBL_MIN_EXP): Likewise.
5335 (LDBL_MIN_EXP): Likewise.
5336 (FLT_MAX_EXP): Use macro-int-constant.
5337 (DBL_MAX_EXP): Likewise.
5338 (LDBL_MAX_EXP): Likewise.
5339 (FLT_MAX_10_EXP): Likewise.
5340 (DBL_MAX_10_EXP): Likewise.
5341 (LDBL_MAX_10_EXP): Likewise.
5342 (FLT_MAX): Use macro-constant.
5343 (DBL_MAX): Likewise.
5344 (LDBL_MAX): Likewise.
5345 (FLT_EPSILON): Use macro-constant. Give upper bound.
5346 (DBL_EPSILON): Likewise.
5347 (LDBL_EPSILON): Likewise.
5348 (FLT_MIN): Likewise.
5349 (DBL_MIN): Likewise.
5350 (LDBL_MIN): Likewise.
5351 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5352 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5353 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5354 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5355 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5356 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5357 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5358 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5359 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5360 [ISO11] (FLT_TRUE_MIN): Likewise.
5361 [ISO11] (LDBL_TRUE_MIN): Likewise.
5362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5363 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5364 (SCHAR_MIN): Use macro-int-constant. Specify type.
5365 (SCHAR_MAX): Likewise.
5366 (UCHAR_MAX): Likewise.
5367 (CHAR_MIN): Likewise.
5368 (CHAR_MAX): Likewise.
5369 (MB_LEN_MAX): Use macro-int-constant.
5370 (SHRT_MIN): Use macro-int-constant. Specify type.
5371 (SHRT_MAX): Likewise.
5372 (USHRT_MAX): Likewise.
5373 (INT_MAX): Likewise.
5374 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5375 bound negative.
5376 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5377 bound with "U".
5378 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5379 bound with "L".
5380 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5381 bound negative. Suffix upper bound with "L".
5382 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5383 bound with "UL".
5384 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5385 Specify type.
5386 [C99-based standards] (LLONG_MAX): Likewise.
5387 [C99-based standards] (ULLONG_MAX): Likewise.
5388 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5389 == 0.
5390 [ISO11] (max_align_t): Require type.
5391 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5392
c9140a62
JM
5393 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5394 from $CFLAGS, without defining away __attribute__ calls.
5395 (checknamespace): Use $CFLAGS_namespace.
5396
9af0bf29
JM
5397 * conform/conformtest.pl (@keywords): Only include C99 keywords
5398 for standards based on C99 or C11.
5399
343222a2
JM
5400 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5401 Disable tests.
5402 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5403 UNIX98]: Likewise.
5404
661f8cf0
JM
5405 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5406 usability of symbols in #if.
5407
ee74b9cb
JM
5408 * conform/conformtest.pl: If macro or constant types start
5409 "promoted:", expect the symbol to be of the following type
5410 promoted by the integer promotions.
62fde54f 5411
aafc49b3
JM
5412 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5413 in one place. Also handle "macro-constant".
5414
fefdf574
JM
5415 * conform/conformtest.pl: Only accept expected macro values with
5416 "==". Parse all "macro" lines in one place.
5417 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5418
f2d922fe
JM
5419 * conform/conformtest.pl: Handle braced types on "constant" lines
5420 instead of handling "typed-constant".
5421 * conform/data/signal.h-data: Use "constant" instead of
5422 "typed-constant".
5423
d22956c9
JM
5424 * conform/conformtest.pl: Handle "optional-" at start of lines in
5425 one place rather than duplicating several cases. Handle each
5426 format of "macro" line with initial "optional-".
5427
028e2e38
JM
5428 * conform/conformtest.pl: Only accept expected constant or
5429 optional-constant values with "==". Parse all "constant" lines in
5430 one place. Parse all "optional-constant" lines in one place.
5431 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5432 * conform/data/fmtmsg.h-data: Likewise.
5433 * conform/data/netinet/in.h-data: Likewise.
5434 * conform/data/tar.h-data: Likewise.
5435 * conform/data/limits.h-data: Use "==" form on "constant" and
5436 "optional-constant" lines.
5437
1b8f2850
JM
5438 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5439 Use -std=c99 for XOPEN2K.
5440 (@knownproblems): Remove.
5441 (newtoken): Don't check %isknown.
5442
a05a144b
JM
5443 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5444 Do not expect macro.
5445 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5446 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5447 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5448 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5449 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5450 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5451 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5452 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5453 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5454 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5455 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5456 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5457 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5458 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5459 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5460 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5461 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5462 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5463 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5464 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5465 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5466 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5467 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5468 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5469 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5470 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5471 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5472 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5473 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5474 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5475 [XPG3] (acosh): Likewise.
5476 [XPG3] (asinh): Likewise.
5477 [XPG3] (atanh): Likewise.
5478 [XPG3] (cbrt): Likewise.
5479 [XPG3] (expm1): Likewise.
5480 [XPG3] (ilogb): Likewise.
5481 [XPG3] (log1p): Likewise.
5482 [XPG3] (logb): Likewise.
5483 [XPG3] (nextafter): Likewise.
5484 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5485 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5486 [XPG3] (remainder): Likewise.
5487 [XPG3] (rint): Likewise.
5488 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5489 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5490 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5491 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5492 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5493 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5494 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5495 [UNIX98 || XOPEN2K] (scalb): Expect.
5496 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5497 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5498 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5499 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5500 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5501 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5502 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5503 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5504 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5505 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5506 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5507 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5508 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5509 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5510 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5511 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5512 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5513 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5514 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5515 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5516 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5517 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5518 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5519 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5520 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5521 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5522 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5523 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5524 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5525 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5526 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5527 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5528 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5529 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5530 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5531 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5532 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5533 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5534 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5535 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5536 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5537 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5538 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5539 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5540 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5541 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5542 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5543 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5544 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5545 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5546 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5547 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5548 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5549 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5550 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5551 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5552 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5553 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5554 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5555 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5556 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5557 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5558 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5559 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5560 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5561 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5562 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5563 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5564 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5565 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5566 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5567 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5568 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5569 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5570 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5571 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5572 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5573 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5574 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5575 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5576 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5577 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5578 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5579 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5580 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5581 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5582 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5583 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5584 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5585 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5586 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5587 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5588 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5589 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5590 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5591 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5592 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5593 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5594 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5595 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5596 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5597 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5598 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5599 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5600 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5601 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5602 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5603 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5604 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5605 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5606 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5607 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5608 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5609 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5610 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5611 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5612 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5613 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5614 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5615 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5616 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5617 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5618 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5619 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5620 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5621 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5622 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5623 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5624 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5626 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5627 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5628 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5629 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5630 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5632 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5633
73c5ebe3
JM
5634 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5635 _XOPEN_SOURCE_EXTENDED for XPG4.
5636
39c33b6c
JM
5637 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5638
62fde54f
JM
5639 * Makeconfig (localtime): Remove variable.
5640 (inst_localtime-file): Likewise.
5641
0741d64c
AS
56422012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5643
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5645 Update.
5646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5647 Update.
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5649 Update.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5651 Update.
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5653 Update.
5654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5655 Update.
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5657 Update.
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5659 Update.
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5661 Update.
5662
7cb029ee
JM
56632012-05-01 Joseph Myers <joseph@codesourcery.com>
5664
5665 [BZ #2550]
5666 [BZ #2570]
5667 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5668 comparisons to determine direction to adjust input.
5669 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5670 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5671 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5672 Likewise.
5673 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5674 Likewise.
5675 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5676 Likewise.
5677 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5678 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5679 Likewise.
5680 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5681 Likewise.
5682 * math/libm-test.inc (nexttoward_test): Add more tests.
5683
412bd966
AS
56842012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5685
5686 [BZ #14040]
5687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5688 in version GLIBC_2.1, not GLIBC_2.0.
5689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5690 Likewise.
5691
9568c0c2
JM
56922012-04-30 Joseph Myers <joseph@codesourcery.com>
5693
adfbc8ac
JM
5694 [BZ #13942]
5695 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5696 (1 - x) * (1 + x).
5697 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5698 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5699 * math/libm-test.inc (acos_test): Add more tests.
5700 (asin_test): Likewise.
5701 * sysdeps/i386/fpu/libm-test-ulps: Update.
5702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5703
5ba3cc69
JM
5704 [BZ #14034]
5705 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5706 of square root.
5707 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5708 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5709 * math/libm-test.inc (acos_test_tonearest): New function.
5710 (acos_test_towardzero): Likewise.
5711 (acos_test_downward): Likewise.
5712 (acos_test_upward): Likewise.
5713 (asin_test_tonearest): Likewise.
5714 (asin_test_towardzero): Likewise.
5715 (asin_test_downward): Likewise.
5716 (asin_test_upward): Likewise.
5717 (main): Call the new functions.
5718 * sysdeps/i386/fpu/libm-test-ulps: Update.
5719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5720
9568c0c2
JM
5721 [BZ #13884]
5722 [BZ #13924]
5723 * math/e_exp10.c: Include <float.h>.
5724 (__ieee754_exp10): Handle underflow here rather than multiplying
5725 large negative argument by M_LN10.
5726 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5727 of __ieee754_expf.
5728 * math/e_exp10l.c: Include <float.h>.
5729 (__ieee754_exp10l): Handle underflow here rather than multiplying
5730 large negative argument by M_LN10l.
5731 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5732 spurious overflow exception on underflow.
5733
5ac3ea17
MP
57342012-04-29 Marek Polacek <polacek@redhat.com>
5735
5736 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5737 (__fortify_function): New macro.
5738 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5739 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5740 __extern_always_inline.
5741 * libio/bits/stdio2.h: Likewise.
5742 * libio/bits/stdio.h: Likewise.
5743 * string/string.h: Likewise.
5744 * string/bits/string3.h: Likewise.
5745 * include/stdio.h: Likewise.
5746 * stdlib/bits/stdlib.h: Likewise.
5747 * stdlib/stdlib.h: Likewise.
5748 * rt/bits/mqueue2.h: Likewise.
5749 * rt/mqueue.h: Likewise.
5750 * posix/bits/unistd.h: Likewise.
5751 * posix/unistd.h: Likewise.
5752 * io/bits/poll2.h: Likewise.
5753 * io/bits/fcntl2.h: Likewise.
5754 * io/fcntl.h: Likewise.
5755 * io/sys/poll.h: Likewise.
5756 * misc/bits/syslog.h: Likewise.
5757 * misc/bits/syslog-ldbl.h: Likewise.
5758 * misc/sys/syslog.h: Likewise.
5759 * socket/bits/socket2.h: Likewise.
5760 * socket/sys/socket.h: Likewise.
5761 * debug/tst-chk1.c: Likewise.
5762 * wcsmbs/bits/wchar2.h: Likewise.
5763 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5764 * wcsmbs/wchar.h: Likewise.
5765
ecf0ebfb
AJ
57662012-04-29 Andreas Jaeger <aj@suse.de>
5767
5768 * Makerules (tests): Remove enable-check-abi protection.
5769 (check-abi-warn): Remove.
5770 (check-abi-%): Remove check-abi-warn usage.
5771
5772 * configure.in: Remove check-abi configure option.
5773 * configure: Regenerated.
5774 * config.make.in (enable-check-abi): Remove.
5775
6d5c57fa
AS
57762012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5777
24c5d07e 5778 [BZ #14033]
ded5180a
AS
5779 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5780 double functions to double *_finite functions.
5781
7e0d315d
AS
5782 [BZ #13941]
5783 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5784 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5785 LDBL_MIN_EXP.
5786 * stdio-common/Makefile (tests): Add tst-sprintf3.
5787 * stdio-common/tst-sprintf3.c: New file.
5788
6d5c57fa
AS
5789 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5790 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5791
0749ff8b
JM
57922012-04-28 Joseph Myers <joseph@codesourcery.com>
5793
5794 * conform/conformtest.pl: Remove duplicate typed-constant
5795 handling.
5796
8dbd5d7b
DM
57972012-04-28 David S. Miller <davem@davemloft.net>
5798
5799 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5800 (check-abi-%): Remove AWK script prerequisite and explicit
5801 abilist directory.
5802 (check-abi): Rewrite to just diff the symlist with the abilist.
5803 (config-tls, config-abi-config): Delete, no longer used.
5804 (update-abi-%): Remove AWK script and explicit abilist directory.
5805 (update-abi): Rewrite to simply compare and conditionally copy the
5806 symlist and the sysdep abilist file. Remove update-abi-config
5807 checks.
5808 * abilist/ld.abilist: Remove.
5809 * abilist/libBrokenLocale.abilist: Remove.
5810 * abilist/libanl.abilist: Remove.
5811 * abilist/libcrypt.abilist: Remove.
5812 * abilist/libdl.abilist: Remove.
5813 * abilist/librt.abilist: Remove.
5814 * abilist/libthread_db.abilist: Remove.
5815 * abilist/libutil.abilist: Remove.
5816 * scripts/extract-abilist.awk: Remove.
5817 * scripts/merge-abilist.awk: Remove.
5818 * sysdeps/generic/libcidn.abilist: New file.
5819 * sysdeps/generic/libnss_compat.abilist: New file.
5820 * sysdeps/generic/libnss_db.abilist: New file.
5821 * sysdeps/generic/libnss_dns.abilist: New file.
5822 * sysdeps/generic/libnss_files.abilist: New file.
5823 * sysdeps/generic/libnss_hesiod.abilist: New file.
5824 * sysdeps/generic/libnss_nis.abilist: New file.
5825 * sysdeps/generic/libnss_nisplus.abilist: New file.
5826 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5827 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5828 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5829 file.
5830 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5831 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5832 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5833 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5834 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5835 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5836 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5837 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5838 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5839 file.
5840 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5841 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5842 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5843 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5844 file.
5845 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5846 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5847 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5848 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5849 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5850 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5851 file.
5852 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5853 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5854 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5855 file.
5856 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5858 New file.
5859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5860 New file.
5861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5862 New file.
5863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5864 New file.
5865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5866 New file.
5867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5868 New file.
5869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5870 New file.
5871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5872 New file.
5873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5874 New file.
5875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5876 New file.
5877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5878 New file.
5879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5880 New file.
5881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5882 New file.
5883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5884 file.
5885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5886 New file.
5887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5888 New file.
5889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5890 file.
5891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5892 New file.
5893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5894 New file.
5895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5896 file.
5897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5898 New file.
5899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5900 New file.
5901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5902 New file.
5903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5904 New file.
5905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5906 New file.
5907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5908 New file.
5909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5911 file.
5912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5913 New file.
5914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5915 file.
5916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5917 file.
5918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5919 file.
5920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5921 file.
5922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5923 file.
5924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5925 New file.
5926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5927 file.
5928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5929 file.
5930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5931 New file.
5932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5933 file.
5934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5936 file.
5937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5938 New file.
5939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5940 file.
5941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5942 file.
5943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5944 file.
5945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5946 file.
5947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5948 file.
5949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5950 New file.
5951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5952 file.
5953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5954 file.
5955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5956 New file.
5957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5958 file.
5959 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5960 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5961 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5962 file.
5963 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5964 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5965 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5966 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5967 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5968 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5969 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5970 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5971 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5972 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5975 file.
5976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5977 New file.
5978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5979 file.
5980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5981 file.
5982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5983 file.
5984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5985 file.
5986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5987 file.
5988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5989 New file.
5990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5991 New file.
5992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5993 file.
5994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5995 New file.
5996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5997 file.
5998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6000 file.
6001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6002 New file.
6003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6004 file.
6005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6006 file.
6007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6008 file.
6009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6010 file.
6011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6012 file.
6013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6014 New file.
6015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6016 New file.
6017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6018 file.
6019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6020 New file.
6021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6022 file.
6023
41d73a1b
JM
60242012-04-28 Joseph Myers <joseph@codesourcery.com>
6025
6026 * conform/conformtest.pl: Fix typo in handling typed-constant from
6027 allow-header.
6028
28aeeda4
JM
60292012-04-27 Joseph Myers <joseph@codesourcery.com>
6030
adae8f5e
JM
6031 * README: Cut down references to pre-2.6 Linux kernels and
6032 Linuxthreads. Update lists of configurations in libc and ports
6033 and sort alphabetically. Say "or newer" with Linux kernel version
6034 requirements.
6035
28aeeda4
JM
6036 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6037
a462cb63
RA
60382012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6039
6040 [BZ #887]
6041 * math/libm-test.inc (logb_test_downward): New test to expose
6042 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6043 rounding mode.
6044
6ad3493e
JM
60452012-04-27 Joseph Myers <joseph@codesourcery.com>
6046
6047 [BZ #14027]
6048 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6049 to be done.
6050 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6051 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6052
2ce4f015
JM
60532012-04-26 Joseph Myers <joseph@codesourcery.com>
6054
5aeb141a
JM
6055 * sysdeps/unix/i386/brk.S: Remove file.
6056 * sysdeps/unix/i386/dl-brk.S: Likewise.
6057 * sysdeps/unix/i386/pipe.S: Likewise.
6058 * sysdeps/unix/i386/sigreturn.S: Likewise.
6059 * sysdeps/unix/i386/syscall.S: Likewise.
6060 * sysdeps/unix/i386/vfork.S: Likewise.
6061 * sysdeps/unix/i386/wait.S: Likewise.
6062
7143acae
JM
6063 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6064 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6065
2ce4f015
JM
6066 * configure.in (arm*-none*): Do not allow without
6067 --enable-hacker-mode.
6068 (netbsd*): Remove case setting base_os.
6069 (386bsd*): Likewise.
6070 (freebsd*): Likewise.
6071 (bsdi*): Likewise.
6072 (osf*): Likewise.
6073 (sunos*): Likewise.
6074 (ultrix*): Likewise.
6075 (newsos*): Likewise.
6076 (dynix*): Likewise.
6077 (*bsd*): Likewise.
6078 (sysv*): Likewise.
6079 (isc*): Likewise.
6080 (esix*): Likewise.
6081 (sco*): Likewise.
6082 (minix*): Likewise.
6083 (irix4*): Likewise.
6084 (irix6*): Likewise.
6085 (solaris[2-9]*): Likewise.
6086 (none): Likewise.
6087 * configure: Regenerated.
6088
0ac229c8
AZ
60892012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6090
6091 [BZ #11521]
6092 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6093 overflow or cancellation in calculating denominator.
6094 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6095 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6096 down expression to avoid unexpected rounding in newer GCCs.
6097 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6098
33f244f4
DM
60992012-04-26 David S. Miller <davem@davemloft.net>
6100
6101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6102 long-double compat symbols.
6103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6116
cfa1f3e8
DM
61172012-04-25 David S. Miller <davem@davemloft.net>
6118
6119 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6120 HWCAP_* values only after the memory barriers have been defined.
6121 (atomic_full_barrier): Define.
6122 (atomic_read_barrier): Define.
6123 (atomic_write_barrier): Define.
6124
6e236b92
SP
61252012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6126
6127 * shlib-versions: Add libgcc_s version information.
6128 * sysdeps/generic/libgcc_s.h: Remove.
6129 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6130 libgcc_s.h.
6131 * sysdeps/gnu/unwind-resume.c: Likewise.
6132 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6133
aab39a09
DM
61342012-04-25 David S. Miller <davem@davemloft.net>
6135
6136 * sysdeps/unix/sparc/brk.S: Delete.
6137 * sysdeps/unix/sparc/dl-brk.S: Delete.
6138 * sysdeps/unix/sparc/pipe.S: Delete.
6139 * sysdeps/unix/sparc/sysdep.S: Delete.
6140 * sysdeps/unix/sparc/sysdep.h: Delete.
6141 * sysdeps/unix/sparc/vfork.S: Delete.
6142 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6143 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6144 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6145 ret_ERRVAL, r0, r1, MOVE): Define.
6146 (JUMPTARGET): Remove.
6147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6148 sysdeps/unix/sparc/sysdep.h
6149 (ENTRY, END): Remove.
6150 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6151
a3cc4f48
JM
61522012-04-25 Joseph Myers <joseph@codesourcery.com>
6153
2ed8cda2
JM
6154 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6155 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6156 -DIS_IN_build.
6157
35d76d59
JM
6158 * timezone/README: Update upstream location and email address for
6159 tzcode and tzdata.
6160 * timezone/zdump.c: Update from tzcode 2012b.
6161 * timezone/zic.c: Likewise.
6162
a3cc4f48
JM
6163 * configure.in (libc_cv_as_needed): Remove test.
6164 * configure: Regenerated.
6165 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6166 conditional definition.
6167 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6168 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6169 * config.make.in (have-as-needed): Remove variable.
6170
ceab42c3
SP
61712012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6172 Paul Pluzhnikov <ppluzhnikov@google.com>
6173
6174 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6175 strings correctly.
6176
3ce2865f
CLT
61772012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6178
6179 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6180 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6181 * sysdeps/sh/strlen.S: Likewise.
6182
f37e0d68
JM
61832012-04-24 Joseph Myers <joseph@codesourcery.com>
6184
ae186e9a
JM
6185 * sysdeps/unix/fork.S: Remove file.
6186 * sysdeps/unix/i386/fork.S: Likewise.
6187 * sysdeps/unix/sparc/fork.S: Likewise.
6188
b96914af
JM
6189 * sysdeps/unix/system.c: Remove file.
6190 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6191
f37e0d68
JM
6192 * sysdeps/unix/getegid.S: Remove file.
6193 * sysdeps/unix/geteuid.S: Likewise.
6194
87ef29ca
RM
61952012-04-24 Roland McGrath <roland@hack.frob.com>
6196
83bcd236
RM
6197 * scripts/check-localplt.awk: New file.
6198 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6199 of diff.
6200 * scripts/data/localplt-generic.data: Add a comment.
6201
87ef29ca
RM
6202 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6203 NODE when __dir_mkfile failed.
6204 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6205 Reported by Ludovic Courtès <ludo@gnu.org>.
6206
e5a6e567
AJ
62072012-04-24 Andreas Jaeger <aj@suse.de>
6208
6209 * Makerules (common-clean): Also remove gen-as-const-headers
6210 files.
6211
c1820385
JM
62122012-04-24 Joseph Myers <joseph@codesourcery.com>
6213
6214 * Makerules (native-compile): Do not change working directory for
6215 build. Use $(OUTPUT_OPTION) in command.
6216 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6217
94e02fc4
AZ
62182012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6219
6220 [BZ #13886]
6221 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6222 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6223 * math/libm-test.inc (floor_test): Add more tests.
6224 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6225
3a533ca3
JM
62262012-04-24 Joseph Myers <joseph@codesourcery.com>
6227
940ab4b3
JM
6228 * sysdeps/unix/getdents.c: Remove file.
6229 * sysdeps/unix/sysv/getdents.c: Likewise.
6230 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6231
90e037bd
JM
6232 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6233 sysdeps/unix/mman/syscalls.list.
6234 (mmap): Likewise.
6235 (mprotect): Likewise.
6236 (msync): Likewise.
6237 (munmap): Likewise.
6238 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6239 * sysdeps/unix/mman/syscalls.list: Remove.
6240 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6241
3a533ca3
JM
6242 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6243 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6244 * configure: Regenerated.
6245 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6246 $(libgcc_s_suffix).
6247 * config.make.in (libgcc_s_suffix): Remove variable.
6248
1ad743de
JM
62492012-04-23 Joseph Myers <joseph@codesourcery.com>
6250
4ad451e2
JM
6251 * sysdeps/unix/sysv/gethostname.c: Move to ...
6252 * sysdeps/posix/gethostname.c: ... here.
6253
5e37ce39
JM
6254 * sysdeps/unix/execve.S: Remove file.
6255
1ad743de
JM
6256 * sysdeps/unix/_exit.S: Remove file.
6257
4e681b5b
AJ
62582012-04-23 Andreas Jaeger <aj@suse.de>
6259
6260 [BZ #13739]
6261 * manual/Makefile: Remove make dist support, there's no
6262 need for a stand-alone documentation tar ball.
6263 (TEXI2DVI): Define always, it's not in Makeconfig.
6264 (dist): Removed.
6265 (tar-it): Removed.
6266 (edition): Removed.
6267 (glibc-doc-$(edition).tar): Removed
6268 (%.Z): Removed.
6269 (%.gz): Removed.
6270 (%.uu): Removed.
6271 (ETAGS): Remove, it's in Makeconfig.
6272 (move-if-change): Remove, it's in Makeconfig.
6273
c0baea34
PE
62742013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6275
6276 [BZ #13970]
6277 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6278 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6279 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6280 (strtod_l, strtof_l, strtold_l): Remove __wur.
6281 It is not necessarily an error to ignore strtol's return value.
6282 One can reliably look at the stored endptr to decide whether
6283 the number had valid syntax.
6284
7c0616fa
AJ
62852012-04-21 Andreas Jaeger <aj@suse.de>
6286
803cb6b7 6287 [BZ #13739]
7c0616fa
AJ
6288 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6289
b0fe253f
JM
62902012-04-21 Joseph Myers <joseph@codesourcery.com>
6291
6292 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6293 * sysdeps/unix/sysv/Versions: Remove file.
6294
8280f22d
MT
62952012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6296
6297 [BZ #13927]
6298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6299
75ce411f 63002012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6301
6302 [BZ #7064]
6303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6304 version from __vm86.
6305
097d59fa
JM
63062012-04-20 Joseph Myers <joseph@codesourcery.com>
6307
a90f3bcb
JM
6308 * sysdeps/unix/common/lxstat.c: Remove file.
6309 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6310
edc7ea78
JM
6311 * sysdeps/unix/sysv/Makefile: Remove file.
6312
cb78c221
JM
6313 * sysdeps/unix/sysv/direct.h: Remove file.
6314
efa6a45f
JM
6315 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6316 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6317 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6318 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6319 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6320 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6321 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6322
9c9f2d0c
JM
6323 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6324
4541c83b
JM
6325 * sysdeps/unix/xmknod.c: Remove file.
6326 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6327
f5d153a0
JM
6328 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6329
aa746595
JM
6330 * sysdeps/unix/sysv/i386/time.S: Remove file.
6331
cce5905e
JM
6332 * sysdeps/unix/fxstat.c: Remove file.
6333 * sysdeps/unix/xstat.c: Likewise.
6334 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6335
37fa3841
JM
6336 * sysdeps/unix/sysv/sigaction.c: Remove file.
6337
ff1962a3
JM
6338 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6339 (sysdep_headers): Remove variable.
6340 [termio.h not in sysdep_headers] (generated): Likewise.
6341 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6342 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6343 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6344 * sysdeps/unix/sysv/tcflow.c: Likewise.
6345 * sysdeps/unix/sysv/tcflush.c: Likewise.
6346 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6347 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6348 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6349 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6350 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6351
e7740d31
JM
6352 * sysdeps/unix/siglist.c: Remove file.
6353
ee06f18b
JM
6354 * sysdeps/unix/getppid.S: Remove file.
6355
097d59fa
JM
6356 * sysdeps/unix/mkdir.c: Remove file.
6357 * sysdeps/unix/rmdir.c: Likewise.
6358
ff3d51ec
AS
63592012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6360
6361 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6362 ERR_MAX value.
6363 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6364 errlist-compat value.
6365
50f81fd7
DM
63662012-04-18 David S. Miller <davem@davemloft.net>
6367
6368 * sysdeps/generic/memcopy.h (reg_char): Delete.
6369 * debug/strcat_chk.c: Use char, not reg_char.
6370 * debug/strcpy_chk.c: Likewise.
6371 * debug/strncat_chk.c: Likewise.
6372 * debug/strncpy_chk.c: Likewise.
6373 * string/memchr.c: Likewise.
6374 * string/memrchr.c: Likewise.
6375 * string/rawmemchr.c: Likewise.
6376 * string/strcat.c: Likewise.
6377 * string/strchr.c: Likewise.
6378 * string/strchrnul.c: Likewise.
6379 * string/strcmp.c: Likewise.
6380 * string/strcpy.c: Likewise.
6381 * string/strncat.c: Likewise.
6382 * string/strncmp.c: Likewise.
6383 * string/strncpy.c: Likewise.
6384
8ff41c46
WS
63852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6386
6387 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6388 __builtin_memcopy is called when src and dest ranges are known to not
6389 overlap.
6390
6b652f46
WS
63912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6392
6393 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6394 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6395 fwd_align_merge macro call.
6396 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6397 bwd_align_merge macro call.
6398 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6399
b282631e
WS
64002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6401
6402 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6403 bwd_align_merge macros.
6404 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6405 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6406 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6407
95aa737c
DM
64082012-04-18 David S. Miller <davem@davemloft.net>
6409
6410 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6411
7a99a614
AJ
64122012-04-18 Andreas Jaeger <aj@suse.de>
6413
6414 [BZ# 6794]
6415 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6416 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6417 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6418
6419 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6420 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6421 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6422
6423 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6424 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6425 Adjust for changed ldbl-128 files.
6426
6427 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6428 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6429 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6430
e5270c23
DM
64312012-04-17 David S. Miller <davem@davemloft.net>
6432
6433 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6434
fb5e92c9
AS
64352012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6436
6437 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6438 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6439 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6440 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6441 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6442 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6443
76da7265
AZ
64442012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6445
6446 [BZ #6794]
6447 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6448 * math/libm-test.inc: Add ilogb errno and exception tests.
6449 * math/w_ilogb.c: New file: ilogb wrapper.
6450 * math/w_ilogbf.c: New file: ilogbf wrapper.
6451 * math/w_ilogbl.c: New file: ilogbl wrapper.
6452 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6453 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6454 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6455 exception being thrown with 0.0 as argument.
6456 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6457 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6458 exception being thrown with 0.0 as argument.
6459 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6460 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6461 exception being thrown with 0.0 as argument.
6462 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6463 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6464 exception being thrown with 0.0 as argument.
6465 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6466 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6467 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6468 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6469 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6470 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6471 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6472 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6473 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6474
0396e69d
PB
64752012-04-17 Petr Baudis <pasky@ucw.cz>
6476
6477 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6478 with altivec.
6479
750b5926
MP
64802012-04-16 Marek Polacek <polacek@redhat.com>
6481
6482 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6483
751728a1
MP
64842012-04-16 Marek Polacek <polacek@redhat.com>
6485
6486 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6487 operands of fdivp instruction.
6488
34a27407
L
64892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6490
6491 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6492 * elf/tst-auditmod3b.c: Likewise.
6493 * elf/tst-auditmod4b.c: Likewise.
6494 * elf/tst-auditmod5b.c: Likewise.
6495 * elf/tst-auditmod6b.c: Likewise.
6496 * elf/tst-auditmod6c.c: Likewise.
6497 * elf/tst-auditmod7b.c: Likewise.
6498 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6499 * sysdeps/x86_64/preconfigure.in: Likewise.
6500 * sysdeps/x86_64/preconfigure: Regenerated.
6501
7e73e17d
L
65022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6503
6504 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6505 __ILP32__.
6506
c7a6ab72
AB
65072012-04-13 Antoine Balestrat <merkil33@gmail.com>
6508
6509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6510 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6511
a9e8e0e0
CL
65122012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6513
6514 [BZ #13973]
6515 * locale/iso-639.def: Fix gl language name. Spotted by
6516 Yaron Shahrabani.
6517
ec98af7d
RM
65182012-04-12 Roland McGrath <roland@hack.frob.com>
6519
6520 [BZ #2074]
6521 * libio/libio.h (__io_write_fn): Update comment.
6522
247c3ede
PB
65232012-04-12 Petr Baudis <pasky@ucw.cz>
6524
6525 [BZ #2074]
6526 * stdio.texi (Hook Functions): The user provided writer function
6527 is not allowed to return -1.
6528
55939d6d
DM
65292012-04-11 David S. Miller <davem@davemloft.net>
6530
6531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6532
90020f5a
MF
65332012-04-11 Mike Frysinger <vapier@gentoo.org>
6534
6535 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6536 Add a leading slash to rtkaio.
6537
288f9098
JM
65382012-04-11 Jim Meyering <meyering@redhat.com>
6539
90020f5a
MF
6540 [BZ #11959]
6541 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6542 It is not necessarily an error to ignore fwrite's return
6543 value. One can reliably use ferror to test for errors after
6544 the fact.
288f9098 6545
4be2b570
L
65462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6547
6548 * bits/types.h (__snseconds_t): New type.
6549 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6550
6551 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6553 (__SNSECONDS_T_TYPE): Likewise.
6554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6555 (__SNSECONDS_T_TYPE): Likewise.
6556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6557 (__SNSECONDS_T_TYPE): Likewise.
6558
288f9098 65592012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6560
6561 [BZ #2636]
6562 * manual/time.texi (Processor Time): Return type of times is
6563 elapsed real time since an arbitrary point in the past.
6564 (CPU Time): Move CLK_TCK from here...
6565 (Processor Time): ...to here. Correct description.
6566 * manual/conf.texi (Constants for Sysconf): Correct description of
6567 _SC_CLK_TCK.
6568
d7dd4413
DM
65692012-04-10 David S. Miller <davem@davemloft.net>
6570
6571 [BZ #13967]
6572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6573 where the is a gap between DT_REL(A) and DT_JMPREL.
6574
b46068fc
L
65752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6576
6577 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6578 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6579 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6580
73d65cc3
SP
65812012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6582
6583 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6584 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6585 (dl_main): Handle --inhibit-cache.
6586 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6587 _dl_inhibit_cache.
6588 * elf/dl-load.c (_dl_map_object): Use it.
6589 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6590
bcc8d661
JM
65912012-04-09 Joseph Myers <joseph@codesourcery.com>
6592
8f9a2fae
JM
6593 [BZ #13872]
6594 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6595 (__ieee754_powl): Saturate large exponents rather than testing for
6596 overflow of y*log2(x).
6597 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6598 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6599 exceptions.
6600
bcc8d661
JM
6601 [BZ #11521]
6602 * math/s_ctan.c: Include <float.h>.
6603 (__ctan): Avoid internal overflow or cancellation in calculating
6604 denominator.
6605 * math/s_ctanf.c: Likewise.
6606 * math/s_ctanl.c: Likewise.
6607 * math/s_ctanh.c: Likewise.
6608 * math/s_ctanhf.c: Likewise.
6609 * math/s_ctanhl.c: Likewise.
6610 * math/libm-test.inc (ctan_test): Add more tests.
6611 (ctanh_test): Likewise.
6612 * sysdeps/i386/fpu/libm-test-ulps: Update.
6613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6614
823fbbb4
AJ
66152012-04-09 Andreas Jaeger <aj@suse.de>
6616
03879793
AJ
6617 [BZ #6894]
6618 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6619 is an optional BSD extension.
6620
823fbbb4
AJ
6621 [BZ #10254]
6622 * manual/stdio.texi (Opening Streams): Document additional fopen
6623 parameters.
6624
8de131cb
RM
66252012-04-09 Roland McGrath <roland@hack.frob.com>
6626
6627 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6628 %eax without telling the compiler.
6629
c0ed9d7d
CD
66302012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6631
6632 [BZ # 13963]
6633 * manual/install.texi: Use sourceware.org.
6634
c483f6b4
JM
66352012-04-09 Joseph Myers <joseph@codesourcery.com>
6636
d7dd9453
JM
6637 [BZ #13873]
6638 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6639 (__ieee754_pow): Generate overflow and underflow using huge*huge
6640 and tiny*tiny rather than just returning constant infinity or zero
6641 for large exponents.
6642 * math/libm-test.inc (pow_test): Require overflow exceptions for
6643 applicable cases of large exponents.
6644
c483f6b4
JM
6645 [BZ #706]
6646 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6647 (__ieee754_pow): Use iterative multiplication algorithm only for
6648 integer exponents with absolute value below 1024. Check for odd
6649 integer exponents when using algorithm for real exponents.
6650 * math/libm-test.inc (pow_test): Add more tests.
6651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6652
d2de7579
JM
66532012-04-08 Joseph Myers <joseph@codesourcery.com>
6654
6655 [BZ #13705]
6656 * math/libm-test.inc (exp_test): Do not allow overflow exception
6657 on underflow test.
6658
f77f1232
AJ
66592012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6660
6661 [BZ #13705]
6662 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6663 instead of __kernel_standard_f.
6664
3884932b
MF
66652012-04-08 Mike Frysinger <vapier@gentoo.org>
6666
6667 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6668 * sysdeps/x86_64/memset_chk.S: Likewise.
6669
54472e9c
AJ
66702012-04-08 Andreas Jaeger <aj@suse.de>
6671
6ab0fbfc
AJ
6672 [BZ #10153]
6673 * manual/startup.texi (Environment Access): Describe return value
6674 for putenv and setenv.
6675
61efba8c
AJ
6676 [BZ #6895]
6677 * manual/filesys.texi (Directory Entries): Add description for
6678 DT_LNK.
6679
95c3f29a
AJ
6680 [BZ #6890]
6681 * manual/filesys.texi (Directory Entries): Clarify that it's file
6682 system not operating system in the description of DT_UNKNOWN.
6683
54472e9c
AJ
6684 [BZ #6578]
6685 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6686
624254b1
SC
66872012-04-08 Stephen Compall <s11@member.fsf.org>
6688
6689 [BZ #6649]
6690 * manual/llio.texi (Opening and Closing Files): Add cross
6691 reference to explain mode argument.
6692
1e4920e0
MF
66932012-04-07 Mike Frysinger <vapier@gentoo.org>
6694
6695 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6696 * sysdeps/x86_64/memset_chk.S: Likewise.
6697
5ed848f3
DM
66982012-04-07 David S. Miller <davem@davemloft.net>
6699
6700 * elf/elf.h (R_SPARC_WDISP10): Define.
6701 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6702 R_SPARC_SIZE32.
6703 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6704 R_SPARC_SIZE64 and R_SPARC_H34.
6705
96154cd8
CD
67062012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6707
6708 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6709 conditions and remove no longer applicable assertion.
6710
9904dc47
L
67112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6712
6713 * bits/byteswap.h: Include <features.h>.
6714 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6715 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6716
f8887d0a
L
67172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6718
6719 * bits/byteswap.h (__bswap_16): Removed.
6720 Include <bits/byteswap-16.h> to get __bswap_16.
6721 * sysdeps/i386/bits/byteswap.h: Likewise.
6722 * sysdeps/s390/bits/byteswap.h: Likewise.
6723 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6724 * bits/byteswap-16.h: New file.
6725 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6726 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6727 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6728 * string/Makefile (headers): Add bits/byteswap-16.h.
6729
62470f60
PP
67302012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6731
6732 [BZ #13895]
6733 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6734 extra indirection.
6735 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6736 * nss/tst-nss-static.c: New.
6737
4dad7bab
RM
67382012-04-06 Robert Millan <rmh@gnu.org>
6739
6740 [BZ #6486]
6741 * manual/llio.texi (File Position Primitive): lseek
6742 refers to WHENCE when it really means OFFSET.
6743
e9142a17
AJ
67442012-04-06 Andreas Jaeger <aj@suse.de>
6745
2c040eff
AJ
6746 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6747 strncmp declarations.
6748
e9142a17
AJ
6749 * abilist/libc.abilist: Add __poll and __ppoll.
6750
ff9f1c5f
DM
67512012-04-05 David S. Miller <davem@davemloft.net>
6752
dcd2ae90
DM
6753 * scripts/check-local-headers.sh: Accept a host triplet in the
6754 path matched by the exclude regexp.
6755
993eb054
DM
6756 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6757 definition.
6758 * sysdeps/powerpc/powerpc32/dl-machine.h
6759 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6760 * sysdeps/s390/s390-32/dl-machine.h
6761 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6762 * sysdeps/sparc/sparc32/dl-machine.h
6763 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6764 * sysdeps/sparc/sparc64/dl-machine.h
6765 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6766
ff9f1c5f
DM
6767 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6768 lazy binding.
48e2e132 6769 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6770 undefined symbol errors.
6771
48e2e132 6772 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6773 DT_NEEDED entries.
6774
e80d6f94
MM
67752012-04-05 Michael Matz <matz@suse.de>
6776
6777 [BZ #13592]
6778 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6779
349fa79f
AJ
67802012-04-05 Andreas Jaeger <aj@suse.de>
6781
6782 [BZ #13908]
6783 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6784 comment.
6785
f402708f
KK
67862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6787
6788 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6789 which ROUND is no valid rounding mode.
6790
2ecccfc9
KK
67912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6792
6793 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6794 read again.
6795 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6796
8a53f50f
KK
67972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6798
6799 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6800 an exception using FPU order intentionally.
6801
68022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6803
6804 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6805 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6806 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6807 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6808
d653abb7
SJ
68092012-04-05 Simon Josefsson <simon@josefsson.org>
6810
6811 [BZ #12340]
6812 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6813 EINVAL when BUFLEN is too smal.
6814
c3b1bf7d
TS
68152012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6816
6817 [BZ #13553]
6818 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6819 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6820
b1aa60f3
AJ
68212012-04-03 Andreas Jaeger <aj@suse.de>
6822
c3b1bf7d 6823 [BZ #13938]
67f60a26
AJ
6824 * manual/setjmp.texi (System V contexts): Fix sentence.
6825
b1aa60f3
AJ
6826 [BZ #13926]
6827 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6828 New macro for this case.
6829 [!__GNUC__] (__bswap_64): New inline function for this case.
6830 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6831 * bits/byteswap.h: Likewise.
6832 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6833 ull, guard with __GLIBC_HAVE_LONG_LONG.
6834
6835 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6836 __GLIBC_HAVE_LONG_LONG.
6837
6838 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6839 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6840
39c59c35
TMQMF
68412012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6842
6843 [BZ #13691]
6844 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6845 inptr and inend, rather than using last_ch.
6846
135ffda8
DM
68472012-04-02 David S. Miller <davem@davemloft.net>
6848
6849 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6850 * stdio-common/printf-parse.h (read_int): Change return type to
6851 'int', return -1 on INT_MAX overflow.
6852 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6853 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6854 overflows INT_MAX. Check for overflow of in-format-string precision
6855 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6856 SIZE_MAX not INT_MAX for integer overflow test.
6857 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6858 skip the construct in the format string but do not record anything.
6859 * stdio-common/bug22.c: Adjust to test both width/prevision
6860 INT_MAX overflow as well as total length INT_MAX overflow. Check
6861 explicitly for proper errno values.
6862
228c019e
TS
68632012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6864
302cadd3
TS
6865 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6866 CHAR_MAX.
6867 * string/test-strcmp.c [! WIDE]: Likewise.
6868 * time/tst-mktime2.c: Likewise for INT_MAX.
6869 * string/test-string.h: #include <sys/param.h> for MIN.
6870
228c019e
TS
6871 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6872 * sysdeps/i386/init-first.c (init): Likewise.
6873 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6874 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6875 * sysdeps/sh/init-first.c (init): Likewise.
6876
cfa633f5
UD
68772012-04-01 Ulrich Drepper <drepper@gmail.com>
6878
6879 * po/ru.po: Update from translation team.
d1635ef8 6880 * po/vi.po: Likewise.
cfa633f5 6881
6cd0a5ea
SP
68822012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6883
6884 * resolv/nss_dns/dns-host.c: Merge copyright years.
6885
4b43400f
LD
68862012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6887
6888 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6889 Optimize memcpy with prefetch if
6890 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6891 src, dst pointers have unequal 16 byte alignments.
6892
48c41d04
SP
68932012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6894
6895 [BZ #13928]
6896 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6897 from a CNAME entry and return the minimum ttl for the query.
6898 (gaih_getanswer_slice): Likewise.
6899
b8dc394d
JL
69002012-03-30 Jeff Law <law@redhat.com>
6901
6902 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6903 due to long keys.
6904 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6905 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6906
2f5a5ed0
JL
6907 * resolv/nss_dns/dns-host.c: Update copyright year.
6908
1d39e359
UD
69092012-03-30 Ulrich Drepper <drepper@gmail.com>
6910
c030f70c 6911 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6912 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6913
1d39e359
UD
6914 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6915 comments for sendmmsg.
6916
69172012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6918
6919 [BZ #13691]
6920 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6921 with only 1 character between 0x0041 and 0x01b0.
6922 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6923 * wcsmbs/tst-mbsnrtowcs.c: New file.
6924
20fde227
DM
69252012-03-29 David S. Miller <davem@davemloft.net>
6926
6927 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6928 small copies by hand.
6929
984a4237
JL
69302012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6931
6932 [BZ #13761]
6933 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6934 _nss_compat_initgroups_dyn): Fall back to malloc/free
6935 for large group memberships.
6936
18c9d62b
DM
69372012-03-28 David S. Miller <davem@davemloft.net>
6938
88d85d4f
DM
6939 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6940 that branches into memcpy.
6941 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6942 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6943 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6944 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6946 bits.
6947 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6948 implementation too.
6949 * sysdeps/sparc/mempcpy.S: New file.
6950
e5aa83e1
DM
6951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6952 the IFUNC routine in the libc case.
6953 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6954
88570753
DM
6955 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6956 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6957 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6958 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6959 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6960 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6961 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6962 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6963
249d7567
DM
6964 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6965 loop to 256 bytes instead of 64 bytes and fix test signedness.
6966
18c9d62b
DM
6967 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6968 * sysdeps/sparc/sparc32/Makefile: rather than here...
6969 * sysdeps/sparc/sparc64/Makefile: and here.
6970
05f3d1f6
UD
69712012-03-28 Ulrich Drepper <drepper@gmail.com>
6972
6973 * malloc/mallocbug.c: Avoid warnings about unused variables.
6974
86ae07a8
JL
69752012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6976
6977 [BZ #13760]
6978 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6979 in the right place. Discard and retry query if response is
6980 larger than input buffer size.
6981
41bf21a1
JM
69822012-03-28 Joseph Myers <joseph@codesourcery.com>
6983
d6270972
JM
6984 [BZ #369]
6985 [BZ #2678]
6986 [BZ #3866]
6987 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6988 x for large integer exponent.
6989 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6990 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6991 sign of result as needed afterwards.
6992 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6993 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6994 result for underflowing pow the same as for overflow.
6995 (__kernel_standard_l): Handle powl overflow and underflow here
6996 rather than calling __kernel_standard.
6997 * math/libm-test.inc (pow_test): Add more tests.
6998
414fca03 6999 [BZ #3868]
41bf21a1
JM
7000 [BZ #13879]
7001 [BZ #13910]
7002 [BZ #13911]
7003 [BZ #13912]
7004 [BZ #13913]
7005 [BZ #13915]
7006 [BZ #13916]
7007 [BZ #13917]
7008 [BZ #13918]
7009 [BZ #13919]
7010 [BZ #13920]
7011 [BZ #13921]
7012 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7013 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7014 (__kernel_standard_l): New function.
7015 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7016 __kernel_standard.
7017 * math/w_acosl.c (__acosl): Likewise.
7018 * math/w_asinl.c (__asinl): Likewise.
7019 * math/w_atan2l.c (__atan2l): Likewise.
7020 * math/w_atanhl.c (__atanhl): Likewise.
7021 * math/w_coshl.c (__coshl): Likewise.
7022 * math/w_exp10l.c (__exp10l): Likewise.
7023 * math/w_exp2l.c (__exp2l): Likewise.
7024 * math/w_fmodl.c (__fmodl): Likewise.
7025 * math/w_hypotl.c (__hypotl): Likewise.
7026 * math/w_j0l.c (__j0l, __y0l): Likewise.
7027 * math/w_j1l.c (__j1l, __y1l): Likewise.
7028 * math/w_jnl.c (__jnl, __ynl): Likewise.
7029 * math/w_lgammal.c (__lgammal): Likewise.
7030 * math/w_log10l.c (__log10l): Likewise.
7031 * math/w_log2l.c (__log2l): Likewise.
7032 * math/w_logl.c (__logl): Likewise.
7033 * math/w_powl.c (__powl): Likewise.
7034 * math/w_remainderl.c (__remainderl): Likewise.
7035 * math/w_scalbl.c (sysv_scalbl): Likewise.
7036 * math/w_sinhl.c (__sinhl): Likewise.
7037 * math/w_sqrtl.c (__sqrtl): Likewise.
7038 * math/w_tgammal.c (__tgammal): Likewise.
7039 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7040 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7041 * math/libm-test.inc (acos_test): Add more tests.
7042 (acosh_test): Likewise.
7043 (asin_test): Likewise.
7044 (atanh_test): Likewise.
7045 (exp_test): Likewise.
7046 (exp10_test): Likewise.
7047 (exp2_test): Likewise.
7048 (expm1_test): Likewise.
7049 (lgamma_test): Likewise.
7050 (log_test): Likewise.
7051 (log10_test): Likewise.
7052 (log1p_test): Likewise.
7053 (log2_test): Likewise.
7054 (pow_test): Do not allow some spurious overflow exceptions.
7055 (sqrt_test): Add more tests.
7056 (tgamma_test): Likewise.
7057 (y0_test): Likewise.
7058 (y1_test): Likewise.
7059 (yn_test): Likewise.
7060
dd62fda6
AB
70612012-03-27 Anton Blanchard <anton@samba.org>
7062
7063 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7064 MAP_HUGETLB.
7065 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7066 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7067 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7068
1e3cdfda
AJ
70692012-03-27 David S. Miller <davem@davemloft.net>
7070
b855ab85
DM
7071 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7072
1e3cdfda
AJ
7073 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7074 have-as-vis3 check.
7075
70762012-03-27 Andreas Jaeger <aj@suse.de>
7077
7078 * sysdeps/x86_64/elf/configure.in: Moved to ...
7079 * sysdeps/x86_64/configure.in: ... here.
7080 * sysdeps/x86_64/elf/start.S: Moved to ...
7081 * sysdeps/x86_64/start.S: ... here.
7082 * sysdeps/x86_64/elf/configure: Delete.
7083
7084 * sysdeps/x86_64/configure.in: Merge contents from
7085 sysdeps/i386/configure.in (without i686 check).
7086
7087 * sysdeps/i386/elf/Versions: Merge into ...
7088 * sysdeps/i386/Versions: ... this.
7089 * sysdeps/i386/elf/Versions: Delete file.
7090 * sysdeps/i386/elf/start.S: Moved to ...
7091 * sysdeps/i386/start.S: ...here.
7092 * sysdeps/i386/elf/configure.in: Merge into...
7093 * sysdeps/i386/configure.in: ...here.
7094 * sysdeps/i386/elf/configure.in: Delete file.
7095 * sysdeps/i386/elf/configure: Delete file.
7096
7097 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7098 * debug/backtracesyms.c: ... here.
7099 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7100 * debug/backtracesymsfd.c: ... here.
7101 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7102 * sysdeps/generic/ifunc-sel.h: ... here.
7103
7104 * sysdeps/unix/i386/start.c: Delete file.
7105 * sysdeps/unix/sparc/start.c: Delete file.
7106 * sysdeps/unix/start.c: Delete file.
7107
7108 * sysdeps/sh/elf/configure.in: Moved to ...
7109 * sysdeps/sh/configure.in: ... here.
7110 * sysdeps/sh/elf/start.S: Moved to ...
7111 * sysdeps/sh/start.S: ... here.
7112 * sysdeps/sh/elf/configure: Delete file.
7113
7114 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7115 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7116 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7117 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7118 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7119 * sysdeps/powerpc/powerpc64/start.S: here.
7120 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7121 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7122 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7123 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7124 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7125
7126 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7127 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7128 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7129 * sysdeps/powerpc/powerpc32/start.S: ... here.
7130 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7131 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7132 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7133
7134 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7135 * sysdeps/powerpc/ifunc-sel.h: ... here.
7136 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7137 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7138
7139 * sysdeps/sparc/elf/configure.in: Moved to ...
7140 * sysdeps/sparc/configure.in: ... here.
7141 * sysdeps/sparc/elf/configure: Delete file.
7142 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7143 * sysdeps/sparc/sparc32/start.S: ... here.
7144 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7145 * sysdeps/sparc/sparc64/start.S: ... here.
7146 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7147 * sysdeps/sparc/sparc32/Makefile: ... this.
7148 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7149 * sysdeps/sparc/sparc64/Makefile: ... this.
7150
7151 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7152 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7153 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7154 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7155 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7156 * sysdeps/s390/s390-32/setjmp.S: ... here.
7157 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7158 * sysdeps/s390/s390-32/configure.in: ... here.
7159 * sysdeps/s390/s390-32/elf/configure: Delete file.
7160 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7161 * sysdeps/s390/s390-32/start.S: ... here.
7162
7163 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7164 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7165 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7166 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7167 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7168 * sysdeps/s390/s390-64/setjmp.S: ... here.
7169 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7170 * sysdeps/s390/s390-64/configure.in: ... here
7171 * sysdeps/s390/s390-64/elf/configure: Delete file.
7172 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7173 * sysdeps/s390/s390-64/start.S: ... here.
7174 * sysdeps/s390/s390-64/elf/configure: Delete.
7175
7176 * configure.in: Remove support for elf directories in sysdeps.
7177
7178 * configure: Regenerated.
7179 * sysdeps/i386/configure: Regenerated.
7180 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7181 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7182 * sysdeps/s390/s390-32/configure: Regenerated.
7183 * sysdeps/s390/s390-64/configure: Regenerated.
7184 * sysdeps/sh/configure: Regenerated.
7185 * sysdeps/sparc/configure: Regenerated.
7186 * sysdeps/x86_64/configure: Regenerated.
7187
a3f61311
AS
71882012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7189
c876e002
AS
7190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7191
a3f61311
AS
7192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7193 denormal result into account.
7194
ac4c54f0
RM
71952012-03-25 Roland McGrath <roland@hack.frob.com>
7196
7197 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7198 Reported by Allan McRae <allan@archlinux.org>.
7199
6a9b9c02
JL
72002012-03-23 Jeff Law <law@redhat.com>
7201
7202 * nss/getnssent.c (__nss_getent): Fix typo.
7203
4c42a0c1
DM
72042012-03-23 David S. Miller <davem@davemloft.net>
7205
7206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7207
1532c7ac
L
72082012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7209
7210 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7211 to pad to uint64_t for each field.
7212 (dl_tls_index): Replace unsigned long with uint64_t.
7213
3ff42526
PP
72142012-03-23 Daniel Jacobowitz <dmj@google.com>
7215 Paul Pluzhnikov <ppluzhnikov@google.com>
7216
7217 [BZ #6528]
7218 * grp/Makefile (otherlibs): Don't set it.
7219 * inet/Makefile (otherlibs): Likewise.
7220 * login/Makefile (otherlibs): Likewise.
7221 * nscd/Makefile (otherlibs): Likewise.
7222 * posix/Makefile (otherlibs): Likewise.
7223 * pwd/Makefile (otherlibs): Likewise.
7224 * rt/Makefile (otherlibs): Likewise.
7225 * sunrpc/Makefile (otherlibs): Likewise.
7226 * nss/Makefile (otherlibs): Likewise.
7227 Add libnss_files to routines and static-only-routines.
7228 ($(objpfx)getent): Remove rule.
7229 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7230 static-only-routines.
7231
7c69cd14
JM
72322012-03-22 Joseph Myers <joseph@codesourcery.com>
7233
7234 [BZ #13892]
7235 * math/s_cexp.c: Include <float.h>.
7236 (__cexp): Handle exp result overflowing not necessarily
7237 overflowing both real and imaginary parts of result.
7238 * math/s_cexpf.c: Likewise.
7239 * math/s_cexpl.c: Likewise.
7240 * math/libm-test.inc (cexp_test): Add more tests.
7241 * sysdeps/i386/fpu/libm-test-ulps: Update.
7242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7243
81b035fe
L
72442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7245
7246 * include/link.h (ELFW): New macro.
7247 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7248 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7249
1da7940c
L
72502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7251
7252 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7253 with uint64_t.
7254
b749dbb9
L
72552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7256
7257 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7258 declaration.
7259 (struct La_x32_retval): Likewise.
7260
2ff87f3f
L
72612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7262
7263 * sysdeps/x86_64/preconfigure.in: New file.
7264 * sysdeps/x86_64/preconfigure: New generated file.
7265
c0df8e69
JM
72662012-03-22 Joseph Myers <joseph@codesourcery.com>
7267
48e44791
JM
7268 [BZ #13824]
7269 * math/e_exp2l.c: Include <float.h>.
7270 (__ieee754_exp2l): Handle overflow and underflow cases
7271 separately. Only pass fractional part of argument to
7272 __ieee754_expl.
7273 * math/libm-test.inc (exp2_test): Add more tests.
7274
c0df8e69
JM
7275 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7276 negating x to take absolute value.
7277 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7278 Likewise.
7279 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7280 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7281 Likewise.
7282 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7283 computing low part if x was negated.
7284 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7285
c8e43ba7
L
72862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7287
7288 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7289 la_x32_gnu_pltexit.
7290 (pltexit): Cast int_retval to ptrdiff_t.
7291 * elf/tst-auditmod3b.c: Likewise.
7292 * elf/tst-auditmod4b.c: Likewise.
7293 * elf/tst-auditmod5b.c: Likewise.
7294 * elf/tst-auditmod6b.c: Likewise.
7295 * elf/tst-auditmod6c.c: Likewise.
7296 * elf/tst-auditmod7b.c: Likewise.
7297
7298 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7299 and x32_gnu_pltexit.
7300
7301 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7302 __ELF_NATIVE_CLASS.
7303 (La_x32_regs): New macro.
7304 (La_x32_retval): Likewise.
7305 (la_x32_gnu_pltenter): New function prototype.
7306 (la_x32_gnu_pltexit): Likewise.
7307
7998fa78
AS
73082012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7309
dcb33988
AS
7310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7311 exponent.
7312
233fc563
AS
7313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7314
7998fa78
AS
7315 * configure.in (libc_cv_cc_nofma): Check for option to disable
7316 generation of FMA instructions.
7317 * configure: Regenerate.
7318 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7319 * sysdeps/ieee754/dbl-64/Makefile: New file.
7320 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7321 Remove brandred-fma4.
7322 (CFLAGS-brandred-fma4.c): Remove.
7323 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7324 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7325 define.
7326 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7327 define.
7328
8e95c99a
L
73292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7330
7331 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7332 LLONG_MAX != LONG_MAX.
7333 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7334 (_fitoa_word): Likewise.
7335 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7336 LLONG_MAX != LONG_MAX.
7337 * stdio-common/_itowa.h: Include <_itoa.h>.
7338 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7339 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7340 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7341 only if not defined.
7342 (_ITOA_WORD_TYPE): Likewise.
7343 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7344 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7345
6f4db457
DM
73462012-03-21 David S. Miller <davem@davemloft.net>
7347
7348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7349
7785fe5a
L
73502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7351
7352 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7353 of x86_64 when setting libc_cv_slibdir, libdir and
7354 libc_cv_localedir.
7355 * sysdeps/unix/sysv/linux/configure: Regenerated.
7356
4535cd55
JM
73572012-03-21 Joseph Myers <joseph@codesourcery.com>
7358
7359 * manual/lang.texi (Old Varargs): Remove section.
7360 (How Variadic): Update menu.
7361 (va_start): Do not mention varargs.h.
7362
17228132
TS
73632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7364 Joseph Myers <joseph@codesourcery.com>
7365
7366 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7367 link test.
7368 * configure: Regenerated.
7369
8149f976
TS
73702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7371
05f3d1f6
UD
7372 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7373 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7374 conformtest.pl
8149f976 7375
1a4ac776
JM
73762012-03-21 Joseph Myers <joseph@codesourcery.com>
7377
be22ce65
JM
7378 * NOTES: Remove.
7379 * Makefile (files-for-dist): Remove NOTES.
7380 (NOTES): Remove rule.
7381 * README: Don't refer to NOTES.
7382 * manual/creature.texi: Don't include macros.texi.
7383 * manual/intro.texi (creature.texi): Remove comment referring to
7384 NOTES.
7385
40b601fb
JM
7386 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7387 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7388 * configure: Regenerated.
7389 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7390 LIBC_TRY_CC_OPTION.
7391 (libc_cv_as_i686): Likewise.
7392 (libc_cv_cc_avx): Likewise.
7393 (libc_cv_cc_sse2avx): Likewise.
7394 (libc_cv_cc_fma4): Likewise.
7395 (libc_cv_cc_novzeroupper): Likewise.
7396 * sysdeps/i386/configure: Regenerated.
7397
1a4ac776
JM
7398 [BZ #13883]
7399 * sysdeps/i386/fpu/s_cexp.S: Remove.
7400 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7401 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7402 * math/libm-test.inc (cexp_test): Add more tests.
7403 * sysdeps/i386/fpu/libm-test-ulps: Update.
7404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7405
a458e7fe
AM
74062012-03-21 Allan McRae <allan@archlinux.org>
7407
7408 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7409
0cb7efc5
JM
74102012-03-21 Joseph Myers <joseph@codesourcery.com>
7411
7412 [BZ #13871]
7413 * math/w_exp2.c: Do not include <float.h>.
7414 (o_threshold, u_threshold): Remove.
7415 (__exp2): Calculate result before checking finiteness and calling
7416 __kernel_standard.
7417 * math/w_exp2f.c: Likewise.
7418 * math/w_exp2l.c: Likewise.
7419 * math/libm-test.inc (exp2_test): Require overflow exception for
7420 1e6 input.
2460d3aa
JM
7421
7422 [BZ #3866]
7423 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7424 range of signed 64-bit integers before using fistpll. Remove
7425 checks for whether integers fit in mantissa bits.
7426 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7427 the range of signed 32-bit integers before using fistpl. Remove
7428 checks for whether integers fit in mantissa bits.
7429 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7430 (__ieee754_powl): Test for y outside the range of signed 64-bit
7431 integers before using fistpll. Reduce 64-bit values to 63-bit
7432 ones as needed.
7433 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7434 divide-by-zero is raised for zero to large negative powers.
7435 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7436 (__ieee754_powl): Test for y outside the range of signed 64-bit
7437 integers before using fistpll. Reduce 64-bit values to 63-bit
7438 ones as needed.
7439 * math/libm-test.inc (pow_test): Add more tests.
7440
eb96ffb0
L
74412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7442
7443 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7444 <stdio-common/_itoa.h>.
7445 * debug/segfault.c: Likewise.
7446 * elf/dl-cache.c: Likewise.
7447 * elf/dl-minimal.c: Likewise.
7448 * elf/dl-misc.c: Likewise.
7449 * elf/dl-sysdep.c: Likewise.
7450 * elf/dl-version.c: Likewise.
7451 * elf/rtld.c: Likewise.
7452 * hurd/hurdsock.c: Likewise.
7453 * hurd/lookup-retry.c: Likewise.
7454 * malloc/malloc.c: Likewise.
7455 * malloc/mtrace.c: Likewise.
7456 * nscd/nscd_getgr_r.c: Likewise.
7457 * nscd/nscd_getpw_r.c: Likewise.
7458 * nscd/nscd_getserv_r.c: Likewise.
7459 * posix/getopt_init.c: Likewise.
7460 * posix/wordexp.c: Likewise.
7461 * stdio-common/_itoa.c: Likewise.
7462 * stdio-common/printf_fphex.c: Likewise.
7463 * stdio-common/vfprintf.c: Likewise.
7464 * string/_strerror.c: Likewise.
7465 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7466 * sysdeps/i386/i686/hp-timing.h: Likewise.
7467 * sysdeps/mach/_strerror.c: Likewise.
7468 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7469 * sysdeps/mach/hurd/sethostid.c: Likewise.
7470 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7471 * sysdeps/mach/xpg-strerror.c: Likewise.
7472 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7474 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7475 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7476 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7477 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7478 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7479 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7480 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7481 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7482 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7483 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7484 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7485 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7486 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7487 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7488 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7489 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7490 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7491 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7492 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7493
7494 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7495
7496 * stdio-common/_itoa.h: Moved to ...
7497 * sysdeps/generic/_itoa.h: Here.
7498
7499 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7500
7501 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7502 instead of "_itoa.h" and "_itowa.h".
7503 * stdio-common/vfprintf.: Likewise.
7504
d1af992d
L
75052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7506
7507 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7508 <bits/wordsize.h>.
7509 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7510 (__signbit): Likwise.
7511 (llrintf): Likwise.
7512 (llrint): Likwise.
7513
114883e0
L
75142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7515
7516 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7517 __WORDSIZE != 64.
7518
c135cc1b
JM
75192012-03-20 Joseph Myers <joseph@codesourcery.com>
7520
7521 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7522 OVERFLOW_EXCEPTION_OK.
7523 * math/libm-test.inc ("Philosophy"): Update comment about
7524 exception testing.
7525 (OVERFLOW_EXCEPTION): Define.
7526 (OVERFLOW_EXCEPTION_OK): Likewise.
7527 (INVALID_EXCEPTION_OK): Renumber.
7528 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7529 (IGNORE_ZERO_INF_SIGN): Likewise.
7530 (test_exceptions): Handle FE_OVERFLOW.
7531 (exp10_test): Expect overflow exceptions.
7532 (exp2_test): Likewise.
7533 (expm1_test): Likewise.
7534 (nextafter_test): Likewise.
7535 (pow_test): Likewise.
7536 (scalbn_test): Likewise.
7537 (scalbln_test): Likewise.
7538
95443d88
L
75392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7540
7541 * sysdeps/x86_64/bits/atomic.h
7542 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7543 64bit integer.
7544 (atomic_exchange_acq): Likewise.
7545 (__arch_exchange_and_add_body): Likewise.
7546 (__arch_add_body): Likewise.
7547 (atomic_add_negative): Likewise.
7548 (atomic_add_zero): Likewise.
7549
490df6c4
L
75502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7551
c2722551 7552 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7553 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7554
5e52b189
L
75552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7556
7557 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7558 Check __x86_64__ instead of __WORDSIZE.
7559
a9879d4c
L
75602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7561
7562 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7563
5df98260
DM
75642012-03-19 David S. Miller <davem@davemloft.net>
7565
e1497744
DM
7566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7567
5df98260
DM
7568 * sysdeps/sparc/fpu/fenv_private.h: New file.
7569 * sysdeps/sparc/fpu/math_private.h: Use it.
7570 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7571 Remove.
7572 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7573 (libc_feholdexcept_setroundl): Remove.
7574 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7575 Remove.
7576 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7577 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7578
b4c35121
L
75792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7580
7581 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7582 int64_t instead of long int.
7583 (INSERT_WORDS64): Likwise.
7584
56965fd7
L
75852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7586
7587 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7588 _Unwind_GetCFA return to _Unwind_Ptr first.
7589
83d1aec8
JM
75902012-03-19 Joseph Myers <joseph@codesourcery.com>
7591
1897ad44
JM
7592 [BZ #13629]
7593 * math/s_clog.c: Include <float.h>.
7594 (__clog): Scale large or subnormal inputs.
7595 * math/s_clogf.c: Likewise.
7596 * math/s_clogl.c: Likewise.
7597 * math/s_clog10.c: Include <float.h>.
7598 (M_LOG10_2): Define.
7599 (__clog10): Scale large or subnormal inputs.
7600 * math/s_clog10f.c: Likewise.
7601 * math/s_clog10l.c: Likewise.
7602 * math/libm-test.inc (clog_test): Add more tests.
7603 (clog10_test): Likewise.
7604 * sysdeps/i386/fpu/libm-test-ulps: Update.
7605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7606
7726d6a9
JM
7607 [BZ #11451]
7608 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7609 x and y.
7610 * math/libm-test.inc (atan2_test): Add another test.
7611
83d1aec8
JM
7612 * Makerules (common-objdir-compile): Remove.
7613 * sysdeps/unix/Makefile (config-generated): Do not add
7614 $(unix-generated) to variable.
7615 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7616 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7617 Remove rule.
7618 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7619 Likewise.
7620 [generic bits/local_lim.h] (before-compile): Do not append to
7621 variable.
7622 [generic bits/local_lim.h] (common-generated): Likewise.
7623 [generic sys/param.h] (before-compile): Do not append to variable.
7624 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7625 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7626 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7627 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7628 include.
7629 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7630 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7631 [generic sys/param.h] ($(addprefix
7632 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7633 [generic sys/param.h] (common-generated): Do not append to
7634 variable.
7635 [generic sys/param.h] (sysdep_headers): Likewise.
7636 [generic bits/errno.h] (before-compile): Do not append to
7637 variable.
7638 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7639 rule.
7640 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7641 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7642 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7643 [generic bits/errno.h] (common-generated): Do not append to
7644 variable.
7645 [generic bits/ioctls.h] (before-compile): Do not append to
7646 variable.
7647 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7648 rule.
7649 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7650 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7651 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7652 rule.
7653 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7654 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7655 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7656 [generic bits/ioctls.h] (common-generated): Do not append to
7657 variable.
7658 [generic sys/syscall.h] (syscall.h): Remove variable.
7659 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7660 rule.
7661 [generic sys/syscall.h] (before-compile): Do not append to
7662 variable.
7663 [generic sys/syscall.h] (common-generated): Likewise.
7664 * sysdeps/unix/errnos-tmpl.c: Remove file.
7665 * sysdeps/unix/errnos.awk: Likewise.
7666 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7667 * sysdeps/unix/ioctls.awk: Likewise.
7668 * sysdeps/unix/mk-local_lim.c: Likewise.
7669 * sysdeps/unix/snarf-ioctls: Likewise.
7670
4851a949
RH
76712012-03-19 Richard Henderson <rth@twiddle.net>
7672
bd37f2ee
RH
7673 * sysdeps/i386/fpu/fenv_private.h: New file.
7674 * sysdeps/i386/fpu/math_private.h: Use it.
7675 (math_opt_barrier, math_force_eval): Remove.
7676 (libc_feholdexcept_setround_53bit): Remove.
7677 (libc_feupdateenv_53bit): Remove.
7678 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7679 (math_opt_barrier, math_force_eval): Remove.
7680 (libc_feholdexcept): Remove.
7681 (libc_feholdexcept_setround): Remove.
7682 (libc_fetestexcept, libc_fesetenv): Remove.
7683 (libc_feupdateenv_test): Remove.
7684 (libc_feupdateenv, libc_feholdsetround): Remove.
7685 (libc_feresetround): Remove.
7686
d0adc922
RH
7687 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7688 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7689
0fe0f1f8
RH
7690 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7691 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7692 (libc_feupdateenv_testl): New.
7693 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7694 (libc_feupdateenv_testf): New.
7695 (libc_feupdateenv): Use libc_feupdateenv_test.
7696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7697 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7698
eb92c487
RH
7699 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7700 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7701 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7702 (libc_feresetround_noex): New.
7703 (libc_feresetround_noexf): New.
7704 (libc_feresetround_noexl): New.
7705 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7706 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7707 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7708 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7709 SET_RESTORE_ROUND.
7710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7711 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7712 (__cos): Likewise.
7713 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7714 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7715 SET_RESTORE_ROUND_NOEX.
7716 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7717 SET_RESTORE_ROUND_NOEXF.
7718 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7719 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7720 (libc_feholdsetroundf): New.
7721 (libc_feresetround, libc_feresetroundf): New.
7722
7d2e8012
RH
7723 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7724 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7725 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7726
b4dabbb4
RH
7727 * sysdeps/generic/math_private.h: Include <fenv.h>.
7728 (default_libc_feholdexcept): New.
7729 (default_libc_feholdexcept_setround): New.
7730 (default_libc_fesetenv, default_libc_feupdateenv): New.
7731 (libc_feholdexcept): Only define if undefined.
7732 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7733 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7734 (libc_feholdexcept_setroundl): Likewise.
7735 (libc_feholdexcept_setround_53bit): Likewise.
7736 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7737 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7738 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7739 (libc_feupdateenv_53bit): Likewise.
7740 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7741 (libc_feholdexcept): Convert from macro to inline function.
7742 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7743 (libc_fesetenv, libc_feupdateenv): Likewise.
7744
4851a949
RH
7745 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7746 not previously defined.
7747 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7748 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7749 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7750 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7751 * sysdeps/ieee754/flt-32/math_private.h: New file.
7752 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7753 math_private.h below SET_FLOAT_WORD.
7754 (__isnan, __isinf_ns, __finite): Remove.
7755 (__isnanf, __isinf_nsf, __finitef): Remove.
7756
e79d442e
AS
77572012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7758
7759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7760
90b80344
DM
77612012-03-17 David S. Miller <davem@davemloft.net>
7762
7763 [BZ #6471]
7764 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7765 for 2.16.
7766
edc21804
DM
77672012-03-16 David S. Miller <davem@davemloft.net>
7768
77e927af
DM
7769 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7770 warnings.
7771
374976dd
DM
7772 [BZ #6471]
7773 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7774 properly.
7775 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7776 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7777 sysdep_routines when subdir is sysvipc.
7778 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7779 __getshmlba helper.
7780
edc21804
DM
7781 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7782
473c3ef3
L
77832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7784
7785 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7786 [__LP64__].
7787
eb0f39b6
L
77882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7789
7790 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7791 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7792 (__lround): Renamed to ...
7793 (__llround): This. Replace long int with long long int.
7794 Define lround functions as aliases of llround functions.
7795 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7796
6b6cd74b
L
77972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7798
7799 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7800 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7801 adresses to uintptr_t. Replace "long int" and "unsigned long
7802 int" with "greg_t" on va_arg.
7803
f1a77b01
L
78042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7805
7806 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7807 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7808
7809 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7810 Move e_machine check before EI_CLASS check. Handle x32
7811 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7812 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7813 SKIP_EM_IA_64 and include
7814 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7815
7816 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7817 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7818 (add_system_dir): New macro.
7819
7820 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7821 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7822
11b90b9f
JM
78232012-03-16 Joseph Myers <joseph@codesourcery.com>
7824
c36e1d23
JM
7825 [BZ #2551]
7826 [BZ #2552]
7827 [BZ #2553]
7828 [BZ #2554]
7829 [BZ #2562]
7830 [BZ #2563]
7831 [BZ #2565]
7832 [BZ #2566]
7833 [BZ #2576]
7834 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7835 (y0): Likewise.
7836 * math/w_j0f.c (j0f): Likewise.
7837 (y0f): Likewise.
7838 * math/w_j0l.c (__j0l): Likewise.
7839 (__y0l): Likewise.
7840 * math/w_j1.c (j1): Likewise.
7841 (y1): Likewise.
7842 * math/w_j1f.c (j1f): Likewise.
7843 (y1f): Likewise.
7844 * math/w_j1l.c (__j1l): Likewise.
7845 (__y1l): Likewise.
7846 * math/w_jn.c (jn): Likewise.
7847 (yn): Likewise.
7848 * math/w_jnf.c (jnf): Likewise.
7849 (ynf): Likewise.
7850 * math/w_jnl.c (__jnl): Likewise.
7851 (__ynl): Likewise.
7852 * math/libm-test.inc (j0_test): Add more tests.
7853 (j1_test): Likewise.
7854 (jn_test): Likewise. Add trailing semicolon to existing test.
7855 (y0_test): Likewise.
7856 (y1_test): Likewise.
7857 * sysdeps/i386/fpu/libm-test-ulps: Update.
7858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7859
11b90b9f
JM
7860 [BZ #13851]
7861 [BZ #13854]
7862 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7863 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7864 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7865 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7866 (__tanl): Set errno for infinite argument.
7867 * sysdeps/i386/fpu/mptan.c: Remove.
7868 * sysdeps/i386/fpu/s_tan.S: Likewise.
7869 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7870 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7871 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7872 * math/libm-test.inc (tan_test): Add more tests and enable more
7873 tests for double and long double.
7874 * sysdeps/i386/fpu/libm-test-ulps: Update.
7875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7876
6a1bd2a1
JK
78772012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7878
7879 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7880 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7881
10a803e0
RM
78822012-03-16 Roland McGrath <roland@hack.frob.com>
7883
7884 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7885 * configure.in: Use it for both main tree and add-ons.
7886 * configure: Regenerated.
7887
f196c7f7
L
78882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7889
7890 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7891
8848d99d
JM
78922012-03-16 Joseph Myers <joseph@codesourcery.com>
7893
96cbe7f4
JM
7894 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7895 in comment.
7896
8848d99d
JM
7897 [BZ #13851]
7898 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7899 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7903 infinite argument.
7904 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7906 != 0 for prec == 2.
7907 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7908 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7909 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7910 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7911 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7912 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7913 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7914 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7915 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7916 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7917 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7918 * math/libm-test.inc (cos_test): Add more tests and enable more
7919 tests for long double.
7920 (sin_test): Likewise.
7921 (sincos_test): Likewise.
7922 * sysdeps/i386/fpu/libm-test-ulps: Update.
7923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7924
dd7f4703
DM
79252012-03-16 David S. Miller <davem@davemloft.net>
7926
7927 * sysdeps/sparc/fpu/math_private.h: New file.
7928
006f1daa
DM
79292012-03-15 David S. Miller <davem@davemloft.net>
7930
c0c83bc8
DM
7931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7932 file.
e6a62e18 7933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7935 file.
e6a62e18
DM
7936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7942 sysdep routines.
7943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7944
88cb87d9
DM
7945 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7946 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7947
006f1daa 7948 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7950 sparc-ifunc.h
006f1daa 7951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7953 Likewise.
7954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7955 Likewise.
006f1daa
DM
7956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7960 Likewise.
006f1daa
DM
7961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7966 Likewise.
7967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7968 Likewise.
006f1daa
DM
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7987 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7988 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7989 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7990 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7993
11e0098e
AS
79942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7995
7996 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7997 scaling.
7998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7999
e85b09d0
AJ
80002012-03-15 Andreas Jaeger <aj@suse.de>
8001
8002 [BZ #13852]
8003 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8004 ieee754/flt-32 implementation for sin, cos and sincos.
8005 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8006 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8007 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8008 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8009 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8010 ieee754/flt-32 implementation for tan.
8011
8012 * math/libm-test.inc (cos_test): Enable some large input tests for
8013 float as well
8014 (sin_test): Likewise.
8015 (sincos_test): Likewise.
8016 (tan_test): Add tests for large input.
8017
8018 * sysdeps/i386/fpu/libm-test-ulps: Update.
8019
81c64153
AJ
80202012-03-15 Andreas Jaeger <aj@suse.de>
8021
8022 [BZ #13658]
8023 * math/libm-test.inc (cos_test): Add more test cases.
8024 (sin_test): Likewise.
8025 (sincos_test): Likewise.
8026
7bbfa5c6
AJ
80272012-03-15 Andreas Jaeger <aj@suse.de>
8028
8029 [BZ #13837]
8030 * math/libm-test.inc (cos_test): Add a test case for large input
8031 value.
8032 (sin_test): Likewise.
8033 (sincos_test): Likewise.
8034
80352012-03-15 Andreas Jaeger <aj@suse.de>,
8036 Joseph Myers <joseph@codesourcery.com>
8037
8038 [BZ #13658]
0671f479 8039 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8040 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8041 * sysdeps/i386/fpu/branred.c: Likewise.
8042 * sysdeps/i386/fpu/dosincos.c: Likewise.
8043 * sysdeps/i386/fpu/mpa.c: Likewise.
8044 * sysdeps/i386/fpu/s_cos.S: Likewise.
8045 * sysdeps/i386/fpu/s_sin.S: Likewise.
8046 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8047 * sysdeps/i386/fpu/sincos32.c: Likewise.
8048
8049 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8050 Define.
8051 (libc_feupdateenv_53bit): Define.
8052 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8053 Define.
8054 (libc_feupdateenv_53bit): Define.
8055
8056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8057 53 bit (without extend i386 double precision).
8058
8059 * math/libm-test.inc (sincos_test): Add tests for large input.
8060 (sin): Likewise.
8061 (cos): Likewise.
8062
8063 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8064
9cad04ea
AS
80652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8066
8067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8068
f7062b9a
DM
80692012-03-15 David S. Miller <davem@davemloft.net>
8070
8071 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8072 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8073 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8074 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8087 file.
f7062b9a 8088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8090 file.
f7062b9a 8091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8093 file.
f7062b9a 8094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8096 file.
f7062b9a
DM
8097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8099 fmin/fmax sysdep routines.
8100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8101
7bd951ff
DM
81022012-03-14 David S. Miller <davem@davemloft.net>
8103
559398ab
DM
8104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8109 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8110 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8130 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8131 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8133 routines.
8134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8135 file.
559398ab 8136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8138 file.
559398ab 8139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8141 file.
559398ab 8142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8144 file.
559398ab 8145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8147 file.
559398ab 8148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8150 file.
8151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8152 file.
8153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8154 file.
8155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8156 file.
8157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8158 New file.
8159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8160 file.
8161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8162 file.
559398ab 8163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8165 file.
559398ab 8166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8168 file.
559398ab 8169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8171 file.
559398ab 8172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8174 VIS3 routines.
559398ab
DM
8175
8176 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8177 New file.
8178
5a1c1e32
DM
8179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8180
eae47a36
DM
8181 * sysdeps/sparc/configure.in: New file.
8182 * sysdeps/sparc/configure: Generate.
8183 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8184 * configure: Regenerate.
8185 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8186 * config.make.in (have-as-vis3): New.
8187 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8188 available use -Av9d instead of -Av9a.
8189 * sysdeps/sparc/sparc64/Makefile: Likewise.
8190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8192 New file.
8193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8194 file.
8195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8196 New file.
8197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8198 file.
eae47a36
DM
8199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8200 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8204
c0c83bc8
DM
8205 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8206 fzeros/fnegs to load 0x80000000 into a float register instead of
8207 using the stack.
7bd951ff
DM
8208 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8209
bd951ccb
JM
82102012-03-14 Joseph Myers <joseph@codesourcery.com>
8211
8212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8213 bits/syscall.h.
8214 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8215 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8216 ($(inst_includedir)/bits/syscall.h): Remove rule.
8217 ($(objpfx)bits/syscall.d): Include instead of
8218 $(objpfx)syscall-list.d.
8219 (generated): Change syscall-list.h and syscall-list.d to
8220 bits/syscall.h and bits/syscall.d.
8221
bb4e6db2
RM
82222012-03-14 Roland McGrath <roland@hack.frob.com>
8223
8224 [BZ #13846]
8225 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8226
aa4a2ae1
JM
82272012-03-14 Joseph Myers <joseph@codesourcery.com>
8228
e456826d
JM
8229 [BZ #13841]
8230 * math/s_csqrt.c: Include <float.h>.
8231 (__csqrt): Scale large or subnormal inputs.
8232 * math/s_csqrtf.c: Likewise.
8233 * math/s_csqrtl.c: Likewise.
8234 * math/libm-test.inc (csqrt_test): Add more tests.
8235 * sysdeps/i386/fpu/libm-test-ulps: Update.
8236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8237
aa4a2ae1
JM
8238 [BZ #13840]
8239 * math/libm-test.inc (hypot_test): Add more tests.
8240
7c10fd35
DM
82412012-03-13 David S. Miller <davem@davemloft.net>
8242
8243 [BZ #13840]
8244 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8245 double-precision for the calculation instead of scaling.
8246
f453b98b
JM
82472012-03-13 Joseph Myers <joseph@codesourcery.com>
8248
8249 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8250 manipulate bits before adding and subtracting TWO52[sx].
8251 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8252 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8253 Likewise.
8254 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8255
09a3453f
DM
82562012-03-13 David S. Miller <davem@davemloft.net>
8257
8e59da90
DM
8258 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8259 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8261 rtld-global-offsets.h
8262 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8263
2a8ab7f2
DM
8264 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8265 large parameters.
8266
10f62770
DM
8267 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8268
5f0bdb18
DM
8269 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8270 'err' in the ifdef scope in which it is actually used.
8271
09a3453f
DM
8272 * nss/nss_db/db-init.c: Include string.h
8273
b4b2eb5e
DM
82742012-03-12 David S. Miller <davem@davemloft.net>
8275
98bb2f1c
DM
8276 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8277 masking out of the most significant byte of random value used.
8278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8279 Fix coding style in previous change.
8280
b4b2eb5e
DM
8281 * sysdeps/unix/sysv/linux/kernel-features.h
8282 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8283 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8284 expression.
8285 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8286 later.
8287
6e226b09
DM
82882012-03-11 David S. Miller <davem@davemloft.net>
8289
a1bcbd40
DM
8290 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8291 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8292 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8293 for 'resultvar' otherwise things get truncated on 64-bit.
8294
cb9d6174
DM
8295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8296 Fix masking out of the most significant byte of random value used.
8297
6e226b09
DM
8298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8299
058c132d
AS
83002012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8301
8302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8303
2d2cd515
DM
83042012-03-09 David S. Miller <davem@davemloft.net>
8305
8306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8307 variables with appropriate CPP guards.
8308 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8309 frame pointer, not the stack pointer. Correct layout comments. Fix test
8310 on resulting framesize and the management of the outregs buffer for pltexit.
8311 Preserve floating point return values across _dl_call_pltexit call.
8312 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8313 framesize and the management of the outregs buffer for pltexit.
8314 Preserve floating point return values across _dl_call_pltexit
8315 call.
8316 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8317 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8318 (print_exit): Fix format string for return register value.
8319
9a07f9d0
JM
83202012-03-10 Joseph Myers <joseph@codesourcery.com>
8321
8322 * sunrpc/Makefile (others): Add rpcgen.
8323 ($(objpfx)rpcgen): Remove special build rule and dependency on
8324 libc.
8325 * sunrpc/rpcgen.c: New file.
8326
547b5e30
PE
83272012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8328
c524201a
PE
8329 [BZ #13673]
8330 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8331 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8332 * sysdeps/i386/crti.S: Likewise.
8333 * sysdeps/i386/crtn.S: Likewise.
8334 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8335 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8336 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8337 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8338 * sysdeps/sh/crti.S: Likewise.
8339 * sysdeps/sh/crtn.S: Likewise.
8340 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8341
7b6235f2
PE
8342 [BZ #13673]
8343 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8344 with URL.
8345 * locale/programs/locfile-kw.gperf: Likewise.
8346 * locale/programs/charmap-kw.h: Regenerated.
8347 * locale/programs/locfile-kw.h: Likewise.
8348
547b5e30
PE
8349 [BZ #13673]
8350 * intl/plural.y: Replace FSF snail mail address with URL.
8351 * intl/plural.c: Regenerated.
8352
5f0a5dae
RH
83532012-03-09 Richard Henderson <rth@twiddle.net>
8354
8355 * include/math_private.h: Remove file.
8356 * math/math_private.h: Move file ...
8357 * sysdeps/generic/math_private.h: ... here.
8358
b8c03620
RH
8359 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8360 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8361 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8362
4e234f5d 8363 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8364 and <math_private.h>.
8365 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8366 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8367 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8368 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8369 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8370 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8371 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8373 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8374 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8376 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8377 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8378 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8379 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8380 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8381 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8382 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8383 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8384 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8386 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8387 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8389 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8390 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8391 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8392 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8393 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8394 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8395 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8396 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8397 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8398 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8400 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8401 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8402 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8403 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8405 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8406 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8407 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8408 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8409 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8410 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8411 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8412 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8413 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8414 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8415 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8416 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8417 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8418 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8419 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8420 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8421 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8422 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8423 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8424 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8425 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8426 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8427 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8428 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8429 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8430 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8431 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8432 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8433 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8434 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8435 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8436 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8437 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8438 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8439 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8440 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8441 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8442 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8444 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8445 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8446 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8447 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8448 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8449 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8450 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8452 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8453 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8454 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8455 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8456 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8457 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8458 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8459 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8460 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8461 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8462 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8464 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8465 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8466 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8467 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8468 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8469 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8470 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8471 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8472 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8473 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8474 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8475 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8476 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8477 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8478 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8479 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8480 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8481 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8482 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8483 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8484 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8485 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8486 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8487 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8488 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8489 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8490 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8491 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8492 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8493 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8494 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8495 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8496 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8497 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8498 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8499 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8500 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8501 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8502 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8503 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8504 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8505 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8506 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8507 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8508 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8509 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8510 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8511 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8512 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8513 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8514 * sysdeps/ieee754/k_standard.c: Likewise.
8515 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8519 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8524 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8542 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8546 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8548 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8553 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8554 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8557 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8585 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8587 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8588 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8591 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8592 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8594 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8595 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8597 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8599 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8608 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8609 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8610 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8611 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8614 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8615 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8616 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8618 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8619 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8621 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8625 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8626 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8627 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8629 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8630 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8633 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8634 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8635 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8636 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8637 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8638 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8639 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8640 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8641 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8642 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8643 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8644 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8645 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8646 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8647 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8648 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8649 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8650 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8653 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8655 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8657 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8659 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8660 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8663 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8664 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8665 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8675 * sysdeps/ieee754/s_lib_version.c: Likewise.
8676 * sysdeps/ieee754/s_matherr.c: Likewise.
8677 * sysdeps/ieee754/s_signgam.c: Likewise.
8678 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8679 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8680 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8681 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8682 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8683 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8684 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8685 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8686 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8687 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8688 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8689 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8690 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8691 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8692 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8693 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8694 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8695 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8696 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8698 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8699
1991fa03
JM
87002012-03-09 Joseph Myers <joseph@codesourcery.com>
8701
8702 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8703 * sunrpc/rpc_main.c: Likewise.
8704 * sunrpc/rpc_svcout.c: Likewise.
8705
60d6f5a6
DM
87062012-03-09 David S. Miller <davem@davemloft.net>
8707
8708 * include/math_private.h: New file.
8709
4962050e
JM
87102012-03-09 Joseph Myers <joseph@codesourcery.com>
8711
02a6f887
JM
8712 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8713 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8714 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8715 from <bits/socket_type.h>.
8716 (enum __socket_type): Don't define here.
8717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8719 bits/socket_type.h.
8720
c6e013c1
JM
8721 [BZ #13566]
8722 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8723 checking __USE_GNU.
8724
4962050e
JM
8725 * Makerules ($(inst_includedir)/%.h): New rule.
8726 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8727 (install-others): Remove variable setting.
8728 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8729
38842f45
RH
87302012-03-08 Richard Henderson <rth@twiddle.net>
8731
67bb6da6
RH
8732 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8733 from macro to inline function; merge with the
8734 !__LIBC_INTERNAL_MATH_INLINES version.
8735 (__ieee754_sqrtf): Likewise.
8736
15194b4b
RH
8737 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8738 to inline function.
8739 (__rintf, __floor, __floorf): Likewise.
8740
64e21ede
RH
8741 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8742 macro to inline function.
8743 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8744
38842f45
RH
8745 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8746 not <math/math_private.h>.
8747
c64bf5fe
DM
87482012-03-08 David S. Miller <davem@davemloft.net>
8749
8750 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8751 copyright year.
8752 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8753
82d86f28
TS
87542012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8755
8756 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8757 normalization.
8758 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8759 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8760
aea5d727
UD
87612012-03-08 Ulrich Drepper <drepper@gmail.com>
8762
8763 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8764 be defined individually, they must be defined as a block. Define
8765 S for printing a string instead of hidint the different by using a
8766 macro for adding the 'l'.
8767 * stdio-common/tst-fphex-wide.c: Adjust.
8768
70bca0a3
MP
87692012-03-07 Marek Polacek <polacek@redhat.com>
8770
8771 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8772
65b81130
MP
87732012-03-08 Marek Polacek <polacek@redhat.com>
8774
8775 [BZ #13806]
8776 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8777 * stdio-common/tst-fphex.c: Define a few macros to make the
8778 test reusable. Use them.
8779 * stdio-common/tst-fphex-wide.c: New file.
8780
07037eeb
JM
87812012-03-08 Joseph Myers <joseph@codesourcery.com>
8782
a7a93d50
JM
8783 [BZ #6911]
8784 * manual/macros.texi (gnusystems): New macro.
8785 (nongnusystems): Likewise.
8786 (gnulinuxhurdsystems): Likewise.
8787 (gnuhurdsystems): Likewise..
8788 (gnulinuxsystems): Likewise.
8789 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8790 variants of the GNU system, not "GNU system".
8791 * manual/conf.texi: Likewise.
8792 * manual/errno.texi: Likewise. Update example of errno macro
8793 expansion.
8794 * manual/filesys.texi: Likewise.
8795 (getumask): Document as specific to GNU/Hurd.
8796 * manual/install.texi: Likewise. Reword some references to
8797 GNU/Linux.
8798 * manual/intro.texi: Likewise.
8799 * manual/io.texi: Likewise.
8800 (File Name Portability): Detail which constraints are inapplicable
8801 to all GNU systems and which are only inapplicable to GNU/Hurd.
8802 * manual/job.texi: Likewise.
8803 * manual/llio.texi: Likewise.
8804 (O_NOCTTY): Document as present on GNU/Linux.
8805 * manual/maint.texi: Likewise.
8806 * manual/memory.texi: Likewise.
8807 * manual/pattern.texi: Likewise.
8808 * manual/pipe.texi: Likewise.
8809 * manual/process.texi: Likewise.
8810 * manual/resource.texi: Likewise.
8811 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8812 child on GNU/Hurd.
8813 * manual/setjmp.texi: Likewise.
8814 * manual/signal.texi: Likewise.
8815 * manual/startup.texi: Likewise.
8816 * manual/stdio.texi: Likewise.
8817 * manual/terminal.texi: Likewise.
8818 (ONLCR): Document as POSIX.
8819 (OXTABS): Document availability on GNU/Linux as XTABS.
8820 (ONOEOT): Document availability separately from other bits.
8821 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8822 * manual/time.texi: Likewise.
8823 * manual/users.texi: Likewise.
8824 * INSTALL: Regenerated.
8825 * sysdeps/gnu/errlist.c: Regenerated.
8826
07037eeb
JM
8827 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8828 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8829 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8830 puts.
8831 * configure: Regenerated.
8832
d1d3431a
JM
88332012-03-07 Joseph Myers <joseph@codesourcery.com>
8834
af6a1e37
JM
8835 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8836 default includes instead of AC_HEADER_CHECK.
8837 * sysdeps/i386/configure: Regenerated.
8838
d1d3431a
JM
8839 [BZ #10716]
8840 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8841 * math/s_cacoshf.c (__cacoshf): Likewise.
8842 * math/s_cacoshl.c (__cacoshl): Likewise.
8843 * math/s_casinh.c (__casinh): Set signs of result from argument.
8844 * math/s_casinhf.c (__casinhf): Likewise.
8845 * math/s_casinhl.c (__casinhl): Likewise.
8846 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8847 (casinh_test): Add more tests.
8848 * sysdeps/i386/fpu/libm-test-ulps: Update.
8849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8850
482ff4da
UD
88512012-03-07 Ulrich Drepper <drepper@gmail.com>
8852
872fda05
UD
8853 * po/zh_TW.po: Update from translation team.
8854
a4300c7a
UD
8855 * login/Makefile (distribute): Remove variable.
8856 * catgets/Makefile: Likewise.
8857 * mach/Makefile: Likewise.
8858 * malloc/Makefile: Likewise.
8859 * misc/Makefile: Likewise.
8860 * iconv/Makefile: Likewise.
8861 * nscd/Makefile: Likewise.
8862 * hurd/Makefile: Likewise.
8863 * manual/Makefile: Likewise.
8864 * locale/Makefile: Likewise.
8865 * intl/Makefile: Likewise.
8866 * conform/Makefile: Likewise.
8867 * nss/Makefile: Likewise.
8868 * time/Makefile: Likewise.
8869 * soft-fp/Makefile: Likewise.
8870 * dirent/Makefile: Likewise.
8871 * gmon/Makefile: Likewise.
8872 * po/Makefile: Likewise.
8873 * rt/Makefile: Likewise.
8874 * socket/Makefile: Likewise.
8875 * math/Makefile: Likewise.
8876 * signal/Makefile: Likewise.
8877 * debug/Makefile: Likewise.
8878 * elf/Makefile: Likewise.
8879 * timezone/Makefile: Likewise.
8880 * stdlib/Makefile: Likewise.
8881 * iconvdata/Makefile: Likewise.
8882 * sunrpc/Makefile: Likewise.
8883 * io/Makefile: Likewise.
8884 * argp/Makefile: Likewise.
8885 * inet/Makefile: Likewise.
8886 * hesiod/Makefile: Likewise.
8887 * grp/Makefile: Likewise.
8888 * csu/Makefile: Likewise.
8889 * wctype/Makefile: Likewise.
8890 * crypt/Makefile: Likewise.
8891 * libio/Makefile: Likewise.
8892 * string/Makefile: Likewise.
8893 * nis/Makefile: Likewise.
8894 * resolv/Makefile: Likewise.
8895 * stdio-common/Makefile: Likewise.
8896 * wcsmbs/Makefile: Likewise.
8897 * dlfcn/Makefile: Likewise.
8898 * posix/Makefile: Likewise.
8899
3b7c4e74 8900 [BZ #6959]
482ff4da
UD
8901 * timezone/Makefile: Don't install timezone files, just the programs
8902 and scripts.
8903
f72ed77d
UD
89042012-03-06 Ulrich Drepper <drepper@gmail.com>
8905
a000466f
UD
8906 * nss/databases.def: Add missing gshadow entry.
8907
f72ed77d
UD
8908 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8909
a53b7a4e
MP
89102012-03-06 Marek Polacek <polacek@redhat.com>
8911
8912 [BZ #13726]
8913 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8914 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8915 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8916 * stdio-common/tst-long-dbl-fphex.c: New file.
8917
e9258400
DM
89182012-03-06 David S. Miller <davem@davemloft.net>
8919
8920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8921 (set_obp_int): New function.
8922 (get_obp_int): New function.
8923 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8925 Avoid unused variable warnings on 'val' and use builtin_expect.
8926 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8927 __builtin_expect.
e9258400
DM
8928 (INLINE_CLONE_SYSCALL): Likewise.
8929
3bd2c723
DM
89302012-03-05 David S. Miller <davem@davemloft.net>
8931
8932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8933
bbb78d03
AS
89342012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8935
884c5db4
AS
8936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8937
bbb78d03
AS
8938 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8939 only for |x| >= 40.
8940 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8941
1c9f702a 89422012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8943
8944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8945 Replace gettimeofday with __vdso_gettimeofday.
8946
7be16f82
RM
8947 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8948 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8949 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8950
8951 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8952 time with __vdso_time.
8953
ed58a00f
JM
89542012-03-05 Joseph Myers <joseph@codesourcery.com>
8955
8956 * manual/lang.texi (size_t): Note types to which size_t may be
8957 equivalent with the GNU C Library, but do not describe when
8958 differences between them are significant.
8959
30ee4ced
AJ
89602012-03-05 Andreas Jaeger <aj@suse.de>
8961
8962 * sysdeps/i386/fpu/libm-test-ulps: Update.
8963
b7cd39e8
JM
89642012-03-05 Joseph Myers <joseph@codesourcery.com>
8965
8966 [BZ #3976]
8967 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8968 (__ieee754_pow): Save and restore rounding mode and use
8969 round-to-nearest for main computations.
8970 * math/libm-test.inc (pow_test_tonearest): New function.
8971 (pow_test_towardzero): Likewise.
8972 (pow_test_downward): Likewise.
8973 (pow_test_upward): Likewise.
8974 (main): Call the new functions.
8975 * sysdeps/i386/fpu/libm-test-ulps: Update.
8976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8977
8978 [BZ #3976]
8979 * math/libm-test.inc (cosh_test_tonearest): New function.
8980 (cosh_test_towardzero): Likewise.
8981 (cosh_test_downward): Likewise.
8982 (cosh_test_upward): Likewise.
8983 (sinh_test_tonearest): Likewise.
8984 (sinh_test_towardzero): Likewise.
8985 (sinh_test_downward): Likewise.
8986 (sinh_test_upward): Likewise.
8987 (main): Call the new functions.
8988 * sysdeps/i386/fpu/libm-test-ulps: Update.
8989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8990
6c6a98c9
TV
89912012-03-05 Tom de Vries <tom@codesourcery.com>
8992
8993 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8994 default stack guard is set in last bytes.
8995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8996
21bb2d2e 89972012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8998
21bb2d2e 8999 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9000
21bb2d2e
AJ
9001 [BZ #13656]
9002 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9003 possibly allocate from heap instead of stack.
9004 * stdio-common/bug-vfprintf-nargs.c: New file.
9005 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9006
c6922934
AS
90072012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9008
9009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9010
bc957d53
MP
90112012-03-03 Marek Polacek <polacek@redhat.com>
9012
9013 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9014 * math/math_private.h: Likewise.
9015 * stdlib/tst-strtod.c: Likewise.
9016 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9017 * sysdeps/x86_64/bits/atomic.h: Likewise.
9018
6358490d
DM
90192012-03-02 David S. Miller <davem@davemloft.net>
9020
9021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9025 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9026 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9027 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9028 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9029
01ae168d
RM
90302012-03-02 Roland McGrath <roland@hack.frob.com>
9031
d9a17c07
RM
9032 [BZ #13792]
9033 * manual/examples/README: New file, says the example source files
9034 can be used under GPL>=2.
9035 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9036 line containing just "*/".
9037 * manual/examples/add.c: Add copyright header (GPL>=2).
9038 * manual/examples/argp-ex1.c: Likewise.
9039 * manual/examples/argp-ex2.c: Likewise.
9040 * manual/examples/argp-ex3.c: Likewise.
9041 * manual/examples/argp-ex4.c: Likewise.
9042 * manual/examples/atexit.c: Likewise.
9043 * manual/examples/db.c: Likewise.
9044 * manual/examples/dir.c: Likewise.
9045 * manual/examples/dir2.c: Likewise.
9046 * manual/examples/execinfo.c: Likewise.
9047 * manual/examples/filecli.c: Likewise.
9048 * manual/examples/filesrv.c: Likewise.
9049 * manual/examples/fmtmsgexpl.c: Likewise.
9050 * manual/examples/genpass.c: Likewise.
9051 * manual/examples/inetcli.c: Likewise.
9052 * manual/examples/inetsrv.c: Likewise.
9053 * manual/examples/isockad.c: Likewise.
9054 * manual/examples/longopt.c: Likewise.
9055 * manual/examples/memopen.c: Likewise.
9056 * manual/examples/memstrm.c: Likewise.
9057 * manual/examples/mkfsock.c: Likewise.
9058 * manual/examples/mkisock.c: Likewise.
9059 * manual/examples/mygetpass.c: Likewise.
9060 * manual/examples/pipe.c: Likewise.
9061 * manual/examples/popen.c: Likewise.
9062 * manual/examples/rprintf.c: Likewise.
9063 * manual/examples/search.c: Likewise.
9064 * manual/examples/select.c: Likewise.
9065 * manual/examples/setjmp.c: Likewise.
9066 * manual/examples/sigh1.c: Likewise.
9067 * manual/examples/sigusr.c: Likewise.
9068 * manual/examples/stpcpy.c: Likewise.
9069 * manual/examples/strdupa.c: Likewise.
9070 * manual/examples/strftim.c: Likewise.
9071 * manual/examples/strncat.c: Likewise.
9072 * manual/examples/subopt.c: Likewise.
9073 * manual/examples/swapcontext.c: Likewise.
9074 * manual/examples/termios.c: Likewise.
9075 * manual/examples/testopt.c: Likewise.
9076 * manual/examples/testpass.c: Likewise.
9077 * manual/examples/timeval_subtract.c: Likewise.
9078
01ae168d
RM
9079 [BZ #13792]
9080 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9081 function to ...
9082 * manual/timeval_subtract.c.texi: ... here, new file.
9083
49efa33d
DM
90842012-03-02 David S. Miller <davem@davemloft.net>
9085
9086 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9087
28afd92d
JM
90882012-03-02 Joseph Myers <joseph@codesourcery.com>
9089
804360ed
JM
9090 [BZ #3976]
9091 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9092 (__sin): Save and restore rounding mode and use round-to-nearest
9093 for all computations.
9094 (__cos): Save and restore rounding mode and use round-to-nearest
9095 for all computations.
9096 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9097 <fenv.h>.
9098 (tan): Save and restore rounding mode and use round-to-nearest for
9099 all computations.
9100 * math/libm-test.inc (cos_test_tonearest): New function.
9101 (cos_test_towardzero): Likewise.
9102 (cos_test_downward): Likewise.
9103 (cos_test_upward): Likewise.
9104 (sin_test_tonearest): Likewise.
9105 (sin_test_towardzero): Likewise.
9106 (sin_test_downward): Likewise.
9107 (sin_test_upward): Likewise.
9108 (tan_test_tonearest): Likewise.
9109 (tan_test_towardzero): Likewise.
9110 (tan_test_downward): Likewise.
9111 (tan_test_upward): Likewise.
9112 (main): Call the new functions.
9113 * sysdeps/i386/fpu/libm-test-ulps: Update.
9114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9115
a6d06d7b
JM
9116 [BZ #10135]
9117 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9118 small n, then large n, before computing and testing k+n.
9119 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9121 Likewise.
9122 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9123 Likewise.
9124 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9125 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9126 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9127 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9130 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9131 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9132 * math/libm-test.inc (scalbn_test): Add more tests.
9133 (scalbln_test): Likewise.
9134
07e12bb3
JM
9135 * manual/filesys.texi (mode_t): Describe constraints on size and
9136 signedness, not exact equivalence to a particular type.
9137 (ino_t): Likewise.
9138 (ino64_t): Likewise.
9139 (dev_t): Likewise.
9140 (nlink_t): Likewise.
9141 (blkcnt_t): Likewise.
9142 (blkcnt64_t): Likewise.
9143 * manual/llio.texi (off_t): Likewise.
9144
28afd92d
JM
9145 [BZ #3976]
9146 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9147 (__ieee754_exp): Save and restore rounding mode and use
9148 round-to-nearest for all computations.
9149 * math/libm-test.inc (exp_test_tonearest): New function.
9150 (exp_test_towardzero): Likewise.
9151 (exp_test_downward): Likewise.
9152 (exp_test_upward): Likewise.
9153 (main): Call the new functions.
9154 * sysdeps/i386/fpu/libm-test-ulps: Update.
9155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9156
b1eeb65d
CD
91572012-03-01 Chris Demetriou <cgd@google.com>
9158
9159 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9160 have predictable order.
9161
53362a4b
DM
91622012-03-01 David S. Miller <davem@davemloft.net>
9163
3c969083
DM
9164 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9165
759707de
DM
9166 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9167 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9168 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9169 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9170
dfdb8ff2
DM
9171 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9172 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9173 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9175 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9176 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9177 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9178 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9179 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9180
ead89f96
DM
9181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9182
7f66bd07
DM
9183 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9184 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9185 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9186
53362a4b
DM
9187 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9188 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9189 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9190 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9191 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9192 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9193 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9194 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9195 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9196 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9197 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9198 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9200 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9201 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9203 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9204 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9205 * sysdeps/sparc/elf/configure: Regenerated.
9206
7b1902cb
JM
92072012-03-01 Joseph Myers <joseph@codesourcery.com>
9208
bec039bc
JM
9209 * configure.in (AS, LD): Require binutils 2.20 or later.
9210 * configure: Regenerated.
9211 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9212 as required minimum version.
9213 * INSTALL: Regenerated.
9214
7b1902cb
JM
9215 [BZ #2541]
9216 [BZ #4108]
9217 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9218 before squaring exponent.
9219 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9220 bottom long double and 27 bits of top long double before squaring
9221 exponent.
9222 * math/libm-test.inc (erfc_test): Add more tests.
9223 * sysdeps/i386/fpu/libm-test-ulps: Update.
9224 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9226
f775c276
KT
92272012-03-01 Kai Tietz <ktietz@redhat.com>
9228
9229 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9230 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9231 containing bit-fields.
9232 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9233 * soft-fp/single.h (_FP_UNION_S): Likewise.
9234 * soft-fp/double.h (_FP_UNION_D): Likewise.
9235
5b8a4d4a
JM
92362012-02-29 Joseph Myers <joseph@codesourcery.com>
9237
0bab47b6
JM
9238 [BZ #13786]
9239 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9240 not include ../strcmp.S.
9241 [USE_AS_STRNCASECMP_L]: Likewise.
9242 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9243 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9244 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9245 (__strncasecmp_l_ia32): Define as alias to
9246 __strncasecmp_l_nonascii.
9247
0fcad3e2
JM
9248 [BZ #5794]
9249 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9250 * sysdeps/i386/fpu/libm-test-ulps: Update.
9251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9252
5b8a4d4a
JM
9253 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9255
8fdceb2e
JL
92562012-02-29 Jeff Law <law@redhat.com>
9257
9258 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9259 out of bounds read.
9260
1f393a11
MP
92612012-02-29 Marek Polacek <polacek@redhat.com>
9262
9263 [BZ #13706]
9264 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9265 * elf/Makefile: Add rules to run tst-unused-dep.out.
9266
8847f037
DM
92672012-02-28 David S. Miller <davem@davemloft.net>
9268
9269 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9270 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9271 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9272 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9273 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9274 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9275
169d7f11
JM
92762012-02-29 Joseph Myers <joseph@codesourcery.com>
9277
9278 * math/libm-test.inc (llround_test): Move one test from
9279 lround_test. Use TEST_f_L in moved test.
9280 (lround_test): Move misplaced test to llround_test. Add testcase
9281 from bug 2561.
9282
39adf059
UD
92832012-02-28 Ulrich Drepper <drepper@gmail.com>
9284
9285 * sysdeps/x86_64/fpu/e_expf.S: New file.
9286 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9287
71b5d1c5
SB
92882012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9289
9290 [BZ #13637]
9291 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9292 of remain_len that may cause incomplete multi-byte character and
9293 false match.
9294 * posix/bug-regex33.c: New file.
9295 * posix/Makefile (tests): Add bug-regex33.
9296
1f77f049
JM
92972012-02-28 Joseph Myers <joseph@codesourcery.com>
9298
9299 * manual/macros.texi: New file.
9300 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9301 * manual/libc.texinfo: Include macros.texi.
9302 * manual/creatute.texi: Likewise.
9303 * manual/install.texi: Likewise.
9304 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9305 @glibcadj{} in references to the GNU C Library.
9306 * manual/charset.texi: Likewise.
9307 * manual/conf.texi: Likewise.
9308 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9309 when not using those macros.
9310 * manual/creature.texi: Likewise.
9311 * manual/crypt.texi: Likewise.
9312 * manual/errno.texi: Likewise.
9313 * manual/filesys.texi: Likewise.
9314 * manual/header.texi: Likewise.
9315 * manual/install.texi: Likewise.
9316 * manual/intro.texi: Likewise.
9317 * manual/io.texi: Likewise.
9318 * manual/job.texi: Likewise.
9319 * manual/lang.texi: Likewise.
9320 * manual/libc.texiinfo: Likewise.
9321 * manual/llio.texi: Likewise.
9322 * manual/locale.texi: Likewise.
9323 * manual/maint.texi: Likewise.
9324 * manual/math.texi: Likewise.
9325 * manual/memory.texi: Likewise.
9326 * manual/message.texi: Likewise.
9327 * manual/nss.texi: Likewise.
9328 * manual/pattern.texi: Likewise.
9329 * manual/process.texi: Likewise.
9330 * manual/resource.texi: Likewise.
9331 * manual/search.texi: Likewise.
9332 * manual/setjmp.texi: Likewise.
9333 * manual/signal.texi: Likewise.
9334 * manual/socket.texi: Likewise.
9335 * manual/startup.texi: Likewise.
9336 * manual/stdio.texi: Likewise.
9337 * manual/string.texi: Likewise.
9338 * manual/sysinfo.texi: Likewise.
9339 * manual/syslog.texi: Likewise.
9340 * manual/terminal.texi: Likewise.
9341 * manual/time.texi: Likewise.
9342 * manual/users.texi: Likewise.
9343 * INSTALL: Regenerated.
9344 * NOTES: Regenerated.
d40c5d54 9345 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9346
450bf206
AS
93472012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9348
9349 * include/dirent.h: Include <dirstream.h> before
9350 <dirent/dirent.h>.
9351
741a235b
DM
93522012-02-28 David S. Miller <davem@davemloft.net>
9353
9354 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9355 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9356 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9357 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9358
d6b5aa58
DM
93592012-02-27 David S. Miller <davem@davemloft.net>
9360
1aff59a3
DM
9361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9363 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9364 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9365
d6b5aa58
DM
9366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9367 frame pointer instead of stack pointer relative arg slot.
9368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9369 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9370 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9371
433f48bf
CD
93722012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9373
9374 [BZ #3992]
9375 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9376
d674b76d
DM
93772012-02-27 David S. Miller <davem@davemloft.net>
9378
9379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9383 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9384 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9385 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9386 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9387
0e7727f7
JM
93882012-02-27 Joseph Myers <joseph@codesourcery.com>
9389
9390 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9391 later. Allow versions 5-9.
43be4ca2 9392 * configure: Regenerated.
0e7727f7
JM
9393 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9394 required minimum version and 4.6 as recommended version. Do not
9395 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9396 * INSTALL: Regenerated.
0e7727f7 9397
a78bc654
DM
93982012-02-27 David S. Miller <davem@davemloft.net>
9399
428d5830
DM
9400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9404 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9405 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9406 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9407 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9408
a78bc654
DM
9409 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9410 manipulate bits before adding and subtracting TWO112[sx].
9411 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9412
4579f81c
RM
94132012-02-27 Roland McGrath <roland@hack.frob.com>
9414
36c8acb4
RM
9415 [BZ #13775]
9416 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9417 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9418 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9419 being in POSIX, because they are in 1003.1-2008.
9420
84ad622b
RM
9421 * rt/tst-aio.c: Include <fcntl.h>.
9422 * rt/tst-aio7.c: Likewise.
9423 * rt/tst-aio64.c: Likewise.
9424
4579f81c
RM
9425 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9426
abd923db
JM
94272012-02-27 Joseph Myers <joseph@codesourcery.com>
9428
9429 * manual/install.texi (--with-headers): Describe headers as
9430 interface headers, not private headers.
9431 (Specific advice for GNU/Linux systems): Describe use of headers
9432 from "make headers_install", not private headers from older
9433 kernels.
43be4ca2 9434 * INSTALL: Regenerated.
abd923db
JM
9435 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9436 Change to 2.6.19.
9437 * sysdeps/unix/sysv/linux/configure: Regenerated.
9438
6664049b
JM
9439 * manual/llio.texi (fclean): Remove documentation.
9440
bb8b6697
JM
9441 * manual/Makefile (libc-texi-generated): New variable. Include
9442 version.texi.
9443 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9444 $(libc-texi-generated), not duplicated list of files.
9445 (version.texi, stamp-version): New rules.
9446 (realclean): Remove $(libc-texi-generated), not individual files
9447 from that list. Do not remove dir-add.texinfo.
9448 * manual/libc.texinfo: Comment out uses of edition numbers and
9449 references to printed manual. Remove last-updated dates.
9450 (EDITION): Comment out.
9451 (ISBN): Likewise.
9452 (VERSION, UPDATED): Remove.
9453 (version.texi): Include.
9454
12e5c3b9
AS
94552012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9456
9457 * sysdeps/posix/spawni.c: Include <signal.h>.
9458 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9459 * sysdeps/pthread/aio_fsync.c: Likewise.
9460
4efeffc1 94612012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9462
ba63ba08
UD
9463 * conform/Makefile (tests): Run only when not cross-compiling and
9464 when fast-check is not defined.
9465
d94a4670
UD
9466 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9467 * conform/data/limits.h-data: Fixes for POSIX2008.
9468 * conform/run-conformtest.sh: Run all tests.
9469 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9470 headers.
9471 * include/bits/dlfcn.h: Likewise.
9472 * include/langinfo.h: Likewise.
9473 * include/monetary.h: Likewise.
9474 * include/sys/poll.h: Likewise.
9475
9476 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9477 for __USE_GNU.
9478 * posix/spawn.h: Define __need_sigset_t.
9479 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9480 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9481 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9482 to get sigevent_t only.
9483 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9484 only for __USE_GNU.
9485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9486 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9487 process_vm_writev only for __USE_GNU.
9488 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9489
9490 * conform/Makefile: For now ignore errors from run-conformtest.
9491 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9492 POSIX to avoid namespace pollution. Don't prepend headers.
9493 * conform/data/aio.h-data: Fixes for POSIX testing.
9494 * conform/data/fcntl.h-data: Likewise.
9495 * conform/data/glob.h-data: Likewise.
9496 * conform/data/grp.h-data: Likewise.
9497 * conform/data/pthread.h-data: Likewise.
9498 * conform/data/pwd.h-data: Likewise.
9499 * conform/data/signal.h-data: Likewise.
9500 * conform/data/spawn.h-data: Likewise.
9501 * conform/data/stdio.h-data: Likewise.
9502 * conform/data/stdlib.h-data: Likewise.
9503 * conform/data/stropts.h-data: Likewise.
9504 * conform/data/sys/mman.h-data: Likewise.
9505 * conform/data/sys/stat.h-data: Likewise.
9506 * conform/data/sys/types.h-data: Likewise.
9507 * conform/data/sys/wait.h-data: Likewise.
9508 * conform/data/time.h-data: Likewise.
9509 * conform/data/unistd.h-data: Likewise.
9510 * conform/data/utime.h-data: Likewise.
9511
9512 * io/sys/stat.h: fchmod was always in POSIX.
9513 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9514 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9515 * rt/aio.h: Define __need_timespec before including <time.h>.
9516 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9517 struct. Add forward declaration of pthread_attr_t and use it in
9518 sigevent.
9519 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9520 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9521 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9522 always remove CLK_TCK definition.
9523
c20105c3
AS
95242012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9525
9526 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9527
7a270350
UD
95282012-02-25 Ulrich Drepper <drepper@gmail.com>
9529
31341567
UD
9530 * conform/run-conformtest.sh: New file.
9531 * conform/Makefile: Run run-conformtest for tests.
9532 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9533 support.
9534
9535 * conform/data/uchar.h-data: New file.
9536 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9537 * conform/data/arpa/inet.h-data: Likewise.
9538 * conform/data/assert.h-data: Likewise.
9539 * conform/data/complex.h-data: Likewise.
9540 * conform/data/cpio.h-data: Likewise.
9541 * conform/data/ctype.h-data: Likewise.
9542 * conform/data/dirent.h-data: Likewise.
9543 * conform/data/dlfcn.h-data: Likewise.
9544 * conform/data/errno.h-data: Likewise.
9545 * conform/data/fcntl.h-data: Likewise.
9546 * conform/data/float.h-data: Likewise.
9547 * conform/data/fmtmsg.h-data: Likewise.
9548 * conform/data/fnmatch.h-data: Likewise.
9549 * conform/data/ftw.h-data: Likewise.
9550 * conform/data/glob.h-data: Likewise.
9551 * conform/data/grp.h-data: Likewise.
9552 * conform/data/iconv.h-data: Likewise.
9553 * conform/data/inttypes.h-data: Likewise.
9554 * conform/data/langinfo.h-data: Likewise.
9555 * conform/data/libgen.h-data: Likewise.
9556 * conform/data/limits.h-data: Likewise.
9557 * conform/data/locale.h-data: Likewise.
9558 * conform/data/math.h-data: Likewise.
9559 * conform/data/monetary.h-data: Likewise.
9560 * conform/data/mqueue.h-data: Likewise.
9561 * conform/data/ndbm.h-data: Likewise.
9562 * conform/data/net/if.h-data: Likewise.
9563 * conform/data/netdb.h-data: Likewise.
9564 * conform/data/netinet/in.h-data: Likewise.
9565 * conform/data/nl_types.h-data: Likewise.
9566 * conform/data/poll.h-data: Likewise.
9567 * conform/data/pthread.h-data: Likewise.
9568 * conform/data/pwd.h-data: Likewise.
9569 * conform/data/regex.h-data: Likewise.
9570 * conform/data/sched.h-data: Likewise.
9571 * conform/data/search.h-data: Likewise.
9572 * conform/data/semaphore.h-data: Likewise.
9573 * conform/data/setjmp.h-data: Likewise.
9574 * conform/data/signal.h-data: Likewise.
9575 * conform/data/spawn.h-data: Likewise.
9576 * conform/data/stdarg.h-data: Likewise.
9577 * conform/data/stdio.h-data: Likewise.
9578 * conform/data/stdlib.h-data: Likewise.
9579 * conform/data/string.h-data: Likewise.
9580 * conform/data/strings.h-data: Likewise.
9581 * conform/data/stropts.h-data: Likewise.
9582 * conform/data/sys/ipc.h-data: Likewise.
9583 * conform/data/sys/mman.h-data: Likewise.
9584 * conform/data/sys/msg.h-data: Likewise.
9585 * conform/data/sys/resource.h-data: Likewise.
9586 * conform/data/sys/select.h-data: Likewise.
9587 * conform/data/sys/sem.h-data: Likewise.
9588 * conform/data/sys/shm.h-data: Likewise.
9589 * conform/data/sys/socket.h-data: Likewise.
9590 * conform/data/sys/stat.h-data: Likewise.
9591 * conform/data/sys/statvfs.h-data: Likewise.
9592 * conform/data/sys/time.h-data: Likewise.
9593 * conform/data/sys/timeb.h-data: Likewise.
9594 * conform/data/sys/times.h-data: Likewise.
9595 * conform/data/sys/types.h-data: Likewise.
9596 * conform/data/sys/uio.h-data: Likewise.
9597 * conform/data/sys/un.h-data: Likewise.
9598 * conform/data/sys/utsname.h-data: Likewise.
9599 * conform/data/sys/wait.h-data: Likewise.
9600 * conform/data/syslog.h-data: Likewise.
9601 * conform/data/tar.h-data: Likewise.
9602 * conform/data/termios.h-data: Likewise.
9603 * conform/data/utime.h-data: Likewise.
9604 * conform/data/utmpx.h-data: Likewise.
9605 * conform/data/varargs.h-data: Likewise.
9606 * conform/data/wchar.h-data: Likewise.
9607 * conform/data/wctype.h-data: Likewise.
9608 * conform/data/wordexp.h-data: Likewise.
9609
9610 * include/stropts.h: New file.
9611 * include/uchar.h: New file.
9612 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9613 * include/assert.h: Likewise.
9614 * include/ctype.h: Likewise.
9615 * include/dirent.h: Likewise.
9616 * include/dlfcn.h: Likewise.
9617 * include/fcntl.h: Likewise.
9618 * include/fnmatch.h: Likewise.
9619 * include/glob.h: Likewise.
9620 * include/grp.h: Likewise.
9621 * include/libio.h: Likewise.
9622 * include/locale.h: Likewise.
9623 * include/math.h: Likewise.
9624 * include/net/if.h: Likewise.
9625 * include/netdb.h: Likewise.
9626 * include/netinet/in.h: Likewise.
9627 * include/pthread.h: Likewise.
9628 * include/pwd.h: Likewise.
9629 * include/regex.h: Likewise.
9630 * include/sched.h: Likewise.
9631 * include/search.h: Likewise.
9632 * include/setjmp.h: Likewise.
9633 * include/signal.h: Likewise.
9634 * include/stdio.h: Likewise.
9635 * include/stdlib.h: Likewise.
9636 * include/string.h: Likewise.
9637 * include/sys/cdefs.h: Likewise.
9638 * include/sys/mman.h: Likewise.
9639 * include/sys/msg.h: Likewise.
9640 * include/sys/resource.h: Likewise.
9641 * include/sys/select.h: Likewise.
9642 * include/sys/socket.h: Likewise.
9643 * include/sys/stat.h: Likewise.
9644 * include/sys/statvfs.h: Likewise.
9645 * include/sys/time.h: Likewise.
9646 * include/sys/times.h: Likewise.
9647 * include/sys/uio.h: Likewise.
9648 * include/sys/utsname.h: Likewise.
9649 * include/sys/wait.h: Likewise.
9650 * include/termios.h: Likewise.
9651 * include/time.h: Likewise.
9652 * include/ulimit.h: Likewise.
9653 * include/unistd.h: Likewise.
9654 * include/utime.h: Likewise.
9655 * include/wchar.h: Likewise.
9656 * include/wctype.h: Likewise.
9657 * include/wordexp.h: Likewise.
9658
9659 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9660
7a270350
UD
9661 * time/time.h: TIME_UTC must be a macro.
9662 Make timespec_get available for ISO C11 only as well.
9663
7724defc
UD
96642012-02-24 Ulrich Drepper <drepper@gmail.com>
9665
9666 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9667 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9668
6b1d1d46
JM
96692012-02-24 Joseph Myers <joseph@codesourcery.com>
9670
9671 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9672
0f8bbd69
JM
96732012-02-24 Joseph Myers <joseph@codesourcery.com>
9674
9675 * manual/texinfo.tex: Update to version 2012-01-19.16.
9676
66ab80bc
JM
96772012-02-24 Joseph Myers <joseph@codesourcery.com>
9678
9679 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9680
74981cc5
RM
96812012-02-24 Roland McGrath <roland@hack.frob.com>
9682
ee968201
RM
9683 [BZ #13738]
9684 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9685 * manual/fdl-1.3.texi: New file.
9686 * manual/fdl-1.1.texi: File removed.
9687
74981cc5
RM
9688 [BZ #13738]
9689 * manual/libc.texinfo (FDL_VERSION): New @set.
9690 Use it for mention of FDL in cover text.
9691 (Documentation License): Use it in @include file name.
9692
7bb764bc
JM
96932012-02-22 Joseph Myers <joseph@codesourcery.com>
9694 Roland McGrath <roland@hack.frob.com>
9695
9696 [BZ #5461]
9697 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9698 not LONG_LONG_MAX and LONG_LONG_MIN.
9699 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9700 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9701 name.
9702 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9703
6cbeae47
JM
97042012-02-22 Joseph Myers <joseph@codesourcery.com>
9705
9706 [BZ #2547]
9707 [BZ #11365]
9708 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9709 manipulate bits before adding and subtracting TWO23[sx].
9710 * math/libm-test.inc (nearbyint_test): Add more tests.
9711
fe45ce09
JM
97122012-02-22 Joseph Myers <joseph@codesourcery.com>
9713
9714 [BZ #2548]
9715 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9716 bits before adding and subtracting TWO23[sx].
9717 * math/libm-test.inc (rint_test): Add more tests.
9718 (rint_test_tonearest): Likewise.
9719 (rint_test_towardzero): Likewise.
9720 (rint_test_downward): Likewise.
9721 (rint_test_upward: Likewise.
9722
ff3b3d82
JM
97232012-02-22 Joseph Myers <joseph@codesourcery.com>
9724
9725 [BZ #10110]
9726 * include/stdc-predef.h: New file. Extracted from features.h.
9727 * include/features.h: Include stdc-predef.h.
9728 * Makefile (headers): Add stdc-predef.h.
9729 * CONFORMANCE (Compiler limitations): Update.
9730
ef0aab35
JM
97312012-02-22 Joseph Myers <joseph@codesourcery.com>
9732
9733 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9734
58639409
DM
97352012-02-21 David S. Miller <davem@davemloft.net>
9736
9737 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9738 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9739
c0e70b25
DM
97402012-02-20 David S. Miller <davem@davemloft.net>
9741
9742 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9743 using a normal save/restore sequence, rather than allocating a
9744 dummy stack frame just to store a frame pointer and restore.
9745 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9746
fb06851d
JM
97472012-02-21 Joseph Myers <joseph@codesourcery.com>
9748
9749 * manual/install.texi: Fix stray word in line-wrapped comment.
9750
7a8b71c3
DM
97512012-02-20 David S. Miller <davem@davemloft.net>
9752
d510c123
DM
9753 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9754 both binutils and gcc support GOTDATA.
9755
0722d7c2
DM
9756 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9757 "rd %pc" in the PIC register setup sequences.
9758
3d2b3019
DM
9759 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9760 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9761 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9762 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9763 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9765 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9766 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9768 (SYSCALL_ERROR_HANDLER): Likewise.
9769 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9770 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9772 (SYSCALL_ERROR_HANDLER): Likewise.
9773
c80098a9
DM
9774 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9775 (HAVE_GCC_GOTDATA): New.
9776 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9777 relocation support in both binutils and gcc.
9778 * sysdeps/sparc/elf/configure: Regenerate.
9779
3a2545a0
DM
9780 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9781 * sysdeps/sparc/sparc32/elf/configure: Delete.
9782 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9783 * sysdeps/sparc/sparc64/elf/configure: Delete.
9784 * sysdeps/sparc/elf/configure.in: New file.
9785 * sysdeps/sparc/elf/configure: Generate.
9786
7a8b71c3
DM
9787 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9788 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9789 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9790 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9791 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9792
f1e86fca
JM
97932012-02-21 Joseph Myers <joseph@codesourcery.com>
9794
9795 * manual/install.texi: Do not mention specific glibc version
9796 numbers.
9797 * manual/libc.texinfo (VERSION, UPDATED): Update.
9798 (@copying): Use @copyright{} and range of years.
9799
0e7dfaef
JM
98002012-02-21 Joseph Myers <joseph@codesourcery.com>
9801
9802 [BZ #13695]
9803 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9804 [crti.S not in sysdirs] (generated): Do not append.
9805 [crti.S not in sysdirs] (omit-deps): Likewise.
9806 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9807 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9808 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9809 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9810 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9811 Likewise.
9812 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9813 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9814 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9815 * csu/defs.awk: Remove file.
9816 * sysdeps/generic/initfini.c: Likewise.
9817 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9818 variable.
9819 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9820 Likewise.
9821
599af3ca
JM
98222012-02-20 Joseph Myers <joseph@codesourcery.com>
9823
9824 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9825 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9826 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9827 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9828 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9829 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9830 <bits/epoll.h>.
9831 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9832 (__EPOLL_PACKED): Define to empty if not defined by
9833 <bits/epoll.h>.
9834 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9836 bits/epoll.h.
9837
0e499750
JM
98382012-02-20 Joseph Myers <joseph@codesourcery.com>
9839
9840 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9841 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9842 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9843 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9844 <bits/timerfd.h>.
9845 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9847 bits/timerfd.h.
9848
5ad91f6e
JM
98492012-02-20 Joseph Myers <joseph@codesourcery.com>
9850
9851 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9852 in C locale.
9853 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9854 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9855 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9857
06b99b02
AJ
98582012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9859
9860 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9861 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9862
7638c0fd
AS
98632012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9864
9865 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9866 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9867 defined.
9868 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9869 Likewise.
9870 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9871 entry for 2.16.
9872
92221550
AJ
98732012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9874
9875 * math/w_acos.c: Use non-signaling floating-point comparisons.
9876 * math/w_acosf.c: Likewise.
9877 * math/w_acosh.c: Likewise.
9878 * math/w_acoshf.c: Likewise.
9879 * math/w_acoshl.c: Likewise.
9880 * math/w_acosl.c: Likewise.
9881 * math/w_asin.c: Likewise.
9882 * math/w_asinf.c: Likewise.
9883 * math/w_asinl.c: Likewise.
9884 * math/w_atanh.c: Likewise.
9885 * math/w_atanhf.c: Likewise.
9886 * math/w_atanhl.c: Likewise.
9887 * math/w_exp2.c: Likewise.
9888 * math/w_exp2f.c: Likewise.
9889 * math/w_exp2l.c: Likewise.
9890 * math/w_j0.c: Likewise.
9891 * math/w_j0f.c: Likewise.
9892 * math/w_j0l.c: Likewise.
9893 * math/w_j1.c: Likewise.
9894 * math/w_j1f.c: Likewise.
9895 * math/w_j1l.c: Likewise.
9896 * math/w_jn.c: Likewise.
9897 * math/w_jnf.c: Likewise.
9898 * math/w_log.c: Likewise.
9899 * math/w_log10.c: Likewise.
9900 * math/w_log10f.c: Likewise.
9901 * math/w_log10l.c: Likewise.
9902 * math/w_log2.c: Likewise.
9903 * math/w_log2f.c: Likewise.
9904 * math/w_log2l.c: Likewise.
9905 * math/w_logf.c: Likewise.
9906 * math/w_logl.c: Likewise.
9907 * math/w_sqrt.c: Likewise.
9908 * math/w_sqrtf.c: Likewise.
9909 * math/w_sqrtl.c: Likewise.
9910 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9911 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9913 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9914 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9915
ebaf36eb
JM
99162012-02-19 Joseph Myers <joseph@codesourcery.com>
9917
9918 [BZ #9739]
9919 * manual/string.texi (strnlen): Use correct parameter name in
9920 equivalent expression.
9921
71c254a6
JM
99222012-02-19 Joseph Myers <joseph@codesourcery.com>
9923
9924 [BZ #11174]
9925 * manual/users.texi (seteuid): Consistently use neweuid for
9926 argument name.
9927
16d2c631
JM
99282012-02-19 Joseph Myers <joseph@codesourcery.com>
9929
9930 [BZ #13704]
9931 * manual/nss.texi (Services in the NSS configuration): Correct
9932 list of services in example configuration file.
9933
cd837b09
NB
99342012-02-19 Nick Bowler <nbowler@draconx.ca>
9935
9936 [BZ #11322]
9937 * manual/arith.texi: Remove statements about negative zero
9938 behaving identically to zero.
9939
02c4bbad
JM
99402012-02-18 Joseph Myers <joseph@codesourcery.com>
9941
9942 [BZ #5993]
9943 * manual/install.texi: Do not document upgrading from libc5.
9944
366842e7
JM
99452012-02-18 Joseph Myers <joseph@codesourcery.com>
9946
9947 [BZ #4596]
9948 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9949
dd54084d
DM
99502012-02-18 David S. Miller <davem@davemloft.net>
9951
9952 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9953 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9954 %o7 across the call.
9955 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9956 instead.
9957 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9958 SETUP_PIC_REG_LEAF.
9959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9960 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9961 * sysdeps/sparc/crtn.S: Likewise.
9962
2bcc53a3
UD
99632012-02-17 Ulrich Drepper <drepper@gmail.com>
9964
9965 * aout/Makefile: Remove.
9966
09c093b5
RK
99672012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9968
9969 [BZ #13058]
9970 * manual/examples/argp-ex1.c (main): Format definition in GNU
9971 style.
9972 * manual/examples/argp-ex2.c (main): Likewise.
9973 * manual/examples/argp-ex3.c (main): Likewise.
9974 * manual/examples/argp-ex4.c (main): Likewise.
9975 * manual/examples/longopt.c (main): Use new-style prototype
9976 definition.
9977 * manual/examples/strncat.c (main): Specify return type and use
9978 (void) for arguments.
9979 * manual/examples/subopt.c (main): Use char **argv argument.
9980
2ee633a2
JM
99812012-02-17 Joseph Myers <joseph@codesourcery.com>
9982
9983 [BZ #5077]
9984 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9985 rounding modes.
9986
0520adde
FB
99872012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9988
9989 [BZ #6907]
9990 * manual/string.texi (strchr): Change when strchrnul is
9991 recommended.
9992
3f4081cd
DGM
99932012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9994
9995 [BZ #174]
9996 * manual/locale.texi (setlocale): Document LOCPATH.
9997
d1b10e78
JM
99982012-02-17 Joseph Myers <joseph@codesourcery.com>
9999
10000 [BZ #10210]
10001 * manual/process.texi (execle): Move @dots{} before last argument.
10002
79c6869c
PB
100032012-02-17 Paul Bolle <pebolle@tiscali.nl>
10004
10005 [BZ #12047]
10006 * manual/charset.texi (Generic Charset Conversion): Fix typo
10007 (LC_TYPE -> LC_CTYPE).
10008
cc6e48bc
NB
100092012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10010
10011 [BZ #5805]
10012 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10013 (scalbnf): Likewise.
10014 (scalbnl): Likewise.
10015 (scalbln): Likewise.
10016 (scalblnf): Likewise.
10017 (scalblnl): Likewise.
10018 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10019 (vwarnx): Likewise.
10020 (verr): Likewise.
10021 (verrx): Likewise.
10022 * manual/filesys.texi (telldir): Use braces around return type.
10023 * manual/llio.texi (mmap): Add space after comma.
10024 (mmap64): Likewise.
10025 * manual/math.texi (jn): Use @var{} on parameter names.
10026 (jnf): Likewise.
10027 (jnl): Likewise.
10028 (yn): Likewise.
10029 (ynf): Likewise.
10030 (ynl): Likewise.
10031 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10032 line.
10033 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10034 "...".
10035 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10036 (sched_get_priority_max): Likewise.
10037 * manual/signal.texi (sigvec): Add space after comma.
10038 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10039 names.
10040 (if_indextoname): Likewise.
10041 (if_freenameindex): Likewise.
10042 (sendto): Use ',' instead of '.' in prototype.
10043 * manual/startup.texi (syscall): Use @dots{} instead of literal
10044 "...".
10045 * manual/stdio.texi (__fpending): Separate initial words of
10046 paragraph from @deftypefun line.
10047 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10048 "...".
10049 (vsyslog): Use @var{} on parameter names.
10050 * manual/terminal.texi (stty): Use @var{} on parameter names.
10051 * manual/users.texi (getutmp): Use @var{} on parameter names.
10052 (getutmpx): Likewise.
10053
5b23062f
JM
100542012-02-17 Joseph Myers <joseph@codesourcery.com>
10055
10056 [BZ #6884]
10057 * manual/stdio.texi (fopen): Fix typos in description of
10058 ",ccs=STRING".
10059
8dee4833
AJ
100602012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10061
10062 [BZ #4026]
10063 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10064 get clock_id definition.
10065
9078ce93
TS
100662012-02-17 Thomas Schwinge <thomas@schwinge.name>
10067
10068 [BZ #4822]
10069 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10070 (madvise): Cast every argument to void on its own.
10071
3835c55f
JM
100722012-02-17 Joseph Myers <joseph@codesourcery.com>
10073
10074 [BZ #9902]
10075 * manual/startup.texi (Exit Status): Fix typo.
10076
35c47e37
JM
100772012-02-17 Joseph Myers <joseph@codesourcery.com>
10078
10079 [BZ #10140]
10080 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10081 * manual/examples/argp-ex2.c: Likewise.
10082 * manual/examples/argp-ex3.c: Likewise.
10083
e3b69ca7
RH
100842012-02-16 Richard Henderson <rth@redhat.com>
10085
10086 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10087 * sysdeps/s390/s390-32/initfini.c: Remove.
10088 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10089 * sysdeps/s390/s390-64/initfini.c: Remove.
10090
df83af67
KK
100912012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10092
10093 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10094 compiler output for sysdeps/generic/initfini.c.
10095 * sysdeps/sh/elf/initfini.c: Remove file.
10096
f63f3380
DM
100972012-02-16 David S. Miller <davem@davemloft.net>
10098
fb59b3a4
DM
10099 [BZ #11494]
10100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10101
f63f3380
DM
10102 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10103 * sysdeps/sparc/crti.S: New file.
10104 * sysdeps/sparc/crtn.S: New file.
10105 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10106 * sysdeps/sparc/sparc64/Makefile: Likewise.
10107
df6a4a4a
MF
101082012-02-15 Mike Frysinger <vapier@gentoo.org>
10109
6dd8f3dc 10110 [BZ #3335]
df6a4a4a
MF
10111 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10112
1cac7236
RM
101132012-02-15 Roland McGrath <roland@hack.frob.com>
10114
d2c736f8
RM
10115 [BZ #4822]
10116 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10117
1cac7236
RM
10118 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10119 (write, read, close): Likewise.
10120 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10121
8e475601
JM
101222012-02-15 Joseph Myers <joseph@codesourcery.com>
10123
10124 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10125 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10126 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10127 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10128 <bits/signalfd.h>.
10129 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10131 bits/signalfd.h.
10132
ed656b40
MP
101332012-02-14 Marek Polacek <polacek@redhat.com>
10134
10135 * sysdeps/x86_64/crti.S: New file.
10136 * sysdeps/x86_64/crtn.S: New file.
10137 * sysdeps/x86_64/elf/initfini.c: Remove file.
10138
2a979d3a
JM
101392012-02-13 Joseph Myers <joseph@codesourcery.com>
10140
10141 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10142 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10143 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10144 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10145 <bits/inotify.h>.
10146 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10148 bits/inotify.h.
10149
2a418ac3
JM
101502012-02-13 Joseph Myers <joseph@codesourcery.com>
10151
10152 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10153 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10154 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10155 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10156 <bits/eventfd.h>.
10157 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10159 bits/eventfd.h.
10160
fb779be7
TS
101612012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10162
e19e83c5
RM
10163 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10164 __feraiseexcept instead of feraiseexcept.
7c35ffed 10165
fb779be7
TS
10166 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10167 nanosleep invocations.
10168 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10169 strings, and add error checking for a nanosleep invocations.
10170
59ba27a6
PE
101712012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10172
10173 Replace FSF snail mail address with URLs, as per GNU coding standards.
10174 Most of the snail mail addresses were wrong anyway, and omitting
10175 them makes the source code easier to maintain. Almost all of the
10176 changes are to license notices and to locale LC_IDENTIFICATION
10177 addresses, except for this one:
10178 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10179 not its snail mail address.
10180
57b957eb
RH
101812012-02-09 Richard Henderson <rth@twiddle.net>
10182
af850b1c
RH
10183 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10184 of kernel-features.h.
10185
57b957eb
RH
10186 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10187
6b73181a
MP
101882012-02-08 Marek Polacek <polacek@redhat.com>
10189
10190 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10191 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10192 * sysdeps/gnu/_G_config.h: Likewise.
10193 * sysdeps/generic/_G_config.h: Likewise.
10194
26ecc33a
AS
101952012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10196
6c6dbc63
AS
10197 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10198 tests.
10199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10200
e216c012
AS
10201 * sysdeps/powerpc/powerpc32/crti.S: New file.
10202 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10203 * sysdeps/powerpc/powerpc64/crti.S: New file.
10204 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10205
26ecc33a
AS
10206 * Makeconfig (have-initfini): Don't set.
10207 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10208 * configure.in (nopic_initfini): Don't substitute.
10209 * config.h.in (HAVE_INITFINI): Don't #undef.
10210 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10211 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10212
3add8e13
JM
102132012-02-08 Joseph Myers <joseph@codesourcery.com>
10214
10215 Support crti.S and crtn.S provided directly by architectures.
10216 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10217 [crti.S in sysdirs] (omit-deps): Likewise.
10218 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10219 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10220 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10221 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10222 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10223 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10224 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10225 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10226 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10227 compiler output for sysdeps/generic/initfini.c.
10228 * sysdeps/i386/elf/Makefile: Remove file.
10229 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10230
a22f12b4
MP
102312012-02-07 Marek Polacek <polacek@redhat.com>
10232
10233 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10234 * sysdeps/gnu/_G_config.h: Likewise.
10235 * sysdeps/mach/hurd/_G_config.h: Likewise.
10236
148cf100
MP
102372012-02-07 Marek Polacek <polacek@redhat.com>
10238
10239 * math/Makefile (tests): Add tst-CMPLX2.
10240 * math/tst-CMPLX2.c: New file.
10241
cfdc0dd7
AS
102422012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10243
84ba42c4
AS
10244 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10245
cfdc0dd7
AS
10246 * math/libm-test.inc (jn_test): Add missing L suffix.
10247
622c86f4
MP
102482012-02-06 Marek Polacek <polacek@redhat.com>
10249
10250 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10251 * sysdeps/i386/fpu/e_powf.S: Likewise.
10252 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10253 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10254 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10255 * sysdeps/i386/fpu/e_pow.S: Likewise.
10256 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10257 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10258 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10259 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10260 * sysdeps/i386/fpu/e_log2.S: Likewise.
10261 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10262 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10263 * sysdeps/i386/fpu/e_powl.S: Likewise.
10264 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10265 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10266 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10267 * sysdeps/i386/fpu/e_logl.S: Likewise.
10268 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10269 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10270 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10271 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10272 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10273 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10274 * sysdeps/i386/fpu/e_log.S: Likewise.
10275 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10276 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10277 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10278 * sysdeps/i386/fpu/e_logf.S: Likewise.
10279 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10280 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10281 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10282 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10283 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10284 * sysdeps/i386/fpu/e_log10.S: Likewise.
10285 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10286 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10287 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10288 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10289 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10290 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10291 * sysdeps/i386/asm-syntax.h: Likewise.
10292 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10293 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10294 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10295 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10296 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10297 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10298 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10299 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10300 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10301 * sysdeps/powerpc/sysdep.h: Likewise.
10302 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10303 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10304
d4a54ac6
JM
103052012-02-06 Joseph Myers <joseph@codesourcery.com>
10306
10307 [BZ #411]
10308 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10309
314054ea
JM
103102012-02-06 Joseph Myers <joseph@codesourcery.com>
10311
10312 * sysdeps/i386/sysdep.h: Include <features.h>.
10313 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10314 version.
10315
d8e0ca50
JM
103162012-02-05 Joseph Myers <joseph@codesourcery.com>
10317
10318 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10319 Define.
10320 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10321 LOAD_PIC_REG_STR.
10322
b1da7dd9
JM
103232012-02-03 Joseph Myers <joseph@codesourcery.com>
10324
10325 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10326 (SETUP_PIC_REG): Use GET_PC_THUNK.
10327 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10328 macro.
10329
9a1d9254
JM
103302012-02-03 Joseph Myers <joseph@codesourcery.com>
10331
10332 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10333 for non-PIC compilation.
10334 (SETUP_PIC_REG): Add .p2align directive.
10335 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10336 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10337 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10338 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10339 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10340 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10341 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10342 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10343 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10344 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10345 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10346 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10347 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10348 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10349 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10350 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10351 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10352 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10353 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10354 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10355 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10356 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10357 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10358 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10360 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10361 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10362 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10363 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10364 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10365 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10366 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10367 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10368 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10369 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10370 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10371 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10372 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10373 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10374 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10375 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10376
65dc3b75
JM
103772012-02-03 Joseph Myers <joseph@codesourcery.com>
10378
10379 * math/tst-CMPLX.c: Include <stdio.h>.
10380
d55bf177
JM
103812012-01-31 Joseph Myers <joseph@codesourcery.com>
10382
10383 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10384 float.
10385 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10386 * sysdeps/sparc/bits/mathdef.h: Likewise.
10387
69db4f8f
MP
103882012-01-31 Marek Polacek <polacek@redhat.com>
10389
10390 * libio/libio.h: Don't define _PARAMS.
10391 * locale/programs/config.h: Don't define PARAMS.
10392 * stdlib/strtol_l.c: Likewise.
10393 (__strtol_l): Remove PARAMS from the prototype.
10394
41b81892
UD
103952012-01-31 Ulrich Drepper <drepper@gmail.com>
10396
3b49edc0
UD
10397 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10398 names. Just use the correct names. Remove unnecessary wrapper
10399 functions.
10400 * malloc/arena.c: Likewise.
10401 * malloc/hooks.c: Likewise.
10402
41b81892
UD
10403 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10404 ARENA_TEST says not to. Simplify test for creation of a new arena.
10405 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10406
27a25b6e
UD
104072012-01-30 Ulrich Drepper <drepper@gmail.com>
10408
10409 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10410 into tail calls.
10411 (update_get_addr): New function.
10412 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10413 GET_ADDR_MODULE parameter.
10414
c8a89e7d
JM
104152012-01-30 Joseph Myers <joseph@codesourcery.com>
10416
10417 * crypt/cert.c: Remove __STDC__ conditionals.
10418 * crypt/crypt-entry.c: Likewise.
10419 * crypt/crypt_util.c: Likewise.
10420 * libio/filedoalloc.c: Likewise.
10421 * libio/fileops.c: Likewise.
10422 * libio/genops.c: Likewise.
10423 * libio/iofclose.c: Likewise.
10424 * libio/iofdopen.c: Likewise.
10425 * libio/iofopen.c: Likewise.
10426 * libio/iofopen64.c: Likewise.
10427 * libio/iogetdelim.c: Likewise.
10428 * libio/iopopen.c: Likewise.
10429 * libio/obprintf.c: Likewise.
10430 * libio/oldfileops.c: Likewise.
10431 * libio/oldiofclose.c: Likewise.
10432 * libio/oldiofdopen.c: Likewise.
10433 * libio/oldiofopen.c: Likewise.
10434 * libio/oldiopopen.c: Likewise.
10435 * libio/wfiledoalloc.c: Likewise.
10436 * libio/wgenops.c: Likewise.
10437 * locale/programs/xmalloc.c: Likewise.
10438 * misc/syslog.c: Likewise.
10439 * stdio-common/xbug.c: Likewise.
10440 * string/memchr.c: Likewise.
10441 * string/memcmp.c: Likewise.
10442 * string/memrchr.c: Likewise.
10443 * string/rawmemchr.c: Likewise.
10444 * sysdeps/posix/getcwd.c: Likewise.
10445 * time/strftime_l.c: Likewise.
10446
3b100462
JM
104472012-01-30 Joseph Myers <joseph@codesourcery.com>
10448
10449 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10450 * config.make.in (config-cflags-sse2avx): Define.
10451 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10452 Fix typo.
10453
607998af
CM
104542012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10455
10456 * scripts/config.guess: Update from upstream config git repository.
10457 * scripts/config.sub: Likewise.
10458
3601428f
CM
104592012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10460
3ac8b282
CM
10461 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10462 (EM_NUM): Update.
10463 (R_TILEPRO_*, R_TILEGX_*): New macros.
10464
e034841e
CM
10465 * scripts/firstversions.awk: Fix bug in version range handling.
10466
540d7568
CM
10467 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10468
3601428f
CM
10469 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10470
463de862
CM
10471 * include/sys/epoll.h: New file.
10472 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10473 libc_hidden_def.
10474
73139a76
UD
104752012-01-28 Ulrich Drepper <drepper@gmail.com>
10476
96bc5b45
UD
10477 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10478 Avoid unnecessary __WORDSIZE == 64 test.
10479 (fmaxf): Use VEX format if possible.
10480 (fmax): Likewise.
10481 (fminf): Likewise.
10482 (fmin): Likewise.
10483
56f6f6a2
UD
10484 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10485 * math/math_private.h: Remove libc_fegetround* and
10486 libc_fesetround*.
10487 * sysdeps/i386/configure.in: Check for -msse2avx.
10488 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10489 also if SSE2AVX is defined.
10490 Remove libc_fegetround* and libc_fesetround*.
10491 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10492 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10493 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10494 of HAS_YMM_USABLE.
10495 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10496 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10497 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10498 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10499 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10500
73139a76
UD
10501 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10502
d73f93a4
AZ
105032012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10504
10505 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10506 size is not set.
10507 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10508
6ee65ed6
UD
105092012-01-27 Ulrich Drepper <drepper@gmail.com>
10510
10511 [BZ #13618]
10512 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10513 relocation.
10514 * Makeconfig (libm): Define.
10515 * elf/Makefile: Add rules to build and run tst-relsort1.
10516 * elf/tst-relsort1.c: New file.
10517 * elf/tst-relsort1mod1.c: New file.
10518 * elf/tst-relsort1mod2.c: New file.
10519
8db21882
JM
105202012-01-27 Joseph Myers <joseph@codesourcery.com>
10521
10522 * math/s_ldexp.c: Remove __STDC__ conditionals.
10523 * math/s_ldexpf.c: Likewise.
10524 * math/s_ldexpl.c: Likewise.
10525 * math/s_nextafter.c: Likewise.
10526 * math/s_nexttowardf.c: Likewise.
10527 * math/s_significand.c: Likewise.
10528 * math/s_significandf.c: Likewise.
10529 * math/s_significandl.c: Likewise.
10530 * math/w_jnl.c: Likewise.
10531 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10532 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10533 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10534 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10535 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10536 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10537 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10538 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10546 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10547 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10548 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10550 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10551 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10552 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10553 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10554 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10555 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10556 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10557 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10558 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10559 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10560 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10561 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10562 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10563 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10564 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10565 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10566 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10567 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10568 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10569 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10570 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10571 * sysdeps/ieee754/k_standard.c: Likewise.
10572 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10573 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10574 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10575 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10576 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10577 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10578 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10579 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10580 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10581 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10582 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10583 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10584 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10585 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10586 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10588 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10589 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10590 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10593 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10594 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10596 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10597 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10601 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10602 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10603 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10604 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10605 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10606 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10607 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10608 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10609 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10610 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10612 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10613 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10615 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10616 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10617 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10618 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10619 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10620 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10621 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10622 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10623 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10624 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10625 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10626 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10627 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10628 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10629 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10630 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10631 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10632 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10633 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10634 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10635 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10636 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10637 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10638 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10639 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10640 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10641 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10642 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10643 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10644 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10645 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10646 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10647 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10648 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10649 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10650 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10651 * sysdeps/ieee754/s_matherr.c: Likewise.
10652 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10653 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10654 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10656
965a54a4
JM
106572012-01-26 Joseph Myers <joseph@codesourcery.com>
10658
10659 * crypt/md5.h: Remove __STDC__ conditionals.
10660 * libio/libioP.h: Likewise.
10661 * locale/programs/config.h: Likewise.
10662 * sysdeps/generic/sysdep.h: Likewise.
10663 * sysdeps/i386/asm-syntax.h: Likewise.
10664 * sysdeps/s390/asm-syntax.h: Likewise.
10665 * sysdeps/unix/sysdep.h: Likewise.
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10668
7071ad79
JM
106692012-01-26 Joseph Myers <joseph@codesourcery.com>
10670
10671 * libio/libio.h: Remove __STDC__ conditionals.
10672 * malloc/obstack.h: Likewise.
10673 * math/complex.h: Likewise.
10674 * math/math.h: Likewise.
10675 * sysdeps/generic/_G_config.h: Likewise.
10676 * sysdeps/gnu/_G_config.h: Likewise.
10677 * sysdeps/mach/hurd/_G_config.h: Likewise.
10678 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10679 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10680 * sysdeps/sparc/bits/mathdef.h: Likewise.
10681
afc5ed09
UD
106822012-01-26 Ulrich Drepper <drepper@gmail.com>
10683
10684 [BZ #13583]
10685 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10686 Clean up HAS_* macros.
afc5ed09 10687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10688 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10689 possible.
10690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10691 HAS_AVX.
10692 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10693 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10694 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10697
bdb6de1d
JM
106982012-01-25 Joseph Myers <joseph@codesourcery.com>
10699
10700 * elf/tst-unique3.cc (gets): Remove declaration.
10701 * elf/tst-unique3lib.cc (gets): Likewise.
10702 * elf/tst-unique3lib2.cc (gets): Likewise.
10703 * elf/tst-unique4.cc (gets): Likewise.
10704
b15549e6
UD
107052012-01-24 Ulrich Drepper <drepper@gmail.com>
10706
10707 * include/stdio.h: Add C++ protection. Add gets declarations and
10708 definitions.
10709 * debug/tst-chk1.c: Don't declare gets here.
10710 * stdio-common/tst-gets.c: Likewise.
10711
a037381f
JM
107122012-01-24 Joseph Myers <joseph@codesourcery.com>
10713
10714 * posix/glob: Remove directory.
10715
f1d4aa75
JM
107162012-01-24 Joseph Myers <joseph@codesourcery.com>
10717
10718 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10719
81c0c964
PT
107202012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10721
10722 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10723 of the non-standard EPFNOSUPPORT.
10724
0ea698ae
ST
107252011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10726
10727 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10728 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10729 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10730
d220b117
UD
107312012-01-21 Ulrich Drepper <drepper@gmail.com>
10732
10733 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10734
3e1aa84e
UD
107352012-01-20 Ulrich Drepper <drepper@gmail.com>
10736
10737 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10738 transient errors.
10739 * nscd/grpcache.c (cache_addgr): Likewise.
10740 * nscd/hstcache.c (cache_addhst): Likewise.
10741 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10742 * nscd/pwdcache.c (cache_addpw): Likewise.
10743 * nscd/servicescache.c (cache_addserv): Likewise.
10744
400aa020
UD
107452012-01-16 Ulrich Drepper <drepper@gmail.com>
10746
d77e7869
UD
10747 * malloc/malloc.c: Various cleanups.
10748 * malloc/hooks.c: Likewise.
10749
400aa020
UD
10750 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10751 * stdlib/bug-fmtmsg1.c: New file.
10752
10753 * stdlib/fmtmsg.c (init): Add missing unlock.
10754 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10755
e0a309cf
MP
107562012-01-12 Marek Polacek <polacek@redhat.com>
10757
10758 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10759 and _GNU_SOURCE.
10760
929d11c7
WS
107612012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10762
10763 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10764 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10765 macro to ensure uniqueness of label name.
10766 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10767 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10768
41d0e869
UD
107692012-01-11 Ulrich Drepper <drepper@gmail.com>
10770
0cc5ed3b
UD
10771 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10772
41d0e869
UD
10773 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10774 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10775 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10777
a47a831a
UD
107782012-01-10 Ulrich Drepper <drepper@gmail.com>
10779
daa891c0
UD
10780 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10781
10782 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10783 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10784 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10785
e58ef0f2
UD
10786 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10787
a47a831a 10788 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10789 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10790 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10792
10793 * math/bits/math-finite.h: Add ldexp support.
10794
a0bfc9c7
MP
107952012-01-10 Marek Polacek <polacek@redhat.com>
10796
10797 * locale/programs/localedef.h (show_archive_content): Add noreturn
10798 attribute.
10799
d6e97a1d
UD
108002012-01-09 Ulrich Drepper <drepper@gmail.com>
10801
10802 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10803
d5835c26
UD
108042012-01-08 Ulrich Drepper <drepper@gmail.com>
10805
e5f484c6
UD
10806 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10807
d5835c26
UD
10808 * io/Makefile (headers): Add bits/poll2.h.
10809
d1f741e9
WS
108102011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10811
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10813 typo #include statement.
10814
ec09c1c4
UD
108152012-01-08 Ulrich Drepper <drepper@gmail.com>
10816
10817 * include/sys/cdefs.h: Define __attribute_alloc_size.
10818 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10819 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10820 * elf/pldd.c: Likewise.
10821 * iconv/iconv_charmap.c: Likewise.
10822 * iconv/iconvconfig.c: Likewise.
10823 * iconv/strtab.c: Likewise.
10824 * locale/programs/locale.c: Likewise.
10825 * locale/programs/localedef.h: Likewise.
10826 * locale/programs/simple-hash.c: Likewise.
10827 * nscd/nscd.h: Likewise.
10828 * nss/makedb.c: Likewise.
10829 * sysdeps/generic/ldconfig.h: Likewise.
10830 * locale/programs/localedef.c: Remove xmalloc prototype.
10831 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10832
20b38e03
PP
108332012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10834
10835 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10836 appropriate.
10837
a0da5fe1
UD
108382012-01-08 Ulrich Drepper <drepper@gmail.com>
10839
1d5a644a 10840 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10841 * math/tst-CMPLX.c: New file.
1d5a644a 10842
8784a6db
UD
10843 * math/complex.h (CMPLXL): Fix typo.
10844
d9a216c0
UD
10845 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10846 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10847 GLIBC_2.16.
10848 * debug/tst-chk1.c: Add poll and ppoll tests.
10849 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10850 * include/sys/poll.h: Add hidden proto for ppoll.
10851 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10852 * sysdeps/mach/hurd/ppoll.c: Likewise.
10853 * io/ppoll.c: Likewise.
10854 * debug/poll_chk.c: New file.
10855 * debug/ppoll_chk.c: New file.
10856 * include/bits/poll2.h: New file.
10857 * io/bits/poll2.h: New file.
10858
ac097f5c
UD
10859 [BZ #1350]
10860 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10861
2119dcfa
UD
10862 * configure.in: static is always set to yes. Remove.
10863 * config.make.in: Don't set build-static.
10864 * Makeconfig: Remove use of build-static.
10865 * dlfcn/Makefile: Likewise.
10866 * elf/Makefile: Likewise.
10867 * math/Makefile: Likewise.
10868 * misc/Makefile: Likewise.
10869 * nptl/Makefile: Likewise.
10870 * sysdeps/mach/hurd/Makefile: Likewise.
10871
121766a9
UD
10872 * configure.in: PWD_P is not used anymore.
10873 * config.make.in: Remove PWD_P entry.
10874
51a1d39c 10875 * configure.in: Remove last remnants of RANLIB.
8720d066 10876 No need to check for signed size_t anymore.
215f4bdc
UD
10877 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10878 and IA-64.
3857022a 10879 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10880 * aclocal.m4: Likewise.
10881
d3ed7225
UD
10882 * wcsmbs/mbrtoc16.c: Implement using towc function.
10883 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10884 * wcsmbs/wcsmbsload.c: Likewise.
10885 * iconv/gconv_simple.c: Likewise.
10886 * iconv/gconv_int.h: Likewise.
10887 * iconv/gconv_builtin.h: Likewise.
10888 * iconv/iconv_prog.c: Remove CHAR16 handling.
10889
10890 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10891
10892 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10893
a0da5fe1
UD
10894 * configure.in: Remove --with-elf and --enable-bounded options.
10895 Dont set base_machine for ia64. More non-ELF conditions removed.
10896 Remove testing and setting of leading underscore information.
10897 * config.make.in (build-bounded): Set to no.
10898 * config.h.in: Remove NO_UNDERSCORES entry.
10899 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10900 them.
10901 * csu/start.c: Remove !NO_UNDERSCORE code.
10902 * locale/localeinfo.h: Likewise.
10903 * sysdeps/generic/machine-gmon.h: Likewise.
10904 * sysdeps/generic/sysdep.h: Likewise.
10905 * sysdeps/i386/sysdep.h: Likewise.
10906 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10907 * sysdeps/mach/sysdep.h: Likewise.
10908 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10909 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10910 * sysdeps/sh/sysdep.h: Likewise.
10911 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10912 * sysdeps/unix/i386/sysdep.S: Likewise.
10913 * sysdeps/unix/sparc/start.c: Likewise.
10914 * sysdeps/unix/sparc/sysdep.S: Likewise.
10915 * sysdeps/unix/sparc/sysdep.h: Likewise.
10916 * sysdeps/unix/start.c: Likewise.
10917 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10918 * sysdeps/x86_64/sysdep.h: Likewise.
10919
df78418a
UD
109202012-01-07 Ulrich Drepper <drepper@gmail.com>
10921
a784e502
UD
10922 [BZ #13553]
10923 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10924 for non-gcc.
10925 * argp/argp-fmtstream.h: Use const instead __const.
10926 * argp/argp.h: Likewise.
10927 * assert/assert.h: Likewise.
10928 * bits/fenv.h: Likewise.
10929 * bits/sched.h: Likewise.
10930 * bits/sigset.h: Likewise.
10931 * bits/sigthread.h: Likewise.
10932 * catgets/nl_types.h: Likewise.
10933 * conform/data/pthread.h-data: Likewise.
10934 * crypt/crypt-private.h: Likewise.
10935 * crypt/crypt.h: Likewise.
10936 * crypt/crypt_util.c: Likewise.
10937 * ctype/ctype.h: Likewise.
10938 * debug/execinfo.h: Likewise.
10939 * debug/mbsnrtowcs_chk.c: Likewise.
10940 * debug/mbsrtowcs_chk.c: Likewise.
10941 * debug/wcsnrtombs_chk.c: Likewise.
10942 * debug/wcsrtombs_chk.c: Likewise.
10943 * debug/wcstombs_chk.c: Likewise.
10944 * dirent/dirent.h: Likewise.
10945 * dlfcn/dlfcn.h: Likewise.
10946 * elf/neededtest4.c: Likewise.
10947 * grp/grp.h: Likewise.
10948 * gshadow/gshadow.h: Likewise.
10949 * iconv/gconv.h: Likewise.
10950 * iconv/gconv_int.h: Likewise.
10951 * iconv/gconv_simple.c: Likewise.
10952 * iconv/iconv.h: Likewise.
10953 * iconv/loop.c: Likewise.
10954 * iconv/skeleton.c: Likewise.
10955 * include/aio.h: Likewise.
10956 * include/aliases.h: Likewise.
10957 * include/argz.h: Likewise.
10958 * include/arpa/inet.h: Likewise.
10959 * include/assert.h: Likewise.
10960 * include/dirent.h: Likewise.
10961 * include/dlfcn.h: Likewise.
10962 * include/execinfo.h: Likewise.
10963 * include/fcntl.h: Likewise.
10964 * include/fenv.h: Likewise.
10965 * include/glob.h: Likewise.
10966 * include/grp.h: Likewise.
10967 * include/libintl.h: Likewise.
10968 * include/mntent.h: Likewise.
10969 * include/netdb.h: Likewise.
10970 * include/pwd.h: Likewise.
10971 * include/rpc/netdb.h: Likewise.
10972 * include/sched.h: Likewise.
10973 * include/search.h: Likewise.
10974 * include/shadow.h: Likewise.
10975 * include/signal.h: Likewise.
10976 * include/stdio.h: Likewise.
10977 * include/stdlib.h: Likewise.
10978 * include/string.h: Likewise.
10979 * include/sys/socket.h: Likewise.
10980 * include/sys/stat.h: Likewise.
10981 * include/sys/statfs.h: Likewise.
10982 * include/sys/statvfs.h: Likewise.
10983 * include/sys/syslog.h: Likewise.
10984 * include/sys/time.h: Likewise.
10985 * include/sys/uio.h: Likewise.
10986 * include/time.h: Likewise.
10987 * include/unistd.h: Likewise.
10988 * include/utmp.h: Likewise.
10989 * include/wchar.h: Likewise.
10990 * include/wctype.h: Likewise.
10991 * inet/aliases.h: Likewise.
10992 * inet/arpa/inet.h: Likewise.
10993 * inet/netinet/ether.h: Likewise.
10994 * inet/netinet/in.h: Likewise.
10995 * intl/libintl.h: Likewise.
10996 * io/bits/fcntl2.h: Likewise.
10997 * io/fcntl.h: Likewise.
10998 * io/ftw.h: Likewise.
10999 * io/sys/poll.h: Likewise.
11000 * io/sys/stat.h: Likewise.
11001 * io/sys/statfs.h: Likewise.
11002 * io/sys/statvfs.h: Likewise.
11003 * io/utime.h: Likewise.
11004 * libio/bits/stdio.h: Likewise.
11005 * libio/bits/stdio2.h: Likewise.
11006 * libio/libio.h: Likewise.
11007 * libio/libioP.h: Likewise.
11008 * libio/stdio.h: Likewise.
11009 * locale/lc-ctype.c: Likewise.
11010 * locale/locale.h: Likewise.
11011 * login/utmp.h: Likewise.
11012 * malloc/arena.c: Likewise.
11013 * malloc/malloc.c: Likewise.
11014 * malloc/malloc.h: Likewise.
11015 * malloc/mcheck.c: Likewise.
11016 * malloc/mtrace.c: Likewise.
11017 * math/bits/mathcalls.h: Likewise.
11018 * math/fenv.h: Likewise.
11019 * math/math_private.h: Likewise.
11020 * misc/bits/error.h: Likewise.
11021 * misc/bits/syslog.h: Likewise.
11022 * misc/err.h: Likewise.
11023 * misc/error.h: Likewise.
11024 * misc/fstab.h: Likewise.
11025 * misc/mntent.h: Likewise.
11026 * misc/regexp.h: Likewise.
11027 * misc/search.h: Likewise.
11028 * misc/sgtty.h: Likewise.
11029 * misc/sys/mman.h: Likewise.
11030 * misc/sys/syslog.h: Likewise.
11031 * misc/sys/uio.h: Likewise.
11032 * misc/sys/xattr.h: Likewise.
11033 * misc/ttyent.h: Likewise.
11034 * nis/rpcsvc/ypclnt.h: Likewise.
11035 * nss/nss.h: Likewise.
11036 * posix/bits/unistd.h: Likewise.
11037 * posix/fnmatch.h: Likewise.
11038 * posix/glob.h: Likewise.
11039 * posix/sched.h: Likewise.
11040 * posix/spawn.h: Likewise.
11041 * posix/sys/wait.h: Likewise.
11042 * posix/unistd.h: Likewise.
11043 * posix/wordexp.h: Likewise.
11044 * pwd/pwd.h: Likewise.
11045 * resolv/netdb.h: Likewise.
11046 * resource/sys/resource.h: Likewise.
11047 * rt/aio.h: Likewise.
11048 * rt/bits/mqueue2.h: Likewise.
11049 * rt/mqueue.h: Likewise.
11050 * shadow/shadow.h: Likewise.
11051 * signal/signal.h: Likewise.
11052 * socket/send.c: Likewise.
11053 * socket/sendto.c: Likewise.
11054 * socket/sys/socket.h: Likewise.
11055 * stdio-common/printf.h: Likewise.
11056 * stdlib/bits/stdlib.h: Likewise.
11057 * stdlib/fmtmsg.h: Likewise.
11058 * stdlib/monetary.h: Likewise.
11059 * stdlib/stdlib.h: Likewise.
11060 * stdlib/ucontext.h: Likewise.
11061 * streams/stropts.h: Likewise.
11062 * string/argz.h: Likewise.
11063 * string/bits/string2.h: Likewise.
11064 * string/string.h: Likewise.
11065 * string/strings.h: Likewise.
11066 * sunrpc/rpc/auth.h: Likewise.
11067 * sunrpc/rpc/auth_des.h: Likewise.
11068 * sunrpc/rpc/clnt.h: Likewise.
11069 * sunrpc/rpc/netdb.h: Likewise.
11070 * sunrpc/rpc/pmap_clnt.h: Likewise.
11071 * sunrpc/rpc/xdr.h: Likewise.
11072 * sysdeps/generic/inttypes.h: Likewise.
11073 * sysdeps/generic/net/if.h: Likewise.
11074 * sysdeps/generic/sys/swap.h: Likewise.
11075 * sysdeps/gnu/net/if.h: Likewise.
11076 * sysdeps/gnu/utmpx.h: Likewise.
11077 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11078 * sysdeps/i386/i486/bits/string.h: Likewise.
11079 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11080 * sysdeps/s390/bits/string.h: Likewise.
11081 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11082 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11083 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11084 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11085 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11086 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11087 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11088 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11089 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11090 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11091 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11092 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11093 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11094 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11095 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11096 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11097 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11098 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11099 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11100 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11101 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11102 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11103 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11104 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11105 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11106 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11107 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11108 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11109 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11110 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11111 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11112 * sysvipc/sys/ipc.h: Likewise.
11113 * sysvipc/sys/msg.h: Likewise.
11114 * sysvipc/sys/sem.h: Likewise.
11115 * sysvipc/sys/shm.h: Likewise.
11116 * termios/termios.h: Likewise.
11117 * time/sys/time.h: Likewise.
11118 * time/time.h: Likewise.
11119 * wcsmbs/bits/wchar2.h: Likewise.
11120 * wcsmbs/uchar.h: Likewise.
11121 * wcsmbs/wchar.h: Likewise.
11122 * wctype/wctype.h: Likewise.
11123
0269750c
UD
11124 [BZ #13551]
11125 * Makeconfig: Remove all but ELF support including AIX support.
11126 * Makerules: Likewise.
11127 * config.h.in: Likewise.
11128 * config.make.in: Likewise.
11129 * configure: Likewise.
11130 * configure.in: Likewise.
11131 * csu/Makefile: Likewise.
11132 * csu/version.c: Likewise.
11133 * debug/Makefile: Likewise.
11134 * dlfcn/Makefile: Likewise.
11135 * elf/Makefile: Likewise.
11136 * extra-lib.mk: Likewise.
11137 * iconv/Makefile: Likewise.
11138 * include/libc-symbols.h: Likewise.
11139 * include/shlib-compat.h: Likewise.
11140 * resolv/Makefile: Likewise.
11141 * resolv/res_libc.c: Likewise.
11142 * rt/Makefile: Likewise.
11143 * sysdeps/i386/asm-syntax.h: Likewise.
11144 * sysdeps/i386/sysdep.h: Likewise.
11145 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11146 * sysdeps/mach/sysdep.h: Likewise.
11147 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11148 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11149 * sysdeps/s390/asm-syntax.h: Likewise.
11150 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11151 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11152 * sysdeps/sh/sysdep.h: Likewise.
11153 * sysdeps/unix/sparc/sysdep.h: Likewise.
11154 * sysdeps/wordsize-32/divdi3.c: Likewise.
11155 * sysdeps/x86_64/sysdep.h: Likewise.
11156
00bbd29b
UD
11157 * argp/Versions: Remove _argp_unlock_xxx.
11158
11159 [BZ #13559]
11160 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11161 * abilist/libBrokenLocale.abilist: Likewise.
11162 * abilist/libanl.abilist: Likewise.
11163 * abilist/libc.abilist: Likewise.
11164 * abilist/libcrypt.abilist: Likewise.
11165 * abilist/libdl.abilist: Likewise.
11166 * abilist/libm.abilist: Likewise.
11167 * abilist/libnsl.abilist: Likewise.
11168 * abilist/libpthread.abilist: Likewise.
11169 * abilist/libresolv.abilist: Likewise.
11170 * abilist/librt.abilist: Likewise.
11171 * abilist/libthread_db.abilist: Likewise.
11172 * abilist/libutil.abilist: Likewise.
11173 * abilist/libnss_db.abilist: New file.
11174
11175 * scripts/abilist.awk: Add support for indirect functions.
11176
a2693a0e
UD
11177 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11178
3f05895f
UD
11179 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11180
ecb6fb48
UD
11181 * shlib-versions: Remove entries for ports architectures.
11182
664f8cb9
UD
11183 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11184 files in ports.
11185 * elf/stackguard-macros.h: Remove support for IA-64.
11186 * elf/tst-auditmod1.c: Likewise.
11187 * sysdeps/generic/ldsodefs.h: Likewise.
11188
7ae81d88
UD
11189 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11190 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11191 configure files.
11192
bdeba135
UD
11193 [BZ #13552]
11194 * configure.in: Remove --enable-omitfp support.
11195 * FAQ.in: Adjust.
11196 * config.make.in: Likewise.
11197 * Makeconfig: Likewise.
11198 * manual/install.texi: Likewise.
11199
d75a0a62
UD
11200 In case anyone cares, the IA-64 architecture could move to ports.
11201 * sysdeps/ia64/*: Removed.
11202 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11203 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11204
dcc9756b
UD
11205 [BZ #13555]
11206 * configure.in: Remove entries for unsupported architectures.
11207
d3761ebc 11208 [BZ #13533]
9954432e
UD
11209 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11210 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11211 routines.
11212 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11213 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11214 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11215 fall back to using wcrtomb.
11216 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11217 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11218 renaming.
11219 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11220 * wcsmbs/tst-c16c32-1.c: New file.
11221
11222 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11223 local variable.
11224
c3a87236
UD
11225 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11226
28926a1b
UD
11227 * elf/tst-unique3.cc: Add explicit declaration of gets.
11228 * elf/tst-unique3lib.cc: Likewise.
11229 * elf/tst-unique3lib2.cc: Likewise.
11230 * elf/tst-unique4.cc: Likewise.
11231
df78418a
UD
11232 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11233
8ecd6b2a
JM
112342012-01-06 Joseph Myers <joseph@codesourcery.com>
11235
11236 [BZ #13566]
11237 * assert/assert.h (static_assert): Don't define for C++.
11238 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11239 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11240
9f115170
UD
112412012-01-03 Ulrich Drepper <drepper@gmail.com>
11242
5e0d0300
UD
11243 * iconv/loop.c (single loop): Fix assertion in storing of
11244 remaining bytes.
11245
9f115170
UD
11246 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11247
81fb02b0
UD
112482012-01-01 Ulrich Drepper <drepper@gmail.com>
11249
11250 * posix/getconf.c: Update copyright year.
11251 * nss/getent.c: Likewise.
a316c1f6 11252 * nss/makedb.c: Likewise.
81fb02b0
UD
11253 * iconv/iconvconfig.c: Likewise.
11254 * iconv/iconv_prog.c: Likewise.
11255 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11256 * elf/pldd.c: Likewise.
11257 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11258 * catgets/gencat.c: Likewise.
11259 * csu/version.c: Likewise.
11260 * elf/ldd.bash.in: Likewise.
11261 * elf/sprof.c (print_version): Likewise.
11262 * locale/programs/locale.c: Likewise.
11263 * locale/programs/localedef.c: Likewise.
a316c1f6 11264 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11265 * nscd/nscd.c (print_version): Likewise.
11266 * debug/xtrace.sh: Likewise.
11267 * malloc/memusage.sh: Likewise.
11268 * malloc/mtrace.pl: Likewise.
11269 * debug/catchsegv.sh: Likewise.
11270
2ba92745
JJ
112712011-12-30 Jakub Jelinek <jakub@redhat.com>
11272
11273 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11274 pure attribute.
11275
dadebdae
UD
112762011-12-24 Ulrich Drepper <drepper@gmail.com>
11277
d3761ebc 11278 [BZ #13533]
db6af3eb
UD
11279 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11280 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11281 transformations.
11282 * iconv/gconv_int.h: Likewise.
11283 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11284 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11285 from libc for GLIBC_2.16.
11286 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11287 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11288 * wcsmbs/uchar.h: Really define mbstate_t.
11289 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11290 * wcsmbs/c16rtomb.c: New file.
11291 * wcsmbs/mbrtoc16.c: New file.
11292 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11293 for C/POSIX locale.
11294 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11295 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11296
dadebdae
UD
11297 * wcsmbs/wchar.h: Add missing __restrict.
11298
67371b56
UD
112992011-12-23 Ulrich Drepper <drepper@gmail.com>
11300
74033a25
UD
11301 [BZ #13532]
11302 * time/Makefile (routines): Add timespec_get.
11303 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11304 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11305 timespec for ISO C11.
11306 * time/timespec_get.c: New file.
11307 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11308 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11309
380d7e87
UD
11310 [BZ #13531]
11311 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11312 * stdlib/stdlib.h: Declare aligned_alloc.
11313 * Versions.def: Add GLIBC_2.16 for libc.
11314 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11315
4e9e7a35
UD
11316 [BZ 13527]
11317 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11318 ISO C11.
11319
380d7e87 11320 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11321 code.
11322
03a71829
UD
11323 [BZ #13528]
11324 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11325
839e283e
UD
11326 [BZ #13529]
11327 * assert/assert.h (static_assert): Define.
11328
ce5294e2 11329 * version.h: Update for 2.16 development version.
90fa7312 11330
8d44e150 11331 [BZ #13526]
d7809905
UD
11332 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11333 _ISOC11_SOURCE.
11334
c0da14cd
UD
11335 * version.h (RELEASE): Bump for 2.15 release.
11336 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11337
530a3249
MP
11338 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11339 Patch by Marek Polacek <mpolacek@redhat.com>.
11340
67371b56
UD
11341 * bits/byteswap.h: Protect long long constants with __extension__.
11342 * sysdeps/i386/bits/byteswap.h: Likewise.
11343 * sysdeps/ia64/bits/byteswap.h: Likewise.
11344 * sysdeps/s390/bits/byteswap.h: Likewise.
11345 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11346
15db4de1
LD
113472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11348
11349 [BZ #13540]
bbe315ea
LD
11350 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11351 destination buffer.
15db4de1
LD
11352 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11353
2b2596b1
MP
113542011-12-23 Marek Polacek <polacek@redhat.com>
11355
11356 * elf/dl-addr.c (determine_info): Add inline keyword.
11357 * elf/tst-auditmod4b.c (check_avx): Likewise.
11358 * elf/tst-auditmod6b.c (check_avx): Likewise.
11359 * elf/tst-auditmod6c.c (check_avx): Likewise.
11360 * elf/tst-auditmod7b.c (check_avx): Likewise.
11361
70c6c246
UD
113622011-12-23 Ulrich Drepper <drepper@gmail.com>
11363
11364 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11365 !__SSE_MATH__.
11366
c044cf14
LD
113672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11368
15db4de1 11369 [BZ #13540]
c044cf14
LD
11370 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11371 processing for last bytes.
11372
6b13d9d9
BH
113732011-08-06 Bruno Haible <bruno@clisp.org>
11374
d455f537
BH
11375 [BZ #13061]
11376 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11377 U+0385, not to U+1FEE.
11378
6b13d9d9
BH
11379 [BZ #13062]
11380 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11381 entry for U+00A5 U+0301.
11382
db910efd
UD
113832011-12-22 Ulrich Drepper <drepper@gmail.com>
11384
27deeafc
UD
11385 [BZ #13166]
11386 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11387 buffer for the output is too small.
11388
aed9d171
UD
11389 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11390 optimization.
11391
db910efd
UD
11392 [BZ #13185]
11393 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11394 SSE flags if possible.
11395
2bd779ae
LD
113962011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11397
e7f9dac3 11398 [BZ #13540]
2bd779ae
LD
11399 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11400 processing for last bytes.
11401
154bfc16
JM
114022011-12-22 Joseph Myers <joseph@codesourcery.com>
11403
11404 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11405 (syscall-list-default-options, syscall-list-default-condition)
11406 (syscall-list-includes): Define.
11407 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11408 list of ABIs and options and #if conditions for each ABI. Do not
11409 handle common syscalls between ABIs specially.
11410 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11411 Remove.
11412 (syscall-list-variants, syscall-list-32bit-options)
11413 (syscall-list-32bit-condition, syscall-list-64bit-options)
11414 (syscall-list-64bit-condition): Define.
11415 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11416 (syscall-list-variants, syscall-list-32bit-options)
11417 (syscall-list-32bit-condition, syscall-list-64bit-options)
11418 (syscall-list-64bit-condition): Define.
11419 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11420 Remove.
11421 (syscall-list-variants, syscall-list-32bit-options)
11422 (syscall-list-32bit-condition, syscall-list-64bit-options)
11423 (syscall-list-64bit-condition): Define.
11424 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11425 Remove.
11426 (syscall-list-variants, syscall-list-32bit-options)
11427 (syscall-list-32bit-condition, syscall-list-64bit-options)
11428 (syscall-list-64bit-condition): Define.
11429
21eaf3a5
UD
114302011-12-22 Ulrich Drepper <drepper@gmail.com>
11431
16c6f992
UD
11432 * locale/iso-639.def: Add brx entry.
11433
41043168
UD
11434 [BZ #13328]
11435 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11436 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11437
21eaf3a5
UD
11438 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11439 __feraiseexcept_renamed.
11440
e3a851a2
UD
114412011-12-21 Ulrich Drepper <drepper@gmail.com>
11442
4920765e
UD
11443 [BZ #13538]
11444 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11445 EPOLLET with unsigned values.
11446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11447 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11448
e3a851a2
UD
11449 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11450 to large cancellation.
11451 * math/s_cacoshf.c: Likewise.
11452 * math/s_cacoshl.c: Likewise.
11453
b27e24b8
RK
114542011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11455
11456 [BZ #13305]
aebefeee 11457 [BZ #12786]
b27e24b8
RK
11458 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11459 * math/s_cacoshf.c: Likewise.
11460 * math/s_cacoshl.c: Likewise.
11461
ee190f67
UD
114622011-12-21 Ulrich Drepper <drepper@gmail.com>
11463
11464 [BZ #13439]
11465 * iconv/gconv.h: Define __GCONV_SWAP.
11466 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11467 * iconvdata/utf-16.c: Likewise.
11468 * iconvdata/utf-32.c: Likewise.
11469
707f25df
AS
114702011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11471
11472 [BZ #13524]
11473 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11474 numerator after shifting it by one limb.
11475
d2daaa1e
RÁE
114762011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11477
11478 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11479 under [__USE_EXTERN_INLINES].
11480
a4647e72
UD
114812011-12-17 Ulrich Drepper <drepper@gmail.com>
11482
11483 [BZ #13446]
11484 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11485
f0b264f1
AZ
114862011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11487
11488 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11489 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11490 optimized code.
11491 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11492 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11493 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11494 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11495 for strncasecmp/strncasecmp_l compilation.
11496 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11497 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11498
8ef4f244
MP
114992011-12-08 Marek Polacek <mpolacek@redhat.com>
11500
11501 [BZ #13484]
11502 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11503 of __asm__.
11504
97ac2654
UD
115052011-12-17 Ulrich Drepper <drepper@gmail.com>
11506
11507 [BZ #13506]
11508 * time/tzfile.c (__tzfile_read): Check values from file header.
11509
91d2a845
WS
115102011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11511
11512 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11513 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11514 * powerpc/powerpc32/dl-start.S: Likewise.
11515 * powerpc/powerpc32/elf/start.S: Likewise.
11516 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11517 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11518 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11519 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11520 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11521 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11522 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11523 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11524 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11525 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11526 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11527 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11528 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11529 * powerpc/powerpc32/memset.S: Likewise.
11530 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11531 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11532 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11533 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11534 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11535 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11536 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11537 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11538 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11539 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11540 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11541 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11542 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11543
a1267ba1
AZ
115442011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11545
11546 * math/libm-test.inc: Added more nearbyint tests.
11547 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11548 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11549 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11550 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11551
ad8ac1bd
RL
115522011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11553
11554 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11555 FD_CLOEXEC.
11556
1d3e4b61
UD
115572011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11558
11559 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11560 Add wcscpy-ssse3 wcscpy-c.
11561 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11562 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11563 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11564 * sysdeps/x86_64/wcschr.S: New file.
11565 * sysdeps/x86_64/wcsrchr.S: New file.
11566 * string/test-strcmp.c: Remove checking of wcscmp function for
11567 wrong alignments.
11568 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11569 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11570 wcsrchr-sse2 wcsrchr-c.
11571 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11572 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11573 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11574 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11575 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11576 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11577 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11578 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11579 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11580 * wcsmbc/wcschr.c (WCSCHR): New macro.
11581
5b330a2d
UD
115822011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11583
11584 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11585 * wcsmbs/test-wcsrchr.c: New file.
11586 * string/test-strrchr.c: Add wcsrchr support.
11587 (WIDE): New macro.
11588 * wcsmbs/test-wcscpy.c: New file.
11589 * string/test-strcpy.c: Add wcscpy support.
11590 (WIDE): New macro.
26428b7c 11591
f039c043
UD
115922011-12-10 Ulrich Drepper <drepper@gmail.com>
11593
11594 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11595 the inner loop.
11596
850fb039
AS
115972011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11598
11599 [BZ #13472]
11600 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11601
4efbd5cb
UD
116022011-12-04 Ulrich Drepper <drepper@gmail.com>
11603
52ff5dd0 11604 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11605 Minor optimizations.
52ff5dd0 11606
4efbd5cb
UD
11607 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11608 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11609 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11610
8a426e12
UD
116112011-12-03 Ulrich Drepper <drepper@gmail.com>
11612
aff2453d
UD
11613 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11614 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11615 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11616 for gcc to avoid warnings.
11617 * inet/Makefile (tests): Add tst-checks.
11618 * inet/tst-checks.c: New file.
11619
11620 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11621 warning.
11622
11623 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11624 __wmemcmp_sse2.
11625
11626 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11627 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11628
8a426e12
UD
11629 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11630
9bea3473
UD
116312011-12-02 Ulrich Drepper <drepper@gmail.com>
11632
3a965496
UD
11633 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11634 problem.
11635
9bea3473
UD
11636 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11637
f101631b
UD
116382011-11-29 Joseph Myers <joseph@codesourcery.com>
11639
11640 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11641 conditional on GCC version.
11642 (__arch_compare_and_exchange_val_8_acq)
11643 (__arch_compare_and_exchange_val_16_acq)
11644 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11645 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11646 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11647
a98275aa
UD
116482011-12-02 Joseph Myers <joseph@codesourcery.com>
11649
11650 * sysdeps/sh/backtrace.c: New file.
11651
d4cc29a2
AS
116522011-12-02 Andreas Schwab <schwab@redhat.com>
11653
11654 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11655 parenthesis.
11656
6257af2d
AS
116572011-12-01 Andreas Schwab <schwab@redhat.com>
11658
11659 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11660 falling back to utime.
11661
b5f44c1a
AS
116622011-11-30 Andreas Schwab <schwab@redhat.com>
11663
11664 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11665 expectations for float.
11666
f3a6cc0a
AS
116672011-11-29 Andreas Schwab <schwab@redhat.com>
11668
11669 * locale/weight.h (findidx): Add parameter len.
11670 * locale/weightwc.h (findidx): Likewise.
11671 * posix/fnmatch_loop.c (FCT): Adjust caller.
11672 * posix/regcomp.c (build_equiv_class): Likewise.
11673 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11674 * posix/regexec.c (check_node_accept_bytes): Likewise.
11675 * string/strcoll_l.c (STRCOLL): Likewise.
11676 * string/strxfrm_l.c (STRXFRM): Likewise.
11677
9d65ea3a
UD
116782011-11-17 Ulrich Drepper <drepper@gmail.com>
11679
11680 * Makefile.in: Remove CVSOPT handling.
11681 * configure.in: Remove use of AC_REVISION.
11682 * iconvdata/Makefile (distribute): No need to filter out CVS.
11683 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11684 handling.
11685
5583a086
AS
116862011-11-16 Andreas Schwab <schwab@redhat.com>
11687
11688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11689 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11690 [USE_AS_STRNCASECMP_L]: Likewise.
11691 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11692 NO_TLS_DIRECT_SEG_REFS.
11693 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11694 Fix argument offsets for non-PIC.
11695 [USE_AS_STRNCASECMP_L]: Likewise.
11696 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11697 NO_TLS_DIRECT_SEG_REFS.
11698
d62a8200
UD
116992011-11-15 Ulrich Drepper <drepper@gmail.com>
11700
9d65ea3a 11701 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11702 O_CLOEXEC.
11703 * locale/loadlocale.c (_nl_load_locale): Likewise.
11704
09f93bd3
AS
117052011-11-15 Andreas Schwab <schwab@redhat.com>
11706
446514f9
AS
11707 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11708 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11709 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11710 (SYSCALL_GETTIME): Set errno on error.
11711
09f93bd3
AS
11712 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11713 count references to noai6ai_cached.
11714
312be3f9
UD
117152011-11-15 Ulrich Drepper <drepper@gmail.com>
11716
11717 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11718
11719 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11720 FD_CLOEXEC for /proc/self/maps.
11721
11722 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11723 FD_CLOEXEC for /proc/meminfo.
11724
11725 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11726 gai.conf.
11727
11728 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11729 FD_CLOEXEC for given file.
11730
11731 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11732
11733 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11734 FD_CLOEXEC for /etc/hosts.
11735 (_gethtent): Likewise.
11736
11737 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11738
11739 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11740 cancellation and set FD_CLOEXEC for /etc/netgroup.
11741
11742 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11743 reading /etc/publickey.
11744
11745 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11746 allow cancellation when reading /etc/group.
11747
11748 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11749 cancellation.
11750 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11751
11752 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11753 when using data file.
11754
11755 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11756
11757 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11758 (write_nis_obj): Use "c" and "e" in fopen.
11759
11760 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11761
11762 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11763
11764 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11765
11766 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11767
11768 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11769 locale.alias.
11770
11771 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11772
11773 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11774
11775 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11776
11777 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11778 file parsing and set FD_CLOEXEC.
11779
82af0fa8
UD
117802011-11-14 Ulrich Drepper <drepper@gmail.com>
11781
11782 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11783
a5fb313c
AS
117842011-11-14 Andreas Schwab <schwab@redhat.com>
11785
11786 * malloc/arena.c (arena_get2): Don't call reused_arena when
11787 _int_new_arena failed.
11788
6abf3465
UD
117892011-11-14 Ulrich Drepper <drepper@gmail.com>
11790
11791 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11792 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11793 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11794 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11795 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11797 to compile strcasecmp and strncasecmp.
11798 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11799 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11800
11801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11802
76e3966e
UD
118032011-11-13 Ulrich Drepper <drepper@gmail.com>
11804
11805 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11806 locale-defines.sym to gen-as-const-headers.
11807 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11808 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11810 to compile strcasecmp and strncasecmp.
11811 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11812 strcasecmp_l and strncasecmp_l.
11813 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11814 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11815 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11816 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11817 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11818 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11819 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11820 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11821 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11822 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11823 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11824
ab26144e
UD
118252011-11-12 Ulrich Drepper <drepper@gmail.com>
11826
7edb22ef
UD
11827 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11828 result of SYSDEP_GETTIME_CPU to retval.
11829 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11830 parameter list to macro. Remove trailing semicolon. Adjust users.
11831
9694fc44
UD
11832 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11833 variable.
11834
8ad89ef8
UD
11835 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11836 mantissa words.
11837 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11838
0c822ef9
UD
11839 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11840 from unused variable.
11841
874e0564
UD
11842 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11843 DWARF definitions.
11844 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11845 for assembling.
11846
3a2edc79
UD
11847 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11848 over namespaces.
11849
f3c2577f
UD
11850 * sunrpc/rpc_prot.c (rejected): Fix case value.
11851
294ce126
UD
11852 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11853 unsigned long long int to avoid warnings in shift.
11854
5e2b63c6
UD
11855 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11856 of use of trans.
11857 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11858 variable tmp.
11859
e7f4b08e
UD
11860 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11861 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11862 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11863
ab26144e
UD
11864 * nis/nis_table.c (nis_list): Use variable of correct type for
11865 result of __follow_path call.
11866
8a6d5255
AZ
118672011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11868
11869 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11870 of math functions ceil, trunc, floor, round, and sqrt, when
11871 avaliable on the platform.
11872 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11873 name clash.
11874 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11875 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11876 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11877
aaddc98c
MP
118782011-10-30 Marek Polacek <mpolacek@redhat.com>
11879
11880 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11881 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11882
95b7042b
RM
118832011-11-11 Roland McGrath <roland@hack.frob.com>
11884
11885 * include/unistd.h: Fix __readlink return type.
11886 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11887
57769839
UD
118882011-11-11 Ulrich Drepper <drepper@gmail.com>
11889
11890 * stdlib/ucontext.h: Undo last change for makecontext.
11891
edc5984d
AS
118922011-11-11 Andreas Schwab <schwab@redhat.com>
11893
98591e58
AS
11894 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11895
edc5984d
AS
11896 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11897 * setjmp/setjmp.h: Mark functions as non-leaf.
11898 * setjmp/bits/setjmp2.h: Likewise.
11899 * stdlib/ucontext.h: Likewise.
11900
77cdc054
AS
119012011-11-10 Andreas Schwab <schwab@redhat.com>
11902
11903 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11904 (reused_arena): Don't check arena limit.
11905 (arena_get2): Atomically check arena limit.
11906
fe72eebd
UD
119072011-11-08 Ulrich Drepper <drepper@gmail.com>
11908
5f078c32
UD
11909 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11910 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11911
fe72eebd
UD
11912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11913 instructions.
11914
ae1bc2fa
AS
119152011-11-07 Andreas Schwab <schwab@redhat.com>
11916
7583a88d
AS
11917 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11918 handler when locking.
11919
ae1bc2fa
AS
11920 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11921 Fix size of allocated buffer.
11922
10fb0bfa
AS
119232011-11-04 Andreas Schwab <schwab@redhat.com>
11924
998832a4
AS
11925 [BZ #10103]
11926 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11927 declarations for long double functions.
11928 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11929
10fb0bfa
AS
11930 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11931
3d7ba52b
AS
119322011-11-03 Andreas Schwab <schwab@redhat.com>
11933
a9ae54a1
AS
11934 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11935 installed.
11936
3d7ba52b
AS
11937 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11938 is disabled.
11939
bc8db248
ST
119402011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11941
11942 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11943
45b96dd6
AS
119442011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11945
647776f6
AS
11946 * include/alloca.h (stackinfo_alloca_round): Define.
11947 (extend_alloca): Use it.
11948 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11949 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11950 here.
11951
d91a8b93
AS
11952 * scripts/check-local-headers.sh: Ignore libaudit.h.
11953
45b96dd6
AS
11954 * nscd/Makefile (extra-objs): Make recursively expanded.
11955
432d41ce
UD
119562011-11-01 Ulrich Drepper <drepper@gmail.com>
11957
34372fc6
UD
11958 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11959 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11960
fadb59f8
UD
11961 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11962 * posix/tst-rfc3484-2.c: Likewise.
11963 * posix/tst-rfc3484-3.c: Likewise.
11964
78239589
UD
11965 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11966 process_vm_writev.
11967 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11968 process_vm_writev.
11969 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11970 process_vm_writev from libc using GLIBC_2.15 version.
11971
432d41ce
UD
11972 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11973
02f9c6cf
PP
119742011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11975
11976 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11977 stack usage.
11978
3a2c0242
UD
119792011-10-31 Ulrich Drepper <drepper@gmail.com>
11980
f4ec4833
UD
11981 [BZ #13367]
11982 * nss/getent.c (initgroups_keys): Show error message in case no group
11983 names are given.
11984
3a2c0242
UD
11985 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11986 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11987 __bump_nl_timestamp.
11988 * nscd/connections (nscd_init): When host database is served open
11989 netlink socket and request notification about configuration changes.
11990 (main_loop_poll): Track netlink file descriptor and bump timestamp
11991 in case data becomes available.
11992 (main_loop_epoll): Likewise.
11993 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11994 (database_pers_head): Add extra_data fileds.
11995 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11996 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11997 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11998 Adjust caller.
11999 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12000 in6ai data, call __free_in6ai.
12001 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12002 Add -DHAVE_NETLINK.
12003 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12004 interface information. Reuse previous data if netlink timestamp
12005 is not changed.
12006 (__bump_nl_timestamp): New function.
12007 (__free_in6ai): New function.
12008
636064eb
UD
120092011-10-30 Ulrich Drepper <drepper@gmail.com>
12010
12011 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12012 close_not_cancel_no_status here.
12013 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12014
9beb2334
UD
120152011-10-29 Ulrich Drepper <drepper@gmail.com>
12016
6ef76f3b
UD
12017 [BZ #13276]
12018 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12019 return value.
12020
0ffc4f3e 12021 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12022 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12023 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12024
cb95113e
UD
120252011-07-03 Andreas Jaeger <aj@suse.de>
12026
12027 [BZ #10709]
12028 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12029 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12030 * math/libm-test.inc (sin_test): Add test case.
12031
a1b560ff
UD
120322011-10-29 Ulrich Drepper <drepper@gmail.com>
12033
c9aaface
UD
12034 [BZ #13337]
12035 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12036 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12037
d272e7f1
UD
12038 * elf/chroot_canon.c (chroot_canon): Cleanups.
12039
1bc33071
UD
12040 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12041
1760874d
TJ
12042 [BZ #13335]
12043 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12044 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12045
51d91b18
UD
12046 * string/test-strchr.c: Make usable for strchrnul testing.
12047 * string/test-strchrnul.c: New file.
12048 * string/Makefile (strop-tests): Add strchrnul.
12049
a1b560ff 12050 * po/it.po: Update from translation team.
b611fb81 12051 * po/es.po: Likewise.
a1b560ff 12052
a5b81e1f
UD
120532011-10-28 Ulrich Drepper <drepper@gmail.com>
12054
fd52bc6d
UD
12055 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12056 the three constants needed as parameters. Drop the others.
12057 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12058 __m128i_strloadu_tolower.
52e4b9eb
UD
12059 Create and initialize variable zero and use it in all the places
12060 where _mm_setzero_si128 was used.
fd52bc6d 12061
a5b81e1f
UD
12062 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12063 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12064 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12065 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12066 anymore.
12067 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12068 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12069 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12070 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12071 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12072 __mpranred, __mptan.
12073 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12074 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12075 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12076 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12077 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12078 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12079 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12080 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12081 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12082
b4343346
AS
120832011-10-28 Andreas Schwab <schwab@redhat.com>
12084
0c92d8a8
AS
12085 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12086 redefine if SHARED.
12087 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12088
b4343346
AS
12089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12090 wide char related routines to wcsmbs subdir.
12091
3871f58f
AS
120922011-10-27 Andreas Schwab <schwab@redhat.com>
12093
12094 [BZ #13344]
12095 * misc/sys/cdefs.h (__THROWNL): Define.
12096 * posix/unistd.h: Use __THREADNL instead of __THREAD
12097 for memory synchronization functions.
12098
94d44d9f
RM
120992011-10-26 Roland McGrath <roland@hack.frob.com>
12100
21b64b15 12101 [BZ #13349]
94d44d9f
RM
12102 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12103 doesn't exist.
12104 * manual/stdio.texi (Obstack Streams): Node removed.
12105
f6ce9294
AS
121062011-10-26 Andreas Schwab <schwab@redhat.com>
12107
80479147
AS
12108 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12109 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12110 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12111
f6ce9294
AS
12112 * math/math_private.h (math_force_eval): Allow non-addressable
12113 arguments.
12114 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12115
618280a1
UD
121162011-10-25 Ulrich Drepper <drepper@gmail.com>
12117
e0016b11
UD
12118 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12119 file is not needed.
12120
12121 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12122 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12123 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12124 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12125 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12126 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12127 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12128 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12129 Add AVX variants.
12130 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12131 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12132 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12133 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12134 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12135 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12136 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12137 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12138 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12139 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12140 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12141 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12142 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12143 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12144 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12145 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12146 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12147 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12148 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12149
12150 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12151 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12152
618280a1
UD
12153 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12154 place. Use VEX encoding when compiling for AVX.
12155
37822576
AS
121562011-10-25 Andreas Schwab <schwab@redhat.com>
12157
1f1e1947
AS
12158 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12159 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12160
37822576
AS
12161 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12162
31ea014d
UD
121632011-10-25 Ulrich Drepper <drepper@gmail.com>
12164
d7826aa1 12165 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12166 useless if() expression.
d7826aa1
UD
12167 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12168 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12169 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12170 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12171 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12173 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12174 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12175 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12176 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12177 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12178 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12179 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12180 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12181 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12182 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12183 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12185 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12186
31ea014d
UD
12187 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12188
16437fec
AS
121892011-10-25 Andreas Schwab <schwab@redhat.com>
12190
12191 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12192 condition.
12193 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12194
31d3cc00
UD
121952011-10-25 Ulrich Drepper <drepper@gmail.com>
12196
12197 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12198 .text section. Avoid duplicate constants.
12199 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12201 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12203 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12207 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12208 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12209 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12210 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12211 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12212 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12213 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12214 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12215 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12216 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12217 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12219 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12220 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12221 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12222 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12223 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12224 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12225 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12226 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12227 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12228 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12229 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12230 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12231 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12232 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12233 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12234 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12235 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12236 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12237 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12238 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12239 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12240 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12241 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12242 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12243 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12244
58985aa9
UD
122452011-10-24 Ulrich Drepper <drepper@gmail.com>
12246
202c9deb
UD
12247 * sysdeps/x86_64/dla.h: Move to ...
12248 * sysdeps/x86_64/fpu/dla.h: ...here.
12249 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12250 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12251
af968f62
UD
12252 * config.make.in: Add have-mfma4 entry.
12253 * configure.in: Substitute libc_cv_cc_fma4.
12254 * math/Makefile (dbl-only-routines): Add sincostab.
12255 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12256 Use __sincostab not sincos.
12257 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12258 name is a macro.
12259 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12262 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12263 using __copysign.
12264 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12265 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12266 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12267 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12268 and __inv.
12269 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12270 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12271 __copysign.
12272 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12273 define aliases when function name is a macro.
12274 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12275 sysdeps/ieee754/dbl-64/sincos.tbl.
12276 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12277 fma4-enabled routines.
12278 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12279 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12280 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12281 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12282 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12283 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12285 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12286 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12287 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12288 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12289 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12290 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12291 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12292 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12293 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12294 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12295 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12296 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12297 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12298 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12299 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12300 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12301 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12302 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12303 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12304 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12305 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12306 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12307 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12308
58985aa9
UD
12309 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12310 rename.
12311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12319
a201fbcf
AS
123202011-10-24 Andreas Schwab <schwab@redhat.com>
12321
12322 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12323
fc2ee42a
LD
123242011-10-23 Ulrich Drepper <drepper@gmail.com>
12325
bb3129bd
UD
12326 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12327
0275fff8
UD
12328 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12329 prediction.
12330 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12331
2fa2ae85
UD
12332 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12333 Remove unused variable magic_bits.
12334 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12335
fc2ee42a
LD
12336 * string/strnlen.c: Define and use STRNLEN macro.
12337 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12338 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12339 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12340 * wcsmbs/wcslen.c: Define and use WCSLEN.
12341 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12342 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12343 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12344 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12345 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12346 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12347 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12348
ce7dd29f
LD
123492011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12350
12351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12352 strnlen-sse2-no-bsf.
12353 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12354 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12355 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12356 Add strnlen support.
12357 (USE_AS_STRNLEN): New macro.
12358 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12359 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12360 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12361 * sysdeps/x86_64/wcslen.S: New file.
12362
979c70a3
MZ
123632011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12364
12365 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12366 XMM-moves are used for copying on small sizes.
12367
2d09f82f
LD
123682011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12369
12370 * wcsmbs/Makefile (strop-tests): Add wcschr.
12371 * wcsmbs/test-wcschr.c: New file.
12372 * string/test-strchr.c: Update.
12373 Add wcschr support.
12374 (WIDE): New macro.
12375
619fccca
LD
123762011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12377
2d09f82f 12378 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12379 * wcsmbs/test-wcslen.c: New file.
12380 * string/test-strlen.c: Update.
12381 Add wcslen support.
12382 (WIDE): New macro.
12383
09f699ea
UD
123842011-10-23 Ulrich Drepper <drepper@gmail.com>
12385
12386 * po/it.po: Update from translation team.
12387
95584d3b
LD
123882011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12389
12390 * sysdeps/x86_64/wcscmp.S: Update.
12391 Fix wrong comparison semantics.
12392 wcscmp shall use signed comparison not unsigned.
12393 Don't use substraction to avoid overflow bug.
12394 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12395 * wcsmbc/wcscmp.c: Likewise.
12396 * string/test-strcmp.c: Likewise.
12397 Add new tests to check cases with negative values.
12398
c8b3296b
UD
123992011-10-23 Ulrich Drepper <drepper@gmail.com>
12400
12401 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12402 * sysdeps/x86_64/dla.h: ...here. New file.
12403 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12412
246ad57a
AS
124132011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12414
12415 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12416 __ynl_finite aliases.
12417
a1a87169
UD
124182011-10-22 Ulrich Drepper <drepper@gmail.com>
12419
0d355eb7
UD
12420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12421
a1a87169
UD
12422 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12423 define DLA_FMA.
12424 [DLA_FMA] (EMULV): Use DLA_FMA.
12425 [DLA_FMA] (MUL12): Use EMULV.
12426 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12427 that are not needed.
12428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12435
ee2aafe0
AS
124362011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12437
12438 * math/s_nan.c: Undef __nan.
12439 * math/s_nanf.c: Undef __nanf.
12440 * math/s_nanl.c: Undef __nanl.
12441 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12442 "math_private.h".
12443
bc62c2fb
UD
124442011-10-22 Ulrich Drepper <drepper@gmail.com>
12445
77425c63
UD
12446 * math/s_catan.c: Add branch predictions.
12447 * math/s_catanf.c: Likewise.
12448 * math/s_catanh.c: Likewise.
12449 * math/s_catanhf.c: Likewise.
12450 * math/s_catanhl.c: Likewise.
12451 * math/s_catanl.c: Likewise.
12452 * math/s_cexp.c: Likewise.
12453 * math/s_cexpf.c: Likewise.
12454 * math/s_cexpl.c: Likewise.
12455 * math/s_clog.c: Likewise.
12456 * math/s_clog10.c: Likewise.
12457 * math/s_clog10f.c: Likewise.
12458 * math/s_clog10l.c: Likewise.
12459 * math/s_clogf.c: Likewise.
12460 * math/s_clogl.c: Likewise.
12461 * math/s_csqrt.c: Likewise.
12462 * math/s_csqrtf.c: Likewise.
12463 * math/s_csqrtl.c: Likewise.
12464 * math/s_ctanf.c: Likewise.
12465 * math/s_ctanh.c: Likewise.
12466 * math/s_ctanhf.c: Likewise.
12467 * math/s_ctanhl.c: Likewise.
12468 * math/s_ctanl.c: Likewise.
12469
bc62c2fb
UD
12470 * math/math_private.h: Define __nan, __nanf, __nanl.
12471 * math/s_cacosh.c: Include <math_private.h>.
12472 * math/s_cacoshl.c: Likewise.
12473 * math/s_casinh.c: Likewise.
12474 * math/s_casinhf.c: Likewise.
12475 * math/s_casinhl.c: Likewise.
12476 * math/s_ccos.c: Rely entire on ccosh.
12477 * math/s_ccosf.c: Rely entire on ccoshf.
12478 * math/s_ccosl.c: Rely entirely on ccoshl.
12479 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12480 Remove tests for FE_INVALID.
12481 * math/s_ccoshf.c: Likewise.
12482 * math/s_ccoshl.c: Likewise.
12483 * math/s_csin.c: Likewise.
12484 * math/s_csinf.c: Likewise.
12485 * math/s_csinh.c Likewise.
12486 * math/s_csinhf.c: Likewise.
12487 * math/s_csinhl.c: Likewise.
12488 * math/s_csinl.c: Likewise.
12489 * math/s_ctan.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12491 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12492 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12493
8ec250a4
UD
124942011-10-21 Ulrich Drepper <drepper@gmail.com>
12495
c196fed8
UD
12496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12497 compilation problems.
12498
8ec250a4
UD
12499 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12500 __builtin_expect.
12501
8d4f46c6
UD
125022011-10-20 Ulrich Drepper <drepper@gmail.com>
12503
ed72b654
UD
12504 * sysdeps/i386/configure.in: Test for -mfma4 option.
12505 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12506 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12507 COMMON_CPUID_INDEX_80000001.
12508 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12509 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12510 use it if FMA3 is not supported.
12511 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12512
8d4f46c6
UD
12513 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12514 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12515
d45c60c2
AS
125162011-10-20 Andreas Schwab <schwab@redhat.com>
12517
12518 [BZ #12892]
12519 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12520 it would create a cycle with a link time dependency.
12521
d9a4d2ab
UD
125222011-10-19 Ulrich Drepper <drepper@gmail.com>
12523
855d1560
UD
12524 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12525 instruction.
12526 * string/Makefile (strop-tests): Add rawmemchr.
12527 * string/test-rawmemchr.c: New file.
12528
d9a4d2ab
UD
12529 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12531 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12532 when compiling str{,n}casecmp and when AVX is available. Hook up
12533 new optimized code in initializers.
12534
8f3b1ffe
AS
125352011-10-19 Andreas Schwab <schwab@redhat.com>
12536
12537 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12538 __feraiseexcept instead of feraiseexcept.
12539
d38f1dba
UD
125402011-10-18 Ulrich Drepper <drepper@gmail.com>
12541
d9a8d0ab
UD
12542 * math/math_private.h: Define defaults for libc_fetestexcept and
12543 libc_feupdateenv.
12544 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12545 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12546 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12547 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12548 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12549 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12550 libc_fetestexcept and libc_feupdateenv.
12551
4855e3dd
UD
12552 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12553 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12554 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12555 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12556 libc_feholdexcept_setround.
12557
581d30e3
UD
12558 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12559 Add s_nearbyint-c and s_nearbyintf-c.
12560 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12561 nearbyintf inlines.
12562 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12563 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12564 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12565 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12566
d38f1dba
UD
12567 * math/math_private.h: Define defaults for libc_fegetround,
12568 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12569 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12570 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12571 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12572 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12573 standard functions.
12574 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12575 Remove comments and hacks for old compiler versions.
12576 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12577 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12578 libc_feholdexceptl.
12579
caa6c9d8
AS
125802011-10-18 Andreas Schwab <schwab@redhat.com>
12581
12582 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12583 (__feraiseexcept_renamed): Add __NTH.
12584 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12585 namespace violations.
12586
97c066e6
UD
125872011-10-17 Ulrich Drepper <drepper@gmail.com>
12588
99ce7b04
UD
12589 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12590
1004d182
UD
12591 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12592
228a984d
UD
12593 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12594 recently added interfaces.
12595 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12596
c8553a6a
UD
12597 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12598 about macro parameter expansion.
12599
ed22dcf6
UD
12600 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12601 __NO_MATH_INLINES is defined. Cleanups.
12602
12603 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12604 and __floorf is target has SSE4.1.
12605 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12606 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12607 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12608 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12609
b171c137
UD
12610 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12611 name.
12612 (floorf): Likewise.
12613
97c066e6
UD
12614 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12615
629f62ef
AS
126162011-10-17 Andreas Schwab <schwab@redhat.com>
12617
49a43d80
AS
12618 * misc/sys/cdefs.h: Fix last change.
12619
629f62ef
AS
12620 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12621 database lookup.
12622
e453f6cd
UD
126232011-10-16 Ulrich Drepper <drepper@gmail.com>
12624
aa78043a
UD
12625 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12626
ad0f5cad
UD
12627 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12628 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12633 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12635 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12636 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12637 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12638 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12639 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12640 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12641 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12642 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12643 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12644 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12645 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12646 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12647 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12648 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12649
12650 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12651 ceil, ceilf, floor, floorf.
12652
12653 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12654 Perform IRELATIVE relocations last.
12655
e453f6cd
UD
12656 * elf/do-rel.h: Add another parameter nrelative, replacing the
12657 local variable with the same name. Change name of the function
12658 to end in Rel or Rela (uppercase).
12659 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12660 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12661 elf_dynamic_do_##reloc function.
12662
fd5bdc09
UD
126632011-10-15 Ulrich Drepper <drepper@gmail.com>
12664
79b195b5
UD
12665 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12666 is sufficient, at least on modern CPUs.
12667
d4a28569
UD
12668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12669
b61099b5
UD
12670 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12671 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12672
bcf01e6d
UD
12673 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12674 __expl_finite.
12675 * math/bits/math-finite.h: Add entries for exp.
12676 * math/e_expl.c: Add __*_finite alias.
12677 * sysdeps/i386/fpu/e_exp.S: Likewise.
12678 * sysdeps/i386/fpu/e_expf.S: Likewise.
12679 * sysdeps/i386/fpu/e_expl.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12681 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12685 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12686 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12687
ba1a0d59
UD
12688 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12689 is sufficient, at least on modern CPUs.
12690
fd5bdc09
UD
12691 * ctype/ctype-info.c (__ctype_init): Define.
12692 * include/ctype.h (__ctype_init): Declare.
12693 (__ctype_b_loc): The variable is always initialized.
12694 (__ctype_toupper_loc): Likewise.
12695 (__ctype_tolower_loc): Likewise.
12696 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12697 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12698
7872cfb0
AS
126992011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12700
b468825a
AS
12701 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12702
7872cfb0
AS
12703 * configure.in: Also look in $cxxmachine/include for C++ system
12704 headers.
12705
be13f7bf
LD
127062011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12707
12708 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12709 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12710 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12711 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12712 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12713 (USE_AS_WMEMCMP): New macro.
12714 Fixing indents.
12715 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12716 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12717 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12718 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12720 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12721 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12722 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12723 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12724 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12725 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12726 (USE_AS_WMEMCMP): New macro.
12727 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12728 * sysdeps/string/test-memcmp.c: Update.
12729 Fix simple_wmemcmp.
12730 Add new tests.
12731 * wcsmbs/wmemcmp.c: Update.
12732 (WMEMCMP): New macro.
12733 Fix overflow bug.
12734
556a2007
AJ
127352011-10-12 Andreas Jaeger <aj@suse.de>
12736
12737 [BZ #13268]
12738 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12739
538faaa7
UD
127402011-10-15 Ulrich Drepper <drepper@gmail.com>
12741
ab6737ff
UD
12742 * libio/iofwide.c (do_length): Avoid warning.
12743
538faaa7
UD
12744 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12745
396a21b1
UD
127462011-10-14 Ulrich Drepper <drepper@gmail.com>
12747
cdf2901f
UD
12748 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12749
38ad40ce
UD
12750 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12751 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12752 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12753 * sysdeps/i386/i686/fpu/e_log.S: New file.
12754 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12755 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12756
396a21b1
UD
12757 * ctype/ctype.h: Add support for inlined isXXX functions when
12758 compiling C++ code.
12759
6b1f68c9
AS
127602011-10-14 Andreas Schwab <schwab@redhat.com>
12761
349290c0
AS
12762 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12763
6b1f68c9
AS
12764 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12765
f2282d42
RM
127662011-10-13 Roland McGrath <roland@hack.frob.com>
12767
12768 [BZ #13291]
12769 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12770
5298ffa8
AS
127712011-10-13 Andreas Schwab <schwab@redhat.com>
12772
714fad23
AS
12773 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12774 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12775 feraiseexcept.
12776
81dcc7fb
AS
12777 * sysdeps/x86_64/memrchr.S: Check for zero size.
12778
5298ffa8
AS
12779 * string/stratcliff.c: Add memrchr tests.
12780
951fbcec
LD
127812011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12782
12783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12784 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12785 rawmemchr-sse2 rawmemchr-sse2-bsf.
12786 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12787 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12788 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12789 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12790 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12791 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12792 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12793 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12794 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12795 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12796 * string/memrchr.c (MEMRCHR): New macro.
12797
0ac5ae23
UD
127982011-10-12 Ulrich Drepper <drepper@gmail.com>
12799
12800 Add integration with gcc's -ffinite-math-only and optimize wrapper
12801 functions in libm.
12802 * Versions.def: Define GLIBC_2.15 version for libm.
12803 * math/Makefile (headers): Add bits/math-finite.h.
12804 * math/bits/math-finite.h: New file.
12805 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12806 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12807 * math/e_acoshl.c: Add __*_finite alias.
12808 * math/e_acosl.c: Likewise.
12809 * math/e_asinl.c: Likewise.
12810 * math/e_atan2l.c: Likewise.
12811 * math/e_atanhl.c: Likewise.
12812 * math/e_coshl.c: Likewise.
12813 * math/e_exp10.c: Likewise.
12814 * math/e_exp10f.c: Likewise.
12815 * math/e_exp10l.c: Likewise.
12816 * math/e_exp2l.c: Likewise.
12817 * math/e_fmodl.c: Likewise.
12818 * math/e_gammal_r.c: Likewise.
12819 * math/e_hypotl.c: Likewise.
12820 * math/e_j0l.c: Likewise.
12821 * math/e_j1l.c: Likewise.
12822 * math/e_jnl.c: Likewise.
12823 * math/e_lgammal_r.c: Likewise.
12824 * math/e_log10l.c: Likewise.
12825 * math/e_log2l.c: Likewise.
12826 * math/e_logl.c: Likewise.
12827 * math/e_powl.c: Likewise.
12828 * math/e_sinhl.c: Likewise.
12829 * math/e_sqrtl.c: Likewise.
12830 * math/e_scalb.c: Completely rewritten and optimized.
12831 * math/e_scalbf.c: Likewise.
12832 * math/e_scalbl.c: Likewise.
12833 * math/w_acos.c: Likewise.
12834 * math/w_acosf.c: Likewise.
12835 * math/w_acosl.c: Likewise.
12836 * math/w_acosh.c: Likewise.
12837 * math/w_acoshf.c: Likewise.
12838 * math/w_acoshl.c: Likewise.
12839 * math/w_asin.c: Likewise.
12840 * math/w_asinf.c: Likewise.
12841 * math/w_asinl.c: Likewise.
12842 * math/w_atan2.c: Likewise.
12843 * math/w_atan2f.c: Likewise.
12844 * math/w_atan2l.c: Likewise.
12845 * math/w_atanh.c: Likewise.
12846 * math/w_atanhf.c: Likewise.
12847 * math/w_atanhl.c: Likewise.
12848 * math/w_exp10.c: Likewise.
12849 * math/w_exp10f.c: Likewise.
12850 * math/w_exp10l.c: Likewise.
12851 * math/w_fmod.c: Likewise.
12852 * math/w_fmodf.c: Likewise.
12853 * math/w_fmodl.c: Likewise.
12854 * math/w_j0.c: Likewise.
12855 * math/w_j0f.c: Likewise.
12856 * math/w_j0l.c: Likewise.
12857 * math/w_j1.c: Likewise.
12858 * math/w_j1f.c: Likewise.
12859 * math/w_j1l.c: Likewise.
12860 * math/w_jn.c: Likewise.
12861 * math/w_jnf.c: Likewise.
12862 * math/w_log.c: Likewise.
12863 * math/w_logf.c: Likewise.
12864 * math/w_logl.c: Likewise.
12865 * math/w_log10.c: Likewise.
12866 * math/w_log10f.c: Likewise.
12867 * math/w_log10l.c: Likewise.
12868 * math/w_log2.c: Likewise.
12869 * math/w_log2f.c: Likewise.
12870 * math/w_log2l.c: Likewise.
12871 * math/w_pow.c: Likewise.
12872 * math/w_powf.c: Likewise.
12873 * math/w_powl.c: Likewise.
12874 * math/w_remainder.c: Likewise.
12875 * math/w_remainderf.c: Likewise.
12876 * math/w_remainderl.c: Likewise.
12877 * math/w_scalb.c: Likewise.
12878 * math/w_scalbf.c: Likewise.
12879 * math/w_scalbl.c: Likewise.
12880 * math/w_sqrt.c: Likewise.
12881 * math/w_sqrtf.c: Likewise.
12882 * math/w_sqrtl.c: Likewise.
12883 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12884 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12885 used.
12886 * math/math_private.h: Declare __kernel_standard_f.
12887 * math/w_cosh.c: Remove cruft and optimize a bit.
12888 * math/w_coshf.c: Likewise.
12889 * math/w_coshl.c: Likewise.
12890 * math/w_exp2.c: Likewise.
12891 * math/w_exp2f.c: Likewise.
12892 * math/w_exp2l.c: Likewise.
12893 * math/w_hypot.c: Likewise.
12894 * math/w_hypotf.c: Likewise.
12895 * math/w_hypotl.c: Likewise.
12896 * math/w_lgamma.c: Likewise.
12897 * math/w_lgamma_r.c: Likewise.
12898 * math/w_lgammaf.c: Likewise.
12899 * math/w_lgammaf_r.c: Likewise.
12900 * math/w_lgammal.c: Likewise.
12901 * math/w_lgammal_r.c: Likewise.
12902 * math/w_sinh.c: Likewise.
12903 * math/w_sinhf.c: Likewise.
12904 * math/w_sinhl.c: Likewise.
12905 * math/w_tgamma.c: Likewise.
12906 * math/w_tgammaf.c: Likewise.
12907 * math/w_tgammal.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12909 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12910 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12911 Minor optimizations. Pretty printing. Remove cruft.
12912 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12913 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12914 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12915 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12916 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12917 * sysdeps/i386/fpu/e_asin.S: Likewise.
12918 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12919 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12920 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12921 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12922 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12923 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12924 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12925 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12926 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12927 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12928 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12929 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12930 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12931 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12932 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12933 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12934 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12935 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12936 * sysdeps/i386/fpu/e_log.S: Likewise.
12937 * sysdeps/i386/fpu/e_log10.S: Likewise.
12938 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12939 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12940 * sysdeps/i386/fpu/e_log2.S: Likewise.
12941 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12942 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12943 * sysdeps/i386/fpu/e_logf.S: Likewise.
12944 * sysdeps/i386/fpu/e_logl.S: Likewise.
12945 * sysdeps/i386/fpu/e_pow.S: Likewise.
12946 * sysdeps/i386/fpu/e_powf.S: Likewise.
12947 * sysdeps/i386/fpu/e_powl.S: Likewise.
12948 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12949 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12950 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12951 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12952 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12953 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12954 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12955 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12956 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12957 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12958 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12960 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12961 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12962 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12963 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12964 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12965 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12966 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12967 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12968 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12970 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12971 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12973 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12974 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12975 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12976 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12977 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12978 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12979 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12980 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12981 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12982 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12983 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12984 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12985 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12986 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12987 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12988 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12989 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12990 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12991 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12992 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12993 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12994 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12995 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12996 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12997 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12998 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12999 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13000 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13001 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13003 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13004 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13005 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13006 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13007 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13008 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13009 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13010 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13011 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13012 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13013 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13014 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13015 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13016 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13017 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13018 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13019 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13021 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13022 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13023 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13024 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13025 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13026 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13028 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13029 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13031 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13032 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13033 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13034 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13035 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13036 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13037 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13038 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13039 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13040 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13041 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13042 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13043 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13044 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13045 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13046 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13047 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13048 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13049 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13050 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13051 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13052 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13053 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13054 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13055 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13056 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13057 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13058 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13059 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13060 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13061 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13062 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13063 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13064 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13065 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13066 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13067 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13068 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13069 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13070 (__isnanf): Likewise.
13071 (__isinf_ns): Likewise.
13072 (__isinf_nsf): Likewise.
13073 (__finite): Likewise.
13074 (__finitef): Likewise.
13075 (__ieee754_sqrt): Define as macro.
13076 (__ieee754_sqrtf): Define as macro.
13077 (__ieee754_sqrtl): Define as macro.
13078 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13079 inlined copy.
13080 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13081 __FINITE_MATH_ONLY__ consistent.
13082 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13083
12cc2fcd
AS
130842011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13085
a843a204
AS
13086 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13087 of rawmemchr.
13088
12cc2fcd
AS
13089 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13090
c853acd5
UD
130912011-10-09 Ulrich Drepper <drepper@gmail.com>
13092
13093 * po/ja.po: Update from translation team.
13094
c658d255
RM
130952011-10-08 Roland McGrath <roland@hack.frob.com>
13096
110946e4
RM
13097 * locale/programs/locarchive.c (prepare_address_space): New function.
13098 (create_archive, enlarge_archive, open_archive): Use it.
13099
50604220
RM
13100 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13101 inside [SHARED], where it is used.
13102
c658d255
RM
13103 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13104
13105 * nss/getent.c (netgroup_keys): Remove unused variable.
13106 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13107
6a621eb7
UD
131082011-10-08 Ulrich Drepper <drepper@gmail.com>
13109
7edb55ce
UD
13110 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13111 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13113 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13114 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13115 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13116 * math/Makefile (libm-calls): Add s_isinf_ns.
13117 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13118 * math/multc3.c: Likewise.
13119 * math/s_casin.c: Likewise.
13120 * math/s_casinf.c: Likewise.
13121 * math/s_casinl.c: Likewise.
13122 * math/s_ccos.c: Likewise.
13123 * math/s_ccosf.c: Likewise.
13124 * math/s_ccosl.c: Likewise.
13125 * math/s_ctan.c: Likewise.
13126 * math/s_ctanf.c: Likewise.
13127 * math/s_ctanh.c: Likewise.
13128 * math/s_ctanhf.c: Likewise.
13129 * math/s_ctanhl.c: Likewise.
13130 * math/s_ctanl.c: Likewise.
13131 * math/w_fmod.c: Likewise.
13132 * math/w_fmodf.c: Likewise.
13133 * math/w_fmodl.c: Likewise.
13134 * math/w_remainder.c: Likewise.
13135 * math/w_remainderf.c: Likewise.
13136 * math/w_remainderl.c: Likewise.
13137 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13138 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13139 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13140 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13141 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13142 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13143 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13144 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13145
187da0ae
UD
13146 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13147 of the number.
13148 * stdio-common/printf_fphex.c: Likewise.
13149 * stdio-common/printf_size.c: Likewise.
13150
9277c064
UD
13151 * math/e_exp10.c: Include math_private.h using <...> not "...".
13152 * math/e_exp10f.c: Likewise.
13153 * math/e_exp10l.c: Likewise.
13154 * math/e_exp2l.c: Likewise.
13155 * math/e_j0l.c: Likewise.
13156 * math/e_j1l.c: Likewise.
13157 * math/e_jnl.c: Likewise.
13158 * math/e_lgammal_r.c: Likewise.
13159 * math/e_rem_pio2l.c: Likewise.
13160 * math/e_scalb.c: Likewise.
13161 * math/e_scalbf.c: Likewise.
13162 * math/e_scalbl.c: Likewise.
13163 * math/k_cosl.c: Likewise.
13164 * math/k_sinl.c: Likewise.
13165 * math/k_tanl.c: Likewise.
13166 * math/s_cacoshf.c: Likewise.
13167 * math/s_catan.c: Likewise.
13168 * math/s_catanf.c: Likewise.
13169 * math/s_catanh.c: Likewise.
13170 * math/s_catanhf.c: Likewise.
13171 * math/s_catanhl.c: Likewise.
13172 * math/s_catanl.c: Likewise.
13173 * math/s_ccosh.c: Likewise.
13174 * math/s_ccoshf.c: Likewise.
13175 * math/s_ccoshl.c: Likewise.
13176 * math/s_cexp.c: Likewise.
13177 * math/s_cexpf.c: Likewise.
13178 * math/s_cexpl.c: Likewise.
13179 * math/s_clog.c: Likewise.
13180 * math/s_clog10.c: Likewise.
13181 * math/s_clog10f.c: Likewise.
13182 * math/s_clog10l.c: Likewise.
13183 * math/s_clogf.c: Likewise.
13184 * math/s_clogl.c: Likewise.
13185 * math/s_csin.c: Likewise.
13186 * math/s_csinf.c: Likewise.
13187 * math/s_csinh.c: Likewise.
13188 * math/s_csinhf.c: Likewise.
13189 * math/s_csinhl.c: Likewise.
13190 * math/s_csinl.c: Likewise.
13191 * math/s_csqrt.c: Likewise.
13192 * math/s_csqrtf.c: Likewise.
13193 * math/s_csqrtl.c: Likewise.
13194 * math/s_ctan.c: Likewise.
13195 * math/s_ctanf.c: Likewise.
13196 * math/s_ctanh.c: Likewise.
13197 * math/s_ctanhf.c: Likewise.
13198 * math/s_ctanhl.c: Likewise.
13199 * math/s_ctanl.c: Likewise.
13200 * math/s_ldexp.c: Likewise.
13201 * math/s_ldexpf.c: Likewise.
13202 * math/s_ldexpl.c: Likewise.
13203 * math/s_significand.c: Likewise.
13204 * math/s_significandf.c: Likewise.
13205 * math/s_significandl.c: Likewise.
13206 * math/w_acos.c: Likewise.
13207 * math/w_acosf.c: Likewise.
13208 * math/w_acosh.c: Likewise.
13209 * math/w_acoshf.c: Likewise.
13210 * math/w_acoshl.c: Likewise.
13211 * math/w_acosl.c: Likewise.
13212 * math/w_asin.c: Likewise.
13213 * math/w_asinf.c: Likewise.
13214 * math/w_asinl.c: Likewise.
13215 * math/w_atan2.c: Likewise.
13216 * math/w_atan2f.c: Likewise.
13217 * math/w_atan2l.c: Likewise.
13218 * math/w_atanh.c: Likewise.
13219 * math/w_atanhf.c: Likewise.
13220 * math/w_atanhl.c: Likewise.
13221 * math/w_cosh.c: Likewise.
13222 * math/w_coshf.c: Likewise.
13223 * math/w_coshl.c: Likewise.
13224 * math/w_dremf.c: Likewise.
13225 * math/w_exp10.c: Likewise.
13226 * math/w_exp10f.c: Likewise.
13227 * math/w_exp10l.c: Likewise.
13228 * math/w_exp2.c: Likewise.
13229 * math/w_exp2f.c: Likewise.
13230 * math/w_fmod.c: Likewise.
13231 * math/w_fmodf.c: Likewise.
13232 * math/w_fmodl.c: Likewise.
13233 * math/w_hypot.c: Likewise.
13234 * math/w_hypotf.c: Likewise.
13235 * math/w_hypotl.c: Likewise.
13236 * math/w_j0.c: Likewise.
13237 * math/w_j0f.c: Likewise.
13238 * math/w_j0l.c: Likewise.
13239 * math/w_j1.c: Likewise.
13240 * math/w_j1f.c: Likewise.
13241 * math/w_j1l.c: Likewise.
13242 * math/w_jn.c: Likewise.
13243 * math/w_jnf.c: Likewise.
13244 * math/w_jnl.c: Likewise.
13245 * math/w_lgamma.c: Likewise.
13246 * math/w_lgamma_r.c: Likewise.
13247 * math/w_lgammaf.c: Likewise.
13248 * math/w_lgammaf_r.c: Likewise.
13249 * math/w_lgammal.c: Likewise.
13250 * math/w_lgammal_r.c: Likewise.
13251 * math/w_log.c: Likewise.
13252 * math/w_log10.c: Likewise.
13253 * math/w_log10f.c: Likewise.
13254 * math/w_log10l.c: Likewise.
13255 * math/w_log2.c: Likewise.
13256 * math/w_log2f.c: Likewise.
13257 * math/w_log2l.c: Likewise.
13258 * math/w_logf.c: Likewise.
13259 * math/w_logl.c: Likewise.
13260 * math/w_pow.c: Likewise.
13261 * math/w_powf.c: Likewise.
13262 * math/w_powl.c: Likewise.
13263 * math/w_remainder.c: Likewise.
13264 * math/w_remainderf.c: Likewise.
13265 * math/w_remainderl.c: Likewise.
13266 * math/w_scalb.c: Likewise.
13267 * math/w_scalbf.c: Likewise.
13268 * math/w_scalbl.c: Likewise.
13269 * math/w_sinh.c: Likewise.
13270 * math/w_sinhf.c: Likewise.
13271 * math/w_sinhl.c: Likewise.
13272 * math/w_sqrt.c: Likewise.
13273 * math/w_sqrtf.c: Likewise.
13274 * math/w_sqrtl.c: Likewise.
13275 * math/w_tgamma.c: Likewise.
13276 * math/w_tgammaf.c: Likewise.
13277 * math/w_tgammal.c: Likewise.
13278
6a621eb7
UD
13279 * po/ja.po: Update from translation team.
13280
bf582445
AJ
132812011-09-29 Andreas Jaeger <aj@suse.de>
13282
f9efbf3a
AJ
13283 [BZ #13179]
13284 * sunrpc/netname.c (netname2host): Fix logic.
13285
bf582445
AJ
13286 [BZ #6779]
13287 [BZ #6783]
13288 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13289 correctly.
13290 * math/w_remainder.c (__remainder): Likewise.
13291 * math/w_remainderf.c (__remainderf): Likewise.
13292 * math/libm-test.inc (remainder_test): Add test cases.
13293
48693bea
AK
132942011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13295
13296 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13297 sdiv_qrnnd.
13298
42622229
LD
132992011-10-07 Ulrich Drepper <drepper@gmail.com>
13300
13301 * string/test-memcmp.c: Avoid unncessary #defines.
13302 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13303
093ecf92
LD
133042011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13305
13306 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13307 Use new sse2 version for core i3 - i7 as it's faster
13308 than sse42 version.
13309 (bit_Prefer_PMINUB_for_stringop): New.
13310 * sysdeps/x86_64/rawmemchr.S: Update.
13311 Replace with faster SSE2 version.
13312 * sysdeps/x86_64/memrchr.S: New file.
13313 * sysdeps/x86_64/memchr.S: Update.
13314 Replace with faster SSE2 version.
13315
fde56e5c
MP
133162011-09-12 Marek Polacek <mpolacek@redhat.com>
13317
13318 * elf/dl-load.c (lose): Add cast to avoid warning.
13319
21fd49a9
UD
133202011-10-07 Ulrich Drepper <drepper@gmail.com>
13321
5a06e643
UD
13322 * po/ca.po: Update from translation team.
13323
684ae515
UD
13324 * inet/getnetgrent_r.c: Hook up nscd.
13325 * nscd/Makefile (routines): Add nscd_netgroup.
13326 (nscd-modules): Add netgroupcache.
13327 (CFLAGS-netgroupcache.c): Define.
13328 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13329 (cache_search): Add const to second parameter.
13330 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13331 INNETGR.
13332 (dbs): Add netgrdb entry.
13333 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13334 (verify_persistent_db): Handle netgrdb.
13335 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13336 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13337 GETFDNETGR.
13338 (netgroup_response_header): Define.
13339 (innetgroup_response_header): Define.
13340 (datahead): Add netgroup_response_header and innetgroup_response_header
13341 elements.
13342 * nscd/nscd.conf: Add entries for netgroup cache.
13343 * nscd/nscd.h (dbtype): Add netgrdb.
13344 (_PATH_NSCD_NETGROUP_DB): Define.
13345 (netgroup_iov_disabled): Declare.
13346 (xmalloc, xcalloc, xrealloc): Move declarations here.
13347 (cache_search): Adjust prototype.
13348 Add netgroup-related prototypes.
13349 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13350 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13351 (__nscd_innetgr): Declare.
13352 * nscd/selinux.c (perms): Use access_vector_t as element type and
13353 add netgroup-related initializers.
13354 * nscd/netgroupcache.c: New file.
13355 * nscd/nscd_netgroup.c: New file.
13356 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13357 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13358 For four parameters use innetgr.
13359 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13360 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13361 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13362 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13363
21fd49a9
UD
13364 * nscd/connections.c (register_traced_file): Don't register file
13365 for disabled databases.
13366
054c0457
UD
133672011-10-06 Ulrich Drepper <drepper@gmail.com>
13368
32b63198
UD
13369 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13370
054c0457
UD
13371 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13372 from tree and freeing node.
13373
64031225
JO
133742011-09-25 Jiri Olsa <jolsa@redhat.com>
13375
13376 * nss/nsswitch.c (__nss_database_lookup): Handle
13377 nss_parse_service_list out of memory case.
13378
0490345c
JO
133792011-09-15 Jiri Olsa <jolsa@redhat.com>
13380
13381 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13382 out of memory case.
13383
3a62d00d
AS
133842011-10-04 Andreas Schwab <schwab@redhat.com>
13385
13386 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13387 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13388 pass it down.
13389 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13390 elf_machine_rela, elf_machine_lazy_rel.
13391 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13392 (ELF_DYNAMIC_DO_REL): Likewise.
13393 (ELF_DYNAMIC_DO_RELA): Likewise.
13394 (ELF_DYNAMIC_RELOCATE): Likewise.
13395 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13396 to ELF_DYNAMIC_DO_REL.
13397 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13398 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13399 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13400 elf_machine_rela.
13401 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13402 skip_ifunc, don't call ifunc function if non-zero.
13403 (elf_machine_rela): Likewise.
13404 (elf_machine_lazy_rel): Likewise.
13405 (elf_machine_lazy_rela): Likewise.
13406 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13407 (elf_machine_lazy_rel): Likewise.
13408 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13409 Likewise.
13410 (elf_machine_lazy_rel): Likewise.
13411 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13412 Likewise.
13413 (elf_machine_lazy_rel): Likewise.
13414 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13415 (elf_machine_lazy_rel): Likewise.
13416 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13417 (elf_machine_lazy_rel): Likewise.
13418 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13419 (elf_machine_lazy_rel): Likewise.
13420 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13421 (elf_machine_lazy_rel): Likewise.
13422 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13423 (elf_machine_lazy_rel): Likewise.
13424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13425 (elf_machine_lazy_rel): Likewise.
13426
68577918
UD
134272011-09-28 Ulrich Drepper <drepper@gmail.com>
13428
13429 * nss/nss_files/files-init.c (_nss_files_init): Use static
13430 initialization for all the *_traced_file variables.
13431
68822d74
AS
134322011-09-28 Andreas Schwab <schwab@redhat.com>
13433
13434 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13435
2056100b
RM
134362011-09-27 Roland McGrath <roland@hack.frob.com>
13437
13438 [BZ #13226]
13439 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13440
32c76b63
AS
134412011-09-27 Andreas Schwab <schwab@redhat.com>
13442
13443 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13444 Reread the line before reparsing it.
13445
bf972c9d
AS
134462011-09-26 Andreas Schwab <schwab@redhat.com>
13447
13448 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13449
e057a1b5
JM
134502011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13451 Maxim Kuvyrkov <maxim@codesourcery.com>
13452 Joseph Myers <joseph@codesourcery.com>
13453
13454 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13455 if needed for __stack_chk_guard.
13456
bc7e1c36
RM
134572011-09-19 Roland McGrath <roland@hack.frob.com>
13458
ecb1482f
RM
13459 * sysdeps/posix/spawni.c (script_execute): Always define it.
13460 It will be optimized away if unused.
13461 (maybe_script_execute): New function.
13462 (__spawni): Call it.
13463
bc7e1c36
RM
13464 * Makerules: Don't include tls.make.
13465 (config-tls): Always set to thread.
13466 * tls.make.c: File removed.
13467
1c3b002b
MF
134682011-09-19 Mike Frysinger <vapier@gentoo.org>
13469
13470 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13471 * config.make.in (CPPFLAGS-config): New substituted variable.
13472
2840865d
UD
134732011-09-15 Ulrich Drepper <drepper@gmail.com>
13474
88738eb6
UD
13475 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13476
cbf645a6 13477 [BZ #13192]
2840865d
UD
13478 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13479 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13480
b402e91a
RM
134812011-09-15 Roland McGrath <roland@hack.frob.com>
13482
13483 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13484 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13485 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13486 (CALL_FAIL): Likewise.
13487 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13488 (CALL_FAIL): Macro removed.
13489 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13490
4c1a1f71
UD
134912011-09-15 Ulrich Drepper <drepper@gmail.com>
13492
13493 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13494 for __FINITE_MATH_ONLY__ == 1.
13495
edc121be
AS
134962011-09-15 Andreas Schwab <schwab@redhat.com>
13497
13498 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13499 __ieee754_sqrt instead of sqrt.
13500 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13501 __ieee754_sqrtf instead of sqrtf.
13502 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13503 __floorf instead of floorf.
13504 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13505 __floorf, __truncf instead of floorf, truncf.
13506
cd205654
UD
135072011-09-14 Ulrich Drepper <drepper@gmail.com>
13508
ee4d0315
UD
13509 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13510
cd205654
UD
13511 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13512 __extern_always_inline.
13513 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13514 32-bit.
13515
48b67d71
AS
135162011-09-14 Andreas Schwab <schwab@redhat.com>
13517
13518 * elf/rtld.c (dl_main): Also relocate in dependency order when
13519 doing symbol dependency testing.
13520
1ae12c75
AS
135212011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13522
13523 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13524 Always define `refsym'.
13525
995a80df
AS
135262011-09-13 Andreas Schwab <schwab@redhat.com>
13527
e529793b
AS
13528 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13529 (__FD_ELT): Renamed from __FDELT.
13530 * misc/bits/select2.h (__FD_ELT): Likewise.
13531 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13532 __FD_MASK instead of __FDELT, __FDMASK.
13533 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13534 Likewise.
13535 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13536 Likewise.
13537
52d4fef8
AS
13538 * elf/Makefile (gen-ldd): Fix pattern.
13539
995a80df
AS
13540 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13541 (init_tls): Likewise.
13542
8682f8b0
UD
135432011-09-12 Ulrich Drepper <drepper@gmail.com>
13544
13545 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13546
de82006d
AS
135472011-09-12 Andreas Schwab <schwab@redhat.com>
13548
a7c8e6a1
AS
13549 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13550 `struct cmsghdr *' instead of `void *'.
13551 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13552 Likewise.
13553
0f31fe77
AS
135542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13555
13556 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13557 if non-absolute.
13558 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13559 ldd_rewrite_script.
0f31fe77 13560
32b4c839
UD
135612011-09-11 Ulrich Drepper <drepper@gmail.com>
13562
83cd1420
UD
13563 * configure.in: Remove --with-tls option.
13564 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13565 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13566 out in case it is missing.
13567 * sysdeps/ia64/elf/configure.in: Likewise.
13568 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13569 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13570 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13571 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13572 * sysdeps/sh/elf/configure.in: Likewise.
13573 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13574 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13575 * sysdeps/x86_64/elf/configure.in: Likewise.
13576 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13577 * sysdeps/mach/hurd/tls.h: Likewise.
13578
633f745d
UD
13579 [BZ #13067]
13580 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13581
f318beb8
UD
13582 [BZ #13090]
13583 * configure.in: Fix use of AC_INIT.
13584
32b4c839
UD
13585 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13586
3ce1f295
UD
135872011-09-10 Ulrich Drepper <drepper@gmail.com>
13588
bb016596
UD
13589 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13590 __set_errno.
8e58439c
UD
13591 * malloc/hooks.c: Likewise.
13592
aebae053 13593 [BZ #11929]
02d46fc4
UD
13594 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13595 variables statically.
13596 (narenas): Initialize.
13597 (list_lock): Initialize.
bb016596
UD
13598 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13599 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13600 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13601 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13602 Add initializers to main_arena and mp_.
13603 (malloc_state): Remove pagesize member. Change all users to use
13604 GLRO(dl_pagesize).
13605
13606 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13607 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13608 is always initialized.
13609
22a89187
UD
13610 * malloc/malloc.c: Removed unused configurations and dead code.
13611 * malloc/arena.c: Likewise.
13612 * malloc/hooks.c: Likewise.
02d46fc4 13613 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13614
d063d164
UD
13615 * include/tls.h: Removed. USE___THREAD must always be defined.
13616 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13617 * elf/dl-libc.c: Likewise.
13618 * elf/dl-tsd.c: Likewise.
13619 * include/errno.h: Likewise.
13620 * include/netdb.h: Likewise.
13621 * include/resolv.h: Likewise.
13622 * inet/herrno-loc.c: Likewise.
13623 * inet/herrno.c: Likewise.
13624 * malloc/arena.c: Likewise.
13625 * malloc/hooks.c: Likewise.
13626 * malloc/malloc.c: Likewise.
13627 * resolv/res-state.c: Likewise.
13628 * resolv/res_libc.c: Likewise.
13629 * sysdeps/i386/dl-machine.h: Likewise.
13630 * sysdeps/ia64/dl-machine.h: Likewise.
13631 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13632 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13633 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13634 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13635 * sysdeps/sh/dl-machine.h: Likewise.
13636 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13637 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13638 * sysdeps/unix/i386/sysdep.S: Likewise.
13639 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13640 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13641 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13642 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13643 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13644 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13645 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13649 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13650 * sysdeps/x86_64/dl-machine.h: Likewise.
13651 * tls.make.c: Likewise.
13652
3ce1f295
UD
13653 * configure.in: Remove --with-__thread option. Make tests for
13654 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13655 tls_model attribute fail if no support is available. Remove
13656 USE_IN_LIBIO.
13657 * Makeconfig: Adjust for dropped configure option. All features are
13658 now mandatory.
13659 * Makerules: Likewise.
13660 * Versions.def: Likewise.
13661 * argp/argp-fmtstream.c: Likewise.
13662 * argp/argp-fmtstream.h: Likewise.
13663 * argp/argp-help.c: Likewise.
13664 * assert/assert.c: Likewise.
13665 * config.h.in: Likewise.
13666 * config.make.in: Likewise.
13667 * configure: Likewise.
13668 * configure.in: Likewise.
13669 * csu/Versions: Likewise.
13670 * csu/init.c: Likewise.
13671 * elf/tst-audit2.c: Likewise.
13672 * elf/tst-tls10.c: Likewise.
13673 * elf/tst-tls10.h: Likewise.
13674 * elf/tst-tls11.c: Likewise.
13675 * elf/tst-tls12.c: Likewise.
13676 * elf/tst-tls14.c: Likewise.
13677 * elf/tst-tlsmod11.c: Likewise.
13678 * elf/tst-tlsmod12.c: Likewise.
13679 * elf/tst-tlsmod13.c: Likewise.
13680 * elf/tst-tlsmod13a.c: Likewise.
13681 * elf/tst-tlsmod14a.c: Likewise.
13682 * elf/tst-tlsmod15b.c: Likewise.
13683 * elf/tst-tlsmod16a.c: Likewise.
13684 * elf/tst-tlsmod16b.c: Likewise.
13685 * elf/tst-tlsmod7.c: Likewise.
13686 * elf/tst-tlsmod8.c: Likewise.
13687 * elf/tst-tlsmod9.c: Likewise.
13688 * gmon/gmon.c: Likewise.
13689 * grp/fgetgrent_r.c: Likewise.
13690 * grp/putgrent.c: Likewise.
13691 * hurd/fopenport.c: Likewise.
13692 * include/libc-symbols.h: Likewise.
13693 * include/tls.h: Likewise.
13694 * intl/gettextP.h: Likewise.
13695 * intl/loadinfo.h: Likewise.
13696 * locale/global-locale.c: Likewise.
13697 * locale/localeinfo.h: Likewise.
13698 * mach/devstream.c: Likewise.
13699 * malloc/arena.c: Likewise.
13700 * malloc/set-freeres.c: Likewise.
13701 * misc/err.c: Likewise.
13702 * misc/getttyent.c: Likewise.
13703 * misc/mntent_r.c: Likewise.
13704 * posix/getopt.c: Likewise.
13705 * posix/wordexp.c: Likewise.
13706 * pwd/fgetpwent_r.c: Likewise.
13707 * resolv/Versions: Likewise.
13708 * resolv/res_hconf.c: Likewise.
13709 * shadow/fgetspent_r.c: Likewise.
13710 * shadow/putspent.c: Likewise.
13711 * stdio-common/printf_fphex.c: Likewise.
13712 * stdio-common/tmpfile.c: Likewise.
13713 * stdlib/abort.c: Likewise.
13714 * stdlib/fmtmsg.c: Likewise.
13715 * sunrpc/auth_unix.c: Likewise.
13716 * sunrpc/clnt_perr.c: Likewise.
13717 * sunrpc/clnt_tcp.c: Likewise.
13718 * sunrpc/clnt_udp.c: Likewise.
13719 * sunrpc/clnt_unix.c: Likewise.
13720 * sunrpc/openchild.c: Likewise.
13721 * sunrpc/svc_simple.c: Likewise.
13722 * sunrpc/svc_tcp.c: Likewise.
13723 * sunrpc/svc_udp.c: Likewise.
13724 * sunrpc/svc_unix.c: Likewise.
13725 * sunrpc/xdr.c: Likewise.
13726 * sunrpc/xdr_array.c: Likewise.
13727 * sunrpc/xdr_rec.c: Likewise.
13728 * sunrpc/xdr_ref.c: Likewise.
13729 * sunrpc/xdr_stdio.c: Likewise.
13730
1248c1c4
PB
137312011-09-09 Ulrich Drepper <drepper@gmail.com>
13732
13733 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13734
137352011-07-03 Andreas Jaeger <aj@suse.de>
13736
13737 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13738 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13739 regenerate with gen-libm-tests.pl.
13740
137412010-05-12 Petr Baudis <pasky@suse.cz>
13742
13743 [BZ #11589]
13744 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13745 around j0() zero points by switching to j1().
13746 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13750
f22e1074
UD
137512011-09-09 Ulrich Drepper <drepper@gmail.com>
13752
f19009c1
UD
13753 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13754 instead of 0.
13755 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13756 instead of 0. .
13757 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13758 Patch in part by Pavel Roskin <proski@gnu.org>.
13759
3f8cc204
UD
13760 [BZ #13138]
13761 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13762 realloc.
13763 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13764 Free memory block if necessary.
13765
f22e1074
UD
13766 [BZ #12847]
13767 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13768 be NULL. Don't lock in this case.
13769
0a2349f9
RM
137702011-09-09 Roland McGrath <roland@hack.frob.com>
13771
13772 * elf/elf.h (ELFOSABI_GNU): New macro.
13773 (ELFOSABI_LINUX): Define to that.
13774
f3cdd467
DZ
137752011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13776
13777 * string/strncat.c (strncat): Undef the symbol in case it has been
13778 defined in bits/string.h.
13779
74718d13
UD
137802011-09-09 Ulrich Drepper <drepper@gmail.com>
13781
633e9e0f
UD
13782 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13783
0a2349f9 13784 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13785 link map.
13786
f9924780
AJ
137872011-08-17 Andreas Jaeger <aj@suse.de>
13788
13789 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13790
7f5517aa
PP
137912011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13792 Ian Lance Taylor <iant@google.com>
13793
13794 * math/libm-test.inc (lround_test): New testcase.
13795 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13796
762011fe
UD
137972011-09-08 Ulrich Drepper <drepper@gmail.com>
13798
92963737
UD
13799 * Makefile: Remove support for automatic cvs check-ins.
13800 * Makerules: Likewise.
13801 * config.make.in: Likewise.
13802 * configure.in: Likewise.
13803 * intl/Makefile: Likewise.
13804 * locale/Makefile: Likewise.
13805 * po/Makefile: Likewise.
13806 * posix/Makefile: Likewise.
13807 * sysdeps/gnu/Makefile: Likewise.
13808 * sysdeps/mach/hurd/Makefile: Likewise.
13809 * sysdeps/sparc/sparc32/Makefile: Likewise.
13810
b0727fd8
JS
13811 [BZ #13118]
13812 * posix/Makefile (bug-regex32-ENV): Define.
13813 Patch by John Stanley <jpsinthemix@verizon.net>.
13814
a0f33f99
UD
13815 * misc/Makefile (headers): Add bits/select2.h.
13816 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13817 * misc/bits/select2.h: New file.
13818 * include/bits/select2.h: New file.
13819 * debug/Makefile (routines): Add fdelt_chk.
13820 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13821 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13822 FD_ISSET.
13823 * debug/fdelt_chk.c: New file.
13824
762011fe
UD
13825 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13826 * wcsmbs/test-wmemcmp.c: Likewise.
13827 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13828 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13829
138302011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13831
13832 * string/Makefile (strop-tests): Add memcmp.
13833 * string/test-wmemcmp.c: New file.
13834 * string/test-memcmp.c: Add wmemcmp support.
13835
7f513ec8
RM
138362011-09-08 Roland McGrath <roland@hack.frob.com>
13837
0442afb4
RM
13838 [BZ #13153]
13839 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13840 2011-07-19 change.
13841
7f513ec8
RM
13842 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13843 garbage value in a __mach_port_mod_refs call in the cases of the
13844 task-self and thread-self ports.
13845
a12b2239
ST
138462011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13847
13848 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13849
610f9ab4
AS
138502011-09-08 Andreas Schwab <schwab@redhat.com>
13851
7f513ec8 13852 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13853
48882a1a
LD
138542011-09-07 Ulrich Drepper <drepper@gmail.com>
13855
b49865be
UD
13856 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13857
fdc86bc9
UD
13858 * elf/dl-libc.c (dlerror_run): Pass back error code from
13859 dl_catch_error.
13860
c966526a
UD
13861 [BZ #13123]
13862 * elf/dl-load.c (lose): Free l_origin if it is valid.
13863
48882a1a
LD
13864 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13865 names.
13866 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13867 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13868 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13869 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13870 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13871 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13872
77a2a8b4
AZ
138732011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13874
13875 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13876 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13877 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13878 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13879 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13880 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13881 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13882 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13883 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13884 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13885
24f579d8
AM
138862011-08-15 Alan Modra <amodra@gmail.com>
13887
13888 [BZ #13092]
13889 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13890 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13891 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13892 ppc_mcount to static-only-routines.
13893 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13894 __mcount_internal.
13895 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13896 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13897
3d4837df
UD
138982011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13899
13900 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13901 for finite and infinity parameters.
13902
22700377
WS
139032011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13904
13905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13906 and add nop instructions for throughput optimization.
13907 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13908
5025581e
WS
139092011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13910
13911 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13912 aligned copy for power7 with vector-scalar instructions.
13913 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13914
08a300c9
L
139152011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13916
13917 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13918 AVX check.
13919
59178ef9
AS
139202011-09-07 Andreas Schwab <schwab@redhat.com>
13921
13922 [BZ #13144]
13923 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13924 last change.
13925
e38ba7ab
UD
139262011-09-07 Ulrich Drepper <drepper@gmail.com>
13927
13928 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13929 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13930 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13931 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13932 clock_gettime.
13933
d53a73ac
UD
139342011-09-06 Ulrich Drepper <drepper@gmail.com>
13935
fc8bffcc
UD
13936 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13937 Forgot to demangle the pointer.
13938
ceaa0c5d
UD
13939 * sysdeps/i386/sysdep.h: Define atom_text_section.
13940 * sysdeps/x86_64/sysdep.h: Likewise.
13941 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13942 section with atom_text_section.
13943 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13944 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13945 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13946 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13947 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13948
a77d3c17
UD
13949 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13950 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13951 already be defined. Change to take two parameters and don't assign
13952 result to variable. Adjust all users.
13953 Define INTERNAL_GETTIME if not already defined.
13954 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13955 call.
13956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13957 HAVE_CLOCK_GETTIME_VSYSCALL.
13958 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13959
d53a73ac
UD
13960 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13961 gettimeofday vsyscall, just use time.
13962
a8f84144
AS
139632011-09-06 Andreas Schwab <schwab@redhat.com>
13964
13965 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13966 <errno.h>.
13967
ef606249
UD
139682011-09-06 Ulrich Drepper <drepper@gmail.com>
13969
13970 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13971 syscall on x86-64.
13972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13973 syscall.
13974 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13976 syscall if possible.
13977
6585cb60
UD
139782011-09-05 Ulrich Drepper <drepper@gmail.com>
13979
13980 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13981 e_ident. Don't pass to find_mapsXX.
13982 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13983
a5f524e4
LD
139842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13985
13986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13987 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13988 * sysdeps/x86_64/multiarch/strchr.S: Update.
13989 Check bit_slow_BSF bit.
13990 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13991 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13992 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13993
554881ef
UD
139942011-09-05 Ulrich Drepper <drepper@gmail.com>
13995
d96de963
UD
13996 [BZ #13134]
13997 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13998 before glibc 2.15.
13999 (tryshell): Define.
14000 (__spawni): Change last parameter to be flag. Test
14001 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14002 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14003 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14004 * posix/spawni.c: Likewise.
14005 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14006 * posix/spawnp.c: Likewise. Change normal version to use
14007 SPAWN_XFLAGS_USE_PATH.
14008 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14009 SPAWN_XFLAGS_TRY_SHELL.
14010
d48e5868
UD
14011 [BZ #13150]
14012 * posix/glob.h: Remove gcc 1.x support.
14013
554881ef
UD
14014 [BZ #13068]
14015 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14016
693fb948
LD
140172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14018
14019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14020 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14021 strrchr-sse2-bsf
14022 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14023 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14024 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14025 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14026 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14027 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14028
1b48c537
UD
140292011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14030
49d42c37
UD
14031 * sysdeps/x86_64/wcscmp.S: New file.
14032
1b48c537
UD
14033 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14034 wcscmp-c wcscmp-sse2
14035 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14036 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14037 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14038 * wcsmbs/wcscmp.c: Allow renaming.
14039
15c95c5d
DM
140402011-09-05 David S. Miller <davem@davemloft.net>
14041
14042 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14043 stack slot, rather than the struct return pointer slot.
14044 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14045 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14047 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14048
2f0ad8f3
UD
140492011-09-05 Ulrich Drepper <drepper@gmail.com>
14050
d88ae418
UD
14051 * po/ja.po: Update from translation team.
14052
2f0ad8f3
UD
14053 [BZ #13144]
14054 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14055 kernel in 64-bit binaries.
14056
5f4318d1
DM
140572011-09-01 David S. Miller <davem@davemloft.net>
14058
14059 * elf/elf.h (HWCAP_SPARC_*): Move to..
14060 * sysdeps/sparc/sysdep.h: this new file and add new values.
14061 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14062 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14063 _DL_HWCAP_COUNT to 24.
14064 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14065 entries.
14066 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14067 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14068 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14070 instead of magic constants.
14071 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14072
3ba57516
DM
140732011-08-31 David S. Miller <davem@davemloft.net>
14074
14075 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14077 Reimplement to do errno handling inline.
14078 (SYSCALL_ERROR_HANDLER): New macro.
14079 (__SYSCALL_STRING): Do not do errno handling in asm.
14080 (__CLONE_SYSCALL_STRING): Delete.
14081 (__INTERNAL_SYSCALL_STRING): Delete.
14082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14083 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14084 (PSEUDO): Reimplement to do errno handling inline.
14085 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14086 (SYSCALL_ERROR_HANDLER): New macro.
14087 (__SYSCALL_STRING): Do not do errno handling in asm.
14088 (__CLONE_SYSCALL_STRING): Delete.
14089 (__INTERNAL_SYSCALL_STRING): Delete.
14090 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14091 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14092 i386.
14093 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14094 (inline_syscall*): Add 'err' argument.
14095 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14096 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14097 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14098 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14099
14100 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14101 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14102
2bc17433
AS
141032011-08-30 Andreas Schwab <schwab@redhat.com>
14104
14105 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14106
fbeb5f4d
JO
141072011-08-29 Jiri Olsa <jolsa@redhat.com>
14108
14109 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14110 directive.
14111
ad69cc26
DM
141122011-08-24 David S. Miller <davem@davemloft.net>
14113
14114 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14115
39dd69df
AS
141162011-08-24 Andreas Schwab <schwab@redhat.com>
14117
14118 * elf/Makefile: Add rules to build and run unload8 test.
14119 * elf/unload8.c: New file.
14120 * elf/unload8mod1.c: New file.
14121 * elf/unload8mod1x.c: New file.
14122 * elf/unload8mod2.c: New file.
14123 * elf/unload8mod3.c: New file.
14124
14125 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14126 it wasn't used.
14127
2c0b250a
DM
141282011-08-23 David S. Miller <davem@davemloft.net>
14129
14130 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14131 subtract stack bias.
14132 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14133 %sp not %fp in calculations.
14134 (_JMPBUF_UNWINDS_ADJ): Likewise.
14135
22044b48
DM
14136 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14137 (aio_suspend): Call it to force an exception region around the
14138 AIO_MISC_WAIT() invocation.
14139
2cae4995
AS
141402011-08-23 Andreas Schwab <schwab@redhat.com>
14141
14142 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14143 backslash.
14144
873a772e
AJ
141452011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14146
14147 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14148 protection macro.
14149 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14150 and <dl-machine.h>.
14151 (Elf64_FuncDesc): Remove.
14152
25ad0df1
DM
141532011-08-22 David S. Miller <davem@davemloft.net>
14154
14155 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14156 sigaltstack check, add missing cfi directives.
14157 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14158 missing cfi directives, and sigaltstack handling.
14159
e888bcbe
AS
141602011-08-16 Andreas Schwab <schwab@redhat.com>
14161
14162 [BZ #11724]
14163 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14164 object is seen twice.
14165 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14166
14167 * elf/Makefile (distribute): Add tst-initorder2.c.
14168 (tests): Add tst-initorder2.
14169 (modules-names): Add tst-initorder2a tst-initorder2b
14170 tst-initorder2c tst-initorder2d. Add rules to build them.
14171 ($(objpfx)tst-initorder2.out): New rule.
14172 * elf/tst-initorder2.c: New file.
14173 * elf/tst-initorder2.exp: New file.
14174
87162f46
AS
141752011-08-22 Andreas Schwab <schwab@redhat.com>
14176
70538b7f
AS
14177 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14178
f55ffe58
AS
14179 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14180 dependencies back to end of function.
14181
87162f46
AS
14182 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14183 $(elfobjdir)/ld.so.
14184
91b392a4
UD
141852011-08-21 Ulrich Drepper <drepper@gmail.com>
14186
14187 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14188 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14190 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14191 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14192 of __vdso_gettimeofday.
14193 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14194 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14195 attribute_hidden.
14196 (_libc_vdso_platform_setup): Remove initialization of
14197 __vdso_gettimeofday and __vdso_time.
14198
5c43483f
UD
141992011-08-20 Ulrich Drepper <drepper@gmail.com>
14200
775a77e7
UD
14201 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14202 and fgetc_unlocked.
14203 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14204 getc_unlocked.
89f447ed 14205
49c74ba9
UD
14206 * elf/dl-open.c (add_to_global): Report additions to the global scope
14207 for LD_DEBUG=scopes.
14208 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14209 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14210
5c43483f
UD
14211 [BZ #13114]
14212 * stdio-common/Makefile (tests): Add bug24.
14213 * stdio-common/bug24.c: New file.
14214
a101b025
AJ
142152011-08-19 Andreas Jaeger <aj@suse.de>
14216
14217 [BZ #13114]
14218 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14219 non-existant file when using close-on-exec mode.
14220
c88f1766
UD
142212011-08-20 Ulrich Drepper <drepper@gmail.com>
14222
0276a718
UD
14223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14224 the very first instruction.
14225
c88f1766
UD
14226 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14227 the CFI state in the end.
14228 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14229 inclusion of dl-trampoline.h.
14230 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14231
51ccffa0
AS
142322011-08-19 Andreas Schwab <schwab@redhat.com>
14233
94d7165f
AS
14234 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14235 expectations for long double.
14236
51ccffa0
AS
14237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14238 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14239
fd708658 142402011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14241
14242 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14243 artificual limit depends upon the system page size.
14244
44f0a71e
UD
142452011-08-17 Ulrich Drepper <drepper@gmail.com>
14246
14247 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14248 * resolv/Makefile: Define CFLAGS-libresolv.
14249
8de79a24
AS
142502011-08-17 Andreas Schwab <schwab@redhat.com>
14251
14252 * nss/makedb.c (compute_tables): Make variables used in nested
14253 function static.
14254
27724598
UD
142552011-08-17 Ulrich Drepper <drepper@gmail.com>
14256
c5305d88
UD
14257 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14258 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14259 if buffer was too small.
14260
27724598
UD
14261 * elf/pldd.c (main): Attach to all threads in the process.
14262 Rewrite /proc handling to use *at functions.
14263
076fe015
UD
142642011-08-16 Ulrich Drepper <drepper@gmail.com>
14265
174baab3
UD
14266 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14267 specifies first scope to show.
14268 (dl_open_worker): Update callers. Move printing scope of new
14269 object to before the relocation.
44f0a71e 14270 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14271 * sysdeps/generic/ldsodefs.h: Update declaration.
14272
076fe015
UD
14273 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14274 string for the scope number.
14275
a60df2c3
UD
142762011-08-14 Ulrich Drepper <drepper@gmail.com>
14277
14278 * nscd/servicescache.c (cache_addserv): Make sure written is always
14279 initialized.
14280
5e4287d1
RM
142812011-08-14 Roland McGrath <roland@hack.frob.com>
14282
85ae0589
RM
14283 * sysdeps/i386/i486/bits/atomic.h
14284 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14285 statement expression, so as to suppress "set but not used" warning.
14286 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14287
69f63097
RM
14288 * string/strncat.c (STRNCAT): Use prototype definition.
14289
675456ef
RM
14290 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14291 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14292 -Iprograms here.
14293 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14294 (localedef-modules): Add localedef.
14295 (locale-modules): Add locale.
14296
5e4287d1
RM
14297 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14298 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14299 to avoid a warning.
14300
9c96ff23
DM
143012011-08-14 David S. Miller <davem@davemloft.net>
14302
14303 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14304 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14305
f9ddf089
UD
143062011-08-13 Ulrich Drepper <drepper@gmail.com>
14307
44f0a71e 14308 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14309 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14310 * elf/rtld.c (dl_main): Set l_name of vDSO.
14311 Call _dl_show_scope when DL_DEBUG_SCOPES.
14312 (process_dl_debug): Recognize scopes flag and also set it for all.
14313 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14314 Declare _dl_show_scope.
14315
1dc27704
UD
14316 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14317 (do_dlopen): Pass caller_dlopen to dl_open.
14318 (__libc_dlopen_mode): Initialize caller_dlopen.
14319
f9ddf089
UD
14320 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14321 of libc. Make tolower call locale-independent. Optimize a bit by
14322 using isdigit instead of isalnum.
14323 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14324
9ac533d3
UD
143252011-08-12 Ulrich Drepper <drepper@gmail.com>
14326
14327 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14328 was a dependency or dynamically loaded.
14329
89edf2e9
UD
143302011-08-11 Ulrich Drepper <drepper@gmail.com>
14331
8e999d29
UD
14332 * intl/l10nflist.c: Allow architecture-specific pop function.
14333 * sysdeps/x86_64/l10nflist.c: New file.
14334
89edf2e9
UD
14335 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14336 classification.
14337
14d96785
AS
143382011-08-10 Andreas Schwab <schwab@redhat.com>
14339
14340 * include/dirent.h: Add libc_hidden_proto for scandirat and
14341 scandirat64. Don't declare __scandirat64.
14342 * dirent/scandirat.c: Add libc_hidden_def.
14343 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14344 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14345
6761ac04
DM
143462011-08-10 David S. Miller <davem@davemloft.net>
14347
14348 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14349 enum.
14350 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14351 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14352 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14353
c55fbd1e
UD
143542011-08-09 Ulrich Drepper <drepper@gmail.com>
14355
14356 * Versions.def [libc]: Add GLIBC_2.15.
14357 * dirent/Makefile (routines): Add scandirat and scandirat64.
14358 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14359 GLIBC_2.15.
14360 * dirent/dirent.h: Declare scandirat and scandirat64.
14361 * dirent/scandirat.c: New file.
14362 * dirent/scandirat64.c: New file.
14363 * sysdeps/wordsize-64/scandirat.c: New file.
14364 * sysdeps/wordsize-64/scandirat64.c: New file.
14365 * dirent/opendir.c: Define opendirat.
14366 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14367 using scandirat.
14368 * dirent/scandir64.c: Adjust for scandir.c change.
14369 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14370 __scandirat64, and __scandir_cancel_handler.
14371 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14372 additional parameter and use openat instead of open (outside of ld.so).
14373 Add new __opendir as wrapper around __opendirat.
14374 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14375 here without requiring old scandirat implementation.
14376
879165f2
UD
143772011-08-08 Ulrich Drepper <drepper@gmail.com>
14378
14379 * dirent/scandir.c (cancel_handler): Renamed to
14380 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14381 defined. Adjust users.
14382 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14383 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14384
cb7e923b
UD
143852011-08-04 Ulrich Drepper <drepper@gmail.com>
14386
16292edd
UD
14387 * string/test-string.h (IMPL): Use __STRING to expand name and then
14388 stringify it.
14389
cb7e923b
UD
14390 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14391 of cleanups.
14392
cff82933
LD
143932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14394
14395 * string/Makefile: Update.
14396 (strop-tests): Append strncat.
14397 * string/test-wcscmp.c: New file.
14398 New comprehensive test for wcscmp.
14399 * string/test-strcmp.c: Update.
14400 (WIDE): New define.
14401
9be9bfcc
AS
144022011-07-22 Andreas Schwab <schwab@redhat.com>
14403
14404 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14405 line.
14406
2e96f1c7
AS
144072011-07-26 Andreas Schwab <schwab@redhat.com>
14408
14409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14410 encoding to ACE if AI_IDN.
14411
85188888
JJ
144122011-08-01 Jakub Jelinek <jakub@redhat.com>
14413
14414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14415 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14416
5fa16e9b
LD
144172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14418
14419 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14420 Fix overflow bug in strncat.
14421 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14422
14423 * string/test-strncat.c: Update.
14424 Add new tests for checking overflow bugs.
14425
144262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14427
14428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14429 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14430 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14431 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14432 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14433 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14434 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14435 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14436 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14437
14438 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14439 (USE_AS_STRCAT): Define.
14440 Add strcat and strncat support.
14441 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14442
8c1a459f
AS
144432011-07-25 Andreas Schwab <schwab@redhat.com>
14444
14445 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14446 __n bigger than INT_MAX+1.
14447 (__strncmp_g): Likewise.
14448
bba33c28
UD
144492011-07-23 Ulrich Drepper <drepper@gmail.com>
14450
798be72d
UD
14451 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14452 * libio/stido.h: Likewise.
14453
8accd4dc
UD
14454 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14455 (AF_NFC): Define.
14456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14457 (AF_NFC): Define.
14458
cbff0d96
UD
14459 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14460 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14461 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14462 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14463 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14464
9191c04a
UD
14465 [BZ #13021]
14466 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14467 installed.
14468
bba33c28
UD
14469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14470 typo.
14471 (_dl_x86_64_save_sse): Likewise.
14472
90f139dd
UD
144732011-07-22 Ulrich Drepper <drepper@gmail.com>
14474
1aae088a
UD
14475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14476 OSXSAVE.
14477 (_dl_x86_64_save_sse): Likewise.
14478
8e2045f5
UD
14479 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14480
90f139dd
UD
14481 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14482
1d002f25
AS
144832011-07-21 Andreas Schwab <schwab@redhat.com>
14484
14485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14486 change.
14487 (_dl_x86_64_save_sse): Use correct AVX check.
14488
21137f89
UD
144892011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14490
14491 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14492 bug in strncpy/strncat.
14493 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14494
a65c0b7a
UD
144952011-07-21 Ulrich Drepper <drepper@gmail.com>
14496
14497 * string/tester.c (test_strcat): Add tests for different alignments
14498 of source and destination.
14499 (test_strncat): Likewise.
14500
6986b98a
UD
145012011-07-20 Ulrich Drepper <drepper@gmail.com>
14502
90bb2039
UD
14503 [BZ #12852]
14504 * posix/glob.c (glob): Check passed in values before using them in
14505 expressions to avoid some overflows.
14506 (glob_in_dir): Likewise.
14507
5644ef54
UD
14508 [BZ #13007]
14509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14510 check for AVX enablement so that we don't crash with old kernels and
14511 new hardware.
14512 * elf/tst-audit4.c: Add same checks here.
14513 * elf/tst-audit6.c: Likewise.
14514
14515 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14516
bfc9dc9b
AS
145172011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14518
14519 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14520
702e64bb
UD
145212011-07-20 Ulrich Drepper <drepper@gmail.com>
14522
14523 * po/cs.po: Update from translation team.
14524 * po/bg.po: Likewise.
14525
295e904f
MP
145262011-07-12 Marek Polacek <mpolacek@redhat.com>
14527
14528 * misc/sys/cdefs.h: Add support for const attribute.
14529 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14530 to gnu_dev_{major,minor,makedev} functions.
14531
3ff94596
MP
145322011-07-20 Marek Polacek <mpolacek@redhat.com>
14533
14534 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14535
28b59fca
AS
145362011-07-20 Andreas Schwab <schwab@redhat.com>
14537
14538 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14539 strlen results.
14540
19df733e
AK
145412011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14542
14543 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14544 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14545 register in order to avoid conflicts with the soft frame pointer
14546 being held in r11 when necessary.
14547 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14548 (INTERNAL_VSYSCALL_NCS): Likewise.
14549
c8835729
MP
145502011-07-14 Marek Polacek <mpolacek@redhat.com>
14551
14552 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14553 * elf/dl-fini.c (_dl_fini): Adjust caller.
14554 * elf/dl-close.c (_dl_close_worker): Likewise.
14555 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14556
b902330c
MP
145572011-07-15 Marek Polacek <mpolacek@redhat.com>
14558
8991e135
MP
14559 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14560 "aux_cache->nlibs < 0".
14561
b902330c
MP
14562 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14563 in the reload-count case.
14564
99710781
LD
145652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14566
14567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14568 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14569 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14570 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14571 * sysdeps/x86_64/multiarch/strcat.S: New file.
14572 * sysdeps/x86_64/multiarch/strncat.S: New file.
14573 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14574 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14575 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14576 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14577 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14578 (USE_AS_STRCAT): Define.
14579 Add strcat and strncat support.
14580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14581 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14582 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14583 * string/strncat.c: Update.
14584 (USE_AS_STRNCAT): Define.
14585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14586 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14587 and i7.
14588 * sysdeps/x86_64/multiarch/init-arch.h
14589 (bit_Prefer_PMINUB_for_stringop): New.
14590 (index_Prefer_PMINUB_for_stringop): Likewise.
14591 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14592 bit_Prefer_PMINUB_for_stringop.
14593
7dc6bd90
UD
145942011-07-19 Ulrich Drepper <drepper@gmail.com>
14595
14596 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14597 buffer64.
14598 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14599 of casting of buffer.
14600 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14601 buffer32 and buffer64.
14602 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14603 writes instead of casting of buffer.
14604 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14605 buffer32.
14606 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14607 casting of buffer.
14608
e0e72284
AS
146092011-07-19 Andreas Schwab <schwab@redhat.com>
14610
14611 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14612
feb1eb0b
UD
146132011-07-19 Ulrich Drepper <drepper@gmail.com>
14614
14615 * nscd/nscd.c (termination_handler): Don't do anything for a database
14616 if it has not yet been initialized.
14617
298711ff
UD
146182011-07-18 Ulrich Drepper <drepper@gmail.com>
14619
14620 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14621
146222011-07-15 Marek Polacek <mpolacek@redhat.com>
14623
14624 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14625
f9d68389
UD
146262011-07-18 Ulrich Drepper <drepper@gmail.com>
14627
14628 * po/nl.po: Update from translation team.
14629 * po/sv.po: Likewise.
14630
db290cf5
RM
146312011-07-16 Roland McGrath <roland@hack.frob.com>
14632
14633 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14634 now disallowed by GCC.
5c550700 14635
fd5e21c7
RM
14636 * configure.in (use-default-link): Default to yes if a test -shared
14637 link meets our qualifications.
14638 * configure: Regenerated.
14639
5c550700
RM
14640 * config.make.in (output-format): New variable.
14641 * configure.in: Check for ld --print-output-format support.
14642 * configure: Regenerated.
14643 * Makerules ($(common-objpfx)format.lds)
14644 [$(output-format) != unknown]: Just use $(output-format),
14645 instead of the linker-script munging.
14646
9fa2c032
RM
146472011-07-14 Roland McGrath <roland@hack.frob.com>
14648
a6928d51
RM
14649 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14650 of $(common-objpfx)shlib.lds.
14651 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14652
661607b3
RM
14653 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14654 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14655
9fa2c032
RM
14656 * configure.in (-z relro check): Adjust test code to add a large
14657 writable data section after it.
14658 * configure: Regenerated.
14659
defe9061
RM
146602011-07-11 Roland McGrath <roland@hack.frob.com>
14661
14662 * configure.in (-z relro check): Fix test code to make the variable
14663 truly const.
14664 * configure: Regenerated.
14665
319b9ad4
UD
146662011-07-11 Ulrich Drepper <drepper@gmail.com>
14667
14668 * nscd/nscd.h (struct traced_file): Define.
14669 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14670 elements. Add traced_files.
14671 (inotify_fd): Declare.
14672 (register_traced_file): Declare.
14673 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14674 (inotify_fd): Export.
14675 (resolv_conf_descr): Remove.
14676 (nscd_init): Move inotify descriptor creation to main.
14677 Don't register files for notification here.
14678 (register_traced_file): New function.
14679 (invalidate_cache): Don't use reset_res to determine whether to call
14680 res_init, go through the list of registered files.
14681 (main_loop_poll): The inotify descriptors are now stored in the
14682 structures for the traced files.
14683 (main_loop_epoll): Likewise
14684 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14685 to __nss_disable_nscd.
14686 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14687 for a database anymore. Check the records for all the registered
14688 files instead.
14689 * nss/Makefile (libnss_files-routines): Add files-init.
14690 (libnss_db-routines): Add db-init.
14691 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14692 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14693 * nss/nss_db/db-init.c: New file.
14694 * nss/nss_files/files-init.c: New file.
14695 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14696 __nss_lookup_function.
14697 (__nss_lookup_function): Call nss_load_library.
14698 (nss_load_all_libraries): New function.
14699 (__nss_disable_nscd): Take parameter with callback function for files
14700 to register. Set is_nscd. Load all the DSOs for the NSS modules
14701 used for the cached services.
14702 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14703 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14704 options for features to all the files in nscd.
14705
14706 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14707
23bee3e8
RM
147082011-07-10 Roland McGrath <roland@hack.frob.com>
14709
14710 * csu/elf-init.c (__libc_csu_init): Comment typo.
14711
46a5b7f0
UD
147122011-07-09 Ulrich Drepper <drepper@gmail.com>
14713
14714 * po/pl.po: Update from translation team.
14715 * po/ja.po: Likewise.
14716 * po/ru.po: Likewise.
14717 * po/ko.po: Likewise.
14718 * po/fr.po: Likewise.
14719
d30cf5bb
RM
147202011-07-09 Roland McGrath <roland@hack.frob.com>
14721
113ddea4
RM
14722 * configure.in (.ctors/.dtors header and trailer check):
14723 Use an empirical test on a built program.
14724 * configure: Regenerated.
14725
574920b4
RM
14726 * configure.in (-z relro check): Use an empirical test on a built DSO.
14727 Detect, but do not require, on ia64.
14728 * configure: Regenerated.
14729
d30cf5bb
RM
14730 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14731 Update tests that use readelf to use $READELF instead.
14732 * configure: Regenerated.
14733
8538fdb3
UD
147342011-07-08 Ulrich Drepper <drepper@gmail.com>
14735
14736 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14737 if the result is not used.
14738
04d08991
AJ
147392011-07-05 Andreas Jaeger <aj@suse.de>
14740
14741 [BZ#9696]
14742 * stdlib/tst-strtod.c: Add testcase.
14743
de283087
AD
147442011-07-07 Ulrich Drepper <drepper@gmail.com>
14745
4e5f31c8 14746 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14747 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14748 The latter has a higher limit. Take additional parameter to pass to
14749 the new function.
14750 (__pathconf): Pass file to __statfs_link_max.
14751 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14752 __statfs_link_max.
14753 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14754 __statfs_link_max.
14755
de283087
AD
14756 [BZ #12868]
14757 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14759 Handle Lustre.
14760 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14761 (__statfs_filesize_max): Likewise.
14762 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14763
c75fa153
AJ
147642011-07-05 Andreas Jaeger <aj@suse.de>
14765
14766 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14767
1a544854
UD
147682011-07-06 Marek Polacek <mpolacek@redhat.com>
14769
14770 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14771 `status' variable.
14772 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14773 Likewise.
14774
6f0eec67
UD
147752011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14776
14777 * Makefile (strop-tests): Add strncat.
14778 * string/test-strncat.c: New file.
14779
aae30307
UD
147802011-06-30 Marek Polacek <mpolacek@redhat.com>
14781
14782 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14783
c0cfb5eb
UD
147842011-06-21 Andreas Jaeger <aj@suse.de>
14785
14786 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14787 Copy rule from iconvdata/Makefile.
14788
01636b21
UD
147892011-07-06 Ulrich Drepper <drepper@gmail.com>
14790
14791 [BZ #12922]
14792 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14793 but no long options are defined, just return 'W'.
14794
9895c8bc
UD
147952011-06-22 Marek Polacek <mpolacek@redhat.com>
14796
14797 [BZ #9696]
14798 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14799
5d4cf042
UD
148002011-07-06 Ulrich Drepper <drepper@gmail.com>
14801
14802 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14803 netgroups to read.
960e5535 14804 (innetgr): Likewise.
5d4cf042 14805
751eb97e
RM
148062011-07-05 Roland McGrath <roland@hack.frob.com>
14807
14808 * config.make.in (install_root): Default to $(DESTDIR).
14809
f15f1e45
UD
148102011-07-05 Ulrich Drepper <drepper@gmail.com>
14811
14812 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14813
4e34ac6a
RM
148142011-07-02 Roland McGrath <roland@hack.frob.com>
14815
5e9b6af4
RM
14816 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14817
84f9ea0f
RM
14818 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14819 containing directory rather than embedding absolute directory names.
14820
ea5ee9f7
RM
14821 * scripts/check-local-headers.sh: Rewritten using awk.
14822 Match by word, not by line. Print error messages for matches.
14823 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14824
1b74661a
RM
14825 * Makerules [shlib-lds-flags empty]:
14826 ($(common-objpfx)libc_pic.opts): New target.
14827 ($(common-objpfx)libc_pic.os.clean): New target.
14828 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14829
14830 * config.make.in (OBJCOPY): New variable.
14831 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14832 * configure: Regenerated.
14833
f781ef40
RM
14834 * config.make.in (use-default-link): New variable.
14835 * configure.in (use_default_link): Grok --with-default-link to set it.
14836 * configure: Regenerated.
14837 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14838 (shlib-lds, shlib-lds-flags): Define to empty.
14839
2d4fa81e
RM
14840 * Makerules (shlib-lds): New variable.
14841 (shlib-lds-flags): New variable.
14842 (build-shlib, build-moduile, build-module-asneeded): Use it.
14843 ($(common-objpfx)libc.so): Use $(shlib-lds).
14844 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14845 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14846
31fffa6b
RM
14847 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14848 DT_FLAGS/DT_FLAGS_1 with zero flags.
14849
4e34ac6a
RM
14850 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14851 linker script munging.
14852
fcfc776b
UD
148532011-07-02 Ulrich Drepper <drepper@gmail.com>
14854
14855 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14856 as 128-bit value.
14857 * crypt/sha512.c (sha512_process_block): Perform total addition using
14858 128-bit if possible.
14859 (__sha512_finish_ctx): Likewise.
14860 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14861 as 64-bit value.
14862 * crypt/sha256.c (SWAP64): Define.
14863 (sha256_process_block): Perform total addition using 64-bit if
14864 possible.
14865 (__sha256_finish_ctx): Likewise.
14866
99231d9a
UD
148672011-07-01 Ulrich Drepper <drepper@gmail.com>
14868
14869 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14871 * nscd/hstcache.c (cache_addhst): Likewise.
14872 * nscd/grpcache.c (cache_addgr): Likewise.
14873 * nscd/aicache.c (addhstaiX): Likewise
14874 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14875
445b4a53
TK
148762011-07-01 Thorsten Kukuk <kukuk@suse.de>
14877
14878 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14879 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14880 * nscd/hstcache.c (cache_addhst): Likewise.
14881 * nscd/grpcache.c (cache_addgr): Likewise.
14882 * nscd/aicache.c (addhstaiX): Likewise
14883
6d4d8e8e
AS
148842011-07-01 Andreas Schwab <schwab@redhat.com>
14885
14886 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14887 domain only when needed.
14888
89f654c5
AS
148892011-06-30 Andreas Schwab <schwab@redhat.com>
14890
14891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14892 is always restored.
14893
cf3b23ff
UD
148942011-06-29 Ulrich Drepper <drepper@gmail.com>
14895
14896 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14897 are re-adding the entry.
14898 * nscd/servicescache.c (cache_addserv): Likewise.
14899
751626f9
AJ
149002011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14901
14902 * sysdeps/generic/dl-irel.h: fix protection against multiple
14903 inclusions.
14904 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14905
9113ea1f
UD
149062011-06-28 Ulrich Drepper <drepper@gmail.com>
14907
5c0b8d90
UD
14908 [BZ #12935]
14909 * malloc/memusage.sh: Fix quoting in message.
14910 * debug/xtrace.sh: Likewise.
14911
9113ea1f
UD
14912 * configure.in: Remove support for --experimental-malloc option, make
14913 it the default.
14914 * config.make.in: Likewise.
14915 * malloc/Makefile: Likewise.
14916
a4172181
AS
149172011-06-27 Andreas Schwab <schwab@redhat.com>
14918
14919 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14920 two-byte characters.
14921
78a7eee7
RM
149222011-06-27 Roland McGrath <roland@hack.frob.com>
14923
62bede13
RM
14924 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14925 AC_CACHE_CHECK invocation.
14926 * configure: Regenerated.
14927
78a7eee7
RM
14928 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14929
5ce33a62
UD
149302011-06-27 Ulrich Drepper <drepper@gmail.com>
14931
034807a9
UD
14932 [BZ #12350]
14933 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14934 bit from old_res_options.
14935
4902da17
UD
14936 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14937
5ce33a62
UD
14938 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14939 value type for setfct.
14940
c2344f56
L
149412011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14942
14943 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14944 __gettimeofday instead of gettimeofday.
14945
68468076
UD
149462011-06-26 Ulrich Drepper <drepper@gmail.com>
14947
14948 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14949
acb0d739
L
149502011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14951
14952 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14953
14954 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14955 info.
14956
8912479f
L
149572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14958
14959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14960 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14961 strcpy-sse2-unaligned strncpy-sse2-unaligned
14962 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14963 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14964 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14965 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14966 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14967 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14968 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14969 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14970 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14971 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14972 (STRCPY): Support SSE2 and SSSE3 versions.
14973
d5495a11
UD
149742011-06-24 Ulrich Drepper <drepper@gmail.com>
14975
14976 [BZ #12874]
14977 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14978 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14979 kernels which artificially limit size of requests.
14980
0b1cbaae
L
149812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14982
14983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14984 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14985 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14986 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14987 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14988 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14989 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14990 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14991 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14992 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14993 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14994 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14995 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14996 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14997 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14999 Enable unaligned load optimization for Intel Core i3, i5 and i7
15000 processors.
15001 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15002 Define.
15003 (index_Fast_Unaligned_Load): Define.
15004 (HAS_FAST_UNALIGNED_LOAD): Define.
15005
07f494a0
MP
150062011-06-23 Marek Polacek <mpolacek@redhat.com>
15007
15008 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15009
fa3fc0fe
UD
150102011-06-22 Ulrich Drepper <drepper@gmail.com>
15011
15012 [BZ #12907]
15013 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15014 until it is clear that the information is realy needed.
15015 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15016
e12df166
AS
150172011-06-22 Andreas Schwab <schwab@redhat.com>
15018
15019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15020
852eb34d
UD
150212011-06-22 Ulrich Drepper <drepper@gmail.com>
15022
84e2a551
UD
15023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15024 /sys/devices/system/cpu/online if it is usable.
15025
852eb34d
UD
15026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15027 reading the information from the /proc filesystem to once a second.
15028
6e502e19
UD
150292011-06-21 Andreas Jaeger <aj@suse.de>
15030
15031 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15032 NULL after inclusion of kernel headers.
15033
75d39ff2
UD
150342011-06-21 Ulrich Drepper <drepper@gmail.com>
15035
51f9aa6a
UD
15036 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15037 calls to internal_setent.
15038
c0244a9d
UD
15039 [BZ #12885]
15040 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15041 addresses using gethostbyname4_r ignore IPv4 addresses.
15042
c5e3c2ae
UD
15043 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15044 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15045
75d39ff2
UD
15046 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15047
42675c6f
DM
150482011-06-20 David S. Miller <davem@davemloft.net>
15049
15050 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15051 inclusions.
15052 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15053
15054 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15055 (elf_irel): Use it.
15056 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15057 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15058 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15059 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15060 * sysdeps/x86_64/dl-irel.h: Likewise.
15061
15062 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15063 * elf/dl-sym.c: Likewise.
15064
57912a71
UD
150652011-06-15 Ulrich Drepper <drepper@gmail.com>
15066
15067 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15068 need to dereference resplen2.
15069
ee22793d
AS
150702011-06-14 Andreas Schwab <schwab@redhat.com>
15071
15072 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15073
a9e836b0
UD
150742011-06-15 Ulrich Drepper <drepper@gmail.com>
15075
77fb9117
UD
15076 * Makeconfig: Define vardbdir and inst_vardbdir.
15077 * nss/Makefile: Add rules to install db-Makefile.
15078
40c1b22c
UD
15079 * nss/nss_db/db-XXX.c: Cleanup.
15080
9f2da732
UD
15081 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15082 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15083 GLIBC_PRIVATE.
15084 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15085 * nss/makedb.c: Implement -g option to specify that value strings
15086 are generated and should not be added to table iterated over for
15087 get*ent calls.
15088 * nss/nss_db/db-initgroups.c: New file.
15089
82e9a1f7
UD
15090 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15091 interface.
15092
c41af17e
UD
15093 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15094 (internal_getgrouplist): Adjust to name change.
15095 Update use_initgroups_entry if this is not the first call.
15096 * nss/databases.def: Add initgroups entry.
15097
a9e836b0
UD
15098 * nss/makedb.c (compute_tables): Check result of multiple hash table
15099 sizes to minimize maximum chain length.
15100
2666d441
UD
151012011-06-14 Ulrich Drepper <drepper@gmail.com>
15102
15103 * Versions.def: Add entry for libnss_db.
15104 * shlib-versions: Likewise.
15105 * nss/Makefile: Add rules to build libnss_db.
15106 * nss/Versions: Add libnss_db information. Organize libnss_files
15107 entries better.
15108 * nss/db-Makefile: Add gshadow support. Change rules for the new
15109 makedb progra. Some minor improvements to generate smaller files.
15110 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15111 here from...
15112 * nss/makedb.c: ...here.
15113 Improve database format to be smaller and require less memory at
15114 runtime.
15115 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15116 db anymore.
15117 * nss/nss_db/db-netgrp.c: Likewise.
15118 * nss/nss_db/db-open.c: Likewise.
15119 * nss/nss_files/flies-XXX.x: Adjust comments.
15120 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15121 * nss/nss_files/files-grp.c: Likewise.
15122 * nss/nss_files/files-hosts.c: Likewise.
15123 * nss/nss_files/files-network.c: Likewise.
15124 * nss/nss_files/files-proto.c: Likewise.
15125 * nss/nss_files/files-pwd.c: Likewise.
15126 * nss/nss_files/files-rpc.c: Likewise.
15127 * nss/nss_files/files-service.c: Likewise.
15128 * nss/nss_files/files-sgrp.c: Likewise.
15129 * nss/nss_files/files-spwd.c: Likewise.
15130 * nss/nss_db/db-alias.c: Removed.
15131 * nss/nss_db/dummy-db.h: Removed.
15132
9ee76b5a
UD
151332011-06-02 Ulrich Drepper <drepper@gmail.com>
15134
15135 * nss/makedb.c: Rewritten to not use database library.
15136 * nss/Makefile: Update to build new makedb program.
15137
c71ca1f8
AJ
151382011-06-14 Andreas Jaeger <aj@suse.de>
15139
15140 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15141 memset declaration.
15142
3154bfb8
UD
151432011-06-10 Andreas Schwab <schwab@redhat.com>
15144
15145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15146 tmpbuf.
15147
b350afab
RM
151482011-06-10 Roland McGrath <roland@hack.frob.com>
15149
decd4e50
RM
15150 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15151 * elf/Makefile ($(objpfx)ld.so): Likewise.
15152
5615eaf2
RM
15153 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15154 Don't list ld.so twice in dependencies.
15155
15156 * posix/bug-regex31.c: Include <stdlib.h>.
15157
15158 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15159
15160 * nis/nss_compat/compat-spwd.c
15161 (getspent_next_nss_netgr): Remove unused variable.
15162 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15163
15164 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15165 nonmembers" output to use the right array.
15166
15167 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15168
15169 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15170
15171 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15172 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15173 * catgets/gencat.c (read_input_file): Likewise.
15174 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15175
15176 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15177 variable definition inside #if's controlling its use.
15178
15179 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15180
15181 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15182
15183 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15184
15185 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15186 unreachable code.
15187
15188 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15189
b68e08db
RM
15190 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15191 * configure: Regenerated.
15192
b350afab
RM
15193 * Makerules: Revert last change.
15194 * elf/Makefile: Likewise.
15195
28368601
RM
151962011-06-09 Roland McGrath <roland@hack.frob.com>
15197
15198 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15199 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15200 (reloc-link): Likewise.
15201
11988f8f
UD
152022011-06-09 Ulrich Drepper <drepper@gmail.com>
15203
15204 * elf/Makefile: Add rules to build pldd.
15205 * elf/pldd.c: New file.
15206 * elf/pldd-xx.c: New file.
15207
e80fab37
UD
152082011-06-07 Ulrich Drepper <drepper@gmail.com>
15209
15210 * version.h: Update for 2.15 development version.
15211
9b849836
DM
152122011-06-07 David S. Miller <davem@davemloft.net>
15213
15214 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15215 ifuncs.
15216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15217 elf_machine_lazy_rel): Likewise.
15218 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15220 elf_machine_lazy_rel): Likewise.
15221 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15222 dl_hwcap via passed in argument.
15223 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15224 Likewise.
15225
5a31b283
AK
152262011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15227
15228 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15229
069e52f8
RM
152302011-06-06 Roland McGrath <roland@hack.frob.com>
15231
15232 [BZ #12849]
15233 * manual/fdl-1.1.texi: New file, verbatim from:
15234 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15235 * manual/lgpl-2.1.texi: New file, verbatim from:
15236 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15237 * manual/Makefile (licenses): New variable, list those new file names.
15238 (texis): Use it.
15239 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15240
15241 * manual/fdl.texi: File removed.
15242 * manual/lesser.texi: File removed.
15243 * manual/libc.texinfo (Copying, Documentation License):
15244 Use new @include file names, put @appendix directive before @include.
15245
f16846a5
JJ
152462011-06-04 Jakub Jelinek <jakub@redhat.com>
15247
15248 [BZ #12841]
15249 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15250 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15251 (mq_open): Add __NTH.
15252
3d29045b
L
152532011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15254
15255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15256 Assume Intel Core i3/i5/i7 processor if AVX is available.
15257
8c297311
UD
152582011-05-31 Ulrich Drepper <drepper@gmail.com>
15259
15260 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15261 typo.
15262
c8fc0c91
UD
152632011-05-31 Andreas Schwab <schwab@redhat.com>
15264
15265 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15266 memory. Use alloca_account. Fix memory leak when retrying.
15267
5b27a807
UD
152682011-05-31 Ulrich Drepper <drepper@gmail.com>
15269
356f8bc6
UD
15270 * version.h (RELEASE): Bump for 2.14 release.
15271 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15272
5b27a807
UD
15273 * config.make.in (RANLIB): Remove entry.
15274
01f16ab0
UD
152752011-05-30 Ulrich Drepper <drepper@gmail.com>
15276
41fce8bd
UD
15277 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15278 (libc.pot): Work around missing support for .ksh extension in xgettext.
15279
4769ae77
UD
15280 [BZ #12684]
15281 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15282 if both request failed.
15283 (send_dg): In case of server errors clear resplen or *resplen2.
15284
6b1e7d19
UD
15285 [BZ #12454]
15286 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15287 when there are multiple maps.
15288 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15289 (_dl_fini): Remove test here.
15290
01f16ab0
UD
15291 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15292
b1ebd700
UD
152932011-05-29 Ulrich Drepper <drepper@gmail.com>
15294
7ae22829
UD
15295 [BZ #12350]
15296 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15297 bit from old_res_options.
15298 (gaih_inet): Likewise.
15299
553149f6 15300 [BZ #11099]
18a84741 15301 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15302 as signed.
15303
652ffab1
UD
15304 * resolv/res_init.c (res_setoptions): Make the code more compact.
15305
16985fd0
UD
15306 [BZ #11558]
15307 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15308 set RES_USEVC.
15309
0464f746
UD
15310 [BZ #11634]
15311 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15312
7d17596c
UD
15313 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15314
cf6bbbd7
UD
15315 [BZ #11781]
15316 * malloc/malloc.h: Declare malloc hook variables as volatile.
15317
13f1ab36
UD
15318 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15319 in last patch.
15320
b1ebd700
UD
15321 [BZ #11799]
15322 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15323 raise in the comment.
80e2212d
UD
15324 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15325 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15326 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15327
ce67228d
UD
153282011-05-28 Ulrich Drepper <drepper@gmail.com>
15329
8887a920
UD
15330 [BZ #12811]
15331 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15332 grow the buffers more if it already has to be sufficient.
15333 (build_wcs_upper_buffer): Likewise.
15334 * posix/regexec.c (check_matching): Likewise.
15335 (clean_state_log_if_needed): Likewise.
15336 (extend_buffers): Don't enlarge buffers beyond size of the input
15337 buffer.
15338 Patches mostly by Emil Wojak <emil@wojak.eu>.
15339 * posix/bug-regex32.c: New file.
15340 * posix/Makefile (tests): Add bug-regex32.
15341
4f031072
UD
15342 * locale/findlocale.c (_nl_find_locale): Return right away if
15343 _nl_explode_name failed.
15344 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15345
d0478f0c
UD
15346 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15347
de81b246
UD
15348 * debug/xtrace.sh: Unify messages.
15349 * malloc/memusage.sh: Likewise.
15350
c738465a
UD
15351 [BZ #12813]
15352 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15353 time symbol from vDSO. Substitute with vsyscall if not available.
15354 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15355 __vdso_time.
15356
f1f929d7
UD
15357 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15358 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15359 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15360 Add sendmmsg and internal_sendmmsg.
15361 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15362 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15363 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15364
ce67228d
UD
15365 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15366 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15367 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15368
e57420c6
UD
153692011-05-27 Ulrich Drepper <drepper@gmail.com>
15370
a8509ca5
UD
15371 [BZ #12813]
15372 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15373 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15374 available.
15375 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15376 __vdso_getcpu.
15377
e57420c6
UD
15378 [BZ #12814]
15379 * iconvdata/Makefile (tests): Add bug-iconv9.
15380 * iconvdata/bug-iconv9.c: New file.
15381
4d07db15
AS
153822011-05-27 Andreas Schwab <schwab@redhat.com>
15383
15384 [BZ #12814]
15385 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15386
ea486f69
JJ
153872011-05-25 Jakub Jelinek <jakub@redhat.com>
15388
15389 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15390 (struct user_regs_struct): Change intcs field back to cs.
15391
6f038433
UD
153922011-05-25 Ulrich Drepper <drepper@gmail.com>
15393
15394 * po/ja.po: Update from translation team.
15395
67f86a25
UD
153962011-05-23 Ulrich Drepper <drepper@gmail.com>
15397
15398 [BZ #12795]
15399 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15400 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15401
def7fbd6
AS
154022011-05-20 Andreas Schwab <schwab@redhat.com>
15403
15404 * stdlib/longlong.h: Update from GCC.
15405
f50ef8f1
AS
154062011-05-23 Andreas Schwab <schwab@redhat.com>
15407
15408 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15409 parameter name.
15410 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15411 Add parameter name.
15412 (__sysconf): Pass it down.
15413
de7ce8f1
UD
154142011-05-22 Ulrich Drepper <drepper@gmail.com>
15415
f2962a71
UD
15416 [BZ #12671]
15417 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15418 some situations.
15419 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15420 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15421 add in in __libc_use_alloca calls. Adjust callers.
15422 (glob): Use malloc in some situations.
15423
de7ce8f1
UD
15424 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15425 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15426 pltexit.
15427
aec84f53
UD
154282011-05-21 Ulrich Drepper <drepper@gmail.com>
15429
05bb4a68
UD
15430 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15431 and CLOCK_BOOTTIME_ALARM.
15432
7ea72f99
UD
15433 [BZ #12782]
15434 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15435 is returned.
15436
7e4afad5
UD
15437 * string/_strerror.c (__strerror_r): Print negative errors as signed
15438 numbers.
15439
8e211fec
UD
15440 [BZ #12777]
15441 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15442 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15443 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15444
f7d82dc9
UD
15445 * configure.in: Fix typo in redirection and correct removal of test
15446 files in two cases.
15447
cc9e536d
UD
15448 [BZ #12788]
15449 * locale/setlocale.c (new_composite_name): Fix test to check for
15450 identical name of all categories.
15451
aec84f53
UD
15452 [BZ #12792]
15453 * libio/filedoalloc.c (local_isatty): New function.
15454 (_IO_file_doallocate): Use local_isatty.
15455 * stdio-common/perror.c (perror): In case a new stream is used
15456 forward the stream error.
15457 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15458 error flag.
15459
78e64fdc
RT
154602011-05-20 Ulrich Drepper <drepper@gmail.com>
15461
34a9094f
UD
15462 [BZ #11869]
15463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15464 alloca.
15465 * include/alloca.h (extend_alloca_account): Define.
15466
78e64fdc
RT
15467 [BZ #11857]
15468 * posix/regex.h: Fix comments with documentation of user-accessible
15469 fields after compilation and describe correct free'ing of pattern
15470 after re_compile_pattern.
15471 Patch by Reuben Thomas <rrt@sc3d.org>.
15472
457bddfc
RA
154732011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15474
15475 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15476 and -mno-altivec to prevent the compiler from using Altivec and/or
15477 VSX instructions when the corresponding registers are not available.
15478
a4527b51
AS
154792011-05-19 Andreas Schwab <schwab@redhat.com>
15480
15481 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15482
ed690b2f
UD
154832011-05-19 Ulrich Drepper <drepper@gmail.com>
15484
15485 * libio/freopen.c (freopen): Use __dup2, not dup2.
15486 * libio/freopen64.c (freopen64): Likewise.
15487
8db73634
L
154882011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15489
15490 [BZ #12775]
15491 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15492 * math/Makefile (tests): Add test-powl.
15493 (CFLAGS-test-powl.c): Define.
15494 * math/test-powl.c: New file.
15495
0a197a9d
L
154962011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15497
15498 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15499
ee30c380
UD
155002011-05-17 Ulrich Drepper <drepper@gmail.com>
15501
15502 [BZ #11837]
15503 * iconvdata/gb18030.c: Update to GB18020-2005.
15504
6ce75379
UD
155052011-05-16 Ulrich Drepper <drepper@gmail.com>
15506
a4b89fd8
AR
15507 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15508 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15509 Patch by Aharon Robbins <arnold@skeeve.com>.
15510
ea389b12
UD
15511 [BZ #11892]
15512 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15513 on the stack.
15514
68a3f91f
UD
15515 [BZ #11895]
15516 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15517 through underflows.
15518
15cc7dd1
UD
15519 [BZ #12766]
15520 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15521 point to strings before performing equality test for error_one_per_line
15522 mode.
15523
f3799213
UD
15524 [BZ #11697]
15525 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15526
d79a9c94
UD
15527 [BZ #11820]
15528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15529 (struct user_fpregs_struct): Avoid __uint*_t types.
15530
56e5eb46
UD
15531 [BZ #6420]
15532 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15533 symbol info. Use it instead of calling _dl_addr locally.
15534 (lock_and_info): New function.
15535 (tr_freehook): Call lock_and_info and pass symbol info as additional
15536 parameter to tr_where.
15537 (tr_mallochook): Likewise.
15538 (tr_reallochook): Likewise.
15539 (tr_memalignhook): Likewise.
15540
6ce75379
UD
15541 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15542 used and couldn't be at all thread-safe.
15543
f8a3b5bf
UD
155442011-05-15 Ulrich Drepper <drepper@gmail.com>
15545
94b7cc37
UD
15546 * libio/freopen.c (freopen): Don't close old file descriptor
15547 before the new one is opened. Instead dup the new file descriptor
15548 to the old one after the new stream is created.
15549 * libio/freopen64.c (freopen64): Likewise.
15550 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15551 * libio/fileops.c (_IO_new_file_close_it): Handle new
15552 _IO_FLAGS2_NOCLOSE flag.
15553 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15554 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15555 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15556 _IO_FLAGS2_NOCLOSE flag.
15557 * include/unistd.h: Add hidden_proto for dup3.
15558 Define __have_dup3.
15559 * io/dup3.c: Define hidden symbol.
15560 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15561
bd25564e
UD
15562 [BZ #7101]
15563 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15564 when an incomplete long option is used.
15565 * posix/tst-getopt_long1.c: New file.
15566 * posix/Makefile (tests): Add tst-getopt_long1.
15567
c84cfef4
UD
15568 [BZ #10138]
15569 * scripts/config.guess: Update from autoconf-2.68.
15570 * scripts/config.sub: Likewise.
15571
3b85df27
UD
15572 [BZ #10157]
15573 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15574 tests into ...
15575 (has_cpuclock): ...this. New function.
15576 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15577 macro here based on has_cpuclock code.
15578
15a856b1
UD
15579 [BZ #10149]
15580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15581 First byte (not low byte) is now always NUL.
15582 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15583
05f399e6
UD
15584 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15585 Use non-cancelable interfaces.
15586
10a52685 15587 [BZ #9809]
94ecc67d
UD
15588 * locale/iso-639.def: Add entry for Sorani.
15589
f8a3b5bf
UD
15590 [BZ #11901]
15591 * include/stdlib.h: Move include protection to the right place.
15592 Define abort_msg_s. Declare __abort_msg with it.
15593 * stdlib/abort.c (__abort_msg): Adjust type.
15594 * assert/assert.c (__assert_fail_base): New function. Majority
15595 of code from __assert_fail. Allocate memory for __abort_msg with
15596 mmap.
15597 (__assert_fail): Now call __assert_fail_base.
15598 * assert/assert-perr.c: Remove bulk of implementation. Use
15599 __assert_fail_base.
15600 * include/assert.hL Declare __assert_fail_base.
15601 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15602 mmap.
15603 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15604
1af4e298
UD
156052011-05-14 Ulrich Drepper <drepper@gmail.com>
15606
f8a3b5bf 15607 [BZ #11952]
d26dfc60
MG
15608 [BZ #12453]
15609 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15610 until all modules are registered in the DTV.
15611 * elf/Makefile: Add rules to build and run tst-tls19.
15612 * elf/tst-tls19.c: New file.
15613 * elf/tst-tls19mod1.c: New file.
15614 * elf/tst-tls19mod2.c: New file.
15615 * elf/tst-tls19mod3.c: New file.
15616 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15617
2fc54d6f
UD
15618 [BZ #12083]
15619 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15620 correctly.
15621
98d76b46
UD
15622 [BZ #12601]
15623 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15624 two-byte sequence errors.
15625 * iconvdata/Makefile (tests): Add bug-iconv8.
15626 * iconvdata/bug-iconv8.c: New file.
15627
da3c19ef
UD
15628 [BZ #12626]
15629 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15630 buf2 definition.
15631
ca408c15
UD
15632 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15633
d6f67f7d
UD
15634 [BZ #12432]
15635 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15636 (dummy_getcfa): New function.
15637 (init): Get _Unwind_GetCFA address, use dummy if not found.
15638 (backtrace_helper): In recursion check, also check whether CFA changes.
15639 (__backtrace): Completely initialize arg.
15640
1af4e298 15641 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15642 storing incomplete byte sequence in state object. Avoid testing for
15643 guaranteed too small input if we know there is enough data available.
1af4e298 15644
da62f81b
AS
156452011-05-11 Andreas Schwab <schwab@redhat.com>
15646
15647 * Makeconfig (+link-pie): Indent.
15648 * Rules (binaries-pie): Define if $(have-fpie) and
15649 $(build-shared).
15650 (binaries-shared): Also filter out $(binaries-pie).
15651 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15652 * nscd/Makefile (others-pie): Add nscd.
15653 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15654 ($(objpfx)nscd): Remove command override.
15655 * login/Makefile (others-pie): Add pt_chown.
15656 ($(objpfx)pt_chown): Remove command override.
15657 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15658 remove command overrides.
15659
fcabc0f8
UD
156602011-05-13 Ulrich Drepper <drepper@gmail.com>
15661
20030ae6
UD
15662 * libio/tst_putwc.c: Fix error messages.
15663
fcabc0f8
UD
15664 [BZ #12724]
15665 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15666 currently writing and seek to current position when not.
15667 * libio/Makefile (tests): Add bug-fclose1.
15668 * libio/bug-fclose1.c: New file.
15669
320a5dc0
PB
156702011-05-12 Ulrich Drepper <drepper@gmail.com>
15671
15672 [BZ #12511]
15673 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15674 don't set DF_1_NODELETE here.
15675 (do_lookup_x): When entering new entry test for copy relocation
15676 and if necessary set DF_1_NODELETE flag.
15677 * elf/tst-unique4.cc: New file.
15678 * elf/tst-unique4.h: New file.
15679 * elf/tst-unique4lib.cc: New file.
15680 * elf/Makefile: Add rules to build and run tst-unique4.
15681 Patch by Piotr Bury <pbury@goahead.com>.
15682
22836f52
UD
156832011-05-11 Ulrich Drepper <drepper@gmail.com>
15684
f574184a
UD
15685 [BZ #12052]
15686 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15687
e1fb097f
UD
15688 [BZ #12625]
15689 * misc/mntent_r.c (addmntent): Flush the stream after the output
15690
22836f52
UD
15691 [BZ #12393]
15692 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15693 (is_trusted_path_normalize): Skip initial colon. Append slash
15694 to empty buffer. Duplicate is_trusted_path code but allow
15695 constructed patch to be prefix.
15696 (is_dst): Allow $ORIGIN followed by /.
15697 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15698 Correct testing of result of is_trusted_path_normalize
15699 (decompose_rpath): Fix warning.
15700
7b3b0b2a
UD
157012011-05-10 Ulrich Drepper <drepper@gmail.com>
15702
15703 [BZ #11257]
15704 * grp/initgroups.c (internal_getgrouplist): When we found the service
15705 list through the initgroups entry in nsswitch.conf do not always
15706 continue on a successful lookup. Don't always use the
eac80ce2 15707 __nss_group_database value if it is set.
7b3b0b2a
UD
15708 * nss/nsswitch.conf (initgroups): Change action for successful db
15709 lookup to continue for compatibility.
15710
2a81eaa5
UD
157112011-05-09 Ulrich Drepper <drepper@gmail.com>
15712
be97a69e
UD
15713 [BZ #11532]
15714 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15715 and CP774 modules.
15716 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15717 and CP774 modules.
15718 * iconvdata/tst-tables.sh: Likewise.
15719 * iconvdata/cp770.c: New file.
15720 * iconvdata/cp771.c: New file.
15721 * iconvdata/cp772.c: New file.
15722 * iconvdata/cp773.c: New file.
15723 * iconvdata/cp774.c: New file.
15724 * iconvdata/testdata/CP770: New file.
15725 * iconvdata/testdata/CP770..UTF8: New file.
15726 * iconvdata/testdata/CP771: New file.
15727 * iconvdata/testdata/CP771..UTF8: New file.
15728 * iconvdata/testdata/CP772: New file.
15729 * iconvdata/testdata/CP772..UTF8: New file.
15730 * iconvdata/testdata/CP773: New file.
15731 * iconvdata/testdata/CP773..UTF8: New file.
15732 * iconvdata/testdata/CP774: New file.
15733 * iconvdata/testdata/CP774..UTF8: New file.
15734
15735 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15736 END CHARMAP line.
15737 * iconvdata/gen-8bit-gap.sh: Likewise.
15738 * iconvdata/gen-8bit.sh: Likewise.
15739
c1e9e399
UD
15740 * locale/iso-639.def: Add ary entry.
15741
24c55fb3 15742 [BZ #11258]
96b4b1b0
UD
15743 * locale/C-translit.h.in: Add U20A1 transliteration.
15744
bdc2f971
KB
15745 [BZ #12178]
15746 * locale/iso-639.def: Add wae entry.
15747 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15748
2952b117
UD
15749 [BZ #12545]
15750 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15751 for n.
15752
2a81eaa5
UD
15753 [BZ #12711]
15754 * locale/C-translit.h.in: Add entry for U20B9.
15755 Patch by pravin.d.s@gmail.com.
15756
28377d1b
UD
157572011-05-08 Ulrich Drepper <drepper@gmail.com>
15758
7fb90fb8
UD
15759 [BZ #12713]
15760 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15761 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15762 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15763 in rtld. Use *stat64.
7fb90fb8 15764 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15765 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15766 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15767 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15768 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15769 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15770 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15771 __fstatat64 macros.
7fb90fb8
UD
15772 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15773 * dirent/rewinddir.c: Add libc_hidden_def.
15774 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15775 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15776
28377d1b
UD
15777 * include/dirent.h (__alloc_dir): Add flags parameter.
15778 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15779 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15780 __alloc_dir.
15781 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15782 from fdopendir if O_CLOEXEC is already set.
15783
66bdbaa4
AM
157842011-03-15 Alan Modra <amodra@gmail.com>
15785
15786 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15787 l_tls_firstbyte_offset non-zero. Save padding offset in
15788 l_tls_firstbyte_offset for later use.
15789 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15790 freeing static tls block.
15791
95721191
JN
157922011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15793
15794 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15795 where #ifdef was intended. The intent is to prevent ARG_MAX from
15796 being defined by the kernel headers.
15797
f87dfb1f
UD
157982011-05-07 Ulrich Drepper <drepper@gmail.com>
15799
15800 [BZ #12734]
15801 * resolv/resolv.h: Define RES_NOTLDQUERY.
15802 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15803 no-tld-query and set RES_NOTLDQUERY.
15804 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15805 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15806 modern BIND to search name as TLD unless forbidden.
15807
47c3cd7a
UD
158082011-05-07 Petr Baudis <pasky@suse.cz>
15809 Ulrich Drepper <drepper@gmail.com>
15810
15811 [BZ #12393]
15812 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15813 (is_trusted_path): ...to here.
c1e9ea35 15814 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15815 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15816 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15817
8a35c912
PP
158182011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15819
15820 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15821 __BEGIN/__END_DECLS.
15822
acd41f47
UD
158232011-05-06 Ulrich Drepper <drepper@gmail.com>
15824
15825 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15826 NSS_STATUS_NOTFOUND if no record was found.
15827
597df647
AS
158282011-05-05 Andreas Schwab <schwab@redhat.com>
15829
15830 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15831 (headers-not-in-tirpc): Remove rpc/netdb.h
15832 * resolv/netdb.h: Revert last change.
15833
b9af1301
PP
158342011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15835
15836 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15837 circular dependency between libgcc.a and libc.a.
15838
4e34d5f5
AS
158392011-05-05 Andreas Schwab <schwab@redhat.com>
15840
15841 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15842 * nis/Makefile: Don't install rpcsvc/*.
15843 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15844 instead of <rpc/types.h>.
15845 (MAXHOSTNAMELEN): Define.
15846
00ee369c
AS
158472011-05-03 Andreas Schwab <schwab@redhat.com>
15848
15849 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15850
0b592a30
MB
158512011-04-28 Maciej Babinski <mbabinski@google.com>
15852
15853 [BZ #12714]
15854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15855 gethostbyname4_r when IPv6 results are possible.
15856
6e04cbbe
UD
158572011-05-02 Ulrich Drepper <drepper@gmail.com>
15858
15859 [BZ #12723]
15860 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15861 _PC_PIPE_BUF handling.
15862
e4ecafe0
BH
158632011-04-30 Bruno Haible <bruno@clisp.org>
15864
15865 [BZ #12717]
15866 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15867 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15868 to 'int'.
15869 * inet/getnameinfo.c (getnameinfo): Likewise.
15870
125ee683
UD
158712011-04-29 Ulrich Drepper <drepper@gmail.com>
15872
15873 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15874 to groups setting in database lookup.
15875 * nss/nsswitch.conf: Add initgroups entry.
15876
b722481a
EB
158772011-04-22 Ulrich Drepper <drepper@gmail.com>
15878
15879 [BZ #12685]
15880 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15881 mode string.
15882 Patch by Eric Blake <eblake@redhat.com>.
15883
4df46dbd
L
158842011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15885
15886 * sunrpc/Makefile (need-export-routines): Add svc_run.
15887 (routines): Remove svc_run.
15888 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15889 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15890 * sunrpc/svc_run.c (svc_run): Likewise.
15891 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15892
e84142d2
UD
158932011-04-21 Ulrich Drepper <drepper@gmail.com>
15894
15895 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15896 problem in reallocation in last patch.
15897
877175d8
UD
158982011-04-20 Ulrich Drepper <drepper@gmail.com>
15899
15900 * sunrpc/Makefile: Move inclusion of Rules.
15901
ab8eed78
UD
159022011-04-19 Ulrich Drepper <drepper@gmail.com>
15903
15904 * nss/nss_files/files-initgroups.c: New file.
15905 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15906 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15907 _nss_files_initgroups_dyn.
15908
e3d8f584
RS
159092011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15910
15911 * elf/elf.h (R_ARM_IRELATIVE): Define.
15912
af190f45
UD
159132011-04-19 Ulrich Drepper <drepper@gmail.com>
15914
15915 * po/ru.po: Update from translation team.
15916
53cf59ef
UD
159172011-04-17 Ulrich Drepper <drepper@gmail.com>
15918
15919 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15920 dependencies.
15921
4c559bcd
MF
159222011-02-06 Mike Frysinger <vapier@gentoo.org>
15923
15924 [BZ #12653]
15925 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15926 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15927 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15928 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15929 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15930
4420675c
AS
159312011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15932
15933 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15934 differing bytes.
15935 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15936 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15938
75ea32ab
UD
159392011-04-17 Ulrich Drepper <drepper@gmail.com>
15940
15941 [BZ #12420]
15942 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15943 storing it.
15944 * stdlib/bug-getcontext.c: New file.
15945 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15946
27390476
AK
159472011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15948
15949 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15950 instructions into .machine "z9-109".
15951 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15952 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15953
10442705
AK
159542011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15955
15956 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15957 between environment variables and auxiliary vector.
15958
7b57bfe5
UD
159592011-04-16 Ulrich Drepper <drepper@gmail.com>
15960
15961 * Makefile: Add rules to build linkobj/libc.so.
15962 * include/libc-symbols.h: Define libc_hidden_nolink.
15963 * include/rpc/auth.h: Mark functions which are to be hidden.
15964 * include/rpc/auth_des.h: Likewise.
15965 * include/rpc/auth_unix.h: Likewise.
15966 * include/rpc/clnt.h: Likewise.
15967 * include/rpc/des_crypt.h: Likewise.
15968 * include/rpc/key_prot.h: Likewise.
15969 * include/rpc/pmap_clnt.h: Likewise.
15970 * include/rpc/pmap_prot.h: Likewise.
15971 * include/rpc/pmap_rmt.h: Likewise.
15972 * include/rpc/rpc_msg.h: Likewise.
15973 * include/rpc/svc.h: Likewise.
15974 * include/rpc/svc_auth.h: Likewise.
15975 * include/rpc/xdr.h: Likewise.
15976 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15977 * nss/Makefile: Likewise.
15978 * sunrpc/Makefile: Don't install headers. Build library with normal
15979 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15980 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15981 for the compat linking library. Remove use of INTDEF/INTUSE.
15982 * sunrpc/auth_none.c: Likewise.
15983 * sunrpc/auth_unix.c: Likewise.
15984 * sunrpc/authdes_prot.c: Likewise.
15985 * sunrpc/authuxprot.c: Likewise.
15986 * sunrpc/clnt_gen.c: Likewise.
15987 * sunrpc/clnt_perr.c: Likewise.
15988 * sunrpc/clnt_raw.c: Likewise.
15989 * sunrpc/clnt_simp.c: Likewise.
15990 * sunrpc/clnt_tcp.c: Likewise.
15991 * sunrpc/clnt_udp.c: Likewise.
15992 * sunrpc/clnt_unix.c: Likewise.
15993 * sunrpc/des_crypt.c: Likewise.
15994 * sunrpc/des_soft.c: Likewise.
15995 * sunrpc/get_myaddr.c: Likewise.
15996 * sunrpc/key_call.c: Likewise.
15997 * sunrpc/key_prot.c: Likewise.
15998 * sunrpc/netname.c: Likewise.
15999 * sunrpc/pm_getmaps.c: Likewise.
16000 * sunrpc/pm_getport.c: Likewise.
16001 * sunrpc/pmap_clnt.c: Likewise.
16002 * sunrpc/pmap_prot.c: Likewise.
16003 * sunrpc/pmap_prot2.c: Likewise.
16004 * sunrpc/pmap_rmt.c: Likewise.
16005 * sunrpc/publickey.c: Likewise.
16006 * sunrpc/rpc_cmsg.c: Likewise.
16007 * sunrpc/rpc_common.c: Likewise.
16008 * sunrpc/rpc_dtable.c: Likewise.
16009 * sunrpc/rpc_prot.c: Likewise.
16010 * sunrpc/rpc_thread.c: Likewise.
16011 * sunrpc/rtime.c: Likewise.
16012 * sunrpc/svc.c: Likewise.
16013 * sunrpc/svc_auth.c: Likewise.
16014 * sunrpc/svc_authux.c: Likewise.
16015 * sunrpc/svc_raw.c: Likewise.
16016 * sunrpc/svc_run.c: Likewise.
16017 * sunrpc/svc_simple.c: Likewise.
16018 * sunrpc/svc_tcp.c: Likewise.
16019 * sunrpc/svc_udp.c: Likewise.
16020 * sunrpc/svc_unix.c: Likewise.
16021 * sunrpc/svcauth_des.c: Likewise.
16022 * sunrpc/xcrypt.c: Likewise.
16023 * sunrpc/xdr.c: Likewise.
16024 * sunrpc/xdr_array.c: Likewise.
16025 * sunrpc/xdr_float.c: Likewise.
16026 * sunrpc/xdr_intXX_t.c: Likewise.
16027 * sunrpc/xdr_mem.c: Likewise.
16028 * sunrpc/xdr_rec.c: Likewise.
16029 * sunrpc/xdr_ref.c: Likewise.
16030 * sunrpc/xdr_sizeof.c: Likewise.
16031 * sunrpc/xdr_stdio.c: Likewise.
16032
e6c61494
UD
160332011-04-10 Ulrich Drepper <drepper@gmail.com>
16034
16035 [BZ #12650]
16036 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16037 * sysdeps/ia64/dl-tls.h: Likewise.
16038 * sysdeps/powerpc/dl-tls.h: Likewise.
16039 * sysdeps/s390/dl-tls.h: Likewise.
16040 * sysdeps/sh/dl-tls.h: Likewise.
16041 * sysdeps/sparc/dl-tls.h: Likewise.
16042 * sysdeps/x86_64/dl-tls.h: Likewise.
16043 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16044
34fe483e
AS
160452011-03-14 Andreas Schwab <schwab@redhat.com>
16046
16047 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16048 rpath element also skip the following colon.
16049 (expand_dynamic_string_token): Add is_path parameter and pass
16050 down to DL_DST_REQUIRED and _dl_dst_substitute.
16051 (decompose_rpath): Call expand_dynamic_string_token with
16052 non-zero is_path. Ignore empty rpaths.
16053 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16054 with zero is_path.
16055
f12a32e6
AS
160562011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16057
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16059 Make cancelable.
16060
38a7d692
UD
160612011-04-09 Ulrich Drepper <drepper@gmail.com>
16062
16063 [BZ #12655]
16064 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16065 Patch by Filipe David Manana <fdmanana@apache.org>.
16066
e451d22b
AS
160672011-04-07 Andreas Schwab <schwab@redhat.com>
16068
16069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16070 Maintain aligned stack.
16071 (CHECK_RSP): Remove unused macro.
16072
dedc7c7b
UD
160732011-04-03 Ulrich Drepper <drepper@gmail.com>
16074
16075 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16076 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16077
94521213
UD
160782011-04-02 Ulrich Drepper <drepper@gmail.com>
16079
16080 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16081
8cb700c0 16082 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16083
0354e355
L
160842011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16085
16086 [BZ #12518]
16087 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16088 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16089 * sysdeps/x86_64/memmove.c: New file.
16090 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16091 (memcpy): Renamed to ...
16092 (__new_memcpy): This.
16093 (memcpy): Provide GLIBC_2_14 memcpy.
16094 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16095 (memcpy): Provide GLIBC_2_2_5 memcpy.
16096
8593482f
UD
160972011-04-01 Ulrich Drepper <drepper@gmail.com>
16098
16099 [BZ #12631]
16100 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16101
81a5726b
AS
161022011-03-30 Andreas Schwab <schwab@redhat.com>
16103
16104 * misc/syncfs.c: New file.
16105 * misc/Makefile (routines): Add syncfs.
16106 * posix/unistd.h: Declare syncfs.
16107 * sysdeps/unix/syscalls.list: Add syncfs.
16108
00e5419f
AS
161092011-04-01 Andreas Schwab <schwab@redhat.com>
16110
16111 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16112 open_by_handle_at.
16113 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16114 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16116 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16118 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16120
748876bf
UD
161212011-04-01 Ulrich Drepper <drepper@gmail.com>
16122
658e451d
UD
16123 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16124 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16125 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16127 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16130
748876bf
UD
16131 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16132 sync_file_range.c with -fexceptions.
16133 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16134 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16135 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16136 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16137 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16138 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16139 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16140 sync_file_range as cancellation point
16141 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16142 now a wrapper around __call_sync_file_range with cancellation handling.
16143 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16144 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16145 function name to __call_sync_file_range.
16146 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16147 Add call_sync_file_range.
748876bf 16148
6e63d5e1
AS
161492011-04-01 Andreas Schwab <schwab@redhat.com>
16150
16151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16152 bits/timex.h.
6e63d5e1 16153
46998f74
UD
161542011-04-01 Ulrich Drepper <drepper@gmail.com>
16155
4c1423ed
UD
16156 * iconv/iconv.h: Fix typo in comment.
16157 * io/fcntl.h: Likewise.
16158 * libio/stdio.h: Likewise.
16159 * posix/spawn.h: Likewise.
16160 * posix/unistd.h: Likewise.
16161 * stdlib/stdlib.h: Likewise.
16162 * time/time.h: Likewise.
16163 * wcsmbs/wchar.h: Likewise.
16164
158648c0
UD
16165 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16166 open_by_handle): Add.
16167 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16168 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16169 Augment a few comments.
16170 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16174 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16175 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16176 open_by_handle.
16177
46998f74
UD
16178 * io/fcntl.h (AT_EMPTY_PATH): Define.
16179
83fe108b
UD
161802011-03-30 Ulrich Drepper <drepper@gmail.com>
16181
16182 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16183 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16184 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16185 to...
16186 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16187 * Versions.def: Add GLIBC_2.14.
16188 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16189 Export.
83fe108b 16190
bb242059
UD
161912011-03-22 Ulrich Drepper <drepper@gmail.com>
16192
16193 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16194 round counter.
16195 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16196
c97a1282
L
161972011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16198
16199 [BZ #12597]
16200 * string/test-strncmp.c (do_page_test): New function.
16201 (check2): Likewise.
16202 (test_main): Call check2.
16203 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16204
2a115601
UD
162052011-03-20 Ulrich Drepper <drepper@gmail.com>
16206
16207 [BZ #12587]
16208 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16209 Handle cache information in CPU leaf 4.
16210 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16211
8126d904
UD
162122011-03-18 Ulrich Drepper <drepper@gmail.com>
16213
042c49c6 16214 [BZ #12583]
8126d904
UD
16215 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16216 character representation.
16217 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16218
ccfe366e
RA
162192011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16220
16221 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16222 END(__isnan) to END(__isnanf) to match function entry point/label
16223 EALIGN(__isnanf,...).
16224
c6e13027
JJ
162252011-03-10 Jakub Jelinek <jakub@redhat.com>
16226
16227 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16228
33f85a3f
UD
162292011-03-10 Ulrich Drepper <drepper@gmail.com>
16230
028478fa
UD
16231 [BZ #12510]
16232 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16233 copy from the symbol referenced in the relocation to initialize the
16234 used variable.
16235 Patch by Piotr Bury <pbury@goahead.com>.
16236 * elf/Makefile: Add rules to build and tst-unique3.
16237 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16238 * elf/tst-unique3.cc: New file.
16239 * elf/tst-unique3.h: New file.
16240 * elf/tst-unique3lib.cc: New file.
16241 * elf/tst-unique3lib2.cc: New file.
16242
33f85a3f
UD
16243 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16244
03592fc7
MF
162452011-03-10 Mike Frysinger <vapier@gentoo.org>
16246
16247 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16248 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16249 to _start.
03592fc7 16250
6a5ee102
UD
162512011-03-06 Ulrich Drepper <drepper@gmail.com>
16252
16253 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16254 to-be-loaded object along a path to loader is ld.so.
16255
7e4ba49c
HJ
162562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16257 Ulrich Drepper <drepper@gmail.com>
16258
16259 * sysdeps/x86_64/memset.S: After aligning destination, code
16260 branches to different locations depending on the value of
16261 misalignment, when multiarch is enabled. Fix this.
16262
162632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16264
16265 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16266 Set _x86_64_preferred_memory_instruction for AMD processsors.
16267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16268 Set bit_Prefer_SSE_for_memop for AMD processors.
16269
13a804de
UD
162702011-03-04 Ulrich Drepper <drepper@gmail.com>
16271
16272 * libio/fmemopen.c (fmemopen): Optimize a bit.
16273
9d25c392
AS
162742011-03-03 Andreas Schwab <schwab@redhat.com>
16275
16276 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16277
a5543c6a
RM
162782011-03-03 Roland McGrath <roland@redhat.com>
16279
16280 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16281
012d35f7
DM
162822011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16283
7e4ba49c 16284 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16285 __bzero_ultra1 instead of __memset_ultra1.
16286
4bff6e01
AS
162872011-02-23 Andreas Schwab <schwab@redhat.com>
16288 Ulrich Drepper <drepper@gmail.com>
16289
16290 [BZ #12509]
16291 * include/link.h (struct link_map): Add l_orig_initfini.
16292 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16293 returning unsuccessfully.
16294 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16295 close of a file loaded at startup, restore the original l_initfini
16296 list.
16297 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16298 list, store the pointer.
16299 * elf/Makefile ($(objpfx)noload-mem): New rule.
16300 (noload-ENV): Define.
16301 (tests): Add $(objpfx)noload-mem.
16302 * elf/noload.c: Include <memcheck.h>.
16303 (main): Call mtrace. Close all opened handles.
16304
f2092faf
AS
163052011-02-17 Andreas Schwab <schwab@redhat.com>
16306
16307 [BZ #12454]
16308 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16309 dependencies are missing.
16310
6c8a2e88
ST
163112011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16312
f2092faf 16313 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16314 Hurd needs munmap.
16315 * sysdeps/mach/hurd/ifreq.h: New file.
16316
84a42118
PB
163172011-01-27 Petr Baudis <pasky@suse.cz>
16318 Ulrich Drepper <drepper@gmail.com>
16319
071f805e 16320 [BZ 12445]#
84a42118
PB
16321 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16322 to extend_alloca().
16323 * stdio-common/bug23.c: New file.
16324 * stdio-common/Makefile (tests): Add bug23.
16325
e23fe25b
AS
163262010-09-28 Andreas Schwab <schwab@redhat.com>
16327 Ulrich Drepper <drepper@gmail.com>
16328
16329 [BZ #12489]
16330 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16331 before performing relro protection. At old place add assertion
16332 to make sure nothing changed.
16333
d3f02e10
NS
163342011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16335 Glauber de Oliveira Costa <glommer@gmail.com>
16336
16337 * elf/elf.h: Add new ARM TLS relocs.
16338
d55fd7a5
RA
163392011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16340
16341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16342 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16343 cast from r3.
16344 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16345 'tests' variable.
16346 * sysdeps/wordsize-64/tst-writev.c: New file.
16347
2206397e
RA
163482011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16349
16350 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16351 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16352 insns in _dl_start to prevent a TOC reference before relocs are
16353 resolved.
16354
e9433893
UD
163552011-02-15 Ulrich Drepper <drepper@gmail.com>
16356
16357 [BZ #12469]
16358 * Makeconfig: Remove RANLIB definition.
16359 * Makerules: Don't use RANLIB.
16360 * aclocal.m4: Remove ranlib test.
16361 * configure.in: No need to check for ranlib.
16362 * elf/rtld-Rules: Don't use RANLIB.
16363
f75286c6
ST
163642011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16365
8e31c82d
ST
16366 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16367 protection macro.
16368 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16369 inclusion protection macro.
16370
f75286c6
ST
16371 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16372 SIGRTMIN and SIGRTMAX and print information in that case only when
16373 SIGRTMIN is defined.
16374
c1d0e639
JJ
163752011-02-11 Jakub Jelinek <jakub@redhat.com>
16376
16377 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16378 arginfo fn returning -1.
16379
16380 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16381 and thousands string is zero terminated.
16382
edf9294e
AS
163832011-02-03 Andreas Schwab <schwab@redhat.com>
16384
16385 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16386 sysdeps/unix/sysv/linux/bits/socket.h.
16387
2b7e92df
ST
163882011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16389
edf9294e
AS
16390 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16391 (__CPU_COUNT): Remove old macros.
16392 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16393 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16394 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16395 (__sched_cpualloc, __sched_cpufree): Add declarations.
16396
a4c7ea7b
UD
163972011-02-05 Ulrich Drepper <drepper@gmail.com>
16398
16399 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16400 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16401 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16402 (readdhstai): Return value of addhstaiX call.
16403 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16404 (addgrbyX): Return value returned by cache_addgr.
16405 (readdgrbyname): Return value returned by addgrbyX.
16406 (readdgrbygid): Likewise.
16407 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16408 (addpwbyX): Return value returned by cache_addpw.
16409 (readdpwbyname): Return value returned by addhstbyX.
16410 (readdpwbyuid): Likewise.
16411 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16412 (addservbyX): Return value returned by cache_addserv.
16413 (readdservbyname): Return value returned by addservbyX:
16414 (readdservbyport): Likewise.
16415 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16416 (addhstbyX): Return value returned by cache_addhst.
16417 (readdhstbyname): Return value returned by addhstbyX.
16418 (readdhstbyaddr): Likewise.
16419 (readdhstbynamev6): Likewise.
16420 (readdhstbyaddrv6): Likewise.
16421 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16422 (readdinitgroups): Return value returned by addinitgroupsX.
16423 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16424 (prune_cache): Keep track of timeout value of re-added entries.
16425 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16426 * nscd/nscd.h: Adjust prototypes of readd* functions.
16427
a0bf67cc
RM
164282011-02-04 Roland McGrath <roland@redhat.com>
16429
16430 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16431 (nis_stats): Likewise.
16432 * nis/nis_modify.c (nis_modify): Likewise.
16433 * nis/nis_remove.c (nis_remove): Likewise.
16434 * nis/nis_add.c (nis_add): Likewise.
16435
16436 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16437
16438 * posix/fnmatch_loop.c: Add some consts.
16439
16440 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16441
435b95eb
L
164422011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16443
16444 [BZ #12460]
16445 * config.make.in (config-cflags-novzeroupper): Define.
16446 * configure.in: Substitute libc_cv_cc_novzeroupper.
16447 * elf/Makefile (AVX-CFLAGS): Define.
16448 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16449 (CFLAGS-tst-auditmod4a.c): Likewise.
16450 (CFLAGS-tst-auditmod4b.c): Likewise.
16451 (CFLAGS-tst-auditmod6b.c): Likewise.
16452 (CFLAGS-tst-auditmod6c.c): Likewise.
16453 (CFLAGS-tst-auditmod7b.c): Likewise.
16454 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16455
8517b15e
UD
164562011-02-02 Ulrich Drepper <drepper@gmail.com>
16457
16458 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16459 function to the callback.
16460 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16461
10a656fe
AS
164622011-02-02 Andreas Schwab <schwab@redhat.com>
16463
16464 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16465 of errno.
16466
968dad0a
UD
164672011-01-19 Ulrich Drepper <drepper@gmail.com>
16468
9f94d2ea 16469 [BZ #11724]
968dad0a
UD
16470 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16471 of constructors.
16472 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16473 of destructors.
16474 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16475
16476 [BZ #11724]
16477 * elf/Makefile: Add rules to build and run new test.
16478 * elf/tst-initorder.c: New file.
16479 * elf/tst-initorder.exp: New file.
16480 * elf/tst-initordera1.c: New file.
16481 * elf/tst-initordera2.c: New file.
16482 * elf/tst-initordera3.c: New file.
16483 * elf/tst-initordera4.c: New file.
16484 * elf/tst-initorderb1.c: New file.
16485 * elf/tst-initorderb2.c: New file.
16486 * elf/tst-order-a1.c: New file.
16487 * elf/tst-order-a2.c: New file.
16488 * elf/tst-order-a3.c: New file.
16489 * elf/tst-order-a4.c: New file.
16490 * elf/tst-order-b1.c: New file.
16491 * elf/tst-order-b2.c: New file.
16492 * elf/tst-order-main.c: New file.
16493 New test case by George Gensure <werkt0@gmail.com>.
16494
86e92359
UD
164952010-10-01 Andreas Schwab <schwab@redhat.com>
16496
16497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16498 decoding ACE if AI_CANONIDN.
16499
5d5732b0
UD
165002011-01-18 Ulrich Drepper <drepper@gmail.com>
16501
16502 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16503
a77e8cbc
UD
165042011-01-17 Ulrich Drepper <drepper@gmail.com>
16505
6392473f
UD
16506 * version.h (RELEASE): Bump for 2.13 release.
16507 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16508
620a0529
UD
16509 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16510
18ba70a5
UD
16511 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16512 MADV_NOHUGEPAGE.
32465c3e
UD
16513 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16514 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16515 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16516 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16517 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16518 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16519
c0dafcf1
UD
16520 * posix/getconf.c: Update copyright year.
16521 * catgets/gencat.c: Likewise.
16522 * csu/version.c: Likewise.
16523 * debug/catchsegv.sh: Likewise.
16524 * debug/xtrace.sh: Likewise.
16525 * elf/ldconfig.c: Likewise.
16526 * elf/ldd.bash.in: Likewise.
16527 * elf/sprof.c (print_version): Likewise.
16528 * iconv/iconv_prog.c: Likewise.
16529 * iconv/iconvconfig.c: Likewise.
16530 * locale/programs/locale.c: Likewise.
16531 * locale/programs/localedef.c: Likewise.
16532 * malloc/memusage.sh: Likewise.
16533 * malloc/mtrace.pl: Likewise.
16534 * nscd/nscd.c (print_version): Likewise.
16535 * nss/getent.c: Likewise.
16536
a77e8cbc
UD
16537 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16538 PF_CAIF, and PF_ALG.
16539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16540
77e8bddf
AS
165412011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16542
1f20b93a
AS
16543 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16544 (modules-names): Use them.
16545 (ifunc-test-modules, ifunc-pie-tests): Define.
16546 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16547 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16548 (test-extras): Likewise.
16549 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16550 $(compile-command.c).
16551 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16552 (all-built-dso): Define.
16553 (check-textrel.out, check-execstack.out): Depend on it.
16554
77e8bddf
AS
16555 * configure.in: Don't override --enable-multi-arch.
16556
bc425b33
UD
165572011-01-15 Ulrich Drepper <drepper@gmail.com>
16558
16559 [BZ #6812]
16560 * nscd/hstcache.c (tryagain): Define.
16561 (cache_addhst): Return tryagain not notfound for temporary errors.
16562 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16563 failed.
16564
794c3ad3
UD
165652011-01-14 Ulrich Drepper <drepper@gmail.com>
16566
70181fdd
UD
16567 [BZ #10563]
16568 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16569 to make the syscall.
16570 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16571
794c3ad3
UD
16572 [BZ #12378]
16573 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16574 and fall back to matching as normal character if the string ends before
16575 the matching ']' is found. This is what POSIX requires.
16576 * posix/testfnm.c: Adjust test result.
16577 * posix/globtest.sh: Adjust test result. Add new test.
16578 * posix/tst-fnmatch.input: Likewise.
16579 * posix/tst-fnmatch2.c: Add new test.
16580
68dc9497
AS
165812010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16582
16583 * elf/Makefile (check-execstack): Revert last change. Depend on
16584 check-execstack.h.
16585 (check-execstack.h): New target.
16586 (generated): Add check-execstack.h.
16587 * elf/check-execstack.c: Include "check-execstack.h".
16588 (main): Revert last change.
16589 (handle_file): Return zero if GNU_STACK is absent and
16590 DEFAULT_STACK_PERMS doesn't include PF_X.
16591
451f001b
UD
165922011-01-13 Ulrich Drepper <drepper@gmail.com>
16593
cfa28e56
UD
16594 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16595 in child fails because the descriptor is already closed.
8cf8ce17
UD
16596 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16597 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16598 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16599
1086d70d
UD
16600 [BZ #12397]
16601 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16602 syscall.
16603
451f001b
UD
16604 [BZ #10484]
16605 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16606 temporary buffer used to handle multi lookups locally.
a85b5cb4 16607 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16608
08769175
UD
166092011-01-12 Ulrich Drepper <drepper@gmail.com>
16610
16611 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16612 loader is ld.so.
16613
5e49c52e
UD
166142011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16615
16616 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16617 alignment for SSE2.
16618
60522a5f
UD
166192011-01-12 Ulrich Drepper <drepper@gmail.com>
16620
16621 [BZ #12394]
16622 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16623 characters. When rounding increased number of integer digits recompute
16624 number of groups.
16625 * stdio-common/tst-grouping.c: New file.
16626 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16627
f257bbd7
UD
166282011-01-09 Ulrich Drepper <drepper@gmail.com>
16629
16630 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16631 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16632
16633 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16634 void.
16635 * bits/select.h: Likewise.
16636
fa9c15cb
UD
166372011-01-08 Ulrich Drepper <drepper@gmail.com>
16638
16639 * po/ja.po: Update from translation team.
16640
16c2895f
DM
166412011-01-04 David S. Miller <davem@sunset.davemloft.net>
16642
16643 [BZ #11155]
16644 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16645 implementation just like for lxstat, fxstatat, et al.
16646
2543fef2
JM
166472010-12-27 Jim Meyering <meyering@redhat.com>
16648
16649 [BZ #12348]
16650 * posix/regexec.c (build_trtable): Return failure indication upon
16651 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16652
98727dbe
UD
166532010-12-25 Ulrich Drepper <drepper@gmail.com>
16654
5bd6dc5c
UD
16655 [BZ #12201]
16656 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16657 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16658 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16659 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16660
97983464
UD
16661 [BZ #12207]
16662 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16663
98727dbe
UD
16664 [BZ #12204]
16665 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16666 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16667
4a531bb0
L
166682010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16669
16670 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16671 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16672 script has SORT_BY_INIT_PRIORITY.
16673 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16674 NO_CTORS_DTORS_SECTIONS is defined.
16675 * elf/soinit.c: Likewise.
16676 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16677 NO_CTORS_DTORS_SECTIONS is defined.
16678 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16679 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16680 * sysdeps/sh/init-first.c: Likewise.
16681 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16682
07eb4b71
UD
166832010-12-24 Ulrich Drepper <drepper@gmail.com>
16684
16685 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16686 always use the slow path.
16687
30950a5f
RA
166882010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16689
16690 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16691 similar rule which adds the sysdep directories to the header search in
16692 order to pick up the correct platform stackinfo.h.
16693 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16694 perform test if it is, otherwise return successfully without testing.
16695 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16696 DEFAULT_STACK_PERMS define in stackinfo.h.
16697 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16698 defined in stackinfo.h.
16699 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16700 DEFAULT_STACK_PERMS defined in stackinfo.h.
16701 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16702 * sysdeps/ia64/stackinfo.h: Likewise.
16703 * sysdeps/s390/stackinfo.h: Likewise.
16704 * sysdeps/sh/stackinfo.h: Likewise.
16705 * sysdeps/sparc/stackinfo.h: Likewise.
16706 * sysdeps/x86_64/stackinfo.h: Likewise.
16707 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16708 PF_X for powerpc64. Retain PF_X for powerpc32.
16709
db753e2c
UD
167102010-12-19 Ulrich Drepper <drepper@gmail.com>
16711
14b697f7
UD
16712 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16713 accurately.
db753e2c
UD
16714 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16715 GETDENTS_64BIT_ALIGNED.
16716
28300719
UD
167172010-12-14 Ulrich Drepper <dreper@gmail.com>
16718
14b697f7 16719 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16720
4f197237
AS
167212010-12-10 Andreas Schwab <schwab@redhat.com>
16722
dbb0472f
AS
16723 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16724 _GNU_SOURCE.
16725
4f197237
AS
16726 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16727 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16728 Remove __restrict.
16729 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16730 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16731
fb88ac72
UD
167322010-12-09 Ulrich Drepper <drepper@gmail.com>
16733
16734 [BZ #11655]
16735 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16736 are initialized.
16737
42acbb92
JJ
167382010-12-09 Jakub Jelinek <jakub@redhat.com>
16739
16740 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16741
c038d98d
UD
167422010-12-03 Ulrich Drepper <drepper@gmail.com>
16743
16744 * po/it.po: Update from translation team.
16745
3a4a2499
L
167462010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16747
16748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16749 unused codes.
16750
1e24cf6e
UD
167512010-11-30 Ulrich Drepper <drepper@gmail.com>
16752
16753 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16754
a7690819
AS
167552010-11-24 Andreas Schwab <schwab@redhat.com>
16756
16757 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16758 specially.
16759 (gaih_getanswer_slice): Likewise.
16760
3bf8d1b1
JJ
167612010-10-20 Jakub Jelinek <jakub@redhat.com>
16762
16763 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16764
6db52fbb
PB
167652010-05-31 Petr Baudis <pasky@suse.cz>
16766
16767 [BZ #11149]
16768 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16769 silently even in the chroot mode.
16770
eaca7569
UD
167712010-11-22 Ulrich Drepper <drepper@gmail.com>
16772
16773 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16774 last patch a bit. Pretty printing
16775
3056dcdb
UD
167762010-05-31 Petr Baudis <pasky@suse.cz>
16777
16778 [BZ #10085]
16779 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16780 initialization of skip_initgroups_dyn.
16781
cf7c9078
UD
167822010-11-19 Ulrich Drepper <drepper@gmail.com>
16783
16784 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16785 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16786
a1fb5e3e
UD
167872010-11-16 Ulrich Drepper <drepper@gmail.com>
16788
16789 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16790
3540d66b
AS
167912010-11-11 Andreas Schwab <schwab@redhat.com>
16792
16793 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16794 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16795 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16796 ($(objpfx)tst-fnmatch-mem): New rule.
16797 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16798 * posix/tst-fnmatch.c (main): Call mtrace.
16799
13b69574
L
168002010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16801
16802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16803 Support Intel processor model 6 and model 0x2c.
16804
da93d214
LM
168052010-11-10 Luis Machado <luisgpm@br.ibm.com>
16806
16807 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16808 signed comparison.
16809
8ca52c6e
L
168102010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16811
16812 [BZ #12205]
16813 * string/test-strncasecmp.c (check_result): New function.
16814 (do_one_test): Use it.
16815 (check1): New function.
16816 (test_main): Use it.
16817 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16818 Support strcasecmp and strncasecmp.
16819
69da074d
UD
168202010-11-08 Ulrich Drepper <drepper@gmail.com>
16821
16822 [BZ #12194]
16823 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16824 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16825
ff02d528
L
168262010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16827
16828 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16829 IFUNC support.
16830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16831 memset-x86-64.
16832 * sysdeps/x86_64/multiarch/bzero.S: New file.
16833 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16834 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16835 * sysdeps/x86_64/multiarch/memset.S: New file.
16836 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16838 Set bit_Prefer_SSE_for_memop for Intel processors.
16839 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16840 Define.
16841 (index_Prefer_SSE_for_memop): Define.
16842 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16843
344d0b54
LM
168442010-11-04 Luis Machado <luisgpm@br.ibm.com>
16845
16846 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16847 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16848
c0dde15b
UD
168492010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16850
16851 [BZ #12191]
16852 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16853 (__x86_64_raw_data_cache_size_half): Likewise.
16854 (__x86_64_raw_shared_cache_size): Likewise.
16855 (__x86_64_raw_shared_cache_size_half): Likewise.
16856
16857 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16858 (__x86_64_raw_data_cache_size_half): Likewise.
16859 (__x86_64_raw_shared_cache_size): Likewise.
16860 (__x86_64_raw_shared_cache_size_half): Likewise.
16861 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16862 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16863 and __x86_64_raw_shared_cache_size_half. Round
16864 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16865 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16866 to multiple of 256 bytes.
16867
0e516e0e
MS
168682010-11-03 Ulrich Drepper <drepper@gmail.com>
16869
16870 [BZ #12167]
16871 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16872 of inacessible symlinks. Verify result of symlink before returning it.
16873 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16874 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16875
0e012e87
ER
168762010-10-28 Erich Ritz <erichritz@gmail.com>
16877
16878 * math/math.h (isinf): Fix typo in comment.
16879
de0ff7bc
UD
168802010-11-01 Ulrich Drepper <drepper@gmail.com>
16881
16882 * po/da.po: Update from translation team.
16883
fa41c84d
UD
168842010-10-26 Ulrich Drepper <drepper@gmail.com>
16885
16886 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16887 is added to the list.
16888
f0967738
AK
168892010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16890 Ulrich Drepper <drepper@gmail.com>
16891
16892 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16893 the global list here. Move code to...
16894 (_dl_add_to_namespace_list): ...here. New function.
16895 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16896 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16897 * elf/dl-load.c (lose): Don't remove the element from the list.
16898 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16899 (_dl_map_object): Likewise.
16900
169012010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16902
16903 [BZ #12159]
16904 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16905 into all bytes of SSE register.
16906 Patch by Richard Li <richardpku@gmail.com>.
16907
f0967738 169082010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16909
16910 [BZ #12140]
16911 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16912 perturbing.
16913
d0b9e94f
MB
169142010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16915
16916 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16917 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16918 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16919 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16921 submachine.
16922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16923
8e9f92e9
AS
169242010-10-22 Andreas Schwab <schwab@redhat.com>
16925
16926 * include/dlfcn.h (__RTLD_SECURE): Define.
16927 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16928 mode & __RTLD_SECURE instead.
16929 (open_path): Rename preloaded parameter to secure.
16930 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16931 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16932 * elf/dl-deps.c (openaux): Likewise.
16933 * elf/rtld.c (struct map_args): Remove is_preloaded.
16934 (map_doit): Don't use it.
16935 (dl_main): Likewise.
16936 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16937 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16938
bc96fbda
AS
169392010-09-09 Andreas Schwab <schwab@redhat.com>
16940
16941 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16942 (sysd-rules-targets): Remove duplicates.
16943 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16944 rtld-%.$o dependency.
16945
22cd1c9b
AS
169462010-10-18 Andreas Schwab <schwab@redhat.com>
16947
16948 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16949 _dl_map_object do it.
16950
18edac48
UD
169512010-10-19 Ulrich Drepper <drepper@gmail.com>
16952
16953 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16954 fast fma builtins, define the macros in the C99 standard.
16955 (FP_FAST_FMAF): Likewise.
16956 (FP_FAST_FMAL): Likewise.
16957 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16958
16959 * bits/mathdef.h: Update copyright year.
16960 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16961
d2050124
MM
169622010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16963
16964 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16965 builtins, define the macros in the C99 standard.
16966 (FP_FAST_FMAF): Likewise.
16967 (FP_FAST_FMAL): Likewise.
16968 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16969 multiply/add.
16970 (FP_FAST_FMAF): Likewise.
16971
475facd1
JJ
169722010-10-15 Jakub Jelinek <jakub@redhat.com>
16973
16974 [BZ #3268]
16975 * math/libm-test.inc (fma_test): Some new testcases.
16976 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16977 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16978 y and infinite z. Do multiplication by C already in long double.
16979 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16981 y and infinite z. Do bitwise or of inexact bit into u.d.
16982 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16983 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16984 * sysdeps/i386/fpu/s_fma.S: Removed.
16985 * sysdeps/i386/fpu/s_fmal.S: Removed.
16986
7c08a05c
JJ
169872010-10-16 Jakub Jelinek <jakub@redhat.com>
16988
16989 [BZ #3268]
16990 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16992 computation is not scheduled after fetestexcept. Fix value
16993 of minimum denormal long double.
16994
f3f7372d
JJ
169952010-10-14 Jakub Jelinek <jakub@redhat.com>
16996
16997 [BZ #3268]
16998 * math/libm-test.inc (fma_test): Add some more tests.
16999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17000 correctly.
17001
14d43591
AS
170022010-10-15 Andreas Schwab <schwab@redhat.com>
17003
17004 * scripts/data/localplt-s390-linux-gnu.data: New file.
17005 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17006
5e908464
JJ
170072010-10-13 Jakub Jelinek <jakub@redhat.com>
17008
17009 [BZ #3268]
17010 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17011 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17012 instead of dbl-64.
17013 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17014 inlines.
17015 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17017 if one of x and y is very large and the other is subnormal.
17018 * sysdeps/s390/fpu/s_fmaf.c: New file.
17019 * sysdeps/s390/fpu/s_fma.c: New file.
17020 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17021 * sysdeps/powerpc/fpu/s_fma.S: New file.
17022 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17023 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17024 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17025
170262010-10-12 Jakub Jelinek <jakub@redhat.com>
17027
17028 [BZ #3268]
17029 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17030 fma tests.
17031 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17032 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17033 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17034 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17035 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17036 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17038
b833d51f
UD
170392010-10-12 Ulrich Drepper <drepper@redhat.com>
17040
17041 [BZ #12078]
17042 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17043 * posix/bug-regex31.input: Add test case.
17044
1751705d
UD
170452010-10-11 Ulrich Drepper <drepper@gmail.com>
17046
e9b9cbf5
UD
17047 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17048 * posix/bug-regex31.input: New file.
17049
17050 [BZ #12078]
17051 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17052 (parse_sub_exp): Fix last change, use postorder.
17053
ef06edbe
UD
17054 * posix/bug-regex31.c: New file.
17055 * posix/Makefile: Add rules to build and run bug-regex31.
17056
a129c80d
UD
17057 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17058
17059 [BZ #12078]
17060 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17061
b76b818e
UD
17062 [BZ #12108]
17063 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17064 to have entries in sys_siglist.
17065
1751705d
UD
17066 [BZ #12093]
17067 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17068 be NULL.
17069
9ff8d36f
JJ
170702010-10-07 Jakub Jelinek <jakub@redhat.com>
17071
17072 [BZ #3268]
17073 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17074 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17075 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17076 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17077 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17078 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17079 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17080 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17081 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17082 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17083 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17084 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17085 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17086 * math/ftestexcept.c (fetestexcept): Likewise.
17087 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17088 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17089 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17090 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17091 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17092 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17093 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17094
af325969
UD
170952010-10-11 Ulrich Drepper <drepper@gmail.com>
17096
c579b202 17097 [BZ #12107]
af325969
UD
17098 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17099 newline.
17100
67a67b95
UD
171012010-10-06 Ulrich Drepper <drepper@gmail.com>
17102
17103 * string/bug-strstr1.c: New file.
17104 * string/Makefile: Add rules to build and run bug-strstr1.
17105
5fb308bc
EB
171062010-10-05 Eric Blake <eblake@redhat.com>
17107
17108 [BZ #12092]
17109 * string/str-two-way.h (two_way_long_needle): Always clear memory
17110 when skipping input due to the shift table.
17111
45db99c7
UD
171122010-10-03 Ulrich Drepper <drepper@gmail.com>
17113
3b111893
UD
17114 [BZ #12005]
17115 * malloc/mcheck.c: Handle large requests.
17116
45db99c7
UD
17117 [BZ #12077]
17118 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17119 for strncmp and strncasecmp.
17120 * string/stratcliff.c: Add tests for strcmp and strncmp.
17121 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17122
cf7a1eb8
NI
171232010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17124
17125 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17126 __set_fpscr.
17127
6484ba5e
AJ
171282010-09-30 Andreas Jaeger <aj@suse.de>
17129
17130 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17131 (CGROUP_SUPER_MAGIC): Define.
17132 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17133 Handle btrfs and cgroup file systems.
17134 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17135 Likewise.
17136
91c42559
LM
171372010-09-27 Luis Machado <luisgpm@br.ibm.com>
17138
17139 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17140 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17141
87a97932
AK
171422010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17143
17144 [BZ #12067]
17145 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17146 trying to locate the ELF header.
17147
c21cc9bc
AS
171482010-09-27 Andreas Schwab <schwab@redhat.com>
17149
17150 [BZ #11611]
17151 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17152 Mask out sign-bit copies when constructing f_fsid.
17153
315970f6
PB
171542010-09-24 Petr Baudis <pasky@suse.cz>
17155
17156 * debug/stack_chk_fail_local.c: Add missing licence exception.
17157 * debug/warning-nop.c: Likewise.
17158
1ac7a2c7
JM
171592010-09-15 Joseph Myers <joseph@codesourcery.com>
17160
17161 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17162 implementing getdents64 using getdents syscall, set d_type if
17163 __ASSUME_GETDENTS32_D_TYPE.
17164
56801c50
AS
171652010-09-16 Andreas Schwab <schwab@redhat.com>
17166
17167 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17168 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17169
dda51327
UD
171702010-09-21 Ulrich Drepper <drepper@redhat.com>
17171
17172 [BZ #12037]
17173 * posix/unistd.h: Undo change of feature selection for ftruncate from
17174 2010-01-11.
17175
8ffcee4a
UD
171762010-09-20 Ulrich Drepper <drepper@redhat.com>
17177
a545ecd9 17178 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17179 detection.
17180
e24f0a8b
AS
171812010-09-20 Andreas Schwab <schwab@redhat.com>
17182
17183 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17184 fanotify_mark.
17185 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17186
7291c56f
AS
171872010-09-14 Andreas Schwab <schwab@redhat.com>
17188
17189 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17190 variables after CHECK_SP call.
17191 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17192
bc5fb037
AS
171932010-09-13 Andreas Schwab <schwab@redhat.com>
17194 Ulrich Drepper <drepper@redhat.com>
17195
17196 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17197 re-relocationg ld.so.
17198 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17199 _dl_init_paths call.
17200 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17201 here anymore.
17202
e66e7419
UD
172032010-09-14 Ulrich Drepper <drepper@redhat.com>
17204
17205 * resolv/res_init.c (__res_vinit): Count the default server we added.
17206
c044aa75
CLT
172072010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17208 Ulrich Drepper <drepper@redhat.com>
17209
17210 [BZ #11968]
17211 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17212 (____longjmp_chk): Use %ebx for saving value across system call.
17213 Add unwind info.
17214
32cf4069
AS
172152010-09-06 Andreas Schwab <schwab@redhat.com>
17216
17217 * manual/Makefile: Don't mix pattern rules with normal rules.
17218
817328ee
AS
172192010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17220
17221 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17222 operation.
17223 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17224 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17225 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17226 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17228 Likewise.
17229
29fddf61
UD
172302010-09-04 Ulrich Drepper <drepper@redhat.com>
17231
17232 [BZ #11979]
17233 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17234 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17235
0959ffc9
UD
172362010-09-02 Ulrich Drepper <drepper@redhat.com>
17237
17238 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17239 * sysdeps/x86_64/addmul_1.S: Likewise.
17240 * sysdeps/x86_64/lshift.S: Likewise.
17241 * sysdeps/x86_64/mul_1.S: Likewise.
17242 * sysdeps/x86_64/rshift.S: Likewise.
17243 * sysdeps/x86_64/sub_n.S: Likewise.
17244 * sysdeps/x86_64/submul_1.S: Likewise.
17245
ece29840
ST
172462010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17247
0959ffc9
UD
17248 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17249 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17250 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17251 * bits/sched.h [__need_schedparam]
ece29840 17252 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17253 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17254 (__defined_schedparam): Define to 1.
ece29840
ST
17255 (__sched_param): New structure, identical to sched_param.
17256 (__need_schedparam): Undefine.
17257
e53a31fe
MF
172582010-08-31 Mike Frysinger <vapier@gentoo.org>
17259
fdc0c10d
MF
17260 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17261 (epoll_create1): Declare.
17262
e53a31fe
MF
17263 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17264
a726d796
AS
172652010-08-31 Andreas Schwab <schwab@redhat.com>
17266
17267 [BZ #7066]
17268 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17269 shifting retval into place.
17270
2f3e3dc7
UD
172712010-09-01 Ulrich Drepper <drepper@redhat.com>
17272
f2933da9
UD
17273 * nis/rpcsvc/nis.h: Update copyright notice.
17274 * nis/rpcsvc/nis.x: Likewise.
17275 * nis/rpcsvc/nis_callback.h: Likewise.
17276 * nis/rpcsvc/nis_callback.x: Likewise.
17277 * nis/rpcsvc/nis_object.x: Likewise.
17278 * nis/rpcsvc/nis_tags.h: Likewise.
17279 * nis/rpcsvc/yp.h: Likewise.
17280 * nis/rpcsvc/yp.x: Likewise.
17281 * nis/rpcsvc/ypupd.h: Likewise.
17282 * nis/yp_xdr.c: Likewise.
17283 * nis/ypupdate_xdr.c: Likewise.
17284
2f3e3dc7
UD
17285 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17286 mainly the body of pmap_getport. Add parameters to specify timeouts.
17287 (pmap_getport): Use __libc_rpc_getport.
17288 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17289 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17290 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17291
f3dcc2f9
AS
172922010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17293
17294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17295 fanotify_mark.
17296
6d34eb5b
RM
172972010-08-27 Roland McGrath <roland@redhat.com>
17298
17299 * sysdeps/i386/i686/multiarch/Makefile
17300 (CFLAGS-varshift.c): New variable.
17301
9ea3de11
UD
173022010-08-27 Ulrich Drepper <drepper@redhat.com>
17303
c96d23fc
UD
17304 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17305 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17306
9ea3de11
UD
17307 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17308
17309 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17310
623aac7f
L
173112010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17312
17313 * sysdeps/x86_64/strlen.S: Unroll the loop.
17314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17315 strlen-sse2 strlen-sse2-bsf.
17316 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17317 __strlen_no_bsf if bit_Slow_BSF is set.
17318 (__strlen_sse42): Removed.
17319 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17320 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17321
8b2b7715
RM
173222010-08-25 Roland McGrath <roland@redhat.com>
17323
17324 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17325 * sysdeps/x86_64/multiarch/varshift.c: New file.
17326 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17327 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17328 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17329 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17330
e73015f2
L
173312010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17332
17333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17334 strlen-sse2 strlen-sse2-bsf.
17335 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17336 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17337 (__strlen_sse2): Removed.
17338 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17339 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17341 bit_Slow_BSF for Atom.
17342 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17343 (index_Slow_BSF): Define.
17344 (HAS_SLOW_BSF): Define.
17345
df24a73e
UD
173462010-08-25 Ulrich Drepper <drepper@redhat.com>
17347
17348 [BZ #10851]
17349 * resolv/res_init.c (__res_vinit): When no server address at all
17350 is given default to loopback.
17351
f2ac4868
RM
173522010-08-24 Roland McGrath <roland@redhat.com>
17353
09055553
RM
17354 * configure.in: Remove config-name.h generation.
17355 * configure: Regenerated.
17356 * config-name.in: File removed.
17357 * scripts/config-uname.sh: New file.
17358 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17359 ($(objdir)config-name.h): New target.
17360
f2ac4868
RM
17361 * sunrpc/rpc_parse.h: Avoid nested comment.
17362
73f27d5e
RH
173632010-08-24 Richard Henderson <rth@redhat.com>
17364 Ulrich Drepper <drepper@redhat.com>
17365 H.J. Lu <hongjiu.lu@intel.com>
17366
17367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17369 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17370 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17371 _mm_alignr_epi8 with _mm_loadu_si128.
17372 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17373 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17374 (__m128i_shift_right): Removed.
17375 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17376 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17377 * sysdeps/x86_64/multiarch/varshift.h: New file.
17378 * sysdeps/x86_64/multiarch/varshift.S: New file.
17379
84b9230c
MF
173802010-08-21 Mike Frysinger <vapier@gentoo.org>
17381
17382 * configure.in: Move assembler checks to before sysdep dir checking.
17383
9bbd0ddc
PB
173842010-08-20 Petr Baudis <pasky@suse.cz>
17385
17386 * LICENSES: Sync the sunrpc license.
17387
9da4bb31
UD
173882010-08-19 Ulrich Drepper <drepper@redhat.com>
17389
a7ab6ec8
UD
17390 * sunrpc/auth_des.c: Update copyright notice once again.
17391 * sunrpc/auth_none.c: Likewise.
17392 * sunrpc/auth_unix.c: Likewise.
17393 * sunrpc/authdes_prot.c: Likewise.
17394 * sunrpc/authuxprot.c: Likewise.
17395 * sunrpc/bindrsvprt.c: Likewise.
17396 * sunrpc/clnt_gen.c: Likewise.
17397 * sunrpc/clnt_perr.c: Likewise.
17398 * sunrpc/clnt_raw.c: Likewise.
17399 * sunrpc/clnt_simp.c: Likewise.
17400 * sunrpc/clnt_tcp.c: Likewise.
17401 * sunrpc/clnt_udp.c: Likewise.
17402 * sunrpc/clnt_unix.c: Likewise.
17403 * sunrpc/des_crypt.c: Likewise.
17404 * sunrpc/des_soft.c: Likewise.
17405 * sunrpc/get_myaddr.c: Likewise.
17406 * sunrpc/getrpcport.c: Likewise.
17407 * sunrpc/key_call.c: Likewise.
17408 * sunrpc/key_prot.c: Likewise.
17409 * sunrpc/openchild.c: Likewise.
17410 * sunrpc/pm_getmaps.c: Likewise.
17411 * sunrpc/pm_getport.c: Likewise.
17412 * sunrpc/pmap_clnt.c: Likewise.
17413 * sunrpc/pmap_prot.c: Likewise.
17414 * sunrpc/pmap_prot2.c: Likewise.
17415 * sunrpc/pmap_rmt.c: Likewise.
17416 * sunrpc/rpc/auth.h: Likewise.
17417 * sunrpc/rpc/auth_unix.h: Likewise.
17418 * sunrpc/rpc/clnt.h: Likewise.
17419 * sunrpc/rpc/des_crypt.h: Likewise.
17420 * sunrpc/rpc/key_prot.h: Likewise.
17421 * sunrpc/rpc/netdb.h: Likewise.
17422 * sunrpc/rpc/pmap_clnt.h: Likewise.
17423 * sunrpc/rpc/pmap_prot.h: Likewise.
17424 * sunrpc/rpc/pmap_rmt.h: Likewise.
17425 * sunrpc/rpc/rpc.h: Likewise.
17426 * sunrpc/rpc/rpc_des.h: Likewise.
17427 * sunrpc/rpc/rpc_msg.h: Likewise.
17428 * sunrpc/rpc/svc.h: Likewise.
17429 * sunrpc/rpc/svc_auth.h: Likewise.
17430 * sunrpc/rpc/types.h: Likewise.
17431 * sunrpc/rpc/xdr.h: Likewise.
17432 * sunrpc/rpc_clntout.c: Likewise.
17433 * sunrpc/rpc_cmsg.c: Likewise.
17434 * sunrpc/rpc_common.c: Likewise.
17435 * sunrpc/rpc_cout.c: Likewise.
17436 * sunrpc/rpc_dtable.c: Likewise.
17437 * sunrpc/rpc_hout.c: Likewise.
17438 * sunrpc/rpc_main.c: Likewise.
17439 * sunrpc/rpc_parse.c: Likewise.
17440 * sunrpc/rpc_parse.h: Likewise.
17441 * sunrpc/rpc_prot.c: Likewise.
17442 * sunrpc/rpc_sample.c: Likewise.
17443 * sunrpc/rpc_scan.c: Likewise.
17444 * sunrpc/rpc_scan.h: Likewise.
17445 * sunrpc/rpc_svcout.c: Likewise.
17446 * sunrpc/rpc_tblout.c: Likewise.
17447 * sunrpc/rpc_util.c: Likewise.
17448 * sunrpc/rpc_util.h: Likewise.
17449 * sunrpc/rpcinfo.c: Likewise.
17450 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17451 * sunrpc/rpcsvc/key_prot.x: Likewise.
17452 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17453 * sunrpc/rpcsvc/mount.x: Likewise.
17454 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17455 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17456 * sunrpc/rpcsvc/rex.x: Likewise.
17457 * sunrpc/rpcsvc/rstat.x: Likewise.
17458 * sunrpc/rpcsvc/rusers.x: Likewise.
17459 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17460 * sunrpc/rpcsvc/spray.x: Likewise.
17461 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17462 * sunrpc/rtime.c: Likewise.
17463 * sunrpc/svc.c: Likewise.
17464 * sunrpc/svc_auth.c: Likewise.
17465 * sunrpc/svc_authux.c: Likewise.
17466 * sunrpc/svc_raw.c: Likewise.
17467 * sunrpc/svc_run.c: Likewise.
17468 * sunrpc/svc_simple.c: Likewise.
17469 * sunrpc/svc_tcp.c: Likewise.
17470 * sunrpc/svc_udp.c: Likewise.
17471 * sunrpc/svc_unix.c: Likewise.
17472 * sunrpc/svcauth_des.c: Likewise.
17473 * sunrpc/xcrypt.c: Likewise.
17474 * sunrpc/xdr.c: Likewise.
17475 * sunrpc/xdr_array.c: Likewise.
17476 * sunrpc/xdr_float.c: Likewise.
17477 * sunrpc/xdr_mem.c: Likewise.
17478 * sunrpc/xdr_rec.c: Likewise.
17479 * sunrpc/xdr_ref.c: Likewise.
17480 * sunrpc/xdr_sizeof.c: Likewise.
17481 * sunrpc/xdr_stdio.c: Likewise.
17482
9da4bb31
UD
17483 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17484 handling.
17485
bdaa77bc
AS
174862010-08-19 Andreas Schwab <schwab@redhat.com>
17487
17488 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17489
fe2f79db
LM
174902010-08-19 Luis Machado <luisgpm@br.ibm.com>
17491
17492 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17493 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17494 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17495 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17496 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17497 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17498 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17499 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17500 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17501 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17502 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17503 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17504 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17505 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17506
b9b42ee0
AB
175072010-07-26 Anton Blanchard <anton@samba.org>
17508
17509 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17510 * malloc/arena.c (heap_trim): Likewise.
17511
1c06ba31
UD
175122010-08-16 Ulrich Drepper <drepper@redhat.com>
17513
17514 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17515 here. Not...
17516 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17517 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17518
f8392f40
L
175192010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17520
17521 * sysdeps/i386/elf/Makefile: New file.
17522
3162f12e
AS
175232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17524
17525 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17526 from fanotify_init.
17527 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17528 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17529
28c90b2c
UD
175302010-08-15 Ulrich Drepper <drepper@redhat.com>
17531
17532 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17533 of strncasecmp_l.
1feccb6c 17534 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17535
ca6bb004
UD
175362010-08-14 Ulrich Drepper <drepper@redhat.com>
17537
e9f82e0d
UD
17538 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17539 strncase_l-nonascii.
17540 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17541 Add strncase_l-ssse3.
17542 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17543 * sysdeps/x86_64/strcmp.S: Likewise.
17544 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17545 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17546 * sysdeps/x86_64/strncase.S: New file.
17547 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17548 * sysdeps/x86_64/strncase_l.S: New file.
17549 * string/Makefile (strop-tests): Add strncasecmp.
17550 * string/test-strncasecmp.c: New file.
17551
17552 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17553 warning.
17554
ca6bb004
UD
17555 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17556 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17557
052fa7b3
AS
175582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17559
17560 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17561
962dba78
UD
175622010-08-12 Ulrich Drepper <drepper@redhat.com>
17563
17564 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17565 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17566 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17567
bebff237
AM
175682010-05-01 Alan Modra <amodra@gmail.com>
17569
17570 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17571 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17572 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17573 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17574 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17575 tidying. Don't tail-call __sigjmp_save for static lib.
17576 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17577 save location.
17578 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17579 (CALL_MCOUNT): Add eh info, and nop after bl.
17580 (TAIL_CALL_SYSCALL_ERROR): New macro.
17581 (PSEUDO_RET): Use it.
17582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17583 Correct save location of integer regs and cr.
17584 (_dl_profile_resolve): Correct cr save location. Delete nops
17585 after bl when SHARED. Reduce cfi size a little by better
17586 placement of cfi directives.
17587 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17588 make a stack frame. Instead use parm save area as a temp.
17589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17590 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17592 Don't make a stack frame for parent, use parm save area.
17593 Increase child stack frame to 112 bytes. Don't save unused reg,
17594 and adjust reg usage. Set up cfi on error recovery and
17595 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17597 (__makecontext): Add dummy nop after jump to exit.
17598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17599 Use correct parm save area and cr save, reduce stack frame.
17600 Correct cfi for possible PSEUDO_RET frame setup.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17602 Branch to local label emitted by PSEUDO_RET rather than
17603 __syscall_error.
17604
02637374
AS
176052010-08-12 Andreas Schwab <schwab@redhat.com>
17606
17607 [BZ #11904]
17608 * locale/programs/locale.c (print_assignment): New function.
17609 (show_locale_vars): Use it.
17610
c3e2f19b
UD
176112010-08-11 Ulrich Drepper <drepper@redhat.com>
17612
3cdaa6ad
UD
17613 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17614 field.
17615 (struct statfs64): Likewise.
17616 (_STATFS_F_FLAGS): Define.
17617 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17618 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17619 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17620 (ST_VALID): Define locally.
17621 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17622 __statvfs_getflags, use the provided value.
17623 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17624 __ASSUME_STATFS_F_FLAGS.
17625
754f7da3
UD
17626 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17627
10b3bedc
UD
17628 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17629 Add sys/fanotify.h.
17630 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17631 fanotify_mask for GLIBC_2.13.
17632 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17633 fanotify_init and fanotify_mark.
17634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17635 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17636
c08fb0d7
UD
17637 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17638 Add prlimit.
17639 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17640 prlimit64 for GLIBC_2.13.
17641 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17642 prlimit64.
17643 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17644 syscall.
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17646 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17647 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17648 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17650 add prlimit alias.
17651 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17652
15bac72b
UD
17653 [BZ #11903]
17654 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17655 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17656
c3e2f19b
UD
17657 * nss/Makefile: Add rules to build and run tst-nss-test1.
17658 * shlib-versions: Add entry for libnss_test1.
17659 * nss/nss_test1.c: New file.
17660 * nss/tst-nss-test1.c: New file.
17661
17662 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17663 (__nss_configure_lookup): Set appropriate entry in
17664 __nss_configure_lookup to true.
17665 * nss/nsswitch.h: Define enum with indeces of databases in
17666 databases and __nss_database_custom arrays. Declare
17667 __nss_database_custom.
17668 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17669 to avoid using nscd when custom rules are installed.
17670 * nss/getXXbyYY_r.c: Likewise.
17671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17672
17673 * nss/nss_files/files-parse.c: Whitespace fixes.
17674
f15ce4d8
UD
176752010-08-09 Ulrich Drepper <drepper@redhat.com>
17676
17677 [BZ #11883]
17678 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17679 * posix/fnmatch_loop.c: Likewise.
17680
d22e4cc9
AK
176812010-07-17 Andi Kleen <ak@linux.intel.com>
17682
17683 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17684 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17685 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17686 * Versions.def [GLIBC_2.13]: Add.
17687
805bc17d
UD
176882010-08-06 Ulrich Drepper <drepper@redhat.com>
17689
17690 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17691 Also fail if tpwd after pwuid call is NULL.
17692
5a42321d
ST
176932010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17694
17695 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17696 when converting to ms.
17697
fd3ebeda
ST
176982010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17699
17700 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17701 EOPNOTSUPP errors with ENOTTY.
17702 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17703 EOPNOTSUPP errors with ENOTTY.
17704
73507d3a
UD
177052010-07-31 Ulrich Drepper <drepper@redhat.com>
17706
17707 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17708 Add strcasecmp_l-ssse3.
17709 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17710 strcasecmp.
17711 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17712 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17713 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17714
fe36dd02
UD
177152010-07-30 Ulrich Drepper <drepper@redhat.com>
17716
66f6765a
UD
17717 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17718
42e08a54
UD
17719 * string/Makefile (strop-tests): Add strcasecmp.
17720 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17721 strcasecmp_l-nonascii.
17722 (gen-as-const-headers): Add locale-defines.sym.
17723 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17724 * sysdeps/x86_64/strcasecmp.S: New file.
17725 * sysdeps/x86_64/strcasecmp_l.S: New file.
17726 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17727 * sysdeps/x86_64/locale-defines.sym: New file.
17728 * string/test-strcasecmp.c: New file.
17729
fe36dd02
UD
17730 * string/test-strcasestr.c: Test both ends of the range of characters.
17731 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17732
48cbc0d6
RM
177332010-07-29 Roland McGrath <roland@redhat.com>
17734
76e6d6bc 17735 [BZ #11856]
48cbc0d6
RM
17736 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17737
880113d9
UD
177382010-07-27 Ulrich Drepper <drepper@redhat.com>
17739
17740 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17741 for ld.so.
17742
deb9cabb
AS
177432010-07-27 Andreas Schwab <schwab@redhat.com>
17744
17745 * manual/memory.texi (Malloc Tunable Parameters): Document
17746 M_PERTURB.
17747
1c7570ff
RM
177482010-07-26 Roland McGrath <roland@redhat.com>
17749
17750 [BZ #11840]
17751 * configure.in (-fgnu89-inline check): Set and substitute
17752 gnu89_inline, not libc_cv_gnu89_inline.
17753 * configure: Regenerated.
17754 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17755
24fb0f88
UD
177562010-07-26 Ulrich Drepper <drepper@redhat.com>
17757
17758 * string/test-strnlen.c: New file.
17759 * string/Makefile (strop-tests): Add strnlen.
17760 * string/tester.c (test_strnlen): Add a few more test cases.
17761 * string/tst-strlen.c: Better error reporting.
17762
17763 * sysdeps/x86_64/strnlen.S: New file.
17764
8e96b93a
UD
177652010-07-24 Ulrich Drepper <drepper@redhat.com>
17766
17767 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17768 lower-latency instructions.
17769
dbc676d4
UD
177702010-07-23 Ulrich Drepper <drepper@redhat.com>
17771
17772 * string/test-strcasestr.c: New file.
17773 * string/test-strstr.c: New file.
17774 * string/Makefile (strop-tests): Add strstr and strcasestr.
17775 * string/str-two-way.h: Don't undefine MAX.
17776 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17777
f6a31e0e
AS
177782010-07-21 Andreas Schwab <schwab@redhat.com>
17779
17780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17781 strcasestr-nonascii.
17782 (CFLAGS-strcasestr-nonascii.c): Define.
17783 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17784 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17785 Remove unused attribute.
17786
5dbc3b6c
RM
177872010-07-20 Roland McGrath <roland@redhat.com>
17788
17789 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17790 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17791 ld.so.cache was broken. With it, there is no way to disable dsocaps
17792 like LD_HWCAP_MASK can disable hwcaps.
17793
23d101d8
EPM
177942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17795
17796 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17797
cc9f2e47
UD
177982010-07-16 Ulrich Drepper <drepper@redhat.com>
17799
17800 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17801 call in strcasestr.
17802 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17803 __strcasestr_sse42_nonascii.
17804 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17805 strcasestr-nonascii.c.
17806 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17807
77c1b069
LM
178082010-06-15 Luis Machado <luisgpm@br.ibm.com>
17809
17810 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17811 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17812 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17813 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17814
440566c3
UD
178152010-07-09 Ulrich Drepper <drepper@redhat.com>
17816
17817 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17818 fcntl.
17819
5be9d05d
AS
178202010-07-06 Andreas Schwab <schwab@redhat.com>
17821
c30b7ee2 17822 [BZ #11577]
5be9d05d
AS
17823 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17824 dl_signal_cerror.
17825
8a492a67
UD
178262010-07-06 Ulrich Drepper <drepper@redhat.com>
17827
17828 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17829 _PC_PIPE_BUF using F_GETPIPE_SZ.
17830
713df3d5
RM
178312010-07-05 Roland McGrath <roland@redhat.com>
17832
17833 * manual/arith.texi (Rounding Functions): Fix rint description
17834 implicit in round description.
17835
702e8f14
UD
178362010-07-02 Ulrich Drepper <drepper@redhat.com>
17837
17838 * elf/Makefile: Fix linking for a few tests to make recent linker
17839 happy.
17840
52ed8be9
AS
178412010-06-30 Andreas Schwab <schwab@redhat.com>
17842
17843 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17844 $(common-objpfx)libc_nonshared.a.
17845
f47c9a11
LM
178462010-06-21 Luis Machado <luisgpm@br.ibm.com>
17847
17848 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17849 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17850 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17851 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17852 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17853 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17854 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17855 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17870 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17871 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17872 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17873 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17874 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17875 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17876 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17877 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17878 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17879 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17880 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17881 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17896
6fb8cbcb
L
178972010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17898
17899 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17900 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17901 * string/memmove.c (memmove): Renamed to ...
17902 (MEMMOVE): ...this. Default to memmove.
17903 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17904 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17905 (END_CHK): Define.
17906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17907 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17908 mempcpy-ssse3-back memmove-ssse3-back.
17909 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17910 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17911 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17912 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17913 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17914 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17915 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17916 * sysdeps/x86_64/multiarch/memmove.c: New file.
17917 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17918 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17919 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17920 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17921 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17922 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17923 Define.
17924 (index_Fast_Copy_Backward): Define.
17925 (HAS_ARCH_FEATURE): Define.
17926 (HAS_FAST_REP_STRING): Define.
17927 (HAS_FAST_COPY_BACKWARD): Define.
17928
4e733bac 179292010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17930
17931 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17932 Restore proper fallback handling.
17933
63c4ed22
UD
179342010-06-19 Ulrich Drepper <drepper@redhat.com>
17935
ac2b484c
UD
17936 [BZ #11701]
17937 * posix/group_member.c (__group_member): Correct checking loop.
17938
63c4ed22
UD
17939 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17940 OOM in getpwuid_r correctly. Return error number when the caller
17941 should return, otherwise -1.
17942 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17943 call returning > 0 value.
17944 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17945
765ade4b
AS
179462010-06-07 Andreas Schwab <schwab@redhat.com>
17947
17948 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17949 libc_nonshared.a from targets in modules-names.
17950
80da2e09
KS
179512010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17952
17953 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17954 requires it.
17955
158db122
LM
179562010-06-10 Luis Machado <luisgpm@br.ibm.com>
17957
17958 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17959 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17960 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17961 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17962
caa78cf8
AS
179632010-06-02 Andreas Schwab <schwab@redhat.com>
17964
17965 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17966
b2ef2c01
UD
179672010-06-14 Ulrich Drepper <drepper@redhat.com>
17968
17969 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17970 and F_GETPIPE_SZ.
17971 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17972 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17974 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17975 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17976 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17977
fbd643b6
RM
179782010-06-14 Roland McGrath <roland@redhat.com>
17979
17980 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17981
f32f2869
JJ
179822010-06-07 Jakub Jelinek <jakub@redhat.com>
17983
17984 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17985 __REDIRECT followed by __THROW.
17986 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17987 * posix/getopt.h (getopt): Likewise.
17988
2a50c078
EPM
179892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17990
17991 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17992 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17993 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17994 in AT_FLAGS.
17995 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17996 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17997
eb5ad2eb
LM
179982010-05-28 Luis Machado <luisgpm@br.ibm.com>
17999
18000 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18001
3c88fe1e
L
180022010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18003
18004 [BZ #11640]
18005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18006 Properly check family and model.
18007
d2f73151
TY
180082010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18009
18010 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18011
ebd2e13d
LM
180122010-05-24 Luis Machado <luisgpm@br.ibm.com>
18013
18014 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18015
b32b8b45
UD
180162010-05-21 Ulrich Drepper <drepper@redhat.com>
18017
18018 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18019 symbol reference.
18020
9acbe24d
AS
180212010-05-19 Andreas Schwab <schwab@redhat.com>
18022
18023 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18024 symbol reference.
18025
f0ccf6ea
AS
180262010-05-21 Andreas Schwab <schwab@redhat.com>
18027
3d04ff3a
AS
18028 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18029 and internal_recvmmsg.
18030 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18031 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18032 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18033 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18034
f0ccf6ea
AS
18035 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18036 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18037 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18038
5b08ac57
AS
180392010-05-20 Andreas Schwab <schwab@redhat.com>
18040
18041 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18042
4828935d
LM
180432010-05-17 Luis Machado <luisgpm@br.ibm.com>
18044
18045 POWER7 optimizations.
18046 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18047 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18048
373d545e
UD
180492010-05-19 Ulrich Drepper <drepper@redhat.com>
18050
18051 * version.h: Update for 2.13 development version.
18052
21a2b1ae
AS
180532010-05-12 Andrew Stubbs <ams@codesourcery.com>
18054
18055 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18056 exceptions. Return 0.
18057
3f7dcb2b
RM
180582010-05-07 Roland McGrath <roland@redhat.com>
18059
18060 * elf/ldconfig.c (main): Add a const.
18061
5f24d53a 180622010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18063
a160f8d8
UD
18064 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18065 (args_options): Add no-idn option.
18066 (ahosts_keys_int): Add idn_flags to ai_flags.
18067 (parse_option): Handle 'i' option to clear idn_flags.
18068
5f24d53a
UD
18069 * malloc/malloc.c (_int_free): Possible race in the most recently
18070 added check. Only act on the data if no current modification
18071 happened.
265bb1ce
UD
18072
18073See ChangeLog.17 for earlier changes.
This page took 2.31841 seconds and 5 git commands to generate.