]> sourceware.org Git - glibc.git/blame - ChangeLog
m68k: fix type of pltenter member in audit interface
[glibc.git] / ChangeLog
CommitLineData
f85fa270
L
12012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14166]
4 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5 to __redirect_strstr.
6 (__strstr_sse42): Use typeof __redirect_strstr.
7 (__strstr_ia32): Likewise.
8 (__libc_strstr): New prototype.
9 (strstr): Renamed to ...
10 (__libc_strstr): This.
11 (strstr): New strong alias of __libc_strstr.
12 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14 __redirect_time.
15 Include <time.h>.
16 (__libc_time): New prototype.
17 (time_ifunc): Replace time with __libc_time.
18 (time): New strong alias and hidden definition of __libc_time.
19 (__GI_time): Remove strong alias.
20 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21 Include <stddef.h>.
22 (memmove): Redefined to __redirect_memmove.
23 (__memmove_sse2): Use typeof __redirect_memmove.
24 (__memmove_ssse3): Likewise.
25 (__memmove_ssse3_back): Likewise.
26 (__libc_memmove): New prototype.
27 (memmove): Renamed to ...
28 (__libc_memmove): This.
29 (memmove): New strong alias of __libc_memmove.
30
33b4a91e
MS
312012-08-08 Mark Salter <msalter@redhat.com>
32
33 * elf/elf.h
34 (R_MN10300_TLS_GD): Define.
35 (R_MN10300_TLS_LD): Likewise.
36 (R_MN10300_TLS_LDO): Likewise.
37 (R_MN10300_TLS_GOTIE): Likewise.
38 (R_MN10300_TLS_IE): Likewise.
39 (R_MN10300_TLS_LE): Likewise.
40 (R_MN10300_TLS_DTPMOD): Likewise.
41 (R_MN10300_TLS_DTPOFF): Likewise.
42 (R_MN10300_TLS_TPOFF): Likewise.
43 (R_MN10300_SYM_DIFF): Likewise.
44 (R_MN10300_ALIGN): Likewise.
45 (R_MN10300_NUM): Update.
46
b36137f1
JM
472012-08-08 Joseph Myers <joseph@codesourcery.com>
48
49 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
50 Remove.
51
cdd915fd
RM
522012-08-08 Roland McGrath <roland@hack.frob.com>
53
a2433aac
RM
54 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55
cdd915fd
RM
56 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
57 sysdeps/unix -> sysdeps/posix move.
58 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59
bf9b740a
AM
602012-08-07 Allan McRae <allan@archlinux.org>
61
62 [BZ #14303]
63 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
64 (SUNOS_CPP): Likewise.
65 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
66 not found.
67 (open_input): Call CPP using execvp.
68
93df14ee
JM
692012-08-07 Joseph Myers <joseph@codesourcery.com>
70
71 * sysdeps/unix/sysv/linux/kernel-features.h
72 (__ASSUME_PROT_GROWSUPDOWN): Remove.
73 (__ASSUME_NO_CLONE_DETACHED): Likewise.
74 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75 (__ASSUME_WAITID_SYSCALL): Likewise.
76 * sysdeps/unix/sysv/linux/dl-execstack.c
77 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78 code unconditional.
79 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
80 conditional code.
81 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
82 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
83 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
84 code.
85 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
86 unconditional.
87 [__ASSUME_WAITID_SYSCALL]: Likewise.
88 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
89
d34689de
RM
902012-08-07 Roland McGrath <roland@hack.frob.com>
91
a281decc
RM
92 * sysdeps/unix/closedir.c: Renamed to ...
93 * sysdeps/posix/closedir.c: ... here.
94 * sysdeps/unix/dirfd.c: Renamed to ...
95 * sysdeps/posix/dirfd.c: ... here.
96 * sysdeps/unix/dirstream.h: Renamed to ...
97 * sysdeps/posix/dirstream.h: ... here.
98 * sysdeps/unix/fdopendir.c: Renamed to ...
99 * sysdeps/posix/fdopendir.c: ... here.
100 * sysdeps/unix/opendir.c: Renamed to ...
101 * sysdeps/posix/opendir.c: ... here.
102 * sysdeps/unix/readdir.c: Renamed to ...
103 * sysdeps/posix/readdir.c: ... here.
104 * sysdeps/unix/readdir_r.c: Renamed to ...
105 * sysdeps/posix/readdir_r.c: ... here.
106 * sysdeps/unix/rewinddir.c: Renamed to ...
107 * sysdeps/posix/rewinddir.c: ... here.
108 * sysdeps/unix/seekdir.c: Renamed to ...
109 * sysdeps/posix/seekdir.c: ... here.
110 * sysdeps/unix/telldir.c: Renamed to ...
111 * sysdeps/posix/telldir.c: ... here.
112 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
113 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
114 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
115 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
116
22895b47
RM
117 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
118 * bits/fcntl.h: ... here.
119
707a53b6
RM
120 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
121 not 0.
122 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
123 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
124 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
125 (struct flock): Move l_start, l_len to the beginning.
126 Use __pid_t for l_pid.
127 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
128 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
129 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
130 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
131 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
132 [__USE_LARGEFILE64] (struct flock64): New type.
133 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
134
f0bd3e25
RM
135 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
136 * bits/dirent.h: ... here.
137
d34689de
RM
138 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
139 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
140
6dad2c06
JM
1412012-08-07 Joseph Myers <joseph@codesourcery.com>
142
143 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
144 Change from 2.6.0 to 2.6.16.
145 * sysdeps/unix/sysv/linux/configure: Regenerated.
146 * sysdeps/unix/sysv/linux/kernel-features.h
147 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
148 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
149 version.
150 (__ASSUME_UTIMES): Likewise.
151 (__ASSUME_CLONE_STOPPED): Remove.
152 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
153 architectures, not kernel version.
154 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
155 (__ASSUME_NO_CLONE_DETACHED): Likewise.
156 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
157 (__ASSUME_WAITID_SYSCALL): Likewise.
158 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
159 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
160 * README: State 2.6.16 as minimum Linux kernel version. Do not
161 refer to older versions.
162
03af9520
RM
1632012-08-06 Roland McGrath <roland@hack.frob.com>
164
8e49df1d
RM
165 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
166 Define alphasort64 as an alias.
167 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
168 Define versionsort64 as an alias.
169 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
170 Define scandir64 as an alias.
171 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
172 Define scandirat64 as an alias.
173 * dirent/alphasort64.c (alphasort64):
174 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
175 * dirent/versionsort64.c: Likewise.
176 * dirent/scandir64.c: Likewise.
177 * dirent/scandirat64.c: Likewise.
178 * sysdeps/wordsize-64/alphasort.c: File removed.
179 * sysdeps/wordsize-64/alphasort64.c: File removed.
180 * sysdeps/wordsize-64/scandir.c: File removed.
181 * sysdeps/wordsize-64/scandir64.c: File removed.
182 * sysdeps/wordsize-64/scandirat.c: File removed.
183 * sysdeps/wordsize-64/scandirat64.c: File removed.
184 * sysdeps/wordsize-64/versionsort.c: File removed.
185 * sysdeps/wordsize-64/versionsort64.c: File removed.
186 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
187 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
188 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
189 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
190 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
191 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
192 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
193 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
194
195 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
197 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
198 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
199 [defined __arch64__ || defined __sparcv9]
200 (__INO_T_MATCHES_INO64_T): New macro.
201 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
202 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
203 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
204 * sysdeps/unix/sysv/linux/bits/dirent.h
205 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
206 (_DIRENT_MATCHES_DIRENT64): New macro.
207
03af9520
RM
208 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
209 Define lockf64 as an alias.
210 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
211 Define fseeko64 as an alias.
212 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
213 Define ftello64 as an alias.
214 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
215 Define _IO_fgetpos64 and fgetpos64 as aliases.
216 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
217 Define _IO_fsetpos64 and fsetpos64 as aliases.
218 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
219 Conditionalize body on this.
220 * libio/fseeko64.c: Likewise.
221 * libio/ftello64.c: Likewise.
222 * libio/iofgetpos64.c: Likewise.
223 * libio/iofsetpos64.c: Likewise.
224 * sysdeps/wordsize-64/lockf.c: File removed.
225 * sysdeps/wordsize-64/lockf64.c: File removed.
226 * sysdeps/wordsize-64/fseeko.c: File removed.
227 * sysdeps/wordsize-64/fseeko64.c: File removed.
228 * sysdeps/wordsize-64/ftello.c: File removed.
229 * sysdeps/wordsize-64/ftello64.c: File removed.
230 * sysdeps/wordsize-64/iofgetpos.c: File removed.
231 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
232 * sysdeps/wordsize-64/iofsetpos.c: File removed.
233 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
234 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
235 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
236 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
237 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
238 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
239 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
241 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
242 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
243 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
244
245 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
247 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
249 [defined __arch64__ || defined __sparcv9]
250 (__OFF_T_MATCHES_OFF64_T): New macro.
251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
252 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
254 (__OFF_T_MATCHES_OFF64_T): New macro.
255
c5757acd
L
2562012-08-06 H.J. Lu <hongjiu.lu@intel.com>
257
258 * stdlib/secure-getenv.c (__secure_getenv): Replace
259 GLIBC_2_16 with GLIBC_2_17.
260
3a31811e
L
2612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
262
263 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
264 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
265
faa2bccb
DM
2662012-08-03 David S. Miller <davem@davemloft.net>
267
268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
269
85fe1997
JM
2702012-08-03 Joseph Myers <joseph@codesourcery.com>
271
272 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
273 Remove.
274 (__ASSUME_CORRECT_SI_PID): Likewise.
275 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
276 (__ASSUME_TMPFS_NAME): Likewise.
277 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
278 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
279 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
280 (HAVE_AUX_SECURE): Make definition unconditional.
281 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
282 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
283
4f75b7a0
RM
2842012-08-03 Roland McGrath <roland@hack.frob.com>
285
286 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
287 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
288 * sysdeps/mach/hurd/eloop-threshold.h: New file.
289 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
290 __eloop_threshold instead of SYMLOOP_MAX.
291
292 * sysdeps/generic/eloop-threshold.h: New file.
293 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
294 of MAXSYMLINKS.
295 * elf/chroot_canon.c (chroot_canon): Likewise.
296
7aab07e4
JM
2972012-08-03 Joseph Myers <joseph@codesourcery.com>
298
299 [BZ #13717]
300 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
301 Change to 2.6.0 everywhere.
302 * sysdeps/unix/sysv/linux/configure: Regenerated.
303 * sysdeps/unix/sysv/linux/kernel-features.h
304 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
305 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
306 kernel versions.
307 (__ASSUME_POSIX_TIMERS): Define unconditionally.
308 (__ASSUME_FUTEX_REQUEUE): Remove.
309 (__ASSUME_STATFS64): Define unconditionally.
310 (__ASSUME_AT_SECURE): Likewise.
311 (__ASSUME_CORRECT_SI_PID): Likewise.
312 (__ASSUME_TGKILL): Define without depending on kernel version for
313 i386.
314 (__ASSUME_UTIMES): Likewise.
315 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
316 kernel version.
317 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
318 (__ASSUME_TMPFS_NAME): Likewise.
319 * README: Update reference to Linux kernel versions.
320
b67e9372
MP
3212012-08-02 Marek Polacek <polacek@redhat.com>
322
323 [BZ#14150]
324 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
325 libc_cv_asm_type_prefix with %.
326 * configure: Regenerated.
d2441631
RM
327 * include/libc-symbols.h: Remove comment about
328 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
329 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
330 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
331 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
332 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
333 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
334 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
335 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
336 * elf/tst-unique2mod1.c: Likewise.
337 * elf/tst-unique1mod2.c: Likewise.
338 * elf/tst-unique1mod1.c: Likewise.
339 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
340 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
341 Replace ASM_TYPE_DIRECTIVE with .type.
342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
343 * sysdeps/i386/sysdep.h: Likewise.
344 * sysdeps/x86_64/sysdep.h: Likewise.
345 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
347 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 348 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
349 * sysdeps/powerpc/powerpc32/sysdep.h:
350 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
351 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
352 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
353 * sysdeps/i386/fpu/e_powf.S: Likewise.
354 * sysdeps/i386/fpu/e_expl.S: Likewise.
355 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
356 * sysdeps/i386/fpu/e_acosh.S: Likewise.
357 * sysdeps/i386/fpu/e_pow.S: Likewise.
358 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
359 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
360 * sysdeps/i386/fpu/s_expm1.S: Likewise.
361 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
362 * sysdeps/i386/fpu/e_log2.S: Likewise.
363 * sysdeps/i386/fpu/e_log2l.S: Likewise.
364 * sysdeps/i386/fpu/e_scalb.S: Likewise.
365 * sysdeps/i386/fpu/e_powl.S: Likewise.
366 * sysdeps/i386/fpu/e_log10f.S: Likewise.
367 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
368 * sysdeps/i386/fpu/e_logl.S: Likewise.
369 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
370 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
371 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
372 * sysdeps/i386/fpu/e_log2f.S: Likewise.
373 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
374 * sysdeps/i386/fpu/e_log.S: Likewise.
375 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
376 * sysdeps/i386/fpu/e_logf.S: Likewise.
377 * sysdeps/i386/fpu/e_log10l.S: Likewise.
378 * sysdeps/i386/fpu/e_atanh.S: Likewise.
379 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
380 * sysdeps/i386/fpu/e_log10.S: Likewise.
381 * sysdeps/i386/fpu/s_frexp.S: Likewise.
382 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
383 * sysdeps/i386/fpu/s_asinh.S: Likewise.
384 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
385 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
386 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
387 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
388 * sysdeps/i386/i686/strtok.S: Likewise.
389 * sysdeps/i386/i386-mcount.S: Likewise.
390 * sysdeps/i386/strtok.S: Likewise.
391 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
392 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
394 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
395 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
396 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
397 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
398 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
399 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
400 * sysdeps/x86_64/_mcount.S: Likewise.
401 * sysdeps/x86_64/strtok.S: Likewise.
402 * sysdeps/sh/_mcount.S: Likewise.
403
2747bf9a
RM
4042012-08-01 Roland McGrath <roland@hack.frob.com>
405
406 * libio/iofopen.c: Include <fcntl.h>.
407 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
408 (_IO_fopen64, fopen64): Define as aliases.
409 * libio/iofopen64.c: Include <fcntl.h>.
410 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
411 Conditionalize body on this.
412 * sysdeps/wordsize-64/iofopen.c: File removed.
413 * sysdeps/wordsize-64/iofopen64.c: File removed.
414
3fb791b8
MP
4152012-08-01 Marek Polacek <polacek@redhat.com>
416
417 * libc/Makeconfig: Use elf in place of binfmt-subdir.
418 Use dlfcn directly instead of a variable.
419 (binfmt-subdir): Do not define.
420 (dlfcn): Likewise.
421
a9f1039f
JM
4222012-08-01 Joseph Myers <joseph@codesourcery.com>
423
23bddc06
JM
424 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
425 Remove all definitions.
426 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
427 <kernel-features.h>.
428 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
429 (miss_F_GETOWN_EX): Remove all definitions.
430 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
431 macro definition.
432 [!__ASSUME_FCNTL64]: Remove conditional code.
433 [__ASSUME_FCNTL64]: Make code unconditional.
434 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
435 <kernel-features.h>.
436 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
437 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
438 (lockf64) [__NR_fcntl64]: Make code unconditional.
439 (lockf64) [__ASSUME_FCNTL64]: Likewise.
440
a9f1039f
JM
441 * sysdeps/unix/sysv/linux/kernel-features.h
442 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
443 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
444 Make code unconditional.
445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
448 [__NR_vfork]: Make code unconditional.
449 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
450 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
452 [__NR_vfork]: Make code unconditional.
453 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
454 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
455
09c0ee5f
RM
4562012-08-01 Roland McGrath <roland@hack.frob.com>
457
48aec5b9
RM
458 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
459 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
460
cd97c966
RM
461 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
462 Define mkstemp64 as an alias.
3f55550c
RM
463 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
464 Define mkstemps64 as an alias.
cd97c966
RM
465 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
466 Define mkostemp64 as an alias.
b8625cfc
RM
467 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
468 Define mkostemps64 as an alias.
cd97c966
RM
469 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
470 Conditionalize body on this.
471 * misc/mkostemp64.c: Likewise.
b8625cfc 472 * misc/mkostemps64.c: Likewise.
3f55550c 473 * misc/mkstemps64.c: Likewise.
cd97c966
RM
474 * sysdeps/wordsize-64/mkstemp64.c: File removed.
475 * sysdeps/wordsize-64/mkostemp64.c: File removed.
476 * sysdeps/wordsize-64/mkostemp.c: File removed.
477 * sysdeps/wordsize-64/mkstemp.c: File removed.
478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
479 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
480 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
481 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
482
09c0ee5f
RM
483 [BZ #14138]
484 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
485 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
486 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
487 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
488
489 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
490 compat_symbol macros from <shlib-compat.h> rather than the underlying
491 default_symbol_version and symbol_version macros, so that DEFAULT
492 lines in shlib-versions are respected.
493 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
494
7e66ee51
FW
4952012-08-01 Florian Weimer <fweimer@redhat.com>
496
497 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
498 Declare with warn_unused_result.
499 (setgid, setregid, setegid, setresgid): Likewise.
500 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
501 Likewise.
502 * WUR-REPORT: Remove set*id functions.
503
d2a54255
PT
5042012-07-31 Pino Toscano <toscano.pino@tiscali.it>
505
506 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
507
7ecdb005
RM
5082012-07-31 Roland McGrath <roland@hack.frob.com>
509
789bd351
RM
510 * include/sys/socket.h (__libc_accept, __libc_accept4):
511 Add attribute_hidden.
512 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
513
40ce302d
RM
514 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
515 use of PTR_MANGLE.
516 * inet/getnetgrent_r.c (setup): Likewise.
517
7ecdb005
RM
518 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
519
e2eabb2c
DM
5202012-07-31 David S. Miller <davem@davemloft.net>
521
522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
523
d0419dbf
JM
5242012-07-31 Joseph Myers <joseph@codesourcery.com>
525
526 [BZ #13629]
527 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
528 value between 1.0 and 2.0 and smaller part has absolute value less
529 than 1.0.
530 * math/s_clog10.c (__clog10): Likewise.
531 * math/s_clog10f.c (__clog10f): Likewise.
532 * math/s_clog10l.c (__clog10l): Likewise.
533 * math/s_clogf.c (__clogf): Likewise.
534 * math/s_clogl.c (__clogl): Likewise.
535 * math/libm-test.inc (clog_test): Add more tests.
536 (clog10_test): Likewise.
537 * sysdeps/i386/fpu/libm-test-ulps: Update.
538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
539
2bc13872
FW
5402012-07-31 Florian Weimer <fweimer@redhat.com>
541
542 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
543 Exit with zero in case no suitable GID is found, and write a
544 message to standard error.
545
bea9b193
RM
5462012-07-30 Roland McGrath <roland@hack.frob.com>
547
548 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
549 rather than to 1.
550 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
551 (MAXPATHLEN): Removed.
552 (NOGROUP, NODEV): New macros.
553 (setbit, clrbit, isset, isclr): New macros.
554 (howmany, roundup, powerof2): New macros.
555 (DEV_BSIZE): New macro.
556
557 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
558 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
559
560 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
561 definition on [!__NO_LONG_DOUBLE_MATH].
562
563 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
564 PTR_MANGLE and PTR_DEMANGLE.
565
566 * socket/accept4.c (accept4): Rename to __libc_accept4.
567 Define accept4 as a weak alias.
568
569 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
570 on [_DIRENT_HAVE_D_TYPE].
571 * io/ftw.c (ftw_dir): Likewise.
572
573 * io/xmknod.c (__xmknod): Don't check PATH for being null.
574
575 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
576
577 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
578 Use the BSD numbers rather than the arbitrary ones we had.
579 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
580 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
581 (SIGXCPU, SIGXFSZ): New macros.
582 (_NSIG): Now 32.
583
584 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
585 initializer on [_LIBC_REENTRANT].
586
587 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
588 definitions inside [_POSIX_MAPPED_FILES].
589
590 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
591
592 * dirent/opendir.c: Include <fcntl.h>.
593
594 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
595 (__libc_getspecific): Likewise.
596 (__libc_key_create): Likewise.
597
598 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
599 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
600 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
601 (tmpfile64): Define as alias.
602 * sysdeps/wordsize-64/tmpfile.c: File removed.
603 * sysdeps/wordsize-64/tmpfile64.c: File removed.
604 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
605 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
606
607 * stdio-common/vfscanf.c: Include <stdbool.h>.
608 * nss/makedb.c: Likewise.
609 * stdio-common/_i18n_number.h: Likewise.
610 * argp/argp-help.c: Likewise.
611 * posix/wordexp.c: Likewise.
612 * sysdeps/posix/spawni.c: Likewise.
613 * nss/nss_files/files-initgroups.c: Likewise.
614 * stdio-common/reg-modifier.c: Include <stdlib.h>.
615 * nss/nss_files/files-initgroups.c: Likewise.
616 * nss/nss_db/db-netgrp.c: Likewise.
617 * nss/nss_db/db-initgroups.c: Likewise.
618 * io/fchmodat.c: Include <sys/stat.h>.
619
620 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
621 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
622
623 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
624 [HAVE_MMAP].
625
626 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
627 Add multiple inclusion protection.
628
e5abc686
DM
6292012-07-27 David S. Miller <davem@davemloft.net>
630
631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
632
815e6fa3
GB
6332012-07-27 Gary Benson <gbenson@redhat.com>
634
635 [BZ #14298]
636 * elf/rtld.c: Include <stap-probe.h>.
637 (dl_main): Added static probes "init_start" and "init_complete".
638 * elf/dl-load.c: Include <stap-probe.h>.
639 (lose): Take new parameter "nsid".
640 Added static probe "map_failed".
641 (_dl_map_object_from_fd): Pass namespace id to lose.
642 Added static probe "map_start".
643 (open_verify): Pass namespace id to lose.
644 * elf/dl-open.c: Include <stap-probe.h>.
645 (dl_open_worker) Added static probes "map_complete", "reloc_start"
646 and "reloc_complete".
647 * elf/dl-close.c: Include <stap-probe.h>.
648 (_dl_close_worker): Added static probes "unmap_start" and
649 "unmap_complete".
650 * elf/rtld-debugger-interface.txt: New file documenting the above.
651
9f98c16c
RM
6522012-07-26 Roland McGrath <roland@hack.frob.com>
653
654 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
655 rather than a string variable.
656 * sunrpc/rpc_main.c (h_output): Likewise.
657 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
658
f3c22df3
PT
6592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
660
661 * inet/check_native.c: New file.
662
3129cfc6
JM
6632012-07-26 Joseph Myers <joseph@codesourcery.com>
664
da865e95
JM
665 [BZ #13629]
666 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
667 if larger part has absolute value 1.0.
668 * math/s_clog10.c (__clog10): Likewise.
669 * math/s_clog10f.c (__clog10f): Likewise.
670 * math/s_clog10l.c (__clog10l): Likewise.
671 * math/s_clogf.c (__clogf): Likewise.
672 * math/s_clogl.c (__clogl): Likewise.
673 * math/libm-test.inc (clog_test): Add more tests.
674 (clog10_test): Likewise.
675 * sysdeps/i386/fpu/libm-test-ulps: Update.
676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
677
3129cfc6
JM
678 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
679 (pltexit): Likewise.
680 (La_regs): Likewise.
681 (La_retval): Likewise.
682 (int_retval): Likewise.
683 Update #error for removed macros to refer only to definitions in
684 tst-audit.h.
685 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
686 macro.
687 (pltexit): Likewise.
688 (La_regs): Likewise.
689 (La_retval): Likewise.
690 (int_retval): Likewise.
691 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
692 macro.
693 (pltexit): Likewise.
694 (La_regs): Likewise.
695 (La_retval): Likewise.
696 (int_retval): Likewise.
697 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
698 macro.
699 (pltexit): Likewise.
700 (La_regs): Likewise.
701 (La_retval): Likewise.
702 (int_retval): Likewise.
703 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
704 macro.
705 (pltexit): Likewise.
706 (La_regs): Likewise.
707 (La_retval): Likewise.
708 (int_retval): Likewise.
709 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
710 macro.
711 (pltexit): Likewise.
712 (La_regs): Likewise.
713 (La_retval): Likewise.
714 (int_retval): Likewise.
715 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
716 macro.
717 (pltexit): Likewise.
718 (La_regs): Likewise.
719 (La_retval): Likewise.
720 (int_retval): Likewise.
721 * sysdeps/generic/tst-audit.h: Update comment to refer only to
722 macro definitions in tst-audit.h.
723 * sysdeps/i386/tst-audit.h: New file.
724 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
725 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
726 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
727 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
728 * sysdeps/sh/tst-audit.h: Likewise.
729 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
730 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
731 * sysdeps/x86_64/tst-audit.h: Likewise.
732
bfc07087
AJ
7332012-07-26 Andreas Jaeger <aj@suse.de>
734
b1b2aaf8
AJ
735 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
736 ptrace.
737
738 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
739 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
740 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
741 PTRACE_O_MASK.
742 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
743 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
744 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
745
bfc07087
AJ
746 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
747 value.
748
749 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
750 _sigsys.
751 (si_call_addr, si_syscall, si_arch): Define new macro.
752 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
753 _sigsys.
754 (si_call_addr, si_syscall, si_arch): Define new marcro.
755 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
756 _sigsys.
757 (si_call_addr, si_syscall, si_arch): Define new macro.
758 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
759 _sigsys.
760 (si_call_addr, si_syscall, si_arch): Define new macro.
761
89b4b02f
JM
7622012-07-25 Joseph Myers <joseph@codesourcery.com>
763
764 [BZ #13717]
765 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
766 Change to 2.4.21 where previously 2.4.1.
767 * sysdeps/unix/sysv/linux/configure: Regenerated.
768 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
769 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
770 Linux kernel version.
771 (__ASSUME_STD_AUXV): Remove.
772 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
773 kernel version.
774 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
775 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
776 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
777 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
778 (__ASSUME_NETLINK_SUPPORT): Likewise.
779 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
780 (__no_netlink_support): Remove conditional definition.
781 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
782 Remove.
783 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
784 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
785 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
786 (if_nameindex_ioctl): Remove.
787 (if_nameindex_netlink): Do not handle __no_netlink_support.
788 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
789 code.
790 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
791 Remove conditional code.
792 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
793 code.
794 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
795 unconditional.
796 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
797 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
798 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
799 Remove.
800 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
801 [!__ASSUME_STD_AUXV]: Remove conditional code.
802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
803 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
804 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
806 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
807 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
808 code.
809 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
811 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
812 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
813 conditional code.
814 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
816 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
817 code.
818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
819 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
820 conditional code.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
822 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
823 code unconditional.
824 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
825 conditional code.
826 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
827 unconditional.
828 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
829 conditional code.
830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
831 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
832 unconditional.
833 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
834 conditional code.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
836 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
837 code unconditional.
838 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
839 conditional code.
840 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
841 unconditional.
842 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
843 conditional code.
844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
845 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
846 code unconditional.
847 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
848 conditional code.
849 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
850 unconditional.
851 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
852 conditional code.
853
842a39cd
AS
8542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
855
856 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
857 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
858 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
859 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
860 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
861 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
862 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
863 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
864 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
865 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
866 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
867 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
868 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
869 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
870 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
871 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
872 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
873 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
874 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
876 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
877 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
878 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
879
84b3fd84
FW
8802012-07-25 Florian Weimer <fweimer@redhat.com>
881
882 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
883 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
884 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
885 Introduce __libc_secure_getenv.
0c7936d5
FW
886 * stdlib/Versions (2.17): Add secure_getenv
887 (GLIBC_PRIVATE): Add __libc_secure_getenv.
888 * stdlib/secure-getenv.c: Rename __secure_getenv to
889 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
890 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
891 * stdlib/tst-secure-getenv.c: New.
892 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
893 * manual/startup.texi (Environment Access): Document
894 secure_getenv.
84b3fd84
FW
895 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
896 __libc_secure_getenv.
897 * inet/ruserpass.c (ruserpass): Likewise.
898 * malloc/mtrace.c (mtrace): Likewise.
899 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 900 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
901 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
902 * sysdeps/posix/tempname.c: Likewise. Evaluate
903 HAVE_SECURE_GETENV.
904 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 905 __secure_getenv to __libc_secure_getenv.
84b3fd84 906 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
908 Likewise.
909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
910 Likewise.
911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 918
56e49b71
JM
9192012-07-25 Joseph Myers <joseph@codesourcery.com>
920
921 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
922 (struct La_i86_retval): Likewise.
923 (struct La_x86_64_regs): Likewise.
924 (struct La_x86_64_retval): Likewise.
925 (struct La_x32_regs): Likewise.
926 (struct La_x32_retval): Likewise.
927 (struct La_ppc32_regs): Likewise.
928 (struct La_ppc32_retval): Likewise.
929 (struct La_ppc64_regs): Likewise.
930 (struct La_ppc64_retval): Likewise.
931 (struct La_sh_regs): Likewise.
932 (struct La_sh_retval): Likewise.
933 (struct La_s390_32_regs): Likewise.
934 (struct La_s390_32_retval): Likewise.
935 (struct La_s390_64_regs): Likewise.
936 (struct La_s390_64_retval): Likewise.
937 (struct La_sparc32_regs): Likewise.
938 (struct La_sparc32_retval): Likewise.
939 (struct La_sparc64_regs): Likewise.
940 (struct La_sparc64_retval): Likewise.
941 (struct audit_ifaces): Remove architecture-specific pltenter and
942 pltexit members.
943 * sysdeps/i386/ldsodefs.h: New file.
944 * sysdeps/powerpc/ldsodefs.h: Likewise.
945 * sysdeps/s390/ldsodefs.h: Likewise.
946 * sysdeps/sh/ldsodefs.h: Likewise.
947 * sysdeps/sparc/ldsodefs.h: Likewise.
948 * sysdeps/x86_64/ldsodefs.h: Likewise.
949
354691b7
MP
9502012-07-25 Marek Polacek <polacek@redhat.com>
951
952 [BZ #6808]
953 * math/libm-test.inc (yn_test): Add another test.
954 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
955 to ERANGE when the result is +-Inf.
956 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
957 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
958 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
959 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
960
bf9e2071
JM
9612012-07-24 Joseph Myers <joseph@codesourcery.com>
962
963 * conform/data/time.h-data (NULL): Use macro-constant. Require
964 equal to 0.
965 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
966 clock_t.
967 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
968
57633811
TS
9692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
970
971 * configure.in <sysdeps resolving>: Correct printing
972 Implies_before.
973 * configure: Regenerate.
974
c23c33b0
TS
9752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
976
977 * math/w_ilogb.c: Include <limits.h>.
978 * math/w_ilogbl.c: Likewise.
979
b5982523
JM
9802012-07-20 Joseph Myers <joseph@codesourcery.com>
981
982 * manual/lang.texi (__va_copy): Document primarily as ISO C99
983 va_copy. Document allowing for unavailable va_copy only as
984 pre-C99 compatibility.
985 * manual/string.texi (Copying and Concatenation): Use va_copy
986 instead of __va_copy in concat example.
987
ac4ea442
PT
9882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
989
990 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
991 (__sendto): Use create_address_port. Initialize APORT and deallocate
992 it if not null.
993
f98eafbd
PT
994 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
995 with O_NOLINK passed to __file_name_lookup.
996
898c7aab
PT
997 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
998 with O_NOLINK passed to __file_name_lookup.
999
0ced335a
PT
1000 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1001 negative N or less than NGIDS.
1002
b3404dbd
PT
1003 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1004 type to string_t. Set ERANGE as errno and return it if NAME is not big
1005 enough. Use memcpy instead of strncpy.
1006
0f48659e
JM
10072012-07-20 Joseph Myers <joseph@codesourcery.com>
1008
1009 * elf/Makefile (check-data): Remove.
1010 (localplt.data): New vpath directive.
1011 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1012 instead of $(check-data).
1013 * scripts/data/localplt-generic.data: Move to ...
1014 * sysdeps/generic/localplt.data: ... here.
1015 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1016 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1017 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1019 ... here.
1020 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1022 ... here.
1023 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1025 ... here.
1026 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1028 ... here.
1029 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1031 ... here.
1032 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1034 ... here.
1035
d37cbdaa
AZ
10362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1037
1038 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1039 PPC32 and PPC64 files.
1040 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1041 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1042
46f85fc2
AK
10432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1044
1045 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1046 __makecontext_ret to ...
1047 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1048 ... here and call exit if uc_link is NULL. New file.
1049 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1050 __makecontext_ret.S.
1051 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1052 __makecontext_ret to ...
1053 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1054 ... here and call exit if uc_link is NULL. New file.
1055 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1056 __makecontext_ret.S.
1057
08f43f9b
AK
10582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1059
1060 * elf/elf.h (R_390_IRELATIVE): New definition.
1061 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1062 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1063 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1064 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1065 (elf_machine_lazy_rel): Likewise.
1066 * sysdeps/s390/dl-irel.h: New file.
1067 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1068 * sysdeps/s390/s390-64/memset.S: New asm code.
1069 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1070 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1071 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1072 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1073 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1074 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1075 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1076 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1077 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1078 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1079 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1080 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1081 * sysdeps/s390/s390-32/memset.S: New asm code.
1082 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1083
3b05db33
MP
10842012-07-17 Marek Polacek <polacek@redhat.com>
1085
1086 [BZ #14349]
1087 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1088 * sysdeps/s390/s390-64/configure.in: Likewise.
1089 * sysdeps/sparc/configure.in: Likewise.
1090 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1091 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1092 * sysdeps/i386/configure.in: Likewise.
1093 * sysdeps/x86_64/configure.in: Likewise.
1094 * sysdeps/sh/configure.in: Likewise.
1095 * sysdeps/s390/s390-32/configure: Regenerated.
1096 * sysdeps/s390/s390-64/configure: Likewise.
1097 * sysdeps/x86_64/configure: Likewise.
1098 * sysdeps/sh/configure: Likewise.
1099 * sysdeps/powerpc/powerpc64/configure: Likewise.
1100 * sysdeps/powerpc/powerpc32/configure: Likewise.
1101 * sysdeps/sparc/configure: Likwise.
1102 * sysdeps/i386/configure: Likewise.
1103
a66877c6
MP
1104 * elf/dl-open.c: Comment fixes.
1105
cfc82fd8
JM
11062012-07-17 Joseph Myers <joseph@codesourcery.com>
1107
bd29910a
JM
1108 * Makefile [CXX] (check-data): Remove.
1109 [CXX] (c++-types.data): New vpath directive.
1110 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1111 vpath. Do not allow for C++ type data being missing.
1112 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1113 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1114 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1115 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1116 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1117 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1118 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1120 ... here.
1121 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1123 ... here.
1124 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1126 ... here.
1127 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1129 ... here.
1130 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1132 ... here.
1133 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1135 ... here.
1136 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1138 ... here.
1139 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1141
cfc82fd8
JM
1142 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1143 definitions to architecture-specific files.
1144 (TLS_IE): Likewise.
1145 (TLS_LD): Likewise.
1146 (TLS_GD): Likewise.
1147 * sysdeps/i386/tls-macros.h: New file.
1148 * sysdeps/powerpc/tls-macros.h: Likewise.
1149 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1150 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1151 * sysdeps/sh/tls-macros.h: Likewise.
1152 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1153 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1154 * sysdeps/x86_64/tls-macros.h: Likewise.
1155
f7db3170
TS
11562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1157
07cbfc23
TS
1158 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1159 zero value for regular exit case.
1160
f7db3170
TS
1161 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1162 (__start_context): Preserve zero value for regular exit case.
1163
dc97c227
TS
11642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1165 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1166
1167 * manual/setjmp.texi (setcontext): Clarify normal process
1168 termination when uc_link is the null pointer.
1169 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1170 exit call.
1171
d0cd7d02
AS
11722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1173
1174 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1175 preprocessor. Test for each exception mask separately.
1176
dd318934
AJ
11772012-07-16 Andreas Jaeger <aj@suse.de>
1178
1179 * po/ru.po: Update from translation team.
1180
8048311a
JM
11812012-07-15 Joseph Myers <joseph@codesourcery.com>
1182
1183 * conform/data/string.h-data (NULL): Use macro-constant. Require
1184 equal to 0.
1185 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1186 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1187 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1188 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1190
b637d46e
AJ
11912012-07-13 Andreas Jaeger <aj@suse.de>
1192
1193 * po/fr.po: Update from translation team.
1194
541428fe
MP
11952012-07-12 Marek Polacek <polacek@redhat.com>
1196
1197 [BZ #14173]
1198 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1199 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1200 loop condition.
1201
ec332e94
JM
12022012-07-12 Joseph Myers <joseph@codesourcery.com>
1203
1204 [BZ #13717]
1205 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1206 Change to 2.4.1 where previously 2.4.0.
1207 * sysdeps/unix/sysv/linux/configure: Regenerated.
1208 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1209 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1210 version.
1211 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1212 (__ASSUME_AT_CLKTCK): Remove.
1213 (__ASSUME_AT_PAGESIZE): Likewise.
1214 (__ASSUME_AT_XID): Likewise.
1215 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1216 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1217 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1218 unconditionally.
1219 (HAVE_AUX_PAGESIZE): Likewise.
1220 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1221 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1222 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1223
7b6e99be
JB
12242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1225
1226 [BZ #14307]
1227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1228 the temporary buffer used to invoke __gethostbyname2_r,
1229 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1230 host_data / struct gaih_addrtuple.
1231 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1232 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1233 header file nss/nsswitch.h.
1234 * nss/nsswitch.h (global scope): Add definition of implementation
1235 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1236 resolv/nss_dns/dns-host.c).
1237
608404eb
AJ
12382012-07-11 Andreas Jaeger <aj@suse.de>
1239
1240 * po/fr.po: Update from translation team.
1241
71220aca
AJ
1242 * po/sv.po: Update from translation team
1243 * po/fr.po: Another update from translation team.
1244
28cfe843
AZ
12452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1246
1247 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1248 for subnormals or multiply small sinh result by itself.
1249 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1251
6b90f981
DM
12522012-07-11 David S. Miller <davem@davemloft.net>
1253
1254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1255
c6825772
AS
12562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1257
1258 [BZ #14347]
1259 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1260 (INTERNAL_MARK): Shift it here.
1261
7b8e0d49
MP
12622012-07-10 Marek Polacek <polacek@redhat.com>
1263
1264 [BZ #14151]
1265 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1266 libc_cv_asm_global_directive with .globl.
1267 * configure: Regenerated.
1268 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1269 with .globl.
1270 * sysdeps/i386/configure: Regenerated.
1271 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1272 with .globl.
1273 * sysdeps/x86_64/configure: Regenerated.
1274 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1275 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1276 * elf/tst-unique2mod2.c: Likewise.
1277 * elf/tst-unique2mod1.c: Likewise.
1278 * elf/tst-unique1mod2.c: Likewise.
1279 * elf/tst-unique1mod1.c: Likewise.
1280 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1281 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1282 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1283 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1284 * sysdeps/mach/sysdep.h: Likewise.
1285 * sysdeps/i386/sysdep.h: Likewise.
1286 * sysdeps/i386/i386-mcount.S: Likewise.
1287 * sysdeps/x86_64/_mcount.S: Likewise.
1288 * sysdeps/x86_64/sysdep.h: Likewise.
1289 * sysdeps/sh/_mcount.S: Likewise.
1290 * sysdeps/sh/sysdep.h: Likewise.
1291 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1292 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1293 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1294 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1295 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1296 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1297 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1298 * locale/localeinfo.h: Likewise.
1299 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1300 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1301
6c55cda3
RM
13022012-07-09 Roland McGrath <roland@hack.frob.com>
1303
1304 [BZ #14336]
1305 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1306 system".
1307 * manual/message.texi (The Uniforum approach): Likewise.
1308 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1309 (glibc iconv Implementation): Likewise.
1310
638a572e
JM
13112012-07-09 Joseph Myers <joseph@codesourcery.com>
1312
1313 [BZ #14337]
1314 * math/s_clog.c (__clog): Avoid scaling a value down where that
1315 could result in underflow.
1316 * math/s_clog10.c (__clog10): Likewise.
1317 * math/s_clog10f.c (__clog10f): Likewise.
1318 * math/s_clog10l.c (__clog10l): Likewise.
1319 * math/s_clogf.c (__clogf): Likewise.
1320 * math/s_clogl.c (__clogl): Likewise.
1321 * math/libm-test.inc (clog_test): Add more tests.
1322 (clog10_test): Likewise.
1323 * sysdeps/i386/fpu/libm-test-ulps: Update.
1324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1325
261f4859
AS
13262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1327
0abaf3e4
AS
1328 [BZ #14283]
1329 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1330 by 7 not 8 to examine high bit of fractional part.
1331
261f4859
AS
1332 [BZ #14042]
1333 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1334 for call to __mcount_internal.
1335 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1336 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1337 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1338
f17ac40d
JM
13392012-07-06 Joseph Myers <joseph@codesourcery.com>
1340
9ad63c23
JM
1341 [BZ #14154]
1342 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1343 approximation for values within 0x1p-13f of an odd multiple of
1344 pi/4.
1345 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1346 exception. Add more tests.
1347 * sysdeps/i386/fpu/libm-test-ulps: Update.
1348
f17ac40d
JM
1349 [BZ #6778]
1350 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1351 inputs and return -1 for them. Do not check for +Inf in case not
1352 reachable for +Inf.
1353 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1354 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1355 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1356 and return -1 for them. Do not check for +Inf in case not
1357 reachable for +Inf.
1358 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1359 define.
1360 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1361 and return -1 for them. Do not check for +Inf in case not
1362 reachable for +Inf.
1363 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1364 spurious underflow.
1365 * sysdeps/i386/fpu/libm-test-ulps: Update.
1366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1367
fb21f89b
MF
13682012-07-06 Mike Frysinger <vapier@gentoo.org>
1369
1370 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1371
cdfe2c5e
JM
13722012-07-05 Joseph Myers <joseph@codesourcery.com>
1373
1374 [BZ #14157]
1375 [BZ #14331]
1376 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1377 could result in spurious underflow. Scale down values above
1378 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1379 * math/s_csqrtf.c (__csqrtf): Likewise.
1380 * math/s_csqrtl.c (__csqrtl): Likewise.
1381 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1382 spurious underflow.
1383 * sysdeps/i386/fpu/libm-test-ulps: Update.
1384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1385
70d35b67
AS
13862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1387
704bc459
AS
1388 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1389 xopen-msg.sed.
1390 * catgets/xopen-msg.awk: New file.
1391 * catgets/xopen-msg.sed: Removed.
1392
70d35b67
AS
1393 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1394 po2text.sed.
1395 * intl/po2test.awk: New file.
1396 * intl/po2test.sed: Removed.
1397
ca61cf32
JM
13982012-07-04 Joseph Myers <joseph@codesourcery.com>
1399
1400 [BZ #14328]
1401 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1402 or multiply small sinh result by itself.
1403 * math/s_ctanf.c (__ctanf): Likewise.
1404 * math/s_ctanh.c (__ctanh): Likewise.
1405 * math/s_ctanhf.c (__ctanhf): Likewise.
1406 * math/s_ctanhl.c (__ctanhl): Likewise.
1407 * math/s_ctanl.c (__ctanl): Likewise.
1408 * math/libm-test.inc (ctan_test_tonearest): New function.
1409 (ctan_test_towardzero): Likewise.
1410 (ctan_test_downward): Likewise.
1411 (ctan_test_upward): Likewise.
1412 (ctanh_test_tonearest): Likewise.
1413 (ctanh_test_towardzero): Likewise.
1414 (ctanh_test_downward): Likewise.
1415 (ctanh_test_upward): Likewise.
1416 (main): Call these new functions.
1417 * sysdeps/i386/fpu/libm-test-ulps: Update.
1418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1419
ca48a46a
MF
14202012-07-03 Mike Frysinger <vapier@gentoo.org>
1421
1422 * .gitignore: Delete /ports entry.
1423
9d63d37d
AJ
14242012-07-03 Andreas Jaeger <aj@suse.de>
1425
1426 * po/bg.po: Update from translation team.
1427 * po/cs.po: Likewise.
1428 * po/de.po: Likewise.
1429 * po/hr.po: Likewise.
1430 * po/nl.pl: Likewise.
1431 * po/pl.po: Likewise.
1432 * po/vi.po: Likewise.
1433
370ca3d2
JM
14342012-07-03 Joseph Myers <joseph@codesourcery.com>
1435
95f5a9a8
JM
1436 * Makeconfig [!+link] (+link-before-libc): New variable.
1437 [!+link] (+link-after-libc): Likewise.
1438 [!+link] (+link-tests): Likewise.
1439 [!+link] (+link): Define in terms of $(+link-before-libc) and
1440 $(+link-after-libc).
1441 [!+link-static] (+link-static-before-libc): New variable.
1442 [!+link-static] (+link-static-after-libc): Likewise.
1443 [!+link-static] (+link-static-tests): Likewise.
1444 [!+link-static] (+link-static): Define in terms of
1445 $(+link-static-before-libc) and $(+link-static-after-libc).
1446 [build-shared] (link-libc-before-gnulib): New variable.
1447 [build-shared] (link-libc-tests): Likewise.
1448 [build-shared] (link-libc): Define in terms of
1449 $(link-libc-before-gnulib).
1450 [!build-shared] (link-libc-tests): New variable.
1451 (link-libc-static-tests): New variable.
1452 [!gnulib] (gnulib-arch): New variable.
1453 [!gnulib] (gnulib-tests): Likewise.
1454 [!gnulib] (static-gnulib-arch): Likewise.
1455 [!gnulib] (static-gnulib-tests): Likewise.
1456 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1457 Define with "=" instead of ":=".
1458 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1459 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1460 * Rules (binaries-all-notests): New variable.
1461 (binaries-all-tests): Likewise.
1462 (binaries-static-notests): Likewise.
1463 (binaries-static-tests): Likewise.
1464 (binaries-all): Define using $(binaries-all-notests) and
1465 $(binaries-all-tests).
1466 (binaries-static): Define using $(binaries-static-notests) and
1467 $(binaries-static-tests).
1468 (binaries-shared-tests): New variable.
1469 (binaries-shared-notests): Likewise.
1470 (binaries-shared): Remove variable.
1471 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1472 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1473 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1474 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1475 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1476 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1477 * elf/Makefile (sln-modules): New variable.
1478 (extra-objs): Add $(sln-modules:=.o).
1479 (ldconfig-modules): Add static-stubs.
1480 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1481 * elf/static-stubs.c: New file.
1482
7a845b2c
JM
1483 [BZ #14283]
1484 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1485 by 7 not 8 to examine high bit of fractional part. Use volatile
1486 variables when splitting into final array of floats if
1487 __FLT_EVAL_METHOD__ != 0.
1488 * math/libm-test.inc (cos_test): Add another test.
1489 (sin_test): Likewise.
1490 * sysdeps/i386/fpu/libm-test-ulps: Update.
1491
e2283f38
JM
1492 [BZ #14273]
1493 * math/libm-test.inc (cosh_test): Add more tests.
1494
370ca3d2
JM
1495 * version.h (RELEASE): Set to "development".
1496 (VERSION): Set to "2.16.90".
1497
ee9247c3
CD
14982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1499
1500 * NEWS: Update copyright. Remove last-updated date.
1501 Mention math library bug fixes and timezone data changes.
1502 * README: Mention GNU/Hurd, x32, and HPPA support status.
1503
4648c381
TS
15042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1505
1506 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1507
aac78a43
AJ
15082012-06-27 Andreas Jaeger <aj@suse.de>
1509
1510 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1511
ed3dbfad
AJ
15122012-06-25 Andreas Jaeger <aj@suse.de>
1513
1514 * sysdeps/s390/fpu/libm-test-ulps: Update.
1515
4d0ee855
AS
15162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1517 Thomas Schwinge <thomas@codesourcery.com>
1518
1519 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1520 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1521 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1522 fanotify_mark.
1523
af1bce34
TS
15242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1525
a9fa33ba
TS
1526 * sysdeps/mach/start.c: Remove file.
1527 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1528 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1529 * sysdeps/sh/init-first.c: Likewise.
1530
58f902b8
TS
1531 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1532 registers for frame unwinding purposes, add CFI directives.
1533 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1534 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1535 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1536 Likewise.
1537
1518f58b
TS
1538 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1539 __fortify_fail returning.
1540 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1541
db9b5059
TS
1542 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1543 sysdeps/sh/____longjmp_chk.S.
1544 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1545 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1546 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1547 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1548
967705fe
TS
1549 * sysdeps/sh/abort-instr.h: New file.
1550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1551 process in case exit returns.
1552
a9def8c4
TS
1553 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1554 initialize the GOT register before use.
1555
2a649725
TS
1556 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1557 calculation of ARGC > 4.
1558
af1bce34
TS
1559 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1560 meaningful names to some local labels.
1561
d230f50a
KK
15622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1563 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1564
1565 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1566 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1567 (__arch_compare_and_exchange_val_16_acq): Likewise.
1568 (__arch_compare_and_exchange_val_32_acq): Likewise.
1569 (atomic_exchange_and_add): Fix gUSA sequence.
1570 (atomic_add): Likewise.
1571 (atomic_add_negative): Likewise.
1572 (atomic_add_zero): Likewise.
1573 (atomic_bit_test_set): Likewise.
1574
0479b305
AS
15752012-06-22 Andreas Schwab <schwab@redhat.com>
1576
1577 [BZ #13579]
1578 * include/link.h (struct link_map): Add l_free_initfini.
1579 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1580 l_initfini.
1581 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1582 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1583 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1584 set.
1585
0e3933b9
CD
15862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1587
1588 * configure.in: Use AC_LANG_SOURCE.
1589 * configure: Regenerate.
1590
4248b1b1
RM
15912012-06-22 Roland McGrath <roland@hack.frob.com>
1592
1593 * configure.in (libc_cv_localstatedir): New substituted variable.
1594 * configure: Regenerated.
1595 * config.make.in (localstatedir): New variable, substituted from
1596 libc_cv_localstatedir.
1597 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1598 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1599 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1600 * sysdeps/gnu/configure: Regenerated.
1601
006dd861
JL
16022012-06-21 Jeff Law <law@redhat.com>
1603
1604 [BZ #14277]
1605 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1606 free. Simplify list management for _LIBC case.
1607
79662d42
JM
16082012-06-21 Joseph Myers <joseph@codesourcery.com>
1609
b7abb4bf
JM
1610 [BZ #14273]
1611 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1612 Clear sign bit of 64-bit integer value before comparing against
1613 overflow value.
1614
79662d42
JM
1615 * sysdeps/mach/configure: Regenerated.
1616
1f150908
L
16172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1618
1619 [BZ #14278]
1620 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1621
28363bbf
JL
16222012-06-21 Jeff Law <law@redhat.com>
1623
1624 [BZ #13882]
1625 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1626 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1628 * elf/dl-open.c (dl_open_worker): Likewise.
1629
09615db4
CD
16302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1631
1632 * scripts/list-sources.sh: Scan PORTS for translations.
1633 * po/libc.pot: Regenerated.
1634
2174c6dd
AJ
16352012-06-21 Andreas Jaeger <aj@suse.de>
1636
1637 [BZ #12194]
1638 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1639 warning.
1640 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1641 * bits/byteswap-16.h (__bswap_16): Likewise.
1642 * bits/byteswap.h (__bswap_constant_16): Likewise.
1643
3ee947b1
L
16442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 [BZ #14117]
a2f34833
L
1647 * sysdeps/i386/fpu_control.h: Removed.
1648 * sysdeps/x86_64/fpu_control.h: Moved to ...
1649 * sysdeps/x86/fpu_control.h: Here.
1650
3ee947b1
L
1651 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1652 (_FPU_SETCW): Likewise.
1653
ed1825f8
L
16542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1655
25f1282a
L
1656 [BZ #14117]
1657 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1658 * sysdeps/x86/fpu/bits/mathinline.h: This.
1659 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1660
ed1825f8
L
1661 [BZ #14050]
1662 [BZ #14117]
1663 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1664 functions if __x86_64__ is defined.
1665
36d54b74
CLT
16662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1667
1668 * string/endian.h: Add !__ASSEMBLER__ condition for including
1669 conversion interfaces.
1670
10285c21
JM
16712012-06-15 Joseph Myers <joseph@codesourcery.com>
1672
1673 [BZ #14241]
1674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1675 of ABS(x) in calculating zero to negative powers other than odd
1676 integers.
1677 * math/libm-test.inc (pow_test): Add more tests.
1678
06c5abbd
AJ
16792012-06-15 Andreas Jaeger <aj@suse.de>
1680
1681 * manual/contrib.texi (Contributors): Update entry of Liubov
1682 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1683 Machado Filho.
1684
a3aeac40
CH
16852012-06-15 Cyril Hrubis <metan@ucw.cz>
1686
1687 * string/string.h: Add __wur to GNU version of strerror_r.
1688
49bdf4c1
L
16892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1690
1691 [BZ #14229]
1692 * string/Makefile (tests): Add tst-strtok_r.
1693 * string/tst-strtok_r.c: New file.
1694 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1695 RAX_LP/RDX_LP on SAVE_PTR.
1696
834f9b8d
RM
16972012-06-14 Roland McGrath <roland@hack.frob.com>
1698
1699 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1700
75fa1921
JM
17012012-06-14 Joseph Myers <joseph@codesourcery.com>
1702
1703 * libm_test.inc (csqrt_test): Allow more spurious underflow
1704 exceptions.
1705 (j0_test): Likewise.
1706 (j1_test): Likewise.
1707 (y0_test): Likewise.
1708 (y1_test): Likewise.
1709
771766df
CD
17102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1711
1712 * po/Makefile (libc.pot): Use UTF-8 charset.
1713
ceb9e56b
PP
17142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1715
1716 [BZ #14210]
1717 Suppress sign-conversion warning from FD_SET.
1718 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1719 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1720 not unsigned long int.
1721 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1722
ddb28975
L
17232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1724
1725 [BZ #14050]
1726 [BZ #14117]
1727 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1728 __extern_always_inline instead of __extern_inline.
1729 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1730 (__signbit): Likewise.
1731 (__signbitl): Support C++ namespace.
1732 (lrintf): New inline function.
1733 (lrint): Likewise.
1734 (llrintf): Likewise.
1735 (llrint): Likewise.
1736 (fmaxf): Likewise.
1737 (fmax): Likewise.
1738 (fminf): Likewise.
1739 (fmin): Likewise.
1740 (rint): Likewise.
1741 (rintf): Likewise.
1742 (ceil): Likewise.
1743 (ceilf): Likewise.
1744 (floor): Likewise.
1745 (floorf): Likewise.
1746 (nearbyint): Likewise.
1747 (nearbyintf): Likewise.
1748
d7b4fb26
TS
17492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1750
1751 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1752 non-default versions.
1753
eb55f5c2
RM
17542012-06-11 Roland McGrath <roland@hack.frob.com>
1755
1756 [BZ #14218]
1757 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1758
366af02c
TS
17592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1760
99ff6e5c
TS
1761 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1762 (FE_UPWARD, FE_DOWNWARD): Don't define.
1763 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1764 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1765
366af02c
TS
1766 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1767 reading it.
1768 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1769 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1770
793ea851
KK
17712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1772
1773 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1774 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1775 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1776 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1777
a728a38f
L
17782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1779
1780 [BZ #14117]
c08010c7
L
1781 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1782 * sysdeps/i386/fpu/Implies: New file.
1783 * sysdeps/x86_64/fpu/Implies: Likewise.
1784 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1785 * sysdeps/x86/fpu/bits/fenv.h: This.
1786
a728a38f
L
1787 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1788 __SSE_MATH__.
1789
6e230d11
SP
17902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1791
1792 [BZ #14134]
1793 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1794 character 0xffff that matches the last element of the
1795 conversion table.
1796
1b671feb
AZ
17972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1798
1799 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1800 fmodl commit.
1801
6043738b
AZ
18022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1803
1804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1805 values higher than 25.6283.
1806
34ae0b32
AZ
18072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808
1809 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1810 subnormal exponent extraction and add some __builtin_expect.
1811 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1812 Fix for subnormal mantissa calculation.
1813
1214ec8f
MF
18142012-06-04 Mike Frysinger <vapier@gentoo.org>
1815
1816 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1817 cpu2 is -1 and errno is not ENOSYS.
1818
f3d1f93c
L
18192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1820
1821 [BZ #14117]
0e4a3cd7
L
1822 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1823 * sysdeps/x86/bits/string.h: This.
1824 * sysdeps/x86_64/bits/string.h: Removed.
1825
6704c645
L
1826 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1827 if not compiling for x86-64, but compiling for >= i486.
1828
48495318
L
1829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1830 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1831
14adcbfc
L
1832 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1833 New macro from Linux kernel 3.4.0.
1834 (FP_XSTATE_MAGIC2): Likewise.
1835 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1836 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1837 (struct _fpx_sw_bytes): New struct.
1838 (struct _xsave_hdr): Likewise.
1839 (struct _ymmh_state): Likewise.
1840 (struct _xstate): Likewise.
1841
68e408ab
L
1842 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1843 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1844 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1845 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1846 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1847 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1848
f3d1f93c
L
1849 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1850 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1851 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1852 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1853 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1854 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1855
d9dc34cd
TMQMF
18562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1857
1858 [BZ #13743]
1859 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1860 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1861 (sysdep_headers): Include sys/platform/ppc.h.
1862 * sysdeps/powerpc/test-gettimebase.c: Test for
1863 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1864 * manual/Makefile (appendices): Include platform.texi.
1865 * manual/contrib.texi (Contributors): Update @node pointers.
1866 * manual/maint.texi (Maintenance): Likewise.
1867 (Platform): New node.
1868 * manual/platform.texi: New file. Document the new features.
1869
4af3879c
SP
18702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1871 Jakub Jelinek <jakub@redhat.com>
1872
1873 [BZ #14188]
1874 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1875 where __builtin_expect is unavailable.
1876
2fd6ff13
DM
18772012-06-03 David S. Miller <davem@davemloft.net>
1878
1879 * stdlib/longlong.h: Updated from GCC.
1880
173f7220
AS
18812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1882
1883 [BZ #14042]
1884 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1885 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1886 __mcount_internal.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1888 (GLIBC_2.16): Likewise.
1889
f34a1c6f
L
18902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1891
1892 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1893
88a4576f
JM
18942012-06-01 Joseph Myers <joseph@codesourcery.com>
1895
ea32bcdd
JM
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1897 (default-abi): New variable.
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1899 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1900 variable.
1901 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1902 Likewise.
1903 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1904 Likewise.
1905 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1906 Likewise.
1907
88a4576f
JM
1908 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1909 definition. Document in comment.
1910
402fe938
DM
19112012-06-01 David S. Miller <davem@davemloft.net>
1912
1913 * stdlib/longlong.h: Updated from GCC.
1914
3553723f
L
19152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1916
1917 [BZ #14117]
3bd872c4
L
1918 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1919 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1920 sys/debugreg.h sys/io.h here.
1921 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1922 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1923 sys/io.h.
1924 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1925 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1926 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1927 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1928 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1929 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1930
3553723f
L
1931 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1932 Define only if __x86_64__ is defined.
1933
4842e4fe
JM
19342012-06-01 Joseph Myers <joseph@codesourcery.com>
1935
c5bfe3d5
JM
1936 [BZ #14048]
1937 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1938 Use int64_t for variable i.
1939 * math/libm-test.inc (fmod_test): Add more tests.
1940
4842e4fe
JM
1941 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1942 z computation is not scheduled after fetestexcept.
1943 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1944 Use math_force_eval instead of asm to ensure calculation scheduled
1945 before exception test.
1946 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1947 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1948
efb73488
AJ
19492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1950
1951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1952 computation is not scheduled after fetestexcept.
1953
29bcce7c
L
19542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1955
1956 [BZ #14117]
1957 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1958 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1959
73a68f94
AZ
19602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1961
1962 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1963 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1964
67b6df78
L
19652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1966
edf2933a 1967 [BZ #14117]
ebc64a18
L
1968 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1969 <bits/wordsize.h>.
1970 (__WCHAR_MIN): Support __WORDSIZE == 64.
1971 (__WCHAR_MAX): Likewise.
1972
edf2933a
L
1973 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1974 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1975
57c6cf40
L
1976 [BZ #14183]
1977 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1978 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1979
67b6df78 1980 [BZ #14117]
8eb6281e
L
1981 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1982 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1983
aac639f4
L
1984 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1985 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1986
67b6df78
L
1987 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1988 Defined to 1 if __x86_64__ isn't defined.
1989 (_STAT_VER_LINUX_OLD): New.
1990 (st_atime): Remove duplicate.
1991 (st_mtime): Likewise.
1992 (st_ctime): Likewise.
1993
1c2cfe81
DM
19942012-05-31 David S. Miller <davem@davemloft.net>
1995
1996 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1997 entries.
1998
5be8418c
AS
19992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2000
e7725326
AS
2001 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2002 gen-libm-test.pl.
2003
5be8418c
AS
2004 [BZ #14132]
2005 * elf/dl-reloc.c: Include <_itoa.h>.
2006 (_dl_reloc_bad_type): Remove use of INTUSE.
2007 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2008 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2009 * stdio-common/psiginfo.c (psiginfo): Likewise.
2010 * stdio-common/psignal.c (psignal): Likewise.
2011 * string/strsignal.c (strsignal): Likewise.
2012 * include/signal.h (_sys_siglist): Declare hidden proto.
2013 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2014 INTVARDEF with libc_hidden_data_def.
2015 * stdio-common/itoa-udigits.c: Likewise.
2016 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2017 (_itoa_lower_digits_internal): Remove declaration.
2018 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2019 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2020 (_sys_sigabbrev_internal): Remove aliases.
2021 (_sys_siglist): Define hidden alias.
2022
507352f1
MT
20232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2024
2025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2026 bits/sysctl.h.
2027
42bbb1c3
L
20282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2029
2030 [BZ #14117]
6bd784b6
L
2031 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2032 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2033
8bca20f0
L
2034 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2035 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2036 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2037 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2038 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2039 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2040
f9e890a9
L
2041 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2042 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2043 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2044
471101a1
L
2045 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2046 with __addr.
2047 (insw): Likewise.
2048 (insl): Likewise.
2049 (outsb): Likewise.
2050 (outsw): Likewise.
2051 (outsl): Likewise.
2052
6451c862
L
2053 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2054 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2055 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2056
a254b8c9
L
2057 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2058 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2059 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2060 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2061 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2062 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2063
b8dfdd92
L
2064 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2065 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2066
578cd270
L
2067 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2068 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2069
de662f5f
L
2070 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2071 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2072 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2073
25653439
L
2074 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2075 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2076 to ...
2077 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2078
6bad24a0
L
2079 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2080 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2081 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2082
42bbb1c3
L
2083 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2084 for x86-64.
2085 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2086
2d10d547
JM
20872012-05-31 Joseph Myers <joseph@codesourcery.com>
2088
2089 * math/math.h (M_El): Use two more decimal places.
2090 (M_LOG2El): Likewise.
2091 (M_LOG10El): Likewise.
2092 (M_LN2l): Likewise.
2093 (M_LN10l): Likewise.
2094 (M_PIl): Likewise.
2095 (M_PI_2l): Likewise.
2096 (M_PI_4l): Likewise.
2097 (M_1_PIl): Likewise.
2098 (M_2_PIl): Likewise.
2099 (M_2_SQRTPIl): Likewise.
2100 (M_SQRT2l): Likewise.
2101 (M_SQRT1_2l): Likewise.
2102
f230c29b
DM
21032012-05-31 David S. Miller <davem@davemloft.net>
2104
2105 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2106 values between float registers.
2107 * sysdeps/sparc/sparc64/memset.S: Likewise.
2108 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2109
fed806c3
MF
21102012-05-31 Mike Frysinger <vapier@gentoo.org>
2111
2112 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2113 -D_FORTIFY_SOURCE=1.
2114 (CPPFLAGS-tst-longjmp_chk.c): Define.
2115 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2116 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2117 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2118 CFLAGS-tst-wchar-h.c.
2119
30917259
MP
21202012-05-31 Marek Polacek <polacek@redhat.com>
2121
2122 [BZ #14132]
2123 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2124 __endmntent_internal): Remove declaration.
2125 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2126 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2127 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2128
1c58d5dc
DM
21292012-05-30 David S. Miller <davem@davemloft.net>
2130
2131 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2132 (___Q_simulate_exceptions): Use real FP ops rather than writing
2133 into the %fsr.
2134 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2135 Likewise.
2136
7dc00e0d
L
21372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2138
2139 [BZ #14117]
0bd53985
L
2140 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2141 * sysdeps/x86/bits/xtitypes.h: This.
2142
3a257e66
L
2143 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2144 * sysdeps/x86/bits/wordsize.h: This.
2145
62f62904
L
2146 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2147 * sysdeps/x86/bits/huge_vall.h: This.
2148
404fe9d9
L
2149 * sysdeps/i386/bits/select.h: Removed.
2150 * sysdeps/x86_64/bits/select.h: Renamed to ...
2151 * sysdeps/x86/bits/select.h: This.
2152
d48d0446
L
2153 * sysdeps/i386/bits/setjmp.h: Removed.
2154 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2155 * sysdeps/x86/bits/setjmp.h: This.
2156
7dc00e0d
L
2157 * sysdeps/i386/bits/mathdef.h: Removed.
2158 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2159 * sysdeps/x86/bits/mathdef.h: This.
2160
03277f8f
AS
21612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2162
2163 [BZ #14132]
2164 * include/sys/socket.h (__connect_internal)
2165 (__libc_sa_len_internal): Remove declaration.
2166 (__connect, __libc_sa_len): Declare hidden_proto.
2167 (SA_LEN): Remove use of INTUSE.
2168 * socket/connect.c: Add libc_hidden_def.
2169 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2170 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2171 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2172 alias.
2173 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2174 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2175 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2176 of adding _internal alias.
2177
13764867
L
21782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2179
2180 [BZ #14117]
6bd97696
L
2181 * sysdeps/i386/bits/link.h: Removed.
2182 * sysdeps/i386/bits/linkmap.h: Likewise.
2183 * sysdeps/x86_64/bits/link.h: Renamed to ...
2184 * sysdeps/x86/bits/link.h: This.
2185 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2186 * sysdeps/x86/bits/linkmap.h: This.
2187
f726f0bb
L
2188 * sysdeps/i386/bits/endian.h: Removed.
2189 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2190 * sysdeps/x86/bits/endian.h: This.
2191
13764867
L
2192 * sysdeps/i386/bits/byteswap.h: Removed.
2193 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2194 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2195 * sysdeps/x86/bits/byteswap.h: This.
2196 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2197 * sysdeps/x86/bits/byteswap-16.h: This.
2198 * sysdeps/i386/Implies: Add x86.
2199 * sysdeps/x86_64/Implies: Likewise.
2200
ae251b0b
DM
22012012-05-30 David S. Miller <davem@davemloft.net>
2202
2203 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2204 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2205 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2206 (FP_TRAPPING_EXCEPTIONS): Define.
2207 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2208 (FP_TRAPPING_EXCEPTIONS): Define.
2209 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2210 subnormals only when inexact has been signalled or underflow
2211 exceptions are enabled.
2212 (_FP_PACK_CANONICAL): Likewise.
2213
d5c90867
L
22142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2215
2216 [BZ #14183]
2217 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2218 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2219
63f1549e
RH
22202012-05-30 Richard Henderson <rth@twiddle.net>
2221
8d8f2279
RH
2222 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2223 with #ifndef NOT_IN_libc.
2224
63f1549e
RH
2225 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2226 marked to avoid plt entry.
2227
0ab0291b
L
22282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2229
2230 [BZ #14112]
2231 * Makeconfig (default-abi): New macro.
2232 (abi-includes): Likewise.
2233 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2234 $(abi-$(default-abi)-lib-soname) for soname if defined.
2235 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2236 abi-variants.
2237 * Makefile (installed-stubs): Likewise.
2238 * include/stubs-biarch.h: Removed.
2239 * scripts/lib-names.awk: Only handle one library at a time.
2240 * scripts/soversions.awk: Remove WORDSIZE support.
2241 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2242 entries.
2243 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2244 Removed.
2245 (syscall-list-default-condition): Likewise.
2246 (syscall-list-default-condition): Likewise.
2247 (syscall-list-includes): Likewise.
2248 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2249 syscall-list-* with abi-*. Handle undefined abi-variants.
2250 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2251 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2252 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2253 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2254 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2255 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2256 Removed.
2257 (syscall-list-32-options): Likewise.
2258 (syscall-list-32-condition): Likewise.
2259 (syscall-list-64-options): Likewise.
2260 (syscall-list-64-condition): Likewise.
2261 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2262 macro.
2263 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2264 Renamed to ...
2265 (abi-*): This.
2266 (abi-64-ld-soname): New macro.
2267 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2268 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2269 Renamed to ...
2270 (abi-*): This.
2271 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2272 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2273
4da0431d
JM
22742012-05-30 Joseph Myers <joseph@codesourcery.com>
2275
3a85279c
JM
2276 * sysdeps/unix/sysv/linux/kernel-features.h
2277 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2278 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2279 include <kernel-features.h>.
2280 [!__NR_ftruncate64]: Remove conditional code.
2281 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2282 [__NR_ftruncate64]: Make code unconditional.
2283 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2284 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2285 include <kernel-features.h>.
2286 [!__NR_ftruncate64]: Remove conditional code.
2287 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2288 [__NR_ftruncate64]: Make code unconditional.
2289 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2291 include <kernel-features.h>.
2292 [!__NR_ftruncate64]: Remove conditional code.
2293 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2294 [__NR_ftruncate64]: Make code unconditional.
2295 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2297 include <kernel-features.h>.
2298 [!__NR_ftruncate64]: Remove conditional code.
2299 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2300 [__NR_ftruncate64]: Make code unconditional.
2301 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2302
4da0431d
JM
2303 * configure.in (libc_cv_fpie): Weaken to a compile test using
2304 LIBC_TRY_CC_OPTION.
2305 * configure: Regenerated.
2306
11ef492c
AK
23072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2308
2309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2313 Refreshed.
2314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2320 Refreshed.
2321
d66ef399
DM
23222012-05-27 David S. Miller <davem@davemloft.net>
2323
2324 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2325 (___Q_zero): New.
2326 (__Q_simulate_exceptions): Return void. Change to simulate
2327 exceptions by writing into the %fsr.
2328 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2329 (__Qp_handle_exceptions): Likewise.
2330 (numbers): Delete.
2331 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2332 __Qp_handle_exceptions.
2333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2334 __Qp_handle_exceptions.
2335 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2336 as unused and give dummy FP_RND_NEAREST initializer.
2337 (FP_INHIBIT_RESULTS): Define.
2338 (___Q_simulate_exceptions): Update declaration.
2339 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2340 formatting.
2341 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2342 as unused and give dummy FP_RND_NEAREST initializer.
2343 (__Qp_handle_exceptions): Update declaration.
2344 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2345 formatting.
2346
04fb54b5
TS
23472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2348
2349 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2350 the temporary FPU control word.
2351 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2352 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2353 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2354 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2355 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2356 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2357 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2358 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2359 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2360 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2361 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2362
3f99608f
KK
23632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2364
2365 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2366 fields.
2367
65a4de4e
CLT
23682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2369
2370 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2371 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2372 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2373 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2374 Likewise.
2375 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2376 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2377 Likewise.
2378
15749d40
UD
23792012-05-27 Ulrich Drepper <drepper@gmail.com>
2380
2381 * po/h.po: Update from translation team.
2382
25dbcb27
AS
23832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2384
3d3f8e55
AS
2385 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2386
25dbcb27
AS
2387 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2388 handling of denormals.
2389 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2390 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2391 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2392 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2393 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2395 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2396 Likewise.
2397
7ad47a80 23982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2399
2400 [BZ #14152]
2401 * math/libm-test.inc (fma_test): Don't always expect underflow
2402 exception.
2403
9c6ea9fa
SP
24042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2405
2406 [BZ #12416]
2407 * elf/tst-execstack.c: Include stackinfo.h.
2408 (do_test): Adjust test case to ensure that pthread_getattr_np
2409 behaviour remains the same after marking stack executable.
2410
a8239222
JM
24112012-05-25 Joseph Myers <joseph@codesourcery.com>
2412
2413 * sysdeps/unix/sysv/linux/kernel-features.h
2414 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2415 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2416 kernel-features.h.
2417 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2418 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2419 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2420 kernel-features.h.
2421 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2422 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2423
918b5606
L
24242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 * configure.in: Define the default includes to being none.
2427 * configure: Regenerated.
2428
3a097cc7
RM
24292012-05-25 Roland McGrath <roland@hack.frob.com>
2430
8422c9a5
RM
2431 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2432 * sysdeps/x86_64/setjmp.S: Likewise.
2433 * sysdeps/i386/bsd-setjmp.S: Likewise.
2434 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2435 * sysdeps/i386/setjmp.S: Likewise.
2436 * sysdeps/i386/__longjmp.S: Likewise.
2437 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2438 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2439
3a097cc7
RM
2440 * include/stap-probe.h: New file.
2441 * configure.in: Handle --enable-systemtap.
2442 * configure: Regenerated.
2443 * config.h.in (USE_STAP_PROBE): New #undef.
2444 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2445 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2446 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2447
21708942
JM
24482012-05-25 Joseph Myers <joseph@codesourcery.com>
2449
2450 [BZ #13717]
2451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2452 to 2.4.0 where earlier.
2453 * sysdeps/unix/sysv/linux/configure: Regenerated.
2454 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2455 <kernel-features.h>.
2456 [__ASSUME_32BITUIDS]: Make code unconditional.
2457 [!__ASSUME_32BITUIDS]: Remove conditional code.
2458 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2459 <kernel-features.h>.
2460 [__ASSUME_32BITUIDS]: Make code unconditional.
2461 [!__ASSUME_32BITUIDS]: Remove conditional code.
2462 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2463 [__ASSUME_32BITUIDS]: Make code unconditional.
2464 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2465 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2466 <kernel-features.h>.
2467 [__ASSUME_32BITUIDS]: Make code unconditional.
2468 [!__ASSUME_32BITUIDS]: Remove conditional code.
2469 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2470 <kernel-features.h>.
2471 [__ASSUME_32BITUIDS]: Make code unconditional.
2472 [!__ASSUME_32BITUIDS]: Remove conditional code.
2473 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2474 <kernel-features.h>.
2475 [__ASSUME_32BITUIDS]: Make code unconditional.
2476 [!__ASSUME_32BITUIDS]: Remove conditional code.
2477 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2478 <kernel-features.h>.
2479 [__ASSUME_32BITUIDS]: Make code unconditional.
2480 [!__ASSUME_32BITUIDS]: Remove conditional code.
2481 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2482 <kernel-features.h>.
2483 [__ASSUME_32BITUIDS]: Make code unconditional.
2484 [!__ASSUME_32BITUIDS]: Remove conditional code.
2485 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2486 <kernel-features.h>.
2487 [__ASSUME_32BITUIDS]: Make code unconditional.
2488 [!__ASSUME_32BITUIDS]: Remove conditional code.
2489 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2490 <kernel-features.h>.
2491 [__ASSUME_32BITUIDS]: Make code unconditional.
2492 [!__ASSUME_32BITUIDS]: Remove conditional code.
2493 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2494 <kernel-features.h>.
2495 [__ASSUME_32BITUIDS]: Make code unconditional.
2496 [!__ASSUME_32BITUIDS]: Remove conditional code.
2497 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2498 <kernel-features.h>.
2499 [__ASSUME_32BITUIDS]: Make code unconditional.
2500 [!__ASSUME_32BITUIDS]: Remove conditional code.
2501 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2502 <kernel-features.h>.
2503 [__ASSUME_32BITUIDS]: Make code unconditional.
2504 [!__ASSUME_32BITUIDS]: Remove conditional code.
2505 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2506 <kernel-features.h>.
2507 [__NR_setresgid] (__setresgid): Do not declare.
2508 [__ASSUME_32BITUIDS]: Make code unconditional.
2509 [!__ASSUME_32BITUIDS]: Remove conditional code.
2510 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2511 <kernel-features.h>.
2512 [__NR_setresuid] (__setresuid): Do not declare.
2513 [__ASSUME_32BITUIDS]: Make code unconditional.
2514 [!__ASSUME_32BITUIDS]: Remove conditional code.
2515 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2516 <kernel-features.h>.
2517 [__ASSUME_32BITUIDS]: Make code unconditional.
2518 [!__ASSUME_32BITUIDS]: Remove conditional code.
2519 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2520 <kernel-features.h>.
2521 [__ASSUME_32BITUIDS]: Make code unconditional.
2522 [!__ASSUME_32BITUIDS]: Remove conditional code.
2523 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2524 <kernel-features.h>.
2525 [__ASSUME_32BITUIDS]: Make code unconditional.
2526 [!__ASSUME_32BITUIDS]: Remove conditional code.
2527 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2528 <kernel-features.h>.
2529 [__ASSUME_32BITUIDS]: Make code unconditional.
2530 [!__ASSUME_32BITUIDS]: Remove conditional code.
2531 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2532 <kernel-features.h>.
2533 [__ASSUME_32BITUIDS]: Make code unconditional.
2534 [!__ASSUME_32BITUIDS]: Remove conditional code.
2535 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2536 <kernel-features.h>.
2537 [__ASSUME_32BITUIDS]: Make code unconditional.
2538 [!__ASSUME_32BITUIDS]: Remove conditional code.
2539 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2540 <kernel-features.h>.
2541 [__ASSUME_32BITUIDS]: Make code unconditional.
2542 [!__ASSUME_32BITUIDS]: Remove conditional code.
2543 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2544 <kernel-features.h>.
2545 [__ASSUME_32BITUIDS]: Make code unconditional.
2546 [!__ASSUME_32BITUIDS]: Remove conditional code.
2547 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2548 <kernel-features.h>.
2549 [__ASSUME_32BITUIDS]: Make code unconditional.
2550 [!__ASSUME_32BITUIDS]: Remove conditional code.
2551 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2552 <kernel-features.h>.
2553 [__ASSUME_32BITUIDS]: Make code unconditional.
2554 [!__ASSUME_32BITUIDS]: Remove conditional code.
2555 * sysdeps/unix/sysv/linux/kernel-features.h
2556 (__ASSUME_SETRESUID_SYSCALL): Remove.
2557 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2558 (__ASSUME_32BITUIDS): Likewise.
2559 (__ASSUME_LDT_WORKS): Likewise.
2560 (__ASSUME_O_DIRECTORY): Likewise.
2561 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2562 architecture but not kernel version.
2563 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2564 (__ASSUME_MMAP2_SYSCALL): Likewise.
2565 (__ASSUME_STAT64_SYSCALL): Likewise.
2566 (__ASSUME_IPC64): Likewise.
2567 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2568 <kernel-features.h>.
2569 [__ASSUME_32BITUIDS]: Make code unconditional.
2570 [!__ASSUME_32BITUIDS]: Remove conditional code.
2571 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2572 <kernel-features.h>.
2573 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2574 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2575 132096]: Remove conditional code.
2576 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2577 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2578 <kernel-features.h>.
2579 [__ASSUME_32BITUIDS]: Make code unconditional.
2580 [!__ASSUME_32BITUIDS]: Remove conditional code.
2581 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2582 <kernel-features.h>.
2583 [__ASSUME_32BITUIDS]: Make code unconditional.
2584 [!__ASSUME_32BITUIDS]: Remove conditional code.
2585 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2586 <kernel-features.h>.
2587 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2588 unconditional.
2589 (__setresgid): Do not declare.
2590 [__ASSUME_32BITUIDS]: Make code unconditional.
2591 [!__ASSUME_32BITUIDS]: Remove conditional code.
2592 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2593 <kernel-features.h>.
2594 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2595 unconditional.
2596 (__setresuid): Do not declare.
2597 [__ASSUME_32BITUIDS]: Make code unconditional.
2598 [!__ASSUME_32BITUIDS]: Remove conditional code.
2599 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2600 <kernel-features.h>.
2601 [__ASSUME_32BITUIDS]: Make code unconditional.
2602 [!__ASSUME_32BITUIDS]: Remove conditional code.
2603 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2604 <kernel-features.h>.
2605 [__ASSUME_32BITUIDS]: Make code unconditional.
2606 [!__ASSUME_32BITUIDS]: Remove conditional code.
2607
a386f1cc
RH
26082012-05-25 Richard Henderson <rth@twiddle.net>
2609
2610 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2611 dl_hwcap to ifunc resolver.
2612 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2613 elf_ifunc_invoke.
2614 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2615 dl_hwcap to ifunc resolver.
2616 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2617
b6550497
JM
26182012-05-24 Joseph Myers <joseph@codesourcery.com>
2619
2620 [BZ #14153]
2621 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2622 for |x| <= 2**-26, not 2**-57.
2623 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2624 exception.
2625
b0bc23a1
JL
26262012-05-24 Jeff Law <law@redhat.com>
2627
2628 * stdio-common/Makefile (tests): Add bug25.
2629 * stdio-common/bug25.c: New test.
2630
347c92e9
L
26312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 [BZ #13576]
2634 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2635 multiple of MALLOC_ALIGNMENT in size.
2636 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2637
6bcc8b3f
JM
26382012-05-24 Joseph Myers <joseph@codesourcery.com>
2639
2640 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2641 Require >= 256.
2642 (FILENAME_MAX): Use macro-int-constant.
2643 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2644 (_IOFBF): Use macro-int-constant.
2645 (_IOLBF): Likewise.
2646 (_IONBF): Likewise.
2647 (SEEK_CUR): Likewise.
2648 (SEEK_END): Likewise.
2649 (SEEK_SET): Likewise.
2650 (TMP_MAX): Likewise.
2651 (EOF): Use macro-int-constant. Require < 0.
2652 (NULL): Use macro-constant. Require == 0.
2653 (stdin): Require type to be FILE *.
2654 (stdout): Likewise.
2655 (stderr): Likewise.
2656 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2657 macro-int-constant.
2658 (EXIT_SUCCESS): Likewise.
2659 (NULL): Use macro-constant. Require == 0.
2660 (RAND_MAX): Use macro-int-constant.
2661 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2662 [C99-based standards] (strtof): Require function.
2663 [C99-based standards] (strtold): Likewise.
2664 [C99-based standards] (strtoll): Likewise.
2665 [C99-based standards] (strtoull): Likewise.
2666 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2667 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2668 [ISO || ISO99 || ISO11] (math.h): Likewise.
2669 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2670 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2671 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2672
d18ea0c5
AS
26732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2674
2675 [BZ #14132]
56d25bb8
AS
2676 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2677 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2678 * intl/dgettext.c (DCGETTEXT): Likewise.
2679 * intl/gettext.c (DCGETTEXT): Likewise.
2680 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2681 * posix/regex_internal.h (gettext): Likewise.
2682 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2683 Remove declaration.
2684 * include/argz.h (__argz_count_internal)
2685 (__argz_stringify_internal): Remove declaration.
2686 (__argz_count, __argz_stringify): Declare hidden proto.
2687 * intl/dcgettext.c: Remove use of INTDEF.
2688 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2689 * string/argz-stringify.c: Likewise.
2690 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2691 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2692 Declare hidden proto.
d18ea0c5
AS
2693 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2694 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2695 Declare hidden proto.
2696 * include/stdio.h (__asprintf_internal): Don't declare.
2697 (__asprintf): Don't define as macro. Declare hidden proto.
2698 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2699 (__fsetlocking): Declare hidden proto.
2700 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2701 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2702 hidden proto.
2703 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2704 (_IO_setlinebuf): Remove use of INTUSE.
2705 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2706 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2707 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2708 Remove declaration.
2709 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2710 (_IO_do_flush): Remove use of INTUSE.
2711 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2712 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2713 (_IO_adjust_column, _IO_least_wmarker)
2714 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2715 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2716 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2717 (_IO_default_doallocate, _IO_wdefault_doallocate)
2718 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2719 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2720 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2721 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2722 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2723 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2724 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2725 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2726 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2727 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2728 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2729 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2730 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2731 proto.
2732 (_IO_flush_all_internal, _IO_adjust_column_internal)
2733 (_IO_default_uflow_internal, _IO_default_finish_internal)
2734 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2735 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2736 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2737 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2738 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2739 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2740 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2741 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2742 (_IO_file_close_internal, _IO_file_close_it_internal)
2743 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2744 (_IO_file_init_internal, _IO_file_attach_internal)
2745 (_IO_file_fopen_internal, _IO_file_read_internal)
2746 (_IO_file_sync_internal, _IO_file_seek_internal)
2747 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2748 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2749 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2750 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2751 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2752 (_IO_list_all_internal, _IO_link_in_internal)
2753 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2754 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2755 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2756 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2757 (_IO_do_write_internal, _IO_padn_internal)
2758 (_IO_getline_info_internal, _IO_getline_internal)
2759 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2760 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2761 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2762 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2763 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2764 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2765 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2766 with libc_hidden_ver, remove use of INTUSE.
2767 * libio/genops.c: Likewise.
2768 * libio/freopen.c: Likewise.
2769 * libio/freopen64.c: Likewise.
2770 * libio/iofclose.c: Likewise.
2771 * libio/iofdopen.c: Likewise.
2772 * libio/iofflush.c: Likewise.
2773 * libio/iofflush_u.c: Likewise.
2774 * libio/iofgets.c: Likewise.
2775 * libio/iofgets_u.c: Likewise.
2776 * libio/iofopen.c: Likewise.
2777 * libio/iofopncook.c: Likewise.
2778 * libio/iofread.c: Likewise.
2779 * libio/iofread_u.c: Likewise.
2780 * libio/ioftell.c: Likewise.
2781 * libio/iofwrite.c: Likewise.
2782 * libio/iogetline.c: Likewise.
2783 * libio/iogets.c: Likewise.
2784 * libio/iogetwline.c: Likewise.
2785 * libio/iopadn.c: Likewise.
2786 * libio/iopopen.c: Likewise.
2787 * libio/ioseekoff.c: Likewise.
2788 * libio/ioseekpos.c: Likewise.
2789 * libio/iosetbuffer.c: Likewise.
2790 * libio/iosetvbuf.c: Likewise.
2791 * libio/ioungetc.c: Likewise.
2792 * libio/ioungetwc.c: Likewise.
2793 * libio/iovdprintf.c: Likewise.
2794 * libio/iovsprintf.c: Likewise.
2795 * libio/iovsscanf.c: Likewise.
2796 * libio/memstream.c: Likewise.
2797 * libio/obprintf.c: Likewise.
2798 * libio/oldfileops.c: Likewise.
2799 * libio/oldiofclose.c: Likewise.
2800 * libio/oldiofdopen.c: Likewise.
2801 * libio/oldiofopen.c: Likewise.
2802 * libio/oldiopopen.c: Likewise.
2803 * libio/oldstdfiles.c: Likewise.
2804 * libio/putc.c: Likewise.
2805 * libio/setbuf.c: Likewise.
2806 * libio/setlinebuf.c: Likewise.
2807 * libio/stdfiles.c: Likewise.
2808 * libio/strops.c: Likewise.
2809 * libio/vasprintf.c: Likewise.
2810 * libio/vscanf.c: Likewise.
2811 * libio/vsnprintf.c: Likewise.
2812 * libio/vswprintf.c: Likewise.
2813 * libio/wfiledoalloc.c: Likewise.
2814 * libio/wfileops.c: Likewise.
2815 * libio/wgenops.c: Likewise.
2816 * libio/wmemstream.c: Likewise.
2817 * libio/wstrops.c: Likewise.
2818 * libio/__fpurge.c: Likewise.
2819 * libio/__fsetlocking.c: Likewise.
2820 * assert/assert.c: Likewise.
2821 * debug/fgets_chk.c: Likewise.
2822 * debug/fgets_u_chk.c: Likewise.
2823 * debug/fread_chk.c: Likewise.
2824 * debug/fread_u_chk.c: Likewise.
2825 * debug/gets_chk.c: Likewise.
2826 * debug/obprintf_chk.c: Likewise.
2827 * debug/vasprintf_chk.c: Likewise.
2828 * debug/vdprintf_chk.c: Likewise.
2829 * debug/vsnprintf_chk.c: Likewise.
2830 * debug/vsprintf_chk.c: Likewise.
2831 * malloc/mtrace.c: Likewise.
2832 * misc/error.c: Likewise.
2833 * misc/syslog.c: Likewise.
2834 * stdio-common/asprintf.c: Likewise.
2835 * stdio-common/fxprintf.c: Likewise.
2836 * stdio-common/getw.c: Likewise.
2837 * stdio-common/isoc99_fscanf.c: Likewise.
2838 * stdio-common/isoc99_scanf.c: Likewise.
2839 * stdio-common/isoc99_vfscanf.c: Likewise.
2840 * stdio-common/isoc99_vscanf.c: Likewise.
2841 * stdio-common/isoc99_vsscanf.c: Likewise.
2842 * stdio-common/printf-prs.c: Likewise.
2843 * stdio-common/printf_fp.c: Likewise.
2844 * stdio-common/printf_fphex.c: Likewise.
2845 * stdio-common/printf_size.c: Likewise.
2846 * stdio-common/putw.c: Likewise.
2847 * stdio-common/scanf.c: Likewise.
2848 * stdio-common/sprintf.c: Likewise.
2849 * stdio-common/tmpfile.c: Likewise.
2850 * stdio-common/vfprintf.c: Likewise.
2851 * stdio-common/vfscanf.c: Likewise.
2852 * stdlib/strfmon_l.c: Likewise.
2853 * sunrpc/openchild.c: Likewise.
2854 * sunrpc/xdr_stdio.c: Likewise.
2855 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2856 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2857
d6c33fda
RM
28582012-05-24 Roland McGrath <roland@hack.frob.com>
2859
c1487492
RM
2860 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2861
2862 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2863 in the third column, to generate for the shared library an IFUNC
2864 that uses _dl_vdso_vsym.
2865 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2866 * Makeconfig (object-suffixes-noshared): New variable.
2867
2868 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2869 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2870 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2871 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2872
d6c33fda
RM
2873 [BZ #14132]
2874 * include/sys/time.h (__gettimeofday): Remove macro.
2875 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2876 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2877 Remove INTDEF.
2878 (__gettimeofday): Add libc_hidden_def.
2879 (gettimeofday): Add libc_hidden_weak.
2880 * sysdeps/mach/gettimeofday.c: Likewise.
2881 * sysdeps/posix/gettimeofday.c: Likewise.
2882 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2883 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2884 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2885 (__gettimeofday_internal): Remove strong_alias.
2886 (__gettimeofday): Add libc_hidden_def.
2887 (gettimeofday): Add libc_hidden_weak.
2888 * sysdeps/unix/syscalls.list (gettimeofday):
2889 Remove __gettimeofday_internal alias.
2890
b5a2bbe6
L
28912012-05-24 Daniel Jacobowitz <drow@false.org>
2892 H.J. Lu <hongjiu.lu@intel.com>
2893
2894 [BZ #12495]
2895 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2896 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2897 (largebin_index_32_big): New.
2898 (largebin_index): Use it for 16-byte alignment.
2899 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2900 correction with front_misalign.
2901
cfba4fda
L
29022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2903
7f907421
L
2904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2906 Likewise.
2907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2908 Likewise.
2909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2910 Likewise.
2911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2912 Likewise.
2913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2914 Likewise.
2915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2916 Likewise.
2917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2918 Likewise.
2919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2920 Likewise.
2921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2922 Likewise.
2923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2924 Likewise.
2925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2926 Likewise.
2927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2928 Likewise.
2929
cfba4fda
L
2930 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2931 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2932
80bad0cc
JM
29332012-05-24 Joseph Myers <joseph@codesourcery.com>
2934
7a25eb06
JM
2935 [BZ #10846]
2936 [BZ #14036]
2937 * math/libm-test.inc (exp_test): Add test from bug 14036.
2938 (pow_test): Add test from bug 10846.
2939
795405f9
JM
2940 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2941 and other flags.
2942 (special_function): Do not include flags in test name.
2943 (parse_args): Likewise.
2944 * sysdeps/i386/fpu/libm-test-ulps: Update.
2945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2946 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2947 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2949
80bad0cc
JM
2950 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2951 exceptions.
2952 * math/libm-test.inc ("Philosophy"): Update comment about
2953 exception testing.
2954 (UNDERFLOW_EXCEPTION): New macro.
2955 (UNDERFLOW_EXCEPTION_OK): Likewise.
2956 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2957 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2958 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2959 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2960 (INVALID_EXCEPTION_OK): Update value.
2961 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2962 (OVERFLOW_EXCEPTION_OK): Likewise.
2963 (IGNORE_ZERO_INF_SIGN): Likewise.
2964 (test_exceptions): Handle underflow exceptions.
2965 (acos_test): Update for underflow exception expectations.
2966 (cexp_test): Likewise.
2967 (clog_test): Likewise.
2968 (clog10_test): Likewise.
2969 (csqrt_test): Likewise.
2970 (ctan_test): Likewise.
2971 (ctanh_test): Likewise.
2972 (exp_test): Likewise.
2973 (exp10_test): Likewise.
2974 (exp2_test): Likewise.
2975 (expm1_test): Likewise.
2976 (fma_test): Likewise.
2977 (j0_test): Likewise.
2978 (jn_test): Likewise.
2979 (nexttoward_test): Likewise.
2980 (pow_test): Likewise.
2981 (scalbn_test): Likewise.
2982 (scalbln_test): Likewise.
2983 (tan_test): Likewise.
2984 (y1_test): Likewise.
2985 * sysdeps/i386/fpu/libm-test-ulps: Update.
2986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2987
9e0e3d0b
DM
29882012-05-23 David S. Miller <davem@davemloft.net>
2989
2990 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2991 (__libc_sigaction): Remove unused local variables.
2992
ccd0a08f
L
29932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2994
2995 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2996
62bdf9a6
PE
29972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2998
f8591f80
PE
2999 mktime: avoid signed integer overflow
3000 * time/mktime.c (__mktime_internal): Do not mishandle the case
3001 where diff == INT_MIN.
3002
94c7d826
PE
3003 mktime: simplify computation of average
3004 * time/mktime.c (ranged_convert): Use new time_t_avg function
3005 instead of rolling our own (probably-slower) code.
3006
ce73d683
PE
3007 mktime: do not assume signed right shift propagates sign bit
3008 * time/mktime.c (isdst_differ): New static function.
3009 (__mktime_internal): No need to normalize tm_isdst now.
3010 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3011 tm_isdst values.
3012
72a22e59
PE
3013 mktime: merge another wrapv change from gnulib
3014 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3015 from some compilers.
3016
68605433
PE
3017 mktime: remove incorrect attempt at unusual arithmetics
3018 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3019 The code didn't really work on such machines anyway.
3020 (TYPE_MINIMUM): Assume two's complement.
3021 (twos_complement_arithmetic): Verify that long_int and time_t
3022 are two's complement (or unsigned, in the latter case).
3023
03cf7fe3
PE
3024 mktime: check signed shifts on long_int and time_t, too
3025 * time/mktime.c (SHR): Check that shifts work as desired
3026 on the types long_int and time_t too, as SHR is used on
3027 such types.
3028
f04dfbc2
PE
3029 mktime: do not assume 'long' is wide enough
3030 * time/mktime.c (verify): Move decl up.
3031 (long_int): New type.
3032 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3033 to remove assumption in the code that 'long' is wide enough to
3034 store year values. This assumption is not true on x32 and on
3035 some non-glibc platforms.
3036
62bdf9a6
PE
3037 mktime: merge wrapv change from gnulib
3038 * time/mktime.c (WRAPV): New macro.
3039 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3040 (guess_time_tm, __mktime_internal): Do not assume that signed
3041 integer overflow wraps around; modern compilers generate code
3042 where this assumption is no longer valid.
3043
5e292e4f
L
30442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3045
3046 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3047 Replace "jmp L(pseudo_end)" with "ret".
3048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3049 Likewise.
3050
8caf8c87
AJ
30512012-05-23 Andreas Jaeger <aj@suse.de>
3052
3053 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3054 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3055
1a09dc56
AJ
30562012-05-23 Andreas Jaeger <aj@suse.de>
3057 Maximilian Attems <max@stro.at>
3058
3059 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3060 New macros.
3061
1c87aba0
L
30622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3063
3064 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3065 code so that pseudo_end is just ret and the stack pointer is
3066 correct also for static library in error case.
3067
40e45bd5
JM
30682012-05-23 Joseph Myers <joseph@codesourcery.com>
3069
c2670533
JM
3070 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3071 move to syscalls.list.
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3076
40e45bd5
JM
3077 * manual/install.texi (Running make install): Do not mention Linux
3078 kernel version for which pt_chown is not needed.
3079 (Linux): Do not mention problems with nscd with 2.0 kernels.
3080 * INSTALL: Regenerated.
3081
be08eda5
AJ
30822012-05-23 Andreas Jaeger <aj@suse.de>
3083
3084 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3085 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3086 macro.
3087 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3088 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3089 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3090 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3091 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3093 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3095 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3097 * sysdeps/unix/sysv/linux/bits/in.h
3098 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3099
a6a056bb
RM
31002012-05-22 Roland McGrath <roland@hack.frob.com>
3101
3102 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3103 (PREPARE_VERSION): Just use assert instead, it will be elided
3104 under [NDEBUG] anyway.
3105
c9009328
L
31062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3107
3108 * sysdeps/unix/sysv/linux/Makefile: Include
3109 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3110 (sysdep_routines): Remove sysctl.
c9009328
L
3111 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3112 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3113 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3114 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3115 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3116
73338355
AJ
31172012-05-22 Andreas Jaeger <aj@suse.de>
3118
3119 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3120 that pseudo_end is just ret and the stack pointer is correct also
3121 for static library in error case.
3122
d44638b0
PP
31232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3124
3125 [BZ #14122]
3126 * nss/nsswitch.c (defconfig_entries): New variable.
3127 (__nss_database_lookup): Don't leak defconfig entries.
3128 (nss_parse_service_list): Don't leak on error paths.
3129 (free_database_entries): New function.
3130 (free_defconfig): New function.
3131 (free_mem): Move common code to free_database_entries.
3132
31a39bd8
L
31332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3134
da0331a8
L
3135 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3136 Add arch_prctl.
3137 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3138
31a39bd8
L
3139 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3140 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3142 New macro.
3143 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3144 (INTERNAL_SYSCALL_TYPES): Likewise.
3145 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3146 (LOAD_REGS_TYPES_[1-6]): Likewise.
3147 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3148 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3149
45470df3
AZ
31502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3151
3152 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3153 copysignl for GLIBC_2_0.
3154 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3155 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3157 logbl for GLIBC_2_0.
3158 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3159 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3160
98a61bcb
L
31612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3162
a4f6e481
L
3163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3164 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3165
f63d5db6
L
3166 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3167 Use "neg %eax".
3168
98a61bcb
L
3169 * time/mktime.c: Update copyright years.
3170
95770f14
PE
31712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3172
6226efbd
PE
3173 mktime: merge comment-quoting-style change from gnulib
3174 * time/mktime.c: Quote 'like this' in comments.
3175 The GNU coding standards suggest that we no longer quote `like this',
3176 as "`" and "'" are typically rendered asymmetrically nowadays.
3177 The typical gnulib style is to quote 'like this' when quoting
3178 code, and "like this" when quoting English.
3179
b99e4f78
PE
3180 * time/mktime.c (compile-command): Add "-I.".
3181
643e01e6
PE
3182 mktime: merge mktime-internal.h change from gnulib
3183 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3184
2554247d
PE
3185 mktime: merge time_r change from gnulib
3186 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3187
826dd0ab
PE
3188 mktime: merge DEBUG change from gnulib
3189 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3190 case system <time.h> has a #define.
3191
bd83aabe
PE
3192 mktime: merge <sys/types.h> change from gnulib
3193 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3194 since <time.t> is now guaranteed to define time_t.
3195
95770f14
PE
3196 mktime: merge HAVE_CONFIG_H change from gnulib
3197 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3198
5e1a27a9
L
31992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3200
0e44a77e
L
3201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3202 Use "neg %eax".
3203
5e1a27a9
L
3204 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3205 __rlim_t cast.
3206 (struct rusage): Use anonymous union to pad each field to
3207 __syscall_slong_t.
3208
46259bec
DM
32092012-05-21 David S. Miller <davem@davemloft.net>
3210
3211 * Makefules (o-iterator): Remove .s cases.
3212 (compile-command.s): Delete.
3213 (COMPILE.s): Delete.
3214 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3215
59f0c22e
JM
32162012-05-21 Joseph Myers <joseph@codesourcery.com>
3217
3218 * configure.in (libc_cv_predef_stack_protector): Only consider
3219 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3220 * configure: Regenerated.
3221
20c07380
L
32222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3223
bbb3154b
L
3224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3225 New macro. Use R*LP on int and pointer.
3226 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3227 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3228 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3229 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3230
20c07380
L
3231 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3232 [__WORDSIZE_TIME64_COMPAT32] instead of
3233 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3234 (struct utmp): Likewise.
3235 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3236 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3237 Renamed to ...
3238 (__WORDSIZE_TIME64_COMPAT32): This.
3239 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3240 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3241 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3242 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3243 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3244 (__WORDSIZE_TIME64_COMPAT32): New macro.
3245
d8d1017e
AJ
32462012-05-21 Andreas Jaeger <aj@suse.de>
3247
3248 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3249 only if [SHARED]. Add prototype for __wcschr_ia32.
3250
6c7fb145
RM
32512012-05-21 Roland McGrath <roland@hack.frob.com>
3252
3253 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3254 of %rbp unmolested in the jmp_buf while mangling the low bits.
3255 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3256 unmolested high bits of %rbp while demangling the low bits.
3257 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3258
66274218
AJ
32592012-05-21 Andreas Jaeger <aj@suse.de>
3260
07c58f8f
AJ
3261 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3262 * sunrpc/svc_simple.c: Use it for registerrpc.
3263 * sunrpc/xcrypt.c: Use it for passwd2des.
3264
66274218
AJ
3265 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3266
61f65140
L
32672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3268
3269 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3270 Don't define if [__SYSCALL_WORDSIZE != 32].
3271 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3272 New macro.
3273
5fefb436
AJ
32742012-05-21 Bruno Haible <bruno@clisp.org>
3275 Andreas Jaeger <aj@suse.de>
3276
3277 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3278 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3279 inptr and inend for must_buffer_ch.
3280 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3281 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3282 * stdio-common/Makefile (tests): Remove bug15.
3283 (bug15-ENV): Remove macro.
3284 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3285 anymore.
3286
d8e272ab
AJ
32872012-05-19 Andreas Jaeger <aj@suse.de>
3288 Roland McGrath <roland@hack.frob.com>
3289
3290 * manual/contrib.texi: Completely rewritten. It contains now an
3291 alphabetical list of contributors and their contributions.
3292
4a56a162
RH
32932012-05-21 Richard Henderson <rth@twiddle.net>
3294
3295 * misc/getauxval.c (__getauxval): Use unsigned long int.
3296 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3297 (getauxval): Use unsigned long int.
3298
d024d23c
L
32992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3300
3301 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3302
cbc00a03
RM
33032012-05-21 Roland McGrath <roland@hack.frob.com>
3304
3305 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3306 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3307 __alignof__ (long double).
3308
478143fa
AZ
33092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3310
3311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3312
c7683a6d
RH
33132012-05-20 Richard Henderson <rth@twiddle.net>
3314
3315 * misc/getauxval.c: New file.
3316 * misc/sys/auxv.h: New file.
3317 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3318 (routines): Add getauxval.
3319 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3320 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3321 * elf/dl-sysdep.c (_dl_auxv): Remove.
3322 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3323 * elf/dl-support.c (_dl_auxv): New variable.
3324 (_dl_aux_init): Initialize it.
3325 * manual/startup.texi (Auxiliary Vector): New node.
3326 * sysdeps/generic/bits/hwcap.h: New file.
3327 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3328 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3329 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3330 * sysdeps/sparc/sysdep.h: ... here. Include it.
3331 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3332 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3334 Update.
c7683a6d
RH
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3338 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3343
a6f1845d
AZ
33442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3345
3346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3347
cbcbe830
DM
33482012-05-19 David S. Miller <davem@davemloft.net>
3349
3350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3351
e0b16cc2
JM
33522012-05-19 Joseph Myers <joseph@codesourcery.com>
3353
3354 [BZ #14123]
3355 * math/s_ccosh.c: Include <float.h>
3356 (__ccosh): Avoid internal overflow calculating sinh and cosh
3357 values before multiplying by sin and cos values.
3358 * math/s_ccoshf.c: Likewise.
3359 * math/s_ccoshl.c: Likewise.
3360 * math/s_csin.c: Likewise.
3361 * math/s_csinf.c: Likewise.
3362 * math/s_csinl.c: Likewise.
3363 * math/s_csinh.c: Likewise.
3364 * math/s_csinhf.c: Likewise.
3365 * math/s_csinhl.c: Likewise.
3366 * math/libm-test.inc (ccos_test): Add more tests.
3367 (ccosh_test): Likewise.
3368 (csin_test): Likewise.
3369 (csinh_test): Likewise.
3370 * sysdeps/i386/fpu/libm-test-ulps: Update.
3371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3372
6ad13e08
L
33732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3374
f66f0ce8
L
3375 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3376 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3377
6ad13e08
L
3378 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3379
b1d072a7
JM
33802012-05-19 Joseph Myers <joseph@codesourcery.com>
3381
3382 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3383 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3384 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3385 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3386 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3387 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3388 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3389 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3390 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3391 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3392 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3393 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3394 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3395 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3396 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3397 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3398 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3399 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3400 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3401 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3402 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3403 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3404 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3405 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3406 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3407 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3408 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3409 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3410 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3411 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3412 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3413
9eae47cb
AJ
34142012-05-18 Andreas Jaeger <aj@suse.de>
3415
3416 * csu/.gitignore: Delete.
3417
bb07f69f
L
34182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3419
3420 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3421 (timex): Use __syscall_slong_t.
3422
e6bdb741
AJ
34232012-05-18 Andreas Jaeger <aj@suse.de>
3424 Carlos O'Donell <carlos_odonell@mentor.com>
3425
3426 * manual/install.texi (Configuring and compiling): Update
3427 description about files modified in the source directory.
d6c33fda 3428 * INSTALL: Regenerated.
e6bdb741 3429
1b74487e
L
34302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3431
3432 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3433 value. Use "or" to set return value to -1.
3434 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3435 negate return value.
3436
a88b64b9
TMQMF
34372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3438
3439 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3440 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3441 failure if the compiler has Graphite support disabled.
3442 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3443 Likewise.
3444 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3445 CFLAGS-memmove.c): Likewise.
3446 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3447 Likewise.
3448
3707636e
L
34492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3450
610b8622
L
3451 * sysdeps/x86_64/x32/_itoa.h: New file.
3452
7cd195df
L
3453 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3454 getdents system call only if kernel and user dirents have the
3455 same d_ino and d_off.
3456
94b07d20
L
3457 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3458 LLONG_MAX != LONG_MAX.
3459 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3460 (_fitoa_word): Likewise.
3461
18298070
L
3462 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3463 years.
3464 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3465 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3466 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3467
553c7ea4
L
3468 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3469 include <bits/wordsize.h>. Check __x86_64__ instead of
3470 __WORDSIZE.
3471 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3472 if __x86_64__ is defined. Use anonymous union on fpstate.
3473
3707636e
L
3474 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3475 anonymous union.
3476
b53ef01a
AS
34772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3478
37fb1dc0
AS
3479 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3480 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3481 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3482 Refer to _rtld_local_ro instead of _rtld_global_ro.
3483 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3484 Likewise.
3485 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3486 Likewise.
3487 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3488 Likewise.
3489 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3490 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3491 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3492
b53ef01a
AS
3493 * sysdeps/powerpc/powerpc32/dl-machine.c
3494 (__elf_machine_runtime_setup) [PROF]: Don't reference
3495 _dl_prof_resolve.
3496
7a185db2
AJ
34972012-05-18 Andreas Jaeger <aj@suse.de>
3498
3499 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3500 function only available for GCCs before 3.4 since GCC 3.4
3501 introduced a builtin.
3502 (lrint): Likewise.
3503 (llrintf): Likewise.
3504 (llrint): Likewise.
3505 (fmaxf): Likewise.
3506 (fmax): Likewise.
3507 (fminf): Likewise.
3508 (fmin): Likewise.
3509 (rint): Likewise.
3510 (rintf): Likewise.
3511 (nearbyint): Likewise.
3512 (nearbyintf): Likewise.
3513 (ceil): Likewise.
3514 (ceilf): Likewise.
3515 (floor): Likewise.
3516 (floorf): Likewise.
3517
3e5aef87
L
35182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3519
428bd707
L
3520 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3521 on both fields and cast pointer to __syscall_ulong_t.
3522
3e5aef87
L
3523 * bits/types.h (__fsword_t): New type.
3524 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3525 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3527 (__FSWORD_T_TYPE): Likewise.
3528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3529 (__FSWORD_T_TYPE): Likewise.
3530 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3531 (__FSWORD_T_TYPE): Likewise.
3532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3533 (__FSWORD_T_TYPE): Likewise.
3534 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3535 __SWORD_TYPE with __fsword_t.
3536 (statfs64): Likewise.
3537
1ba7c3dc
DM
35382012-05-17 David S. Miller <davem@davemloft.net>
3539
3540 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3541
59910343
AJ
35422012-05-17 Andreas Jaeger <aj@suse.de>
3543
3544 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3545 warning.
3546
2e4c1e9e
L
35472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3548
3549 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3550
de7f5ce7
AJ
35512012-05-17 Andreas Jaeger <aj@suse.de>
3552
3553 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3554 when it is used.
3555
286abc3d
CM
35562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3557
3558 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3559
477cc68e
L
35602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3561
3562 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3563 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3564
1a0994f5
CD
35652012-05-17 Andreas Jaeger <aj@suse.de>
3566 Carlos O'Donell <carlos_odonell@mentor.com>
3567
3568 [BZ #14059]
3569 * sysdeps/x86_64/multiarch/init-arch.h
3570 (bit_YMM_Usable): Rename to...
3571 (bit_AVX_Usable): ... this.
3572 (bit_FMA4_Usable): New macro.
3573 (bit_XMM_state): New macro.
3574 (bit_YMM_state): New macro.
3575 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3576 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3577 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3578 (CPUID_OSXSAVE): New macro.
3579 (CPUID_AVX): New macro.
3580 (CPUID_FMA4): New macro.
3581 (index_YMM_Usable): Rename to...
3582 (index_AVX_Usable): ... this.
3583 (HAS_AVX): Use HAS_ARCH_FEATURE.
3584 (HAS_FMA4): Likewise.
3585 (HAS_YMM_USABLE): Remove.
3586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3587 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3588 are present.
3589 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3590 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3591 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3592 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3593 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3594
0af797de
CM
35952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3596
3597 * math/libm-test.c: Support platforms without multiple rounding modes.
3598 * math/bug-nextafter.c: Support platforms without FP exceptions.
3599 * math/bug-nexttoward.c: Likewise.
3600 * math/test-fenv.c: Likewise.
3601 * math/test-misc.c: Likewise.
3602 * stdlib/bug-getcontext.c: Likewise.
3603
e39745ff
AJ
36042012-05-17 Andreas Jaeger <aj@suse.de>
3605
3606 * manual/examples/search.c (critter_cmp): Change signature to
3607 avoid warnings.
3608 * manual/string.texi (Collation Functions): Likewise.
3609
48970aba
L
36102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3611
3612 * bits/types.h: Fold copyright years.
3613 * bits/typesizes.h: Likewise.
3614 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3617 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3618 * time/time.h: Likewise.
3619
bedee953
PP
36202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3621
3622 [BZ #208]
3623 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3624 in instead of returning them. Return void.
3625 (__libc_mallinfo): Accumulate over all arenas.
3626 (__malloc_stats): Adjust for change in int_mallinfo interface.
3627
61653dfb
RM
36282012-05-16 Roland McGrath <roland@hack.frob.com>
3629
30b99d79
RM
3630 [BZ #10375]
3631 * configure.in (NM): Add AC_CHECK_TOOL for it.
3632 (libc_extra_cflags): New substituted variable.
3633 Check for -fstack-protector being used implicitly.
3634 * configure: Regenerated.
3635 * config.make.in (config-extra-cflags): New variable,
3636 gets @libc_extra_cflags@.
3637 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3638
61653dfb
RM
3639 [BZ #10375]
3640 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3641 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3642 * configure: Regenerated.
3643 * config.make.in (CPPUNDEFS): New substituted variable.
3644 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3645 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3646 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3647
661768bb
L
36482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3649
3650 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3651 (mq_attr): Use __syscall_slong_t.
3652
d4261567
L
36532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3654
3655 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3656 Check __x86_64__ instead of __WORDSIZE.
3657 (_STAT_VER_LINUX): Likewise.
3658 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3659 __syscall_ulong_t and __syscall_slong_t.
3660 (stat64): Likewise.
3661
cf3ff365
L
36622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3663
3664 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3665
76cf3e4d
L
36662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3667
3668 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3669
a637753a
L
36702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3671
3672 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3673 __syscall_ulong_t.
3674
d5e05119
L
3675 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3676 include <bits/wordsize.h>. Check __x86_64__ instead of
3677 __WORDSIZE.
3678 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3679 defined.
3680 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3681
f62ee380
L
3682 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3683 include <bits/wordsize.h>. Check __x86_64__ instead of
3684 __WORDSIZE.
3685 (user_regs_struct): Use "__extension__ unsigned long long"
3686 instead of "unsigned long" if __x86_64__ is defined.
3687 (user): Likewise. Pad after pointer field if __ILP32__ is
3688 defined.
3689
4e124ced
JM
36902012-05-16 Joseph Myers <joseph@codesourcery.com>
3691
6a3951a0
JM
3692 * configure.in (makeinfo): Require version 4.5 or later. Allow
3693 versions 5 to 9.
3694 * configure: Regenerated.
3695 * manual/install.texi (texinfo): Increase version requirement to
3696 4.5 or later.
3697 * INSTALL: Regenerated.
3698
4e124ced
JM
3699 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3700
953ca31a
L
37012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3702
3703 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3704
617aca05
L
3705 * sysdeps/x86_64/x32/ffs.c: New file.
3706
5762f7ae
L
3707 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3708 __syscall_ulong_t.
3709 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3710 defined. Use __syscall_ulong_t.
3711 (shminfo): Use __syscall_ulong_t.
3712 (shm_info): Likewise.
3713
a26b6856
L
3714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3715 __syscall_ulong_t.
3716
cb2b9ef7
L
3717 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3718 <bits/wordsize.h>.
3719 (msgqnum_t): Use __syscall_ulong_t.
3720 (msglen_t): Likewise.
3721 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3722 __syscall_ulong_t.
3723
34683bb0
L
3724 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3725 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3726
84a68786
L
3727 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3728
48baa5f1
L
3729 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3730 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3731
180be88b
L
3732 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3733 __syscall_slong_t.
3734
5e90c8ad
L
3735 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3736 include <bits/wordsize.h>. Check __x86_64__ instead of
3737 __WORDSIZE.
3738
23dfb58b
L
3739 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3740 "unsigned long long int" if __x86_64__ is defined.
3741 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3742
ce5d54b0
L
3743 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3744 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3745 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3746
13dc9eac
L
3747 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3748 <stdint.h>.
3749 (GET_PC): Cast to uintptr_t first.
3750 (GET_FRAME): Likewise.
3751 (GET_STACK): Likewise.
3752
a7895d15
L
3753 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3754 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3755 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3756 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3757 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3758 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3759 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3760 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3761 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3762 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3763 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3764 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3765 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3766 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3767 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3769 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3770 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3771 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3772 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3773 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3774 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3775 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3776 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3777 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3778 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3779 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3780 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3781 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3782
656416c9
AS
37832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3784
5bd66283
AS
3785 * Makerules (+depfiles): Also collect depfiles from .oS in
3786 $(extra-objs).
3787 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3788 .oS, $(libnldbl-routines)).
3789
656416c9
AS
3790 * Makerules (native-compile-mkdep-flags): Define.
3791 * sunrpc/Makefile (extra-objs): Add $(addprefix
3792 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3793 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3794 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3795 calling $(make-target-directory).
3796
a46f2169
L
37972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3798
3799 * bits/types.h (__snseconds_t): Removed.
3800 * time/time.h (struct timespec): Replace __snseconds_t with
3801 __syscall_slong_t.
3802 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3803 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3804 Likewise.
3805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3806 (__SNSECONDS_T_TYPE): Likewise.
3807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3808 (__SNSECONDS_T_TYPE): Likewise.
3809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3810 (__SNSECONDS_T_TYPE): Likewise.
3811
6af6528b
L
38122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3813
3814 * sysdeps/mach/hurd/bits/typesizes.h
3815 (__SYSCALL_SLONG_TYPE): New macro.
3816 (__SYSCALL_ULONG_TYPE): Likewise.
3817
de986b56
L
38182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3819
3820 * bits/types.h (__syscall_slong_t): New type.
3821 (__syscall_ulong_t): Likewise.
3822
3823 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3824 (__SYSCALL_ULONG_TYPE): Likewise.
3825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3826 (__SYSCALL_SLONG_TYPE): Likewise.
3827 (__SYSCALL_ULONG_TYPE): Likewise.
3828 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3829 (__SYSCALL_SLONG_TYPE): Likewise.
3830 (__SYSCALL_ULONG_TYPE): Likewise.
3831 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3832 (__SYSCALL_SLONG_TYPE): Likewise.
3833 (__SYSCALL_ULONG_TYPE): Likewise.
3834
85736dc7
L
38352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3836
3837 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3838 Add sigaltstack-offsets.sym.
3839 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3840 <sigaltstack-offsets.h>.
3841 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3842 longjmp_msg pointer.
3843 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3844 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3845 signal stack.
3846 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3847
cc03b296
JM
38482012-05-15 Joseph Myers <joseph@codesourcery.com>
3849
a9538892
JM
3850 * elf/stackguard-macros.h: Remove file.
3851 * sysdeps/generic/stackguard-macros.h: New file.
3852 * sysdeps/i386/stackguard-macros.h: Likewise.
3853 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3854 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3855 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3856 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3857 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3858 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3859 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3860 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3861 <elf/stackguard-macros.h>.
3862
cc03b296
JM
3863 [BZ #14109]
3864 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3865 __aligned__ in attribute.
3866 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3867 (gregset_t): Likewise.
3868
93171016
L
38692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3870
3871 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3872 * sysdeps/x86_64/64/Implies-after: Here. New file.
3873 * sysdeps/x86_64/x32/Implies-after: New file.
3874
d86813a0
L
38752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3876
3877 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3878 and access return value for _dl_profile_fixup. Use R10_LP to
3879 load frame size.
3880
2953ec75
L
38812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3882
3883 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3884
3b550e9e
L
38852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3886
3887 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3888 * sysdeps/x86_64/x32/sysdep.h: New file.
3889
eda41706
L
38902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3891
3892 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3893 * sysdeps/x86_64/setjmp.S: Likewise.
3894
9ea01d93
AZ
38952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3896
3897 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3898 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3899 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3900 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3901 remove unused global constant.
3902
02a91938
CM
39032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3904
3905 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3906 include of <not-cancel.h>.
3907
6540185f
RM
39082012-05-15 Roland McGrath <roland@hack.frob.com>
3909
3910 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3911
509072a0
AJ
39122012-05-15 Jeff Law <law@redhat.com>
3913 Andreas Jaeger <aj@suse.de>
3914
3915 [BZ #13594]
3916 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3917 out from...
3918 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3919 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3920 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3921 code changing __hst_map_handle.map.
3922
ba75122d
RM
39232012-05-15 Roland McGrath <roland@hack.frob.com>
3924
3925 * configure.in (sysnames): Look for Implies-before and Implies-after
3926 files.
3927 * configure: Regenerated.
3928
890d8bd8
L
39292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3930
3931 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3932 8-byte data alignment with LP_SIZE alignment.
3933
f6ee6623
L
39342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3935
3936 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3937 into R10_LP.
3938
ea2626f6
L
39392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3940
3941 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3942
085f715e
L
39432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3944
3945 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3946 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3947 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3948 Likewise.
3949 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3950
be8498fc
L
39512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3952
3953 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3954 (stackinfo_sub_sp): Likewise.
3955
70bc83b9
L
39562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3957
3958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3959 RAX_LP.
3960
9bc0b730
L
39612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3962
3963 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3964 into R*_LP.
3965
6d2850e7
L
39662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3967
3968 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3969 sizes into R*_LP.
3970
3cb84561
L
39712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3972
3973 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3974
54e2ed81
L
39752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3976
3977 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3978 into R11_LP and load __x86_64_shared_cache_size_half into
3979 R8_LP.
3980
8a17f349
L
39812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3982
3983 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3984 R8_LP.
3985
777b1eea
AZ
39862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3987
3988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3989 logb for POWER7.
3990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3991 logbf for POWER7.
3992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3993 logbl for POWER7.
3994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3995 powerpc32/power7/fpu/s_logb.c via #include.
3996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3997 powerpc32/power7/fpu/s_logbf.c via #include.
3998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3999 powerpc32/power7/fpu/s_logbl.c via #include.
4000
d20d4ac2
JM
40012012-05-15 Joseph Myers <joseph@codesourcery.com>
4002
4003 * README.libm: Remove file.
4004
6cdef1ab
L
40052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4006
4007 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4008 count for x32. Use R*_LP and omit operand-size suffix.
4009
0b254d8f
L
40102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4011
4012 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4013 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4014 * sysdeps/x86_64/x32/shlib-versions: New file.
4015
ceb809dc
RM
40162012-05-14 Roland McGrath <roland@hack.frob.com>
4017
4018 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4019 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4020 Use _dl_fatal_printf instead.
4021
37f1abd4
JM
40222012-05-14 Joseph Myers <joseph@codesourcery.com>
4023
4024 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4025 set if not set by the user. Do not allow for being unset.
4026 * sysdeps/unix/sysv/linux/configure: Regenerated.
4027
11de3a33
L
40282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4029
4030 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4031 the `q' suffix from lea and replace .quad with ASM_ADDR.
4032
e02f153a
L
40332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4034
4035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4036 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4037 instead of $17.
4038 (PTR_DEMANGLE): Likewise.
4039
520ae0fd
L
40402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4041
4042 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4043 (LP_OP): Likewise.
4044 (ASM_ADDR): Likewise.
4045 (RAX_LP): Likewise.
4046 (RBP_LP): Likewise.
4047 (RBX_LP): Likewise.
4048 (RCX_LP): Likewise.
4049 (RDI_LP): Likewise.
4050 (RSI_LP): Likewise.
4051 (RSP_LP): Likewise.
4052 (R8_LP): Likewise.
4053 (R9_LP): Likewise.
4054 (R10_LP): Likewise.
4055 (R10_LP): Likewise.
4056 (R11_LP): Likewise.
4057 (R12_LP): Likewise.
4058 (R13_LP): Likewise.
4059 (R14_LP): Likewise.
4060 (R15_LP): Likewise.
4061
b985be81
L
40622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4063
4064 * sysdeps/x86_64/x32/dl-machine.h: New file.
4065
6a4888ff
AJ
40662012-05-14 Andreas Jaeger <aj@suse.de>
4067
4068 * manual/Makefile (subdir): Remove export of subdir.
4069 (all): Remove target.
4070 (.PHONY): Remove all from list.
4071 (mkinstalldirs): Remove.
4072 (.PHONY): Remove installdirs from list.
4073 ($(inst_infodir)/libc.info): Use make-target-directory.
4074 (installdirs): Remove.
4075 (subdir_%): Remove.
4076 (glibc-targets): Remove.
4077 (lib): Remove.
4078 (stubs): Remove.
4079 ($(objpfx)stubs ../po/manual.pot): Remove.
4080 ($(objpfx)stamp%): Remove.
4081 (make-target-directory): Remove.
4082 (subdir_install): Remove.
4083 (routines): Remove.
4084 (aux): Remove.
4085 (sources): Remove.
4086 (objects): Remove.
4087 (headers): Remove.
4088
4089 [BZ #13750]
4090 * manual/.gitignore: Remove, it's not needed anymore.
4091 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4092 all files in it.
4093 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4094 directory.
4095 (texis): Renamed to $(objpfx)texis.
4096 (texis-path): New, contains path to generated files.
4097 (chapters.%): Use texis-path for complete path, add extra argument
4098 libc-texinfo.sh.
4099 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4100 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4101 (summary,texi, stamp-summary): Use complete path of
4102 files. Generate files in build dir.
4103 (dir-add.texi): Build in build dir.
4104 (libm-err.texi,stamp-libm-err): Likewise.
4105 (version.texi, stamp-version): Likewise.
4106 (.%c.texi): Likewise.
4107 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4108 (mostlyclean): Remove target.
4109 (realclean): Remove target.
4110 (generated): Add new variable with contents from mostlyclean and
4111 realclean, remove entries duplicated in common-mostlyclean, add
4112 stamp-libm-err and stamp-version.
4113 (generated-dirs): Add libc directory.
4114 ($(inst_infodir)/libc.info): Install files from build dir.
4115
4116 * manual/install.texi (Configuring and compiling): Adjust since
4117 the info files are not part of the tar ball anymore.
4118
7ac77294
AJ
41192012-05-14 Andreas Jaeger <aj@suse.de>
4120
4121 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4122 variable.
4123
ffb7875d
JM
41242012-05-14 Joseph Myers <joseph@codesourcery.com>
4125
4126 [BZ #13717]
4127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4128 to 2.2.0 where earlier.
4129 * sysdeps/unix/sysv/linux/configure: Regenerated.
4130 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4131 Remove conditional code.
4132 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4133 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4134 Remove conditional code.
4135 [!__NR_lchown]: Likewise.
4136 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4137 [__NR_lchown]: Likewise.
4138 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4139 comment referencing __ASSUME_LCHOWN_SYSCALL.
4140 * sysdeps/unix/sysv/linux/i386/sigaction.c
4141 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4142 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4143 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4144 Remove conditional code.
4145 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4146 (__protocol_available): Remove #if 0 code.
4147 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4148 conditional code.
4149 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4150 * sysdeps/unix/sysv/linux/kernel-features.h
4151 (__ASSUME_GETCWD_SYSCALL): Don't define.
4152 (__ASSUME_REALTIME_SIGNALS): Likewise.
4153 (__ASSUME_PREAD_SYSCALL): Likewise.
4154 (__ASSUME_PWRITE_SYSCALL): Likewise.
4155 (__ASSUME_POLL_SYSCALL): Likewise.
4156 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4157 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4158 non-SPARC.
4159 (__ASSUME_SIOCGIFNAME): Don't define.
4160 (__ASSUME_MSG_NOSIGNAL): Likewise.
4161 (__ASSUME_SENDFILE): Define unconditionally.
4162 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4163 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4164 conditional code.
4165 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4166 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4167 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4168 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4169 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4170 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4171 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4173 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4176 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4182 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4183 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4196 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4197 Remove conditional code.
4198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4199 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4200 Remove conditional code.
4201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4202 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4203 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4204 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4205 Remove conditional code.
4206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4207 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4208 Remove conditional code.
4209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4210 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4211 Remove conditional code.
4212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4213 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4214 Remove conditional code.
4215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4216 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4217 Remove conditional code.
4218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4219 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4220 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4222 * sysdeps/unix/sysv/linux/sigaction.c
4223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4225 * sysdeps/unix/sysv/linux/sigpending.c
4226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4228 * sysdeps/unix/sysv/linux/sigprocmask.c
4229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4231 * sysdeps/unix/sysv/linux/sigsuspend.c
4232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4234 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4235 (__libc_missing_rt_sigs): Remove.
4236 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4237 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4238 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4239 Remove conditional code.
4240 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4241 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4242 return 1.
4243 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4244 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4245 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4246 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4247
1bfb7291
AJ
42482012-05-14 Andreas Jaeger <aj@suse.de>
4249
caae5a81
AJ
4250 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4251 it's not used in glibc.
4252 (__coshm1): Likewise.
4253 (__acosh1p): Likewise.
4254 (__sgn): Likewise.
4255
1bfb7291
AJ
4256 * manual/string.texi (Copying and Concatenation): Add missing
4257 variable in concat example.
4258 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4259
c044d724
L
42602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4261
144c5467 4262 [BZ #14103]
c044d724
L
4263 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4264 __builtin_clzl with __builtin_clzll.
4265
2523c62b
L
42662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4267
4268 [BZ #14104]
4269 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4270 libc_freeres_ptr.
4271
d7bb4c42
LD
42722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4273
4274 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4275 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4276 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4277 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4278
9dc4e1fb
MF
42792012-05-14 Mike Frysinger <vapier@gentoo.org>
4280
4281 * NEWS: Update ia64 info.
4282
c7df0112
AS
42832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4284
4285 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4286 used as bcopy.
4287
dc70356c
TS
42882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4289
4290 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4291 * sysdeps/unix/syscalls.list (dup3): Likewise.
4292 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4293 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4294
9fb1a21f
L
42952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4296
4297 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4298 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4299
4822a2a5
L
43002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4301
4302 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4303 thread pointer.
4304 (TLS_IE): Use mov/add instead of movq/addq to load thread
4305 pointer.
4306 (TLS_GD_PREFIX): New.
4307 (TLS_GD): Use it.
4308
842b81d6
DM
43092012-05-11 David S. Miller <davem@davemloft.net>
4310
4311 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4312 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4313 (_FPU_SETCW): Likewise.
4314
1cf463cd
L
43152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4316
4317 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4318 is 32-byte aligned.
4319
60cc4a18
AS
43202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4321
4322 [BZ #11837]
4323 * iconvdata/gb18030.c: Update tables.
4324 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4325 characters specially.
4326 (BODY for TO_LOOP): Add encoding of missing ranges.
4327
febb44a4
TS
43282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4329
4330 [BZ #13673]
4331 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4332 * sysdeps/mach/hurd/dup3.c: Likewise.
4333 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4334 * sysdeps/powerpc/memmove.c:: Likewise.
4335
0a10fb9e
L
43362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4337
4338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4339 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4340
df8a552f
L
43412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4342
4343 * elf/elf.h (R_X86_64_RELATIVE64): New.
4344 (R_X86_64_NUM): Updated.
4345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4346 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4347 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4348 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4349 tst-quad1pie tst-quad2pie
4350 (modules-names): Add tst-quadmod1 tst-quadmod2.
4351 ($(objpfx)tst-quad1): New dependency.
4352 ($(objpfx)tst-quad2): Likewise.
4353 ($(objpfx)tst-quad1pie): Likewise.
4354 ($(objpfx)tst-quad2pie): Likewise.
4355 * sysdeps/x86_64/tst-quad1.c: New file.
4356 * sysdeps/x86_64/tst-quad1pie.c: New file.
4357 * sysdeps/x86_64/tst-quad2.c: Likewise.
4358 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4359 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4360 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4361 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4362 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4363
f34d6f84
ST
43642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4365
f42d41d1
ST
4366 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4367 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4368 * streams/stropts.h (t_scalar_t): Define type.
4369
3c3571fc
ST
4370 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4371 (_PATH_PRESERVE): Set to "/var/lib".
4372 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4373
61f06bd3
ST
4374 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4375 instead of int.
4376
918d4d71
ST
4377 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4378 if __dir_mkfile succeeded.
4379
f34d6f84
ST
4380 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4381 checking for _hurd_dtablesize. Unlock it right after having
4382 finished _hurd_dtable allocation.
4383
10589b4a
TS
43842012-05-10 Thomas Schwinge <thomas@schwinge.name>
4385
674cdbc7
TS
4386 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4387 * sysdeps/mach/hurd/configure: Regenerated.
4388 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4389 special-casing to...
4390 * sysdeps/gnu/configure.in: ... this new file.
4391 * sysdeps/unix/sysv/linux/configure: Regenerated.
4392 * sysdeps/gnu/configure: New generated file.
4393
8e41b99f
TS
4394 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4395 for Linux: use nsec instead of usec, as well as:
4396 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4397 members of type struct timespec.
4398 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4399 New macros.
4400 (struct stat64): Likewise.
4401 (_STATBUF_ST_NSEC): New macro.
4402 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4403
10589b4a
TS
4404 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4405 __strtoul_internal rather than strtoul.
4406
63643c85
PT
44072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4408
4409 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4410 and reject them.
4411
3faebe6a
ST
44122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4413
4414 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4415 which preserves existing values.
4416 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4417
c6474b07
PT
44182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4419
4420 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4421 TIMEOUT values. Return EINVAL for NFDS values either negative or
4422 greater than FD_SETSIZE.
4423
1043890b
ST
44242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4425
4426 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4427 allocated, call __vm_protect to finish enabling the existing space, and
4428 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4429 allocate the remainder.
4430
37ed8b9b
PT
44312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4432
4433 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4434 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4435
db653660
ST
44362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4437
37ed8b9b
PT
4438 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4439 sysdeps/mach/hurd/readlink.c.
b29d4053 4440
db653660
ST
4441 * posix/tst-sysconf.c (posix_options): Only use
4442 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4443 _POSIX_SYNCHRONIZED_IO when they are defined
4444 * sysdeps/mach/hurd/bits/posix_opt.h:
4445 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4446 (_XOPEN_REALTIME): Undefine macro.
4447 (_XOPEN_REALTIME_THREADS): Undefine macro.
4448 (_XOPEN_SHM): Undefine macro.
4449 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4450 macro to -1.
4451 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4452 macro to -1.
4453 (_POSIX_ASYNC_IO): Undefine macro.
4454 (_POSIX_PRIORITIZED_IO): Undefine macro.
4455 (_POSIX_SPIN_LOCKS): Define macro to -1.
4456
ee16e894
ST
4457 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4458 SA_NODEFER, SA_RESETHAND.
4459 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4460 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4461 F_DUPFD_CLOEXEC.
4462
6103ae3b
TS
44632012-05-10 Thomas Schwinge <thomas@schwinge.name>
4464
4465 * elf/Makefile (pldd-modules): Define unconditionally.
4466
80b4e5f3
TS
44672012-05-10 Thomas Schwinge <thomas@schwinge.name>
4468
4469 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4470
edadcbd6
ST
44712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4472
4473 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4474 Return ENOENT when name is empty.
4475 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4476
80694780
TS
44772012-05-10 Thomas Schwinge <thomas@schwinge.name>
4478
1792c087
TS
4479 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4480
80694780
TS
4481 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4482
6b645f0d
ST
44832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4484
80694780
TS
4485 Fix mlock in all cases except non-readable pages.
4486 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4487 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4488
6b645f0d
ST
4489 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4490 (__mkdir): When path is `/', just fail with EEXIST.
4491 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4492
e468f8a3
TS
44932012-05-10 Thomas Schwinge <thomas@schwinge.name>
4494
4495 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4496 <sys/uio.h> (for writev).
4497 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4498 and <sys/param.h> (for MIN).
4499
a4186cff
PT
45002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4501
4502 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4503 REQUESTED_TIME. Properly set the remaining time and return EINTR
4504 if interrupted.
4505
510bbf14
TS
45062012-05-10 Thomas Schwinge <thomas@schwinge.name>
4507
4508 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4509 Depend on against $(link-rpcuserlibs).
4510
5d5722e8
ST
45112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4512
a4186cff
PT
4513 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4514 (__libc_stack_end): Do not use attribute_relro.
4515 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4516 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4517 to libthread-provided value.
a4186cff
PT
4518 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4519 attribute_relro.
5d5722e8 4520
37233df9
TS
45212012-05-10 Thomas Schwinge <thomas@schwinge.name>
4522
be971a2b
TS
4523 [BZ #3748]
4524 * bits/libc-lock.h (__libc_once_get): New macro.
4525 * sysdeps/mach/bits/libc-lock.h: Likewise.
4526 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4527 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4528 instead of using implementation details.
4529
37233df9
TS
4530 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4531 * libio/freopen.c: Likewise.
4532 * libio/freopen64.c: Likewise.
4533 * misc/syslog.c: Likewise.
4534 * nscd/connections.c: Likewise.
4535 * nscd/netgroupcache.c: Likewise.
4536 * sysdeps/posix/getcwd.c: Likewise.
4537
38de94a5
RM
45382012-05-10 Roland McGrath <roland@hack.frob.com>
4539
4540 * math/w_ilogbf.c: Add #include <limits.h>.
4541
67530489
ST
45422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4543
a4186cff 4544 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4545 path instead of returning without unlocking.
4546
67530489
ST
4547 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4548 immediate-write ioctls.
4549 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4550
5aa3a74a
TS
45512012-05-10 Thomas Schwinge <thomas@schwinge.name>
4552
18bad2ae
TS
4553 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4554 __builtin_frame_address instead of making assumptions about the
4555 location of the return address relative to DATA. Force early load of
4556 the return address.
4557 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4558 __builtin_frame_address.
4559
5aa3a74a
TS
4560 dup3 for GNU Hurd.
4561 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4562 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4563 implement dup3 and do some further code clean-ups.
4564 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4565 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4566
ecd0de9a
ST
45672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4568
cd9fa985
ST
4569 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4570
a4186cff
PT
4571 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4572 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4573 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4574 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4575 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4576 d->port.lock.
802ca5a5 4577
a4186cff
PT
4578 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4579 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4580 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4581
bcf55240
TS
45822012-05-10 Thomas Schwinge <thomas@schwinge.name>
4583
6960eb42
TS
4584 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4585 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4586 definitions.
4587
eb43375f
TS
4588 accept4 for GNU Hurd.
4589 * include/sys/socket.h (__libc_accept4): New prototype.
4590 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4591 to implement __libc_accept4.
4592 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4593 __libc_accept4.
4594 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4595
bcf55240
TS
4596 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4597 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4598 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4599 signal-defines.sym.
4600
6178c55b
ST
46012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4602
a4186cff 4603 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4604
6f080c2f
TS
46052012-05-10 Thomas Schwinge <thomas@schwinge.name>
4606
4607 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4608 assertion on O_CLOEXEC flag.
4609 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4610 * hurd/intern-fd.c: Likewise.
4611 * hurd/port2fd.c: Likewise.
4612
bcfe3a54
ST
46132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4614
4615 [BZ #3906]
4616 * bits/in.h (IPV6_PKTINFO): Define new macro.
4617 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4618
89c9aa49
AZ
46192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4620
4621 [BZ #13954]
4622 [BZ #13955]
4623 [BZ #13956]
4624 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4625 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4626 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4627 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4629 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4630 * math/libm-test.inc (logb_test) : Additional logb tests.
4631
021db4be
AJ
46322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4633 Andreas Jaeger <aj@suse.de>
4634
4635 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4636 * configure: Regenerated.
4637 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4638 * config.make.in (link-obsolete-rpc): New substituted variable.
4639 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4640 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4641 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4642 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4643 so that libc.a contains the symbols.
4644 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4645 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4646 * sunrpc/auth_none.c: Likewise.
4647 * sunrpc/auth_unix.c: Likewise.
4648 * sunrpc/authdes_prot.c: Likewise.
4649 * sunrpc/authuxprot.c: Likewise.
4650 * sunrpc/clnt_gen.c: Likewise.
4651 * sunrpc/clnt_perr.c: Likewise.
4652 * sunrpc/clnt_raw.c: Likewise.
4653 * sunrpc/clnt_simp.c: Likewise.
4654 * sunrpc/clnt_tcp.c: Likewise.
4655 * sunrpc/clnt_udp.c: Likewise.
4656 * sunrpc/clnt_unix.c: Likewise.
4657 * sunrpc/des_crypt.c: Likewise.
4658 * sunrpc/des_soft.c: Likewise.
4659 * sunrpc/get_myaddr.c: Likewise.
4660 * sunrpc/key_call.c: Likewise.
4661 * sunrpc/key_prot.c: Likewise.
4662 * sunrpc/netname.c: Likewise.
4663 * sunrpc/pm_getmaps.c: Likewise.
4664 * sunrpc/pm_getport.c: Likewise.
4665 * sunrpc/pmap_clnt.c: Likewise.
4666 * sunrpc/pmap_prot.c: Likewise.
4667 * sunrpc/pmap_prot2.c: Likewise.
4668 * sunrpc/pmap_rmt.c: Likewise.
4669 * sunrpc/publickey.c: Likewise.
4670 * sunrpc/rpc_cmsg.c: Likewise.
4671 * sunrpc/rpc_common.c: Likewise.
4672 * sunrpc/rpc_dtable.c: Likewise.
4673 * sunrpc/rpc_prot.c: Likewise.
4674 * sunrpc/rpc_thread.c: Likewise.
4675 * sunrpc/rtime.c: Likewise.
4676 * sunrpc/svc.c: Likewise.
4677 * sunrpc/svc_auth.c: Likewise.
4678 * sunrpc/svc_raw.c: Likewise.
4679 * sunrpc/svc_run.c: Likewise.
4680 * sunrpc/svc_tcp.c: Likewise.
4681 * sunrpc/svc_udp.c: Likewise.
4682 * sunrpc/svc_unix.c: Likewise.
4683 * sunrpc/svcauth_des.c: Likewise.
4684 * sunrpc/xcrypt.c: Likewise.
4685 * sunrpc/xdr.c: Likewise.
4686 * sunrpc/xdr_array.c: Likewise.
4687 * sunrpc/xdr_float.c: Likewise.
4688 * sunrpc/xdr_intXX_t.c: Likewise.
4689 * sunrpc/xdr_mem.c: Likewise.
4690 * sunrpc/xdr_rec.c: Likewise.
4691 * sunrpc/xdr_ref.c: Likewise.
4692 * sunrpc/xdr_sizeof.c: Likewise.
4693 * sunrpc/xdr_stdio.c: Likewise.
4694
b5c086a2
RM
46952012-05-10 Roland McGrath <roland@hack.frob.com>
4696
4697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4698 change. Update copyright years.
4699
6d74dd09
JM
47002012-05-10 Joseph Myers <joseph@codesourcery.com>
4701
4702 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4703
28e72501
MK
47042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4705 Joseph Myers <joseph@codesourcery.com>
4706 Paul Pluzhnikov <ppluzhnikov@google.com>
4707
4708 [BZ #14012]
4709 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4710 requiring rpcgen.
4711 [cross-compiling] (extra-libs): Likewise.
4712 [cross-compiling] (extra-libs-others): Likewise.
4713 [cross-compiling] (librpcsvc-routines): Likewise.
4714 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4715 [cross-compiling] (omit-deps): Likewise.
4716 (sunrpc-CPPFLAGS): New variable.
4717 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4718 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4719 (cross-rpcgen-objs): New variable.
4720 (extra-objs): Append $(cross-rpcgen-objs).
4721 ($(cross-rpcgen-objs)): New rule.
4722 ($(objpfx)cross-rpcgen): Likewise.
4723 (rpcgen-cmd): Define to use $(built-program-file). Expand
4724 comment.
4725 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4726 ($(objpfx)x%.stmp): Likewise.
4727 * sunrpc/proto.h [IS_IN_build] (_): Define.
4728 [IS_IN_build] (_libc_intl_domainname): Likewise.
4729
c8c59454
L
47302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4731
4732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4733 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4734 and R_X86_64_TPOFF64.
4735
6f27cd16
JM
47362012-05-10 Joseph Myers <joseph@codesourcery.com>
4737
4738 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4739 sysdeps/unix/sysv/syscalls.list.
4740 (stime): Likewise.
4741 (utime): Likewise.
4742 * sysdeps/unix/sysv/syscalls.list: Remove file.
4743
02467e1c
PE
47442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4745
4746 [BZ #3440]
4747 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4748 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4749 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4750 (__LC_IDENTIFICATION): Make these macros useful in #if
4751 expressions, as required by C99.
4752
da392631
AS
47532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4754
4755 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4756 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4757 after this.
4758
8115f29b
L
47592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4760
4761 * stdlib/longlong.h: Updated from GCC.
4762
bdd74070
AJ
47632012-05-09 Andreas Jaeger <aj@suse.de>
4764
edfe0dbe
AJ
4765 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4766 default is first entry.
4767 (run_mode): Set type.
4768 (main): Remove informal message about syslog.
4769 (options): Fix typo.
4770
bcfe3a54
ST
4771 [BZ #14053]
4772 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4773 to asm.
bcfe3a54
ST
4774 (lrint): Likewise.
4775 (llrintf): Likewise.
4776 (llrint): Likewise.
4777 (rint): Likewise.
4778 (rintf): Likewise.
4779 (nearbyint): Likewise.
4780 (nearbyintf): Likewise.
bdd74070 4781
91d8d69e
AJ
47822012-05-09 Andreas Jaeger <aj@suse.de>
4783 Pedro Alves <palves@redhat.com>
4784
4785 * nscd/nscd.c (run_mode): Use enum.
4786 (main): Cleanup coding style issue.
4787
bb90b80b
AJ
47882012-05-09 Alexandre Oliva <aoliva@redhat.com>
4789 Andreas Jaeger <aj@suse.de>
4790
bcfe3a54
ST
4791 * nscd/nscd.c (go_background): Replaced with...
4792 (run_mode): ... this.
bb90b80b 4793 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4794 (options): Add -F --foreground.
4795 (main): Implement it.
4796 (parse_opt): Parse it.
bb90b80b 4797
1a4b75a1
AJ
47982012-05-09 Andreas Jaeger <aj@suse.de>
4799
4800 [BZ #14083]
4801 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4802 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4803 -Wconversion warning.
4804 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4805 Likewise.
4806
b1cc2472
JM
48072012-05-09 Joseph Myers <joseph@codesourcery.com>
4808
4809 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4810 == 0.
4811 (LC_ALL): Use macro-int-constant.
4812 (LC_COLLATE): Likewise.
4813 (LC_CTYPE): Likewise.
4814 (LC_MESSAGES): Likewise.
4815 (LC_MONETARY): Likewise.
4816 (LC_NUMERIC): Likewise.
4817 (LC_TIME): Likewise.
4818 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4819 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4821 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4822 Specify type.
4823 [C99-based standards] (float_t): Expect type.
4824 [C99-based standards] (double_t): Expect type.
4825 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4826 type.
4827 [C99-based standards] (HUGE_VALL): Likewise.
4828 [C99-based standards] (INFINITY): Likewise.
4829 [C99-based standards] (NAN): Likewise.
4830 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4831 [C99-based standards] (FP_NAN): Likewise.
4832 [C99-based standards] (FP_NORMAL): Likewise.
4833 [C99-based standards] (FP_SUBNORMAL): Likewise.
4834 [C99-based standards] (FP_ZERO): Likewise.
4835 [C99-based standards] (FP_FAST_FMA): Use
4836 optional-macro-int-constant. Specify type. Require == 1.
4837 [C99-based standards] (FP_FAST_FMAF): Likewise.
4838 [C99-based standards] (FP_FAST_FMAL): Likewise.
4839 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4840 [C99-based standards] (FP_ILOGBNAN): Likewise.
4841 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4842 Specify type.
4843 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4844 [C99-based standards] (math_errhandling): Specify type.
4845 [ISO99 || ISO11] (signgam): Do not allow.
4846 [non-C99-based standards] (copysignf): Do not allow.
4847 [non-C99-based standards] (exp2f): Likewise.
4848 [non-C99-based standards] (log2f): Likewise.
4849 [non-C99-based standards] (modff): Allow.
4850 [non-C99-based standards] (erff): Do not allow.
4851 [non-C99-based standards] (erfcf): Likewise.
4852 [non-C99-based standards] (gammaf): Likewise.
4853 [non-C99-based standards] (hypotf): Likewise.
4854 [non-C99-based standards] (j0f): Likewise.
4855 [non-C99-based standards] (j1f): Likewise.
4856 [non-C99-based standards] (jnf): Likewise.
4857 [non-C99-based standards] (lgammaf): Likewise.
4858 [non-C99-based standards] (tgammaf): Likewise.
4859 [non-C99-based standards] (y0f): Likewise.
4860 [non-C99-based standards] (y1f): Likewise.
4861 [non-C99-based standards] (ynf): Likewise.
4862 [non-C99-based standards] (isnanf): Likewise.
4863 [non-C99-based standards] (acoshf): Likewise.
4864 [non-C99-based standards] (asinhf): Likewise.
4865 [non-C99-based standards] (atanhf): Likewise.
4866 [non-C99-based standards] (cbrtf): Likewise.
4867 [non-C99-based standards] (expm1f): Likewise.
4868 [non-C99-based standards] (ilogbf): Likewise.
4869 [non-C99-based standards] (log1pf): Likewise.
4870 [non-C99-based standards] (logbf): Likewise.
4871 [non-C99-based standards] (nextafterf): Likewise.
4872 [non-C99-based standards] (remainderf): Likewise.
4873 [non-C99-based standards] (rintf): Likewise.
4874 [non-C99-based standards] (scalbf): Likewise.
4875 [non-C99-based standards] (copysignl): Likewise.
4876 [non-C99-based standards] (exp2l): Likewise.
4877 [non-C99-based standards] (log2l): Likewise.
4878 [non-C99-based standards] (modfl): Allow.
4879 [non-C99-based standards] (erfl): Do not allow.
4880 [non-C99-based standards] (erfcl): Likewise.
4881 [non-C99-based standards] (gammal): Likewise.
4882 [non-C99-based standards] (hypotl): Likewise.
4883 [non-C99-based standards] (j0l): Likewise.
4884 [non-C99-based standards] (j1l): Likewise.
4885 [non-C99-based standards] (jnl): Likewise.
4886 [non-C99-based standards] (lgammal): Likewise.
4887 [non-C99-based standards] (tgammal): Likewise.
4888 [non-C99-based standards] (y0l): Likewise.
4889 [non-C99-based standards] (y1l): Likewise.
4890 [non-C99-based standards] (ynl): Likewise.
4891 [non-C99-based standards] (isnanl): Likewise.
4892 [non-C99-based standards] (acoshl): Likewise.
4893 [non-C99-based standards] (asinhl): Likewise.
4894 [non-C99-based standards] (atanhl): Likewise.
4895 [non-C99-based standards] (cbrtl): Likewise.
4896 [non-C99-based standards] (expm1l): Likewise.
4897 [non-C99-based standards] (ilogbl): Likewise.
4898 [non-C99-based standards] (log1pl): Likewise.
4899 [non-C99-based standards] (logbl): Likewise.
4900 [non-C99-based standards] (nextafterl): Likewise.
4901 [non-C99-based standards] (remainderl): Likewise.
4902 [non-C99-based standards] (rintl): Likewise.
4903 [non-C99-based standards] (scalbl): Likewise.
4904 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4905 [non-C99-based standards] (FP_*): Do not allow.
4906 [C99-based standards] (FP_*): Change to
4907 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4908 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4909 allow.
4910 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4911 (SIG_ERR): Likewise.
4912 [X/Open-based standards] (SIG_HOLD): Likewise.
4913 (SIG_IGN): Likewise.
4914 (SIGABRT): Use macro-int-constant. Specify type. Require
4915 positive value.
4916 (SIGFPE): Likewise.
4917 (SIGILL): Likewise.
4918 (SIGINT): Likewise.
4919 (SIGSEGV): Likewise.
4920 (SIGTER): Likewise.
4921 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4922 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4923 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4924 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4925 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4926 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4927 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4928 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4929 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4930 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4931 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4932 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4933 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4934 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4935 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4936 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4937 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4938 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4939 [X/Open-based standards] (SIGTRAP): Likewise.
4940 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4941 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4942 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4943 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4944 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4945 allow.
4946
b9f1922d
IW
49472012-05-08 Ian Wienand <ianw@vmware.com>
4948
4949 [BZ #14080]
4950 * time/tzset.c (__tzset_parse_tz): Update default rules for
4951 daylight time changes in the Energy Policy Act of 2005.
4952
1db86e88
AJ
49532012-05-09 Andreas Jaeger <aj@suse.de>
4954
4955 [BZ #13983]
4956 * elf/ldconfig.c (parse_conf): Change string to make clear that
4957 ldconfig only issued a warning if ld.so.conf does not exist.
4958
dee4a4e3
DM
49592012-05-08 David S. Miller <davem@davemloft.net>
4960
ee0db190
DM
4961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4962 movxtod instead of popping the value on the stack.
4963
dee4a4e3
DM
4964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4965
6a43ec98
CD
49662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4967
4968 * config.h.in: Add HAVE_ARM_PCS_VFP.
4969
05c2c961
RMG
49702012-05-08 Roland Mc Grath <roland@hack.frob.com>
4971
bcfe3a54
ST
4972 [BZ #13979]
4973 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4974 checking but the checks are disabled for any reason.
05c2c961 4975
4b30f61a
L
49762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4977
4978 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4979 and ELF64_R_TYPE with ELFW(R_TYPE).
4980
eee2bc67
JM
49812012-05-08 Joseph Myers <joseph@codesourcery.com>
4982
7ea5391a
JM
4983 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4984 (ulimit): Likewise.
4985
eee2bc67
JM
4986 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4987 (settimeofday): Likewise.
4988
abb66a67
MF
49892012-05-08 Mike Frysinger <vapier@gentoo.org>
4990
4991 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4992 a struct th_u2 inside the union, and move tu_block/tu_code into
4993 a new th_u3 union of tu_block/tu_code inside of that. Move
4994 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4995 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4996 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4997 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4998 (th_stuff): Change to th_u1.tu_stuff.
4999 (th_data): Define.
5000 (th_msg): Change to th_u1.th_u2.tu_data.
5001
7f18b530
DM
50022012-05-07 David S. Miller <davem@davemloft.net>
5003
05760585
DM
5004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5005
7f18b530
DM
5006 [BZ #14074]
5007 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5008 (SETUP_PIC_REG): Use it.
5009 (SETUP_PIC_REG_LEAF): Use it.
5010
495fd99f
JM
50112012-05-07 Joseph Myers <joseph@codesourcery.com>
5012
5013 [BZ #13885]
5014 [BZ #13923]
5015 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5016 USE_AS_EXPM1L.
5017 (EXPL_FINITE): Likewise.
5018 (FLDLOG): Likewise.
5019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5020 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5021 e_expl.S.
5022 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5023 USE_AS_EXPM1L.
5024 (EXPL_FINITE): Likewise.
5025 (FLDLOG): Likewise.
5026 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5027 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5028 e_expl.S.
5029 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5030 test of -max_value argument for long double.
5031 * sysdeps/i386/fpu/libm-test-ulps: Update.
5032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5033
6693d694
DM
50342012-05-06 David S. Miller <davem@davemloft.net>
5035
5036 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5037 quad soft-float symbols whose references which are compiler
5038 generated.
5039 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5040
6c23e11c
JM
50412012-05-06 Joseph Myers <joseph@codesourcery.com>
5042
d8b82cad
JM
5043 [BZ #13884]
5044 [BZ #13914]
5045 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5046 USE_AS_EXP10L.
5047 (EXPL_FINITE): Likewise.
5048 (FLDLOG): Likewise.
5049 (c0): Likewise.
5050 (c1): Likewise.
5051 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5052 Adjust comments for base varying.
5053 (__expl_finite): Change alias to EXPL_FINITE.
5054 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5055 e_expl.S.
5056 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5057 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5058 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5059 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5061 USE_AS_EXP10L.
5062 (EXPL_FINITE): Likewise.
5063 (FLDLOG): Likewise.
5064 (c0): Likewise.
5065 (c1): Likewise.
5066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5067 Adjust comments for base varying.
5068 (__expl_finite): Change alias to EXPL_FINITE.
5069 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5070 tests for bugs.
5071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5072
6c23e11c
JM
5073 [BZ #14064]
5074 * math/libm-test.inc (check_float_internal): Correct ulp
5075 calculation for subnormal expected results.
5076
29ba805c
AJ
50772012-05-06 Andreas Jaeger <aj@suse.de>
5078
5079 * Makeconfig (+math-flags): New, set to -frounding-math.
5080 (+cflags): Add +math-flags so that all of glibc gets compiled with
5081 it.
5082
5083 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5084
7b17aeda
JM
50852012-05-05 Joseph Myers <joseph@codesourcery.com>
5086
5779f134
JM
5087 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5088 Disable one test.
5089
41498f4d
JM
5090 [BZ #13787]
5091 [BZ #13922]
5092 [BZ #14036]
5093 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5094 (__ieee754_expl): Allow for and saturate large arguments.
5095 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5096 (u_threshold): Likewise.
5097 (__exp): Call __ieee754_exp before checking for overflow and
5098 underflow.
5099 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5100 (u_threshold): Likewise.
5101 (__expf): Call __ieee754_expf before checking for overflow and
5102 underflow.
5103 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5104 (u_threshold): Likewise.
5105 (__expl): Call __ieee754_expl before checking for overflow and
5106 underflow.
5107 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5108 (__ieee754_expl): Allow for and saturate large arguments.
5109 * math/libm-test.inc (exp_test): Add another test. Do not allow
5110 missing overflow exception on overflow.
5111 (expm1_test): Do not allow missing overflow exception on overflow.
5112
6698b8bf
JM
5113 * sysdeps/i386/fpu/e_expl.c: Move to ...
5114 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5115 rather than using inline asm.
5116 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5117 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5118 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5119
7b17aeda
JM
5120 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5121 (nice): Likewise.
5122 (poll): Likewise.
5123 (signal): Likewise.
5124 (time): Likewise.
5125 (times): Likewise.
5126
f7c85819
JM
51272012-05-04 Joseph Myers <joseph@codesourcery.com>
5128
5129 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5130 sysdeps/unix/common/syscalls.list.
5131 (fchmod): Likewise.
5132 (fchown): Likewise.
5133 (ftruncate): Likewise.
5134 (getrusage): Likewise.
5135 (gettimeofday): Likewise.
5136 (setpgid): Likewise.
5137 (setregid): Likewise.
5138 (setreuid): Likewise.
5139 (sigaction): Likewise.
5140 (truncate): Likewise.
5141 (vhangup): Likewise.
5142 * sysdeps/unix/common/syscalls.list: Remove file.
5143 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5144 * sysdeps/unix/sysv/linux/Implies: Likewise.
5145
336270d0
L
51462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5147
5148 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5150 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5151 Moved to ...
5152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5153 Here.
5154 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5155 to ...
5156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5157 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5158 to ...
5159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5160 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5161 to ...
5162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5163 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5164 to ...
5165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5166 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5167 to ...
5168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5169 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5170 to ...
5171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5172 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5173 to ...
5174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5175 Here.
5176 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5177 to ...
5178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5179 Here.
5180 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5181 to ...
5182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5183 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5184 Moved to ...
5185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5186 Here.
5187 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5188 to ...
5189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5190
d128e450
JM
51912012-05-04 Joseph Myers <joseph@codesourcery.com>
5192
fa8ee516
JM
5193 * sysdeps/unix/common/bits/dirent.h: Remove file.
5194 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5195
d128e450
JM
5196 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5197 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5198 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5199 * sysdeps/unix/bsd/isatty.c: Likewise.
5200 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5201 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5202 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5203
ff8faaf0 52042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5205
62881be4 5206 [BZ #13563]
31dc8730
AZ
5207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5208 long double comparison inaccuracies.
5209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5211
6fef930c
AS
52122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5213
5214 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5215 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5216
8f203e6c
JM
52172012-05-04 Joseph Myers <joseph@codesourcery.com>
5218
5219 [BZ #14049]
5220 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5221 nonzero digits before rounding a hex value.
5222 * stdlib/tst-strtod.c (tests): Add another test.
5223
5197d9c2
AK
52242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5225
5226 * sysdeps/s390/fpu/libm-test-ulps: Update.
5227
f0c1dedf
AJ
52282012-05-03 Andreas Jaeger <aj@suse.de>
5229
5230 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5231 does not get optimized out.
5232 (malloc_opt_barrier): New.
5233
a65ef2ae 52342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5235 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5236
2b942cb7 5237 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5238 intermediate file deletion.
2b942cb7 5239 (generated): Add .symlist files.
a65ef2ae 5240
54b71e02
JM
52412012-05-03 Joseph Myers <joseph@codesourcery.com>
5242
5243 [BZ #13775]
5244 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5245 Redirect under this condition.
5246 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5247 [__USE_GNU] (__dprintf_chk): Not under this condition.
5248 [__USE_GNU] (__vdprintf_chk): Likewise.
5249 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5250 under this condition.
5251 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5252 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5253 [__USE_XOPEN2K8] (vdprintf): Likewise.
5254 [__USE_GNU] (__dprintf_chk): Not under this condition.
5255 [__USE_GNU] (__vdprintf_chk): Likewise.
5256 [__USE_GNU] (dprintf): Likewise.
5257 [__USE_GNU] (vdprintf): Likewise.
5258
d3dfcc41
RM
52592012-05-03 Roland McGrath <roland@hack.frob.com>
5260
5261 * elf/Makefile (common-generated): Set this instead of generated for
5262 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5263 $(all-built-dso)-derived lists.
5264
7ac30cc5
AJ
52652012-05-03 Andreas Jaeger <aj@suse.de>
5266
0c51e550
AJ
5267 * sysdeps/i386/fpu/libm-test-ulps: Update.
5268
7ac30cc5
AJ
5269 * FAQ: Removed.
5270 * FAQ.in: Likewise.
5271 * scripts/gen-FAQ.pl: Likewise.
5272 * manual/install.texi (Installation): Point to online location of
5273 FAQ.
5274 * Makefile (files-for-dist): Remove FAQ.
5275 (FAQ): Remove.
5276
d4c2917f
AM
52772012-05-02 Allan McRae <allan@archlinux.org>
5278
5279 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5280 (LDFLAGS-reldepmod5.so): Likewise.
5281 (LDFLAGS-reldep6mod1.so): Likewise.
5282 (LDFLAGS-reldep6mod4.so): Likewise.
5283 (LDFLAGS-reldep8mod3.so): Likewise.
5284 (LDFLAGS-unload4mod1.so): Likewise.
5285 (LDFLAGS-unload4mod2.so): Likewise.
5286 (LDFLAGS-tst-initorder): Likewise.
5287 (LDFLAGS-tst-initordera2.so): Likewise.
5288 (LDFLAGS-tst-initordera3.so): Likewise.
5289 (LDFLAGS-tst-initordera4.so): Likewise.
5290 (LDFLAGS-tst-initorderb2.so): Likewise.
5291 (LDFLAGS-noload): Likewise.
5292 (LDFLAGS-next): Likewise.
5293 (LDFLAGS-order2mod1.so): Likewise.
5294 (LDFLAGS-order2mod2.so): Likewise.
5295 (LDFLAGS-tst-initorder2): Likewise.
5296 (LDFLAGS-tst-initorder2a.so): Likewise.
5297 (LDFLAGS-tst-initorder2b.so): Likewise.
5298 (LDFLAGS-tst-initorder2c.so): Likewise.
5299 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5300
d77f993f
DM
53012012-05-02 David S. Miller <davem@davemloft.net>
5302
5303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5304
171a70b4
PP
53052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5306
5307 [BZ #14055]
5308 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5309
0be196ad
AJ
53102012-05-02 Andreas Jaeger <aj@suse.de>
5311
5312 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5313 since we manipulate rounding mode.
5314 (CPPFLAGS-test-idouble.c): Likewise.
5315 (CPPFLAGS-test-ifloat.c): Likewise.
5316 (CFLAGS-test-ldouble.c): Likewise.
5317 (CFLAGS-test-double.c): Likewise.
5318 (CFLAGS-test-float.c): Likewise.
5319 (CFLAGS-test-misc.c): Likewise.
5320 (CFLAGS-test-test-fenv.c): Likewise.
5321
4f9d04aa
AZ
53222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5323
2b942cb7
RM
5324 [BZ #2550]
5325 [BZ #2570]
5326 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5327 comparisons to determine direction to adjust input.
4f9d04aa 5328
82a79e7d
RM
53292012-05-01 Roland McGrath <roland@hack.frob.com>
5330
f5a01ca9
RM
5331 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5332 output to the target.
5333
90fe4186
RM
5334 * scripts/localplt.awk: New file.
5335 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5336 (check-localplt-CFLAGS): Variable removed.
5337 ($(all-built-dso:=.jmprel)): New static pattern rule.
5338 (generated): Add those targets.
5339 (localplt-built-dso): New variable.
5340 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5341
5342 * elf/check-localplt.c: File removed.
5343
82397ed6
RM
5344 * scripts/check-execstack.awk: New file.
5345 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5346 (check-execstack-CFLAGS): Variable removed.
5347 ($(objpfx)check-execstack.h): Target removed.
5348 ($(objpfx)execstack-default): New target.
5349 (generated): Add that instead of check-execstack.h.
5350 ($(all-built-dso:=.phdr)): New static pattern rule.
5351 (generated): Add those targets.
5352 * elf/check-execstack.c: File removed.
5353
82a79e7d
RM
5354 * scripts/check-textrel.awk: New file.
5355 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5356 (check-textrel-CFLAGS): Variable removed.
5357 (all-built-dso): Use := to define.o
5358 ($(all-built-dso:=.dyn)): New static pattern rule.
5359 (generated): Add those targets.
5360 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5361 * config.make.in (READELF): New substituted variable.
5362 * elf/check-textrel.c: File removed.
5363
62fde54f 53642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5365
615605c9
JM
5366 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5367 allow.
5368 * conform/data/ctype.h-data [C99-based standards] (isblank):
5369 Expect function.
5370 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5371 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5373 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5374 Specify type. Require positive value.
5375 (EILSEQ): Likewise.
5376 (ERANGE): Likewise.
5377 [ISO || POSIX] (EILSEQ): Do not expect.
5378 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5379 Specify type. Require positive value.
5380 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5381 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5382 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5383 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5384 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5385 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5386 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5387 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5388 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5389 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5390 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5391 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5392 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5393 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5394 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5395 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5396 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5397 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5398 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5399 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5400 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5401 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5402 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5403 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5404 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5405 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5406 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5407 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5408 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5409 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5410 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5411 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5412 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5413 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5414 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5415 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5416 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5417 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5418 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5419 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5420 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5421 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5422 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5423 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5424 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5425 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5426 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5427 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5429 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5430 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5431 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5432 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5433 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5434 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5435 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5436 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5437 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5438 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5439 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5440 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5441 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5442 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5443 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5444 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5445 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5446 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5447 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5448 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5449 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5450 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5451 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5452 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5453 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5454 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5455 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5456 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5457 Require >= 2.
5458 (FLT_ROUNDS): Expect as macro, not constant.
5459 (FLT_MANT_DIG): Use macro-int-constant.
5460 (DBL_MANT_DIG): Likewise.
5461 (LDBL_MANT_DIG): Likewise.
5462 (FLT_DIG): Likewise.
5463 (DBL_DIG): Likewise.
5464 (LDBL_DIG): Likewise.
5465 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5466 (DBL_MIN_EXP): Likewise.
5467 (LDBL_MIN_EXP): Likewise.
5468 (FLT_MAX_EXP): Use macro-int-constant.
5469 (DBL_MAX_EXP): Likewise.
5470 (LDBL_MAX_EXP): Likewise.
5471 (FLT_MAX_10_EXP): Likewise.
5472 (DBL_MAX_10_EXP): Likewise.
5473 (LDBL_MAX_10_EXP): Likewise.
5474 (FLT_MAX): Use macro-constant.
5475 (DBL_MAX): Likewise.
5476 (LDBL_MAX): Likewise.
5477 (FLT_EPSILON): Use macro-constant. Give upper bound.
5478 (DBL_EPSILON): Likewise.
5479 (LDBL_EPSILON): Likewise.
5480 (FLT_MIN): Likewise.
5481 (DBL_MIN): Likewise.
5482 (LDBL_MIN): Likewise.
5483 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5484 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5485 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5486 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5487 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5488 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5489 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5490 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5491 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5492 [ISO11] (FLT_TRUE_MIN): Likewise.
5493 [ISO11] (LDBL_TRUE_MIN): Likewise.
5494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5495 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5496 (SCHAR_MIN): Use macro-int-constant. Specify type.
5497 (SCHAR_MAX): Likewise.
5498 (UCHAR_MAX): Likewise.
5499 (CHAR_MIN): Likewise.
5500 (CHAR_MAX): Likewise.
5501 (MB_LEN_MAX): Use macro-int-constant.
5502 (SHRT_MIN): Use macro-int-constant. Specify type.
5503 (SHRT_MAX): Likewise.
5504 (USHRT_MAX): Likewise.
5505 (INT_MAX): Likewise.
5506 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5507 bound negative.
5508 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5509 bound with "U".
5510 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5511 bound with "L".
5512 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5513 bound negative. Suffix upper bound with "L".
5514 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5515 bound with "UL".
5516 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5517 Specify type.
5518 [C99-based standards] (LLONG_MAX): Likewise.
5519 [C99-based standards] (ULLONG_MAX): Likewise.
5520 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5521 == 0.
5522 [ISO11] (max_align_t): Require type.
5523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5524
c9140a62
JM
5525 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5526 from $CFLAGS, without defining away __attribute__ calls.
5527 (checknamespace): Use $CFLAGS_namespace.
5528
9af0bf29
JM
5529 * conform/conformtest.pl (@keywords): Only include C99 keywords
5530 for standards based on C99 or C11.
5531
343222a2
JM
5532 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5533 Disable tests.
5534 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5535 UNIX98]: Likewise.
5536
661f8cf0
JM
5537 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5538 usability of symbols in #if.
5539
ee74b9cb
JM
5540 * conform/conformtest.pl: If macro or constant types start
5541 "promoted:", expect the symbol to be of the following type
5542 promoted by the integer promotions.
62fde54f 5543
aafc49b3
JM
5544 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5545 in one place. Also handle "macro-constant".
5546
fefdf574
JM
5547 * conform/conformtest.pl: Only accept expected macro values with
5548 "==". Parse all "macro" lines in one place.
5549 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5550
f2d922fe
JM
5551 * conform/conformtest.pl: Handle braced types on "constant" lines
5552 instead of handling "typed-constant".
5553 * conform/data/signal.h-data: Use "constant" instead of
5554 "typed-constant".
5555
d22956c9
JM
5556 * conform/conformtest.pl: Handle "optional-" at start of lines in
5557 one place rather than duplicating several cases. Handle each
5558 format of "macro" line with initial "optional-".
5559
028e2e38
JM
5560 * conform/conformtest.pl: Only accept expected constant or
5561 optional-constant values with "==". Parse all "constant" lines in
5562 one place. Parse all "optional-constant" lines in one place.
5563 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5564 * conform/data/fmtmsg.h-data: Likewise.
5565 * conform/data/netinet/in.h-data: Likewise.
5566 * conform/data/tar.h-data: Likewise.
5567 * conform/data/limits.h-data: Use "==" form on "constant" and
5568 "optional-constant" lines.
5569
1b8f2850
JM
5570 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5571 Use -std=c99 for XOPEN2K.
5572 (@knownproblems): Remove.
5573 (newtoken): Don't check %isknown.
5574
a05a144b
JM
5575 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5576 Do not expect macro.
5577 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5578 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5579 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5580 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5581 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5582 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5583 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5584 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5585 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5586 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5587 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5588 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5589 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5590 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5591 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5592 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5593 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5594 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5595 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5596 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5597 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5598 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5599 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5600 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5601 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5602 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5603 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5604 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5605 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5606 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5607 [XPG3] (acosh): Likewise.
5608 [XPG3] (asinh): Likewise.
5609 [XPG3] (atanh): Likewise.
5610 [XPG3] (cbrt): Likewise.
5611 [XPG3] (expm1): Likewise.
5612 [XPG3] (ilogb): Likewise.
5613 [XPG3] (log1p): Likewise.
5614 [XPG3] (logb): Likewise.
5615 [XPG3] (nextafter): Likewise.
5616 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5617 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5618 [XPG3] (remainder): Likewise.
5619 [XPG3] (rint): Likewise.
5620 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5621 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5622 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5623 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5624 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5626 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5627 [UNIX98 || XOPEN2K] (scalb): Expect.
5628 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5629 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5630 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5632 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5633 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5634 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5635 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5636 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5637 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5638 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5639 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5640 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5641 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5642 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5643 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5644 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5645 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5646 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5647 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5648 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5649 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5650 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5651 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5652 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5653 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5654 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5655 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5656 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5657 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5658 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5659 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5660 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5661 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5662 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5663 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5664 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5665 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5666 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5667 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5668 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5669 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5670 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5672 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5673 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5682 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5683 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5701 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5702 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5711 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5712 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5720 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5721 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5722 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5730 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5731 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5735 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5736 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5737 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5739 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5740 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5741 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5765
73c5ebe3
JM
5766 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5767 _XOPEN_SOURCE_EXTENDED for XPG4.
5768
39c33b6c
JM
5769 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5770
62fde54f
JM
5771 * Makeconfig (localtime): Remove variable.
5772 (inst_localtime-file): Likewise.
5773
0741d64c
AS
57742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5775
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5777 Update.
5778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5779 Update.
5780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5781 Update.
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5783 Update.
5784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5785 Update.
5786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5787 Update.
5788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5789 Update.
5790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5791 Update.
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5793 Update.
5794
7cb029ee
JM
57952012-05-01 Joseph Myers <joseph@codesourcery.com>
5796
5797 [BZ #2550]
5798 [BZ #2570]
5799 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5800 comparisons to determine direction to adjust input.
5801 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5802 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5803 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5804 Likewise.
5805 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5806 Likewise.
5807 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5808 Likewise.
5809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5811 Likewise.
5812 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5813 Likewise.
5814 * math/libm-test.inc (nexttoward_test): Add more tests.
5815
412bd966
AS
58162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5817
5818 [BZ #14040]
5819 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5820 in version GLIBC_2.1, not GLIBC_2.0.
5821 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5822 Likewise.
5823
9568c0c2
JM
58242012-04-30 Joseph Myers <joseph@codesourcery.com>
5825
adfbc8ac
JM
5826 [BZ #13942]
5827 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5828 (1 - x) * (1 + x).
5829 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5830 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5831 * math/libm-test.inc (acos_test): Add more tests.
5832 (asin_test): Likewise.
5833 * sysdeps/i386/fpu/libm-test-ulps: Update.
5834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5835
5ba3cc69
JM
5836 [BZ #14034]
5837 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5838 of square root.
5839 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5840 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5841 * math/libm-test.inc (acos_test_tonearest): New function.
5842 (acos_test_towardzero): Likewise.
5843 (acos_test_downward): Likewise.
5844 (acos_test_upward): Likewise.
5845 (asin_test_tonearest): Likewise.
5846 (asin_test_towardzero): Likewise.
5847 (asin_test_downward): Likewise.
5848 (asin_test_upward): Likewise.
5849 (main): Call the new functions.
5850 * sysdeps/i386/fpu/libm-test-ulps: Update.
5851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5852
9568c0c2
JM
5853 [BZ #13884]
5854 [BZ #13924]
5855 * math/e_exp10.c: Include <float.h>.
5856 (__ieee754_exp10): Handle underflow here rather than multiplying
5857 large negative argument by M_LN10.
5858 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5859 of __ieee754_expf.
5860 * math/e_exp10l.c: Include <float.h>.
5861 (__ieee754_exp10l): Handle underflow here rather than multiplying
5862 large negative argument by M_LN10l.
5863 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5864 spurious overflow exception on underflow.
5865
5ac3ea17
MP
58662012-04-29 Marek Polacek <polacek@redhat.com>
5867
5868 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5869 (__fortify_function): New macro.
5870 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5871 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5872 __extern_always_inline.
5873 * libio/bits/stdio2.h: Likewise.
5874 * libio/bits/stdio.h: Likewise.
5875 * string/string.h: Likewise.
5876 * string/bits/string3.h: Likewise.
5877 * include/stdio.h: Likewise.
5878 * stdlib/bits/stdlib.h: Likewise.
5879 * stdlib/stdlib.h: Likewise.
5880 * rt/bits/mqueue2.h: Likewise.
5881 * rt/mqueue.h: Likewise.
5882 * posix/bits/unistd.h: Likewise.
5883 * posix/unistd.h: Likewise.
5884 * io/bits/poll2.h: Likewise.
5885 * io/bits/fcntl2.h: Likewise.
5886 * io/fcntl.h: Likewise.
5887 * io/sys/poll.h: Likewise.
5888 * misc/bits/syslog.h: Likewise.
5889 * misc/bits/syslog-ldbl.h: Likewise.
5890 * misc/sys/syslog.h: Likewise.
5891 * socket/bits/socket2.h: Likewise.
5892 * socket/sys/socket.h: Likewise.
5893 * debug/tst-chk1.c: Likewise.
5894 * wcsmbs/bits/wchar2.h: Likewise.
5895 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5896 * wcsmbs/wchar.h: Likewise.
5897
ecf0ebfb
AJ
58982012-04-29 Andreas Jaeger <aj@suse.de>
5899
5900 * Makerules (tests): Remove enable-check-abi protection.
5901 (check-abi-warn): Remove.
5902 (check-abi-%): Remove check-abi-warn usage.
5903
5904 * configure.in: Remove check-abi configure option.
5905 * configure: Regenerated.
5906 * config.make.in (enable-check-abi): Remove.
5907
6d5c57fa
AS
59082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5909
24c5d07e 5910 [BZ #14033]
ded5180a
AS
5911 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5912 double functions to double *_finite functions.
5913
7e0d315d
AS
5914 [BZ #13941]
5915 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5916 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5917 LDBL_MIN_EXP.
5918 * stdio-common/Makefile (tests): Add tst-sprintf3.
5919 * stdio-common/tst-sprintf3.c: New file.
5920
6d5c57fa
AS
5921 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5922 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5923
0749ff8b
JM
59242012-04-28 Joseph Myers <joseph@codesourcery.com>
5925
5926 * conform/conformtest.pl: Remove duplicate typed-constant
5927 handling.
5928
8dbd5d7b
DM
59292012-04-28 David S. Miller <davem@davemloft.net>
5930
5931 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5932 (check-abi-%): Remove AWK script prerequisite and explicit
5933 abilist directory.
5934 (check-abi): Rewrite to just diff the symlist with the abilist.
5935 (config-tls, config-abi-config): Delete, no longer used.
5936 (update-abi-%): Remove AWK script and explicit abilist directory.
5937 (update-abi): Rewrite to simply compare and conditionally copy the
5938 symlist and the sysdep abilist file. Remove update-abi-config
5939 checks.
5940 * abilist/ld.abilist: Remove.
5941 * abilist/libBrokenLocale.abilist: Remove.
5942 * abilist/libanl.abilist: Remove.
5943 * abilist/libcrypt.abilist: Remove.
5944 * abilist/libdl.abilist: Remove.
5945 * abilist/librt.abilist: Remove.
5946 * abilist/libthread_db.abilist: Remove.
5947 * abilist/libutil.abilist: Remove.
5948 * scripts/extract-abilist.awk: Remove.
5949 * scripts/merge-abilist.awk: Remove.
5950 * sysdeps/generic/libcidn.abilist: New file.
5951 * sysdeps/generic/libnss_compat.abilist: New file.
5952 * sysdeps/generic/libnss_db.abilist: New file.
5953 * sysdeps/generic/libnss_dns.abilist: New file.
5954 * sysdeps/generic/libnss_files.abilist: New file.
5955 * sysdeps/generic/libnss_hesiod.abilist: New file.
5956 * sysdeps/generic/libnss_nis.abilist: New file.
5957 * sysdeps/generic/libnss_nisplus.abilist: New file.
5958 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5959 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5960 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5961 file.
5962 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5963 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5964 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5965 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5966 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5967 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5968 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5969 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5970 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5971 file.
5972 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5973 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5974 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5975 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5976 file.
5977 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5978 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5979 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5980 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5981 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5982 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5983 file.
5984 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5985 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5986 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5987 file.
5988 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5990 New file.
5991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5992 New file.
5993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5994 New file.
5995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5996 New file.
5997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5998 New file.
5999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6000 New file.
6001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6002 New file.
6003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6004 New file.
6005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6006 New file.
6007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6008 New file.
6009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6010 New file.
6011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6012 New file.
6013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6014 New file.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6016 file.
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6018 New file.
6019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6020 New file.
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6022 file.
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6024 New file.
6025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6026 New file.
6027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6028 file.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6030 New file.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6032 New file.
6033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6034 New file.
6035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6036 New file.
6037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6038 New file.
6039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6040 New file.
6041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6043 file.
6044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6045 New file.
6046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6047 file.
6048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6049 file.
6050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6051 file.
6052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6053 file.
6054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6055 file.
6056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6057 New file.
6058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6059 file.
6060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6061 file.
6062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6063 New file.
6064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6065 file.
6066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6068 file.
6069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6070 New file.
6071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6072 file.
6073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6074 file.
6075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6076 file.
6077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6078 file.
6079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6080 file.
6081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6082 New file.
6083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6084 file.
6085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6086 file.
6087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6088 New file.
6089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6090 file.
6091 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6092 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6093 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6094 file.
6095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6096 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6097 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6098 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6099 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6100 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6101 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6102 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6103 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6104 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6107 file.
6108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6109 New file.
6110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6111 file.
6112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6113 file.
6114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6115 file.
6116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6117 file.
6118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6119 file.
6120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6121 New file.
6122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6123 New file.
6124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6125 file.
6126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6127 New file.
6128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6129 file.
6130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6132 file.
6133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6134 New file.
6135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6136 file.
6137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6138 file.
6139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6140 file.
6141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6142 file.
6143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6144 file.
6145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6146 New file.
6147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6148 New file.
6149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6150 file.
6151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6152 New file.
6153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6154 file.
6155
41d73a1b
JM
61562012-04-28 Joseph Myers <joseph@codesourcery.com>
6157
6158 * conform/conformtest.pl: Fix typo in handling typed-constant from
6159 allow-header.
6160
28aeeda4
JM
61612012-04-27 Joseph Myers <joseph@codesourcery.com>
6162
adae8f5e
JM
6163 * README: Cut down references to pre-2.6 Linux kernels and
6164 Linuxthreads. Update lists of configurations in libc and ports
6165 and sort alphabetically. Say "or newer" with Linux kernel version
6166 requirements.
6167
28aeeda4
JM
6168 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6169
a462cb63
RA
61702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6171
6172 [BZ #887]
6173 * math/libm-test.inc (logb_test_downward): New test to expose
6174 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6175 rounding mode.
6176
6ad3493e
JM
61772012-04-27 Joseph Myers <joseph@codesourcery.com>
6178
6179 [BZ #14027]
6180 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6181 to be done.
6182 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6183 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6184
2ce4f015
JM
61852012-04-26 Joseph Myers <joseph@codesourcery.com>
6186
5aeb141a
JM
6187 * sysdeps/unix/i386/brk.S: Remove file.
6188 * sysdeps/unix/i386/dl-brk.S: Likewise.
6189 * sysdeps/unix/i386/pipe.S: Likewise.
6190 * sysdeps/unix/i386/sigreturn.S: Likewise.
6191 * sysdeps/unix/i386/syscall.S: Likewise.
6192 * sysdeps/unix/i386/vfork.S: Likewise.
6193 * sysdeps/unix/i386/wait.S: Likewise.
6194
7143acae
JM
6195 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6196 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6197
2ce4f015
JM
6198 * configure.in (arm*-none*): Do not allow without
6199 --enable-hacker-mode.
6200 (netbsd*): Remove case setting base_os.
6201 (386bsd*): Likewise.
6202 (freebsd*): Likewise.
6203 (bsdi*): Likewise.
6204 (osf*): Likewise.
6205 (sunos*): Likewise.
6206 (ultrix*): Likewise.
6207 (newsos*): Likewise.
6208 (dynix*): Likewise.
6209 (*bsd*): Likewise.
6210 (sysv*): Likewise.
6211 (isc*): Likewise.
6212 (esix*): Likewise.
6213 (sco*): Likewise.
6214 (minix*): Likewise.
6215 (irix4*): Likewise.
6216 (irix6*): Likewise.
6217 (solaris[2-9]*): Likewise.
6218 (none): Likewise.
6219 * configure: Regenerated.
6220
0ac229c8
AZ
62212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6222
6223 [BZ #11521]
6224 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6225 overflow or cancellation in calculating denominator.
6226 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6228 down expression to avoid unexpected rounding in newer GCCs.
6229 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6230
33f244f4
DM
62312012-04-26 David S. Miller <davem@davemloft.net>
6232
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6234 long-double compat symbols.
6235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6248
cfa1f3e8
DM
62492012-04-25 David S. Miller <davem@davemloft.net>
6250
6251 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6252 HWCAP_* values only after the memory barriers have been defined.
6253 (atomic_full_barrier): Define.
6254 (atomic_read_barrier): Define.
6255 (atomic_write_barrier): Define.
6256
6e236b92
SP
62572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6258
6259 * shlib-versions: Add libgcc_s version information.
6260 * sysdeps/generic/libgcc_s.h: Remove.
6261 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6262 libgcc_s.h.
6263 * sysdeps/gnu/unwind-resume.c: Likewise.
6264 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6265
aab39a09
DM
62662012-04-25 David S. Miller <davem@davemloft.net>
6267
6268 * sysdeps/unix/sparc/brk.S: Delete.
6269 * sysdeps/unix/sparc/dl-brk.S: Delete.
6270 * sysdeps/unix/sparc/pipe.S: Delete.
6271 * sysdeps/unix/sparc/sysdep.S: Delete.
6272 * sysdeps/unix/sparc/sysdep.h: Delete.
6273 * sysdeps/unix/sparc/vfork.S: Delete.
6274 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6275 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6276 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6277 ret_ERRVAL, r0, r1, MOVE): Define.
6278 (JUMPTARGET): Remove.
6279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6280 sysdeps/unix/sparc/sysdep.h
6281 (ENTRY, END): Remove.
6282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6283
a3cc4f48
JM
62842012-04-25 Joseph Myers <joseph@codesourcery.com>
6285
2ed8cda2
JM
6286 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6287 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6288 -DIS_IN_build.
6289
35d76d59
JM
6290 * timezone/README: Update upstream location and email address for
6291 tzcode and tzdata.
6292 * timezone/zdump.c: Update from tzcode 2012b.
6293 * timezone/zic.c: Likewise.
6294
a3cc4f48
JM
6295 * configure.in (libc_cv_as_needed): Remove test.
6296 * configure: Regenerated.
6297 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6298 conditional definition.
6299 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6300 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6301 * config.make.in (have-as-needed): Remove variable.
6302
ceab42c3
SP
63032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6304 Paul Pluzhnikov <ppluzhnikov@google.com>
6305
6306 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6307 strings correctly.
6308
3ce2865f
CLT
63092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6310
6311 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6312 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6313 * sysdeps/sh/strlen.S: Likewise.
6314
f37e0d68
JM
63152012-04-24 Joseph Myers <joseph@codesourcery.com>
6316
ae186e9a
JM
6317 * sysdeps/unix/fork.S: Remove file.
6318 * sysdeps/unix/i386/fork.S: Likewise.
6319 * sysdeps/unix/sparc/fork.S: Likewise.
6320
b96914af
JM
6321 * sysdeps/unix/system.c: Remove file.
6322 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6323
f37e0d68
JM
6324 * sysdeps/unix/getegid.S: Remove file.
6325 * sysdeps/unix/geteuid.S: Likewise.
6326
87ef29ca
RM
63272012-04-24 Roland McGrath <roland@hack.frob.com>
6328
83bcd236
RM
6329 * scripts/check-localplt.awk: New file.
6330 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6331 of diff.
6332 * scripts/data/localplt-generic.data: Add a comment.
6333
87ef29ca
RM
6334 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6335 NODE when __dir_mkfile failed.
6336 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6337 Reported by Ludovic Courtès <ludo@gnu.org>.
6338
e5a6e567
AJ
63392012-04-24 Andreas Jaeger <aj@suse.de>
6340
6341 * Makerules (common-clean): Also remove gen-as-const-headers
6342 files.
6343
c1820385
JM
63442012-04-24 Joseph Myers <joseph@codesourcery.com>
6345
6346 * Makerules (native-compile): Do not change working directory for
6347 build. Use $(OUTPUT_OPTION) in command.
6348 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6349
94e02fc4
AZ
63502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6351
6352 [BZ #13886]
6353 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6354 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6355 * math/libm-test.inc (floor_test): Add more tests.
6356 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6357
3a533ca3
JM
63582012-04-24 Joseph Myers <joseph@codesourcery.com>
6359
940ab4b3
JM
6360 * sysdeps/unix/getdents.c: Remove file.
6361 * sysdeps/unix/sysv/getdents.c: Likewise.
6362 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6363
90e037bd
JM
6364 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6365 sysdeps/unix/mman/syscalls.list.
6366 (mmap): Likewise.
6367 (mprotect): Likewise.
6368 (msync): Likewise.
6369 (munmap): Likewise.
6370 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6371 * sysdeps/unix/mman/syscalls.list: Remove.
6372 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6373
3a533ca3
JM
6374 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6375 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6376 * configure: Regenerated.
6377 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6378 $(libgcc_s_suffix).
6379 * config.make.in (libgcc_s_suffix): Remove variable.
6380
1ad743de
JM
63812012-04-23 Joseph Myers <joseph@codesourcery.com>
6382
4ad451e2
JM
6383 * sysdeps/unix/sysv/gethostname.c: Move to ...
6384 * sysdeps/posix/gethostname.c: ... here.
6385
5e37ce39
JM
6386 * sysdeps/unix/execve.S: Remove file.
6387
1ad743de
JM
6388 * sysdeps/unix/_exit.S: Remove file.
6389
4e681b5b
AJ
63902012-04-23 Andreas Jaeger <aj@suse.de>
6391
6392 [BZ #13739]
6393 * manual/Makefile: Remove make dist support, there's no
6394 need for a stand-alone documentation tar ball.
6395 (TEXI2DVI): Define always, it's not in Makeconfig.
6396 (dist): Removed.
6397 (tar-it): Removed.
6398 (edition): Removed.
6399 (glibc-doc-$(edition).tar): Removed
6400 (%.Z): Removed.
6401 (%.gz): Removed.
6402 (%.uu): Removed.
6403 (ETAGS): Remove, it's in Makeconfig.
6404 (move-if-change): Remove, it's in Makeconfig.
6405
c0baea34
PE
64062013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6407
6408 [BZ #13970]
6409 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6410 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6411 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6412 (strtod_l, strtof_l, strtold_l): Remove __wur.
6413 It is not necessarily an error to ignore strtol's return value.
6414 One can reliably look at the stored endptr to decide whether
6415 the number had valid syntax.
6416
7c0616fa
AJ
64172012-04-21 Andreas Jaeger <aj@suse.de>
6418
803cb6b7 6419 [BZ #13739]
7c0616fa
AJ
6420 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6421
b0fe253f
JM
64222012-04-21 Joseph Myers <joseph@codesourcery.com>
6423
6424 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6425 * sysdeps/unix/sysv/Versions: Remove file.
6426
8280f22d
MT
64272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6428
6429 [BZ #13927]
6430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6431
75ce411f 64322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6433
6434 [BZ #7064]
6435 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6436 version from __vm86.
6437
097d59fa
JM
64382012-04-20 Joseph Myers <joseph@codesourcery.com>
6439
a90f3bcb
JM
6440 * sysdeps/unix/common/lxstat.c: Remove file.
6441 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6442
edc7ea78
JM
6443 * sysdeps/unix/sysv/Makefile: Remove file.
6444
cb78c221
JM
6445 * sysdeps/unix/sysv/direct.h: Remove file.
6446
efa6a45f
JM
6447 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6448 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6449 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6450 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6451 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6452 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6453 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6454
9c9f2d0c
JM
6455 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6456
4541c83b
JM
6457 * sysdeps/unix/xmknod.c: Remove file.
6458 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6459
f5d153a0
JM
6460 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6461
aa746595
JM
6462 * sysdeps/unix/sysv/i386/time.S: Remove file.
6463
cce5905e
JM
6464 * sysdeps/unix/fxstat.c: Remove file.
6465 * sysdeps/unix/xstat.c: Likewise.
6466 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6467
37fa3841
JM
6468 * sysdeps/unix/sysv/sigaction.c: Remove file.
6469
ff1962a3
JM
6470 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6471 (sysdep_headers): Remove variable.
6472 [termio.h not in sysdep_headers] (generated): Likewise.
6473 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6474 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6475 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6476 * sysdeps/unix/sysv/tcflow.c: Likewise.
6477 * sysdeps/unix/sysv/tcflush.c: Likewise.
6478 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6479 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6480 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6481 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6482 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6483
e7740d31
JM
6484 * sysdeps/unix/siglist.c: Remove file.
6485
ee06f18b
JM
6486 * sysdeps/unix/getppid.S: Remove file.
6487
097d59fa
JM
6488 * sysdeps/unix/mkdir.c: Remove file.
6489 * sysdeps/unix/rmdir.c: Likewise.
6490
ff3d51ec
AS
64912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6492
6493 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6494 ERR_MAX value.
6495 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6496 errlist-compat value.
6497
50f81fd7
DM
64982012-04-18 David S. Miller <davem@davemloft.net>
6499
6500 * sysdeps/generic/memcopy.h (reg_char): Delete.
6501 * debug/strcat_chk.c: Use char, not reg_char.
6502 * debug/strcpy_chk.c: Likewise.
6503 * debug/strncat_chk.c: Likewise.
6504 * debug/strncpy_chk.c: Likewise.
6505 * string/memchr.c: Likewise.
6506 * string/memrchr.c: Likewise.
6507 * string/rawmemchr.c: Likewise.
6508 * string/strcat.c: Likewise.
6509 * string/strchr.c: Likewise.
6510 * string/strchrnul.c: Likewise.
6511 * string/strcmp.c: Likewise.
6512 * string/strcpy.c: Likewise.
6513 * string/strncat.c: Likewise.
6514 * string/strncmp.c: Likewise.
6515 * string/strncpy.c: Likewise.
6516
8ff41c46
WS
65172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6518
6519 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6520 __builtin_memcopy is called when src and dest ranges are known to not
6521 overlap.
6522
6b652f46
WS
65232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6524
6525 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6526 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6527 fwd_align_merge macro call.
6528 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6529 bwd_align_merge macro call.
6530 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6531
b282631e
WS
65322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6533
6534 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6535 bwd_align_merge macros.
6536 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6537 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6538 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6539
95aa737c
DM
65402012-04-18 David S. Miller <davem@davemloft.net>
6541
6542 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6543
7a99a614
AJ
65442012-04-18 Andreas Jaeger <aj@suse.de>
6545
6546 [BZ# 6794]
6547 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6548 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6549 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6550
6551 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6552 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6553 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6554
6555 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6556 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6557 Adjust for changed ldbl-128 files.
6558
6559 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6560 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6561 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6562
e5270c23
DM
65632012-04-17 David S. Miller <davem@davemloft.net>
6564
6565 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6566
fb5e92c9
AS
65672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6568
6569 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6570 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6571 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6572 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6573 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6574 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6575
76da7265
AZ
65762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6577
6578 [BZ #6794]
6579 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6580 * math/libm-test.inc: Add ilogb errno and exception tests.
6581 * math/w_ilogb.c: New file: ilogb wrapper.
6582 * math/w_ilogbf.c: New file: ilogbf wrapper.
6583 * math/w_ilogbl.c: New file: ilogbl wrapper.
6584 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6585 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6586 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6587 exception being thrown with 0.0 as argument.
6588 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6589 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6590 exception being thrown with 0.0 as argument.
6591 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6592 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6593 exception being thrown with 0.0 as argument.
6594 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6595 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6596 exception being thrown with 0.0 as argument.
6597 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6598 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6599 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6600 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6601 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6602 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6603 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6604 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6605 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6606
0396e69d
PB
66072012-04-17 Petr Baudis <pasky@ucw.cz>
6608
6609 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6610 with altivec.
6611
750b5926
MP
66122012-04-16 Marek Polacek <polacek@redhat.com>
6613
6614 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6615
751728a1
MP
66162012-04-16 Marek Polacek <polacek@redhat.com>
6617
6618 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6619 operands of fdivp instruction.
6620
34a27407
L
66212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6622
6623 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6624 * elf/tst-auditmod3b.c: Likewise.
6625 * elf/tst-auditmod4b.c: Likewise.
6626 * elf/tst-auditmod5b.c: Likewise.
6627 * elf/tst-auditmod6b.c: Likewise.
6628 * elf/tst-auditmod6c.c: Likewise.
6629 * elf/tst-auditmod7b.c: Likewise.
6630 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6631 * sysdeps/x86_64/preconfigure.in: Likewise.
6632 * sysdeps/x86_64/preconfigure: Regenerated.
6633
7e73e17d
L
66342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6635
6636 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6637 __ILP32__.
6638
c7a6ab72
AB
66392012-04-13 Antoine Balestrat <merkil33@gmail.com>
6640
6641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6642 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6643
a9e8e0e0
CL
66442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6645
6646 [BZ #13973]
6647 * locale/iso-639.def: Fix gl language name. Spotted by
6648 Yaron Shahrabani.
6649
ec98af7d
RM
66502012-04-12 Roland McGrath <roland@hack.frob.com>
6651
6652 [BZ #2074]
6653 * libio/libio.h (__io_write_fn): Update comment.
6654
247c3ede
PB
66552012-04-12 Petr Baudis <pasky@ucw.cz>
6656
6657 [BZ #2074]
6658 * stdio.texi (Hook Functions): The user provided writer function
6659 is not allowed to return -1.
6660
55939d6d
DM
66612012-04-11 David S. Miller <davem@davemloft.net>
6662
6663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6664
90020f5a
MF
66652012-04-11 Mike Frysinger <vapier@gentoo.org>
6666
6667 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6668 Add a leading slash to rtkaio.
6669
288f9098
JM
66702012-04-11 Jim Meyering <meyering@redhat.com>
6671
90020f5a
MF
6672 [BZ #11959]
6673 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6674 It is not necessarily an error to ignore fwrite's return
6675 value. One can reliably use ferror to test for errors after
6676 the fact.
288f9098 6677
4be2b570
L
66782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6679
6680 * bits/types.h (__snseconds_t): New type.
6681 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6682
6683 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6684 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6685 (__SNSECONDS_T_TYPE): Likewise.
6686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6687 (__SNSECONDS_T_TYPE): Likewise.
6688 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6689 (__SNSECONDS_T_TYPE): Likewise.
6690
288f9098 66912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6692
6693 [BZ #2636]
6694 * manual/time.texi (Processor Time): Return type of times is
6695 elapsed real time since an arbitrary point in the past.
6696 (CPU Time): Move CLK_TCK from here...
6697 (Processor Time): ...to here. Correct description.
6698 * manual/conf.texi (Constants for Sysconf): Correct description of
6699 _SC_CLK_TCK.
6700
d7dd4413
DM
67012012-04-10 David S. Miller <davem@davemloft.net>
6702
6703 [BZ #13967]
6704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6705 where the is a gap between DT_REL(A) and DT_JMPREL.
6706
b46068fc
L
67072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6708
6709 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6710 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6711 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6712
73d65cc3
SP
67132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6714
6715 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6716 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6717 (dl_main): Handle --inhibit-cache.
6718 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6719 _dl_inhibit_cache.
6720 * elf/dl-load.c (_dl_map_object): Use it.
6721 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6722
bcc8d661
JM
67232012-04-09 Joseph Myers <joseph@codesourcery.com>
6724
8f9a2fae
JM
6725 [BZ #13872]
6726 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6727 (__ieee754_powl): Saturate large exponents rather than testing for
6728 overflow of y*log2(x).
6729 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6730 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6731 exceptions.
6732
bcc8d661
JM
6733 [BZ #11521]
6734 * math/s_ctan.c: Include <float.h>.
6735 (__ctan): Avoid internal overflow or cancellation in calculating
6736 denominator.
6737 * math/s_ctanf.c: Likewise.
6738 * math/s_ctanl.c: Likewise.
6739 * math/s_ctanh.c: Likewise.
6740 * math/s_ctanhf.c: Likewise.
6741 * math/s_ctanhl.c: Likewise.
6742 * math/libm-test.inc (ctan_test): Add more tests.
6743 (ctanh_test): Likewise.
6744 * sysdeps/i386/fpu/libm-test-ulps: Update.
6745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6746
823fbbb4
AJ
67472012-04-09 Andreas Jaeger <aj@suse.de>
6748
03879793
AJ
6749 [BZ #6894]
6750 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6751 is an optional BSD extension.
6752
823fbbb4
AJ
6753 [BZ #10254]
6754 * manual/stdio.texi (Opening Streams): Document additional fopen
6755 parameters.
6756
8de131cb
RM
67572012-04-09 Roland McGrath <roland@hack.frob.com>
6758
6759 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6760 %eax without telling the compiler.
6761
c0ed9d7d
CD
67622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6763
6764 [BZ # 13963]
6765 * manual/install.texi: Use sourceware.org.
6766
c483f6b4
JM
67672012-04-09 Joseph Myers <joseph@codesourcery.com>
6768
d7dd9453
JM
6769 [BZ #13873]
6770 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6771 (__ieee754_pow): Generate overflow and underflow using huge*huge
6772 and tiny*tiny rather than just returning constant infinity or zero
6773 for large exponents.
6774 * math/libm-test.inc (pow_test): Require overflow exceptions for
6775 applicable cases of large exponents.
6776
c483f6b4
JM
6777 [BZ #706]
6778 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6779 (__ieee754_pow): Use iterative multiplication algorithm only for
6780 integer exponents with absolute value below 1024. Check for odd
6781 integer exponents when using algorithm for real exponents.
6782 * math/libm-test.inc (pow_test): Add more tests.
6783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6784
d2de7579
JM
67852012-04-08 Joseph Myers <joseph@codesourcery.com>
6786
6787 [BZ #13705]
6788 * math/libm-test.inc (exp_test): Do not allow overflow exception
6789 on underflow test.
6790
f77f1232
AJ
67912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6792
6793 [BZ #13705]
6794 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6795 instead of __kernel_standard_f.
6796
3884932b
MF
67972012-04-08 Mike Frysinger <vapier@gentoo.org>
6798
6799 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6800 * sysdeps/x86_64/memset_chk.S: Likewise.
6801
54472e9c
AJ
68022012-04-08 Andreas Jaeger <aj@suse.de>
6803
6ab0fbfc
AJ
6804 [BZ #10153]
6805 * manual/startup.texi (Environment Access): Describe return value
6806 for putenv and setenv.
6807
61efba8c
AJ
6808 [BZ #6895]
6809 * manual/filesys.texi (Directory Entries): Add description for
6810 DT_LNK.
6811
95c3f29a
AJ
6812 [BZ #6890]
6813 * manual/filesys.texi (Directory Entries): Clarify that it's file
6814 system not operating system in the description of DT_UNKNOWN.
6815
54472e9c
AJ
6816 [BZ #6578]
6817 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6818
624254b1
SC
68192012-04-08 Stephen Compall <s11@member.fsf.org>
6820
6821 [BZ #6649]
6822 * manual/llio.texi (Opening and Closing Files): Add cross
6823 reference to explain mode argument.
6824
1e4920e0
MF
68252012-04-07 Mike Frysinger <vapier@gentoo.org>
6826
6827 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6828 * sysdeps/x86_64/memset_chk.S: Likewise.
6829
5ed848f3
DM
68302012-04-07 David S. Miller <davem@davemloft.net>
6831
6832 * elf/elf.h (R_SPARC_WDISP10): Define.
6833 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6834 R_SPARC_SIZE32.
6835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6836 R_SPARC_SIZE64 and R_SPARC_H34.
6837
96154cd8
CD
68382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6839
6840 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6841 conditions and remove no longer applicable assertion.
6842
9904dc47
L
68432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6844
6845 * bits/byteswap.h: Include <features.h>.
6846 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6847 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6848
f8887d0a
L
68492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6850
6851 * bits/byteswap.h (__bswap_16): Removed.
6852 Include <bits/byteswap-16.h> to get __bswap_16.
6853 * sysdeps/i386/bits/byteswap.h: Likewise.
6854 * sysdeps/s390/bits/byteswap.h: Likewise.
6855 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6856 * bits/byteswap-16.h: New file.
6857 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6858 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6859 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6860 * string/Makefile (headers): Add bits/byteswap-16.h.
6861
62470f60
PP
68622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6863
6864 [BZ #13895]
6865 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6866 extra indirection.
6867 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6868 * nss/tst-nss-static.c: New.
6869
4dad7bab
RM
68702012-04-06 Robert Millan <rmh@gnu.org>
6871
6872 [BZ #6486]
6873 * manual/llio.texi (File Position Primitive): lseek
6874 refers to WHENCE when it really means OFFSET.
6875
e9142a17
AJ
68762012-04-06 Andreas Jaeger <aj@suse.de>
6877
2c040eff
AJ
6878 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6879 strncmp declarations.
6880
e9142a17
AJ
6881 * abilist/libc.abilist: Add __poll and __ppoll.
6882
ff9f1c5f
DM
68832012-04-05 David S. Miller <davem@davemloft.net>
6884
dcd2ae90
DM
6885 * scripts/check-local-headers.sh: Accept a host triplet in the
6886 path matched by the exclude regexp.
6887
993eb054
DM
6888 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6889 definition.
6890 * sysdeps/powerpc/powerpc32/dl-machine.h
6891 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6892 * sysdeps/s390/s390-32/dl-machine.h
6893 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6894 * sysdeps/sparc/sparc32/dl-machine.h
6895 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6896 * sysdeps/sparc/sparc64/dl-machine.h
6897 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6898
ff9f1c5f
DM
6899 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6900 lazy binding.
48e2e132 6901 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6902 undefined symbol errors.
6903
48e2e132 6904 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6905 DT_NEEDED entries.
6906
e80d6f94
MM
69072012-04-05 Michael Matz <matz@suse.de>
6908
6909 [BZ #13592]
6910 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6911
349fa79f
AJ
69122012-04-05 Andreas Jaeger <aj@suse.de>
6913
6914 [BZ #13908]
6915 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6916 comment.
6917
f402708f
KK
69182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6919
6920 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6921 which ROUND is no valid rounding mode.
6922
2ecccfc9
KK
69232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6924
6925 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6926 read again.
6927 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6928
8a53f50f
KK
69292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6930
6931 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6932 an exception using FPU order intentionally.
6933
69342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6935
6936 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6937 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6938 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6939 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6940
d653abb7
SJ
69412012-04-05 Simon Josefsson <simon@josefsson.org>
6942
6943 [BZ #12340]
6944 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6945 EINVAL when BUFLEN is too smal.
6946
c3b1bf7d
TS
69472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6948
6949 [BZ #13553]
6950 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6951 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6952
b1aa60f3
AJ
69532012-04-03 Andreas Jaeger <aj@suse.de>
6954
c3b1bf7d 6955 [BZ #13938]
67f60a26
AJ
6956 * manual/setjmp.texi (System V contexts): Fix sentence.
6957
b1aa60f3
AJ
6958 [BZ #13926]
6959 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6960 New macro for this case.
6961 [!__GNUC__] (__bswap_64): New inline function for this case.
6962 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6963 * bits/byteswap.h: Likewise.
6964 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6965 ull, guard with __GLIBC_HAVE_LONG_LONG.
6966
6967 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6968 __GLIBC_HAVE_LONG_LONG.
6969
6970 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6971 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6972
39c59c35
TMQMF
69732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6974
6975 [BZ #13691]
6976 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6977 inptr and inend, rather than using last_ch.
6978
135ffda8
DM
69792012-04-02 David S. Miller <davem@davemloft.net>
6980
6981 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6982 * stdio-common/printf-parse.h (read_int): Change return type to
6983 'int', return -1 on INT_MAX overflow.
6984 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6985 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6986 overflows INT_MAX. Check for overflow of in-format-string precision
6987 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6988 SIZE_MAX not INT_MAX for integer overflow test.
6989 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6990 skip the construct in the format string but do not record anything.
6991 * stdio-common/bug22.c: Adjust to test both width/prevision
6992 INT_MAX overflow as well as total length INT_MAX overflow. Check
6993 explicitly for proper errno values.
6994
228c019e
TS
69952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6996
302cadd3
TS
6997 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6998 CHAR_MAX.
6999 * string/test-strcmp.c [! WIDE]: Likewise.
7000 * time/tst-mktime2.c: Likewise for INT_MAX.
7001 * string/test-string.h: #include <sys/param.h> for MIN.
7002
228c019e
TS
7003 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7004 * sysdeps/i386/init-first.c (init): Likewise.
7005 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7006 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7007 * sysdeps/sh/init-first.c (init): Likewise.
7008
cfa633f5
UD
70092012-04-01 Ulrich Drepper <drepper@gmail.com>
7010
7011 * po/ru.po: Update from translation team.
d1635ef8 7012 * po/vi.po: Likewise.
cfa633f5 7013
6cd0a5ea
SP
70142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7015
7016 * resolv/nss_dns/dns-host.c: Merge copyright years.
7017
4b43400f
LD
70182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7019
7020 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7021 Optimize memcpy with prefetch if
7022 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7023 src, dst pointers have unequal 16 byte alignments.
7024
48c41d04
SP
70252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7026
7027 [BZ #13928]
7028 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7029 from a CNAME entry and return the minimum ttl for the query.
7030 (gaih_getanswer_slice): Likewise.
7031
b8dc394d
JL
70322012-03-30 Jeff Law <law@redhat.com>
7033
7034 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7035 due to long keys.
7036 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7037 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7038
2f5a5ed0
JL
7039 * resolv/nss_dns/dns-host.c: Update copyright year.
7040
1d39e359
UD
70412012-03-30 Ulrich Drepper <drepper@gmail.com>
7042
c030f70c 7043 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7044 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7045
1d39e359
UD
7046 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7047 comments for sendmmsg.
7048
70492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7050
7051 [BZ #13691]
7052 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7053 with only 1 character between 0x0041 and 0x01b0.
7054 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7055 * wcsmbs/tst-mbsnrtowcs.c: New file.
7056
20fde227
DM
70572012-03-29 David S. Miller <davem@davemloft.net>
7058
7059 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7060 small copies by hand.
7061
984a4237
JL
70622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7063
7064 [BZ #13761]
7065 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7066 _nss_compat_initgroups_dyn): Fall back to malloc/free
7067 for large group memberships.
7068
18c9d62b
DM
70692012-03-28 David S. Miller <davem@davemloft.net>
7070
88d85d4f
DM
7071 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7072 that branches into memcpy.
7073 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7075 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7076 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7077 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7078 bits.
7079 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7080 implementation too.
7081 * sysdeps/sparc/mempcpy.S: New file.
7082
e5aa83e1
DM
7083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7084 the IFUNC routine in the libc case.
7085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7086
88570753
DM
7087 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7088 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7089 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7090 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7091 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7092 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7093 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7094 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7095
249d7567
DM
7096 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7097 loop to 256 bytes instead of 64 bytes and fix test signedness.
7098
18c9d62b
DM
7099 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7100 * sysdeps/sparc/sparc32/Makefile: rather than here...
7101 * sysdeps/sparc/sparc64/Makefile: and here.
7102
05f3d1f6
UD
71032012-03-28 Ulrich Drepper <drepper@gmail.com>
7104
7105 * malloc/mallocbug.c: Avoid warnings about unused variables.
7106
86ae07a8
JL
71072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7108
7109 [BZ #13760]
7110 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7111 in the right place. Discard and retry query if response is
7112 larger than input buffer size.
7113
41bf21a1
JM
71142012-03-28 Joseph Myers <joseph@codesourcery.com>
7115
d6270972
JM
7116 [BZ #369]
7117 [BZ #2678]
7118 [BZ #3866]
7119 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7120 x for large integer exponent.
7121 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7122 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7123 sign of result as needed afterwards.
7124 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7125 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7126 result for underflowing pow the same as for overflow.
7127 (__kernel_standard_l): Handle powl overflow and underflow here
7128 rather than calling __kernel_standard.
7129 * math/libm-test.inc (pow_test): Add more tests.
7130
414fca03 7131 [BZ #3868]
41bf21a1
JM
7132 [BZ #13879]
7133 [BZ #13910]
7134 [BZ #13911]
7135 [BZ #13912]
7136 [BZ #13913]
7137 [BZ #13915]
7138 [BZ #13916]
7139 [BZ #13917]
7140 [BZ #13918]
7141 [BZ #13919]
7142 [BZ #13920]
7143 [BZ #13921]
7144 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7145 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7146 (__kernel_standard_l): New function.
7147 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7148 __kernel_standard.
7149 * math/w_acosl.c (__acosl): Likewise.
7150 * math/w_asinl.c (__asinl): Likewise.
7151 * math/w_atan2l.c (__atan2l): Likewise.
7152 * math/w_atanhl.c (__atanhl): Likewise.
7153 * math/w_coshl.c (__coshl): Likewise.
7154 * math/w_exp10l.c (__exp10l): Likewise.
7155 * math/w_exp2l.c (__exp2l): Likewise.
7156 * math/w_fmodl.c (__fmodl): Likewise.
7157 * math/w_hypotl.c (__hypotl): Likewise.
7158 * math/w_j0l.c (__j0l, __y0l): Likewise.
7159 * math/w_j1l.c (__j1l, __y1l): Likewise.
7160 * math/w_jnl.c (__jnl, __ynl): Likewise.
7161 * math/w_lgammal.c (__lgammal): Likewise.
7162 * math/w_log10l.c (__log10l): Likewise.
7163 * math/w_log2l.c (__log2l): Likewise.
7164 * math/w_logl.c (__logl): Likewise.
7165 * math/w_powl.c (__powl): Likewise.
7166 * math/w_remainderl.c (__remainderl): Likewise.
7167 * math/w_scalbl.c (sysv_scalbl): Likewise.
7168 * math/w_sinhl.c (__sinhl): Likewise.
7169 * math/w_sqrtl.c (__sqrtl): Likewise.
7170 * math/w_tgammal.c (__tgammal): Likewise.
7171 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7172 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7173 * math/libm-test.inc (acos_test): Add more tests.
7174 (acosh_test): Likewise.
7175 (asin_test): Likewise.
7176 (atanh_test): Likewise.
7177 (exp_test): Likewise.
7178 (exp10_test): Likewise.
7179 (exp2_test): Likewise.
7180 (expm1_test): Likewise.
7181 (lgamma_test): Likewise.
7182 (log_test): Likewise.
7183 (log10_test): Likewise.
7184 (log1p_test): Likewise.
7185 (log2_test): Likewise.
7186 (pow_test): Do not allow some spurious overflow exceptions.
7187 (sqrt_test): Add more tests.
7188 (tgamma_test): Likewise.
7189 (y0_test): Likewise.
7190 (y1_test): Likewise.
7191 (yn_test): Likewise.
7192
dd62fda6
AB
71932012-03-27 Anton Blanchard <anton@samba.org>
7194
7195 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7196 MAP_HUGETLB.
7197 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7198 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7199 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7200
1e3cdfda
AJ
72012012-03-27 David S. Miller <davem@davemloft.net>
7202
b855ab85
DM
7203 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7204
1e3cdfda
AJ
7205 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7206 have-as-vis3 check.
7207
72082012-03-27 Andreas Jaeger <aj@suse.de>
7209
7210 * sysdeps/x86_64/elf/configure.in: Moved to ...
7211 * sysdeps/x86_64/configure.in: ... here.
7212 * sysdeps/x86_64/elf/start.S: Moved to ...
7213 * sysdeps/x86_64/start.S: ... here.
7214 * sysdeps/x86_64/elf/configure: Delete.
7215
7216 * sysdeps/x86_64/configure.in: Merge contents from
7217 sysdeps/i386/configure.in (without i686 check).
7218
7219 * sysdeps/i386/elf/Versions: Merge into ...
7220 * sysdeps/i386/Versions: ... this.
7221 * sysdeps/i386/elf/Versions: Delete file.
7222 * sysdeps/i386/elf/start.S: Moved to ...
7223 * sysdeps/i386/start.S: ...here.
7224 * sysdeps/i386/elf/configure.in: Merge into...
7225 * sysdeps/i386/configure.in: ...here.
7226 * sysdeps/i386/elf/configure.in: Delete file.
7227 * sysdeps/i386/elf/configure: Delete file.
7228
7229 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7230 * debug/backtracesyms.c: ... here.
7231 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7232 * debug/backtracesymsfd.c: ... here.
7233 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7234 * sysdeps/generic/ifunc-sel.h: ... here.
7235
7236 * sysdeps/unix/i386/start.c: Delete file.
7237 * sysdeps/unix/sparc/start.c: Delete file.
7238 * sysdeps/unix/start.c: Delete file.
7239
7240 * sysdeps/sh/elf/configure.in: Moved to ...
7241 * sysdeps/sh/configure.in: ... here.
7242 * sysdeps/sh/elf/start.S: Moved to ...
7243 * sysdeps/sh/start.S: ... here.
7244 * sysdeps/sh/elf/configure: Delete file.
7245
7246 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7247 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7248 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7249 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7250 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7251 * sysdeps/powerpc/powerpc64/start.S: here.
7252 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7253 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7254 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7255 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7256 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7257
7258 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7259 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7260 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7261 * sysdeps/powerpc/powerpc32/start.S: ... here.
7262 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7263 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7264 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7265
7266 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7267 * sysdeps/powerpc/ifunc-sel.h: ... here.
7268 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7269 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7270
7271 * sysdeps/sparc/elf/configure.in: Moved to ...
7272 * sysdeps/sparc/configure.in: ... here.
7273 * sysdeps/sparc/elf/configure: Delete file.
7274 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7275 * sysdeps/sparc/sparc32/start.S: ... here.
7276 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7277 * sysdeps/sparc/sparc64/start.S: ... here.
7278 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7279 * sysdeps/sparc/sparc32/Makefile: ... this.
7280 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7281 * sysdeps/sparc/sparc64/Makefile: ... this.
7282
7283 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7284 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7285 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7286 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7287 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7288 * sysdeps/s390/s390-32/setjmp.S: ... here.
7289 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7290 * sysdeps/s390/s390-32/configure.in: ... here.
7291 * sysdeps/s390/s390-32/elf/configure: Delete file.
7292 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7293 * sysdeps/s390/s390-32/start.S: ... here.
7294
7295 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7296 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7297 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7298 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7299 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7300 * sysdeps/s390/s390-64/setjmp.S: ... here.
7301 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7302 * sysdeps/s390/s390-64/configure.in: ... here
7303 * sysdeps/s390/s390-64/elf/configure: Delete file.
7304 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7305 * sysdeps/s390/s390-64/start.S: ... here.
7306 * sysdeps/s390/s390-64/elf/configure: Delete.
7307
7308 * configure.in: Remove support for elf directories in sysdeps.
7309
7310 * configure: Regenerated.
7311 * sysdeps/i386/configure: Regenerated.
7312 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7313 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7314 * sysdeps/s390/s390-32/configure: Regenerated.
7315 * sysdeps/s390/s390-64/configure: Regenerated.
7316 * sysdeps/sh/configure: Regenerated.
7317 * sysdeps/sparc/configure: Regenerated.
7318 * sysdeps/x86_64/configure: Regenerated.
7319
a3f61311
AS
73202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7321
c876e002
AS
7322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7323
a3f61311
AS
7324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7325 denormal result into account.
7326
ac4c54f0
RM
73272012-03-25 Roland McGrath <roland@hack.frob.com>
7328
7329 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7330 Reported by Allan McRae <allan@archlinux.org>.
7331
6a9b9c02
JL
73322012-03-23 Jeff Law <law@redhat.com>
7333
7334 * nss/getnssent.c (__nss_getent): Fix typo.
7335
4c42a0c1
DM
73362012-03-23 David S. Miller <davem@davemloft.net>
7337
7338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7339
1532c7ac
L
73402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7341
7342 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7343 to pad to uint64_t for each field.
7344 (dl_tls_index): Replace unsigned long with uint64_t.
7345
3ff42526
PP
73462012-03-23 Daniel Jacobowitz <dmj@google.com>
7347 Paul Pluzhnikov <ppluzhnikov@google.com>
7348
7349 [BZ #6528]
7350 * grp/Makefile (otherlibs): Don't set it.
7351 * inet/Makefile (otherlibs): Likewise.
7352 * login/Makefile (otherlibs): Likewise.
7353 * nscd/Makefile (otherlibs): Likewise.
7354 * posix/Makefile (otherlibs): Likewise.
7355 * pwd/Makefile (otherlibs): Likewise.
7356 * rt/Makefile (otherlibs): Likewise.
7357 * sunrpc/Makefile (otherlibs): Likewise.
7358 * nss/Makefile (otherlibs): Likewise.
7359 Add libnss_files to routines and static-only-routines.
7360 ($(objpfx)getent): Remove rule.
7361 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7362 static-only-routines.
7363
7c69cd14
JM
73642012-03-22 Joseph Myers <joseph@codesourcery.com>
7365
7366 [BZ #13892]
7367 * math/s_cexp.c: Include <float.h>.
7368 (__cexp): Handle exp result overflowing not necessarily
7369 overflowing both real and imaginary parts of result.
7370 * math/s_cexpf.c: Likewise.
7371 * math/s_cexpl.c: Likewise.
7372 * math/libm-test.inc (cexp_test): Add more tests.
7373 * sysdeps/i386/fpu/libm-test-ulps: Update.
7374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7375
81b035fe
L
73762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7377
7378 * include/link.h (ELFW): New macro.
7379 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7380 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7381
1da7940c
L
73822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7383
7384 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7385 with uint64_t.
7386
b749dbb9
L
73872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7388
7389 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7390 declaration.
7391 (struct La_x32_retval): Likewise.
7392
2ff87f3f
L
73932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7394
7395 * sysdeps/x86_64/preconfigure.in: New file.
7396 * sysdeps/x86_64/preconfigure: New generated file.
7397
c0df8e69
JM
73982012-03-22 Joseph Myers <joseph@codesourcery.com>
7399
48e44791
JM
7400 [BZ #13824]
7401 * math/e_exp2l.c: Include <float.h>.
7402 (__ieee754_exp2l): Handle overflow and underflow cases
7403 separately. Only pass fractional part of argument to
7404 __ieee754_expl.
7405 * math/libm-test.inc (exp2_test): Add more tests.
7406
c0df8e69
JM
7407 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7408 negating x to take absolute value.
7409 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7410 Likewise.
7411 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7412 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7413 Likewise.
7414 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7415 computing low part if x was negated.
7416 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7417
c8e43ba7
L
74182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7419
7420 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7421 la_x32_gnu_pltexit.
7422 (pltexit): Cast int_retval to ptrdiff_t.
7423 * elf/tst-auditmod3b.c: Likewise.
7424 * elf/tst-auditmod4b.c: Likewise.
7425 * elf/tst-auditmod5b.c: Likewise.
7426 * elf/tst-auditmod6b.c: Likewise.
7427 * elf/tst-auditmod6c.c: Likewise.
7428 * elf/tst-auditmod7b.c: Likewise.
7429
7430 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7431 and x32_gnu_pltexit.
7432
7433 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7434 __ELF_NATIVE_CLASS.
7435 (La_x32_regs): New macro.
7436 (La_x32_retval): Likewise.
7437 (la_x32_gnu_pltenter): New function prototype.
7438 (la_x32_gnu_pltexit): Likewise.
7439
7998fa78
AS
74402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7441
dcb33988
AS
7442 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7443 exponent.
7444
233fc563
AS
7445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7446
7998fa78
AS
7447 * configure.in (libc_cv_cc_nofma): Check for option to disable
7448 generation of FMA instructions.
7449 * configure: Regenerate.
7450 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7451 * sysdeps/ieee754/dbl-64/Makefile: New file.
7452 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7453 Remove brandred-fma4.
7454 (CFLAGS-brandred-fma4.c): Remove.
7455 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7456 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7457 define.
7458 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7459 define.
7460
8e95c99a
L
74612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7462
7463 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7464 LLONG_MAX != LONG_MAX.
7465 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7466 (_fitoa_word): Likewise.
7467 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7468 LLONG_MAX != LONG_MAX.
7469 * stdio-common/_itowa.h: Include <_itoa.h>.
7470 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7471 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7472 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7473 only if not defined.
7474 (_ITOA_WORD_TYPE): Likewise.
7475 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7476 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7477
6f4db457
DM
74782012-03-21 David S. Miller <davem@davemloft.net>
7479
7480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7481
7785fe5a
L
74822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7483
7484 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7485 of x86_64 when setting libc_cv_slibdir, libdir and
7486 libc_cv_localedir.
7487 * sysdeps/unix/sysv/linux/configure: Regenerated.
7488
4535cd55
JM
74892012-03-21 Joseph Myers <joseph@codesourcery.com>
7490
7491 * manual/lang.texi (Old Varargs): Remove section.
7492 (How Variadic): Update menu.
7493 (va_start): Do not mention varargs.h.
7494
17228132
TS
74952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7496 Joseph Myers <joseph@codesourcery.com>
7497
7498 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7499 link test.
7500 * configure: Regenerated.
7501
8149f976
TS
75022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7503
05f3d1f6
UD
7504 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7505 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7506 conformtest.pl
8149f976 7507
1a4ac776
JM
75082012-03-21 Joseph Myers <joseph@codesourcery.com>
7509
be22ce65
JM
7510 * NOTES: Remove.
7511 * Makefile (files-for-dist): Remove NOTES.
7512 (NOTES): Remove rule.
7513 * README: Don't refer to NOTES.
7514 * manual/creature.texi: Don't include macros.texi.
7515 * manual/intro.texi (creature.texi): Remove comment referring to
7516 NOTES.
7517
40b601fb
JM
7518 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7519 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7520 * configure: Regenerated.
7521 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7522 LIBC_TRY_CC_OPTION.
7523 (libc_cv_as_i686): Likewise.
7524 (libc_cv_cc_avx): Likewise.
7525 (libc_cv_cc_sse2avx): Likewise.
7526 (libc_cv_cc_fma4): Likewise.
7527 (libc_cv_cc_novzeroupper): Likewise.
7528 * sysdeps/i386/configure: Regenerated.
7529
1a4ac776
JM
7530 [BZ #13883]
7531 * sysdeps/i386/fpu/s_cexp.S: Remove.
7532 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7533 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7534 * math/libm-test.inc (cexp_test): Add more tests.
7535 * sysdeps/i386/fpu/libm-test-ulps: Update.
7536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7537
a458e7fe
AM
75382012-03-21 Allan McRae <allan@archlinux.org>
7539
7540 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7541
0cb7efc5
JM
75422012-03-21 Joseph Myers <joseph@codesourcery.com>
7543
7544 [BZ #13871]
7545 * math/w_exp2.c: Do not include <float.h>.
7546 (o_threshold, u_threshold): Remove.
7547 (__exp2): Calculate result before checking finiteness and calling
7548 __kernel_standard.
7549 * math/w_exp2f.c: Likewise.
7550 * math/w_exp2l.c: Likewise.
7551 * math/libm-test.inc (exp2_test): Require overflow exception for
7552 1e6 input.
2460d3aa
JM
7553
7554 [BZ #3866]
7555 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7556 range of signed 64-bit integers before using fistpll. Remove
7557 checks for whether integers fit in mantissa bits.
7558 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7559 the range of signed 32-bit integers before using fistpl. Remove
7560 checks for whether integers fit in mantissa bits.
7561 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7562 (__ieee754_powl): Test for y outside the range of signed 64-bit
7563 integers before using fistpll. Reduce 64-bit values to 63-bit
7564 ones as needed.
7565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7566 divide-by-zero is raised for zero to large negative powers.
7567 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7568 (__ieee754_powl): Test for y outside the range of signed 64-bit
7569 integers before using fistpll. Reduce 64-bit values to 63-bit
7570 ones as needed.
7571 * math/libm-test.inc (pow_test): Add more tests.
7572
eb96ffb0
L
75732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7574
7575 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7576 <stdio-common/_itoa.h>.
7577 * debug/segfault.c: Likewise.
7578 * elf/dl-cache.c: Likewise.
7579 * elf/dl-minimal.c: Likewise.
7580 * elf/dl-misc.c: Likewise.
7581 * elf/dl-sysdep.c: Likewise.
7582 * elf/dl-version.c: Likewise.
7583 * elf/rtld.c: Likewise.
7584 * hurd/hurdsock.c: Likewise.
7585 * hurd/lookup-retry.c: Likewise.
7586 * malloc/malloc.c: Likewise.
7587 * malloc/mtrace.c: Likewise.
7588 * nscd/nscd_getgr_r.c: Likewise.
7589 * nscd/nscd_getpw_r.c: Likewise.
7590 * nscd/nscd_getserv_r.c: Likewise.
7591 * posix/getopt_init.c: Likewise.
7592 * posix/wordexp.c: Likewise.
7593 * stdio-common/_itoa.c: Likewise.
7594 * stdio-common/printf_fphex.c: Likewise.
7595 * stdio-common/vfprintf.c: Likewise.
7596 * string/_strerror.c: Likewise.
7597 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7598 * sysdeps/i386/i686/hp-timing.h: Likewise.
7599 * sysdeps/mach/_strerror.c: Likewise.
7600 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7601 * sysdeps/mach/hurd/sethostid.c: Likewise.
7602 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7603 * sysdeps/mach/xpg-strerror.c: Likewise.
7604 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7605 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7606 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7607 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7608 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7609 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7610 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7611 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7612 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7613 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7614 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7615 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7616 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7617 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7618 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7619 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7620 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7621 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7622 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7623 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7624 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7625
7626 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7627
7628 * stdio-common/_itoa.h: Moved to ...
7629 * sysdeps/generic/_itoa.h: Here.
7630
7631 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7632
7633 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7634 instead of "_itoa.h" and "_itowa.h".
7635 * stdio-common/vfprintf.: Likewise.
7636
d1af992d
L
76372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7638
7639 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7640 <bits/wordsize.h>.
7641 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7642 (__signbit): Likwise.
7643 (llrintf): Likwise.
7644 (llrint): Likwise.
7645
114883e0
L
76462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7647
7648 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7649 __WORDSIZE != 64.
7650
c135cc1b
JM
76512012-03-20 Joseph Myers <joseph@codesourcery.com>
7652
7653 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7654 OVERFLOW_EXCEPTION_OK.
7655 * math/libm-test.inc ("Philosophy"): Update comment about
7656 exception testing.
7657 (OVERFLOW_EXCEPTION): Define.
7658 (OVERFLOW_EXCEPTION_OK): Likewise.
7659 (INVALID_EXCEPTION_OK): Renumber.
7660 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7661 (IGNORE_ZERO_INF_SIGN): Likewise.
7662 (test_exceptions): Handle FE_OVERFLOW.
7663 (exp10_test): Expect overflow exceptions.
7664 (exp2_test): Likewise.
7665 (expm1_test): Likewise.
7666 (nextafter_test): Likewise.
7667 (pow_test): Likewise.
7668 (scalbn_test): Likewise.
7669 (scalbln_test): Likewise.
7670
95443d88
L
76712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7672
7673 * sysdeps/x86_64/bits/atomic.h
7674 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7675 64bit integer.
7676 (atomic_exchange_acq): Likewise.
7677 (__arch_exchange_and_add_body): Likewise.
7678 (__arch_add_body): Likewise.
7679 (atomic_add_negative): Likewise.
7680 (atomic_add_zero): Likewise.
7681
490df6c4
L
76822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7683
c2722551 7684 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7685 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7686
5e52b189
L
76872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7688
7689 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7690 Check __x86_64__ instead of __WORDSIZE.
7691
a9879d4c
L
76922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7693
7694 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7695
5df98260
DM
76962012-03-19 David S. Miller <davem@davemloft.net>
7697
e1497744
DM
7698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7699
5df98260
DM
7700 * sysdeps/sparc/fpu/fenv_private.h: New file.
7701 * sysdeps/sparc/fpu/math_private.h: Use it.
7702 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7703 Remove.
7704 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7705 (libc_feholdexcept_setroundl): Remove.
7706 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7707 Remove.
7708 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7709 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7710
b4c35121
L
77112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7712
7713 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7714 int64_t instead of long int.
7715 (INSERT_WORDS64): Likwise.
7716
56965fd7
L
77172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7718
7719 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7720 _Unwind_GetCFA return to _Unwind_Ptr first.
7721
83d1aec8
JM
77222012-03-19 Joseph Myers <joseph@codesourcery.com>
7723
1897ad44
JM
7724 [BZ #13629]
7725 * math/s_clog.c: Include <float.h>.
7726 (__clog): Scale large or subnormal inputs.
7727 * math/s_clogf.c: Likewise.
7728 * math/s_clogl.c: Likewise.
7729 * math/s_clog10.c: Include <float.h>.
7730 (M_LOG10_2): Define.
7731 (__clog10): Scale large or subnormal inputs.
7732 * math/s_clog10f.c: Likewise.
7733 * math/s_clog10l.c: Likewise.
7734 * math/libm-test.inc (clog_test): Add more tests.
7735 (clog10_test): Likewise.
7736 * sysdeps/i386/fpu/libm-test-ulps: Update.
7737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7738
7726d6a9
JM
7739 [BZ #11451]
7740 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7741 x and y.
7742 * math/libm-test.inc (atan2_test): Add another test.
7743
83d1aec8
JM
7744 * Makerules (common-objdir-compile): Remove.
7745 * sysdeps/unix/Makefile (config-generated): Do not add
7746 $(unix-generated) to variable.
7747 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7748 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7749 Remove rule.
7750 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7751 Likewise.
7752 [generic bits/local_lim.h] (before-compile): Do not append to
7753 variable.
7754 [generic bits/local_lim.h] (common-generated): Likewise.
7755 [generic sys/param.h] (before-compile): Do not append to variable.
7756 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7757 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7758 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7759 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7760 include.
7761 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7762 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7763 [generic sys/param.h] ($(addprefix
7764 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7765 [generic sys/param.h] (common-generated): Do not append to
7766 variable.
7767 [generic sys/param.h] (sysdep_headers): Likewise.
7768 [generic bits/errno.h] (before-compile): Do not append to
7769 variable.
7770 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7771 rule.
7772 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7773 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7774 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7775 [generic bits/errno.h] (common-generated): Do not append to
7776 variable.
7777 [generic bits/ioctls.h] (before-compile): Do not append to
7778 variable.
7779 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7780 rule.
7781 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7782 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7783 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7784 rule.
7785 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7786 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7787 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7788 [generic bits/ioctls.h] (common-generated): Do not append to
7789 variable.
7790 [generic sys/syscall.h] (syscall.h): Remove variable.
7791 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7792 rule.
7793 [generic sys/syscall.h] (before-compile): Do not append to
7794 variable.
7795 [generic sys/syscall.h] (common-generated): Likewise.
7796 * sysdeps/unix/errnos-tmpl.c: Remove file.
7797 * sysdeps/unix/errnos.awk: Likewise.
7798 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7799 * sysdeps/unix/ioctls.awk: Likewise.
7800 * sysdeps/unix/mk-local_lim.c: Likewise.
7801 * sysdeps/unix/snarf-ioctls: Likewise.
7802
4851a949
RH
78032012-03-19 Richard Henderson <rth@twiddle.net>
7804
bd37f2ee
RH
7805 * sysdeps/i386/fpu/fenv_private.h: New file.
7806 * sysdeps/i386/fpu/math_private.h: Use it.
7807 (math_opt_barrier, math_force_eval): Remove.
7808 (libc_feholdexcept_setround_53bit): Remove.
7809 (libc_feupdateenv_53bit): Remove.
7810 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7811 (math_opt_barrier, math_force_eval): Remove.
7812 (libc_feholdexcept): Remove.
7813 (libc_feholdexcept_setround): Remove.
7814 (libc_fetestexcept, libc_fesetenv): Remove.
7815 (libc_feupdateenv_test): Remove.
7816 (libc_feupdateenv, libc_feholdsetround): Remove.
7817 (libc_feresetround): Remove.
7818
d0adc922
RH
7819 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7820 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7821
0fe0f1f8
RH
7822 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7823 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7824 (libc_feupdateenv_testl): New.
7825 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7826 (libc_feupdateenv_testf): New.
7827 (libc_feupdateenv): Use libc_feupdateenv_test.
7828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7829 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7830
eb92c487
RH
7831 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7832 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7833 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7834 (libc_feresetround_noex): New.
7835 (libc_feresetround_noexf): New.
7836 (libc_feresetround_noexl): New.
7837 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7838 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7839 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7840 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7841 SET_RESTORE_ROUND.
7842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7844 (__cos): Likewise.
7845 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7846 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7847 SET_RESTORE_ROUND_NOEX.
7848 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7849 SET_RESTORE_ROUND_NOEXF.
7850 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7851 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7852 (libc_feholdsetroundf): New.
7853 (libc_feresetround, libc_feresetroundf): New.
7854
7d2e8012
RH
7855 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7856 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7857 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7858
b4dabbb4
RH
7859 * sysdeps/generic/math_private.h: Include <fenv.h>.
7860 (default_libc_feholdexcept): New.
7861 (default_libc_feholdexcept_setround): New.
7862 (default_libc_fesetenv, default_libc_feupdateenv): New.
7863 (libc_feholdexcept): Only define if undefined.
7864 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7865 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7866 (libc_feholdexcept_setroundl): Likewise.
7867 (libc_feholdexcept_setround_53bit): Likewise.
7868 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7869 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7870 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7871 (libc_feupdateenv_53bit): Likewise.
7872 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7873 (libc_feholdexcept): Convert from macro to inline function.
7874 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7875 (libc_fesetenv, libc_feupdateenv): Likewise.
7876
4851a949
RH
7877 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7878 not previously defined.
7879 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7880 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7881 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7882 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7883 * sysdeps/ieee754/flt-32/math_private.h: New file.
7884 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7885 math_private.h below SET_FLOAT_WORD.
7886 (__isnan, __isinf_ns, __finite): Remove.
7887 (__isnanf, __isinf_nsf, __finitef): Remove.
7888
e79d442e
AS
78892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7890
7891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7892
90b80344
DM
78932012-03-17 David S. Miller <davem@davemloft.net>
7894
7895 [BZ #6471]
7896 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7897 for 2.16.
7898
edc21804
DM
78992012-03-16 David S. Miller <davem@davemloft.net>
7900
77e927af
DM
7901 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7902 warnings.
7903
374976dd
DM
7904 [BZ #6471]
7905 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7906 properly.
7907 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7908 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7909 sysdep_routines when subdir is sysvipc.
7910 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7911 __getshmlba helper.
7912
edc21804
DM
7913 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7914
473c3ef3
L
79152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7916
7917 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7918 [__LP64__].
7919
eb0f39b6
L
79202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7921
7922 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7923 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7924 (__lround): Renamed to ...
7925 (__llround): This. Replace long int with long long int.
7926 Define lround functions as aliases of llround functions.
7927 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7928
6b6cd74b
L
79292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7930
7931 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7932 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7933 adresses to uintptr_t. Replace "long int" and "unsigned long
7934 int" with "greg_t" on va_arg.
7935
f1a77b01
L
79362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7937
7938 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7939 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7940
7941 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7942 Move e_machine check before EI_CLASS check. Handle x32
7943 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7944 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7945 SKIP_EM_IA_64 and include
7946 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7947
7948 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7949 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7950 (add_system_dir): New macro.
7951
7952 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7953 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7954
11b90b9f
JM
79552012-03-16 Joseph Myers <joseph@codesourcery.com>
7956
c36e1d23
JM
7957 [BZ #2551]
7958 [BZ #2552]
7959 [BZ #2553]
7960 [BZ #2554]
7961 [BZ #2562]
7962 [BZ #2563]
7963 [BZ #2565]
7964 [BZ #2566]
7965 [BZ #2576]
7966 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7967 (y0): Likewise.
7968 * math/w_j0f.c (j0f): Likewise.
7969 (y0f): Likewise.
7970 * math/w_j0l.c (__j0l): Likewise.
7971 (__y0l): Likewise.
7972 * math/w_j1.c (j1): Likewise.
7973 (y1): Likewise.
7974 * math/w_j1f.c (j1f): Likewise.
7975 (y1f): Likewise.
7976 * math/w_j1l.c (__j1l): Likewise.
7977 (__y1l): Likewise.
7978 * math/w_jn.c (jn): Likewise.
7979 (yn): Likewise.
7980 * math/w_jnf.c (jnf): Likewise.
7981 (ynf): Likewise.
7982 * math/w_jnl.c (__jnl): Likewise.
7983 (__ynl): Likewise.
7984 * math/libm-test.inc (j0_test): Add more tests.
7985 (j1_test): Likewise.
7986 (jn_test): Likewise. Add trailing semicolon to existing test.
7987 (y0_test): Likewise.
7988 (y1_test): Likewise.
7989 * sysdeps/i386/fpu/libm-test-ulps: Update.
7990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7991
11b90b9f
JM
7992 [BZ #13851]
7993 [BZ #13854]
7994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7995 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7996 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7997 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7998 (__tanl): Set errno for infinite argument.
7999 * sysdeps/i386/fpu/mptan.c: Remove.
8000 * sysdeps/i386/fpu/s_tan.S: Likewise.
8001 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8002 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8003 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8004 * math/libm-test.inc (tan_test): Add more tests and enable more
8005 tests for double and long double.
8006 * sysdeps/i386/fpu/libm-test-ulps: Update.
8007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8008
6a1bd2a1
JK
80092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8010
8011 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8012 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8013
10a803e0
RM
80142012-03-16 Roland McGrath <roland@hack.frob.com>
8015
8016 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8017 * configure.in: Use it for both main tree and add-ons.
8018 * configure: Regenerated.
8019
f196c7f7
L
80202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8021
8022 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8023
8848d99d
JM
80242012-03-16 Joseph Myers <joseph@codesourcery.com>
8025
96cbe7f4
JM
8026 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8027 in comment.
8028
8848d99d
JM
8029 [BZ #13851]
8030 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8031 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8032 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8033 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8034 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8035 infinite argument.
8036 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8038 != 0 for prec == 2.
8039 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8040 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8041 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8042 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8043 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8044 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8045 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8046 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8047 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8048 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8049 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8050 * math/libm-test.inc (cos_test): Add more tests and enable more
8051 tests for long double.
8052 (sin_test): Likewise.
8053 (sincos_test): Likewise.
8054 * sysdeps/i386/fpu/libm-test-ulps: Update.
8055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8056
dd7f4703
DM
80572012-03-16 David S. Miller <davem@davemloft.net>
8058
8059 * sysdeps/sparc/fpu/math_private.h: New file.
8060
006f1daa
DM
80612012-03-15 David S. Miller <davem@davemloft.net>
8062
c0c83bc8
DM
8063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8064 file.
e6a62e18 8065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8067 file.
e6a62e18
DM
8068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8073 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8074 sysdep routines.
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8076
88cb87d9
DM
8077 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8078 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8079
006f1daa 8080 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8082 sparc-ifunc.h
006f1daa 8083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8085 Likewise.
8086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8087 Likewise.
006f1daa
DM
8088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8092 Likewise.
006f1daa
DM
8093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8098 Likewise.
8099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8100 Likewise.
006f1daa
DM
8101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8107 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8119 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8120 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8123 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8124 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8125
11e0098e
AS
81262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8127
8128 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8129 scaling.
8130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8131
e85b09d0
AJ
81322012-03-15 Andreas Jaeger <aj@suse.de>
8133
8134 [BZ #13852]
8135 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8136 ieee754/flt-32 implementation for sin, cos and sincos.
8137 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8138 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8139 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8140 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8141 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8142 ieee754/flt-32 implementation for tan.
8143
8144 * math/libm-test.inc (cos_test): Enable some large input tests for
8145 float as well
8146 (sin_test): Likewise.
8147 (sincos_test): Likewise.
8148 (tan_test): Add tests for large input.
8149
8150 * sysdeps/i386/fpu/libm-test-ulps: Update.
8151
81c64153
AJ
81522012-03-15 Andreas Jaeger <aj@suse.de>
8153
8154 [BZ #13658]
8155 * math/libm-test.inc (cos_test): Add more test cases.
8156 (sin_test): Likewise.
8157 (sincos_test): Likewise.
8158
7bbfa5c6
AJ
81592012-03-15 Andreas Jaeger <aj@suse.de>
8160
8161 [BZ #13837]
8162 * math/libm-test.inc (cos_test): Add a test case for large input
8163 value.
8164 (sin_test): Likewise.
8165 (sincos_test): Likewise.
8166
81672012-03-15 Andreas Jaeger <aj@suse.de>,
8168 Joseph Myers <joseph@codesourcery.com>
8169
8170 [BZ #13658]
0671f479 8171 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8172 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8173 * sysdeps/i386/fpu/branred.c: Likewise.
8174 * sysdeps/i386/fpu/dosincos.c: Likewise.
8175 * sysdeps/i386/fpu/mpa.c: Likewise.
8176 * sysdeps/i386/fpu/s_cos.S: Likewise.
8177 * sysdeps/i386/fpu/s_sin.S: Likewise.
8178 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8179 * sysdeps/i386/fpu/sincos32.c: Likewise.
8180
8181 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8182 Define.
8183 (libc_feupdateenv_53bit): Define.
8184 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8185 Define.
8186 (libc_feupdateenv_53bit): Define.
8187
8188 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8189 53 bit (without extend i386 double precision).
8190
8191 * math/libm-test.inc (sincos_test): Add tests for large input.
8192 (sin): Likewise.
8193 (cos): Likewise.
8194
8195 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8196
9cad04ea
AS
81972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8198
8199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8200
f7062b9a
DM
82012012-03-15 David S. Miller <davem@davemloft.net>
8202
8203 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8204 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8205 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8206 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8219 file.
f7062b9a 8220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8222 file.
f7062b9a 8223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8225 file.
f7062b9a 8226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8228 file.
f7062b9a
DM
8229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8231 fmin/fmax sysdep routines.
8232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8233
7bd951ff
DM
82342012-03-14 David S. Miller <davem@davemloft.net>
8235
559398ab
DM
8236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8264 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8265 routines.
8266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8267 file.
559398ab 8268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8270 file.
559398ab 8271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8273 file.
559398ab 8274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8276 file.
559398ab 8277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8279 file.
559398ab 8280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8282 file.
8283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8284 file.
8285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8286 file.
8287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8288 file.
8289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8290 New file.
8291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8292 file.
8293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8294 file.
559398ab 8295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8297 file.
559398ab 8298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8300 file.
559398ab 8301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8303 file.
559398ab 8304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8306 VIS3 routines.
559398ab
DM
8307
8308 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8309 New file.
8310
5a1c1e32
DM
8311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8312
eae47a36
DM
8313 * sysdeps/sparc/configure.in: New file.
8314 * sysdeps/sparc/configure: Generate.
8315 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8316 * configure: Regenerate.
8317 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8318 * config.make.in (have-as-vis3): New.
8319 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8320 available use -Av9d instead of -Av9a.
8321 * sysdeps/sparc/sparc64/Makefile: Likewise.
8322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8324 New file.
8325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8326 file.
8327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8328 New file.
8329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8330 file.
eae47a36
DM
8331 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8333 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8336
c0c83bc8
DM
8337 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8338 fzeros/fnegs to load 0x80000000 into a float register instead of
8339 using the stack.
7bd951ff
DM
8340 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8341
bd951ccb
JM
83422012-03-14 Joseph Myers <joseph@codesourcery.com>
8343
8344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8345 bits/syscall.h.
8346 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8347 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8348 ($(inst_includedir)/bits/syscall.h): Remove rule.
8349 ($(objpfx)bits/syscall.d): Include instead of
8350 $(objpfx)syscall-list.d.
8351 (generated): Change syscall-list.h and syscall-list.d to
8352 bits/syscall.h and bits/syscall.d.
8353
bb4e6db2
RM
83542012-03-14 Roland McGrath <roland@hack.frob.com>
8355
8356 [BZ #13846]
8357 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8358
aa4a2ae1
JM
83592012-03-14 Joseph Myers <joseph@codesourcery.com>
8360
e456826d
JM
8361 [BZ #13841]
8362 * math/s_csqrt.c: Include <float.h>.
8363 (__csqrt): Scale large or subnormal inputs.
8364 * math/s_csqrtf.c: Likewise.
8365 * math/s_csqrtl.c: Likewise.
8366 * math/libm-test.inc (csqrt_test): Add more tests.
8367 * sysdeps/i386/fpu/libm-test-ulps: Update.
8368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8369
aa4a2ae1
JM
8370 [BZ #13840]
8371 * math/libm-test.inc (hypot_test): Add more tests.
8372
7c10fd35
DM
83732012-03-13 David S. Miller <davem@davemloft.net>
8374
8375 [BZ #13840]
8376 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8377 double-precision for the calculation instead of scaling.
8378
f453b98b
JM
83792012-03-13 Joseph Myers <joseph@codesourcery.com>
8380
8381 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8382 manipulate bits before adding and subtracting TWO52[sx].
8383 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8384 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8385 Likewise.
8386 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8387
09a3453f
DM
83882012-03-13 David S. Miller <davem@davemloft.net>
8389
8e59da90
DM
8390 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8391 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8393 rtld-global-offsets.h
8394 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8395
2a8ab7f2
DM
8396 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8397 large parameters.
8398
10f62770
DM
8399 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8400
5f0bdb18
DM
8401 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8402 'err' in the ifdef scope in which it is actually used.
8403
09a3453f
DM
8404 * nss/nss_db/db-init.c: Include string.h
8405
b4b2eb5e
DM
84062012-03-12 David S. Miller <davem@davemloft.net>
8407
98bb2f1c
DM
8408 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8409 masking out of the most significant byte of random value used.
8410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8411 Fix coding style in previous change.
8412
b4b2eb5e
DM
8413 * sysdeps/unix/sysv/linux/kernel-features.h
8414 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8415 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8416 expression.
8417 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8418 later.
8419
6e226b09
DM
84202012-03-11 David S. Miller <davem@davemloft.net>
8421
a1bcbd40
DM
8422 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8423 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8424 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8425 for 'resultvar' otherwise things get truncated on 64-bit.
8426
cb9d6174
DM
8427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8428 Fix masking out of the most significant byte of random value used.
8429
6e226b09
DM
8430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8431
058c132d
AS
84322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8433
8434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8435
2d2cd515
DM
84362012-03-09 David S. Miller <davem@davemloft.net>
8437
8438 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8439 variables with appropriate CPP guards.
8440 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8441 frame pointer, not the stack pointer. Correct layout comments. Fix test
8442 on resulting framesize and the management of the outregs buffer for pltexit.
8443 Preserve floating point return values across _dl_call_pltexit call.
8444 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8445 framesize and the management of the outregs buffer for pltexit.
8446 Preserve floating point return values across _dl_call_pltexit
8447 call.
8448 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8449 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8450 (print_exit): Fix format string for return register value.
8451
9a07f9d0
JM
84522012-03-10 Joseph Myers <joseph@codesourcery.com>
8453
8454 * sunrpc/Makefile (others): Add rpcgen.
8455 ($(objpfx)rpcgen): Remove special build rule and dependency on
8456 libc.
8457 * sunrpc/rpcgen.c: New file.
8458
547b5e30
PE
84592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8460
c524201a
PE
8461 [BZ #13673]
8462 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8463 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8464 * sysdeps/i386/crti.S: Likewise.
8465 * sysdeps/i386/crtn.S: Likewise.
8466 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8467 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8468 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8469 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8470 * sysdeps/sh/crti.S: Likewise.
8471 * sysdeps/sh/crtn.S: Likewise.
8472 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8473
7b6235f2
PE
8474 [BZ #13673]
8475 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8476 with URL.
8477 * locale/programs/locfile-kw.gperf: Likewise.
8478 * locale/programs/charmap-kw.h: Regenerated.
8479 * locale/programs/locfile-kw.h: Likewise.
8480
547b5e30
PE
8481 [BZ #13673]
8482 * intl/plural.y: Replace FSF snail mail address with URL.
8483 * intl/plural.c: Regenerated.
8484
5f0a5dae
RH
84852012-03-09 Richard Henderson <rth@twiddle.net>
8486
8487 * include/math_private.h: Remove file.
8488 * math/math_private.h: Move file ...
8489 * sysdeps/generic/math_private.h: ... here.
8490
b8c03620
RH
8491 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8492 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8493 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8494
4e234f5d 8495 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8496 and <math_private.h>.
8497 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8498 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8499 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8500 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8501 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8561 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8563 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8564 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8567 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8571 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8575 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8584 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8585 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8586 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8587 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8588 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8589 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8590 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8591 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8592 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8593 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8594 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8595 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8596 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8597 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8598 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8599 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8600 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8601 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8602 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8603 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8604 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8605 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8607 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8608 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8609 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8610 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8611 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8612 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8613 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8614 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8615 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8616 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8617 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8618 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8619 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8620 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8621 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8622 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8623 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8624 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8625 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8627 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8628 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8629 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8630 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8632 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8633 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8634 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8635 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8636 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8637 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8638 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8639 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8641 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8642 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8644 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8646 * sysdeps/ieee754/k_standard.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8766 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8767 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8769 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8774 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8779 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8795 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8807 * sysdeps/ieee754/s_lib_version.c: Likewise.
8808 * sysdeps/ieee754/s_matherr.c: Likewise.
8809 * sysdeps/ieee754/s_signgam.c: Likewise.
8810 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8811 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8812 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8813 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8814 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8815 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8816 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8817 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8818 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8819 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8820 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8821 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8822 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8823 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8824 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8825 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8826 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8827 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8828 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8829 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8831
1991fa03
JM
88322012-03-09 Joseph Myers <joseph@codesourcery.com>
8833
8834 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8835 * sunrpc/rpc_main.c: Likewise.
8836 * sunrpc/rpc_svcout.c: Likewise.
8837
60d6f5a6
DM
88382012-03-09 David S. Miller <davem@davemloft.net>
8839
8840 * include/math_private.h: New file.
8841
4962050e
JM
88422012-03-09 Joseph Myers <joseph@codesourcery.com>
8843
02a6f887
JM
8844 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8845 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8846 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8847 from <bits/socket_type.h>.
8848 (enum __socket_type): Don't define here.
8849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8851 bits/socket_type.h.
8852
c6e013c1
JM
8853 [BZ #13566]
8854 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8855 checking __USE_GNU.
8856
4962050e
JM
8857 * Makerules ($(inst_includedir)/%.h): New rule.
8858 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8859 (install-others): Remove variable setting.
8860 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8861
38842f45
RH
88622012-03-08 Richard Henderson <rth@twiddle.net>
8863
67bb6da6
RH
8864 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8865 from macro to inline function; merge with the
8866 !__LIBC_INTERNAL_MATH_INLINES version.
8867 (__ieee754_sqrtf): Likewise.
8868
15194b4b
RH
8869 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8870 to inline function.
8871 (__rintf, __floor, __floorf): Likewise.
8872
64e21ede
RH
8873 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8874 macro to inline function.
8875 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8876
38842f45
RH
8877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8878 not <math/math_private.h>.
8879
c64bf5fe
DM
88802012-03-08 David S. Miller <davem@davemloft.net>
8881
8882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8883 copyright year.
8884 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8885
82d86f28
TS
88862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8887
8888 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8889 normalization.
8890 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8891 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8892
aea5d727
UD
88932012-03-08 Ulrich Drepper <drepper@gmail.com>
8894
8895 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8896 be defined individually, they must be defined as a block. Define
8897 S for printing a string instead of hidint the different by using a
8898 macro for adding the 'l'.
8899 * stdio-common/tst-fphex-wide.c: Adjust.
8900
70bca0a3
MP
89012012-03-07 Marek Polacek <polacek@redhat.com>
8902
8903 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8904
65b81130
MP
89052012-03-08 Marek Polacek <polacek@redhat.com>
8906
8907 [BZ #13806]
8908 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8909 * stdio-common/tst-fphex.c: Define a few macros to make the
8910 test reusable. Use them.
8911 * stdio-common/tst-fphex-wide.c: New file.
8912
07037eeb
JM
89132012-03-08 Joseph Myers <joseph@codesourcery.com>
8914
a7a93d50
JM
8915 [BZ #6911]
8916 * manual/macros.texi (gnusystems): New macro.
8917 (nongnusystems): Likewise.
8918 (gnulinuxhurdsystems): Likewise.
8919 (gnuhurdsystems): Likewise..
8920 (gnulinuxsystems): Likewise.
8921 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8922 variants of the GNU system, not "GNU system".
8923 * manual/conf.texi: Likewise.
8924 * manual/errno.texi: Likewise. Update example of errno macro
8925 expansion.
8926 * manual/filesys.texi: Likewise.
8927 (getumask): Document as specific to GNU/Hurd.
8928 * manual/install.texi: Likewise. Reword some references to
8929 GNU/Linux.
8930 * manual/intro.texi: Likewise.
8931 * manual/io.texi: Likewise.
8932 (File Name Portability): Detail which constraints are inapplicable
8933 to all GNU systems and which are only inapplicable to GNU/Hurd.
8934 * manual/job.texi: Likewise.
8935 * manual/llio.texi: Likewise.
8936 (O_NOCTTY): Document as present on GNU/Linux.
8937 * manual/maint.texi: Likewise.
8938 * manual/memory.texi: Likewise.
8939 * manual/pattern.texi: Likewise.
8940 * manual/pipe.texi: Likewise.
8941 * manual/process.texi: Likewise.
8942 * manual/resource.texi: Likewise.
8943 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8944 child on GNU/Hurd.
8945 * manual/setjmp.texi: Likewise.
8946 * manual/signal.texi: Likewise.
8947 * manual/startup.texi: Likewise.
8948 * manual/stdio.texi: Likewise.
8949 * manual/terminal.texi: Likewise.
8950 (ONLCR): Document as POSIX.
8951 (OXTABS): Document availability on GNU/Linux as XTABS.
8952 (ONOEOT): Document availability separately from other bits.
8953 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8954 * manual/time.texi: Likewise.
8955 * manual/users.texi: Likewise.
8956 * INSTALL: Regenerated.
8957 * sysdeps/gnu/errlist.c: Regenerated.
8958
07037eeb
JM
8959 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8960 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8961 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8962 puts.
8963 * configure: Regenerated.
8964
d1d3431a
JM
89652012-03-07 Joseph Myers <joseph@codesourcery.com>
8966
af6a1e37
JM
8967 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8968 default includes instead of AC_HEADER_CHECK.
8969 * sysdeps/i386/configure: Regenerated.
8970
d1d3431a
JM
8971 [BZ #10716]
8972 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8973 * math/s_cacoshf.c (__cacoshf): Likewise.
8974 * math/s_cacoshl.c (__cacoshl): Likewise.
8975 * math/s_casinh.c (__casinh): Set signs of result from argument.
8976 * math/s_casinhf.c (__casinhf): Likewise.
8977 * math/s_casinhl.c (__casinhl): Likewise.
8978 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8979 (casinh_test): Add more tests.
8980 * sysdeps/i386/fpu/libm-test-ulps: Update.
8981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8982
482ff4da
UD
89832012-03-07 Ulrich Drepper <drepper@gmail.com>
8984
872fda05
UD
8985 * po/zh_TW.po: Update from translation team.
8986
a4300c7a
UD
8987 * login/Makefile (distribute): Remove variable.
8988 * catgets/Makefile: Likewise.
8989 * mach/Makefile: Likewise.
8990 * malloc/Makefile: Likewise.
8991 * misc/Makefile: Likewise.
8992 * iconv/Makefile: Likewise.
8993 * nscd/Makefile: Likewise.
8994 * hurd/Makefile: Likewise.
8995 * manual/Makefile: Likewise.
8996 * locale/Makefile: Likewise.
8997 * intl/Makefile: Likewise.
8998 * conform/Makefile: Likewise.
8999 * nss/Makefile: Likewise.
9000 * time/Makefile: Likewise.
9001 * soft-fp/Makefile: Likewise.
9002 * dirent/Makefile: Likewise.
9003 * gmon/Makefile: Likewise.
9004 * po/Makefile: Likewise.
9005 * rt/Makefile: Likewise.
9006 * socket/Makefile: Likewise.
9007 * math/Makefile: Likewise.
9008 * signal/Makefile: Likewise.
9009 * debug/Makefile: Likewise.
9010 * elf/Makefile: Likewise.
9011 * timezone/Makefile: Likewise.
9012 * stdlib/Makefile: Likewise.
9013 * iconvdata/Makefile: Likewise.
9014 * sunrpc/Makefile: Likewise.
9015 * io/Makefile: Likewise.
9016 * argp/Makefile: Likewise.
9017 * inet/Makefile: Likewise.
9018 * hesiod/Makefile: Likewise.
9019 * grp/Makefile: Likewise.
9020 * csu/Makefile: Likewise.
9021 * wctype/Makefile: Likewise.
9022 * crypt/Makefile: Likewise.
9023 * libio/Makefile: Likewise.
9024 * string/Makefile: Likewise.
9025 * nis/Makefile: Likewise.
9026 * resolv/Makefile: Likewise.
9027 * stdio-common/Makefile: Likewise.
9028 * wcsmbs/Makefile: Likewise.
9029 * dlfcn/Makefile: Likewise.
9030 * posix/Makefile: Likewise.
9031
3b7c4e74 9032 [BZ #6959]
482ff4da
UD
9033 * timezone/Makefile: Don't install timezone files, just the programs
9034 and scripts.
9035
f72ed77d
UD
90362012-03-06 Ulrich Drepper <drepper@gmail.com>
9037
a000466f
UD
9038 * nss/databases.def: Add missing gshadow entry.
9039
f72ed77d
UD
9040 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9041
a53b7a4e
MP
90422012-03-06 Marek Polacek <polacek@redhat.com>
9043
9044 [BZ #13726]
9045 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9046 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9047 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9048 * stdio-common/tst-long-dbl-fphex.c: New file.
9049
e9258400
DM
90502012-03-06 David S. Miller <davem@davemloft.net>
9051
9052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9053 (set_obp_int): New function.
9054 (get_obp_int): New function.
9055 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9057 Avoid unused variable warnings on 'val' and use builtin_expect.
9058 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9059 __builtin_expect.
e9258400
DM
9060 (INLINE_CLONE_SYSCALL): Likewise.
9061
3bd2c723
DM
90622012-03-05 David S. Miller <davem@davemloft.net>
9063
9064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9065
bbb78d03
AS
90662012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9067
884c5db4
AS
9068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9069
bbb78d03
AS
9070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9071 only for |x| >= 40.
9072 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9073
1c9f702a 90742012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9075
9076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9077 Replace gettimeofday with __vdso_gettimeofday.
9078
7be16f82
RM
9079 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9080 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9081 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9082
9083 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9084 time with __vdso_time.
9085
ed58a00f
JM
90862012-03-05 Joseph Myers <joseph@codesourcery.com>
9087
9088 * manual/lang.texi (size_t): Note types to which size_t may be
9089 equivalent with the GNU C Library, but do not describe when
9090 differences between them are significant.
9091
30ee4ced
AJ
90922012-03-05 Andreas Jaeger <aj@suse.de>
9093
9094 * sysdeps/i386/fpu/libm-test-ulps: Update.
9095
b7cd39e8
JM
90962012-03-05 Joseph Myers <joseph@codesourcery.com>
9097
9098 [BZ #3976]
9099 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9100 (__ieee754_pow): Save and restore rounding mode and use
9101 round-to-nearest for main computations.
9102 * math/libm-test.inc (pow_test_tonearest): New function.
9103 (pow_test_towardzero): Likewise.
9104 (pow_test_downward): Likewise.
9105 (pow_test_upward): Likewise.
9106 (main): Call the new functions.
9107 * sysdeps/i386/fpu/libm-test-ulps: Update.
9108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9109
9110 [BZ #3976]
9111 * math/libm-test.inc (cosh_test_tonearest): New function.
9112 (cosh_test_towardzero): Likewise.
9113 (cosh_test_downward): Likewise.
9114 (cosh_test_upward): Likewise.
9115 (sinh_test_tonearest): Likewise.
9116 (sinh_test_towardzero): Likewise.
9117 (sinh_test_downward): Likewise.
9118 (sinh_test_upward): Likewise.
9119 (main): Call the new functions.
9120 * sysdeps/i386/fpu/libm-test-ulps: Update.
9121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9122
6c6a98c9
TV
91232012-03-05 Tom de Vries <tom@codesourcery.com>
9124
9125 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9126 default stack guard is set in last bytes.
9127 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9128
21bb2d2e 91292012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9130
21bb2d2e 9131 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9132
21bb2d2e
AJ
9133 [BZ #13656]
9134 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9135 possibly allocate from heap instead of stack.
9136 * stdio-common/bug-vfprintf-nargs.c: New file.
9137 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9138
c6922934
AS
91392012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9140
9141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9142
bc957d53
MP
91432012-03-03 Marek Polacek <polacek@redhat.com>
9144
9145 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9146 * math/math_private.h: Likewise.
9147 * stdlib/tst-strtod.c: Likewise.
9148 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9149 * sysdeps/x86_64/bits/atomic.h: Likewise.
9150
6358490d
DM
91512012-03-02 David S. Miller <davem@davemloft.net>
9152
9153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9157 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9158 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9159 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9160 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9161
01ae168d
RM
91622012-03-02 Roland McGrath <roland@hack.frob.com>
9163
d9a17c07
RM
9164 [BZ #13792]
9165 * manual/examples/README: New file, says the example source files
9166 can be used under GPL>=2.
9167 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9168 line containing just "*/".
9169 * manual/examples/add.c: Add copyright header (GPL>=2).
9170 * manual/examples/argp-ex1.c: Likewise.
9171 * manual/examples/argp-ex2.c: Likewise.
9172 * manual/examples/argp-ex3.c: Likewise.
9173 * manual/examples/argp-ex4.c: Likewise.
9174 * manual/examples/atexit.c: Likewise.
9175 * manual/examples/db.c: Likewise.
9176 * manual/examples/dir.c: Likewise.
9177 * manual/examples/dir2.c: Likewise.
9178 * manual/examples/execinfo.c: Likewise.
9179 * manual/examples/filecli.c: Likewise.
9180 * manual/examples/filesrv.c: Likewise.
9181 * manual/examples/fmtmsgexpl.c: Likewise.
9182 * manual/examples/genpass.c: Likewise.
9183 * manual/examples/inetcli.c: Likewise.
9184 * manual/examples/inetsrv.c: Likewise.
9185 * manual/examples/isockad.c: Likewise.
9186 * manual/examples/longopt.c: Likewise.
9187 * manual/examples/memopen.c: Likewise.
9188 * manual/examples/memstrm.c: Likewise.
9189 * manual/examples/mkfsock.c: Likewise.
9190 * manual/examples/mkisock.c: Likewise.
9191 * manual/examples/mygetpass.c: Likewise.
9192 * manual/examples/pipe.c: Likewise.
9193 * manual/examples/popen.c: Likewise.
9194 * manual/examples/rprintf.c: Likewise.
9195 * manual/examples/search.c: Likewise.
9196 * manual/examples/select.c: Likewise.
9197 * manual/examples/setjmp.c: Likewise.
9198 * manual/examples/sigh1.c: Likewise.
9199 * manual/examples/sigusr.c: Likewise.
9200 * manual/examples/stpcpy.c: Likewise.
9201 * manual/examples/strdupa.c: Likewise.
9202 * manual/examples/strftim.c: Likewise.
9203 * manual/examples/strncat.c: Likewise.
9204 * manual/examples/subopt.c: Likewise.
9205 * manual/examples/swapcontext.c: Likewise.
9206 * manual/examples/termios.c: Likewise.
9207 * manual/examples/testopt.c: Likewise.
9208 * manual/examples/testpass.c: Likewise.
9209 * manual/examples/timeval_subtract.c: Likewise.
9210
01ae168d
RM
9211 [BZ #13792]
9212 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9213 function to ...
9214 * manual/timeval_subtract.c.texi: ... here, new file.
9215
49efa33d
DM
92162012-03-02 David S. Miller <davem@davemloft.net>
9217
9218 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9219
28afd92d
JM
92202012-03-02 Joseph Myers <joseph@codesourcery.com>
9221
804360ed
JM
9222 [BZ #3976]
9223 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9224 (__sin): Save and restore rounding mode and use round-to-nearest
9225 for all computations.
9226 (__cos): Save and restore rounding mode and use round-to-nearest
9227 for all computations.
9228 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9229 <fenv.h>.
9230 (tan): Save and restore rounding mode and use round-to-nearest for
9231 all computations.
9232 * math/libm-test.inc (cos_test_tonearest): New function.
9233 (cos_test_towardzero): Likewise.
9234 (cos_test_downward): Likewise.
9235 (cos_test_upward): Likewise.
9236 (sin_test_tonearest): Likewise.
9237 (sin_test_towardzero): Likewise.
9238 (sin_test_downward): Likewise.
9239 (sin_test_upward): Likewise.
9240 (tan_test_tonearest): Likewise.
9241 (tan_test_towardzero): Likewise.
9242 (tan_test_downward): Likewise.
9243 (tan_test_upward): Likewise.
9244 (main): Call the new functions.
9245 * sysdeps/i386/fpu/libm-test-ulps: Update.
9246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9247
a6d06d7b
JM
9248 [BZ #10135]
9249 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9250 small n, then large n, before computing and testing k+n.
9251 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9252 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9253 Likewise.
9254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9255 Likewise.
9256 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9257 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9260 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9261 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9262 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9263 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9264 * math/libm-test.inc (scalbn_test): Add more tests.
9265 (scalbln_test): Likewise.
9266
07e12bb3
JM
9267 * manual/filesys.texi (mode_t): Describe constraints on size and
9268 signedness, not exact equivalence to a particular type.
9269 (ino_t): Likewise.
9270 (ino64_t): Likewise.
9271 (dev_t): Likewise.
9272 (nlink_t): Likewise.
9273 (blkcnt_t): Likewise.
9274 (blkcnt64_t): Likewise.
9275 * manual/llio.texi (off_t): Likewise.
9276
28afd92d
JM
9277 [BZ #3976]
9278 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9279 (__ieee754_exp): Save and restore rounding mode and use
9280 round-to-nearest for all computations.
9281 * math/libm-test.inc (exp_test_tonearest): New function.
9282 (exp_test_towardzero): Likewise.
9283 (exp_test_downward): Likewise.
9284 (exp_test_upward): Likewise.
9285 (main): Call the new functions.
9286 * sysdeps/i386/fpu/libm-test-ulps: Update.
9287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9288
b1eeb65d
CD
92892012-03-01 Chris Demetriou <cgd@google.com>
9290
9291 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9292 have predictable order.
9293
53362a4b
DM
92942012-03-01 David S. Miller <davem@davemloft.net>
9295
3c969083
DM
9296 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9297
759707de
DM
9298 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9299 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9300 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9301 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9302
dfdb8ff2
DM
9303 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9304 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9305 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9307 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9308 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9309 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9310 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9311 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9312
ead89f96
DM
9313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9314
7f66bd07
DM
9315 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9316 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9317 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9318
53362a4b
DM
9319 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9320 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9321 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9322 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9323 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9324 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9325 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9326 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9327 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9328 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9329 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9330 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9332 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9333 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9335 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9336 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9337 * sysdeps/sparc/elf/configure: Regenerated.
9338
7b1902cb
JM
93392012-03-01 Joseph Myers <joseph@codesourcery.com>
9340
bec039bc
JM
9341 * configure.in (AS, LD): Require binutils 2.20 or later.
9342 * configure: Regenerated.
9343 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9344 as required minimum version.
9345 * INSTALL: Regenerated.
9346
7b1902cb
JM
9347 [BZ #2541]
9348 [BZ #4108]
9349 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9350 before squaring exponent.
9351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9352 bottom long double and 27 bits of top long double before squaring
9353 exponent.
9354 * math/libm-test.inc (erfc_test): Add more tests.
9355 * sysdeps/i386/fpu/libm-test-ulps: Update.
9356 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9358
f775c276
KT
93592012-03-01 Kai Tietz <ktietz@redhat.com>
9360
9361 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9362 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9363 containing bit-fields.
9364 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9365 * soft-fp/single.h (_FP_UNION_S): Likewise.
9366 * soft-fp/double.h (_FP_UNION_D): Likewise.
9367
5b8a4d4a
JM
93682012-02-29 Joseph Myers <joseph@codesourcery.com>
9369
0bab47b6
JM
9370 [BZ #13786]
9371 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9372 not include ../strcmp.S.
9373 [USE_AS_STRNCASECMP_L]: Likewise.
9374 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9375 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9376 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9377 (__strncasecmp_l_ia32): Define as alias to
9378 __strncasecmp_l_nonascii.
9379
0fcad3e2
JM
9380 [BZ #5794]
9381 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9382 * sysdeps/i386/fpu/libm-test-ulps: Update.
9383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9384
5b8a4d4a
JM
9385 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9387
8fdceb2e
JL
93882012-02-29 Jeff Law <law@redhat.com>
9389
9390 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9391 out of bounds read.
9392
1f393a11
MP
93932012-02-29 Marek Polacek <polacek@redhat.com>
9394
9395 [BZ #13706]
9396 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9397 * elf/Makefile: Add rules to run tst-unused-dep.out.
9398
8847f037
DM
93992012-02-28 David S. Miller <davem@davemloft.net>
9400
9401 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9402 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9404 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9405 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9406 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9407
169d7f11
JM
94082012-02-29 Joseph Myers <joseph@codesourcery.com>
9409
9410 * math/libm-test.inc (llround_test): Move one test from
9411 lround_test. Use TEST_f_L in moved test.
9412 (lround_test): Move misplaced test to llround_test. Add testcase
9413 from bug 2561.
9414
39adf059
UD
94152012-02-28 Ulrich Drepper <drepper@gmail.com>
9416
9417 * sysdeps/x86_64/fpu/e_expf.S: New file.
9418 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9419
71b5d1c5
SB
94202012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9421
9422 [BZ #13637]
9423 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9424 of remain_len that may cause incomplete multi-byte character and
9425 false match.
9426 * posix/bug-regex33.c: New file.
9427 * posix/Makefile (tests): Add bug-regex33.
9428
1f77f049
JM
94292012-02-28 Joseph Myers <joseph@codesourcery.com>
9430
9431 * manual/macros.texi: New file.
9432 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9433 * manual/libc.texinfo: Include macros.texi.
9434 * manual/creatute.texi: Likewise.
9435 * manual/install.texi: Likewise.
9436 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9437 @glibcadj{} in references to the GNU C Library.
9438 * manual/charset.texi: Likewise.
9439 * manual/conf.texi: Likewise.
9440 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9441 when not using those macros.
9442 * manual/creature.texi: Likewise.
9443 * manual/crypt.texi: Likewise.
9444 * manual/errno.texi: Likewise.
9445 * manual/filesys.texi: Likewise.
9446 * manual/header.texi: Likewise.
9447 * manual/install.texi: Likewise.
9448 * manual/intro.texi: Likewise.
9449 * manual/io.texi: Likewise.
9450 * manual/job.texi: Likewise.
9451 * manual/lang.texi: Likewise.
9452 * manual/libc.texiinfo: Likewise.
9453 * manual/llio.texi: Likewise.
9454 * manual/locale.texi: Likewise.
9455 * manual/maint.texi: Likewise.
9456 * manual/math.texi: Likewise.
9457 * manual/memory.texi: Likewise.
9458 * manual/message.texi: Likewise.
9459 * manual/nss.texi: Likewise.
9460 * manual/pattern.texi: Likewise.
9461 * manual/process.texi: Likewise.
9462 * manual/resource.texi: Likewise.
9463 * manual/search.texi: Likewise.
9464 * manual/setjmp.texi: Likewise.
9465 * manual/signal.texi: Likewise.
9466 * manual/socket.texi: Likewise.
9467 * manual/startup.texi: Likewise.
9468 * manual/stdio.texi: Likewise.
9469 * manual/string.texi: Likewise.
9470 * manual/sysinfo.texi: Likewise.
9471 * manual/syslog.texi: Likewise.
9472 * manual/terminal.texi: Likewise.
9473 * manual/time.texi: Likewise.
9474 * manual/users.texi: Likewise.
9475 * INSTALL: Regenerated.
9476 * NOTES: Regenerated.
d40c5d54 9477 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9478
450bf206
AS
94792012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9480
9481 * include/dirent.h: Include <dirstream.h> before
9482 <dirent/dirent.h>.
9483
741a235b
DM
94842012-02-28 David S. Miller <davem@davemloft.net>
9485
9486 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9487 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9488 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9489 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9490
d6b5aa58
DM
94912012-02-27 David S. Miller <davem@davemloft.net>
9492
1aff59a3
DM
9493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9495 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9496 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9497
d6b5aa58
DM
9498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9499 frame pointer instead of stack pointer relative arg slot.
9500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9501 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9502 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9503
433f48bf
CD
95042012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9505
9506 [BZ #3992]
9507 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9508
d674b76d
DM
95092012-02-27 David S. Miller <davem@davemloft.net>
9510
9511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9515 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9516 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9517 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9518 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9519
0e7727f7
JM
95202012-02-27 Joseph Myers <joseph@codesourcery.com>
9521
9522 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9523 later. Allow versions 5-9.
43be4ca2 9524 * configure: Regenerated.
0e7727f7
JM
9525 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9526 required minimum version and 4.6 as recommended version. Do not
9527 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9528 * INSTALL: Regenerated.
0e7727f7 9529
a78bc654
DM
95302012-02-27 David S. Miller <davem@davemloft.net>
9531
428d5830
DM
9532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9536 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9537 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9538 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9539 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9540
a78bc654
DM
9541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9542 manipulate bits before adding and subtracting TWO112[sx].
9543 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9544
4579f81c
RM
95452012-02-27 Roland McGrath <roland@hack.frob.com>
9546
36c8acb4
RM
9547 [BZ #13775]
9548 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9549 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9550 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9551 being in POSIX, because they are in 1003.1-2008.
9552
84ad622b
RM
9553 * rt/tst-aio.c: Include <fcntl.h>.
9554 * rt/tst-aio7.c: Likewise.
9555 * rt/tst-aio64.c: Likewise.
9556
4579f81c
RM
9557 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9558
abd923db
JM
95592012-02-27 Joseph Myers <joseph@codesourcery.com>
9560
9561 * manual/install.texi (--with-headers): Describe headers as
9562 interface headers, not private headers.
9563 (Specific advice for GNU/Linux systems): Describe use of headers
9564 from "make headers_install", not private headers from older
9565 kernels.
43be4ca2 9566 * INSTALL: Regenerated.
abd923db
JM
9567 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9568 Change to 2.6.19.
9569 * sysdeps/unix/sysv/linux/configure: Regenerated.
9570
6664049b
JM
9571 * manual/llio.texi (fclean): Remove documentation.
9572
bb8b6697
JM
9573 * manual/Makefile (libc-texi-generated): New variable. Include
9574 version.texi.
9575 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9576 $(libc-texi-generated), not duplicated list of files.
9577 (version.texi, stamp-version): New rules.
9578 (realclean): Remove $(libc-texi-generated), not individual files
9579 from that list. Do not remove dir-add.texinfo.
9580 * manual/libc.texinfo: Comment out uses of edition numbers and
9581 references to printed manual. Remove last-updated dates.
9582 (EDITION): Comment out.
9583 (ISBN): Likewise.
9584 (VERSION, UPDATED): Remove.
9585 (version.texi): Include.
9586
12e5c3b9
AS
95872012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9588
9589 * sysdeps/posix/spawni.c: Include <signal.h>.
9590 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9591 * sysdeps/pthread/aio_fsync.c: Likewise.
9592
4efeffc1 95932012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9594
ba63ba08
UD
9595 * conform/Makefile (tests): Run only when not cross-compiling and
9596 when fast-check is not defined.
9597
d94a4670
UD
9598 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9599 * conform/data/limits.h-data: Fixes for POSIX2008.
9600 * conform/run-conformtest.sh: Run all tests.
9601 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9602 headers.
9603 * include/bits/dlfcn.h: Likewise.
9604 * include/langinfo.h: Likewise.
9605 * include/monetary.h: Likewise.
9606 * include/sys/poll.h: Likewise.
9607
9608 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9609 for __USE_GNU.
9610 * posix/spawn.h: Define __need_sigset_t.
9611 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9612 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9613 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9614 to get sigevent_t only.
9615 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9616 only for __USE_GNU.
9617 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9618 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9619 process_vm_writev only for __USE_GNU.
9620 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9621
9622 * conform/Makefile: For now ignore errors from run-conformtest.
9623 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9624 POSIX to avoid namespace pollution. Don't prepend headers.
9625 * conform/data/aio.h-data: Fixes for POSIX testing.
9626 * conform/data/fcntl.h-data: Likewise.
9627 * conform/data/glob.h-data: Likewise.
9628 * conform/data/grp.h-data: Likewise.
9629 * conform/data/pthread.h-data: Likewise.
9630 * conform/data/pwd.h-data: Likewise.
9631 * conform/data/signal.h-data: Likewise.
9632 * conform/data/spawn.h-data: Likewise.
9633 * conform/data/stdio.h-data: Likewise.
9634 * conform/data/stdlib.h-data: Likewise.
9635 * conform/data/stropts.h-data: Likewise.
9636 * conform/data/sys/mman.h-data: Likewise.
9637 * conform/data/sys/stat.h-data: Likewise.
9638 * conform/data/sys/types.h-data: Likewise.
9639 * conform/data/sys/wait.h-data: Likewise.
9640 * conform/data/time.h-data: Likewise.
9641 * conform/data/unistd.h-data: Likewise.
9642 * conform/data/utime.h-data: Likewise.
9643
9644 * io/sys/stat.h: fchmod was always in POSIX.
9645 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9646 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9647 * rt/aio.h: Define __need_timespec before including <time.h>.
9648 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9649 struct. Add forward declaration of pthread_attr_t and use it in
9650 sigevent.
9651 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9652 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9653 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9654 always remove CLK_TCK definition.
9655
c20105c3
AS
96562012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9657
9658 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9659
7a270350
UD
96602012-02-25 Ulrich Drepper <drepper@gmail.com>
9661
31341567
UD
9662 * conform/run-conformtest.sh: New file.
9663 * conform/Makefile: Run run-conformtest for tests.
9664 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9665 support.
9666
9667 * conform/data/uchar.h-data: New file.
9668 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9669 * conform/data/arpa/inet.h-data: Likewise.
9670 * conform/data/assert.h-data: Likewise.
9671 * conform/data/complex.h-data: Likewise.
9672 * conform/data/cpio.h-data: Likewise.
9673 * conform/data/ctype.h-data: Likewise.
9674 * conform/data/dirent.h-data: Likewise.
9675 * conform/data/dlfcn.h-data: Likewise.
9676 * conform/data/errno.h-data: Likewise.
9677 * conform/data/fcntl.h-data: Likewise.
9678 * conform/data/float.h-data: Likewise.
9679 * conform/data/fmtmsg.h-data: Likewise.
9680 * conform/data/fnmatch.h-data: Likewise.
9681 * conform/data/ftw.h-data: Likewise.
9682 * conform/data/glob.h-data: Likewise.
9683 * conform/data/grp.h-data: Likewise.
9684 * conform/data/iconv.h-data: Likewise.
9685 * conform/data/inttypes.h-data: Likewise.
9686 * conform/data/langinfo.h-data: Likewise.
9687 * conform/data/libgen.h-data: Likewise.
9688 * conform/data/limits.h-data: Likewise.
9689 * conform/data/locale.h-data: Likewise.
9690 * conform/data/math.h-data: Likewise.
9691 * conform/data/monetary.h-data: Likewise.
9692 * conform/data/mqueue.h-data: Likewise.
9693 * conform/data/ndbm.h-data: Likewise.
9694 * conform/data/net/if.h-data: Likewise.
9695 * conform/data/netdb.h-data: Likewise.
9696 * conform/data/netinet/in.h-data: Likewise.
9697 * conform/data/nl_types.h-data: Likewise.
9698 * conform/data/poll.h-data: Likewise.
9699 * conform/data/pthread.h-data: Likewise.
9700 * conform/data/pwd.h-data: Likewise.
9701 * conform/data/regex.h-data: Likewise.
9702 * conform/data/sched.h-data: Likewise.
9703 * conform/data/search.h-data: Likewise.
9704 * conform/data/semaphore.h-data: Likewise.
9705 * conform/data/setjmp.h-data: Likewise.
9706 * conform/data/signal.h-data: Likewise.
9707 * conform/data/spawn.h-data: Likewise.
9708 * conform/data/stdarg.h-data: Likewise.
9709 * conform/data/stdio.h-data: Likewise.
9710 * conform/data/stdlib.h-data: Likewise.
9711 * conform/data/string.h-data: Likewise.
9712 * conform/data/strings.h-data: Likewise.
9713 * conform/data/stropts.h-data: Likewise.
9714 * conform/data/sys/ipc.h-data: Likewise.
9715 * conform/data/sys/mman.h-data: Likewise.
9716 * conform/data/sys/msg.h-data: Likewise.
9717 * conform/data/sys/resource.h-data: Likewise.
9718 * conform/data/sys/select.h-data: Likewise.
9719 * conform/data/sys/sem.h-data: Likewise.
9720 * conform/data/sys/shm.h-data: Likewise.
9721 * conform/data/sys/socket.h-data: Likewise.
9722 * conform/data/sys/stat.h-data: Likewise.
9723 * conform/data/sys/statvfs.h-data: Likewise.
9724 * conform/data/sys/time.h-data: Likewise.
9725 * conform/data/sys/timeb.h-data: Likewise.
9726 * conform/data/sys/times.h-data: Likewise.
9727 * conform/data/sys/types.h-data: Likewise.
9728 * conform/data/sys/uio.h-data: Likewise.
9729 * conform/data/sys/un.h-data: Likewise.
9730 * conform/data/sys/utsname.h-data: Likewise.
9731 * conform/data/sys/wait.h-data: Likewise.
9732 * conform/data/syslog.h-data: Likewise.
9733 * conform/data/tar.h-data: Likewise.
9734 * conform/data/termios.h-data: Likewise.
9735 * conform/data/utime.h-data: Likewise.
9736 * conform/data/utmpx.h-data: Likewise.
9737 * conform/data/varargs.h-data: Likewise.
9738 * conform/data/wchar.h-data: Likewise.
9739 * conform/data/wctype.h-data: Likewise.
9740 * conform/data/wordexp.h-data: Likewise.
9741
9742 * include/stropts.h: New file.
9743 * include/uchar.h: New file.
9744 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9745 * include/assert.h: Likewise.
9746 * include/ctype.h: Likewise.
9747 * include/dirent.h: Likewise.
9748 * include/dlfcn.h: Likewise.
9749 * include/fcntl.h: Likewise.
9750 * include/fnmatch.h: Likewise.
9751 * include/glob.h: Likewise.
9752 * include/grp.h: Likewise.
9753 * include/libio.h: Likewise.
9754 * include/locale.h: Likewise.
9755 * include/math.h: Likewise.
9756 * include/net/if.h: Likewise.
9757 * include/netdb.h: Likewise.
9758 * include/netinet/in.h: Likewise.
9759 * include/pthread.h: Likewise.
9760 * include/pwd.h: Likewise.
9761 * include/regex.h: Likewise.
9762 * include/sched.h: Likewise.
9763 * include/search.h: Likewise.
9764 * include/setjmp.h: Likewise.
9765 * include/signal.h: Likewise.
9766 * include/stdio.h: Likewise.
9767 * include/stdlib.h: Likewise.
9768 * include/string.h: Likewise.
9769 * include/sys/cdefs.h: Likewise.
9770 * include/sys/mman.h: Likewise.
9771 * include/sys/msg.h: Likewise.
9772 * include/sys/resource.h: Likewise.
9773 * include/sys/select.h: Likewise.
9774 * include/sys/socket.h: Likewise.
9775 * include/sys/stat.h: Likewise.
9776 * include/sys/statvfs.h: Likewise.
9777 * include/sys/time.h: Likewise.
9778 * include/sys/times.h: Likewise.
9779 * include/sys/uio.h: Likewise.
9780 * include/sys/utsname.h: Likewise.
9781 * include/sys/wait.h: Likewise.
9782 * include/termios.h: Likewise.
9783 * include/time.h: Likewise.
9784 * include/ulimit.h: Likewise.
9785 * include/unistd.h: Likewise.
9786 * include/utime.h: Likewise.
9787 * include/wchar.h: Likewise.
9788 * include/wctype.h: Likewise.
9789 * include/wordexp.h: Likewise.
9790
9791 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9792
7a270350
UD
9793 * time/time.h: TIME_UTC must be a macro.
9794 Make timespec_get available for ISO C11 only as well.
9795
7724defc
UD
97962012-02-24 Ulrich Drepper <drepper@gmail.com>
9797
9798 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9799 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9800
6b1d1d46
JM
98012012-02-24 Joseph Myers <joseph@codesourcery.com>
9802
9803 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9804
0f8bbd69
JM
98052012-02-24 Joseph Myers <joseph@codesourcery.com>
9806
9807 * manual/texinfo.tex: Update to version 2012-01-19.16.
9808
66ab80bc
JM
98092012-02-24 Joseph Myers <joseph@codesourcery.com>
9810
9811 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9812
74981cc5
RM
98132012-02-24 Roland McGrath <roland@hack.frob.com>
9814
ee968201
RM
9815 [BZ #13738]
9816 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9817 * manual/fdl-1.3.texi: New file.
9818 * manual/fdl-1.1.texi: File removed.
9819
74981cc5
RM
9820 [BZ #13738]
9821 * manual/libc.texinfo (FDL_VERSION): New @set.
9822 Use it for mention of FDL in cover text.
9823 (Documentation License): Use it in @include file name.
9824
7bb764bc
JM
98252012-02-22 Joseph Myers <joseph@codesourcery.com>
9826 Roland McGrath <roland@hack.frob.com>
9827
9828 [BZ #5461]
9829 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9830 not LONG_LONG_MAX and LONG_LONG_MIN.
9831 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9832 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9833 name.
9834 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9835
6cbeae47
JM
98362012-02-22 Joseph Myers <joseph@codesourcery.com>
9837
9838 [BZ #2547]
9839 [BZ #11365]
9840 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9841 manipulate bits before adding and subtracting TWO23[sx].
9842 * math/libm-test.inc (nearbyint_test): Add more tests.
9843
fe45ce09
JM
98442012-02-22 Joseph Myers <joseph@codesourcery.com>
9845
9846 [BZ #2548]
9847 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9848 bits before adding and subtracting TWO23[sx].
9849 * math/libm-test.inc (rint_test): Add more tests.
9850 (rint_test_tonearest): Likewise.
9851 (rint_test_towardzero): Likewise.
9852 (rint_test_downward): Likewise.
9853 (rint_test_upward: Likewise.
9854
ff3b3d82
JM
98552012-02-22 Joseph Myers <joseph@codesourcery.com>
9856
9857 [BZ #10110]
9858 * include/stdc-predef.h: New file. Extracted from features.h.
9859 * include/features.h: Include stdc-predef.h.
9860 * Makefile (headers): Add stdc-predef.h.
9861 * CONFORMANCE (Compiler limitations): Update.
9862
ef0aab35
JM
98632012-02-22 Joseph Myers <joseph@codesourcery.com>
9864
9865 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9866
58639409
DM
98672012-02-21 David S. Miller <davem@davemloft.net>
9868
9869 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9870 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9871
c0e70b25
DM
98722012-02-20 David S. Miller <davem@davemloft.net>
9873
9874 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9875 using a normal save/restore sequence, rather than allocating a
9876 dummy stack frame just to store a frame pointer and restore.
9877 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9878
fb06851d
JM
98792012-02-21 Joseph Myers <joseph@codesourcery.com>
9880
9881 * manual/install.texi: Fix stray word in line-wrapped comment.
9882
7a8b71c3
DM
98832012-02-20 David S. Miller <davem@davemloft.net>
9884
d510c123
DM
9885 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9886 both binutils and gcc support GOTDATA.
9887
0722d7c2
DM
9888 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9889 "rd %pc" in the PIC register setup sequences.
9890
3d2b3019
DM
9891 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9892 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9893 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9894 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9895 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9897 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9898 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9900 (SYSCALL_ERROR_HANDLER): Likewise.
9901 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9902 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9904 (SYSCALL_ERROR_HANDLER): Likewise.
9905
c80098a9
DM
9906 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9907 (HAVE_GCC_GOTDATA): New.
9908 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9909 relocation support in both binutils and gcc.
9910 * sysdeps/sparc/elf/configure: Regenerate.
9911
3a2545a0
DM
9912 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9913 * sysdeps/sparc/sparc32/elf/configure: Delete.
9914 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9915 * sysdeps/sparc/sparc64/elf/configure: Delete.
9916 * sysdeps/sparc/elf/configure.in: New file.
9917 * sysdeps/sparc/elf/configure: Generate.
9918
7a8b71c3
DM
9919 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9920 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9921 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9922 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9923 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9924
f1e86fca
JM
99252012-02-21 Joseph Myers <joseph@codesourcery.com>
9926
9927 * manual/install.texi: Do not mention specific glibc version
9928 numbers.
9929 * manual/libc.texinfo (VERSION, UPDATED): Update.
9930 (@copying): Use @copyright{} and range of years.
9931
0e7dfaef
JM
99322012-02-21 Joseph Myers <joseph@codesourcery.com>
9933
9934 [BZ #13695]
9935 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9936 [crti.S not in sysdirs] (generated): Do not append.
9937 [crti.S not in sysdirs] (omit-deps): Likewise.
9938 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9939 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9940 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9941 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9942 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9943 Likewise.
9944 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9945 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9946 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9947 * csu/defs.awk: Remove file.
9948 * sysdeps/generic/initfini.c: Likewise.
9949 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9950 variable.
9951 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9952 Likewise.
9953
599af3ca
JM
99542012-02-20 Joseph Myers <joseph@codesourcery.com>
9955
9956 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9957 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9958 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9959 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9960 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9961 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9962 <bits/epoll.h>.
9963 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9964 (__EPOLL_PACKED): Define to empty if not defined by
9965 <bits/epoll.h>.
9966 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9968 bits/epoll.h.
9969
0e499750
JM
99702012-02-20 Joseph Myers <joseph@codesourcery.com>
9971
9972 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9973 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9974 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9975 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9976 <bits/timerfd.h>.
9977 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9979 bits/timerfd.h.
9980
5ad91f6e
JM
99812012-02-20 Joseph Myers <joseph@codesourcery.com>
9982
9983 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9984 in C locale.
9985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9986 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9987 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9989
06b99b02
AJ
99902012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9991
9992 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9993 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9994
7638c0fd
AS
99952012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9996
9997 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9998 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9999 defined.
10000 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10001 Likewise.
10002 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10003 entry for 2.16.
10004
92221550
AJ
100052012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10006
10007 * math/w_acos.c: Use non-signaling floating-point comparisons.
10008 * math/w_acosf.c: Likewise.
10009 * math/w_acosh.c: Likewise.
10010 * math/w_acoshf.c: Likewise.
10011 * math/w_acoshl.c: Likewise.
10012 * math/w_acosl.c: Likewise.
10013 * math/w_asin.c: Likewise.
10014 * math/w_asinf.c: Likewise.
10015 * math/w_asinl.c: Likewise.
10016 * math/w_atanh.c: Likewise.
10017 * math/w_atanhf.c: Likewise.
10018 * math/w_atanhl.c: Likewise.
10019 * math/w_exp2.c: Likewise.
10020 * math/w_exp2f.c: Likewise.
10021 * math/w_exp2l.c: Likewise.
10022 * math/w_j0.c: Likewise.
10023 * math/w_j0f.c: Likewise.
10024 * math/w_j0l.c: Likewise.
10025 * math/w_j1.c: Likewise.
10026 * math/w_j1f.c: Likewise.
10027 * math/w_j1l.c: Likewise.
10028 * math/w_jn.c: Likewise.
10029 * math/w_jnf.c: Likewise.
10030 * math/w_log.c: Likewise.
10031 * math/w_log10.c: Likewise.
10032 * math/w_log10f.c: Likewise.
10033 * math/w_log10l.c: Likewise.
10034 * math/w_log2.c: Likewise.
10035 * math/w_log2f.c: Likewise.
10036 * math/w_log2l.c: Likewise.
10037 * math/w_logf.c: Likewise.
10038 * math/w_logl.c: Likewise.
10039 * math/w_sqrt.c: Likewise.
10040 * math/w_sqrtf.c: Likewise.
10041 * math/w_sqrtl.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10045 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10046 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10047
ebaf36eb
JM
100482012-02-19 Joseph Myers <joseph@codesourcery.com>
10049
10050 [BZ #9739]
10051 * manual/string.texi (strnlen): Use correct parameter name in
10052 equivalent expression.
10053
71c254a6
JM
100542012-02-19 Joseph Myers <joseph@codesourcery.com>
10055
10056 [BZ #11174]
10057 * manual/users.texi (seteuid): Consistently use neweuid for
10058 argument name.
10059
16d2c631
JM
100602012-02-19 Joseph Myers <joseph@codesourcery.com>
10061
10062 [BZ #13704]
10063 * manual/nss.texi (Services in the NSS configuration): Correct
10064 list of services in example configuration file.
10065
cd837b09
NB
100662012-02-19 Nick Bowler <nbowler@draconx.ca>
10067
10068 [BZ #11322]
10069 * manual/arith.texi: Remove statements about negative zero
10070 behaving identically to zero.
10071
02c4bbad
JM
100722012-02-18 Joseph Myers <joseph@codesourcery.com>
10073
10074 [BZ #5993]
10075 * manual/install.texi: Do not document upgrading from libc5.
10076
366842e7
JM
100772012-02-18 Joseph Myers <joseph@codesourcery.com>
10078
10079 [BZ #4596]
10080 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10081
dd54084d
DM
100822012-02-18 David S. Miller <davem@davemloft.net>
10083
10084 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10085 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10086 %o7 across the call.
10087 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10088 instead.
10089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10090 SETUP_PIC_REG_LEAF.
10091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10092 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10093 * sysdeps/sparc/crtn.S: Likewise.
10094
2bcc53a3
UD
100952012-02-17 Ulrich Drepper <drepper@gmail.com>
10096
10097 * aout/Makefile: Remove.
10098
09c093b5
RK
100992012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10100
10101 [BZ #13058]
10102 * manual/examples/argp-ex1.c (main): Format definition in GNU
10103 style.
10104 * manual/examples/argp-ex2.c (main): Likewise.
10105 * manual/examples/argp-ex3.c (main): Likewise.
10106 * manual/examples/argp-ex4.c (main): Likewise.
10107 * manual/examples/longopt.c (main): Use new-style prototype
10108 definition.
10109 * manual/examples/strncat.c (main): Specify return type and use
10110 (void) for arguments.
10111 * manual/examples/subopt.c (main): Use char **argv argument.
10112
2ee633a2
JM
101132012-02-17 Joseph Myers <joseph@codesourcery.com>
10114
10115 [BZ #5077]
10116 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10117 rounding modes.
10118
0520adde
FB
101192012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10120
10121 [BZ #6907]
10122 * manual/string.texi (strchr): Change when strchrnul is
10123 recommended.
10124
3f4081cd
DGM
101252012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10126
10127 [BZ #174]
10128 * manual/locale.texi (setlocale): Document LOCPATH.
10129
d1b10e78
JM
101302012-02-17 Joseph Myers <joseph@codesourcery.com>
10131
10132 [BZ #10210]
10133 * manual/process.texi (execle): Move @dots{} before last argument.
10134
79c6869c
PB
101352012-02-17 Paul Bolle <pebolle@tiscali.nl>
10136
10137 [BZ #12047]
10138 * manual/charset.texi (Generic Charset Conversion): Fix typo
10139 (LC_TYPE -> LC_CTYPE).
10140
cc6e48bc
NB
101412012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10142
10143 [BZ #5805]
10144 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10145 (scalbnf): Likewise.
10146 (scalbnl): Likewise.
10147 (scalbln): Likewise.
10148 (scalblnf): Likewise.
10149 (scalblnl): Likewise.
10150 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10151 (vwarnx): Likewise.
10152 (verr): Likewise.
10153 (verrx): Likewise.
10154 * manual/filesys.texi (telldir): Use braces around return type.
10155 * manual/llio.texi (mmap): Add space after comma.
10156 (mmap64): Likewise.
10157 * manual/math.texi (jn): Use @var{} on parameter names.
10158 (jnf): Likewise.
10159 (jnl): Likewise.
10160 (yn): Likewise.
10161 (ynf): Likewise.
10162 (ynl): Likewise.
10163 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10164 line.
10165 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10166 "...".
10167 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10168 (sched_get_priority_max): Likewise.
10169 * manual/signal.texi (sigvec): Add space after comma.
10170 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10171 names.
10172 (if_indextoname): Likewise.
10173 (if_freenameindex): Likewise.
10174 (sendto): Use ',' instead of '.' in prototype.
10175 * manual/startup.texi (syscall): Use @dots{} instead of literal
10176 "...".
10177 * manual/stdio.texi (__fpending): Separate initial words of
10178 paragraph from @deftypefun line.
10179 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10180 "...".
10181 (vsyslog): Use @var{} on parameter names.
10182 * manual/terminal.texi (stty): Use @var{} on parameter names.
10183 * manual/users.texi (getutmp): Use @var{} on parameter names.
10184 (getutmpx): Likewise.
10185
5b23062f
JM
101862012-02-17 Joseph Myers <joseph@codesourcery.com>
10187
10188 [BZ #6884]
10189 * manual/stdio.texi (fopen): Fix typos in description of
10190 ",ccs=STRING".
10191
8dee4833
AJ
101922012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10193
10194 [BZ #4026]
10195 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10196 get clock_id definition.
10197
9078ce93
TS
101982012-02-17 Thomas Schwinge <thomas@schwinge.name>
10199
10200 [BZ #4822]
10201 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10202 (madvise): Cast every argument to void on its own.
10203
3835c55f
JM
102042012-02-17 Joseph Myers <joseph@codesourcery.com>
10205
10206 [BZ #9902]
10207 * manual/startup.texi (Exit Status): Fix typo.
10208
35c47e37
JM
102092012-02-17 Joseph Myers <joseph@codesourcery.com>
10210
10211 [BZ #10140]
10212 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10213 * manual/examples/argp-ex2.c: Likewise.
10214 * manual/examples/argp-ex3.c: Likewise.
10215
e3b69ca7
RH
102162012-02-16 Richard Henderson <rth@redhat.com>
10217
10218 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10219 * sysdeps/s390/s390-32/initfini.c: Remove.
10220 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10221 * sysdeps/s390/s390-64/initfini.c: Remove.
10222
df83af67
KK
102232012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10224
10225 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10226 compiler output for sysdeps/generic/initfini.c.
10227 * sysdeps/sh/elf/initfini.c: Remove file.
10228
f63f3380
DM
102292012-02-16 David S. Miller <davem@davemloft.net>
10230
fb59b3a4
DM
10231 [BZ #11494]
10232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10233
f63f3380
DM
10234 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10235 * sysdeps/sparc/crti.S: New file.
10236 * sysdeps/sparc/crtn.S: New file.
10237 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10238 * sysdeps/sparc/sparc64/Makefile: Likewise.
10239
df6a4a4a
MF
102402012-02-15 Mike Frysinger <vapier@gentoo.org>
10241
6dd8f3dc 10242 [BZ #3335]
df6a4a4a
MF
10243 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10244
1cac7236
RM
102452012-02-15 Roland McGrath <roland@hack.frob.com>
10246
d2c736f8
RM
10247 [BZ #4822]
10248 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10249
1cac7236
RM
10250 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10251 (write, read, close): Likewise.
10252 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10253
8e475601
JM
102542012-02-15 Joseph Myers <joseph@codesourcery.com>
10255
10256 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10257 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10258 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10259 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10260 <bits/signalfd.h>.
10261 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10263 bits/signalfd.h.
10264
ed656b40
MP
102652012-02-14 Marek Polacek <polacek@redhat.com>
10266
10267 * sysdeps/x86_64/crti.S: New file.
10268 * sysdeps/x86_64/crtn.S: New file.
10269 * sysdeps/x86_64/elf/initfini.c: Remove file.
10270
2a979d3a
JM
102712012-02-13 Joseph Myers <joseph@codesourcery.com>
10272
10273 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10274 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10275 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10276 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10277 <bits/inotify.h>.
10278 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10280 bits/inotify.h.
10281
2a418ac3
JM
102822012-02-13 Joseph Myers <joseph@codesourcery.com>
10283
10284 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10285 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10286 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10287 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10288 <bits/eventfd.h>.
10289 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10291 bits/eventfd.h.
10292
fb779be7
TS
102932012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10294
e19e83c5
RM
10295 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10296 __feraiseexcept instead of feraiseexcept.
7c35ffed 10297
fb779be7
TS
10298 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10299 nanosleep invocations.
10300 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10301 strings, and add error checking for a nanosleep invocations.
10302
59ba27a6
PE
103032012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10304
10305 Replace FSF snail mail address with URLs, as per GNU coding standards.
10306 Most of the snail mail addresses were wrong anyway, and omitting
10307 them makes the source code easier to maintain. Almost all of the
10308 changes are to license notices and to locale LC_IDENTIFICATION
10309 addresses, except for this one:
10310 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10311 not its snail mail address.
10312
57b957eb
RH
103132012-02-09 Richard Henderson <rth@twiddle.net>
10314
af850b1c
RH
10315 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10316 of kernel-features.h.
10317
57b957eb
RH
10318 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10319
6b73181a
MP
103202012-02-08 Marek Polacek <polacek@redhat.com>
10321
10322 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10323 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10324 * sysdeps/gnu/_G_config.h: Likewise.
10325 * sysdeps/generic/_G_config.h: Likewise.
10326
26ecc33a
AS
103272012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10328
6c6dbc63
AS
10329 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10330 tests.
10331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10332
e216c012
AS
10333 * sysdeps/powerpc/powerpc32/crti.S: New file.
10334 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10335 * sysdeps/powerpc/powerpc64/crti.S: New file.
10336 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10337
26ecc33a
AS
10338 * Makeconfig (have-initfini): Don't set.
10339 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10340 * configure.in (nopic_initfini): Don't substitute.
10341 * config.h.in (HAVE_INITFINI): Don't #undef.
10342 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10343 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10344
3add8e13
JM
103452012-02-08 Joseph Myers <joseph@codesourcery.com>
10346
10347 Support crti.S and crtn.S provided directly by architectures.
10348 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10349 [crti.S in sysdirs] (omit-deps): Likewise.
10350 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10351 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10352 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10353 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10354 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10355 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10356 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10357 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10358 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10359 compiler output for sysdeps/generic/initfini.c.
10360 * sysdeps/i386/elf/Makefile: Remove file.
10361 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10362
a22f12b4
MP
103632012-02-07 Marek Polacek <polacek@redhat.com>
10364
10365 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10366 * sysdeps/gnu/_G_config.h: Likewise.
10367 * sysdeps/mach/hurd/_G_config.h: Likewise.
10368
148cf100
MP
103692012-02-07 Marek Polacek <polacek@redhat.com>
10370
10371 * math/Makefile (tests): Add tst-CMPLX2.
10372 * math/tst-CMPLX2.c: New file.
10373
cfdc0dd7
AS
103742012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10375
84ba42c4
AS
10376 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10377
cfdc0dd7
AS
10378 * math/libm-test.inc (jn_test): Add missing L suffix.
10379
622c86f4
MP
103802012-02-06 Marek Polacek <polacek@redhat.com>
10381
10382 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10383 * sysdeps/i386/fpu/e_powf.S: Likewise.
10384 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10385 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10386 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10387 * sysdeps/i386/fpu/e_pow.S: Likewise.
10388 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10389 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10390 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10391 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10392 * sysdeps/i386/fpu/e_log2.S: Likewise.
10393 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10394 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10395 * sysdeps/i386/fpu/e_powl.S: Likewise.
10396 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10397 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10398 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10399 * sysdeps/i386/fpu/e_logl.S: Likewise.
10400 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10401 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10402 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10403 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10404 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10405 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10406 * sysdeps/i386/fpu/e_log.S: Likewise.
10407 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10408 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10409 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10410 * sysdeps/i386/fpu/e_logf.S: Likewise.
10411 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10412 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10413 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10414 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10415 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10416 * sysdeps/i386/fpu/e_log10.S: Likewise.
10417 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10418 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10419 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10420 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10421 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10422 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10423 * sysdeps/i386/asm-syntax.h: Likewise.
10424 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10425 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10426 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10427 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10428 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10429 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10430 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10431 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10432 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10433 * sysdeps/powerpc/sysdep.h: Likewise.
10434 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10435 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10436
d4a54ac6
JM
104372012-02-06 Joseph Myers <joseph@codesourcery.com>
10438
10439 [BZ #411]
10440 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10441
314054ea
JM
104422012-02-06 Joseph Myers <joseph@codesourcery.com>
10443
10444 * sysdeps/i386/sysdep.h: Include <features.h>.
10445 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10446 version.
10447
d8e0ca50
JM
104482012-02-05 Joseph Myers <joseph@codesourcery.com>
10449
10450 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10451 Define.
10452 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10453 LOAD_PIC_REG_STR.
10454
b1da7dd9
JM
104552012-02-03 Joseph Myers <joseph@codesourcery.com>
10456
10457 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10458 (SETUP_PIC_REG): Use GET_PC_THUNK.
10459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10460 macro.
10461
9a1d9254
JM
104622012-02-03 Joseph Myers <joseph@codesourcery.com>
10463
10464 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10465 for non-PIC compilation.
10466 (SETUP_PIC_REG): Add .p2align directive.
10467 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10468 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10469 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10470 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10471 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10472 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10473 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10474 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10475 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10476 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10477 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10478 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10479 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10480 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10481 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10482 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10483 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10484 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10485 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10486 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10487 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10488 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10489 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10490 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10492 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10493 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10494 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10495 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10496 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10497 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10498 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10499 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10500 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10501 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10502 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10503 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10504 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10505 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10506 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10507 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10508
65dc3b75
JM
105092012-02-03 Joseph Myers <joseph@codesourcery.com>
10510
10511 * math/tst-CMPLX.c: Include <stdio.h>.
10512
d55bf177
JM
105132012-01-31 Joseph Myers <joseph@codesourcery.com>
10514
10515 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10516 float.
10517 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10518 * sysdeps/sparc/bits/mathdef.h: Likewise.
10519
69db4f8f
MP
105202012-01-31 Marek Polacek <polacek@redhat.com>
10521
10522 * libio/libio.h: Don't define _PARAMS.
10523 * locale/programs/config.h: Don't define PARAMS.
10524 * stdlib/strtol_l.c: Likewise.
10525 (__strtol_l): Remove PARAMS from the prototype.
10526
41b81892
UD
105272012-01-31 Ulrich Drepper <drepper@gmail.com>
10528
3b49edc0
UD
10529 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10530 names. Just use the correct names. Remove unnecessary wrapper
10531 functions.
10532 * malloc/arena.c: Likewise.
10533 * malloc/hooks.c: Likewise.
10534
41b81892
UD
10535 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10536 ARENA_TEST says not to. Simplify test for creation of a new arena.
10537 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10538
27a25b6e
UD
105392012-01-30 Ulrich Drepper <drepper@gmail.com>
10540
10541 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10542 into tail calls.
10543 (update_get_addr): New function.
10544 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10545 GET_ADDR_MODULE parameter.
10546
c8a89e7d
JM
105472012-01-30 Joseph Myers <joseph@codesourcery.com>
10548
10549 * crypt/cert.c: Remove __STDC__ conditionals.
10550 * crypt/crypt-entry.c: Likewise.
10551 * crypt/crypt_util.c: Likewise.
10552 * libio/filedoalloc.c: Likewise.
10553 * libio/fileops.c: Likewise.
10554 * libio/genops.c: Likewise.
10555 * libio/iofclose.c: Likewise.
10556 * libio/iofdopen.c: Likewise.
10557 * libio/iofopen.c: Likewise.
10558 * libio/iofopen64.c: Likewise.
10559 * libio/iogetdelim.c: Likewise.
10560 * libio/iopopen.c: Likewise.
10561 * libio/obprintf.c: Likewise.
10562 * libio/oldfileops.c: Likewise.
10563 * libio/oldiofclose.c: Likewise.
10564 * libio/oldiofdopen.c: Likewise.
10565 * libio/oldiofopen.c: Likewise.
10566 * libio/oldiopopen.c: Likewise.
10567 * libio/wfiledoalloc.c: Likewise.
10568 * libio/wgenops.c: Likewise.
10569 * locale/programs/xmalloc.c: Likewise.
10570 * misc/syslog.c: Likewise.
10571 * stdio-common/xbug.c: Likewise.
10572 * string/memchr.c: Likewise.
10573 * string/memcmp.c: Likewise.
10574 * string/memrchr.c: Likewise.
10575 * string/rawmemchr.c: Likewise.
10576 * sysdeps/posix/getcwd.c: Likewise.
10577 * time/strftime_l.c: Likewise.
10578
3b100462
JM
105792012-01-30 Joseph Myers <joseph@codesourcery.com>
10580
10581 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10582 * config.make.in (config-cflags-sse2avx): Define.
10583 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10584 Fix typo.
10585
607998af
CM
105862012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10587
10588 * scripts/config.guess: Update from upstream config git repository.
10589 * scripts/config.sub: Likewise.
10590
3601428f
CM
105912012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10592
3ac8b282
CM
10593 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10594 (EM_NUM): Update.
10595 (R_TILEPRO_*, R_TILEGX_*): New macros.
10596
e034841e
CM
10597 * scripts/firstversions.awk: Fix bug in version range handling.
10598
540d7568
CM
10599 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10600
3601428f
CM
10601 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10602
463de862
CM
10603 * include/sys/epoll.h: New file.
10604 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10605 libc_hidden_def.
10606
73139a76
UD
106072012-01-28 Ulrich Drepper <drepper@gmail.com>
10608
96bc5b45
UD
10609 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10610 Avoid unnecessary __WORDSIZE == 64 test.
10611 (fmaxf): Use VEX format if possible.
10612 (fmax): Likewise.
10613 (fminf): Likewise.
10614 (fmin): Likewise.
10615
56f6f6a2
UD
10616 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10617 * math/math_private.h: Remove libc_fegetround* and
10618 libc_fesetround*.
10619 * sysdeps/i386/configure.in: Check for -msse2avx.
10620 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10621 also if SSE2AVX is defined.
10622 Remove libc_fegetround* and libc_fesetround*.
10623 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10624 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10625 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10626 of HAS_YMM_USABLE.
10627 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10628 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10629 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10630 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10631 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10632
73139a76
UD
10633 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10634
d73f93a4
AZ
106352012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10636
10637 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10638 size is not set.
10639 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10640
6ee65ed6
UD
106412012-01-27 Ulrich Drepper <drepper@gmail.com>
10642
10643 [BZ #13618]
10644 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10645 relocation.
10646 * Makeconfig (libm): Define.
10647 * elf/Makefile: Add rules to build and run tst-relsort1.
10648 * elf/tst-relsort1.c: New file.
10649 * elf/tst-relsort1mod1.c: New file.
10650 * elf/tst-relsort1mod2.c: New file.
10651
8db21882
JM
106522012-01-27 Joseph Myers <joseph@codesourcery.com>
10653
10654 * math/s_ldexp.c: Remove __STDC__ conditionals.
10655 * math/s_ldexpf.c: Likewise.
10656 * math/s_ldexpl.c: Likewise.
10657 * math/s_nextafter.c: Likewise.
10658 * math/s_nexttowardf.c: Likewise.
10659 * math/s_significand.c: Likewise.
10660 * math/s_significandf.c: Likewise.
10661 * math/s_significandl.c: Likewise.
10662 * math/w_jnl.c: Likewise.
10663 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10664 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10665 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10666 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10667 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10670 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10672 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10673 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10674 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10675 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10676 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10677 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10678 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10682 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10683 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10684 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10685 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10686 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10687 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10688 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10689 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10690 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10691 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10692 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10693 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10694 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10695 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10696 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10697 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10698 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10699 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10700 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10701 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10702 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10703 * sysdeps/ieee754/k_standard.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10712 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10718 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10721 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10723 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10724 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10725 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10727 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10728 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10765 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10770 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10776 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10778 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10779 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10783 * sysdeps/ieee754/s_matherr.c: Likewise.
10784 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10785 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10788
965a54a4
JM
107892012-01-26 Joseph Myers <joseph@codesourcery.com>
10790
10791 * crypt/md5.h: Remove __STDC__ conditionals.
10792 * libio/libioP.h: Likewise.
10793 * locale/programs/config.h: Likewise.
10794 * sysdeps/generic/sysdep.h: Likewise.
10795 * sysdeps/i386/asm-syntax.h: Likewise.
10796 * sysdeps/s390/asm-syntax.h: Likewise.
10797 * sysdeps/unix/sysdep.h: Likewise.
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10800
7071ad79
JM
108012012-01-26 Joseph Myers <joseph@codesourcery.com>
10802
10803 * libio/libio.h: Remove __STDC__ conditionals.
10804 * malloc/obstack.h: Likewise.
10805 * math/complex.h: Likewise.
10806 * math/math.h: Likewise.
10807 * sysdeps/generic/_G_config.h: Likewise.
10808 * sysdeps/gnu/_G_config.h: Likewise.
10809 * sysdeps/mach/hurd/_G_config.h: Likewise.
10810 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10811 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10812 * sysdeps/sparc/bits/mathdef.h: Likewise.
10813
afc5ed09
UD
108142012-01-26 Ulrich Drepper <drepper@gmail.com>
10815
10816 [BZ #13583]
10817 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10818 Clean up HAS_* macros.
afc5ed09 10819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10820 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10821 possible.
10822 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10823 HAS_AVX.
10824 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10825 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10826 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10828 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10829
bdb6de1d
JM
108302012-01-25 Joseph Myers <joseph@codesourcery.com>
10831
10832 * elf/tst-unique3.cc (gets): Remove declaration.
10833 * elf/tst-unique3lib.cc (gets): Likewise.
10834 * elf/tst-unique3lib2.cc (gets): Likewise.
10835 * elf/tst-unique4.cc (gets): Likewise.
10836
b15549e6
UD
108372012-01-24 Ulrich Drepper <drepper@gmail.com>
10838
10839 * include/stdio.h: Add C++ protection. Add gets declarations and
10840 definitions.
10841 * debug/tst-chk1.c: Don't declare gets here.
10842 * stdio-common/tst-gets.c: Likewise.
10843
a037381f
JM
108442012-01-24 Joseph Myers <joseph@codesourcery.com>
10845
10846 * posix/glob: Remove directory.
10847
f1d4aa75
JM
108482012-01-24 Joseph Myers <joseph@codesourcery.com>
10849
10850 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10851
81c0c964
PT
108522012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10853
10854 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10855 of the non-standard EPFNOSUPPORT.
10856
0ea698ae
ST
108572011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10858
10859 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10860 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10861 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10862
d220b117
UD
108632012-01-21 Ulrich Drepper <drepper@gmail.com>
10864
10865 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10866
3e1aa84e
UD
108672012-01-20 Ulrich Drepper <drepper@gmail.com>
10868
10869 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10870 transient errors.
10871 * nscd/grpcache.c (cache_addgr): Likewise.
10872 * nscd/hstcache.c (cache_addhst): Likewise.
10873 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10874 * nscd/pwdcache.c (cache_addpw): Likewise.
10875 * nscd/servicescache.c (cache_addserv): Likewise.
10876
400aa020
UD
108772012-01-16 Ulrich Drepper <drepper@gmail.com>
10878
d77e7869
UD
10879 * malloc/malloc.c: Various cleanups.
10880 * malloc/hooks.c: Likewise.
10881
400aa020
UD
10882 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10883 * stdlib/bug-fmtmsg1.c: New file.
10884
10885 * stdlib/fmtmsg.c (init): Add missing unlock.
10886 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10887
e0a309cf
MP
108882012-01-12 Marek Polacek <polacek@redhat.com>
10889
10890 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10891 and _GNU_SOURCE.
10892
929d11c7
WS
108932012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10894
10895 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10896 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10897 macro to ensure uniqueness of label name.
10898 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10899 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10900
41d0e869
UD
109012012-01-11 Ulrich Drepper <drepper@gmail.com>
10902
0cc5ed3b
UD
10903 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10904
41d0e869
UD
10905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10906 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10907 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10909
a47a831a
UD
109102012-01-10 Ulrich Drepper <drepper@gmail.com>
10911
daa891c0
UD
10912 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10913
10914 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10915 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10916 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10917
e58ef0f2
UD
10918 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10919
a47a831a 10920 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10921 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10924
10925 * math/bits/math-finite.h: Add ldexp support.
10926
a0bfc9c7
MP
109272012-01-10 Marek Polacek <polacek@redhat.com>
10928
10929 * locale/programs/localedef.h (show_archive_content): Add noreturn
10930 attribute.
10931
d6e97a1d
UD
109322012-01-09 Ulrich Drepper <drepper@gmail.com>
10933
10934 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10935
d5835c26
UD
109362012-01-08 Ulrich Drepper <drepper@gmail.com>
10937
e5f484c6
UD
10938 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10939
d5835c26
UD
10940 * io/Makefile (headers): Add bits/poll2.h.
10941
d1f741e9
WS
109422011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10943
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10945 typo #include statement.
10946
ec09c1c4
UD
109472012-01-08 Ulrich Drepper <drepper@gmail.com>
10948
10949 * include/sys/cdefs.h: Define __attribute_alloc_size.
10950 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10951 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10952 * elf/pldd.c: Likewise.
10953 * iconv/iconv_charmap.c: Likewise.
10954 * iconv/iconvconfig.c: Likewise.
10955 * iconv/strtab.c: Likewise.
10956 * locale/programs/locale.c: Likewise.
10957 * locale/programs/localedef.h: Likewise.
10958 * locale/programs/simple-hash.c: Likewise.
10959 * nscd/nscd.h: Likewise.
10960 * nss/makedb.c: Likewise.
10961 * sysdeps/generic/ldconfig.h: Likewise.
10962 * locale/programs/localedef.c: Remove xmalloc prototype.
10963 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10964
20b38e03
PP
109652012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10966
10967 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10968 appropriate.
10969
a0da5fe1
UD
109702012-01-08 Ulrich Drepper <drepper@gmail.com>
10971
1d5a644a 10972 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10973 * math/tst-CMPLX.c: New file.
1d5a644a 10974
8784a6db
UD
10975 * math/complex.h (CMPLXL): Fix typo.
10976
d9a216c0
UD
10977 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10978 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10979 GLIBC_2.16.
10980 * debug/tst-chk1.c: Add poll and ppoll tests.
10981 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10982 * include/sys/poll.h: Add hidden proto for ppoll.
10983 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10984 * sysdeps/mach/hurd/ppoll.c: Likewise.
10985 * io/ppoll.c: Likewise.
10986 * debug/poll_chk.c: New file.
10987 * debug/ppoll_chk.c: New file.
10988 * include/bits/poll2.h: New file.
10989 * io/bits/poll2.h: New file.
10990
ac097f5c
UD
10991 [BZ #1350]
10992 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10993
2119dcfa
UD
10994 * configure.in: static is always set to yes. Remove.
10995 * config.make.in: Don't set build-static.
10996 * Makeconfig: Remove use of build-static.
10997 * dlfcn/Makefile: Likewise.
10998 * elf/Makefile: Likewise.
10999 * math/Makefile: Likewise.
11000 * misc/Makefile: Likewise.
11001 * nptl/Makefile: Likewise.
11002 * sysdeps/mach/hurd/Makefile: Likewise.
11003
121766a9
UD
11004 * configure.in: PWD_P is not used anymore.
11005 * config.make.in: Remove PWD_P entry.
11006
51a1d39c 11007 * configure.in: Remove last remnants of RANLIB.
8720d066 11008 No need to check for signed size_t anymore.
215f4bdc
UD
11009 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11010 and IA-64.
3857022a 11011 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11012 * aclocal.m4: Likewise.
11013
d3ed7225
UD
11014 * wcsmbs/mbrtoc16.c: Implement using towc function.
11015 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11016 * wcsmbs/wcsmbsload.c: Likewise.
11017 * iconv/gconv_simple.c: Likewise.
11018 * iconv/gconv_int.h: Likewise.
11019 * iconv/gconv_builtin.h: Likewise.
11020 * iconv/iconv_prog.c: Remove CHAR16 handling.
11021
11022 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11023
11024 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11025
a0da5fe1
UD
11026 * configure.in: Remove --with-elf and --enable-bounded options.
11027 Dont set base_machine for ia64. More non-ELF conditions removed.
11028 Remove testing and setting of leading underscore information.
11029 * config.make.in (build-bounded): Set to no.
11030 * config.h.in: Remove NO_UNDERSCORES entry.
11031 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11032 them.
11033 * csu/start.c: Remove !NO_UNDERSCORE code.
11034 * locale/localeinfo.h: Likewise.
11035 * sysdeps/generic/machine-gmon.h: Likewise.
11036 * sysdeps/generic/sysdep.h: Likewise.
11037 * sysdeps/i386/sysdep.h: Likewise.
11038 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11039 * sysdeps/mach/sysdep.h: Likewise.
11040 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11041 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11042 * sysdeps/sh/sysdep.h: Likewise.
11043 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11044 * sysdeps/unix/i386/sysdep.S: Likewise.
11045 * sysdeps/unix/sparc/start.c: Likewise.
11046 * sysdeps/unix/sparc/sysdep.S: Likewise.
11047 * sysdeps/unix/sparc/sysdep.h: Likewise.
11048 * sysdeps/unix/start.c: Likewise.
11049 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11050 * sysdeps/x86_64/sysdep.h: Likewise.
11051
df78418a
UD
110522012-01-07 Ulrich Drepper <drepper@gmail.com>
11053
a784e502
UD
11054 [BZ #13553]
11055 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11056 for non-gcc.
11057 * argp/argp-fmtstream.h: Use const instead __const.
11058 * argp/argp.h: Likewise.
11059 * assert/assert.h: Likewise.
11060 * bits/fenv.h: Likewise.
11061 * bits/sched.h: Likewise.
11062 * bits/sigset.h: Likewise.
11063 * bits/sigthread.h: Likewise.
11064 * catgets/nl_types.h: Likewise.
11065 * conform/data/pthread.h-data: Likewise.
11066 * crypt/crypt-private.h: Likewise.
11067 * crypt/crypt.h: Likewise.
11068 * crypt/crypt_util.c: Likewise.
11069 * ctype/ctype.h: Likewise.
11070 * debug/execinfo.h: Likewise.
11071 * debug/mbsnrtowcs_chk.c: Likewise.
11072 * debug/mbsrtowcs_chk.c: Likewise.
11073 * debug/wcsnrtombs_chk.c: Likewise.
11074 * debug/wcsrtombs_chk.c: Likewise.
11075 * debug/wcstombs_chk.c: Likewise.
11076 * dirent/dirent.h: Likewise.
11077 * dlfcn/dlfcn.h: Likewise.
11078 * elf/neededtest4.c: Likewise.
11079 * grp/grp.h: Likewise.
11080 * gshadow/gshadow.h: Likewise.
11081 * iconv/gconv.h: Likewise.
11082 * iconv/gconv_int.h: Likewise.
11083 * iconv/gconv_simple.c: Likewise.
11084 * iconv/iconv.h: Likewise.
11085 * iconv/loop.c: Likewise.
11086 * iconv/skeleton.c: Likewise.
11087 * include/aio.h: Likewise.
11088 * include/aliases.h: Likewise.
11089 * include/argz.h: Likewise.
11090 * include/arpa/inet.h: Likewise.
11091 * include/assert.h: Likewise.
11092 * include/dirent.h: Likewise.
11093 * include/dlfcn.h: Likewise.
11094 * include/execinfo.h: Likewise.
11095 * include/fcntl.h: Likewise.
11096 * include/fenv.h: Likewise.
11097 * include/glob.h: Likewise.
11098 * include/grp.h: Likewise.
11099 * include/libintl.h: Likewise.
11100 * include/mntent.h: Likewise.
11101 * include/netdb.h: Likewise.
11102 * include/pwd.h: Likewise.
11103 * include/rpc/netdb.h: Likewise.
11104 * include/sched.h: Likewise.
11105 * include/search.h: Likewise.
11106 * include/shadow.h: Likewise.
11107 * include/signal.h: Likewise.
11108 * include/stdio.h: Likewise.
11109 * include/stdlib.h: Likewise.
11110 * include/string.h: Likewise.
11111 * include/sys/socket.h: Likewise.
11112 * include/sys/stat.h: Likewise.
11113 * include/sys/statfs.h: Likewise.
11114 * include/sys/statvfs.h: Likewise.
11115 * include/sys/syslog.h: Likewise.
11116 * include/sys/time.h: Likewise.
11117 * include/sys/uio.h: Likewise.
11118 * include/time.h: Likewise.
11119 * include/unistd.h: Likewise.
11120 * include/utmp.h: Likewise.
11121 * include/wchar.h: Likewise.
11122 * include/wctype.h: Likewise.
11123 * inet/aliases.h: Likewise.
11124 * inet/arpa/inet.h: Likewise.
11125 * inet/netinet/ether.h: Likewise.
11126 * inet/netinet/in.h: Likewise.
11127 * intl/libintl.h: Likewise.
11128 * io/bits/fcntl2.h: Likewise.
11129 * io/fcntl.h: Likewise.
11130 * io/ftw.h: Likewise.
11131 * io/sys/poll.h: Likewise.
11132 * io/sys/stat.h: Likewise.
11133 * io/sys/statfs.h: Likewise.
11134 * io/sys/statvfs.h: Likewise.
11135 * io/utime.h: Likewise.
11136 * libio/bits/stdio.h: Likewise.
11137 * libio/bits/stdio2.h: Likewise.
11138 * libio/libio.h: Likewise.
11139 * libio/libioP.h: Likewise.
11140 * libio/stdio.h: Likewise.
11141 * locale/lc-ctype.c: Likewise.
11142 * locale/locale.h: Likewise.
11143 * login/utmp.h: Likewise.
11144 * malloc/arena.c: Likewise.
11145 * malloc/malloc.c: Likewise.
11146 * malloc/malloc.h: Likewise.
11147 * malloc/mcheck.c: Likewise.
11148 * malloc/mtrace.c: Likewise.
11149 * math/bits/mathcalls.h: Likewise.
11150 * math/fenv.h: Likewise.
11151 * math/math_private.h: Likewise.
11152 * misc/bits/error.h: Likewise.
11153 * misc/bits/syslog.h: Likewise.
11154 * misc/err.h: Likewise.
11155 * misc/error.h: Likewise.
11156 * misc/fstab.h: Likewise.
11157 * misc/mntent.h: Likewise.
11158 * misc/regexp.h: Likewise.
11159 * misc/search.h: Likewise.
11160 * misc/sgtty.h: Likewise.
11161 * misc/sys/mman.h: Likewise.
11162 * misc/sys/syslog.h: Likewise.
11163 * misc/sys/uio.h: Likewise.
11164 * misc/sys/xattr.h: Likewise.
11165 * misc/ttyent.h: Likewise.
11166 * nis/rpcsvc/ypclnt.h: Likewise.
11167 * nss/nss.h: Likewise.
11168 * posix/bits/unistd.h: Likewise.
11169 * posix/fnmatch.h: Likewise.
11170 * posix/glob.h: Likewise.
11171 * posix/sched.h: Likewise.
11172 * posix/spawn.h: Likewise.
11173 * posix/sys/wait.h: Likewise.
11174 * posix/unistd.h: Likewise.
11175 * posix/wordexp.h: Likewise.
11176 * pwd/pwd.h: Likewise.
11177 * resolv/netdb.h: Likewise.
11178 * resource/sys/resource.h: Likewise.
11179 * rt/aio.h: Likewise.
11180 * rt/bits/mqueue2.h: Likewise.
11181 * rt/mqueue.h: Likewise.
11182 * shadow/shadow.h: Likewise.
11183 * signal/signal.h: Likewise.
11184 * socket/send.c: Likewise.
11185 * socket/sendto.c: Likewise.
11186 * socket/sys/socket.h: Likewise.
11187 * stdio-common/printf.h: Likewise.
11188 * stdlib/bits/stdlib.h: Likewise.
11189 * stdlib/fmtmsg.h: Likewise.
11190 * stdlib/monetary.h: Likewise.
11191 * stdlib/stdlib.h: Likewise.
11192 * stdlib/ucontext.h: Likewise.
11193 * streams/stropts.h: Likewise.
11194 * string/argz.h: Likewise.
11195 * string/bits/string2.h: Likewise.
11196 * string/string.h: Likewise.
11197 * string/strings.h: Likewise.
11198 * sunrpc/rpc/auth.h: Likewise.
11199 * sunrpc/rpc/auth_des.h: Likewise.
11200 * sunrpc/rpc/clnt.h: Likewise.
11201 * sunrpc/rpc/netdb.h: Likewise.
11202 * sunrpc/rpc/pmap_clnt.h: Likewise.
11203 * sunrpc/rpc/xdr.h: Likewise.
11204 * sysdeps/generic/inttypes.h: Likewise.
11205 * sysdeps/generic/net/if.h: Likewise.
11206 * sysdeps/generic/sys/swap.h: Likewise.
11207 * sysdeps/gnu/net/if.h: Likewise.
11208 * sysdeps/gnu/utmpx.h: Likewise.
11209 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11210 * sysdeps/i386/i486/bits/string.h: Likewise.
11211 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11212 * sysdeps/s390/bits/string.h: Likewise.
11213 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11214 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11215 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11216 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11217 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11218 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11219 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11220 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11221 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11222 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11223 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11224 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11225 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11226 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11227 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11228 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11229 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11231 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11232 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11234 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11235 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11236 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11237 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11238 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11239 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11240 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11241 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11242 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11243 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11244 * sysvipc/sys/ipc.h: Likewise.
11245 * sysvipc/sys/msg.h: Likewise.
11246 * sysvipc/sys/sem.h: Likewise.
11247 * sysvipc/sys/shm.h: Likewise.
11248 * termios/termios.h: Likewise.
11249 * time/sys/time.h: Likewise.
11250 * time/time.h: Likewise.
11251 * wcsmbs/bits/wchar2.h: Likewise.
11252 * wcsmbs/uchar.h: Likewise.
11253 * wcsmbs/wchar.h: Likewise.
11254 * wctype/wctype.h: Likewise.
11255
0269750c
UD
11256 [BZ #13551]
11257 * Makeconfig: Remove all but ELF support including AIX support.
11258 * Makerules: Likewise.
11259 * config.h.in: Likewise.
11260 * config.make.in: Likewise.
11261 * configure: Likewise.
11262 * configure.in: Likewise.
11263 * csu/Makefile: Likewise.
11264 * csu/version.c: Likewise.
11265 * debug/Makefile: Likewise.
11266 * dlfcn/Makefile: Likewise.
11267 * elf/Makefile: Likewise.
11268 * extra-lib.mk: Likewise.
11269 * iconv/Makefile: Likewise.
11270 * include/libc-symbols.h: Likewise.
11271 * include/shlib-compat.h: Likewise.
11272 * resolv/Makefile: Likewise.
11273 * resolv/res_libc.c: Likewise.
11274 * rt/Makefile: Likewise.
11275 * sysdeps/i386/asm-syntax.h: Likewise.
11276 * sysdeps/i386/sysdep.h: Likewise.
11277 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11278 * sysdeps/mach/sysdep.h: Likewise.
11279 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11280 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11281 * sysdeps/s390/asm-syntax.h: Likewise.
11282 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11283 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11284 * sysdeps/sh/sysdep.h: Likewise.
11285 * sysdeps/unix/sparc/sysdep.h: Likewise.
11286 * sysdeps/wordsize-32/divdi3.c: Likewise.
11287 * sysdeps/x86_64/sysdep.h: Likewise.
11288
00bbd29b
UD
11289 * argp/Versions: Remove _argp_unlock_xxx.
11290
11291 [BZ #13559]
11292 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11293 * abilist/libBrokenLocale.abilist: Likewise.
11294 * abilist/libanl.abilist: Likewise.
11295 * abilist/libc.abilist: Likewise.
11296 * abilist/libcrypt.abilist: Likewise.
11297 * abilist/libdl.abilist: Likewise.
11298 * abilist/libm.abilist: Likewise.
11299 * abilist/libnsl.abilist: Likewise.
11300 * abilist/libpthread.abilist: Likewise.
11301 * abilist/libresolv.abilist: Likewise.
11302 * abilist/librt.abilist: Likewise.
11303 * abilist/libthread_db.abilist: Likewise.
11304 * abilist/libutil.abilist: Likewise.
11305 * abilist/libnss_db.abilist: New file.
11306
11307 * scripts/abilist.awk: Add support for indirect functions.
11308
a2693a0e
UD
11309 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11310
3f05895f
UD
11311 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11312
ecb6fb48
UD
11313 * shlib-versions: Remove entries for ports architectures.
11314
664f8cb9
UD
11315 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11316 files in ports.
11317 * elf/stackguard-macros.h: Remove support for IA-64.
11318 * elf/tst-auditmod1.c: Likewise.
11319 * sysdeps/generic/ldsodefs.h: Likewise.
11320
7ae81d88
UD
11321 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11322 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11323 configure files.
11324
bdeba135
UD
11325 [BZ #13552]
11326 * configure.in: Remove --enable-omitfp support.
11327 * FAQ.in: Adjust.
11328 * config.make.in: Likewise.
11329 * Makeconfig: Likewise.
11330 * manual/install.texi: Likewise.
11331
d75a0a62
UD
11332 In case anyone cares, the IA-64 architecture could move to ports.
11333 * sysdeps/ia64/*: Removed.
11334 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11335 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11336
dcc9756b
UD
11337 [BZ #13555]
11338 * configure.in: Remove entries for unsupported architectures.
11339
d3761ebc 11340 [BZ #13533]
9954432e
UD
11341 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11342 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11343 routines.
11344 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11345 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11346 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11347 fall back to using wcrtomb.
11348 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11349 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11350 renaming.
11351 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11352 * wcsmbs/tst-c16c32-1.c: New file.
11353
11354 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11355 local variable.
11356
c3a87236
UD
11357 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11358
28926a1b
UD
11359 * elf/tst-unique3.cc: Add explicit declaration of gets.
11360 * elf/tst-unique3lib.cc: Likewise.
11361 * elf/tst-unique3lib2.cc: Likewise.
11362 * elf/tst-unique4.cc: Likewise.
11363
df78418a
UD
11364 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11365
8ecd6b2a
JM
113662012-01-06 Joseph Myers <joseph@codesourcery.com>
11367
11368 [BZ #13566]
11369 * assert/assert.h (static_assert): Don't define for C++.
11370 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11371 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11372
9f115170
UD
113732012-01-03 Ulrich Drepper <drepper@gmail.com>
11374
5e0d0300
UD
11375 * iconv/loop.c (single loop): Fix assertion in storing of
11376 remaining bytes.
11377
9f115170
UD
11378 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11379
81fb02b0
UD
113802012-01-01 Ulrich Drepper <drepper@gmail.com>
11381
11382 * posix/getconf.c: Update copyright year.
11383 * nss/getent.c: Likewise.
a316c1f6 11384 * nss/makedb.c: Likewise.
81fb02b0
UD
11385 * iconv/iconvconfig.c: Likewise.
11386 * iconv/iconv_prog.c: Likewise.
11387 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11388 * elf/pldd.c: Likewise.
11389 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11390 * catgets/gencat.c: Likewise.
11391 * csu/version.c: Likewise.
11392 * elf/ldd.bash.in: Likewise.
11393 * elf/sprof.c (print_version): Likewise.
11394 * locale/programs/locale.c: Likewise.
11395 * locale/programs/localedef.c: Likewise.
a316c1f6 11396 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11397 * nscd/nscd.c (print_version): Likewise.
11398 * debug/xtrace.sh: Likewise.
11399 * malloc/memusage.sh: Likewise.
11400 * malloc/mtrace.pl: Likewise.
11401 * debug/catchsegv.sh: Likewise.
11402
2ba92745
JJ
114032011-12-30 Jakub Jelinek <jakub@redhat.com>
11404
11405 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11406 pure attribute.
11407
dadebdae
UD
114082011-12-24 Ulrich Drepper <drepper@gmail.com>
11409
d3761ebc 11410 [BZ #13533]
db6af3eb
UD
11411 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11412 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11413 transformations.
11414 * iconv/gconv_int.h: Likewise.
11415 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11416 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11417 from libc for GLIBC_2.16.
11418 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11419 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11420 * wcsmbs/uchar.h: Really define mbstate_t.
11421 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11422 * wcsmbs/c16rtomb.c: New file.
11423 * wcsmbs/mbrtoc16.c: New file.
11424 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11425 for C/POSIX locale.
11426 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11427 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11428
dadebdae
UD
11429 * wcsmbs/wchar.h: Add missing __restrict.
11430
67371b56
UD
114312011-12-23 Ulrich Drepper <drepper@gmail.com>
11432
74033a25
UD
11433 [BZ #13532]
11434 * time/Makefile (routines): Add timespec_get.
11435 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11436 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11437 timespec for ISO C11.
11438 * time/timespec_get.c: New file.
11439 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11440 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11441
380d7e87
UD
11442 [BZ #13531]
11443 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11444 * stdlib/stdlib.h: Declare aligned_alloc.
11445 * Versions.def: Add GLIBC_2.16 for libc.
11446 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11447
4e9e7a35
UD
11448 [BZ 13527]
11449 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11450 ISO C11.
11451
380d7e87 11452 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11453 code.
11454
03a71829
UD
11455 [BZ #13528]
11456 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11457
839e283e
UD
11458 [BZ #13529]
11459 * assert/assert.h (static_assert): Define.
11460
ce5294e2 11461 * version.h: Update for 2.16 development version.
90fa7312 11462
8d44e150 11463 [BZ #13526]
d7809905
UD
11464 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11465 _ISOC11_SOURCE.
11466
c0da14cd
UD
11467 * version.h (RELEASE): Bump for 2.15 release.
11468 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11469
530a3249
MP
11470 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11471 Patch by Marek Polacek <mpolacek@redhat.com>.
11472
67371b56
UD
11473 * bits/byteswap.h: Protect long long constants with __extension__.
11474 * sysdeps/i386/bits/byteswap.h: Likewise.
11475 * sysdeps/ia64/bits/byteswap.h: Likewise.
11476 * sysdeps/s390/bits/byteswap.h: Likewise.
11477 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11478
15db4de1
LD
114792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11480
11481 [BZ #13540]
bbe315ea
LD
11482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11483 destination buffer.
15db4de1
LD
11484 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11485
2b2596b1
MP
114862011-12-23 Marek Polacek <polacek@redhat.com>
11487
11488 * elf/dl-addr.c (determine_info): Add inline keyword.
11489 * elf/tst-auditmod4b.c (check_avx): Likewise.
11490 * elf/tst-auditmod6b.c (check_avx): Likewise.
11491 * elf/tst-auditmod6c.c (check_avx): Likewise.
11492 * elf/tst-auditmod7b.c (check_avx): Likewise.
11493
70c6c246
UD
114942011-12-23 Ulrich Drepper <drepper@gmail.com>
11495
11496 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11497 !__SSE_MATH__.
11498
c044cf14
LD
114992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11500
15db4de1 11501 [BZ #13540]
c044cf14
LD
11502 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11503 processing for last bytes.
11504
6b13d9d9
BH
115052011-08-06 Bruno Haible <bruno@clisp.org>
11506
d455f537
BH
11507 [BZ #13061]
11508 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11509 U+0385, not to U+1FEE.
11510
6b13d9d9
BH
11511 [BZ #13062]
11512 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11513 entry for U+00A5 U+0301.
11514
db910efd
UD
115152011-12-22 Ulrich Drepper <drepper@gmail.com>
11516
27deeafc
UD
11517 [BZ #13166]
11518 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11519 buffer for the output is too small.
11520
aed9d171
UD
11521 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11522 optimization.
11523
db910efd
UD
11524 [BZ #13185]
11525 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11526 SSE flags if possible.
11527
2bd779ae
LD
115282011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11529
e7f9dac3 11530 [BZ #13540]
2bd779ae
LD
11531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11532 processing for last bytes.
11533
154bfc16
JM
115342011-12-22 Joseph Myers <joseph@codesourcery.com>
11535
11536 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11537 (syscall-list-default-options, syscall-list-default-condition)
11538 (syscall-list-includes): Define.
11539 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11540 list of ABIs and options and #if conditions for each ABI. Do not
11541 handle common syscalls between ABIs specially.
11542 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11543 Remove.
11544 (syscall-list-variants, syscall-list-32bit-options)
11545 (syscall-list-32bit-condition, syscall-list-64bit-options)
11546 (syscall-list-64bit-condition): Define.
11547 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11548 (syscall-list-variants, syscall-list-32bit-options)
11549 (syscall-list-32bit-condition, syscall-list-64bit-options)
11550 (syscall-list-64bit-condition): Define.
11551 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11552 Remove.
11553 (syscall-list-variants, syscall-list-32bit-options)
11554 (syscall-list-32bit-condition, syscall-list-64bit-options)
11555 (syscall-list-64bit-condition): Define.
11556 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11557 Remove.
11558 (syscall-list-variants, syscall-list-32bit-options)
11559 (syscall-list-32bit-condition, syscall-list-64bit-options)
11560 (syscall-list-64bit-condition): Define.
11561
21eaf3a5
UD
115622011-12-22 Ulrich Drepper <drepper@gmail.com>
11563
16c6f992
UD
11564 * locale/iso-639.def: Add brx entry.
11565
41043168
UD
11566 [BZ #13328]
11567 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11568 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11569
21eaf3a5
UD
11570 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11571 __feraiseexcept_renamed.
11572
e3a851a2
UD
115732011-12-21 Ulrich Drepper <drepper@gmail.com>
11574
4920765e
UD
11575 [BZ #13538]
11576 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11577 EPOLLET with unsigned values.
11578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11579 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11580
e3a851a2
UD
11581 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11582 to large cancellation.
11583 * math/s_cacoshf.c: Likewise.
11584 * math/s_cacoshl.c: Likewise.
11585
b27e24b8
RK
115862011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11587
11588 [BZ #13305]
aebefeee 11589 [BZ #12786]
b27e24b8
RK
11590 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11591 * math/s_cacoshf.c: Likewise.
11592 * math/s_cacoshl.c: Likewise.
11593
ee190f67
UD
115942011-12-21 Ulrich Drepper <drepper@gmail.com>
11595
11596 [BZ #13439]
11597 * iconv/gconv.h: Define __GCONV_SWAP.
11598 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11599 * iconvdata/utf-16.c: Likewise.
11600 * iconvdata/utf-32.c: Likewise.
11601
707f25df
AS
116022011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11603
11604 [BZ #13524]
11605 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11606 numerator after shifting it by one limb.
11607
d2daaa1e
RÁE
116082011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11609
11610 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11611 under [__USE_EXTERN_INLINES].
11612
a4647e72
UD
116132011-12-17 Ulrich Drepper <drepper@gmail.com>
11614
11615 [BZ #13446]
11616 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11617
f0b264f1
AZ
116182011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11619
11620 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11621 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11622 optimized code.
11623 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11624 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11625 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11626 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11627 for strncasecmp/strncasecmp_l compilation.
11628 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11629 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11630
8ef4f244
MP
116312011-12-08 Marek Polacek <mpolacek@redhat.com>
11632
11633 [BZ #13484]
11634 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11635 of __asm__.
11636
97ac2654
UD
116372011-12-17 Ulrich Drepper <drepper@gmail.com>
11638
11639 [BZ #13506]
11640 * time/tzfile.c (__tzfile_read): Check values from file header.
11641
91d2a845
WS
116422011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11643
11644 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11645 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11646 * powerpc/powerpc32/dl-start.S: Likewise.
11647 * powerpc/powerpc32/elf/start.S: Likewise.
11648 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11649 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11650 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11651 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11652 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11653 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11654 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11655 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11656 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11657 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11658 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11659 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11660 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11661 * powerpc/powerpc32/memset.S: Likewise.
11662 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11663 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11664 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11665 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11666 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11667 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11668 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11669 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11670 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11671 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11672 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11673 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11674 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11675
a1267ba1
AZ
116762011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11677
11678 * math/libm-test.inc: Added more nearbyint tests.
11679 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11680 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11681 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11682 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11683
ad8ac1bd
RL
116842011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11685
11686 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11687 FD_CLOEXEC.
11688
1d3e4b61
UD
116892011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11690
11691 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11692 Add wcscpy-ssse3 wcscpy-c.
11693 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11694 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11695 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11696 * sysdeps/x86_64/wcschr.S: New file.
11697 * sysdeps/x86_64/wcsrchr.S: New file.
11698 * string/test-strcmp.c: Remove checking of wcscmp function for
11699 wrong alignments.
11700 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11701 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11702 wcsrchr-sse2 wcsrchr-c.
11703 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11704 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11705 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11706 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11707 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11708 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11709 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11710 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11711 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11712 * wcsmbc/wcschr.c (WCSCHR): New macro.
11713
5b330a2d
UD
117142011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11715
11716 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11717 * wcsmbs/test-wcsrchr.c: New file.
11718 * string/test-strrchr.c: Add wcsrchr support.
11719 (WIDE): New macro.
11720 * wcsmbs/test-wcscpy.c: New file.
11721 * string/test-strcpy.c: Add wcscpy support.
11722 (WIDE): New macro.
26428b7c 11723
f039c043
UD
117242011-12-10 Ulrich Drepper <drepper@gmail.com>
11725
11726 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11727 the inner loop.
11728
850fb039
AS
117292011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11730
11731 [BZ #13472]
11732 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11733
4efbd5cb
UD
117342011-12-04 Ulrich Drepper <drepper@gmail.com>
11735
52ff5dd0 11736 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11737 Minor optimizations.
52ff5dd0 11738
4efbd5cb
UD
11739 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11740 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11741 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11742
8a426e12
UD
117432011-12-03 Ulrich Drepper <drepper@gmail.com>
11744
aff2453d
UD
11745 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11746 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11747 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11748 for gcc to avoid warnings.
11749 * inet/Makefile (tests): Add tst-checks.
11750 * inet/tst-checks.c: New file.
11751
11752 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11753 warning.
11754
11755 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11756 __wmemcmp_sse2.
11757
11758 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11759 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11760
8a426e12
UD
11761 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11762
9bea3473
UD
117632011-12-02 Ulrich Drepper <drepper@gmail.com>
11764
3a965496
UD
11765 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11766 problem.
11767
9bea3473
UD
11768 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11769
f101631b
UD
117702011-11-29 Joseph Myers <joseph@codesourcery.com>
11771
11772 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11773 conditional on GCC version.
11774 (__arch_compare_and_exchange_val_8_acq)
11775 (__arch_compare_and_exchange_val_16_acq)
11776 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11777 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11778 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11779
a98275aa
UD
117802011-12-02 Joseph Myers <joseph@codesourcery.com>
11781
11782 * sysdeps/sh/backtrace.c: New file.
11783
d4cc29a2
AS
117842011-12-02 Andreas Schwab <schwab@redhat.com>
11785
11786 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11787 parenthesis.
11788
6257af2d
AS
117892011-12-01 Andreas Schwab <schwab@redhat.com>
11790
11791 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11792 falling back to utime.
11793
b5f44c1a
AS
117942011-11-30 Andreas Schwab <schwab@redhat.com>
11795
11796 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11797 expectations for float.
11798
f3a6cc0a
AS
117992011-11-29 Andreas Schwab <schwab@redhat.com>
11800
11801 * locale/weight.h (findidx): Add parameter len.
11802 * locale/weightwc.h (findidx): Likewise.
11803 * posix/fnmatch_loop.c (FCT): Adjust caller.
11804 * posix/regcomp.c (build_equiv_class): Likewise.
11805 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11806 * posix/regexec.c (check_node_accept_bytes): Likewise.
11807 * string/strcoll_l.c (STRCOLL): Likewise.
11808 * string/strxfrm_l.c (STRXFRM): Likewise.
11809
9d65ea3a
UD
118102011-11-17 Ulrich Drepper <drepper@gmail.com>
11811
11812 * Makefile.in: Remove CVSOPT handling.
11813 * configure.in: Remove use of AC_REVISION.
11814 * iconvdata/Makefile (distribute): No need to filter out CVS.
11815 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11816 handling.
11817
5583a086
AS
118182011-11-16 Andreas Schwab <schwab@redhat.com>
11819
11820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11821 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11822 [USE_AS_STRNCASECMP_L]: Likewise.
11823 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11824 NO_TLS_DIRECT_SEG_REFS.
11825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11826 Fix argument offsets for non-PIC.
11827 [USE_AS_STRNCASECMP_L]: Likewise.
11828 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11829 NO_TLS_DIRECT_SEG_REFS.
11830
d62a8200
UD
118312011-11-15 Ulrich Drepper <drepper@gmail.com>
11832
9d65ea3a 11833 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11834 O_CLOEXEC.
11835 * locale/loadlocale.c (_nl_load_locale): Likewise.
11836
09f93bd3
AS
118372011-11-15 Andreas Schwab <schwab@redhat.com>
11838
446514f9
AS
11839 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11840 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11841 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11842 (SYSCALL_GETTIME): Set errno on error.
11843
09f93bd3
AS
11844 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11845 count references to noai6ai_cached.
11846
312be3f9
UD
118472011-11-15 Ulrich Drepper <drepper@gmail.com>
11848
11849 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11850
11851 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11852 FD_CLOEXEC for /proc/self/maps.
11853
11854 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11855 FD_CLOEXEC for /proc/meminfo.
11856
11857 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11858 gai.conf.
11859
11860 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11861 FD_CLOEXEC for given file.
11862
11863 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11864
11865 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11866 FD_CLOEXEC for /etc/hosts.
11867 (_gethtent): Likewise.
11868
11869 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11870
11871 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11872 cancellation and set FD_CLOEXEC for /etc/netgroup.
11873
11874 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11875 reading /etc/publickey.
11876
11877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11878 allow cancellation when reading /etc/group.
11879
11880 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11881 cancellation.
11882 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11883
11884 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11885 when using data file.
11886
11887 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11888
11889 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11890 (write_nis_obj): Use "c" and "e" in fopen.
11891
11892 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11893
11894 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11895
11896 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11897
11898 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11899
11900 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11901 locale.alias.
11902
11903 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11904
11905 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11906
11907 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11908
11909 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11910 file parsing and set FD_CLOEXEC.
11911
82af0fa8
UD
119122011-11-14 Ulrich Drepper <drepper@gmail.com>
11913
11914 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11915
a5fb313c
AS
119162011-11-14 Andreas Schwab <schwab@redhat.com>
11917
11918 * malloc/arena.c (arena_get2): Don't call reused_arena when
11919 _int_new_arena failed.
11920
6abf3465
UD
119212011-11-14 Ulrich Drepper <drepper@gmail.com>
11922
11923 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11924 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11925 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11926 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11927 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11928 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11929 to compile strcasecmp and strncasecmp.
11930 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11931 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11932
11933 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11934
76e3966e
UD
119352011-11-13 Ulrich Drepper <drepper@gmail.com>
11936
11937 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11938 locale-defines.sym to gen-as-const-headers.
11939 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11940 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11942 to compile strcasecmp and strncasecmp.
11943 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11944 strcasecmp_l and strncasecmp_l.
11945 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11946 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11947 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11948 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11949 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11950 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11951 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11952 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11953 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11954 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11955 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11956
ab26144e
UD
119572011-11-12 Ulrich Drepper <drepper@gmail.com>
11958
7edb22ef
UD
11959 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11960 result of SYSDEP_GETTIME_CPU to retval.
11961 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11962 parameter list to macro. Remove trailing semicolon. Adjust users.
11963
9694fc44
UD
11964 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11965 variable.
11966
8ad89ef8
UD
11967 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11968 mantissa words.
11969 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11970
0c822ef9
UD
11971 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11972 from unused variable.
11973
874e0564
UD
11974 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11975 DWARF definitions.
11976 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11977 for assembling.
11978
3a2edc79
UD
11979 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11980 over namespaces.
11981
f3c2577f
UD
11982 * sunrpc/rpc_prot.c (rejected): Fix case value.
11983
294ce126
UD
11984 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11985 unsigned long long int to avoid warnings in shift.
11986
5e2b63c6
UD
11987 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11988 of use of trans.
11989 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11990 variable tmp.
11991
e7f4b08e
UD
11992 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11993 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11994 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11995
ab26144e
UD
11996 * nis/nis_table.c (nis_list): Use variable of correct type for
11997 result of __follow_path call.
11998
8a6d5255
AZ
119992011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12000
12001 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12002 of math functions ceil, trunc, floor, round, and sqrt, when
12003 avaliable on the platform.
12004 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12005 name clash.
12006 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12007 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12008 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12009
aaddc98c
MP
120102011-10-30 Marek Polacek <mpolacek@redhat.com>
12011
12012 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12013 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12014
95b7042b
RM
120152011-11-11 Roland McGrath <roland@hack.frob.com>
12016
12017 * include/unistd.h: Fix __readlink return type.
12018 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12019
57769839
UD
120202011-11-11 Ulrich Drepper <drepper@gmail.com>
12021
12022 * stdlib/ucontext.h: Undo last change for makecontext.
12023
edc5984d
AS
120242011-11-11 Andreas Schwab <schwab@redhat.com>
12025
98591e58
AS
12026 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12027
edc5984d
AS
12028 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12029 * setjmp/setjmp.h: Mark functions as non-leaf.
12030 * setjmp/bits/setjmp2.h: Likewise.
12031 * stdlib/ucontext.h: Likewise.
12032
77cdc054
AS
120332011-11-10 Andreas Schwab <schwab@redhat.com>
12034
12035 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12036 (reused_arena): Don't check arena limit.
12037 (arena_get2): Atomically check arena limit.
12038
fe72eebd
UD
120392011-11-08 Ulrich Drepper <drepper@gmail.com>
12040
5f078c32
UD
12041 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12042 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12043
fe72eebd
UD
12044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12045 instructions.
12046
ae1bc2fa
AS
120472011-11-07 Andreas Schwab <schwab@redhat.com>
12048
7583a88d
AS
12049 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12050 handler when locking.
12051
ae1bc2fa
AS
12052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12053 Fix size of allocated buffer.
12054
10fb0bfa
AS
120552011-11-04 Andreas Schwab <schwab@redhat.com>
12056
998832a4
AS
12057 [BZ #10103]
12058 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12059 declarations for long double functions.
12060 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12061
10fb0bfa
AS
12062 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12063
3d7ba52b
AS
120642011-11-03 Andreas Schwab <schwab@redhat.com>
12065
a9ae54a1
AS
12066 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12067 installed.
12068
3d7ba52b
AS
12069 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12070 is disabled.
12071
bc8db248
ST
120722011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12073
12074 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12075
45b96dd6
AS
120762011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12077
647776f6
AS
12078 * include/alloca.h (stackinfo_alloca_round): Define.
12079 (extend_alloca): Use it.
12080 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12081 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12082 here.
12083
d91a8b93
AS
12084 * scripts/check-local-headers.sh: Ignore libaudit.h.
12085
45b96dd6
AS
12086 * nscd/Makefile (extra-objs): Make recursively expanded.
12087
432d41ce
UD
120882011-11-01 Ulrich Drepper <drepper@gmail.com>
12089
34372fc6
UD
12090 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12091 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12092
fadb59f8
UD
12093 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12094 * posix/tst-rfc3484-2.c: Likewise.
12095 * posix/tst-rfc3484-3.c: Likewise.
12096
78239589
UD
12097 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12098 process_vm_writev.
12099 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12100 process_vm_writev.
12101 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12102 process_vm_writev from libc using GLIBC_2.15 version.
12103
432d41ce
UD
12104 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12105
02f9c6cf
PP
121062011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12107
12108 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12109 stack usage.
12110
3a2c0242
UD
121112011-10-31 Ulrich Drepper <drepper@gmail.com>
12112
f4ec4833
UD
12113 [BZ #13367]
12114 * nss/getent.c (initgroups_keys): Show error message in case no group
12115 names are given.
12116
3a2c0242
UD
12117 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12118 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12119 __bump_nl_timestamp.
12120 * nscd/connections (nscd_init): When host database is served open
12121 netlink socket and request notification about configuration changes.
12122 (main_loop_poll): Track netlink file descriptor and bump timestamp
12123 in case data becomes available.
12124 (main_loop_epoll): Likewise.
12125 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12126 (database_pers_head): Add extra_data fileds.
12127 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12128 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12129 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12130 Adjust caller.
12131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12132 in6ai data, call __free_in6ai.
12133 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12134 Add -DHAVE_NETLINK.
12135 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12136 interface information. Reuse previous data if netlink timestamp
12137 is not changed.
12138 (__bump_nl_timestamp): New function.
12139 (__free_in6ai): New function.
12140
636064eb
UD
121412011-10-30 Ulrich Drepper <drepper@gmail.com>
12142
12143 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12144 close_not_cancel_no_status here.
12145 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12146
9beb2334
UD
121472011-10-29 Ulrich Drepper <drepper@gmail.com>
12148
6ef76f3b
UD
12149 [BZ #13276]
12150 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12151 return value.
12152
0ffc4f3e 12153 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12154 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12155 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12156
cb95113e
UD
121572011-07-03 Andreas Jaeger <aj@suse.de>
12158
12159 [BZ #10709]
12160 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12161 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12162 * math/libm-test.inc (sin_test): Add test case.
12163
a1b560ff
UD
121642011-10-29 Ulrich Drepper <drepper@gmail.com>
12165
c9aaface
UD
12166 [BZ #13337]
12167 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12168 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12169
d272e7f1
UD
12170 * elf/chroot_canon.c (chroot_canon): Cleanups.
12171
1bc33071
UD
12172 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12173
1760874d
TJ
12174 [BZ #13335]
12175 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12176 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12177
51d91b18
UD
12178 * string/test-strchr.c: Make usable for strchrnul testing.
12179 * string/test-strchrnul.c: New file.
12180 * string/Makefile (strop-tests): Add strchrnul.
12181
a1b560ff 12182 * po/it.po: Update from translation team.
b611fb81 12183 * po/es.po: Likewise.
a1b560ff 12184
a5b81e1f
UD
121852011-10-28 Ulrich Drepper <drepper@gmail.com>
12186
fd52bc6d
UD
12187 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12188 the three constants needed as parameters. Drop the others.
12189 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12190 __m128i_strloadu_tolower.
52e4b9eb
UD
12191 Create and initialize variable zero and use it in all the places
12192 where _mm_setzero_si128 was used.
fd52bc6d 12193
a5b81e1f
UD
12194 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12195 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12196 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12197 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12198 anymore.
12199 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12200 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12201 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12202 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12203 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12204 __mpranred, __mptan.
12205 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12206 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12207 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12208 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12209 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12210 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12211 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12212 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12213 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12214
b4343346
AS
122152011-10-28 Andreas Schwab <schwab@redhat.com>
12216
0c92d8a8
AS
12217 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12218 redefine if SHARED.
12219 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12220
b4343346
AS
12221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12222 wide char related routines to wcsmbs subdir.
12223
3871f58f
AS
122242011-10-27 Andreas Schwab <schwab@redhat.com>
12225
12226 [BZ #13344]
12227 * misc/sys/cdefs.h (__THROWNL): Define.
12228 * posix/unistd.h: Use __THREADNL instead of __THREAD
12229 for memory synchronization functions.
12230
94d44d9f
RM
122312011-10-26 Roland McGrath <roland@hack.frob.com>
12232
21b64b15 12233 [BZ #13349]
94d44d9f
RM
12234 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12235 doesn't exist.
12236 * manual/stdio.texi (Obstack Streams): Node removed.
12237
f6ce9294
AS
122382011-10-26 Andreas Schwab <schwab@redhat.com>
12239
80479147
AS
12240 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12241 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12242 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12243
f6ce9294
AS
12244 * math/math_private.h (math_force_eval): Allow non-addressable
12245 arguments.
12246 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12247
618280a1
UD
122482011-10-25 Ulrich Drepper <drepper@gmail.com>
12249
e0016b11
UD
12250 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12251 file is not needed.
12252
12253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12254 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12255 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12256 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12257 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12258 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12259 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12260 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12261 Add AVX variants.
12262 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12263 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12264 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12265 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12266 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12267 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12268 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12269 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12270 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12271 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12272 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12273 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12274 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12275 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12276 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12277 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12278 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12279 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12280 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12281
12282 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12283 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12284
618280a1
UD
12285 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12286 place. Use VEX encoding when compiling for AVX.
12287
37822576
AS
122882011-10-25 Andreas Schwab <schwab@redhat.com>
12289
1f1e1947
AS
12290 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12291 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12292
37822576
AS
12293 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12294
31ea014d
UD
122952011-10-25 Ulrich Drepper <drepper@gmail.com>
12296
d7826aa1 12297 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12298 useless if() expression.
d7826aa1
UD
12299 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12308 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12309 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12310 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12311 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12312 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12313 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12314 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12317 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12318
31ea014d
UD
12319 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12320
16437fec
AS
123212011-10-25 Andreas Schwab <schwab@redhat.com>
12322
12323 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12324 condition.
12325 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12326
31d3cc00
UD
123272011-10-25 Ulrich Drepper <drepper@gmail.com>
12328
12329 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12330 .text section. Avoid duplicate constants.
12331 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12333 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12339 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12340 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12341 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12342 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12343 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12346 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12348 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12349 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12350 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12351 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12352 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12353 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12354 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12355 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12356 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12357 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12358 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12359 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12360 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12361 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12362 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12363 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12364 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12365 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12366 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12367 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12368 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12369 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12370 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12371 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12372 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12373 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12374 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12375 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12376
58985aa9
UD
123772011-10-24 Ulrich Drepper <drepper@gmail.com>
12378
202c9deb
UD
12379 * sysdeps/x86_64/dla.h: Move to ...
12380 * sysdeps/x86_64/fpu/dla.h: ...here.
12381 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12382 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12383
af968f62
UD
12384 * config.make.in: Add have-mfma4 entry.
12385 * configure.in: Substitute libc_cv_cc_fma4.
12386 * math/Makefile (dbl-only-routines): Add sincostab.
12387 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12388 Use __sincostab not sincos.
12389 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12390 name is a macro.
12391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12394 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12395 using __copysign.
12396 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12397 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12398 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12399 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12400 and __inv.
12401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12402 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12403 __copysign.
12404 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12405 define aliases when function name is a macro.
12406 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12407 sysdeps/ieee754/dbl-64/sincos.tbl.
12408 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12409 fma4-enabled routines.
12410 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12411 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12412 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12413 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12414 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12415 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12416 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12417 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12418 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12419 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12420 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12421 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12422 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12423 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12424 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12425 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12426 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12427 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12428 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12429 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12430 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12431 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12433 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12434 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12435 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12436 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12437 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12438 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12439 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12440
58985aa9
UD
12441 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12442 rename.
12443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12444 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12446 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12447 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12449 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12450 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12451
a201fbcf
AS
124522011-10-24 Andreas Schwab <schwab@redhat.com>
12453
12454 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12455
fc2ee42a
LD
124562011-10-23 Ulrich Drepper <drepper@gmail.com>
12457
bb3129bd
UD
12458 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12459
0275fff8
UD
12460 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12461 prediction.
12462 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12463
2fa2ae85
UD
12464 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12465 Remove unused variable magic_bits.
12466 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12467
fc2ee42a
LD
12468 * string/strnlen.c: Define and use STRNLEN macro.
12469 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12470 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12472 * wcsmbs/wcslen.c: Define and use WCSLEN.
12473 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12474 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12475 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12476 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12477 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12478 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12479 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12480
ce7dd29f
LD
124812011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12482
12483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12484 strnlen-sse2-no-bsf.
12485 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12487 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12488 Add strnlen support.
12489 (USE_AS_STRNLEN): New macro.
12490 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12491 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12492 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12493 * sysdeps/x86_64/wcslen.S: New file.
12494
979c70a3
MZ
124952011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12496
12497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12498 XMM-moves are used for copying on small sizes.
12499
2d09f82f
LD
125002011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12501
12502 * wcsmbs/Makefile (strop-tests): Add wcschr.
12503 * wcsmbs/test-wcschr.c: New file.
12504 * string/test-strchr.c: Update.
12505 Add wcschr support.
12506 (WIDE): New macro.
12507
619fccca
LD
125082011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12509
2d09f82f 12510 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12511 * wcsmbs/test-wcslen.c: New file.
12512 * string/test-strlen.c: Update.
12513 Add wcslen support.
12514 (WIDE): New macro.
12515
09f699ea
UD
125162011-10-23 Ulrich Drepper <drepper@gmail.com>
12517
12518 * po/it.po: Update from translation team.
12519
95584d3b
LD
125202011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12521
12522 * sysdeps/x86_64/wcscmp.S: Update.
12523 Fix wrong comparison semantics.
12524 wcscmp shall use signed comparison not unsigned.
12525 Don't use substraction to avoid overflow bug.
12526 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12527 * wcsmbc/wcscmp.c: Likewise.
12528 * string/test-strcmp.c: Likewise.
12529 Add new tests to check cases with negative values.
12530
c8b3296b
UD
125312011-10-23 Ulrich Drepper <drepper@gmail.com>
12532
12533 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12534 * sysdeps/x86_64/dla.h: ...here. New file.
12535 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12536 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12540 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12542 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12543 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12544
246ad57a
AS
125452011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12546
12547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12548 __ynl_finite aliases.
12549
a1a87169
UD
125502011-10-22 Ulrich Drepper <drepper@gmail.com>
12551
0d355eb7
UD
12552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12553
a1a87169
UD
12554 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12555 define DLA_FMA.
12556 [DLA_FMA] (EMULV): Use DLA_FMA.
12557 [DLA_FMA] (MUL12): Use EMULV.
12558 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12559 that are not needed.
12560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12567
ee2aafe0
AS
125682011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12569
12570 * math/s_nan.c: Undef __nan.
12571 * math/s_nanf.c: Undef __nanf.
12572 * math/s_nanl.c: Undef __nanl.
12573 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12574 "math_private.h".
12575
bc62c2fb
UD
125762011-10-22 Ulrich Drepper <drepper@gmail.com>
12577
77425c63
UD
12578 * math/s_catan.c: Add branch predictions.
12579 * math/s_catanf.c: Likewise.
12580 * math/s_catanh.c: Likewise.
12581 * math/s_catanhf.c: Likewise.
12582 * math/s_catanhl.c: Likewise.
12583 * math/s_catanl.c: Likewise.
12584 * math/s_cexp.c: Likewise.
12585 * math/s_cexpf.c: Likewise.
12586 * math/s_cexpl.c: Likewise.
12587 * math/s_clog.c: Likewise.
12588 * math/s_clog10.c: Likewise.
12589 * math/s_clog10f.c: Likewise.
12590 * math/s_clog10l.c: Likewise.
12591 * math/s_clogf.c: Likewise.
12592 * math/s_clogl.c: Likewise.
12593 * math/s_csqrt.c: Likewise.
12594 * math/s_csqrtf.c: Likewise.
12595 * math/s_csqrtl.c: Likewise.
12596 * math/s_ctanf.c: Likewise.
12597 * math/s_ctanh.c: Likewise.
12598 * math/s_ctanhf.c: Likewise.
12599 * math/s_ctanhl.c: Likewise.
12600 * math/s_ctanl.c: Likewise.
12601
bc62c2fb
UD
12602 * math/math_private.h: Define __nan, __nanf, __nanl.
12603 * math/s_cacosh.c: Include <math_private.h>.
12604 * math/s_cacoshl.c: Likewise.
12605 * math/s_casinh.c: Likewise.
12606 * math/s_casinhf.c: Likewise.
12607 * math/s_casinhl.c: Likewise.
12608 * math/s_ccos.c: Rely entire on ccosh.
12609 * math/s_ccosf.c: Rely entire on ccoshf.
12610 * math/s_ccosl.c: Rely entirely on ccoshl.
12611 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12612 Remove tests for FE_INVALID.
12613 * math/s_ccoshf.c: Likewise.
12614 * math/s_ccoshl.c: Likewise.
12615 * math/s_csin.c: Likewise.
12616 * math/s_csinf.c: Likewise.
12617 * math/s_csinh.c Likewise.
12618 * math/s_csinhf.c: Likewise.
12619 * math/s_csinhl.c: Likewise.
12620 * math/s_csinl.c: Likewise.
12621 * math/s_ctan.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12623 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12624 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12625
8ec250a4
UD
126262011-10-21 Ulrich Drepper <drepper@gmail.com>
12627
c196fed8
UD
12628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12629 compilation problems.
12630
8ec250a4
UD
12631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12632 __builtin_expect.
12633
8d4f46c6
UD
126342011-10-20 Ulrich Drepper <drepper@gmail.com>
12635
ed72b654
UD
12636 * sysdeps/i386/configure.in: Test for -mfma4 option.
12637 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12638 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12639 COMMON_CPUID_INDEX_80000001.
12640 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12641 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12642 use it if FMA3 is not supported.
12643 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12644
8d4f46c6
UD
12645 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12646 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12647
d45c60c2
AS
126482011-10-20 Andreas Schwab <schwab@redhat.com>
12649
12650 [BZ #12892]
12651 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12652 it would create a cycle with a link time dependency.
12653
d9a4d2ab
UD
126542011-10-19 Ulrich Drepper <drepper@gmail.com>
12655
855d1560
UD
12656 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12657 instruction.
12658 * string/Makefile (strop-tests): Add rawmemchr.
12659 * string/test-rawmemchr.c: New file.
12660
d9a4d2ab
UD
12661 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12662 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12663 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12664 when compiling str{,n}casecmp and when AVX is available. Hook up
12665 new optimized code in initializers.
12666
8f3b1ffe
AS
126672011-10-19 Andreas Schwab <schwab@redhat.com>
12668
12669 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12670 __feraiseexcept instead of feraiseexcept.
12671
d38f1dba
UD
126722011-10-18 Ulrich Drepper <drepper@gmail.com>
12673
d9a8d0ab
UD
12674 * math/math_private.h: Define defaults for libc_fetestexcept and
12675 libc_feupdateenv.
12676 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12677 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12678 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12679 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12680 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12681 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12682 libc_fetestexcept and libc_feupdateenv.
12683
4855e3dd
UD
12684 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12685 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12686 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12687 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12688 libc_feholdexcept_setround.
12689
581d30e3
UD
12690 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12691 Add s_nearbyint-c and s_nearbyintf-c.
12692 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12693 nearbyintf inlines.
12694 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12695 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12696 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12697 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12698
d38f1dba
UD
12699 * math/math_private.h: Define defaults for libc_fegetround,
12700 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12701 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12702 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12703 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12704 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12705 standard functions.
12706 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12707 Remove comments and hacks for old compiler versions.
12708 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12709 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12710 libc_feholdexceptl.
12711
caa6c9d8
AS
127122011-10-18 Andreas Schwab <schwab@redhat.com>
12713
12714 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12715 (__feraiseexcept_renamed): Add __NTH.
12716 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12717 namespace violations.
12718
97c066e6
UD
127192011-10-17 Ulrich Drepper <drepper@gmail.com>
12720
99ce7b04
UD
12721 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12722
1004d182
UD
12723 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12724
228a984d
UD
12725 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12726 recently added interfaces.
12727 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12728
c8553a6a
UD
12729 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12730 about macro parameter expansion.
12731
ed22dcf6
UD
12732 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12733 __NO_MATH_INLINES is defined. Cleanups.
12734
12735 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12736 and __floorf is target has SSE4.1.
12737 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12738 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12739 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12740 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12741
b171c137
UD
12742 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12743 name.
12744 (floorf): Likewise.
12745
97c066e6
UD
12746 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12747
629f62ef
AS
127482011-10-17 Andreas Schwab <schwab@redhat.com>
12749
49a43d80
AS
12750 * misc/sys/cdefs.h: Fix last change.
12751
629f62ef
AS
12752 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12753 database lookup.
12754
e453f6cd
UD
127552011-10-16 Ulrich Drepper <drepper@gmail.com>
12756
aa78043a
UD
12757 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12758
ad0f5cad
UD
12759 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12760 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12765 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12766 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12767 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12768 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12769 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12770 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12771 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12772 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12773 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12774 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12775 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12776 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12777 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12778 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12779 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12780 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12781
12782 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12783 ceil, ceilf, floor, floorf.
12784
12785 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12786 Perform IRELATIVE relocations last.
12787
e453f6cd
UD
12788 * elf/do-rel.h: Add another parameter nrelative, replacing the
12789 local variable with the same name. Change name of the function
12790 to end in Rel or Rela (uppercase).
12791 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12792 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12793 elf_dynamic_do_##reloc function.
12794
fd5bdc09
UD
127952011-10-15 Ulrich Drepper <drepper@gmail.com>
12796
79b195b5
UD
12797 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12798 is sufficient, at least on modern CPUs.
12799
d4a28569
UD
12800 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12801
b61099b5
UD
12802 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12803 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12804
bcf01e6d
UD
12805 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12806 __expl_finite.
12807 * math/bits/math-finite.h: Add entries for exp.
12808 * math/e_expl.c: Add __*_finite alias.
12809 * sysdeps/i386/fpu/e_exp.S: Likewise.
12810 * sysdeps/i386/fpu/e_expf.S: Likewise.
12811 * sysdeps/i386/fpu/e_expl.c: Likewise.
12812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12813 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12816 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12817 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12818 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12819
ba1a0d59
UD
12820 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12821 is sufficient, at least on modern CPUs.
12822
fd5bdc09
UD
12823 * ctype/ctype-info.c (__ctype_init): Define.
12824 * include/ctype.h (__ctype_init): Declare.
12825 (__ctype_b_loc): The variable is always initialized.
12826 (__ctype_toupper_loc): Likewise.
12827 (__ctype_tolower_loc): Likewise.
12828 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12829 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12830
7872cfb0
AS
128312011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12832
b468825a
AS
12833 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12834
7872cfb0
AS
12835 * configure.in: Also look in $cxxmachine/include for C++ system
12836 headers.
12837
be13f7bf
LD
128382011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12839
12840 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12841 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12842 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12843 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12844 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12845 (USE_AS_WMEMCMP): New macro.
12846 Fixing indents.
12847 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12848 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12849 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12850 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12852 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12853 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12854 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12855 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12856 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12857 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12858 (USE_AS_WMEMCMP): New macro.
12859 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12860 * sysdeps/string/test-memcmp.c: Update.
12861 Fix simple_wmemcmp.
12862 Add new tests.
12863 * wcsmbs/wmemcmp.c: Update.
12864 (WMEMCMP): New macro.
12865 Fix overflow bug.
12866
556a2007
AJ
128672011-10-12 Andreas Jaeger <aj@suse.de>
12868
12869 [BZ #13268]
12870 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12871
538faaa7
UD
128722011-10-15 Ulrich Drepper <drepper@gmail.com>
12873
ab6737ff
UD
12874 * libio/iofwide.c (do_length): Avoid warning.
12875
538faaa7
UD
12876 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12877
396a21b1
UD
128782011-10-14 Ulrich Drepper <drepper@gmail.com>
12879
cdf2901f
UD
12880 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12881
38ad40ce
UD
12882 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12883 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12884 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12885 * sysdeps/i386/i686/fpu/e_log.S: New file.
12886 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12887 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12888
396a21b1
UD
12889 * ctype/ctype.h: Add support for inlined isXXX functions when
12890 compiling C++ code.
12891
6b1f68c9
AS
128922011-10-14 Andreas Schwab <schwab@redhat.com>
12893
349290c0
AS
12894 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12895
6b1f68c9
AS
12896 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12897
f2282d42
RM
128982011-10-13 Roland McGrath <roland@hack.frob.com>
12899
12900 [BZ #13291]
12901 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12902
5298ffa8
AS
129032011-10-13 Andreas Schwab <schwab@redhat.com>
12904
714fad23
AS
12905 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12906 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12907 feraiseexcept.
12908
81dcc7fb
AS
12909 * sysdeps/x86_64/memrchr.S: Check for zero size.
12910
5298ffa8
AS
12911 * string/stratcliff.c: Add memrchr tests.
12912
951fbcec
LD
129132011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12914
12915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12916 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12917 rawmemchr-sse2 rawmemchr-sse2-bsf.
12918 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12919 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12920 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12921 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12922 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12923 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12924 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12925 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12926 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12927 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12928 * string/memrchr.c (MEMRCHR): New macro.
12929
0ac5ae23
UD
129302011-10-12 Ulrich Drepper <drepper@gmail.com>
12931
12932 Add integration with gcc's -ffinite-math-only and optimize wrapper
12933 functions in libm.
12934 * Versions.def: Define GLIBC_2.15 version for libm.
12935 * math/Makefile (headers): Add bits/math-finite.h.
12936 * math/bits/math-finite.h: New file.
12937 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12938 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12939 * math/e_acoshl.c: Add __*_finite alias.
12940 * math/e_acosl.c: Likewise.
12941 * math/e_asinl.c: Likewise.
12942 * math/e_atan2l.c: Likewise.
12943 * math/e_atanhl.c: Likewise.
12944 * math/e_coshl.c: Likewise.
12945 * math/e_exp10.c: Likewise.
12946 * math/e_exp10f.c: Likewise.
12947 * math/e_exp10l.c: Likewise.
12948 * math/e_exp2l.c: Likewise.
12949 * math/e_fmodl.c: Likewise.
12950 * math/e_gammal_r.c: Likewise.
12951 * math/e_hypotl.c: Likewise.
12952 * math/e_j0l.c: Likewise.
12953 * math/e_j1l.c: Likewise.
12954 * math/e_jnl.c: Likewise.
12955 * math/e_lgammal_r.c: Likewise.
12956 * math/e_log10l.c: Likewise.
12957 * math/e_log2l.c: Likewise.
12958 * math/e_logl.c: Likewise.
12959 * math/e_powl.c: Likewise.
12960 * math/e_sinhl.c: Likewise.
12961 * math/e_sqrtl.c: Likewise.
12962 * math/e_scalb.c: Completely rewritten and optimized.
12963 * math/e_scalbf.c: Likewise.
12964 * math/e_scalbl.c: Likewise.
12965 * math/w_acos.c: Likewise.
12966 * math/w_acosf.c: Likewise.
12967 * math/w_acosl.c: Likewise.
12968 * math/w_acosh.c: Likewise.
12969 * math/w_acoshf.c: Likewise.
12970 * math/w_acoshl.c: Likewise.
12971 * math/w_asin.c: Likewise.
12972 * math/w_asinf.c: Likewise.
12973 * math/w_asinl.c: Likewise.
12974 * math/w_atan2.c: Likewise.
12975 * math/w_atan2f.c: Likewise.
12976 * math/w_atan2l.c: Likewise.
12977 * math/w_atanh.c: Likewise.
12978 * math/w_atanhf.c: Likewise.
12979 * math/w_atanhl.c: Likewise.
12980 * math/w_exp10.c: Likewise.
12981 * math/w_exp10f.c: Likewise.
12982 * math/w_exp10l.c: Likewise.
12983 * math/w_fmod.c: Likewise.
12984 * math/w_fmodf.c: Likewise.
12985 * math/w_fmodl.c: Likewise.
12986 * math/w_j0.c: Likewise.
12987 * math/w_j0f.c: Likewise.
12988 * math/w_j0l.c: Likewise.
12989 * math/w_j1.c: Likewise.
12990 * math/w_j1f.c: Likewise.
12991 * math/w_j1l.c: Likewise.
12992 * math/w_jn.c: Likewise.
12993 * math/w_jnf.c: Likewise.
12994 * math/w_log.c: Likewise.
12995 * math/w_logf.c: Likewise.
12996 * math/w_logl.c: Likewise.
12997 * math/w_log10.c: Likewise.
12998 * math/w_log10f.c: Likewise.
12999 * math/w_log10l.c: Likewise.
13000 * math/w_log2.c: Likewise.
13001 * math/w_log2f.c: Likewise.
13002 * math/w_log2l.c: Likewise.
13003 * math/w_pow.c: Likewise.
13004 * math/w_powf.c: Likewise.
13005 * math/w_powl.c: Likewise.
13006 * math/w_remainder.c: Likewise.
13007 * math/w_remainderf.c: Likewise.
13008 * math/w_remainderl.c: Likewise.
13009 * math/w_scalb.c: Likewise.
13010 * math/w_scalbf.c: Likewise.
13011 * math/w_scalbl.c: Likewise.
13012 * math/w_sqrt.c: Likewise.
13013 * math/w_sqrtf.c: Likewise.
13014 * math/w_sqrtl.c: Likewise.
13015 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13016 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13017 used.
13018 * math/math_private.h: Declare __kernel_standard_f.
13019 * math/w_cosh.c: Remove cruft and optimize a bit.
13020 * math/w_coshf.c: Likewise.
13021 * math/w_coshl.c: Likewise.
13022 * math/w_exp2.c: Likewise.
13023 * math/w_exp2f.c: Likewise.
13024 * math/w_exp2l.c: Likewise.
13025 * math/w_hypot.c: Likewise.
13026 * math/w_hypotf.c: Likewise.
13027 * math/w_hypotl.c: Likewise.
13028 * math/w_lgamma.c: Likewise.
13029 * math/w_lgamma_r.c: Likewise.
13030 * math/w_lgammaf.c: Likewise.
13031 * math/w_lgammaf_r.c: Likewise.
13032 * math/w_lgammal.c: Likewise.
13033 * math/w_lgammal_r.c: Likewise.
13034 * math/w_sinh.c: Likewise.
13035 * math/w_sinhf.c: Likewise.
13036 * math/w_sinhl.c: Likewise.
13037 * math/w_tgamma.c: Likewise.
13038 * math/w_tgammaf.c: Likewise.
13039 * math/w_tgammal.c: Likewise.
13040 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13042 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13043 Minor optimizations. Pretty printing. Remove cruft.
13044 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13045 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13046 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13047 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13048 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13049 * sysdeps/i386/fpu/e_asin.S: Likewise.
13050 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13051 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13052 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13053 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13054 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13055 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13056 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13057 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13058 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13059 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13060 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13061 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13062 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13063 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13064 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13065 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13066 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13067 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13068 * sysdeps/i386/fpu/e_log.S: Likewise.
13069 * sysdeps/i386/fpu/e_log10.S: Likewise.
13070 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13071 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13072 * sysdeps/i386/fpu/e_log2.S: Likewise.
13073 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13074 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13075 * sysdeps/i386/fpu/e_logf.S: Likewise.
13076 * sysdeps/i386/fpu/e_logl.S: Likewise.
13077 * sysdeps/i386/fpu/e_pow.S: Likewise.
13078 * sysdeps/i386/fpu/e_powf.S: Likewise.
13079 * sysdeps/i386/fpu/e_powl.S: Likewise.
13080 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13081 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13082 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13083 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13084 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13085 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13086 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13087 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13088 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13089 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13090 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13093 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13094 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13105 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13106 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13110 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13111 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13112 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13113 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13114 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13115 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13116 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13117 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13118 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13119 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13120 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13121 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13122 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13123 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13124 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13125 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13126 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13127 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13128 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13129 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13130 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13131 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13139 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13142 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13143 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13144 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13145 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13146 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13147 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13148 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13149 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13151 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13169 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13171 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13172 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13174 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13175 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13177 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13179 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13180 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13181 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13182 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13183 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13184 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13185 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13186 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13187 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13188 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13189 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13190 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13191 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13192 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13193 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13194 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13195 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13196 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13197 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13198 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13199 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13200 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13201 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13202 (__isnanf): Likewise.
13203 (__isinf_ns): Likewise.
13204 (__isinf_nsf): Likewise.
13205 (__finite): Likewise.
13206 (__finitef): Likewise.
13207 (__ieee754_sqrt): Define as macro.
13208 (__ieee754_sqrtf): Define as macro.
13209 (__ieee754_sqrtl): Define as macro.
13210 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13211 inlined copy.
13212 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13213 __FINITE_MATH_ONLY__ consistent.
13214 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13215
12cc2fcd
AS
132162011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13217
a843a204
AS
13218 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13219 of rawmemchr.
13220
12cc2fcd
AS
13221 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13222
c853acd5
UD
132232011-10-09 Ulrich Drepper <drepper@gmail.com>
13224
13225 * po/ja.po: Update from translation team.
13226
c658d255
RM
132272011-10-08 Roland McGrath <roland@hack.frob.com>
13228
110946e4
RM
13229 * locale/programs/locarchive.c (prepare_address_space): New function.
13230 (create_archive, enlarge_archive, open_archive): Use it.
13231
50604220
RM
13232 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13233 inside [SHARED], where it is used.
13234
c658d255
RM
13235 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13236
13237 * nss/getent.c (netgroup_keys): Remove unused variable.
13238 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13239
6a621eb7
UD
132402011-10-08 Ulrich Drepper <drepper@gmail.com>
13241
7edb55ce
UD
13242 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13243 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13245 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13246 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13247 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13248 * math/Makefile (libm-calls): Add s_isinf_ns.
13249 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13250 * math/multc3.c: Likewise.
13251 * math/s_casin.c: Likewise.
13252 * math/s_casinf.c: Likewise.
13253 * math/s_casinl.c: Likewise.
13254 * math/s_ccos.c: Likewise.
13255 * math/s_ccosf.c: Likewise.
13256 * math/s_ccosl.c: Likewise.
13257 * math/s_ctan.c: Likewise.
13258 * math/s_ctanf.c: Likewise.
13259 * math/s_ctanh.c: Likewise.
13260 * math/s_ctanhf.c: Likewise.
13261 * math/s_ctanhl.c: Likewise.
13262 * math/s_ctanl.c: Likewise.
13263 * math/w_fmod.c: Likewise.
13264 * math/w_fmodf.c: Likewise.
13265 * math/w_fmodl.c: Likewise.
13266 * math/w_remainder.c: Likewise.
13267 * math/w_remainderf.c: Likewise.
13268 * math/w_remainderl.c: Likewise.
13269 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13270 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13271 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13273 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13274 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13275 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13276 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13277
187da0ae
UD
13278 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13279 of the number.
13280 * stdio-common/printf_fphex.c: Likewise.
13281 * stdio-common/printf_size.c: Likewise.
13282
9277c064
UD
13283 * math/e_exp10.c: Include math_private.h using <...> not "...".
13284 * math/e_exp10f.c: Likewise.
13285 * math/e_exp10l.c: Likewise.
13286 * math/e_exp2l.c: Likewise.
13287 * math/e_j0l.c: Likewise.
13288 * math/e_j1l.c: Likewise.
13289 * math/e_jnl.c: Likewise.
13290 * math/e_lgammal_r.c: Likewise.
13291 * math/e_rem_pio2l.c: Likewise.
13292 * math/e_scalb.c: Likewise.
13293 * math/e_scalbf.c: Likewise.
13294 * math/e_scalbl.c: Likewise.
13295 * math/k_cosl.c: Likewise.
13296 * math/k_sinl.c: Likewise.
13297 * math/k_tanl.c: Likewise.
13298 * math/s_cacoshf.c: Likewise.
13299 * math/s_catan.c: Likewise.
13300 * math/s_catanf.c: Likewise.
13301 * math/s_catanh.c: Likewise.
13302 * math/s_catanhf.c: Likewise.
13303 * math/s_catanhl.c: Likewise.
13304 * math/s_catanl.c: Likewise.
13305 * math/s_ccosh.c: Likewise.
13306 * math/s_ccoshf.c: Likewise.
13307 * math/s_ccoshl.c: Likewise.
13308 * math/s_cexp.c: Likewise.
13309 * math/s_cexpf.c: Likewise.
13310 * math/s_cexpl.c: Likewise.
13311 * math/s_clog.c: Likewise.
13312 * math/s_clog10.c: Likewise.
13313 * math/s_clog10f.c: Likewise.
13314 * math/s_clog10l.c: Likewise.
13315 * math/s_clogf.c: Likewise.
13316 * math/s_clogl.c: Likewise.
13317 * math/s_csin.c: Likewise.
13318 * math/s_csinf.c: Likewise.
13319 * math/s_csinh.c: Likewise.
13320 * math/s_csinhf.c: Likewise.
13321 * math/s_csinhl.c: Likewise.
13322 * math/s_csinl.c: Likewise.
13323 * math/s_csqrt.c: Likewise.
13324 * math/s_csqrtf.c: Likewise.
13325 * math/s_csqrtl.c: Likewise.
13326 * math/s_ctan.c: Likewise.
13327 * math/s_ctanf.c: Likewise.
13328 * math/s_ctanh.c: Likewise.
13329 * math/s_ctanhf.c: Likewise.
13330 * math/s_ctanhl.c: Likewise.
13331 * math/s_ctanl.c: Likewise.
13332 * math/s_ldexp.c: Likewise.
13333 * math/s_ldexpf.c: Likewise.
13334 * math/s_ldexpl.c: Likewise.
13335 * math/s_significand.c: Likewise.
13336 * math/s_significandf.c: Likewise.
13337 * math/s_significandl.c: Likewise.
13338 * math/w_acos.c: Likewise.
13339 * math/w_acosf.c: Likewise.
13340 * math/w_acosh.c: Likewise.
13341 * math/w_acoshf.c: Likewise.
13342 * math/w_acoshl.c: Likewise.
13343 * math/w_acosl.c: Likewise.
13344 * math/w_asin.c: Likewise.
13345 * math/w_asinf.c: Likewise.
13346 * math/w_asinl.c: Likewise.
13347 * math/w_atan2.c: Likewise.
13348 * math/w_atan2f.c: Likewise.
13349 * math/w_atan2l.c: Likewise.
13350 * math/w_atanh.c: Likewise.
13351 * math/w_atanhf.c: Likewise.
13352 * math/w_atanhl.c: Likewise.
13353 * math/w_cosh.c: Likewise.
13354 * math/w_coshf.c: Likewise.
13355 * math/w_coshl.c: Likewise.
13356 * math/w_dremf.c: Likewise.
13357 * math/w_exp10.c: Likewise.
13358 * math/w_exp10f.c: Likewise.
13359 * math/w_exp10l.c: Likewise.
13360 * math/w_exp2.c: Likewise.
13361 * math/w_exp2f.c: Likewise.
13362 * math/w_fmod.c: Likewise.
13363 * math/w_fmodf.c: Likewise.
13364 * math/w_fmodl.c: Likewise.
13365 * math/w_hypot.c: Likewise.
13366 * math/w_hypotf.c: Likewise.
13367 * math/w_hypotl.c: Likewise.
13368 * math/w_j0.c: Likewise.
13369 * math/w_j0f.c: Likewise.
13370 * math/w_j0l.c: Likewise.
13371 * math/w_j1.c: Likewise.
13372 * math/w_j1f.c: Likewise.
13373 * math/w_j1l.c: Likewise.
13374 * math/w_jn.c: Likewise.
13375 * math/w_jnf.c: Likewise.
13376 * math/w_jnl.c: Likewise.
13377 * math/w_lgamma.c: Likewise.
13378 * math/w_lgamma_r.c: Likewise.
13379 * math/w_lgammaf.c: Likewise.
13380 * math/w_lgammaf_r.c: Likewise.
13381 * math/w_lgammal.c: Likewise.
13382 * math/w_lgammal_r.c: Likewise.
13383 * math/w_log.c: Likewise.
13384 * math/w_log10.c: Likewise.
13385 * math/w_log10f.c: Likewise.
13386 * math/w_log10l.c: Likewise.
13387 * math/w_log2.c: Likewise.
13388 * math/w_log2f.c: Likewise.
13389 * math/w_log2l.c: Likewise.
13390 * math/w_logf.c: Likewise.
13391 * math/w_logl.c: Likewise.
13392 * math/w_pow.c: Likewise.
13393 * math/w_powf.c: Likewise.
13394 * math/w_powl.c: Likewise.
13395 * math/w_remainder.c: Likewise.
13396 * math/w_remainderf.c: Likewise.
13397 * math/w_remainderl.c: Likewise.
13398 * math/w_scalb.c: Likewise.
13399 * math/w_scalbf.c: Likewise.
13400 * math/w_scalbl.c: Likewise.
13401 * math/w_sinh.c: Likewise.
13402 * math/w_sinhf.c: Likewise.
13403 * math/w_sinhl.c: Likewise.
13404 * math/w_sqrt.c: Likewise.
13405 * math/w_sqrtf.c: Likewise.
13406 * math/w_sqrtl.c: Likewise.
13407 * math/w_tgamma.c: Likewise.
13408 * math/w_tgammaf.c: Likewise.
13409 * math/w_tgammal.c: Likewise.
13410
6a621eb7
UD
13411 * po/ja.po: Update from translation team.
13412
bf582445
AJ
134132011-09-29 Andreas Jaeger <aj@suse.de>
13414
f9efbf3a
AJ
13415 [BZ #13179]
13416 * sunrpc/netname.c (netname2host): Fix logic.
13417
bf582445
AJ
13418 [BZ #6779]
13419 [BZ #6783]
13420 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13421 correctly.
13422 * math/w_remainder.c (__remainder): Likewise.
13423 * math/w_remainderf.c (__remainderf): Likewise.
13424 * math/libm-test.inc (remainder_test): Add test cases.
13425
48693bea
AK
134262011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13427
13428 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13429 sdiv_qrnnd.
13430
42622229
LD
134312011-10-07 Ulrich Drepper <drepper@gmail.com>
13432
13433 * string/test-memcmp.c: Avoid unncessary #defines.
13434 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13435
093ecf92
LD
134362011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13437
13438 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13439 Use new sse2 version for core i3 - i7 as it's faster
13440 than sse42 version.
13441 (bit_Prefer_PMINUB_for_stringop): New.
13442 * sysdeps/x86_64/rawmemchr.S: Update.
13443 Replace with faster SSE2 version.
13444 * sysdeps/x86_64/memrchr.S: New file.
13445 * sysdeps/x86_64/memchr.S: Update.
13446 Replace with faster SSE2 version.
13447
fde56e5c
MP
134482011-09-12 Marek Polacek <mpolacek@redhat.com>
13449
13450 * elf/dl-load.c (lose): Add cast to avoid warning.
13451
21fd49a9
UD
134522011-10-07 Ulrich Drepper <drepper@gmail.com>
13453
5a06e643
UD
13454 * po/ca.po: Update from translation team.
13455
684ae515
UD
13456 * inet/getnetgrent_r.c: Hook up nscd.
13457 * nscd/Makefile (routines): Add nscd_netgroup.
13458 (nscd-modules): Add netgroupcache.
13459 (CFLAGS-netgroupcache.c): Define.
13460 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13461 (cache_search): Add const to second parameter.
13462 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13463 INNETGR.
13464 (dbs): Add netgrdb entry.
13465 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13466 (verify_persistent_db): Handle netgrdb.
13467 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13468 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13469 GETFDNETGR.
13470 (netgroup_response_header): Define.
13471 (innetgroup_response_header): Define.
13472 (datahead): Add netgroup_response_header and innetgroup_response_header
13473 elements.
13474 * nscd/nscd.conf: Add entries for netgroup cache.
13475 * nscd/nscd.h (dbtype): Add netgrdb.
13476 (_PATH_NSCD_NETGROUP_DB): Define.
13477 (netgroup_iov_disabled): Declare.
13478 (xmalloc, xcalloc, xrealloc): Move declarations here.
13479 (cache_search): Adjust prototype.
13480 Add netgroup-related prototypes.
13481 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13482 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13483 (__nscd_innetgr): Declare.
13484 * nscd/selinux.c (perms): Use access_vector_t as element type and
13485 add netgroup-related initializers.
13486 * nscd/netgroupcache.c: New file.
13487 * nscd/nscd_netgroup.c: New file.
13488 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13489 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13490 For four parameters use innetgr.
13491 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13492 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13493 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13494 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13495
21fd49a9
UD
13496 * nscd/connections.c (register_traced_file): Don't register file
13497 for disabled databases.
13498
054c0457
UD
134992011-10-06 Ulrich Drepper <drepper@gmail.com>
13500
32b63198
UD
13501 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13502
054c0457
UD
13503 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13504 from tree and freeing node.
13505
64031225
JO
135062011-09-25 Jiri Olsa <jolsa@redhat.com>
13507
13508 * nss/nsswitch.c (__nss_database_lookup): Handle
13509 nss_parse_service_list out of memory case.
13510
0490345c
JO
135112011-09-15 Jiri Olsa <jolsa@redhat.com>
13512
13513 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13514 out of memory case.
13515
3a62d00d
AS
135162011-10-04 Andreas Schwab <schwab@redhat.com>
13517
13518 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13519 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13520 pass it down.
13521 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13522 elf_machine_rela, elf_machine_lazy_rel.
13523 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13524 (ELF_DYNAMIC_DO_REL): Likewise.
13525 (ELF_DYNAMIC_DO_RELA): Likewise.
13526 (ELF_DYNAMIC_RELOCATE): Likewise.
13527 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13528 to ELF_DYNAMIC_DO_REL.
13529 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13530 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13531 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13532 elf_machine_rela.
13533 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13534 skip_ifunc, don't call ifunc function if non-zero.
13535 (elf_machine_rela): Likewise.
13536 (elf_machine_lazy_rel): Likewise.
13537 (elf_machine_lazy_rela): Likewise.
13538 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13539 (elf_machine_lazy_rel): Likewise.
13540 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13541 Likewise.
13542 (elf_machine_lazy_rel): Likewise.
13543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13544 Likewise.
13545 (elf_machine_lazy_rel): Likewise.
13546 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13547 (elf_machine_lazy_rel): Likewise.
13548 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13549 (elf_machine_lazy_rel): Likewise.
13550 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13551 (elf_machine_lazy_rel): Likewise.
13552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13553 (elf_machine_lazy_rel): Likewise.
13554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13555 (elf_machine_lazy_rel): Likewise.
13556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13557 (elf_machine_lazy_rel): Likewise.
13558
68577918
UD
135592011-09-28 Ulrich Drepper <drepper@gmail.com>
13560
13561 * nss/nss_files/files-init.c (_nss_files_init): Use static
13562 initialization for all the *_traced_file variables.
13563
68822d74
AS
135642011-09-28 Andreas Schwab <schwab@redhat.com>
13565
13566 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13567
2056100b
RM
135682011-09-27 Roland McGrath <roland@hack.frob.com>
13569
13570 [BZ #13226]
13571 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13572
32c76b63
AS
135732011-09-27 Andreas Schwab <schwab@redhat.com>
13574
13575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13576 Reread the line before reparsing it.
13577
bf972c9d
AS
135782011-09-26 Andreas Schwab <schwab@redhat.com>
13579
13580 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13581
e057a1b5
JM
135822011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13583 Maxim Kuvyrkov <maxim@codesourcery.com>
13584 Joseph Myers <joseph@codesourcery.com>
13585
13586 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13587 if needed for __stack_chk_guard.
13588
bc7e1c36
RM
135892011-09-19 Roland McGrath <roland@hack.frob.com>
13590
ecb1482f
RM
13591 * sysdeps/posix/spawni.c (script_execute): Always define it.
13592 It will be optimized away if unused.
13593 (maybe_script_execute): New function.
13594 (__spawni): Call it.
13595
bc7e1c36
RM
13596 * Makerules: Don't include tls.make.
13597 (config-tls): Always set to thread.
13598 * tls.make.c: File removed.
13599
1c3b002b
MF
136002011-09-19 Mike Frysinger <vapier@gentoo.org>
13601
13602 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13603 * config.make.in (CPPFLAGS-config): New substituted variable.
13604
2840865d
UD
136052011-09-15 Ulrich Drepper <drepper@gmail.com>
13606
88738eb6
UD
13607 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13608
cbf645a6 13609 [BZ #13192]
2840865d
UD
13610 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13611 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13612
b402e91a
RM
136132011-09-15 Roland McGrath <roland@hack.frob.com>
13614
13615 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13616 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13618 (CALL_FAIL): Likewise.
13619 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13620 (CALL_FAIL): Macro removed.
13621 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13622
4c1a1f71
UD
136232011-09-15 Ulrich Drepper <drepper@gmail.com>
13624
13625 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13626 for __FINITE_MATH_ONLY__ == 1.
13627
edc121be
AS
136282011-09-15 Andreas Schwab <schwab@redhat.com>
13629
13630 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13631 __ieee754_sqrt instead of sqrt.
13632 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13633 __ieee754_sqrtf instead of sqrtf.
13634 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13635 __floorf instead of floorf.
13636 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13637 __floorf, __truncf instead of floorf, truncf.
13638
cd205654
UD
136392011-09-14 Ulrich Drepper <drepper@gmail.com>
13640
ee4d0315
UD
13641 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13642
cd205654
UD
13643 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13644 __extern_always_inline.
13645 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13646 32-bit.
13647
48b67d71
AS
136482011-09-14 Andreas Schwab <schwab@redhat.com>
13649
13650 * elf/rtld.c (dl_main): Also relocate in dependency order when
13651 doing symbol dependency testing.
13652
1ae12c75
AS
136532011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13654
13655 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13656 Always define `refsym'.
13657
995a80df
AS
136582011-09-13 Andreas Schwab <schwab@redhat.com>
13659
e529793b
AS
13660 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13661 (__FD_ELT): Renamed from __FDELT.
13662 * misc/bits/select2.h (__FD_ELT): Likewise.
13663 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13664 __FD_MASK instead of __FDELT, __FDMASK.
13665 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13666 Likewise.
13667 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13668 Likewise.
13669
52d4fef8
AS
13670 * elf/Makefile (gen-ldd): Fix pattern.
13671
995a80df
AS
13672 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13673 (init_tls): Likewise.
13674
8682f8b0
UD
136752011-09-12 Ulrich Drepper <drepper@gmail.com>
13676
13677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13678
de82006d
AS
136792011-09-12 Andreas Schwab <schwab@redhat.com>
13680
a7c8e6a1
AS
13681 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13682 `struct cmsghdr *' instead of `void *'.
13683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13684 Likewise.
13685
0f31fe77
AS
136862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13687
13688 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13689 if non-absolute.
13690 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13691 ldd_rewrite_script.
0f31fe77 13692
32b4c839
UD
136932011-09-11 Ulrich Drepper <drepper@gmail.com>
13694
83cd1420
UD
13695 * configure.in: Remove --with-tls option.
13696 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13697 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13698 out in case it is missing.
13699 * sysdeps/ia64/elf/configure.in: Likewise.
13700 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13701 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13702 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13703 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13704 * sysdeps/sh/elf/configure.in: Likewise.
13705 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13706 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13707 * sysdeps/x86_64/elf/configure.in: Likewise.
13708 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13709 * sysdeps/mach/hurd/tls.h: Likewise.
13710
633f745d
UD
13711 [BZ #13067]
13712 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13713
f318beb8
UD
13714 [BZ #13090]
13715 * configure.in: Fix use of AC_INIT.
13716
32b4c839
UD
13717 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13718
3ce1f295
UD
137192011-09-10 Ulrich Drepper <drepper@gmail.com>
13720
bb016596
UD
13721 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13722 __set_errno.
8e58439c
UD
13723 * malloc/hooks.c: Likewise.
13724
aebae053 13725 [BZ #11929]
02d46fc4
UD
13726 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13727 variables statically.
13728 (narenas): Initialize.
13729 (list_lock): Initialize.
bb016596
UD
13730 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13731 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13732 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13733 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13734 Add initializers to main_arena and mp_.
13735 (malloc_state): Remove pagesize member. Change all users to use
13736 GLRO(dl_pagesize).
13737
13738 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13739 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13740 is always initialized.
13741
22a89187
UD
13742 * malloc/malloc.c: Removed unused configurations and dead code.
13743 * malloc/arena.c: Likewise.
13744 * malloc/hooks.c: Likewise.
02d46fc4 13745 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13746
d063d164
UD
13747 * include/tls.h: Removed. USE___THREAD must always be defined.
13748 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13749 * elf/dl-libc.c: Likewise.
13750 * elf/dl-tsd.c: Likewise.
13751 * include/errno.h: Likewise.
13752 * include/netdb.h: Likewise.
13753 * include/resolv.h: Likewise.
13754 * inet/herrno-loc.c: Likewise.
13755 * inet/herrno.c: Likewise.
13756 * malloc/arena.c: Likewise.
13757 * malloc/hooks.c: Likewise.
13758 * malloc/malloc.c: Likewise.
13759 * resolv/res-state.c: Likewise.
13760 * resolv/res_libc.c: Likewise.
13761 * sysdeps/i386/dl-machine.h: Likewise.
13762 * sysdeps/ia64/dl-machine.h: Likewise.
13763 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13764 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13765 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13766 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13767 * sysdeps/sh/dl-machine.h: Likewise.
13768 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13769 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13770 * sysdeps/unix/i386/sysdep.S: Likewise.
13771 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13772 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13774 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13775 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13776 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13777 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13779 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13781 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13782 * sysdeps/x86_64/dl-machine.h: Likewise.
13783 * tls.make.c: Likewise.
13784
3ce1f295
UD
13785 * configure.in: Remove --with-__thread option. Make tests for
13786 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13787 tls_model attribute fail if no support is available. Remove
13788 USE_IN_LIBIO.
13789 * Makeconfig: Adjust for dropped configure option. All features are
13790 now mandatory.
13791 * Makerules: Likewise.
13792 * Versions.def: Likewise.
13793 * argp/argp-fmtstream.c: Likewise.
13794 * argp/argp-fmtstream.h: Likewise.
13795 * argp/argp-help.c: Likewise.
13796 * assert/assert.c: Likewise.
13797 * config.h.in: Likewise.
13798 * config.make.in: Likewise.
13799 * configure: Likewise.
13800 * configure.in: Likewise.
13801 * csu/Versions: Likewise.
13802 * csu/init.c: Likewise.
13803 * elf/tst-audit2.c: Likewise.
13804 * elf/tst-tls10.c: Likewise.
13805 * elf/tst-tls10.h: Likewise.
13806 * elf/tst-tls11.c: Likewise.
13807 * elf/tst-tls12.c: Likewise.
13808 * elf/tst-tls14.c: Likewise.
13809 * elf/tst-tlsmod11.c: Likewise.
13810 * elf/tst-tlsmod12.c: Likewise.
13811 * elf/tst-tlsmod13.c: Likewise.
13812 * elf/tst-tlsmod13a.c: Likewise.
13813 * elf/tst-tlsmod14a.c: Likewise.
13814 * elf/tst-tlsmod15b.c: Likewise.
13815 * elf/tst-tlsmod16a.c: Likewise.
13816 * elf/tst-tlsmod16b.c: Likewise.
13817 * elf/tst-tlsmod7.c: Likewise.
13818 * elf/tst-tlsmod8.c: Likewise.
13819 * elf/tst-tlsmod9.c: Likewise.
13820 * gmon/gmon.c: Likewise.
13821 * grp/fgetgrent_r.c: Likewise.
13822 * grp/putgrent.c: Likewise.
13823 * hurd/fopenport.c: Likewise.
13824 * include/libc-symbols.h: Likewise.
13825 * include/tls.h: Likewise.
13826 * intl/gettextP.h: Likewise.
13827 * intl/loadinfo.h: Likewise.
13828 * locale/global-locale.c: Likewise.
13829 * locale/localeinfo.h: Likewise.
13830 * mach/devstream.c: Likewise.
13831 * malloc/arena.c: Likewise.
13832 * malloc/set-freeres.c: Likewise.
13833 * misc/err.c: Likewise.
13834 * misc/getttyent.c: Likewise.
13835 * misc/mntent_r.c: Likewise.
13836 * posix/getopt.c: Likewise.
13837 * posix/wordexp.c: Likewise.
13838 * pwd/fgetpwent_r.c: Likewise.
13839 * resolv/Versions: Likewise.
13840 * resolv/res_hconf.c: Likewise.
13841 * shadow/fgetspent_r.c: Likewise.
13842 * shadow/putspent.c: Likewise.
13843 * stdio-common/printf_fphex.c: Likewise.
13844 * stdio-common/tmpfile.c: Likewise.
13845 * stdlib/abort.c: Likewise.
13846 * stdlib/fmtmsg.c: Likewise.
13847 * sunrpc/auth_unix.c: Likewise.
13848 * sunrpc/clnt_perr.c: Likewise.
13849 * sunrpc/clnt_tcp.c: Likewise.
13850 * sunrpc/clnt_udp.c: Likewise.
13851 * sunrpc/clnt_unix.c: Likewise.
13852 * sunrpc/openchild.c: Likewise.
13853 * sunrpc/svc_simple.c: Likewise.
13854 * sunrpc/svc_tcp.c: Likewise.
13855 * sunrpc/svc_udp.c: Likewise.
13856 * sunrpc/svc_unix.c: Likewise.
13857 * sunrpc/xdr.c: Likewise.
13858 * sunrpc/xdr_array.c: Likewise.
13859 * sunrpc/xdr_rec.c: Likewise.
13860 * sunrpc/xdr_ref.c: Likewise.
13861 * sunrpc/xdr_stdio.c: Likewise.
13862
1248c1c4
PB
138632011-09-09 Ulrich Drepper <drepper@gmail.com>
13864
13865 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13866
138672011-07-03 Andreas Jaeger <aj@suse.de>
13868
13869 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13870 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13871 regenerate with gen-libm-tests.pl.
13872
138732010-05-12 Petr Baudis <pasky@suse.cz>
13874
13875 [BZ #11589]
13876 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13877 around j0() zero points by switching to j1().
13878 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13882
f22e1074
UD
138832011-09-09 Ulrich Drepper <drepper@gmail.com>
13884
f19009c1
UD
13885 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13886 instead of 0.
13887 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13888 instead of 0. .
13889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13890 Patch in part by Pavel Roskin <proski@gnu.org>.
13891
3f8cc204
UD
13892 [BZ #13138]
13893 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13894 realloc.
13895 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13896 Free memory block if necessary.
13897
f22e1074
UD
13898 [BZ #12847]
13899 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13900 be NULL. Don't lock in this case.
13901
0a2349f9
RM
139022011-09-09 Roland McGrath <roland@hack.frob.com>
13903
13904 * elf/elf.h (ELFOSABI_GNU): New macro.
13905 (ELFOSABI_LINUX): Define to that.
13906
f3cdd467
DZ
139072011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13908
13909 * string/strncat.c (strncat): Undef the symbol in case it has been
13910 defined in bits/string.h.
13911
74718d13
UD
139122011-09-09 Ulrich Drepper <drepper@gmail.com>
13913
633e9e0f
UD
13914 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13915
0a2349f9 13916 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13917 link map.
13918
f9924780
AJ
139192011-08-17 Andreas Jaeger <aj@suse.de>
13920
13921 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13922
7f5517aa
PP
139232011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13924 Ian Lance Taylor <iant@google.com>
13925
13926 * math/libm-test.inc (lround_test): New testcase.
13927 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13928
762011fe
UD
139292011-09-08 Ulrich Drepper <drepper@gmail.com>
13930
92963737
UD
13931 * Makefile: Remove support for automatic cvs check-ins.
13932 * Makerules: Likewise.
13933 * config.make.in: Likewise.
13934 * configure.in: Likewise.
13935 * intl/Makefile: Likewise.
13936 * locale/Makefile: Likewise.
13937 * po/Makefile: Likewise.
13938 * posix/Makefile: Likewise.
13939 * sysdeps/gnu/Makefile: Likewise.
13940 * sysdeps/mach/hurd/Makefile: Likewise.
13941 * sysdeps/sparc/sparc32/Makefile: Likewise.
13942
b0727fd8
JS
13943 [BZ #13118]
13944 * posix/Makefile (bug-regex32-ENV): Define.
13945 Patch by John Stanley <jpsinthemix@verizon.net>.
13946
a0f33f99
UD
13947 * misc/Makefile (headers): Add bits/select2.h.
13948 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13949 * misc/bits/select2.h: New file.
13950 * include/bits/select2.h: New file.
13951 * debug/Makefile (routines): Add fdelt_chk.
13952 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13953 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13954 FD_ISSET.
13955 * debug/fdelt_chk.c: New file.
13956
762011fe
UD
13957 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13958 * wcsmbs/test-wmemcmp.c: Likewise.
13959 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13960 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13961
139622011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13963
13964 * string/Makefile (strop-tests): Add memcmp.
13965 * string/test-wmemcmp.c: New file.
13966 * string/test-memcmp.c: Add wmemcmp support.
13967
7f513ec8
RM
139682011-09-08 Roland McGrath <roland@hack.frob.com>
13969
0442afb4
RM
13970 [BZ #13153]
13971 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13972 2011-07-19 change.
13973
7f513ec8
RM
13974 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13975 garbage value in a __mach_port_mod_refs call in the cases of the
13976 task-self and thread-self ports.
13977
a12b2239
ST
139782011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13979
13980 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13981
610f9ab4
AS
139822011-09-08 Andreas Schwab <schwab@redhat.com>
13983
7f513ec8 13984 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13985
48882a1a
LD
139862011-09-07 Ulrich Drepper <drepper@gmail.com>
13987
b49865be
UD
13988 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13989
fdc86bc9
UD
13990 * elf/dl-libc.c (dlerror_run): Pass back error code from
13991 dl_catch_error.
13992
c966526a
UD
13993 [BZ #13123]
13994 * elf/dl-load.c (lose): Free l_origin if it is valid.
13995
48882a1a
LD
13996 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13997 names.
13998 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13999 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14000 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14001 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14002 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14003 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14004
77a2a8b4
AZ
140052011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14006
14007 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14008 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14009 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14010 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14011 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14012 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14013 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14014 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14015 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14016 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14017
24f579d8
AM
140182011-08-15 Alan Modra <amodra@gmail.com>
14019
14020 [BZ #13092]
14021 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14022 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14023 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14024 ppc_mcount to static-only-routines.
14025 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14026 __mcount_internal.
14027 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14028 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14029
3d4837df
UD
140302011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14031
14032 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14033 for finite and infinity parameters.
14034
22700377
WS
140352011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14036
14037 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14038 and add nop instructions for throughput optimization.
14039 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14040
5025581e
WS
140412011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14042
14043 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14044 aligned copy for power7 with vector-scalar instructions.
14045 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14046
08a300c9
L
140472011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14048
14049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14050 AVX check.
14051
59178ef9
AS
140522011-09-07 Andreas Schwab <schwab@redhat.com>
14053
14054 [BZ #13144]
14055 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14056 last change.
14057
e38ba7ab
UD
140582011-09-07 Ulrich Drepper <drepper@gmail.com>
14059
14060 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14061 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14062 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14063 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14064 clock_gettime.
14065
d53a73ac
UD
140662011-09-06 Ulrich Drepper <drepper@gmail.com>
14067
fc8bffcc
UD
14068 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14069 Forgot to demangle the pointer.
14070
ceaa0c5d
UD
14071 * sysdeps/i386/sysdep.h: Define atom_text_section.
14072 * sysdeps/x86_64/sysdep.h: Likewise.
14073 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14074 section with atom_text_section.
14075 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14076 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14077 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14078 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14079 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14080
a77d3c17
UD
14081 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14082 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14083 already be defined. Change to take two parameters and don't assign
14084 result to variable. Adjust all users.
14085 Define INTERNAL_GETTIME if not already defined.
14086 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14087 call.
14088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14089 HAVE_CLOCK_GETTIME_VSYSCALL.
14090 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14091
d53a73ac
UD
14092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14093 gettimeofday vsyscall, just use time.
14094
a8f84144
AS
140952011-09-06 Andreas Schwab <schwab@redhat.com>
14096
14097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14098 <errno.h>.
14099
ef606249
UD
141002011-09-06 Ulrich Drepper <drepper@gmail.com>
14101
14102 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14103 syscall on x86-64.
14104 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14105 syscall.
14106 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14107 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14108 syscall if possible.
14109
6585cb60
UD
141102011-09-05 Ulrich Drepper <drepper@gmail.com>
14111
14112 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14113 e_ident. Don't pass to find_mapsXX.
14114 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14115
a5f524e4
LD
141162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14117
14118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14119 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14120 * sysdeps/x86_64/multiarch/strchr.S: Update.
14121 Check bit_slow_BSF bit.
14122 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14123 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14124 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14125
554881ef
UD
141262011-09-05 Ulrich Drepper <drepper@gmail.com>
14127
d96de963
UD
14128 [BZ #13134]
14129 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14130 before glibc 2.15.
14131 (tryshell): Define.
14132 (__spawni): Change last parameter to be flag. Test
14133 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14134 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14135 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14136 * posix/spawni.c: Likewise.
14137 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14138 * posix/spawnp.c: Likewise. Change normal version to use
14139 SPAWN_XFLAGS_USE_PATH.
14140 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14141 SPAWN_XFLAGS_TRY_SHELL.
14142
d48e5868
UD
14143 [BZ #13150]
14144 * posix/glob.h: Remove gcc 1.x support.
14145
554881ef
UD
14146 [BZ #13068]
14147 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14148
693fb948
LD
141492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14150
14151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14152 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14153 strrchr-sse2-bsf
14154 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14155 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14156 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14157 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14158 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14159 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14160
1b48c537
UD
141612011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14162
49d42c37
UD
14163 * sysdeps/x86_64/wcscmp.S: New file.
14164
1b48c537
UD
14165 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14166 wcscmp-c wcscmp-sse2
14167 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14168 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14169 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14170 * wcsmbs/wcscmp.c: Allow renaming.
14171
15c95c5d
DM
141722011-09-05 David S. Miller <davem@davemloft.net>
14173
14174 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14175 stack slot, rather than the struct return pointer slot.
14176 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14177 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14179 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14180
2f0ad8f3
UD
141812011-09-05 Ulrich Drepper <drepper@gmail.com>
14182
d88ae418
UD
14183 * po/ja.po: Update from translation team.
14184
2f0ad8f3
UD
14185 [BZ #13144]
14186 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14187 kernel in 64-bit binaries.
14188
5f4318d1
DM
141892011-09-01 David S. Miller <davem@davemloft.net>
14190
14191 * elf/elf.h (HWCAP_SPARC_*): Move to..
14192 * sysdeps/sparc/sysdep.h: this new file and add new values.
14193 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14194 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14195 _DL_HWCAP_COUNT to 24.
14196 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14197 entries.
14198 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14199 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14200 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14202 instead of magic constants.
14203 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14204
3ba57516
DM
142052011-08-31 David S. Miller <davem@davemloft.net>
14206
14207 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14209 Reimplement to do errno handling inline.
14210 (SYSCALL_ERROR_HANDLER): New macro.
14211 (__SYSCALL_STRING): Do not do errno handling in asm.
14212 (__CLONE_SYSCALL_STRING): Delete.
14213 (__INTERNAL_SYSCALL_STRING): Delete.
14214 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14215 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14216 (PSEUDO): Reimplement to do errno handling inline.
14217 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14218 (SYSCALL_ERROR_HANDLER): New macro.
14219 (__SYSCALL_STRING): Do not do errno handling in asm.
14220 (__CLONE_SYSCALL_STRING): Delete.
14221 (__INTERNAL_SYSCALL_STRING): Delete.
14222 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14223 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14224 i386.
14225 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14226 (inline_syscall*): Add 'err' argument.
14227 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14228 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14229 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14230 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14231
14232 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14233 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14234
2bc17433
AS
142352011-08-30 Andreas Schwab <schwab@redhat.com>
14236
14237 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14238
fbeb5f4d
JO
142392011-08-29 Jiri Olsa <jolsa@redhat.com>
14240
14241 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14242 directive.
14243
ad69cc26
DM
142442011-08-24 David S. Miller <davem@davemloft.net>
14245
14246 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14247
39dd69df
AS
142482011-08-24 Andreas Schwab <schwab@redhat.com>
14249
14250 * elf/Makefile: Add rules to build and run unload8 test.
14251 * elf/unload8.c: New file.
14252 * elf/unload8mod1.c: New file.
14253 * elf/unload8mod1x.c: New file.
14254 * elf/unload8mod2.c: New file.
14255 * elf/unload8mod3.c: New file.
14256
14257 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14258 it wasn't used.
14259
2c0b250a
DM
142602011-08-23 David S. Miller <davem@davemloft.net>
14261
14262 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14263 subtract stack bias.
14264 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14265 %sp not %fp in calculations.
14266 (_JMPBUF_UNWINDS_ADJ): Likewise.
14267
22044b48
DM
14268 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14269 (aio_suspend): Call it to force an exception region around the
14270 AIO_MISC_WAIT() invocation.
14271
2cae4995
AS
142722011-08-23 Andreas Schwab <schwab@redhat.com>
14273
14274 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14275 backslash.
14276
873a772e
AJ
142772011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14278
14279 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14280 protection macro.
14281 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14282 and <dl-machine.h>.
14283 (Elf64_FuncDesc): Remove.
14284
25ad0df1
DM
142852011-08-22 David S. Miller <davem@davemloft.net>
14286
14287 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14288 sigaltstack check, add missing cfi directives.
14289 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14290 missing cfi directives, and sigaltstack handling.
14291
e888bcbe
AS
142922011-08-16 Andreas Schwab <schwab@redhat.com>
14293
14294 [BZ #11724]
14295 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14296 object is seen twice.
14297 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14298
14299 * elf/Makefile (distribute): Add tst-initorder2.c.
14300 (tests): Add tst-initorder2.
14301 (modules-names): Add tst-initorder2a tst-initorder2b
14302 tst-initorder2c tst-initorder2d. Add rules to build them.
14303 ($(objpfx)tst-initorder2.out): New rule.
14304 * elf/tst-initorder2.c: New file.
14305 * elf/tst-initorder2.exp: New file.
14306
87162f46
AS
143072011-08-22 Andreas Schwab <schwab@redhat.com>
14308
70538b7f
AS
14309 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14310
f55ffe58
AS
14311 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14312 dependencies back to end of function.
14313
87162f46
AS
14314 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14315 $(elfobjdir)/ld.so.
14316
91b392a4
UD
143172011-08-21 Ulrich Drepper <drepper@gmail.com>
14318
14319 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14320 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14322 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14323 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14324 of __vdso_gettimeofday.
14325 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14326 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14327 attribute_hidden.
14328 (_libc_vdso_platform_setup): Remove initialization of
14329 __vdso_gettimeofday and __vdso_time.
14330
5c43483f
UD
143312011-08-20 Ulrich Drepper <drepper@gmail.com>
14332
775a77e7
UD
14333 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14334 and fgetc_unlocked.
14335 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14336 getc_unlocked.
89f447ed 14337
49c74ba9
UD
14338 * elf/dl-open.c (add_to_global): Report additions to the global scope
14339 for LD_DEBUG=scopes.
14340 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14341 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14342
5c43483f
UD
14343 [BZ #13114]
14344 * stdio-common/Makefile (tests): Add bug24.
14345 * stdio-common/bug24.c: New file.
14346
a101b025
AJ
143472011-08-19 Andreas Jaeger <aj@suse.de>
14348
14349 [BZ #13114]
14350 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14351 non-existant file when using close-on-exec mode.
14352
c88f1766
UD
143532011-08-20 Ulrich Drepper <drepper@gmail.com>
14354
0276a718
UD
14355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14356 the very first instruction.
14357
c88f1766
UD
14358 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14359 the CFI state in the end.
14360 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14361 inclusion of dl-trampoline.h.
14362 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14363
51ccffa0
AS
143642011-08-19 Andreas Schwab <schwab@redhat.com>
14365
94d7165f
AS
14366 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14367 expectations for long double.
14368
51ccffa0
AS
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14370 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14371
fd708658 143722011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14373
14374 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14375 artificual limit depends upon the system page size.
14376
44f0a71e
UD
143772011-08-17 Ulrich Drepper <drepper@gmail.com>
14378
14379 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14380 * resolv/Makefile: Define CFLAGS-libresolv.
14381
8de79a24
AS
143822011-08-17 Andreas Schwab <schwab@redhat.com>
14383
14384 * nss/makedb.c (compute_tables): Make variables used in nested
14385 function static.
14386
27724598
UD
143872011-08-17 Ulrich Drepper <drepper@gmail.com>
14388
c5305d88
UD
14389 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14390 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14391 if buffer was too small.
14392
27724598
UD
14393 * elf/pldd.c (main): Attach to all threads in the process.
14394 Rewrite /proc handling to use *at functions.
14395
076fe015
UD
143962011-08-16 Ulrich Drepper <drepper@gmail.com>
14397
174baab3
UD
14398 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14399 specifies first scope to show.
14400 (dl_open_worker): Update callers. Move printing scope of new
14401 object to before the relocation.
44f0a71e 14402 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14403 * sysdeps/generic/ldsodefs.h: Update declaration.
14404
076fe015
UD
14405 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14406 string for the scope number.
14407
a60df2c3
UD
144082011-08-14 Ulrich Drepper <drepper@gmail.com>
14409
14410 * nscd/servicescache.c (cache_addserv): Make sure written is always
14411 initialized.
14412
5e4287d1
RM
144132011-08-14 Roland McGrath <roland@hack.frob.com>
14414
85ae0589
RM
14415 * sysdeps/i386/i486/bits/atomic.h
14416 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14417 statement expression, so as to suppress "set but not used" warning.
14418 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14419
69f63097
RM
14420 * string/strncat.c (STRNCAT): Use prototype definition.
14421
675456ef
RM
14422 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14423 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14424 -Iprograms here.
14425 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14426 (localedef-modules): Add localedef.
14427 (locale-modules): Add locale.
14428
5e4287d1
RM
14429 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14430 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14431 to avoid a warning.
14432
9c96ff23
DM
144332011-08-14 David S. Miller <davem@davemloft.net>
14434
14435 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14436 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14437
f9ddf089
UD
144382011-08-13 Ulrich Drepper <drepper@gmail.com>
14439
44f0a71e 14440 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14441 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14442 * elf/rtld.c (dl_main): Set l_name of vDSO.
14443 Call _dl_show_scope when DL_DEBUG_SCOPES.
14444 (process_dl_debug): Recognize scopes flag and also set it for all.
14445 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14446 Declare _dl_show_scope.
14447
1dc27704
UD
14448 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14449 (do_dlopen): Pass caller_dlopen to dl_open.
14450 (__libc_dlopen_mode): Initialize caller_dlopen.
14451
f9ddf089
UD
14452 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14453 of libc. Make tolower call locale-independent. Optimize a bit by
14454 using isdigit instead of isalnum.
14455 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14456
9ac533d3
UD
144572011-08-12 Ulrich Drepper <drepper@gmail.com>
14458
14459 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14460 was a dependency or dynamically loaded.
14461
89edf2e9
UD
144622011-08-11 Ulrich Drepper <drepper@gmail.com>
14463
8e999d29
UD
14464 * intl/l10nflist.c: Allow architecture-specific pop function.
14465 * sysdeps/x86_64/l10nflist.c: New file.
14466
89edf2e9
UD
14467 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14468 classification.
14469
14d96785
AS
144702011-08-10 Andreas Schwab <schwab@redhat.com>
14471
14472 * include/dirent.h: Add libc_hidden_proto for scandirat and
14473 scandirat64. Don't declare __scandirat64.
14474 * dirent/scandirat.c: Add libc_hidden_def.
14475 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14476 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14477
6761ac04
DM
144782011-08-10 David S. Miller <davem@davemloft.net>
14479
14480 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14481 enum.
14482 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14484 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14485
c55fbd1e
UD
144862011-08-09 Ulrich Drepper <drepper@gmail.com>
14487
14488 * Versions.def [libc]: Add GLIBC_2.15.
14489 * dirent/Makefile (routines): Add scandirat and scandirat64.
14490 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14491 GLIBC_2.15.
14492 * dirent/dirent.h: Declare scandirat and scandirat64.
14493 * dirent/scandirat.c: New file.
14494 * dirent/scandirat64.c: New file.
14495 * sysdeps/wordsize-64/scandirat.c: New file.
14496 * sysdeps/wordsize-64/scandirat64.c: New file.
14497 * dirent/opendir.c: Define opendirat.
14498 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14499 using scandirat.
14500 * dirent/scandir64.c: Adjust for scandir.c change.
14501 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14502 __scandirat64, and __scandir_cancel_handler.
14503 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14504 additional parameter and use openat instead of open (outside of ld.so).
14505 Add new __opendir as wrapper around __opendirat.
14506 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14507 here without requiring old scandirat implementation.
14508
879165f2
UD
145092011-08-08 Ulrich Drepper <drepper@gmail.com>
14510
14511 * dirent/scandir.c (cancel_handler): Renamed to
14512 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14513 defined. Adjust users.
14514 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14515 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14516
cb7e923b
UD
145172011-08-04 Ulrich Drepper <drepper@gmail.com>
14518
16292edd
UD
14519 * string/test-string.h (IMPL): Use __STRING to expand name and then
14520 stringify it.
14521
cb7e923b
UD
14522 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14523 of cleanups.
14524
cff82933
LD
145252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14526
14527 * string/Makefile: Update.
14528 (strop-tests): Append strncat.
14529 * string/test-wcscmp.c: New file.
14530 New comprehensive test for wcscmp.
14531 * string/test-strcmp.c: Update.
14532 (WIDE): New define.
14533
9be9bfcc
AS
145342011-07-22 Andreas Schwab <schwab@redhat.com>
14535
14536 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14537 line.
14538
2e96f1c7
AS
145392011-07-26 Andreas Schwab <schwab@redhat.com>
14540
14541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14542 encoding to ACE if AI_IDN.
14543
85188888
JJ
145442011-08-01 Jakub Jelinek <jakub@redhat.com>
14545
14546 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14547 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14548
5fa16e9b
LD
145492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14550
14551 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14552 Fix overflow bug in strncat.
14553 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14554
14555 * string/test-strncat.c: Update.
14556 Add new tests for checking overflow bugs.
14557
145582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14559
14560 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14561 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14562 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14563 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14564 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14565 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14566 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14567 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14568 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14569
14570 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14571 (USE_AS_STRCAT): Define.
14572 Add strcat and strncat support.
14573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14574
8c1a459f
AS
145752011-07-25 Andreas Schwab <schwab@redhat.com>
14576
14577 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14578 __n bigger than INT_MAX+1.
14579 (__strncmp_g): Likewise.
14580
bba33c28
UD
145812011-07-23 Ulrich Drepper <drepper@gmail.com>
14582
798be72d
UD
14583 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14584 * libio/stido.h: Likewise.
14585
8accd4dc
UD
14586 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14587 (AF_NFC): Define.
14588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14589 (AF_NFC): Define.
14590
cbff0d96
UD
14591 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14592 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14593 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14594 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14595 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14596
9191c04a
UD
14597 [BZ #13021]
14598 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14599 installed.
14600
bba33c28
UD
14601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14602 typo.
14603 (_dl_x86_64_save_sse): Likewise.
14604
90f139dd
UD
146052011-07-22 Ulrich Drepper <drepper@gmail.com>
14606
1aae088a
UD
14607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14608 OSXSAVE.
14609 (_dl_x86_64_save_sse): Likewise.
14610
8e2045f5
UD
14611 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14612
90f139dd
UD
14613 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14614
1d002f25
AS
146152011-07-21 Andreas Schwab <schwab@redhat.com>
14616
14617 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14618 change.
14619 (_dl_x86_64_save_sse): Use correct AVX check.
14620
21137f89
UD
146212011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14622
14623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14624 bug in strncpy/strncat.
14625 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14626
a65c0b7a
UD
146272011-07-21 Ulrich Drepper <drepper@gmail.com>
14628
14629 * string/tester.c (test_strcat): Add tests for different alignments
14630 of source and destination.
14631 (test_strncat): Likewise.
14632
6986b98a
UD
146332011-07-20 Ulrich Drepper <drepper@gmail.com>
14634
90bb2039
UD
14635 [BZ #12852]
14636 * posix/glob.c (glob): Check passed in values before using them in
14637 expressions to avoid some overflows.
14638 (glob_in_dir): Likewise.
14639
5644ef54
UD
14640 [BZ #13007]
14641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14642 check for AVX enablement so that we don't crash with old kernels and
14643 new hardware.
14644 * elf/tst-audit4.c: Add same checks here.
14645 * elf/tst-audit6.c: Likewise.
14646
14647 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14648
bfc9dc9b
AS
146492011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14650
14651 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14652
702e64bb
UD
146532011-07-20 Ulrich Drepper <drepper@gmail.com>
14654
14655 * po/cs.po: Update from translation team.
14656 * po/bg.po: Likewise.
14657
295e904f
MP
146582011-07-12 Marek Polacek <mpolacek@redhat.com>
14659
14660 * misc/sys/cdefs.h: Add support for const attribute.
14661 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14662 to gnu_dev_{major,minor,makedev} functions.
14663
3ff94596
MP
146642011-07-20 Marek Polacek <mpolacek@redhat.com>
14665
14666 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14667
28b59fca
AS
146682011-07-20 Andreas Schwab <schwab@redhat.com>
14669
14670 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14671 strlen results.
14672
19df733e
AK
146732011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14674
14675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14676 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14677 register in order to avoid conflicts with the soft frame pointer
14678 being held in r11 when necessary.
14679 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14680 (INTERNAL_VSYSCALL_NCS): Likewise.
14681
c8835729
MP
146822011-07-14 Marek Polacek <mpolacek@redhat.com>
14683
14684 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14685 * elf/dl-fini.c (_dl_fini): Adjust caller.
14686 * elf/dl-close.c (_dl_close_worker): Likewise.
14687 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14688
b902330c
MP
146892011-07-15 Marek Polacek <mpolacek@redhat.com>
14690
8991e135
MP
14691 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14692 "aux_cache->nlibs < 0".
14693
b902330c
MP
14694 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14695 in the reload-count case.
14696
99710781
LD
146972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14698
14699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14700 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14701 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14702 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14703 * sysdeps/x86_64/multiarch/strcat.S: New file.
14704 * sysdeps/x86_64/multiarch/strncat.S: New file.
14705 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14706 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14707 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14708 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14709 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14710 (USE_AS_STRCAT): Define.
14711 Add strcat and strncat support.
14712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14714 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14715 * string/strncat.c: Update.
14716 (USE_AS_STRNCAT): Define.
14717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14718 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14719 and i7.
14720 * sysdeps/x86_64/multiarch/init-arch.h
14721 (bit_Prefer_PMINUB_for_stringop): New.
14722 (index_Prefer_PMINUB_for_stringop): Likewise.
14723 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14724 bit_Prefer_PMINUB_for_stringop.
14725
7dc6bd90
UD
147262011-07-19 Ulrich Drepper <drepper@gmail.com>
14727
14728 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14729 buffer64.
14730 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14731 of casting of buffer.
14732 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14733 buffer32 and buffer64.
14734 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14735 writes instead of casting of buffer.
14736 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14737 buffer32.
14738 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14739 casting of buffer.
14740
e0e72284
AS
147412011-07-19 Andreas Schwab <schwab@redhat.com>
14742
14743 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14744
feb1eb0b
UD
147452011-07-19 Ulrich Drepper <drepper@gmail.com>
14746
14747 * nscd/nscd.c (termination_handler): Don't do anything for a database
14748 if it has not yet been initialized.
14749
298711ff
UD
147502011-07-18 Ulrich Drepper <drepper@gmail.com>
14751
14752 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14753
147542011-07-15 Marek Polacek <mpolacek@redhat.com>
14755
14756 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14757
f9d68389
UD
147582011-07-18 Ulrich Drepper <drepper@gmail.com>
14759
14760 * po/nl.po: Update from translation team.
14761 * po/sv.po: Likewise.
14762
db290cf5
RM
147632011-07-16 Roland McGrath <roland@hack.frob.com>
14764
14765 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14766 now disallowed by GCC.
5c550700 14767
fd5e21c7
RM
14768 * configure.in (use-default-link): Default to yes if a test -shared
14769 link meets our qualifications.
14770 * configure: Regenerated.
14771
5c550700
RM
14772 * config.make.in (output-format): New variable.
14773 * configure.in: Check for ld --print-output-format support.
14774 * configure: Regenerated.
14775 * Makerules ($(common-objpfx)format.lds)
14776 [$(output-format) != unknown]: Just use $(output-format),
14777 instead of the linker-script munging.
14778
9fa2c032
RM
147792011-07-14 Roland McGrath <roland@hack.frob.com>
14780
a6928d51
RM
14781 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14782 of $(common-objpfx)shlib.lds.
14783 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14784
661607b3
RM
14785 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14786 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14787
9fa2c032
RM
14788 * configure.in (-z relro check): Adjust test code to add a large
14789 writable data section after it.
14790 * configure: Regenerated.
14791
defe9061
RM
147922011-07-11 Roland McGrath <roland@hack.frob.com>
14793
14794 * configure.in (-z relro check): Fix test code to make the variable
14795 truly const.
14796 * configure: Regenerated.
14797
319b9ad4
UD
147982011-07-11 Ulrich Drepper <drepper@gmail.com>
14799
14800 * nscd/nscd.h (struct traced_file): Define.
14801 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14802 elements. Add traced_files.
14803 (inotify_fd): Declare.
14804 (register_traced_file): Declare.
14805 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14806 (inotify_fd): Export.
14807 (resolv_conf_descr): Remove.
14808 (nscd_init): Move inotify descriptor creation to main.
14809 Don't register files for notification here.
14810 (register_traced_file): New function.
14811 (invalidate_cache): Don't use reset_res to determine whether to call
14812 res_init, go through the list of registered files.
14813 (main_loop_poll): The inotify descriptors are now stored in the
14814 structures for the traced files.
14815 (main_loop_epoll): Likewise
14816 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14817 to __nss_disable_nscd.
14818 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14819 for a database anymore. Check the records for all the registered
14820 files instead.
14821 * nss/Makefile (libnss_files-routines): Add files-init.
14822 (libnss_db-routines): Add db-init.
14823 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14824 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14825 * nss/nss_db/db-init.c: New file.
14826 * nss/nss_files/files-init.c: New file.
14827 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14828 __nss_lookup_function.
14829 (__nss_lookup_function): Call nss_load_library.
14830 (nss_load_all_libraries): New function.
14831 (__nss_disable_nscd): Take parameter with callback function for files
14832 to register. Set is_nscd. Load all the DSOs for the NSS modules
14833 used for the cached services.
14834 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14835 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14836 options for features to all the files in nscd.
14837
14838 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14839
23bee3e8
RM
148402011-07-10 Roland McGrath <roland@hack.frob.com>
14841
14842 * csu/elf-init.c (__libc_csu_init): Comment typo.
14843
46a5b7f0
UD
148442011-07-09 Ulrich Drepper <drepper@gmail.com>
14845
14846 * po/pl.po: Update from translation team.
14847 * po/ja.po: Likewise.
14848 * po/ru.po: Likewise.
14849 * po/ko.po: Likewise.
14850 * po/fr.po: Likewise.
14851
d30cf5bb
RM
148522011-07-09 Roland McGrath <roland@hack.frob.com>
14853
113ddea4
RM
14854 * configure.in (.ctors/.dtors header and trailer check):
14855 Use an empirical test on a built program.
14856 * configure: Regenerated.
14857
574920b4
RM
14858 * configure.in (-z relro check): Use an empirical test on a built DSO.
14859 Detect, but do not require, on ia64.
14860 * configure: Regenerated.
14861
d30cf5bb
RM
14862 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14863 Update tests that use readelf to use $READELF instead.
14864 * configure: Regenerated.
14865
8538fdb3
UD
148662011-07-08 Ulrich Drepper <drepper@gmail.com>
14867
14868 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14869 if the result is not used.
14870
04d08991
AJ
148712011-07-05 Andreas Jaeger <aj@suse.de>
14872
14873 [BZ#9696]
14874 * stdlib/tst-strtod.c: Add testcase.
14875
de283087
AD
148762011-07-07 Ulrich Drepper <drepper@gmail.com>
14877
4e5f31c8 14878 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14879 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14880 The latter has a higher limit. Take additional parameter to pass to
14881 the new function.
14882 (__pathconf): Pass file to __statfs_link_max.
14883 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14884 __statfs_link_max.
14885 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14886 __statfs_link_max.
14887
de283087
AD
14888 [BZ #12868]
14889 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14890 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14891 Handle Lustre.
14892 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14893 (__statfs_filesize_max): Likewise.
14894 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14895
c75fa153
AJ
148962011-07-05 Andreas Jaeger <aj@suse.de>
14897
14898 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14899
1a544854
UD
149002011-07-06 Marek Polacek <mpolacek@redhat.com>
14901
14902 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14903 `status' variable.
14904 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14905 Likewise.
14906
6f0eec67
UD
149072011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14908
14909 * Makefile (strop-tests): Add strncat.
14910 * string/test-strncat.c: New file.
14911
aae30307
UD
149122011-06-30 Marek Polacek <mpolacek@redhat.com>
14913
14914 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14915
c0cfb5eb
UD
149162011-06-21 Andreas Jaeger <aj@suse.de>
14917
14918 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14919 Copy rule from iconvdata/Makefile.
14920
01636b21
UD
149212011-07-06 Ulrich Drepper <drepper@gmail.com>
14922
14923 [BZ #12922]
14924 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14925 but no long options are defined, just return 'W'.
14926
9895c8bc
UD
149272011-06-22 Marek Polacek <mpolacek@redhat.com>
14928
14929 [BZ #9696]
14930 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14931
5d4cf042
UD
149322011-07-06 Ulrich Drepper <drepper@gmail.com>
14933
14934 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14935 netgroups to read.
960e5535 14936 (innetgr): Likewise.
5d4cf042 14937
751eb97e
RM
149382011-07-05 Roland McGrath <roland@hack.frob.com>
14939
14940 * config.make.in (install_root): Default to $(DESTDIR).
14941
f15f1e45
UD
149422011-07-05 Ulrich Drepper <drepper@gmail.com>
14943
14944 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14945
4e34ac6a
RM
149462011-07-02 Roland McGrath <roland@hack.frob.com>
14947
5e9b6af4
RM
14948 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14949
84f9ea0f
RM
14950 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14951 containing directory rather than embedding absolute directory names.
14952
ea5ee9f7
RM
14953 * scripts/check-local-headers.sh: Rewritten using awk.
14954 Match by word, not by line. Print error messages for matches.
14955 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14956
1b74661a
RM
14957 * Makerules [shlib-lds-flags empty]:
14958 ($(common-objpfx)libc_pic.opts): New target.
14959 ($(common-objpfx)libc_pic.os.clean): New target.
14960 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14961
14962 * config.make.in (OBJCOPY): New variable.
14963 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14964 * configure: Regenerated.
14965
f781ef40
RM
14966 * config.make.in (use-default-link): New variable.
14967 * configure.in (use_default_link): Grok --with-default-link to set it.
14968 * configure: Regenerated.
14969 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14970 (shlib-lds, shlib-lds-flags): Define to empty.
14971
2d4fa81e
RM
14972 * Makerules (shlib-lds): New variable.
14973 (shlib-lds-flags): New variable.
14974 (build-shlib, build-moduile, build-module-asneeded): Use it.
14975 ($(common-objpfx)libc.so): Use $(shlib-lds).
14976 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14977 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14978
31fffa6b
RM
14979 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14980 DT_FLAGS/DT_FLAGS_1 with zero flags.
14981
4e34ac6a
RM
14982 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14983 linker script munging.
14984
fcfc776b
UD
149852011-07-02 Ulrich Drepper <drepper@gmail.com>
14986
14987 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14988 as 128-bit value.
14989 * crypt/sha512.c (sha512_process_block): Perform total addition using
14990 128-bit if possible.
14991 (__sha512_finish_ctx): Likewise.
14992 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14993 as 64-bit value.
14994 * crypt/sha256.c (SWAP64): Define.
14995 (sha256_process_block): Perform total addition using 64-bit if
14996 possible.
14997 (__sha256_finish_ctx): Likewise.
14998
99231d9a
UD
149992011-07-01 Ulrich Drepper <drepper@gmail.com>
15000
15001 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15002 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15003 * nscd/hstcache.c (cache_addhst): Likewise.
15004 * nscd/grpcache.c (cache_addgr): Likewise.
15005 * nscd/aicache.c (addhstaiX): Likewise
15006 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15007
445b4a53
TK
150082011-07-01 Thorsten Kukuk <kukuk@suse.de>
15009
15010 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15011 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15012 * nscd/hstcache.c (cache_addhst): Likewise.
15013 * nscd/grpcache.c (cache_addgr): Likewise.
15014 * nscd/aicache.c (addhstaiX): Likewise
15015
6d4d8e8e
AS
150162011-07-01 Andreas Schwab <schwab@redhat.com>
15017
15018 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15019 domain only when needed.
15020
89f654c5
AS
150212011-06-30 Andreas Schwab <schwab@redhat.com>
15022
15023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15024 is always restored.
15025
cf3b23ff
UD
150262011-06-29 Ulrich Drepper <drepper@gmail.com>
15027
15028 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15029 are re-adding the entry.
15030 * nscd/servicescache.c (cache_addserv): Likewise.
15031
751626f9
AJ
150322011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15033
15034 * sysdeps/generic/dl-irel.h: fix protection against multiple
15035 inclusions.
15036 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15037
9113ea1f
UD
150382011-06-28 Ulrich Drepper <drepper@gmail.com>
15039
5c0b8d90
UD
15040 [BZ #12935]
15041 * malloc/memusage.sh: Fix quoting in message.
15042 * debug/xtrace.sh: Likewise.
15043
9113ea1f
UD
15044 * configure.in: Remove support for --experimental-malloc option, make
15045 it the default.
15046 * config.make.in: Likewise.
15047 * malloc/Makefile: Likewise.
15048
a4172181
AS
150492011-06-27 Andreas Schwab <schwab@redhat.com>
15050
15051 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15052 two-byte characters.
15053
78a7eee7
RM
150542011-06-27 Roland McGrath <roland@hack.frob.com>
15055
62bede13
RM
15056 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15057 AC_CACHE_CHECK invocation.
15058 * configure: Regenerated.
15059
78a7eee7
RM
15060 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15061
5ce33a62
UD
150622011-06-27 Ulrich Drepper <drepper@gmail.com>
15063
034807a9
UD
15064 [BZ #12350]
15065 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15066 bit from old_res_options.
15067
4902da17
UD
15068 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15069
5ce33a62
UD
15070 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15071 value type for setfct.
15072
c2344f56
L
150732011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15074
15075 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15076 __gettimeofday instead of gettimeofday.
15077
68468076
UD
150782011-06-26 Ulrich Drepper <drepper@gmail.com>
15079
15080 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15081
acb0d739
L
150822011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15083
15084 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15085
15086 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15087 info.
15088
8912479f
L
150892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15090
15091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15092 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15093 strcpy-sse2-unaligned strncpy-sse2-unaligned
15094 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15095 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15096 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15097 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15098 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15099 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15101 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15102 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15103 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15104 (STRCPY): Support SSE2 and SSSE3 versions.
15105
d5495a11
UD
151062011-06-24 Ulrich Drepper <drepper@gmail.com>
15107
15108 [BZ #12874]
15109 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15110 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15111 kernels which artificially limit size of requests.
15112
0b1cbaae
L
151132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15114
15115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15116 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15117 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15118 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15119 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15120 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15121 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15122 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15123 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15124 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15125 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15126 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15127 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15128 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15129 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15131 Enable unaligned load optimization for Intel Core i3, i5 and i7
15132 processors.
15133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15134 Define.
15135 (index_Fast_Unaligned_Load): Define.
15136 (HAS_FAST_UNALIGNED_LOAD): Define.
15137
07f494a0
MP
151382011-06-23 Marek Polacek <mpolacek@redhat.com>
15139
15140 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15141
fa3fc0fe
UD
151422011-06-22 Ulrich Drepper <drepper@gmail.com>
15143
15144 [BZ #12907]
15145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15146 until it is clear that the information is realy needed.
15147 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15148
e12df166
AS
151492011-06-22 Andreas Schwab <schwab@redhat.com>
15150
15151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15152
852eb34d
UD
151532011-06-22 Ulrich Drepper <drepper@gmail.com>
15154
84e2a551
UD
15155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15156 /sys/devices/system/cpu/online if it is usable.
15157
852eb34d
UD
15158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15159 reading the information from the /proc filesystem to once a second.
15160
6e502e19
UD
151612011-06-21 Andreas Jaeger <aj@suse.de>
15162
15163 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15164 NULL after inclusion of kernel headers.
15165
75d39ff2
UD
151662011-06-21 Ulrich Drepper <drepper@gmail.com>
15167
51f9aa6a
UD
15168 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15169 calls to internal_setent.
15170
c0244a9d
UD
15171 [BZ #12885]
15172 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15173 addresses using gethostbyname4_r ignore IPv4 addresses.
15174
c5e3c2ae
UD
15175 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15176 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15177
75d39ff2
UD
15178 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15179
42675c6f
DM
151802011-06-20 David S. Miller <davem@davemloft.net>
15181
15182 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15183 inclusions.
15184 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15185
15186 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15187 (elf_irel): Use it.
15188 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15189 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15190 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15191 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15192 * sysdeps/x86_64/dl-irel.h: Likewise.
15193
15194 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15195 * elf/dl-sym.c: Likewise.
15196
57912a71
UD
151972011-06-15 Ulrich Drepper <drepper@gmail.com>
15198
15199 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15200 need to dereference resplen2.
15201
ee22793d
AS
152022011-06-14 Andreas Schwab <schwab@redhat.com>
15203
15204 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15205
a9e836b0
UD
152062011-06-15 Ulrich Drepper <drepper@gmail.com>
15207
77fb9117
UD
15208 * Makeconfig: Define vardbdir and inst_vardbdir.
15209 * nss/Makefile: Add rules to install db-Makefile.
15210
40c1b22c
UD
15211 * nss/nss_db/db-XXX.c: Cleanup.
15212
9f2da732
UD
15213 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15214 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15215 GLIBC_PRIVATE.
15216 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15217 * nss/makedb.c: Implement -g option to specify that value strings
15218 are generated and should not be added to table iterated over for
15219 get*ent calls.
15220 * nss/nss_db/db-initgroups.c: New file.
15221
82e9a1f7
UD
15222 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15223 interface.
15224
c41af17e
UD
15225 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15226 (internal_getgrouplist): Adjust to name change.
15227 Update use_initgroups_entry if this is not the first call.
15228 * nss/databases.def: Add initgroups entry.
15229
a9e836b0
UD
15230 * nss/makedb.c (compute_tables): Check result of multiple hash table
15231 sizes to minimize maximum chain length.
15232
2666d441
UD
152332011-06-14 Ulrich Drepper <drepper@gmail.com>
15234
15235 * Versions.def: Add entry for libnss_db.
15236 * shlib-versions: Likewise.
15237 * nss/Makefile: Add rules to build libnss_db.
15238 * nss/Versions: Add libnss_db information. Organize libnss_files
15239 entries better.
15240 * nss/db-Makefile: Add gshadow support. Change rules for the new
15241 makedb progra. Some minor improvements to generate smaller files.
15242 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15243 here from...
15244 * nss/makedb.c: ...here.
15245 Improve database format to be smaller and require less memory at
15246 runtime.
15247 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15248 db anymore.
15249 * nss/nss_db/db-netgrp.c: Likewise.
15250 * nss/nss_db/db-open.c: Likewise.
15251 * nss/nss_files/flies-XXX.x: Adjust comments.
15252 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15253 * nss/nss_files/files-grp.c: Likewise.
15254 * nss/nss_files/files-hosts.c: Likewise.
15255 * nss/nss_files/files-network.c: Likewise.
15256 * nss/nss_files/files-proto.c: Likewise.
15257 * nss/nss_files/files-pwd.c: Likewise.
15258 * nss/nss_files/files-rpc.c: Likewise.
15259 * nss/nss_files/files-service.c: Likewise.
15260 * nss/nss_files/files-sgrp.c: Likewise.
15261 * nss/nss_files/files-spwd.c: Likewise.
15262 * nss/nss_db/db-alias.c: Removed.
15263 * nss/nss_db/dummy-db.h: Removed.
15264
9ee76b5a
UD
152652011-06-02 Ulrich Drepper <drepper@gmail.com>
15266
15267 * nss/makedb.c: Rewritten to not use database library.
15268 * nss/Makefile: Update to build new makedb program.
15269
c71ca1f8
AJ
152702011-06-14 Andreas Jaeger <aj@suse.de>
15271
15272 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15273 memset declaration.
15274
3154bfb8
UD
152752011-06-10 Andreas Schwab <schwab@redhat.com>
15276
15277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15278 tmpbuf.
15279
b350afab
RM
152802011-06-10 Roland McGrath <roland@hack.frob.com>
15281
decd4e50
RM
15282 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15283 * elf/Makefile ($(objpfx)ld.so): Likewise.
15284
5615eaf2
RM
15285 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15286 Don't list ld.so twice in dependencies.
15287
15288 * posix/bug-regex31.c: Include <stdlib.h>.
15289
15290 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15291
15292 * nis/nss_compat/compat-spwd.c
15293 (getspent_next_nss_netgr): Remove unused variable.
15294 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15295
15296 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15297 nonmembers" output to use the right array.
15298
15299 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15300
15301 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15302
15303 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15304 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15305 * catgets/gencat.c (read_input_file): Likewise.
15306 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15307
15308 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15309 variable definition inside #if's controlling its use.
15310
15311 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15312
15313 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15314
15315 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15316
15317 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15318 unreachable code.
15319
15320 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15321
b68e08db
RM
15322 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15323 * configure: Regenerated.
15324
b350afab
RM
15325 * Makerules: Revert last change.
15326 * elf/Makefile: Likewise.
15327
28368601
RM
153282011-06-09 Roland McGrath <roland@hack.frob.com>
15329
15330 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15331 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15332 (reloc-link): Likewise.
15333
11988f8f
UD
153342011-06-09 Ulrich Drepper <drepper@gmail.com>
15335
15336 * elf/Makefile: Add rules to build pldd.
15337 * elf/pldd.c: New file.
15338 * elf/pldd-xx.c: New file.
15339
e80fab37
UD
153402011-06-07 Ulrich Drepper <drepper@gmail.com>
15341
15342 * version.h: Update for 2.15 development version.
15343
9b849836
DM
153442011-06-07 David S. Miller <davem@davemloft.net>
15345
15346 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15347 ifuncs.
15348 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15349 elf_machine_lazy_rel): Likewise.
15350 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15351 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15352 elf_machine_lazy_rel): Likewise.
15353 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15354 dl_hwcap via passed in argument.
15355 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15356 Likewise.
15357
5a31b283
AK
153582011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15359
15360 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15361
069e52f8
RM
153622011-06-06 Roland McGrath <roland@hack.frob.com>
15363
15364 [BZ #12849]
15365 * manual/fdl-1.1.texi: New file, verbatim from:
15366 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15367 * manual/lgpl-2.1.texi: New file, verbatim from:
15368 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15369 * manual/Makefile (licenses): New variable, list those new file names.
15370 (texis): Use it.
15371 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15372
15373 * manual/fdl.texi: File removed.
15374 * manual/lesser.texi: File removed.
15375 * manual/libc.texinfo (Copying, Documentation License):
15376 Use new @include file names, put @appendix directive before @include.
15377
f16846a5
JJ
153782011-06-04 Jakub Jelinek <jakub@redhat.com>
15379
15380 [BZ #12841]
15381 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15382 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15383 (mq_open): Add __NTH.
15384
3d29045b
L
153852011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15386
15387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15388 Assume Intel Core i3/i5/i7 processor if AVX is available.
15389
8c297311
UD
153902011-05-31 Ulrich Drepper <drepper@gmail.com>
15391
15392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15393 typo.
15394
c8fc0c91
UD
153952011-05-31 Andreas Schwab <schwab@redhat.com>
15396
15397 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15398 memory. Use alloca_account. Fix memory leak when retrying.
15399
5b27a807
UD
154002011-05-31 Ulrich Drepper <drepper@gmail.com>
15401
356f8bc6
UD
15402 * version.h (RELEASE): Bump for 2.14 release.
15403 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15404
5b27a807
UD
15405 * config.make.in (RANLIB): Remove entry.
15406
01f16ab0
UD
154072011-05-30 Ulrich Drepper <drepper@gmail.com>
15408
41fce8bd
UD
15409 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15410 (libc.pot): Work around missing support for .ksh extension in xgettext.
15411
4769ae77
UD
15412 [BZ #12684]
15413 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15414 if both request failed.
15415 (send_dg): In case of server errors clear resplen or *resplen2.
15416
6b1e7d19
UD
15417 [BZ #12454]
15418 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15419 when there are multiple maps.
15420 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15421 (_dl_fini): Remove test here.
15422
01f16ab0
UD
15423 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15424
b1ebd700
UD
154252011-05-29 Ulrich Drepper <drepper@gmail.com>
15426
7ae22829
UD
15427 [BZ #12350]
15428 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15429 bit from old_res_options.
15430 (gaih_inet): Likewise.
15431
553149f6 15432 [BZ #11099]
18a84741 15433 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15434 as signed.
15435
652ffab1
UD
15436 * resolv/res_init.c (res_setoptions): Make the code more compact.
15437
16985fd0
UD
15438 [BZ #11558]
15439 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15440 set RES_USEVC.
15441
0464f746
UD
15442 [BZ #11634]
15443 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15444
7d17596c
UD
15445 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15446
cf6bbbd7
UD
15447 [BZ #11781]
15448 * malloc/malloc.h: Declare malloc hook variables as volatile.
15449
13f1ab36
UD
15450 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15451 in last patch.
15452
b1ebd700
UD
15453 [BZ #11799]
15454 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15455 raise in the comment.
80e2212d
UD
15456 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15457 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15458 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15459
ce67228d
UD
154602011-05-28 Ulrich Drepper <drepper@gmail.com>
15461
8887a920
UD
15462 [BZ #12811]
15463 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15464 grow the buffers more if it already has to be sufficient.
15465 (build_wcs_upper_buffer): Likewise.
15466 * posix/regexec.c (check_matching): Likewise.
15467 (clean_state_log_if_needed): Likewise.
15468 (extend_buffers): Don't enlarge buffers beyond size of the input
15469 buffer.
15470 Patches mostly by Emil Wojak <emil@wojak.eu>.
15471 * posix/bug-regex32.c: New file.
15472 * posix/Makefile (tests): Add bug-regex32.
15473
4f031072
UD
15474 * locale/findlocale.c (_nl_find_locale): Return right away if
15475 _nl_explode_name failed.
15476 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15477
d0478f0c
UD
15478 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15479
de81b246
UD
15480 * debug/xtrace.sh: Unify messages.
15481 * malloc/memusage.sh: Likewise.
15482
c738465a
UD
15483 [BZ #12813]
15484 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15485 time symbol from vDSO. Substitute with vsyscall if not available.
15486 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15487 __vdso_time.
15488
f1f929d7
UD
15489 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15490 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15491 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15492 Add sendmmsg and internal_sendmmsg.
15493 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15494 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15495 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15496
ce67228d
UD
15497 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15498 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15499 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15500
e57420c6
UD
155012011-05-27 Ulrich Drepper <drepper@gmail.com>
15502
a8509ca5
UD
15503 [BZ #12813]
15504 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15505 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15506 available.
15507 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15508 __vdso_getcpu.
15509
e57420c6
UD
15510 [BZ #12814]
15511 * iconvdata/Makefile (tests): Add bug-iconv9.
15512 * iconvdata/bug-iconv9.c: New file.
15513
4d07db15
AS
155142011-05-27 Andreas Schwab <schwab@redhat.com>
15515
15516 [BZ #12814]
15517 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15518
ea486f69
JJ
155192011-05-25 Jakub Jelinek <jakub@redhat.com>
15520
15521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15522 (struct user_regs_struct): Change intcs field back to cs.
15523
6f038433
UD
155242011-05-25 Ulrich Drepper <drepper@gmail.com>
15525
15526 * po/ja.po: Update from translation team.
15527
67f86a25
UD
155282011-05-23 Ulrich Drepper <drepper@gmail.com>
15529
15530 [BZ #12795]
15531 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15532 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15533
def7fbd6
AS
155342011-05-20 Andreas Schwab <schwab@redhat.com>
15535
15536 * stdlib/longlong.h: Update from GCC.
15537
f50ef8f1
AS
155382011-05-23 Andreas Schwab <schwab@redhat.com>
15539
15540 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15541 parameter name.
15542 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15543 Add parameter name.
15544 (__sysconf): Pass it down.
15545
de7ce8f1
UD
155462011-05-22 Ulrich Drepper <drepper@gmail.com>
15547
f2962a71
UD
15548 [BZ #12671]
15549 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15550 some situations.
15551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15552 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15553 add in in __libc_use_alloca calls. Adjust callers.
15554 (glob): Use malloc in some situations.
15555
de7ce8f1
UD
15556 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15557 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15558 pltexit.
15559
aec84f53
UD
155602011-05-21 Ulrich Drepper <drepper@gmail.com>
15561
05bb4a68
UD
15562 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15563 and CLOCK_BOOTTIME_ALARM.
15564
7ea72f99
UD
15565 [BZ #12782]
15566 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15567 is returned.
15568
7e4afad5
UD
15569 * string/_strerror.c (__strerror_r): Print negative errors as signed
15570 numbers.
15571
8e211fec
UD
15572 [BZ #12777]
15573 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15574 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15575 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15576
f7d82dc9
UD
15577 * configure.in: Fix typo in redirection and correct removal of test
15578 files in two cases.
15579
cc9e536d
UD
15580 [BZ #12788]
15581 * locale/setlocale.c (new_composite_name): Fix test to check for
15582 identical name of all categories.
15583
aec84f53
UD
15584 [BZ #12792]
15585 * libio/filedoalloc.c (local_isatty): New function.
15586 (_IO_file_doallocate): Use local_isatty.
15587 * stdio-common/perror.c (perror): In case a new stream is used
15588 forward the stream error.
15589 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15590 error flag.
15591
78e64fdc
RT
155922011-05-20 Ulrich Drepper <drepper@gmail.com>
15593
34a9094f
UD
15594 [BZ #11869]
15595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15596 alloca.
15597 * include/alloca.h (extend_alloca_account): Define.
15598
78e64fdc
RT
15599 [BZ #11857]
15600 * posix/regex.h: Fix comments with documentation of user-accessible
15601 fields after compilation and describe correct free'ing of pattern
15602 after re_compile_pattern.
15603 Patch by Reuben Thomas <rrt@sc3d.org>.
15604
457bddfc
RA
156052011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15606
15607 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15608 and -mno-altivec to prevent the compiler from using Altivec and/or
15609 VSX instructions when the corresponding registers are not available.
15610
a4527b51
AS
156112011-05-19 Andreas Schwab <schwab@redhat.com>
15612
15613 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15614
ed690b2f
UD
156152011-05-19 Ulrich Drepper <drepper@gmail.com>
15616
15617 * libio/freopen.c (freopen): Use __dup2, not dup2.
15618 * libio/freopen64.c (freopen64): Likewise.
15619
8db73634
L
156202011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15621
15622 [BZ #12775]
15623 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15624 * math/Makefile (tests): Add test-powl.
15625 (CFLAGS-test-powl.c): Define.
15626 * math/test-powl.c: New file.
15627
0a197a9d
L
156282011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15629
15630 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15631
ee30c380
UD
156322011-05-17 Ulrich Drepper <drepper@gmail.com>
15633
15634 [BZ #11837]
15635 * iconvdata/gb18030.c: Update to GB18020-2005.
15636
6ce75379
UD
156372011-05-16 Ulrich Drepper <drepper@gmail.com>
15638
a4b89fd8
AR
15639 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15640 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15641 Patch by Aharon Robbins <arnold@skeeve.com>.
15642
ea389b12
UD
15643 [BZ #11892]
15644 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15645 on the stack.
15646
68a3f91f
UD
15647 [BZ #11895]
15648 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15649 through underflows.
15650
15cc7dd1
UD
15651 [BZ #12766]
15652 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15653 point to strings before performing equality test for error_one_per_line
15654 mode.
15655
f3799213
UD
15656 [BZ #11697]
15657 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15658
d79a9c94
UD
15659 [BZ #11820]
15660 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15661 (struct user_fpregs_struct): Avoid __uint*_t types.
15662
56e5eb46
UD
15663 [BZ #6420]
15664 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15665 symbol info. Use it instead of calling _dl_addr locally.
15666 (lock_and_info): New function.
15667 (tr_freehook): Call lock_and_info and pass symbol info as additional
15668 parameter to tr_where.
15669 (tr_mallochook): Likewise.
15670 (tr_reallochook): Likewise.
15671 (tr_memalignhook): Likewise.
15672
6ce75379
UD
15673 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15674 used and couldn't be at all thread-safe.
15675
f8a3b5bf
UD
156762011-05-15 Ulrich Drepper <drepper@gmail.com>
15677
94b7cc37
UD
15678 * libio/freopen.c (freopen): Don't close old file descriptor
15679 before the new one is opened. Instead dup the new file descriptor
15680 to the old one after the new stream is created.
15681 * libio/freopen64.c (freopen64): Likewise.
15682 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15683 * libio/fileops.c (_IO_new_file_close_it): Handle new
15684 _IO_FLAGS2_NOCLOSE flag.
15685 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15686 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15687 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15688 _IO_FLAGS2_NOCLOSE flag.
15689 * include/unistd.h: Add hidden_proto for dup3.
15690 Define __have_dup3.
15691 * io/dup3.c: Define hidden symbol.
15692 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15693
bd25564e
UD
15694 [BZ #7101]
15695 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15696 when an incomplete long option is used.
15697 * posix/tst-getopt_long1.c: New file.
15698 * posix/Makefile (tests): Add tst-getopt_long1.
15699
c84cfef4
UD
15700 [BZ #10138]
15701 * scripts/config.guess: Update from autoconf-2.68.
15702 * scripts/config.sub: Likewise.
15703
3b85df27
UD
15704 [BZ #10157]
15705 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15706 tests into ...
15707 (has_cpuclock): ...this. New function.
15708 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15709 macro here based on has_cpuclock code.
15710
15a856b1
UD
15711 [BZ #10149]
15712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15713 First byte (not low byte) is now always NUL.
15714 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15715
05f399e6
UD
15716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15717 Use non-cancelable interfaces.
15718
10a52685 15719 [BZ #9809]
94ecc67d
UD
15720 * locale/iso-639.def: Add entry for Sorani.
15721
f8a3b5bf
UD
15722 [BZ #11901]
15723 * include/stdlib.h: Move include protection to the right place.
15724 Define abort_msg_s. Declare __abort_msg with it.
15725 * stdlib/abort.c (__abort_msg): Adjust type.
15726 * assert/assert.c (__assert_fail_base): New function. Majority
15727 of code from __assert_fail. Allocate memory for __abort_msg with
15728 mmap.
15729 (__assert_fail): Now call __assert_fail_base.
15730 * assert/assert-perr.c: Remove bulk of implementation. Use
15731 __assert_fail_base.
15732 * include/assert.hL Declare __assert_fail_base.
15733 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15734 mmap.
15735 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15736
1af4e298
UD
157372011-05-14 Ulrich Drepper <drepper@gmail.com>
15738
f8a3b5bf 15739 [BZ #11952]
d26dfc60
MG
15740 [BZ #12453]
15741 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15742 until all modules are registered in the DTV.
15743 * elf/Makefile: Add rules to build and run tst-tls19.
15744 * elf/tst-tls19.c: New file.
15745 * elf/tst-tls19mod1.c: New file.
15746 * elf/tst-tls19mod2.c: New file.
15747 * elf/tst-tls19mod3.c: New file.
15748 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15749
2fc54d6f
UD
15750 [BZ #12083]
15751 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15752 correctly.
15753
98d76b46
UD
15754 [BZ #12601]
15755 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15756 two-byte sequence errors.
15757 * iconvdata/Makefile (tests): Add bug-iconv8.
15758 * iconvdata/bug-iconv8.c: New file.
15759
da3c19ef
UD
15760 [BZ #12626]
15761 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15762 buf2 definition.
15763
ca408c15
UD
15764 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15765
d6f67f7d
UD
15766 [BZ #12432]
15767 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15768 (dummy_getcfa): New function.
15769 (init): Get _Unwind_GetCFA address, use dummy if not found.
15770 (backtrace_helper): In recursion check, also check whether CFA changes.
15771 (__backtrace): Completely initialize arg.
15772
1af4e298 15773 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15774 storing incomplete byte sequence in state object. Avoid testing for
15775 guaranteed too small input if we know there is enough data available.
1af4e298 15776
da62f81b
AS
157772011-05-11 Andreas Schwab <schwab@redhat.com>
15778
15779 * Makeconfig (+link-pie): Indent.
15780 * Rules (binaries-pie): Define if $(have-fpie) and
15781 $(build-shared).
15782 (binaries-shared): Also filter out $(binaries-pie).
15783 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15784 * nscd/Makefile (others-pie): Add nscd.
15785 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15786 ($(objpfx)nscd): Remove command override.
15787 * login/Makefile (others-pie): Add pt_chown.
15788 ($(objpfx)pt_chown): Remove command override.
15789 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15790 remove command overrides.
15791
fcabc0f8
UD
157922011-05-13 Ulrich Drepper <drepper@gmail.com>
15793
20030ae6
UD
15794 * libio/tst_putwc.c: Fix error messages.
15795
fcabc0f8
UD
15796 [BZ #12724]
15797 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15798 currently writing and seek to current position when not.
15799 * libio/Makefile (tests): Add bug-fclose1.
15800 * libio/bug-fclose1.c: New file.
15801
320a5dc0
PB
158022011-05-12 Ulrich Drepper <drepper@gmail.com>
15803
15804 [BZ #12511]
15805 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15806 don't set DF_1_NODELETE here.
15807 (do_lookup_x): When entering new entry test for copy relocation
15808 and if necessary set DF_1_NODELETE flag.
15809 * elf/tst-unique4.cc: New file.
15810 * elf/tst-unique4.h: New file.
15811 * elf/tst-unique4lib.cc: New file.
15812 * elf/Makefile: Add rules to build and run tst-unique4.
15813 Patch by Piotr Bury <pbury@goahead.com>.
15814
22836f52
UD
158152011-05-11 Ulrich Drepper <drepper@gmail.com>
15816
f574184a
UD
15817 [BZ #12052]
15818 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15819
e1fb097f
UD
15820 [BZ #12625]
15821 * misc/mntent_r.c (addmntent): Flush the stream after the output
15822
22836f52
UD
15823 [BZ #12393]
15824 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15825 (is_trusted_path_normalize): Skip initial colon. Append slash
15826 to empty buffer. Duplicate is_trusted_path code but allow
15827 constructed patch to be prefix.
15828 (is_dst): Allow $ORIGIN followed by /.
15829 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15830 Correct testing of result of is_trusted_path_normalize
15831 (decompose_rpath): Fix warning.
15832
7b3b0b2a
UD
158332011-05-10 Ulrich Drepper <drepper@gmail.com>
15834
15835 [BZ #11257]
15836 * grp/initgroups.c (internal_getgrouplist): When we found the service
15837 list through the initgroups entry in nsswitch.conf do not always
15838 continue on a successful lookup. Don't always use the
eac80ce2 15839 __nss_group_database value if it is set.
7b3b0b2a
UD
15840 * nss/nsswitch.conf (initgroups): Change action for successful db
15841 lookup to continue for compatibility.
15842
2a81eaa5
UD
158432011-05-09 Ulrich Drepper <drepper@gmail.com>
15844
be97a69e
UD
15845 [BZ #11532]
15846 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15847 and CP774 modules.
15848 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15849 and CP774 modules.
15850 * iconvdata/tst-tables.sh: Likewise.
15851 * iconvdata/cp770.c: New file.
15852 * iconvdata/cp771.c: New file.
15853 * iconvdata/cp772.c: New file.
15854 * iconvdata/cp773.c: New file.
15855 * iconvdata/cp774.c: New file.
15856 * iconvdata/testdata/CP770: New file.
15857 * iconvdata/testdata/CP770..UTF8: New file.
15858 * iconvdata/testdata/CP771: New file.
15859 * iconvdata/testdata/CP771..UTF8: New file.
15860 * iconvdata/testdata/CP772: New file.
15861 * iconvdata/testdata/CP772..UTF8: New file.
15862 * iconvdata/testdata/CP773: New file.
15863 * iconvdata/testdata/CP773..UTF8: New file.
15864 * iconvdata/testdata/CP774: New file.
15865 * iconvdata/testdata/CP774..UTF8: New file.
15866
15867 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15868 END CHARMAP line.
15869 * iconvdata/gen-8bit-gap.sh: Likewise.
15870 * iconvdata/gen-8bit.sh: Likewise.
15871
c1e9e399
UD
15872 * locale/iso-639.def: Add ary entry.
15873
24c55fb3 15874 [BZ #11258]
96b4b1b0
UD
15875 * locale/C-translit.h.in: Add U20A1 transliteration.
15876
bdc2f971
KB
15877 [BZ #12178]
15878 * locale/iso-639.def: Add wae entry.
15879 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15880
2952b117
UD
15881 [BZ #12545]
15882 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15883 for n.
15884
2a81eaa5
UD
15885 [BZ #12711]
15886 * locale/C-translit.h.in: Add entry for U20B9.
15887 Patch by pravin.d.s@gmail.com.
15888
28377d1b
UD
158892011-05-08 Ulrich Drepper <drepper@gmail.com>
15890
7fb90fb8
UD
15891 [BZ #12713]
15892 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15893 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15894 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15895 in rtld. Use *stat64.
7fb90fb8 15896 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15897 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15898 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15899 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15900 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15901 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15902 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15903 __fstatat64 macros.
7fb90fb8
UD
15904 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15905 * dirent/rewinddir.c: Add libc_hidden_def.
15906 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15907 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15908
28377d1b
UD
15909 * include/dirent.h (__alloc_dir): Add flags parameter.
15910 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15911 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15912 __alloc_dir.
15913 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15914 from fdopendir if O_CLOEXEC is already set.
15915
66bdbaa4
AM
159162011-03-15 Alan Modra <amodra@gmail.com>
15917
15918 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15919 l_tls_firstbyte_offset non-zero. Save padding offset in
15920 l_tls_firstbyte_offset for later use.
15921 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15922 freeing static tls block.
15923
95721191
JN
159242011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15925
15926 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15927 where #ifdef was intended. The intent is to prevent ARG_MAX from
15928 being defined by the kernel headers.
15929
f87dfb1f
UD
159302011-05-07 Ulrich Drepper <drepper@gmail.com>
15931
15932 [BZ #12734]
15933 * resolv/resolv.h: Define RES_NOTLDQUERY.
15934 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15935 no-tld-query and set RES_NOTLDQUERY.
15936 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15937 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15938 modern BIND to search name as TLD unless forbidden.
15939
47c3cd7a
UD
159402011-05-07 Petr Baudis <pasky@suse.cz>
15941 Ulrich Drepper <drepper@gmail.com>
15942
15943 [BZ #12393]
15944 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15945 (is_trusted_path): ...to here.
c1e9ea35 15946 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15947 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15948 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15949
8a35c912
PP
159502011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15951
15952 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15953 __BEGIN/__END_DECLS.
15954
acd41f47
UD
159552011-05-06 Ulrich Drepper <drepper@gmail.com>
15956
15957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15958 NSS_STATUS_NOTFOUND if no record was found.
15959
597df647
AS
159602011-05-05 Andreas Schwab <schwab@redhat.com>
15961
15962 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15963 (headers-not-in-tirpc): Remove rpc/netdb.h
15964 * resolv/netdb.h: Revert last change.
15965
b9af1301
PP
159662011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15967
15968 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15969 circular dependency between libgcc.a and libc.a.
15970
4e34d5f5
AS
159712011-05-05 Andreas Schwab <schwab@redhat.com>
15972
15973 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15974 * nis/Makefile: Don't install rpcsvc/*.
15975 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15976 instead of <rpc/types.h>.
15977 (MAXHOSTNAMELEN): Define.
15978
00ee369c
AS
159792011-05-03 Andreas Schwab <schwab@redhat.com>
15980
15981 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15982
0b592a30
MB
159832011-04-28 Maciej Babinski <mbabinski@google.com>
15984
15985 [BZ #12714]
15986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15987 gethostbyname4_r when IPv6 results are possible.
15988
6e04cbbe
UD
159892011-05-02 Ulrich Drepper <drepper@gmail.com>
15990
15991 [BZ #12723]
15992 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15993 _PC_PIPE_BUF handling.
15994
e4ecafe0
BH
159952011-04-30 Bruno Haible <bruno@clisp.org>
15996
15997 [BZ #12717]
15998 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15999 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16000 to 'int'.
16001 * inet/getnameinfo.c (getnameinfo): Likewise.
16002
125ee683
UD
160032011-04-29 Ulrich Drepper <drepper@gmail.com>
16004
16005 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16006 to groups setting in database lookup.
16007 * nss/nsswitch.conf: Add initgroups entry.
16008
b722481a
EB
160092011-04-22 Ulrich Drepper <drepper@gmail.com>
16010
16011 [BZ #12685]
16012 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16013 mode string.
16014 Patch by Eric Blake <eblake@redhat.com>.
16015
4df46dbd
L
160162011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16017
16018 * sunrpc/Makefile (need-export-routines): Add svc_run.
16019 (routines): Remove svc_run.
16020 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16021 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16022 * sunrpc/svc_run.c (svc_run): Likewise.
16023 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16024
e84142d2
UD
160252011-04-21 Ulrich Drepper <drepper@gmail.com>
16026
16027 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16028 problem in reallocation in last patch.
16029
877175d8
UD
160302011-04-20 Ulrich Drepper <drepper@gmail.com>
16031
16032 * sunrpc/Makefile: Move inclusion of Rules.
16033
ab8eed78
UD
160342011-04-19 Ulrich Drepper <drepper@gmail.com>
16035
16036 * nss/nss_files/files-initgroups.c: New file.
16037 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16038 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16039 _nss_files_initgroups_dyn.
16040
e3d8f584
RS
160412011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16042
16043 * elf/elf.h (R_ARM_IRELATIVE): Define.
16044
af190f45
UD
160452011-04-19 Ulrich Drepper <drepper@gmail.com>
16046
16047 * po/ru.po: Update from translation team.
16048
53cf59ef
UD
160492011-04-17 Ulrich Drepper <drepper@gmail.com>
16050
16051 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16052 dependencies.
16053
4c559bcd
MF
160542011-02-06 Mike Frysinger <vapier@gentoo.org>
16055
16056 [BZ #12653]
16057 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16058 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16060 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16062
4420675c
AS
160632011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16064
16065 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16066 differing bytes.
16067 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16068 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16069 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16070
75ea32ab
UD
160712011-04-17 Ulrich Drepper <drepper@gmail.com>
16072
16073 [BZ #12420]
16074 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16075 storing it.
16076 * stdlib/bug-getcontext.c: New file.
16077 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16078
27390476
AK
160792011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16080
16081 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16082 instructions into .machine "z9-109".
16083 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16084 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16085
10442705
AK
160862011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16087
16088 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16089 between environment variables and auxiliary vector.
16090
7b57bfe5
UD
160912011-04-16 Ulrich Drepper <drepper@gmail.com>
16092
16093 * Makefile: Add rules to build linkobj/libc.so.
16094 * include/libc-symbols.h: Define libc_hidden_nolink.
16095 * include/rpc/auth.h: Mark functions which are to be hidden.
16096 * include/rpc/auth_des.h: Likewise.
16097 * include/rpc/auth_unix.h: Likewise.
16098 * include/rpc/clnt.h: Likewise.
16099 * include/rpc/des_crypt.h: Likewise.
16100 * include/rpc/key_prot.h: Likewise.
16101 * include/rpc/pmap_clnt.h: Likewise.
16102 * include/rpc/pmap_prot.h: Likewise.
16103 * include/rpc/pmap_rmt.h: Likewise.
16104 * include/rpc/rpc_msg.h: Likewise.
16105 * include/rpc/svc.h: Likewise.
16106 * include/rpc/svc_auth.h: Likewise.
16107 * include/rpc/xdr.h: Likewise.
16108 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16109 * nss/Makefile: Likewise.
16110 * sunrpc/Makefile: Don't install headers. Build library with normal
16111 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16112 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16113 for the compat linking library. Remove use of INTDEF/INTUSE.
16114 * sunrpc/auth_none.c: Likewise.
16115 * sunrpc/auth_unix.c: Likewise.
16116 * sunrpc/authdes_prot.c: Likewise.
16117 * sunrpc/authuxprot.c: Likewise.
16118 * sunrpc/clnt_gen.c: Likewise.
16119 * sunrpc/clnt_perr.c: Likewise.
16120 * sunrpc/clnt_raw.c: Likewise.
16121 * sunrpc/clnt_simp.c: Likewise.
16122 * sunrpc/clnt_tcp.c: Likewise.
16123 * sunrpc/clnt_udp.c: Likewise.
16124 * sunrpc/clnt_unix.c: Likewise.
16125 * sunrpc/des_crypt.c: Likewise.
16126 * sunrpc/des_soft.c: Likewise.
16127 * sunrpc/get_myaddr.c: Likewise.
16128 * sunrpc/key_call.c: Likewise.
16129 * sunrpc/key_prot.c: Likewise.
16130 * sunrpc/netname.c: Likewise.
16131 * sunrpc/pm_getmaps.c: Likewise.
16132 * sunrpc/pm_getport.c: Likewise.
16133 * sunrpc/pmap_clnt.c: Likewise.
16134 * sunrpc/pmap_prot.c: Likewise.
16135 * sunrpc/pmap_prot2.c: Likewise.
16136 * sunrpc/pmap_rmt.c: Likewise.
16137 * sunrpc/publickey.c: Likewise.
16138 * sunrpc/rpc_cmsg.c: Likewise.
16139 * sunrpc/rpc_common.c: Likewise.
16140 * sunrpc/rpc_dtable.c: Likewise.
16141 * sunrpc/rpc_prot.c: Likewise.
16142 * sunrpc/rpc_thread.c: Likewise.
16143 * sunrpc/rtime.c: Likewise.
16144 * sunrpc/svc.c: Likewise.
16145 * sunrpc/svc_auth.c: Likewise.
16146 * sunrpc/svc_authux.c: Likewise.
16147 * sunrpc/svc_raw.c: Likewise.
16148 * sunrpc/svc_run.c: Likewise.
16149 * sunrpc/svc_simple.c: Likewise.
16150 * sunrpc/svc_tcp.c: Likewise.
16151 * sunrpc/svc_udp.c: Likewise.
16152 * sunrpc/svc_unix.c: Likewise.
16153 * sunrpc/svcauth_des.c: Likewise.
16154 * sunrpc/xcrypt.c: Likewise.
16155 * sunrpc/xdr.c: Likewise.
16156 * sunrpc/xdr_array.c: Likewise.
16157 * sunrpc/xdr_float.c: Likewise.
16158 * sunrpc/xdr_intXX_t.c: Likewise.
16159 * sunrpc/xdr_mem.c: Likewise.
16160 * sunrpc/xdr_rec.c: Likewise.
16161 * sunrpc/xdr_ref.c: Likewise.
16162 * sunrpc/xdr_sizeof.c: Likewise.
16163 * sunrpc/xdr_stdio.c: Likewise.
16164
e6c61494
UD
161652011-04-10 Ulrich Drepper <drepper@gmail.com>
16166
16167 [BZ #12650]
16168 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16169 * sysdeps/ia64/dl-tls.h: Likewise.
16170 * sysdeps/powerpc/dl-tls.h: Likewise.
16171 * sysdeps/s390/dl-tls.h: Likewise.
16172 * sysdeps/sh/dl-tls.h: Likewise.
16173 * sysdeps/sparc/dl-tls.h: Likewise.
16174 * sysdeps/x86_64/dl-tls.h: Likewise.
16175 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16176
34fe483e
AS
161772011-03-14 Andreas Schwab <schwab@redhat.com>
16178
16179 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16180 rpath element also skip the following colon.
16181 (expand_dynamic_string_token): Add is_path parameter and pass
16182 down to DL_DST_REQUIRED and _dl_dst_substitute.
16183 (decompose_rpath): Call expand_dynamic_string_token with
16184 non-zero is_path. Ignore empty rpaths.
16185 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16186 with zero is_path.
16187
f12a32e6
AS
161882011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16189
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16191 Make cancelable.
16192
38a7d692
UD
161932011-04-09 Ulrich Drepper <drepper@gmail.com>
16194
16195 [BZ #12655]
16196 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16197 Patch by Filipe David Manana <fdmanana@apache.org>.
16198
e451d22b
AS
161992011-04-07 Andreas Schwab <schwab@redhat.com>
16200
16201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16202 Maintain aligned stack.
16203 (CHECK_RSP): Remove unused macro.
16204
dedc7c7b
UD
162052011-04-03 Ulrich Drepper <drepper@gmail.com>
16206
16207 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16208 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16209
94521213
UD
162102011-04-02 Ulrich Drepper <drepper@gmail.com>
16211
16212 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16213
8cb700c0 16214 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16215
0354e355
L
162162011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16217
16218 [BZ #12518]
16219 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16220 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16221 * sysdeps/x86_64/memmove.c: New file.
16222 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16223 (memcpy): Renamed to ...
16224 (__new_memcpy): This.
16225 (memcpy): Provide GLIBC_2_14 memcpy.
16226 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16227 (memcpy): Provide GLIBC_2_2_5 memcpy.
16228
8593482f
UD
162292011-04-01 Ulrich Drepper <drepper@gmail.com>
16230
16231 [BZ #12631]
16232 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16233
81a5726b
AS
162342011-03-30 Andreas Schwab <schwab@redhat.com>
16235
16236 * misc/syncfs.c: New file.
16237 * misc/Makefile (routines): Add syncfs.
16238 * posix/unistd.h: Declare syncfs.
16239 * sysdeps/unix/syscalls.list: Add syncfs.
16240
00e5419f
AS
162412011-04-01 Andreas Schwab <schwab@redhat.com>
16242
16243 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16244 open_by_handle_at.
16245 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16246 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16248 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16250 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16252
748876bf
UD
162532011-04-01 Ulrich Drepper <drepper@gmail.com>
16254
658e451d
UD
16255 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16256 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16257 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16259 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16261 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16262
748876bf
UD
16263 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16264 sync_file_range.c with -fexceptions.
16265 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16266 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16267 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16268 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16269 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16270 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16271 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16272 sync_file_range as cancellation point
16273 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16274 now a wrapper around __call_sync_file_range with cancellation handling.
16275 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16276 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16277 function name to __call_sync_file_range.
16278 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16279 Add call_sync_file_range.
748876bf 16280
6e63d5e1
AS
162812011-04-01 Andreas Schwab <schwab@redhat.com>
16282
16283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16284 bits/timex.h.
6e63d5e1 16285
46998f74
UD
162862011-04-01 Ulrich Drepper <drepper@gmail.com>
16287
4c1423ed
UD
16288 * iconv/iconv.h: Fix typo in comment.
16289 * io/fcntl.h: Likewise.
16290 * libio/stdio.h: Likewise.
16291 * posix/spawn.h: Likewise.
16292 * posix/unistd.h: Likewise.
16293 * stdlib/stdlib.h: Likewise.
16294 * time/time.h: Likewise.
16295 * wcsmbs/wchar.h: Likewise.
16296
158648c0
UD
16297 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16298 open_by_handle): Add.
16299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16300 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16301 Augment a few comments.
16302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16304 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16307 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16308 open_by_handle.
16309
46998f74
UD
16310 * io/fcntl.h (AT_EMPTY_PATH): Define.
16311
83fe108b
UD
163122011-03-30 Ulrich Drepper <drepper@gmail.com>
16313
16314 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16315 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16316 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16317 to...
16318 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16319 * Versions.def: Add GLIBC_2.14.
16320 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16321 Export.
83fe108b 16322
bb242059
UD
163232011-03-22 Ulrich Drepper <drepper@gmail.com>
16324
16325 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16326 round counter.
16327 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16328
c97a1282
L
163292011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16330
16331 [BZ #12597]
16332 * string/test-strncmp.c (do_page_test): New function.
16333 (check2): Likewise.
16334 (test_main): Call check2.
16335 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16336
2a115601
UD
163372011-03-20 Ulrich Drepper <drepper@gmail.com>
16338
16339 [BZ #12587]
16340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16341 Handle cache information in CPU leaf 4.
16342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16343
8126d904
UD
163442011-03-18 Ulrich Drepper <drepper@gmail.com>
16345
042c49c6 16346 [BZ #12583]
8126d904
UD
16347 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16348 character representation.
16349 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16350
ccfe366e
RA
163512011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16352
16353 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16354 END(__isnan) to END(__isnanf) to match function entry point/label
16355 EALIGN(__isnanf,...).
16356
c6e13027
JJ
163572011-03-10 Jakub Jelinek <jakub@redhat.com>
16358
16359 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16360
33f85a3f
UD
163612011-03-10 Ulrich Drepper <drepper@gmail.com>
16362
028478fa
UD
16363 [BZ #12510]
16364 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16365 copy from the symbol referenced in the relocation to initialize the
16366 used variable.
16367 Patch by Piotr Bury <pbury@goahead.com>.
16368 * elf/Makefile: Add rules to build and tst-unique3.
16369 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16370 * elf/tst-unique3.cc: New file.
16371 * elf/tst-unique3.h: New file.
16372 * elf/tst-unique3lib.cc: New file.
16373 * elf/tst-unique3lib2.cc: New file.
16374
33f85a3f
UD
16375 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16376
03592fc7
MF
163772011-03-10 Mike Frysinger <vapier@gentoo.org>
16378
16379 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16380 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16381 to _start.
03592fc7 16382
6a5ee102
UD
163832011-03-06 Ulrich Drepper <drepper@gmail.com>
16384
16385 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16386 to-be-loaded object along a path to loader is ld.so.
16387
7e4ba49c
HJ
163882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16389 Ulrich Drepper <drepper@gmail.com>
16390
16391 * sysdeps/x86_64/memset.S: After aligning destination, code
16392 branches to different locations depending on the value of
16393 misalignment, when multiarch is enabled. Fix this.
16394
163952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16396
16397 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16398 Set _x86_64_preferred_memory_instruction for AMD processsors.
16399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16400 Set bit_Prefer_SSE_for_memop for AMD processors.
16401
13a804de
UD
164022011-03-04 Ulrich Drepper <drepper@gmail.com>
16403
16404 * libio/fmemopen.c (fmemopen): Optimize a bit.
16405
9d25c392
AS
164062011-03-03 Andreas Schwab <schwab@redhat.com>
16407
16408 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16409
a5543c6a
RM
164102011-03-03 Roland McGrath <roland@redhat.com>
16411
16412 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16413
012d35f7
DM
164142011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16415
7e4ba49c 16416 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16417 __bzero_ultra1 instead of __memset_ultra1.
16418
4bff6e01
AS
164192011-02-23 Andreas Schwab <schwab@redhat.com>
16420 Ulrich Drepper <drepper@gmail.com>
16421
16422 [BZ #12509]
16423 * include/link.h (struct link_map): Add l_orig_initfini.
16424 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16425 returning unsuccessfully.
16426 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16427 close of a file loaded at startup, restore the original l_initfini
16428 list.
16429 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16430 list, store the pointer.
16431 * elf/Makefile ($(objpfx)noload-mem): New rule.
16432 (noload-ENV): Define.
16433 (tests): Add $(objpfx)noload-mem.
16434 * elf/noload.c: Include <memcheck.h>.
16435 (main): Call mtrace. Close all opened handles.
16436
f2092faf
AS
164372011-02-17 Andreas Schwab <schwab@redhat.com>
16438
16439 [BZ #12454]
16440 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16441 dependencies are missing.
16442
6c8a2e88
ST
164432011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16444
f2092faf 16445 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16446 Hurd needs munmap.
16447 * sysdeps/mach/hurd/ifreq.h: New file.
16448
84a42118
PB
164492011-01-27 Petr Baudis <pasky@suse.cz>
16450 Ulrich Drepper <drepper@gmail.com>
16451
071f805e 16452 [BZ 12445]#
84a42118
PB
16453 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16454 to extend_alloca().
16455 * stdio-common/bug23.c: New file.
16456 * stdio-common/Makefile (tests): Add bug23.
16457
e23fe25b
AS
164582010-09-28 Andreas Schwab <schwab@redhat.com>
16459 Ulrich Drepper <drepper@gmail.com>
16460
16461 [BZ #12489]
16462 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16463 before performing relro protection. At old place add assertion
16464 to make sure nothing changed.
16465
d3f02e10
NS
164662011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16467 Glauber de Oliveira Costa <glommer@gmail.com>
16468
16469 * elf/elf.h: Add new ARM TLS relocs.
16470
d55fd7a5
RA
164712011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16472
16473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16474 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16475 cast from r3.
16476 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16477 'tests' variable.
16478 * sysdeps/wordsize-64/tst-writev.c: New file.
16479
2206397e
RA
164802011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16481
16482 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16483 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16484 insns in _dl_start to prevent a TOC reference before relocs are
16485 resolved.
16486
e9433893
UD
164872011-02-15 Ulrich Drepper <drepper@gmail.com>
16488
16489 [BZ #12469]
16490 * Makeconfig: Remove RANLIB definition.
16491 * Makerules: Don't use RANLIB.
16492 * aclocal.m4: Remove ranlib test.
16493 * configure.in: No need to check for ranlib.
16494 * elf/rtld-Rules: Don't use RANLIB.
16495
f75286c6
ST
164962011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16497
8e31c82d
ST
16498 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16499 protection macro.
16500 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16501 inclusion protection macro.
16502
f75286c6
ST
16503 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16504 SIGRTMIN and SIGRTMAX and print information in that case only when
16505 SIGRTMIN is defined.
16506
c1d0e639
JJ
165072011-02-11 Jakub Jelinek <jakub@redhat.com>
16508
16509 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16510 arginfo fn returning -1.
16511
16512 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16513 and thousands string is zero terminated.
16514
edf9294e
AS
165152011-02-03 Andreas Schwab <schwab@redhat.com>
16516
16517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16518 sysdeps/unix/sysv/linux/bits/socket.h.
16519
2b7e92df
ST
165202011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16521
edf9294e
AS
16522 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16523 (__CPU_COUNT): Remove old macros.
16524 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16525 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16526 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16527 (__sched_cpualloc, __sched_cpufree): Add declarations.
16528
a4c7ea7b
UD
165292011-02-05 Ulrich Drepper <drepper@gmail.com>
16530
16531 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16532 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16533 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16534 (readdhstai): Return value of addhstaiX call.
16535 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16536 (addgrbyX): Return value returned by cache_addgr.
16537 (readdgrbyname): Return value returned by addgrbyX.
16538 (readdgrbygid): Likewise.
16539 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16540 (addpwbyX): Return value returned by cache_addpw.
16541 (readdpwbyname): Return value returned by addhstbyX.
16542 (readdpwbyuid): Likewise.
16543 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16544 (addservbyX): Return value returned by cache_addserv.
16545 (readdservbyname): Return value returned by addservbyX:
16546 (readdservbyport): Likewise.
16547 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16548 (addhstbyX): Return value returned by cache_addhst.
16549 (readdhstbyname): Return value returned by addhstbyX.
16550 (readdhstbyaddr): Likewise.
16551 (readdhstbynamev6): Likewise.
16552 (readdhstbyaddrv6): Likewise.
16553 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16554 (readdinitgroups): Return value returned by addinitgroupsX.
16555 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16556 (prune_cache): Keep track of timeout value of re-added entries.
16557 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16558 * nscd/nscd.h: Adjust prototypes of readd* functions.
16559
a0bf67cc
RM
165602011-02-04 Roland McGrath <roland@redhat.com>
16561
16562 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16563 (nis_stats): Likewise.
16564 * nis/nis_modify.c (nis_modify): Likewise.
16565 * nis/nis_remove.c (nis_remove): Likewise.
16566 * nis/nis_add.c (nis_add): Likewise.
16567
16568 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16569
16570 * posix/fnmatch_loop.c: Add some consts.
16571
16572 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16573
435b95eb
L
165742011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16575
16576 [BZ #12460]
16577 * config.make.in (config-cflags-novzeroupper): Define.
16578 * configure.in: Substitute libc_cv_cc_novzeroupper.
16579 * elf/Makefile (AVX-CFLAGS): Define.
16580 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16581 (CFLAGS-tst-auditmod4a.c): Likewise.
16582 (CFLAGS-tst-auditmod4b.c): Likewise.
16583 (CFLAGS-tst-auditmod6b.c): Likewise.
16584 (CFLAGS-tst-auditmod6c.c): Likewise.
16585 (CFLAGS-tst-auditmod7b.c): Likewise.
16586 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16587
8517b15e
UD
165882011-02-02 Ulrich Drepper <drepper@gmail.com>
16589
16590 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16591 function to the callback.
16592 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16593
10a656fe
AS
165942011-02-02 Andreas Schwab <schwab@redhat.com>
16595
16596 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16597 of errno.
16598
968dad0a
UD
165992011-01-19 Ulrich Drepper <drepper@gmail.com>
16600
9f94d2ea 16601 [BZ #11724]
968dad0a
UD
16602 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16603 of constructors.
16604 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16605 of destructors.
16606 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16607
16608 [BZ #11724]
16609 * elf/Makefile: Add rules to build and run new test.
16610 * elf/tst-initorder.c: New file.
16611 * elf/tst-initorder.exp: New file.
16612 * elf/tst-initordera1.c: New file.
16613 * elf/tst-initordera2.c: New file.
16614 * elf/tst-initordera3.c: New file.
16615 * elf/tst-initordera4.c: New file.
16616 * elf/tst-initorderb1.c: New file.
16617 * elf/tst-initorderb2.c: New file.
16618 * elf/tst-order-a1.c: New file.
16619 * elf/tst-order-a2.c: New file.
16620 * elf/tst-order-a3.c: New file.
16621 * elf/tst-order-a4.c: New file.
16622 * elf/tst-order-b1.c: New file.
16623 * elf/tst-order-b2.c: New file.
16624 * elf/tst-order-main.c: New file.
16625 New test case by George Gensure <werkt0@gmail.com>.
16626
86e92359
UD
166272010-10-01 Andreas Schwab <schwab@redhat.com>
16628
16629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16630 decoding ACE if AI_CANONIDN.
16631
5d5732b0
UD
166322011-01-18 Ulrich Drepper <drepper@gmail.com>
16633
16634 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16635
a77e8cbc
UD
166362011-01-17 Ulrich Drepper <drepper@gmail.com>
16637
6392473f
UD
16638 * version.h (RELEASE): Bump for 2.13 release.
16639 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16640
620a0529
UD
16641 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16642
18ba70a5
UD
16643 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16644 MADV_NOHUGEPAGE.
32465c3e
UD
16645 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16646 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16647 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16648 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16649 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16651
c0dafcf1
UD
16652 * posix/getconf.c: Update copyright year.
16653 * catgets/gencat.c: Likewise.
16654 * csu/version.c: Likewise.
16655 * debug/catchsegv.sh: Likewise.
16656 * debug/xtrace.sh: Likewise.
16657 * elf/ldconfig.c: Likewise.
16658 * elf/ldd.bash.in: Likewise.
16659 * elf/sprof.c (print_version): Likewise.
16660 * iconv/iconv_prog.c: Likewise.
16661 * iconv/iconvconfig.c: Likewise.
16662 * locale/programs/locale.c: Likewise.
16663 * locale/programs/localedef.c: Likewise.
16664 * malloc/memusage.sh: Likewise.
16665 * malloc/mtrace.pl: Likewise.
16666 * nscd/nscd.c (print_version): Likewise.
16667 * nss/getent.c: Likewise.
16668
a77e8cbc
UD
16669 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16670 PF_CAIF, and PF_ALG.
16671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16672
77e8bddf
AS
166732011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16674
1f20b93a
AS
16675 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16676 (modules-names): Use them.
16677 (ifunc-test-modules, ifunc-pie-tests): Define.
16678 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16679 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16680 (test-extras): Likewise.
16681 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16682 $(compile-command.c).
16683 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16684 (all-built-dso): Define.
16685 (check-textrel.out, check-execstack.out): Depend on it.
16686
77e8bddf
AS
16687 * configure.in: Don't override --enable-multi-arch.
16688
bc425b33
UD
166892011-01-15 Ulrich Drepper <drepper@gmail.com>
16690
16691 [BZ #6812]
16692 * nscd/hstcache.c (tryagain): Define.
16693 (cache_addhst): Return tryagain not notfound for temporary errors.
16694 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16695 failed.
16696
794c3ad3
UD
166972011-01-14 Ulrich Drepper <drepper@gmail.com>
16698
70181fdd
UD
16699 [BZ #10563]
16700 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16701 to make the syscall.
16702 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16703
794c3ad3
UD
16704 [BZ #12378]
16705 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16706 and fall back to matching as normal character if the string ends before
16707 the matching ']' is found. This is what POSIX requires.
16708 * posix/testfnm.c: Adjust test result.
16709 * posix/globtest.sh: Adjust test result. Add new test.
16710 * posix/tst-fnmatch.input: Likewise.
16711 * posix/tst-fnmatch2.c: Add new test.
16712
68dc9497
AS
167132010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16714
16715 * elf/Makefile (check-execstack): Revert last change. Depend on
16716 check-execstack.h.
16717 (check-execstack.h): New target.
16718 (generated): Add check-execstack.h.
16719 * elf/check-execstack.c: Include "check-execstack.h".
16720 (main): Revert last change.
16721 (handle_file): Return zero if GNU_STACK is absent and
16722 DEFAULT_STACK_PERMS doesn't include PF_X.
16723
451f001b
UD
167242011-01-13 Ulrich Drepper <drepper@gmail.com>
16725
cfa28e56
UD
16726 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16727 in child fails because the descriptor is already closed.
8cf8ce17
UD
16728 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16729 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16730 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16731
1086d70d
UD
16732 [BZ #12397]
16733 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16734 syscall.
16735
451f001b
UD
16736 [BZ #10484]
16737 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16738 temporary buffer used to handle multi lookups locally.
a85b5cb4 16739 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16740
08769175
UD
167412011-01-12 Ulrich Drepper <drepper@gmail.com>
16742
16743 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16744 loader is ld.so.
16745
5e49c52e
UD
167462011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16747
16748 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16749 alignment for SSE2.
16750
60522a5f
UD
167512011-01-12 Ulrich Drepper <drepper@gmail.com>
16752
16753 [BZ #12394]
16754 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16755 characters. When rounding increased number of integer digits recompute
16756 number of groups.
16757 * stdio-common/tst-grouping.c: New file.
16758 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16759
f257bbd7
UD
167602011-01-09 Ulrich Drepper <drepper@gmail.com>
16761
16762 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16763 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16764
16765 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16766 void.
16767 * bits/select.h: Likewise.
16768
fa9c15cb
UD
167692011-01-08 Ulrich Drepper <drepper@gmail.com>
16770
16771 * po/ja.po: Update from translation team.
16772
16c2895f
DM
167732011-01-04 David S. Miller <davem@sunset.davemloft.net>
16774
16775 [BZ #11155]
16776 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16777 implementation just like for lxstat, fxstatat, et al.
16778
2543fef2
JM
167792010-12-27 Jim Meyering <meyering@redhat.com>
16780
16781 [BZ #12348]
16782 * posix/regexec.c (build_trtable): Return failure indication upon
16783 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16784
98727dbe
UD
167852010-12-25 Ulrich Drepper <drepper@gmail.com>
16786
5bd6dc5c
UD
16787 [BZ #12201]
16788 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16789 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16790 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16791 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16792
97983464
UD
16793 [BZ #12207]
16794 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16795
98727dbe
UD
16796 [BZ #12204]
16797 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16798 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16799
4a531bb0
L
168002010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16801
16802 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16803 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16804 script has SORT_BY_INIT_PRIORITY.
16805 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16806 NO_CTORS_DTORS_SECTIONS is defined.
16807 * elf/soinit.c: Likewise.
16808 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16809 NO_CTORS_DTORS_SECTIONS is defined.
16810 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16811 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16812 * sysdeps/sh/init-first.c: Likewise.
16813 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16814
07eb4b71
UD
168152010-12-24 Ulrich Drepper <drepper@gmail.com>
16816
16817 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16818 always use the slow path.
16819
30950a5f
RA
168202010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16821
16822 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16823 similar rule which adds the sysdep directories to the header search in
16824 order to pick up the correct platform stackinfo.h.
16825 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16826 perform test if it is, otherwise return successfully without testing.
16827 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16828 DEFAULT_STACK_PERMS define in stackinfo.h.
16829 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16830 defined in stackinfo.h.
16831 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16832 DEFAULT_STACK_PERMS defined in stackinfo.h.
16833 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16834 * sysdeps/ia64/stackinfo.h: Likewise.
16835 * sysdeps/s390/stackinfo.h: Likewise.
16836 * sysdeps/sh/stackinfo.h: Likewise.
16837 * sysdeps/sparc/stackinfo.h: Likewise.
16838 * sysdeps/x86_64/stackinfo.h: Likewise.
16839 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16840 PF_X for powerpc64. Retain PF_X for powerpc32.
16841
db753e2c
UD
168422010-12-19 Ulrich Drepper <drepper@gmail.com>
16843
14b697f7
UD
16844 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16845 accurately.
db753e2c
UD
16846 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16847 GETDENTS_64BIT_ALIGNED.
16848
28300719
UD
168492010-12-14 Ulrich Drepper <dreper@gmail.com>
16850
14b697f7 16851 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16852
4f197237
AS
168532010-12-10 Andreas Schwab <schwab@redhat.com>
16854
dbb0472f
AS
16855 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16856 _GNU_SOURCE.
16857
4f197237
AS
16858 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16859 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16860 Remove __restrict.
16861 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16862 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16863
fb88ac72
UD
168642010-12-09 Ulrich Drepper <drepper@gmail.com>
16865
16866 [BZ #11655]
16867 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16868 are initialized.
16869
42acbb92
JJ
168702010-12-09 Jakub Jelinek <jakub@redhat.com>
16871
16872 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16873
c038d98d
UD
168742010-12-03 Ulrich Drepper <drepper@gmail.com>
16875
16876 * po/it.po: Update from translation team.
16877
3a4a2499
L
168782010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16879
16880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16881 unused codes.
16882
1e24cf6e
UD
168832010-11-30 Ulrich Drepper <drepper@gmail.com>
16884
16885 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16886
a7690819
AS
168872010-11-24 Andreas Schwab <schwab@redhat.com>
16888
16889 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16890 specially.
16891 (gaih_getanswer_slice): Likewise.
16892
3bf8d1b1
JJ
168932010-10-20 Jakub Jelinek <jakub@redhat.com>
16894
16895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16896
6db52fbb
PB
168972010-05-31 Petr Baudis <pasky@suse.cz>
16898
16899 [BZ #11149]
16900 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16901 silently even in the chroot mode.
16902
eaca7569
UD
169032010-11-22 Ulrich Drepper <drepper@gmail.com>
16904
16905 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16906 last patch a bit. Pretty printing
16907
3056dcdb
UD
169082010-05-31 Petr Baudis <pasky@suse.cz>
16909
16910 [BZ #10085]
16911 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16912 initialization of skip_initgroups_dyn.
16913
cf7c9078
UD
169142010-11-19 Ulrich Drepper <drepper@gmail.com>
16915
16916 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16917 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16918
a1fb5e3e
UD
169192010-11-16 Ulrich Drepper <drepper@gmail.com>
16920
16921 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16922
3540d66b
AS
169232010-11-11 Andreas Schwab <schwab@redhat.com>
16924
16925 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16926 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16927 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16928 ($(objpfx)tst-fnmatch-mem): New rule.
16929 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16930 * posix/tst-fnmatch.c (main): Call mtrace.
16931
13b69574
L
169322010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16933
16934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16935 Support Intel processor model 6 and model 0x2c.
16936
da93d214
LM
169372010-11-10 Luis Machado <luisgpm@br.ibm.com>
16938
16939 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16940 signed comparison.
16941
8ca52c6e
L
169422010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16943
16944 [BZ #12205]
16945 * string/test-strncasecmp.c (check_result): New function.
16946 (do_one_test): Use it.
16947 (check1): New function.
16948 (test_main): Use it.
16949 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16950 Support strcasecmp and strncasecmp.
16951
69da074d
UD
169522010-11-08 Ulrich Drepper <drepper@gmail.com>
16953
16954 [BZ #12194]
16955 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16956 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16957
ff02d528
L
169582010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16959
16960 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16961 IFUNC support.
16962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16963 memset-x86-64.
16964 * sysdeps/x86_64/multiarch/bzero.S: New file.
16965 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16966 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16967 * sysdeps/x86_64/multiarch/memset.S: New file.
16968 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16970 Set bit_Prefer_SSE_for_memop for Intel processors.
16971 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16972 Define.
16973 (index_Prefer_SSE_for_memop): Define.
16974 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16975
344d0b54
LM
169762010-11-04 Luis Machado <luisgpm@br.ibm.com>
16977
16978 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16979 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16980
c0dde15b
UD
169812010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16982
16983 [BZ #12191]
16984 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16985 (__x86_64_raw_data_cache_size_half): Likewise.
16986 (__x86_64_raw_shared_cache_size): Likewise.
16987 (__x86_64_raw_shared_cache_size_half): Likewise.
16988
16989 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16990 (__x86_64_raw_data_cache_size_half): Likewise.
16991 (__x86_64_raw_shared_cache_size): Likewise.
16992 (__x86_64_raw_shared_cache_size_half): Likewise.
16993 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16994 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16995 and __x86_64_raw_shared_cache_size_half. Round
16996 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16997 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16998 to multiple of 256 bytes.
16999
0e516e0e
MS
170002010-11-03 Ulrich Drepper <drepper@gmail.com>
17001
17002 [BZ #12167]
17003 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17004 of inacessible symlinks. Verify result of symlink before returning it.
17005 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17006 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17007
0e012e87
ER
170082010-10-28 Erich Ritz <erichritz@gmail.com>
17009
17010 * math/math.h (isinf): Fix typo in comment.
17011
de0ff7bc
UD
170122010-11-01 Ulrich Drepper <drepper@gmail.com>
17013
17014 * po/da.po: Update from translation team.
17015
fa41c84d
UD
170162010-10-26 Ulrich Drepper <drepper@gmail.com>
17017
17018 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17019 is added to the list.
17020
f0967738
AK
170212010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17022 Ulrich Drepper <drepper@gmail.com>
17023
17024 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17025 the global list here. Move code to...
17026 (_dl_add_to_namespace_list): ...here. New function.
17027 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17028 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17029 * elf/dl-load.c (lose): Don't remove the element from the list.
17030 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17031 (_dl_map_object): Likewise.
17032
170332010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17034
17035 [BZ #12159]
17036 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17037 into all bytes of SSE register.
17038 Patch by Richard Li <richardpku@gmail.com>.
17039
f0967738 170402010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17041
17042 [BZ #12140]
17043 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17044 perturbing.
17045
d0b9e94f
MB
170462010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17047
17048 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17049 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17050 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17051 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17053 submachine.
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17055
8e9f92e9
AS
170562010-10-22 Andreas Schwab <schwab@redhat.com>
17057
17058 * include/dlfcn.h (__RTLD_SECURE): Define.
17059 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17060 mode & __RTLD_SECURE instead.
17061 (open_path): Rename preloaded parameter to secure.
17062 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17063 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17064 * elf/dl-deps.c (openaux): Likewise.
17065 * elf/rtld.c (struct map_args): Remove is_preloaded.
17066 (map_doit): Don't use it.
17067 (dl_main): Likewise.
17068 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17069 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17070
bc96fbda
AS
170712010-09-09 Andreas Schwab <schwab@redhat.com>
17072
17073 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17074 (sysd-rules-targets): Remove duplicates.
17075 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17076 rtld-%.$o dependency.
17077
22cd1c9b
AS
170782010-10-18 Andreas Schwab <schwab@redhat.com>
17079
17080 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17081 _dl_map_object do it.
17082
18edac48
UD
170832010-10-19 Ulrich Drepper <drepper@gmail.com>
17084
17085 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17086 fast fma builtins, define the macros in the C99 standard.
17087 (FP_FAST_FMAF): Likewise.
17088 (FP_FAST_FMAL): Likewise.
17089 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17090
17091 * bits/mathdef.h: Update copyright year.
17092 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17093
d2050124
MM
170942010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17095
17096 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17097 builtins, define the macros in the C99 standard.
17098 (FP_FAST_FMAF): Likewise.
17099 (FP_FAST_FMAL): Likewise.
17100 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17101 multiply/add.
17102 (FP_FAST_FMAF): Likewise.
17103
475facd1
JJ
171042010-10-15 Jakub Jelinek <jakub@redhat.com>
17105
17106 [BZ #3268]
17107 * math/libm-test.inc (fma_test): Some new testcases.
17108 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17109 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17110 y and infinite z. Do multiplication by C already in long double.
17111 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17113 y and infinite z. Do bitwise or of inexact bit into u.d.
17114 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17115 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17116 * sysdeps/i386/fpu/s_fma.S: Removed.
17117 * sysdeps/i386/fpu/s_fmal.S: Removed.
17118
7c08a05c
JJ
171192010-10-16 Jakub Jelinek <jakub@redhat.com>
17120
17121 [BZ #3268]
17122 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17123 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17124 computation is not scheduled after fetestexcept. Fix value
17125 of minimum denormal long double.
17126
f3f7372d
JJ
171272010-10-14 Jakub Jelinek <jakub@redhat.com>
17128
17129 [BZ #3268]
17130 * math/libm-test.inc (fma_test): Add some more tests.
17131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17132 correctly.
17133
14d43591
AS
171342010-10-15 Andreas Schwab <schwab@redhat.com>
17135
17136 * scripts/data/localplt-s390-linux-gnu.data: New file.
17137 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17138
5e908464
JJ
171392010-10-13 Jakub Jelinek <jakub@redhat.com>
17140
17141 [BZ #3268]
17142 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17143 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17144 instead of dbl-64.
17145 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17146 inlines.
17147 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17149 if one of x and y is very large and the other is subnormal.
17150 * sysdeps/s390/fpu/s_fmaf.c: New file.
17151 * sysdeps/s390/fpu/s_fma.c: New file.
17152 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17153 * sysdeps/powerpc/fpu/s_fma.S: New file.
17154 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17155 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17156 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17157
171582010-10-12 Jakub Jelinek <jakub@redhat.com>
17159
17160 [BZ #3268]
17161 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17162 fma tests.
17163 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17164 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17165 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17166 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17167 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17168 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17169 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17170
b833d51f
UD
171712010-10-12 Ulrich Drepper <drepper@redhat.com>
17172
17173 [BZ #12078]
17174 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17175 * posix/bug-regex31.input: Add test case.
17176
1751705d
UD
171772010-10-11 Ulrich Drepper <drepper@gmail.com>
17178
e9b9cbf5
UD
17179 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17180 * posix/bug-regex31.input: New file.
17181
17182 [BZ #12078]
17183 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17184 (parse_sub_exp): Fix last change, use postorder.
17185
ef06edbe
UD
17186 * posix/bug-regex31.c: New file.
17187 * posix/Makefile: Add rules to build and run bug-regex31.
17188
a129c80d
UD
17189 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17190
17191 [BZ #12078]
17192 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17193
b76b818e
UD
17194 [BZ #12108]
17195 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17196 to have entries in sys_siglist.
17197
1751705d
UD
17198 [BZ #12093]
17199 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17200 be NULL.
17201
9ff8d36f
JJ
172022010-10-07 Jakub Jelinek <jakub@redhat.com>
17203
17204 [BZ #3268]
17205 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17206 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17207 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17208 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17209 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17210 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17211 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17212 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17213 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17214 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17215 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17216 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17217 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17218 * math/ftestexcept.c (fetestexcept): Likewise.
17219 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17220 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17221 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17222 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17223 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17224 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17225 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17226
af325969
UD
172272010-10-11 Ulrich Drepper <drepper@gmail.com>
17228
c579b202 17229 [BZ #12107]
af325969
UD
17230 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17231 newline.
17232
67a67b95
UD
172332010-10-06 Ulrich Drepper <drepper@gmail.com>
17234
17235 * string/bug-strstr1.c: New file.
17236 * string/Makefile: Add rules to build and run bug-strstr1.
17237
5fb308bc
EB
172382010-10-05 Eric Blake <eblake@redhat.com>
17239
17240 [BZ #12092]
17241 * string/str-two-way.h (two_way_long_needle): Always clear memory
17242 when skipping input due to the shift table.
17243
45db99c7
UD
172442010-10-03 Ulrich Drepper <drepper@gmail.com>
17245
3b111893
UD
17246 [BZ #12005]
17247 * malloc/mcheck.c: Handle large requests.
17248
45db99c7
UD
17249 [BZ #12077]
17250 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17251 for strncmp and strncasecmp.
17252 * string/stratcliff.c: Add tests for strcmp and strncmp.
17253 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17254
cf7a1eb8
NI
172552010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17256
17257 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17258 __set_fpscr.
17259
6484ba5e
AJ
172602010-09-30 Andreas Jaeger <aj@suse.de>
17261
17262 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17263 (CGROUP_SUPER_MAGIC): Define.
17264 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17265 Handle btrfs and cgroup file systems.
17266 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17267 Likewise.
17268
91c42559
LM
172692010-09-27 Luis Machado <luisgpm@br.ibm.com>
17270
17271 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17272 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17273
87a97932
AK
172742010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17275
17276 [BZ #12067]
17277 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17278 trying to locate the ELF header.
17279
c21cc9bc
AS
172802010-09-27 Andreas Schwab <schwab@redhat.com>
17281
17282 [BZ #11611]
17283 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17284 Mask out sign-bit copies when constructing f_fsid.
17285
315970f6
PB
172862010-09-24 Petr Baudis <pasky@suse.cz>
17287
17288 * debug/stack_chk_fail_local.c: Add missing licence exception.
17289 * debug/warning-nop.c: Likewise.
17290
1ac7a2c7
JM
172912010-09-15 Joseph Myers <joseph@codesourcery.com>
17292
17293 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17294 implementing getdents64 using getdents syscall, set d_type if
17295 __ASSUME_GETDENTS32_D_TYPE.
17296
56801c50
AS
172972010-09-16 Andreas Schwab <schwab@redhat.com>
17298
17299 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17300 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17301
dda51327
UD
173022010-09-21 Ulrich Drepper <drepper@redhat.com>
17303
17304 [BZ #12037]
17305 * posix/unistd.h: Undo change of feature selection for ftruncate from
17306 2010-01-11.
17307
8ffcee4a
UD
173082010-09-20 Ulrich Drepper <drepper@redhat.com>
17309
a545ecd9 17310 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17311 detection.
17312
e24f0a8b
AS
173132010-09-20 Andreas Schwab <schwab@redhat.com>
17314
17315 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17316 fanotify_mark.
17317 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17318
7291c56f
AS
173192010-09-14 Andreas Schwab <schwab@redhat.com>
17320
17321 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17322 variables after CHECK_SP call.
17323 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17324
bc5fb037
AS
173252010-09-13 Andreas Schwab <schwab@redhat.com>
17326 Ulrich Drepper <drepper@redhat.com>
17327
17328 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17329 re-relocationg ld.so.
17330 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17331 _dl_init_paths call.
17332 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17333 here anymore.
17334
e66e7419
UD
173352010-09-14 Ulrich Drepper <drepper@redhat.com>
17336
17337 * resolv/res_init.c (__res_vinit): Count the default server we added.
17338
c044aa75
CLT
173392010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17340 Ulrich Drepper <drepper@redhat.com>
17341
17342 [BZ #11968]
17343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17344 (____longjmp_chk): Use %ebx for saving value across system call.
17345 Add unwind info.
17346
32cf4069
AS
173472010-09-06 Andreas Schwab <schwab@redhat.com>
17348
17349 * manual/Makefile: Don't mix pattern rules with normal rules.
17350
817328ee
AS
173512010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17352
17353 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17354 operation.
17355 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17356 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17357 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17358 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17360 Likewise.
17361
29fddf61
UD
173622010-09-04 Ulrich Drepper <drepper@redhat.com>
17363
17364 [BZ #11979]
17365 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17366 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17367
0959ffc9
UD
173682010-09-02 Ulrich Drepper <drepper@redhat.com>
17369
17370 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17371 * sysdeps/x86_64/addmul_1.S: Likewise.
17372 * sysdeps/x86_64/lshift.S: Likewise.
17373 * sysdeps/x86_64/mul_1.S: Likewise.
17374 * sysdeps/x86_64/rshift.S: Likewise.
17375 * sysdeps/x86_64/sub_n.S: Likewise.
17376 * sysdeps/x86_64/submul_1.S: Likewise.
17377
ece29840
ST
173782010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17379
0959ffc9
UD
17380 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17381 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17382 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17383 * bits/sched.h [__need_schedparam]
ece29840 17384 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17385 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17386 (__defined_schedparam): Define to 1.
ece29840
ST
17387 (__sched_param): New structure, identical to sched_param.
17388 (__need_schedparam): Undefine.
17389
e53a31fe
MF
173902010-08-31 Mike Frysinger <vapier@gentoo.org>
17391
fdc0c10d
MF
17392 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17393 (epoll_create1): Declare.
17394
e53a31fe
MF
17395 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17396
a726d796
AS
173972010-08-31 Andreas Schwab <schwab@redhat.com>
17398
17399 [BZ #7066]
17400 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17401 shifting retval into place.
17402
2f3e3dc7
UD
174032010-09-01 Ulrich Drepper <drepper@redhat.com>
17404
f2933da9
UD
17405 * nis/rpcsvc/nis.h: Update copyright notice.
17406 * nis/rpcsvc/nis.x: Likewise.
17407 * nis/rpcsvc/nis_callback.h: Likewise.
17408 * nis/rpcsvc/nis_callback.x: Likewise.
17409 * nis/rpcsvc/nis_object.x: Likewise.
17410 * nis/rpcsvc/nis_tags.h: Likewise.
17411 * nis/rpcsvc/yp.h: Likewise.
17412 * nis/rpcsvc/yp.x: Likewise.
17413 * nis/rpcsvc/ypupd.h: Likewise.
17414 * nis/yp_xdr.c: Likewise.
17415 * nis/ypupdate_xdr.c: Likewise.
17416
2f3e3dc7
UD
17417 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17418 mainly the body of pmap_getport. Add parameters to specify timeouts.
17419 (pmap_getport): Use __libc_rpc_getport.
17420 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17421 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17422 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17423
f3dcc2f9
AS
174242010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17425
17426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17427 fanotify_mark.
17428
6d34eb5b
RM
174292010-08-27 Roland McGrath <roland@redhat.com>
17430
17431 * sysdeps/i386/i686/multiarch/Makefile
17432 (CFLAGS-varshift.c): New variable.
17433
9ea3de11
UD
174342010-08-27 Ulrich Drepper <drepper@redhat.com>
17435
c96d23fc
UD
17436 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17437 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17438
9ea3de11
UD
17439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17440
17441 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17442
623aac7f
L
174432010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17444
17445 * sysdeps/x86_64/strlen.S: Unroll the loop.
17446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17447 strlen-sse2 strlen-sse2-bsf.
17448 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17449 __strlen_no_bsf if bit_Slow_BSF is set.
17450 (__strlen_sse42): Removed.
17451 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17452 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17453
8b2b7715
RM
174542010-08-25 Roland McGrath <roland@redhat.com>
17455
17456 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17457 * sysdeps/x86_64/multiarch/varshift.c: New file.
17458 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17459 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17460 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17461 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17462
e73015f2
L
174632010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17464
17465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17466 strlen-sse2 strlen-sse2-bsf.
17467 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17468 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17469 (__strlen_sse2): Removed.
17470 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17473 bit_Slow_BSF for Atom.
17474 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17475 (index_Slow_BSF): Define.
17476 (HAS_SLOW_BSF): Define.
17477
df24a73e
UD
174782010-08-25 Ulrich Drepper <drepper@redhat.com>
17479
17480 [BZ #10851]
17481 * resolv/res_init.c (__res_vinit): When no server address at all
17482 is given default to loopback.
17483
f2ac4868
RM
174842010-08-24 Roland McGrath <roland@redhat.com>
17485
09055553
RM
17486 * configure.in: Remove config-name.h generation.
17487 * configure: Regenerated.
17488 * config-name.in: File removed.
17489 * scripts/config-uname.sh: New file.
17490 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17491 ($(objdir)config-name.h): New target.
17492
f2ac4868
RM
17493 * sunrpc/rpc_parse.h: Avoid nested comment.
17494
73f27d5e
RH
174952010-08-24 Richard Henderson <rth@redhat.com>
17496 Ulrich Drepper <drepper@redhat.com>
17497 H.J. Lu <hongjiu.lu@intel.com>
17498
17499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17501 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17502 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17503 _mm_alignr_epi8 with _mm_loadu_si128.
17504 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17505 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17506 (__m128i_shift_right): Removed.
17507 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17508 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17509 * sysdeps/x86_64/multiarch/varshift.h: New file.
17510 * sysdeps/x86_64/multiarch/varshift.S: New file.
17511
84b9230c
MF
175122010-08-21 Mike Frysinger <vapier@gentoo.org>
17513
17514 * configure.in: Move assembler checks to before sysdep dir checking.
17515
9bbd0ddc
PB
175162010-08-20 Petr Baudis <pasky@suse.cz>
17517
17518 * LICENSES: Sync the sunrpc license.
17519
9da4bb31
UD
175202010-08-19 Ulrich Drepper <drepper@redhat.com>
17521
a7ab6ec8
UD
17522 * sunrpc/auth_des.c: Update copyright notice once again.
17523 * sunrpc/auth_none.c: Likewise.
17524 * sunrpc/auth_unix.c: Likewise.
17525 * sunrpc/authdes_prot.c: Likewise.
17526 * sunrpc/authuxprot.c: Likewise.
17527 * sunrpc/bindrsvprt.c: Likewise.
17528 * sunrpc/clnt_gen.c: Likewise.
17529 * sunrpc/clnt_perr.c: Likewise.
17530 * sunrpc/clnt_raw.c: Likewise.
17531 * sunrpc/clnt_simp.c: Likewise.
17532 * sunrpc/clnt_tcp.c: Likewise.
17533 * sunrpc/clnt_udp.c: Likewise.
17534 * sunrpc/clnt_unix.c: Likewise.
17535 * sunrpc/des_crypt.c: Likewise.
17536 * sunrpc/des_soft.c: Likewise.
17537 * sunrpc/get_myaddr.c: Likewise.
17538 * sunrpc/getrpcport.c: Likewise.
17539 * sunrpc/key_call.c: Likewise.
17540 * sunrpc/key_prot.c: Likewise.
17541 * sunrpc/openchild.c: Likewise.
17542 * sunrpc/pm_getmaps.c: Likewise.
17543 * sunrpc/pm_getport.c: Likewise.
17544 * sunrpc/pmap_clnt.c: Likewise.
17545 * sunrpc/pmap_prot.c: Likewise.
17546 * sunrpc/pmap_prot2.c: Likewise.
17547 * sunrpc/pmap_rmt.c: Likewise.
17548 * sunrpc/rpc/auth.h: Likewise.
17549 * sunrpc/rpc/auth_unix.h: Likewise.
17550 * sunrpc/rpc/clnt.h: Likewise.
17551 * sunrpc/rpc/des_crypt.h: Likewise.
17552 * sunrpc/rpc/key_prot.h: Likewise.
17553 * sunrpc/rpc/netdb.h: Likewise.
17554 * sunrpc/rpc/pmap_clnt.h: Likewise.
17555 * sunrpc/rpc/pmap_prot.h: Likewise.
17556 * sunrpc/rpc/pmap_rmt.h: Likewise.
17557 * sunrpc/rpc/rpc.h: Likewise.
17558 * sunrpc/rpc/rpc_des.h: Likewise.
17559 * sunrpc/rpc/rpc_msg.h: Likewise.
17560 * sunrpc/rpc/svc.h: Likewise.
17561 * sunrpc/rpc/svc_auth.h: Likewise.
17562 * sunrpc/rpc/types.h: Likewise.
17563 * sunrpc/rpc/xdr.h: Likewise.
17564 * sunrpc/rpc_clntout.c: Likewise.
17565 * sunrpc/rpc_cmsg.c: Likewise.
17566 * sunrpc/rpc_common.c: Likewise.
17567 * sunrpc/rpc_cout.c: Likewise.
17568 * sunrpc/rpc_dtable.c: Likewise.
17569 * sunrpc/rpc_hout.c: Likewise.
17570 * sunrpc/rpc_main.c: Likewise.
17571 * sunrpc/rpc_parse.c: Likewise.
17572 * sunrpc/rpc_parse.h: Likewise.
17573 * sunrpc/rpc_prot.c: Likewise.
17574 * sunrpc/rpc_sample.c: Likewise.
17575 * sunrpc/rpc_scan.c: Likewise.
17576 * sunrpc/rpc_scan.h: Likewise.
17577 * sunrpc/rpc_svcout.c: Likewise.
17578 * sunrpc/rpc_tblout.c: Likewise.
17579 * sunrpc/rpc_util.c: Likewise.
17580 * sunrpc/rpc_util.h: Likewise.
17581 * sunrpc/rpcinfo.c: Likewise.
17582 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17583 * sunrpc/rpcsvc/key_prot.x: Likewise.
17584 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17585 * sunrpc/rpcsvc/mount.x: Likewise.
17586 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17587 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17588 * sunrpc/rpcsvc/rex.x: Likewise.
17589 * sunrpc/rpcsvc/rstat.x: Likewise.
17590 * sunrpc/rpcsvc/rusers.x: Likewise.
17591 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17592 * sunrpc/rpcsvc/spray.x: Likewise.
17593 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17594 * sunrpc/rtime.c: Likewise.
17595 * sunrpc/svc.c: Likewise.
17596 * sunrpc/svc_auth.c: Likewise.
17597 * sunrpc/svc_authux.c: Likewise.
17598 * sunrpc/svc_raw.c: Likewise.
17599 * sunrpc/svc_run.c: Likewise.
17600 * sunrpc/svc_simple.c: Likewise.
17601 * sunrpc/svc_tcp.c: Likewise.
17602 * sunrpc/svc_udp.c: Likewise.
17603 * sunrpc/svc_unix.c: Likewise.
17604 * sunrpc/svcauth_des.c: Likewise.
17605 * sunrpc/xcrypt.c: Likewise.
17606 * sunrpc/xdr.c: Likewise.
17607 * sunrpc/xdr_array.c: Likewise.
17608 * sunrpc/xdr_float.c: Likewise.
17609 * sunrpc/xdr_mem.c: Likewise.
17610 * sunrpc/xdr_rec.c: Likewise.
17611 * sunrpc/xdr_ref.c: Likewise.
17612 * sunrpc/xdr_sizeof.c: Likewise.
17613 * sunrpc/xdr_stdio.c: Likewise.
17614
9da4bb31
UD
17615 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17616 handling.
17617
bdaa77bc
AS
176182010-08-19 Andreas Schwab <schwab@redhat.com>
17619
17620 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17621
fe2f79db
LM
176222010-08-19 Luis Machado <luisgpm@br.ibm.com>
17623
17624 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17625 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17626 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17627 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17628 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17629 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17630 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17631 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17632 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17633 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17634 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17635 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17636 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17637 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17638
b9b42ee0
AB
176392010-07-26 Anton Blanchard <anton@samba.org>
17640
17641 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17642 * malloc/arena.c (heap_trim): Likewise.
17643
1c06ba31
UD
176442010-08-16 Ulrich Drepper <drepper@redhat.com>
17645
17646 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17647 here. Not...
17648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17649 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17650
f8392f40
L
176512010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17652
17653 * sysdeps/i386/elf/Makefile: New file.
17654
3162f12e
AS
176552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17656
17657 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17658 from fanotify_init.
17659 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17660 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17661
28c90b2c
UD
176622010-08-15 Ulrich Drepper <drepper@redhat.com>
17663
17664 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17665 of strncasecmp_l.
1feccb6c 17666 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17667
ca6bb004
UD
176682010-08-14 Ulrich Drepper <drepper@redhat.com>
17669
e9f82e0d
UD
17670 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17671 strncase_l-nonascii.
17672 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17673 Add strncase_l-ssse3.
17674 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17675 * sysdeps/x86_64/strcmp.S: Likewise.
17676 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17677 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17678 * sysdeps/x86_64/strncase.S: New file.
17679 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17680 * sysdeps/x86_64/strncase_l.S: New file.
17681 * string/Makefile (strop-tests): Add strncasecmp.
17682 * string/test-strncasecmp.c: New file.
17683
17684 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17685 warning.
17686
ca6bb004
UD
17687 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17688 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17689
052fa7b3
AS
176902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17691
17692 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17693
962dba78
UD
176942010-08-12 Ulrich Drepper <drepper@redhat.com>
17695
17696 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17697 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17698 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17699
bebff237
AM
177002010-05-01 Alan Modra <amodra@gmail.com>
17701
17702 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17703 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17704 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17705 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17706 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17707 tidying. Don't tail-call __sigjmp_save for static lib.
17708 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17709 save location.
17710 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17711 (CALL_MCOUNT): Add eh info, and nop after bl.
17712 (TAIL_CALL_SYSCALL_ERROR): New macro.
17713 (PSEUDO_RET): Use it.
17714 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17715 Correct save location of integer regs and cr.
17716 (_dl_profile_resolve): Correct cr save location. Delete nops
17717 after bl when SHARED. Reduce cfi size a little by better
17718 placement of cfi directives.
17719 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17720 make a stack frame. Instead use parm save area as a temp.
17721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17722 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17724 Don't make a stack frame for parent, use parm save area.
17725 Increase child stack frame to 112 bytes. Don't save unused reg,
17726 and adjust reg usage. Set up cfi on error recovery and
17727 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17729 (__makecontext): Add dummy nop after jump to exit.
17730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17731 Use correct parm save area and cr save, reduce stack frame.
17732 Correct cfi for possible PSEUDO_RET frame setup.
17733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17734 Branch to local label emitted by PSEUDO_RET rather than
17735 __syscall_error.
17736
02637374
AS
177372010-08-12 Andreas Schwab <schwab@redhat.com>
17738
17739 [BZ #11904]
17740 * locale/programs/locale.c (print_assignment): New function.
17741 (show_locale_vars): Use it.
17742
c3e2f19b
UD
177432010-08-11 Ulrich Drepper <drepper@redhat.com>
17744
3cdaa6ad
UD
17745 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17746 field.
17747 (struct statfs64): Likewise.
17748 (_STATFS_F_FLAGS): Define.
17749 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17750 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17751 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17752 (ST_VALID): Define locally.
17753 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17754 __statvfs_getflags, use the provided value.
17755 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17756 __ASSUME_STATFS_F_FLAGS.
17757
754f7da3
UD
17758 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17759
10b3bedc
UD
17760 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17761 Add sys/fanotify.h.
17762 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17763 fanotify_mask for GLIBC_2.13.
17764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17765 fanotify_init and fanotify_mark.
17766 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17767 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17768
c08fb0d7
UD
17769 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17770 Add prlimit.
17771 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17772 prlimit64 for GLIBC_2.13.
17773 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17774 prlimit64.
17775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17776 syscall.
17777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17778 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17779 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17780 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17782 add prlimit alias.
17783 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17784
15bac72b
UD
17785 [BZ #11903]
17786 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17787 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17788
c3e2f19b
UD
17789 * nss/Makefile: Add rules to build and run tst-nss-test1.
17790 * shlib-versions: Add entry for libnss_test1.
17791 * nss/nss_test1.c: New file.
17792 * nss/tst-nss-test1.c: New file.
17793
17794 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17795 (__nss_configure_lookup): Set appropriate entry in
17796 __nss_configure_lookup to true.
17797 * nss/nsswitch.h: Define enum with indeces of databases in
17798 databases and __nss_database_custom arrays. Declare
17799 __nss_database_custom.
17800 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17801 to avoid using nscd when custom rules are installed.
17802 * nss/getXXbyYY_r.c: Likewise.
17803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17804
17805 * nss/nss_files/files-parse.c: Whitespace fixes.
17806
f15ce4d8
UD
178072010-08-09 Ulrich Drepper <drepper@redhat.com>
17808
17809 [BZ #11883]
17810 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17811 * posix/fnmatch_loop.c: Likewise.
17812
d22e4cc9
AK
178132010-07-17 Andi Kleen <ak@linux.intel.com>
17814
17815 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17816 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17817 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17818 * Versions.def [GLIBC_2.13]: Add.
17819
805bc17d
UD
178202010-08-06 Ulrich Drepper <drepper@redhat.com>
17821
17822 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17823 Also fail if tpwd after pwuid call is NULL.
17824
5a42321d
ST
178252010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17826
17827 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17828 when converting to ms.
17829
fd3ebeda
ST
178302010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17831
17832 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17833 EOPNOTSUPP errors with ENOTTY.
17834 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17835 EOPNOTSUPP errors with ENOTTY.
17836
73507d3a
UD
178372010-07-31 Ulrich Drepper <drepper@redhat.com>
17838
17839 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17840 Add strcasecmp_l-ssse3.
17841 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17842 strcasecmp.
17843 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17844 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17845 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17846
fe36dd02
UD
178472010-07-30 Ulrich Drepper <drepper@redhat.com>
17848
66f6765a
UD
17849 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17850
42e08a54
UD
17851 * string/Makefile (strop-tests): Add strcasecmp.
17852 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17853 strcasecmp_l-nonascii.
17854 (gen-as-const-headers): Add locale-defines.sym.
17855 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17856 * sysdeps/x86_64/strcasecmp.S: New file.
17857 * sysdeps/x86_64/strcasecmp_l.S: New file.
17858 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17859 * sysdeps/x86_64/locale-defines.sym: New file.
17860 * string/test-strcasecmp.c: New file.
17861
fe36dd02
UD
17862 * string/test-strcasestr.c: Test both ends of the range of characters.
17863 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17864
48cbc0d6
RM
178652010-07-29 Roland McGrath <roland@redhat.com>
17866
76e6d6bc 17867 [BZ #11856]
48cbc0d6
RM
17868 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17869
880113d9
UD
178702010-07-27 Ulrich Drepper <drepper@redhat.com>
17871
17872 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17873 for ld.so.
17874
deb9cabb
AS
178752010-07-27 Andreas Schwab <schwab@redhat.com>
17876
17877 * manual/memory.texi (Malloc Tunable Parameters): Document
17878 M_PERTURB.
17879
1c7570ff
RM
178802010-07-26 Roland McGrath <roland@redhat.com>
17881
17882 [BZ #11840]
17883 * configure.in (-fgnu89-inline check): Set and substitute
17884 gnu89_inline, not libc_cv_gnu89_inline.
17885 * configure: Regenerated.
17886 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17887
24fb0f88
UD
178882010-07-26 Ulrich Drepper <drepper@redhat.com>
17889
17890 * string/test-strnlen.c: New file.
17891 * string/Makefile (strop-tests): Add strnlen.
17892 * string/tester.c (test_strnlen): Add a few more test cases.
17893 * string/tst-strlen.c: Better error reporting.
17894
17895 * sysdeps/x86_64/strnlen.S: New file.
17896
8e96b93a
UD
178972010-07-24 Ulrich Drepper <drepper@redhat.com>
17898
17899 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17900 lower-latency instructions.
17901
dbc676d4
UD
179022010-07-23 Ulrich Drepper <drepper@redhat.com>
17903
17904 * string/test-strcasestr.c: New file.
17905 * string/test-strstr.c: New file.
17906 * string/Makefile (strop-tests): Add strstr and strcasestr.
17907 * string/str-two-way.h: Don't undefine MAX.
17908 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17909
f6a31e0e
AS
179102010-07-21 Andreas Schwab <schwab@redhat.com>
17911
17912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17913 strcasestr-nonascii.
17914 (CFLAGS-strcasestr-nonascii.c): Define.
17915 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17916 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17917 Remove unused attribute.
17918
5dbc3b6c
RM
179192010-07-20 Roland McGrath <roland@redhat.com>
17920
17921 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17922 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17923 ld.so.cache was broken. With it, there is no way to disable dsocaps
17924 like LD_HWCAP_MASK can disable hwcaps.
17925
23d101d8
EPM
179262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17927
17928 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17929
cc9f2e47
UD
179302010-07-16 Ulrich Drepper <drepper@redhat.com>
17931
17932 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17933 call in strcasestr.
17934 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17935 __strcasestr_sse42_nonascii.
17936 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17937 strcasestr-nonascii.c.
17938 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17939
77c1b069
LM
179402010-06-15 Luis Machado <luisgpm@br.ibm.com>
17941
17942 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17943 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17944 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17945 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17946
440566c3
UD
179472010-07-09 Ulrich Drepper <drepper@redhat.com>
17948
17949 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17950 fcntl.
17951
5be9d05d
AS
179522010-07-06 Andreas Schwab <schwab@redhat.com>
17953
c30b7ee2 17954 [BZ #11577]
5be9d05d
AS
17955 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17956 dl_signal_cerror.
17957
8a492a67
UD
179582010-07-06 Ulrich Drepper <drepper@redhat.com>
17959
17960 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17961 _PC_PIPE_BUF using F_GETPIPE_SZ.
17962
713df3d5
RM
179632010-07-05 Roland McGrath <roland@redhat.com>
17964
17965 * manual/arith.texi (Rounding Functions): Fix rint description
17966 implicit in round description.
17967
702e8f14
UD
179682010-07-02 Ulrich Drepper <drepper@redhat.com>
17969
17970 * elf/Makefile: Fix linking for a few tests to make recent linker
17971 happy.
17972
52ed8be9
AS
179732010-06-30 Andreas Schwab <schwab@redhat.com>
17974
17975 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17976 $(common-objpfx)libc_nonshared.a.
17977
f47c9a11
LM
179782010-06-21 Luis Machado <luisgpm@br.ibm.com>
17979
17980 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17981 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17982 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17983 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17984 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17985 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17986 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17987 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18002 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18003 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18004 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18005 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18006 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18007 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18008 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18009 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18010 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18011 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18012 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18013 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18028
6fb8cbcb
L
180292010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18030
18031 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18032 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18033 * string/memmove.c (memmove): Renamed to ...
18034 (MEMMOVE): ...this. Default to memmove.
18035 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18036 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18037 (END_CHK): Define.
18038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18039 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18040 mempcpy-ssse3-back memmove-ssse3-back.
18041 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18042 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18043 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18044 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18045 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18046 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18047 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18048 * sysdeps/x86_64/multiarch/memmove.c: New file.
18049 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18050 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18051 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18052 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18053 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18054 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18055 Define.
18056 (index_Fast_Copy_Backward): Define.
18057 (HAS_ARCH_FEATURE): Define.
18058 (HAS_FAST_REP_STRING): Define.
18059 (HAS_FAST_COPY_BACKWARD): Define.
18060
4e733bac 180612010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18062
18063 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18064 Restore proper fallback handling.
18065
63c4ed22
UD
180662010-06-19 Ulrich Drepper <drepper@redhat.com>
18067
ac2b484c
UD
18068 [BZ #11701]
18069 * posix/group_member.c (__group_member): Correct checking loop.
18070
63c4ed22
UD
18071 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18072 OOM in getpwuid_r correctly. Return error number when the caller
18073 should return, otherwise -1.
18074 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18075 call returning > 0 value.
18076 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18077
765ade4b
AS
180782010-06-07 Andreas Schwab <schwab@redhat.com>
18079
18080 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18081 libc_nonshared.a from targets in modules-names.
18082
80da2e09
KS
180832010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18084
18085 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18086 requires it.
18087
158db122
LM
180882010-06-10 Luis Machado <luisgpm@br.ibm.com>
18089
18090 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18091 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18093 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18094
caa78cf8
AS
180952010-06-02 Andreas Schwab <schwab@redhat.com>
18096
18097 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18098
b2ef2c01
UD
180992010-06-14 Ulrich Drepper <drepper@redhat.com>
18100
18101 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18102 and F_GETPIPE_SZ.
18103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18104 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18105 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18107 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18108 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18109
fbd643b6
RM
181102010-06-14 Roland McGrath <roland@redhat.com>
18111
18112 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18113
f32f2869
JJ
181142010-06-07 Jakub Jelinek <jakub@redhat.com>
18115
18116 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18117 __REDIRECT followed by __THROW.
18118 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18119 * posix/getopt.h (getopt): Likewise.
18120
2a50c078
EPM
181212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18122
18123 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18124 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18125 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18126 in AT_FLAGS.
18127 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18128 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18129
eb5ad2eb
LM
181302010-05-28 Luis Machado <luisgpm@br.ibm.com>
18131
18132 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18133
3c88fe1e
L
181342010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18135
18136 [BZ #11640]
18137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18138 Properly check family and model.
18139
d2f73151
TY
181402010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18141
18142 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18143
ebd2e13d
LM
181442010-05-24 Luis Machado <luisgpm@br.ibm.com>
18145
18146 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18147
b32b8b45
UD
181482010-05-21 Ulrich Drepper <drepper@redhat.com>
18149
18150 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18151 symbol reference.
18152
9acbe24d
AS
181532010-05-19 Andreas Schwab <schwab@redhat.com>
18154
18155 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18156 symbol reference.
18157
f0ccf6ea
AS
181582010-05-21 Andreas Schwab <schwab@redhat.com>
18159
3d04ff3a
AS
18160 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18161 and internal_recvmmsg.
18162 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18163 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18164 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18165 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18166
f0ccf6ea
AS
18167 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18168 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18169 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18170
5b08ac57
AS
181712010-05-20 Andreas Schwab <schwab@redhat.com>
18172
18173 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18174
4828935d
LM
181752010-05-17 Luis Machado <luisgpm@br.ibm.com>
18176
18177 POWER7 optimizations.
18178 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18179 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18180
373d545e
UD
181812010-05-19 Ulrich Drepper <drepper@redhat.com>
18182
18183 * version.h: Update for 2.13 development version.
18184
21a2b1ae
AS
181852010-05-12 Andrew Stubbs <ams@codesourcery.com>
18186
18187 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18188 exceptions. Return 0.
18189
3f7dcb2b
RM
181902010-05-07 Roland McGrath <roland@redhat.com>
18191
18192 * elf/ldconfig.c (main): Add a const.
18193
5f24d53a 181942010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18195
a160f8d8
UD
18196 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18197 (args_options): Add no-idn option.
18198 (ahosts_keys_int): Add idn_flags to ai_flags.
18199 (parse_option): Handle 'i' option to clear idn_flags.
18200
5f24d53a
UD
18201 * malloc/malloc.c (_int_free): Possible race in the most recently
18202 added check. Only act on the data if no current modification
18203 happened.
265bb1ce
UD
18204
18205See ChangeLog.17 for earlier changes.
This page took 2.29529 seconds and 5 git commands to generate.