]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add more fixed bug numbers to NEWS.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e11f5155
AJ
12012-08-14 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/i386/fpu/libm-test-ulps: Update.
4
51a9ba86
MK
52012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6
2fdd4f78
AJ
7 * include/atomic.h (atomic_exchange_and_add): Split into ...
8 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9 New atomic macros.
51a9ba86 10
ba6cba9e
MT
112012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12
13 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14
42443a47
JL
152012-08-13 Jeff Law <law@redhat.com>
16
17 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18 null byte in the output string.
19
121dce05
JM
202012-08-10 Joseph Myers <joseph@codesourcery.com>
21
22 * sysdeps/unix/sysv/linux/kernel-features.h
23 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30
bf51f568
JL
312012-08-09 Jeff Law <law@redhat.com>
32
33 [BZ #13939]
34 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35 When avoid_arena is set, don't retry in the that arena. Pick the
36 next one, whatever it might be.
37 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38 (arena_lock): Pass in new parameter to arena_get2.
39 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40 arena_get2.
41 (__libc_malloc): Unify retrying after main arena failure with
42 __libc_memalign version.
43 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44
f85fa270
L
452012-08-09 H.J. Lu <hongjiu.lu@intel.com>
46
47 [BZ #14166]
48 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
49 to __redirect_strstr.
50 (__strstr_sse42): Use typeof __redirect_strstr.
51 (__strstr_ia32): Likewise.
52 (__libc_strstr): New prototype.
53 (strstr): Renamed to ...
54 (__libc_strstr): This.
55 (strstr): New strong alias of __libc_strstr.
56 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58 __redirect_time.
59 Include <time.h>.
60 (__libc_time): New prototype.
61 (time_ifunc): Replace time with __libc_time.
62 (time): New strong alias and hidden definition of __libc_time.
63 (__GI_time): Remove strong alias.
64 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65 Include <stddef.h>.
66 (memmove): Redefined to __redirect_memmove.
67 (__memmove_sse2): Use typeof __redirect_memmove.
68 (__memmove_ssse3): Likewise.
69 (__memmove_ssse3_back): Likewise.
70 (__libc_memmove): New prototype.
71 (memmove): Renamed to ...
72 (__libc_memmove): This.
73 (memmove): New strong alias of __libc_memmove.
74
33b4a91e
MS
752012-08-08 Mark Salter <msalter@redhat.com>
76
77 * elf/elf.h
78 (R_MN10300_TLS_GD): Define.
79 (R_MN10300_TLS_LD): Likewise.
80 (R_MN10300_TLS_LDO): Likewise.
81 (R_MN10300_TLS_GOTIE): Likewise.
82 (R_MN10300_TLS_IE): Likewise.
83 (R_MN10300_TLS_LE): Likewise.
84 (R_MN10300_TLS_DTPMOD): Likewise.
85 (R_MN10300_TLS_DTPOFF): Likewise.
86 (R_MN10300_TLS_TPOFF): Likewise.
87 (R_MN10300_SYM_DIFF): Likewise.
88 (R_MN10300_ALIGN): Likewise.
89 (R_MN10300_NUM): Update.
90
b36137f1
JM
912012-08-08 Joseph Myers <joseph@codesourcery.com>
92
93 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
94 Remove.
95
cdd915fd
RM
962012-08-08 Roland McGrath <roland@hack.frob.com>
97
a2433aac
RM
98 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
99
cdd915fd
RM
100 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
101 sysdeps/unix -> sysdeps/posix move.
102 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
103
bf9b740a
AM
1042012-08-07 Allan McRae <allan@archlinux.org>
105
106 [BZ #14303]
107 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
108 (SUNOS_CPP): Likewise.
109 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
110 not found.
111 (open_input): Call CPP using execvp.
112
93df14ee
JM
1132012-08-07 Joseph Myers <joseph@codesourcery.com>
114
115 * sysdeps/unix/sysv/linux/kernel-features.h
116 (__ASSUME_PROT_GROWSUPDOWN): Remove.
117 (__ASSUME_NO_CLONE_DETACHED): Likewise.
118 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
119 (__ASSUME_WAITID_SYSCALL): Likewise.
120 * sysdeps/unix/sysv/linux/dl-execstack.c
121 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
122 code unconditional.
123 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
124 conditional code.
125 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
126 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
127 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
128 code.
129 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
130 unconditional.
131 [__ASSUME_WAITID_SYSCALL]: Likewise.
132 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
133
d34689de
RM
1342012-08-07 Roland McGrath <roland@hack.frob.com>
135
a281decc
RM
136 * sysdeps/unix/closedir.c: Renamed to ...
137 * sysdeps/posix/closedir.c: ... here.
138 * sysdeps/unix/dirfd.c: Renamed to ...
139 * sysdeps/posix/dirfd.c: ... here.
140 * sysdeps/unix/dirstream.h: Renamed to ...
141 * sysdeps/posix/dirstream.h: ... here.
142 * sysdeps/unix/fdopendir.c: Renamed to ...
143 * sysdeps/posix/fdopendir.c: ... here.
144 * sysdeps/unix/opendir.c: Renamed to ...
145 * sysdeps/posix/opendir.c: ... here.
146 * sysdeps/unix/readdir.c: Renamed to ...
147 * sysdeps/posix/readdir.c: ... here.
148 * sysdeps/unix/readdir_r.c: Renamed to ...
149 * sysdeps/posix/readdir_r.c: ... here.
150 * sysdeps/unix/rewinddir.c: Renamed to ...
151 * sysdeps/posix/rewinddir.c: ... here.
152 * sysdeps/unix/seekdir.c: Renamed to ...
153 * sysdeps/posix/seekdir.c: ... here.
154 * sysdeps/unix/telldir.c: Renamed to ...
155 * sysdeps/posix/telldir.c: ... here.
156 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
157 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
158 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
159 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
160
22895b47
RM
161 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
162 * bits/fcntl.h: ... here.
163
707a53b6
RM
164 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
165 not 0.
166 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
167 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
168 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
169 (struct flock): Move l_start, l_len to the beginning.
170 Use __pid_t for l_pid.
171 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
172 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
173 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
174 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
175 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
176 [__USE_LARGEFILE64] (struct flock64): New type.
177 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
178
f0bd3e25
RM
179 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
180 * bits/dirent.h: ... here.
181
d34689de
RM
182 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
183 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
184
6dad2c06
JM
1852012-08-07 Joseph Myers <joseph@codesourcery.com>
186
187 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
188 Change from 2.6.0 to 2.6.16.
189 * sysdeps/unix/sysv/linux/configure: Regenerated.
190 * sysdeps/unix/sysv/linux/kernel-features.h
191 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
192 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
193 version.
194 (__ASSUME_UTIMES): Likewise.
195 (__ASSUME_CLONE_STOPPED): Remove.
196 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
197 architectures, not kernel version.
198 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
199 (__ASSUME_NO_CLONE_DETACHED): Likewise.
200 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
201 (__ASSUME_WAITID_SYSCALL): Likewise.
202 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
203 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
204 * README: State 2.6.16 as minimum Linux kernel version. Do not
205 refer to older versions.
206
03af9520
RM
2072012-08-06 Roland McGrath <roland@hack.frob.com>
208
8e49df1d
RM
209 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
210 Define alphasort64 as an alias.
211 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
212 Define versionsort64 as an alias.
213 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
214 Define scandir64 as an alias.
215 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
216 Define scandirat64 as an alias.
217 * dirent/alphasort64.c (alphasort64):
218 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
219 * dirent/versionsort64.c: Likewise.
220 * dirent/scandir64.c: Likewise.
221 * dirent/scandirat64.c: Likewise.
222 * sysdeps/wordsize-64/alphasort.c: File removed.
223 * sysdeps/wordsize-64/alphasort64.c: File removed.
224 * sysdeps/wordsize-64/scandir.c: File removed.
225 * sysdeps/wordsize-64/scandir64.c: File removed.
226 * sysdeps/wordsize-64/scandirat.c: File removed.
227 * sysdeps/wordsize-64/scandirat64.c: File removed.
228 * sysdeps/wordsize-64/versionsort.c: File removed.
229 * sysdeps/wordsize-64/versionsort64.c: File removed.
230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
233 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
235 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
236 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
237 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
238
239 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
240 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
241 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
243 [defined __arch64__ || defined __sparcv9]
244 (__INO_T_MATCHES_INO64_T): New macro.
245 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
246 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
247 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
248 * sysdeps/unix/sysv/linux/bits/dirent.h
249 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
250 (_DIRENT_MATCHES_DIRENT64): New macro.
251
03af9520
RM
252 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
253 Define lockf64 as an alias.
254 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
255 Define fseeko64 as an alias.
256 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
257 Define ftello64 as an alias.
258 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
259 Define _IO_fgetpos64 and fgetpos64 as aliases.
260 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
261 Define _IO_fsetpos64 and fsetpos64 as aliases.
262 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
263 Conditionalize body on this.
264 * libio/fseeko64.c: Likewise.
265 * libio/ftello64.c: Likewise.
266 * libio/iofgetpos64.c: Likewise.
267 * libio/iofsetpos64.c: Likewise.
268 * sysdeps/wordsize-64/lockf.c: File removed.
269 * sysdeps/wordsize-64/lockf64.c: File removed.
270 * sysdeps/wordsize-64/fseeko.c: File removed.
271 * sysdeps/wordsize-64/fseeko64.c: File removed.
272 * sysdeps/wordsize-64/ftello.c: File removed.
273 * sysdeps/wordsize-64/ftello64.c: File removed.
274 * sysdeps/wordsize-64/iofgetpos.c: File removed.
275 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
276 * sysdeps/wordsize-64/iofsetpos.c: File removed.
277 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
278 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
279 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
280 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
281 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
282 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
283 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
284 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
285 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
286 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
287 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
288
289 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
290 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
291 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
292 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
293 [defined __arch64__ || defined __sparcv9]
294 (__OFF_T_MATCHES_OFF64_T): New macro.
295 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
296 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
297 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
298 (__OFF_T_MATCHES_OFF64_T): New macro.
299
c5757acd
L
3002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
301
302 * stdlib/secure-getenv.c (__secure_getenv): Replace
303 GLIBC_2_16 with GLIBC_2_17.
304
3a31811e
L
3052012-08-06 H.J. Lu <hongjiu.lu@intel.com>
306
307 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
308 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
309
faa2bccb
DM
3102012-08-03 David S. Miller <davem@davemloft.net>
311
312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
313
85fe1997
JM
3142012-08-03 Joseph Myers <joseph@codesourcery.com>
315
316 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
317 Remove.
318 (__ASSUME_CORRECT_SI_PID): Likewise.
319 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
320 (__ASSUME_TMPFS_NAME): Likewise.
321 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
322 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
323 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
324 (HAVE_AUX_SECURE): Make definition unconditional.
325 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
326 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
327
4f75b7a0
RM
3282012-08-03 Roland McGrath <roland@hack.frob.com>
329
330 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
331 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
332 * sysdeps/mach/hurd/eloop-threshold.h: New file.
333 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
334 __eloop_threshold instead of SYMLOOP_MAX.
335
336 * sysdeps/generic/eloop-threshold.h: New file.
337 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
338 of MAXSYMLINKS.
339 * elf/chroot_canon.c (chroot_canon): Likewise.
340
7aab07e4
JM
3412012-08-03 Joseph Myers <joseph@codesourcery.com>
342
343 [BZ #13717]
344 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
345 Change to 2.6.0 everywhere.
346 * sysdeps/unix/sysv/linux/configure: Regenerated.
347 * sysdeps/unix/sysv/linux/kernel-features.h
348 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
349 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
350 kernel versions.
351 (__ASSUME_POSIX_TIMERS): Define unconditionally.
352 (__ASSUME_FUTEX_REQUEUE): Remove.
353 (__ASSUME_STATFS64): Define unconditionally.
354 (__ASSUME_AT_SECURE): Likewise.
355 (__ASSUME_CORRECT_SI_PID): Likewise.
356 (__ASSUME_TGKILL): Define without depending on kernel version for
357 i386.
358 (__ASSUME_UTIMES): Likewise.
359 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
360 kernel version.
361 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
362 (__ASSUME_TMPFS_NAME): Likewise.
363 * README: Update reference to Linux kernel versions.
364
b67e9372
MP
3652012-08-02 Marek Polacek <polacek@redhat.com>
366
367 [BZ#14150]
368 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
369 libc_cv_asm_type_prefix with %.
370 * configure: Regenerated.
d2441631
RM
371 * include/libc-symbols.h: Remove comment about
372 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
373 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
374 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
375 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
376 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
377 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
378 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
379 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
380 * elf/tst-unique2mod1.c: Likewise.
381 * elf/tst-unique1mod2.c: Likewise.
382 * elf/tst-unique1mod1.c: Likewise.
383 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
384 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
385 Replace ASM_TYPE_DIRECTIVE with .type.
386 * sysdeps/s390/s390-64/sysdep.h: Likewise.
387 * sysdeps/i386/sysdep.h: Likewise.
388 * sysdeps/x86_64/sysdep.h: Likewise.
389 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
391 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 392 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
393 * sysdeps/powerpc/powerpc32/sysdep.h:
394 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
395 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
396 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
397 * sysdeps/i386/fpu/e_powf.S: Likewise.
398 * sysdeps/i386/fpu/e_expl.S: Likewise.
399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
400 * sysdeps/i386/fpu/e_acosh.S: Likewise.
401 * sysdeps/i386/fpu/e_pow.S: Likewise.
402 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
403 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
404 * sysdeps/i386/fpu/s_expm1.S: Likewise.
405 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
406 * sysdeps/i386/fpu/e_log2.S: Likewise.
407 * sysdeps/i386/fpu/e_log2l.S: Likewise.
408 * sysdeps/i386/fpu/e_scalb.S: Likewise.
409 * sysdeps/i386/fpu/e_powl.S: Likewise.
410 * sysdeps/i386/fpu/e_log10f.S: Likewise.
411 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
412 * sysdeps/i386/fpu/e_logl.S: Likewise.
413 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
414 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
415 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
416 * sysdeps/i386/fpu/e_log2f.S: Likewise.
417 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
418 * sysdeps/i386/fpu/e_log.S: Likewise.
419 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
420 * sysdeps/i386/fpu/e_logf.S: Likewise.
421 * sysdeps/i386/fpu/e_log10l.S: Likewise.
422 * sysdeps/i386/fpu/e_atanh.S: Likewise.
423 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
424 * sysdeps/i386/fpu/e_log10.S: Likewise.
425 * sysdeps/i386/fpu/s_frexp.S: Likewise.
426 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
427 * sysdeps/i386/fpu/s_asinh.S: Likewise.
428 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
429 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
430 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
431 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
432 * sysdeps/i386/i686/strtok.S: Likewise.
433 * sysdeps/i386/i386-mcount.S: Likewise.
434 * sysdeps/i386/strtok.S: Likewise.
435 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
436 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
437 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
438 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
439 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
440 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
441 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
442 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
443 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
444 * sysdeps/x86_64/_mcount.S: Likewise.
445 * sysdeps/x86_64/strtok.S: Likewise.
446 * sysdeps/sh/_mcount.S: Likewise.
447
2747bf9a
RM
4482012-08-01 Roland McGrath <roland@hack.frob.com>
449
450 * libio/iofopen.c: Include <fcntl.h>.
451 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
452 (_IO_fopen64, fopen64): Define as aliases.
453 * libio/iofopen64.c: Include <fcntl.h>.
454 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
455 Conditionalize body on this.
456 * sysdeps/wordsize-64/iofopen.c: File removed.
457 * sysdeps/wordsize-64/iofopen64.c: File removed.
458
3fb791b8
MP
4592012-08-01 Marek Polacek <polacek@redhat.com>
460
461 * libc/Makeconfig: Use elf in place of binfmt-subdir.
462 Use dlfcn directly instead of a variable.
463 (binfmt-subdir): Do not define.
464 (dlfcn): Likewise.
465
a9f1039f
JM
4662012-08-01 Joseph Myers <joseph@codesourcery.com>
467
23bddc06
JM
468 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
469 Remove all definitions.
470 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
471 <kernel-features.h>.
472 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
473 (miss_F_GETOWN_EX): Remove all definitions.
474 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
475 macro definition.
476 [!__ASSUME_FCNTL64]: Remove conditional code.
477 [__ASSUME_FCNTL64]: Make code unconditional.
478 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
479 <kernel-features.h>.
480 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
481 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
482 (lockf64) [__NR_fcntl64]: Make code unconditional.
483 (lockf64) [__ASSUME_FCNTL64]: Likewise.
484
a9f1039f
JM
485 * sysdeps/unix/sysv/linux/kernel-features.h
486 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
487 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
488 Make code unconditional.
489 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
490 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
492 [__NR_vfork]: Make code unconditional.
493 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
494 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
496 [__NR_vfork]: Make code unconditional.
497 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
498 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
499
09c0ee5f
RM
5002012-08-01 Roland McGrath <roland@hack.frob.com>
501
48aec5b9
RM
502 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
503 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
504
cd97c966
RM
505 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
506 Define mkstemp64 as an alias.
3f55550c
RM
507 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
508 Define mkstemps64 as an alias.
cd97c966
RM
509 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
510 Define mkostemp64 as an alias.
b8625cfc
RM
511 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
512 Define mkostemps64 as an alias.
cd97c966
RM
513 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
514 Conditionalize body on this.
515 * misc/mkostemp64.c: Likewise.
b8625cfc 516 * misc/mkostemps64.c: Likewise.
3f55550c 517 * misc/mkstemps64.c: Likewise.
cd97c966
RM
518 * sysdeps/wordsize-64/mkstemp64.c: File removed.
519 * sysdeps/wordsize-64/mkostemp64.c: File removed.
520 * sysdeps/wordsize-64/mkostemp.c: File removed.
521 * sysdeps/wordsize-64/mkstemp.c: File removed.
522 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
523 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
524 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
525 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
526
09c0ee5f
RM
527 [BZ #14138]
528 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
529 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
530 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
531 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
532
533 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
534 compat_symbol macros from <shlib-compat.h> rather than the underlying
535 default_symbol_version and symbol_version macros, so that DEFAULT
536 lines in shlib-versions are respected.
537 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
538
7e66ee51
FW
5392012-08-01 Florian Weimer <fweimer@redhat.com>
540
541 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
542 Declare with warn_unused_result.
543 (setgid, setregid, setegid, setresgid): Likewise.
544 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
545 Likewise.
546 * WUR-REPORT: Remove set*id functions.
547
d2a54255
PT
5482012-07-31 Pino Toscano <toscano.pino@tiscali.it>
549
550 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
551
7ecdb005
RM
5522012-07-31 Roland McGrath <roland@hack.frob.com>
553
789bd351
RM
554 * include/sys/socket.h (__libc_accept, __libc_accept4):
555 Add attribute_hidden.
556 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
557
40ce302d
RM
558 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
559 use of PTR_MANGLE.
560 * inet/getnetgrent_r.c (setup): Likewise.
561
7ecdb005
RM
562 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
563
e2eabb2c
DM
5642012-07-31 David S. Miller <davem@davemloft.net>
565
566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
567
d0419dbf
JM
5682012-07-31 Joseph Myers <joseph@codesourcery.com>
569
570 [BZ #13629]
571 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
572 value between 1.0 and 2.0 and smaller part has absolute value less
573 than 1.0.
574 * math/s_clog10.c (__clog10): Likewise.
575 * math/s_clog10f.c (__clog10f): Likewise.
576 * math/s_clog10l.c (__clog10l): Likewise.
577 * math/s_clogf.c (__clogf): Likewise.
578 * math/s_clogl.c (__clogl): Likewise.
579 * math/libm-test.inc (clog_test): Add more tests.
580 (clog10_test): Likewise.
581 * sysdeps/i386/fpu/libm-test-ulps: Update.
582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
583
2bc13872
FW
5842012-07-31 Florian Weimer <fweimer@redhat.com>
585
586 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
587 Exit with zero in case no suitable GID is found, and write a
588 message to standard error.
589
bea9b193
RM
5902012-07-30 Roland McGrath <roland@hack.frob.com>
591
592 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
593 rather than to 1.
594 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
595 (MAXPATHLEN): Removed.
596 (NOGROUP, NODEV): New macros.
597 (setbit, clrbit, isset, isclr): New macros.
598 (howmany, roundup, powerof2): New macros.
599 (DEV_BSIZE): New macro.
600
601 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
602 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
603
604 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
605 definition on [!__NO_LONG_DOUBLE_MATH].
606
607 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
608 PTR_MANGLE and PTR_DEMANGLE.
609
610 * socket/accept4.c (accept4): Rename to __libc_accept4.
611 Define accept4 as a weak alias.
612
613 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
614 on [_DIRENT_HAVE_D_TYPE].
615 * io/ftw.c (ftw_dir): Likewise.
616
617 * io/xmknod.c (__xmknod): Don't check PATH for being null.
618
619 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
620
621 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
622 Use the BSD numbers rather than the arbitrary ones we had.
623 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
624 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
625 (SIGXCPU, SIGXFSZ): New macros.
626 (_NSIG): Now 32.
627
628 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
629 initializer on [_LIBC_REENTRANT].
630
631 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
632 definitions inside [_POSIX_MAPPED_FILES].
633
634 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
635
636 * dirent/opendir.c: Include <fcntl.h>.
637
638 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
639 (__libc_getspecific): Likewise.
640 (__libc_key_create): Likewise.
641
642 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
643 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
644 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
645 (tmpfile64): Define as alias.
646 * sysdeps/wordsize-64/tmpfile.c: File removed.
647 * sysdeps/wordsize-64/tmpfile64.c: File removed.
648 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
649 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
650
651 * stdio-common/vfscanf.c: Include <stdbool.h>.
652 * nss/makedb.c: Likewise.
653 * stdio-common/_i18n_number.h: Likewise.
654 * argp/argp-help.c: Likewise.
655 * posix/wordexp.c: Likewise.
656 * sysdeps/posix/spawni.c: Likewise.
657 * nss/nss_files/files-initgroups.c: Likewise.
658 * stdio-common/reg-modifier.c: Include <stdlib.h>.
659 * nss/nss_files/files-initgroups.c: Likewise.
660 * nss/nss_db/db-netgrp.c: Likewise.
661 * nss/nss_db/db-initgroups.c: Likewise.
662 * io/fchmodat.c: Include <sys/stat.h>.
663
664 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
665 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
666
667 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
668 [HAVE_MMAP].
669
670 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
671 Add multiple inclusion protection.
672
e5abc686
DM
6732012-07-27 David S. Miller <davem@davemloft.net>
674
675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
676
815e6fa3
GB
6772012-07-27 Gary Benson <gbenson@redhat.com>
678
679 [BZ #14298]
680 * elf/rtld.c: Include <stap-probe.h>.
681 (dl_main): Added static probes "init_start" and "init_complete".
682 * elf/dl-load.c: Include <stap-probe.h>.
683 (lose): Take new parameter "nsid".
684 Added static probe "map_failed".
685 (_dl_map_object_from_fd): Pass namespace id to lose.
686 Added static probe "map_start".
687 (open_verify): Pass namespace id to lose.
688 * elf/dl-open.c: Include <stap-probe.h>.
689 (dl_open_worker) Added static probes "map_complete", "reloc_start"
690 and "reloc_complete".
691 * elf/dl-close.c: Include <stap-probe.h>.
692 (_dl_close_worker): Added static probes "unmap_start" and
693 "unmap_complete".
694 * elf/rtld-debugger-interface.txt: New file documenting the above.
695
9f98c16c
RM
6962012-07-26 Roland McGrath <roland@hack.frob.com>
697
698 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
699 rather than a string variable.
700 * sunrpc/rpc_main.c (h_output): Likewise.
701 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
702
f3c22df3
PT
7032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
704
705 * inet/check_native.c: New file.
706
3129cfc6
JM
7072012-07-26 Joseph Myers <joseph@codesourcery.com>
708
da865e95
JM
709 [BZ #13629]
710 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
711 if larger part has absolute value 1.0.
712 * math/s_clog10.c (__clog10): Likewise.
713 * math/s_clog10f.c (__clog10f): Likewise.
714 * math/s_clog10l.c (__clog10l): Likewise.
715 * math/s_clogf.c (__clogf): Likewise.
716 * math/s_clogl.c (__clogl): Likewise.
717 * math/libm-test.inc (clog_test): Add more tests.
718 (clog10_test): Likewise.
719 * sysdeps/i386/fpu/libm-test-ulps: Update.
720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
721
3129cfc6
JM
722 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
723 (pltexit): Likewise.
724 (La_regs): Likewise.
725 (La_retval): Likewise.
726 (int_retval): Likewise.
727 Update #error for removed macros to refer only to definitions in
728 tst-audit.h.
729 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
730 macro.
731 (pltexit): Likewise.
732 (La_regs): Likewise.
733 (La_retval): Likewise.
734 (int_retval): Likewise.
735 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
736 macro.
737 (pltexit): Likewise.
738 (La_regs): Likewise.
739 (La_retval): Likewise.
740 (int_retval): Likewise.
741 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
742 macro.
743 (pltexit): Likewise.
744 (La_regs): Likewise.
745 (La_retval): Likewise.
746 (int_retval): Likewise.
747 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
748 macro.
749 (pltexit): Likewise.
750 (La_regs): Likewise.
751 (La_retval): Likewise.
752 (int_retval): Likewise.
753 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
754 macro.
755 (pltexit): Likewise.
756 (La_regs): Likewise.
757 (La_retval): Likewise.
758 (int_retval): Likewise.
759 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
760 macro.
761 (pltexit): Likewise.
762 (La_regs): Likewise.
763 (La_retval): Likewise.
764 (int_retval): Likewise.
765 * sysdeps/generic/tst-audit.h: Update comment to refer only to
766 macro definitions in tst-audit.h.
767 * sysdeps/i386/tst-audit.h: New file.
768 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
769 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
770 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
771 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
772 * sysdeps/sh/tst-audit.h: Likewise.
773 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
774 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
775 * sysdeps/x86_64/tst-audit.h: Likewise.
776
bfc07087
AJ
7772012-07-26 Andreas Jaeger <aj@suse.de>
778
b1b2aaf8
AJ
779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
780 ptrace.
781
782 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
783 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
784 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
785 PTRACE_O_MASK.
786 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
787 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
788 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
789
bfc07087
AJ
790 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
791 value.
792
793 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
794 _sigsys.
795 (si_call_addr, si_syscall, si_arch): Define new macro.
796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
797 _sigsys.
798 (si_call_addr, si_syscall, si_arch): Define new marcro.
799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
800 _sigsys.
801 (si_call_addr, si_syscall, si_arch): Define new macro.
802 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
803 _sigsys.
804 (si_call_addr, si_syscall, si_arch): Define new macro.
805
89b4b02f
JM
8062012-07-25 Joseph Myers <joseph@codesourcery.com>
807
808 [BZ #13717]
809 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
810 Change to 2.4.21 where previously 2.4.1.
811 * sysdeps/unix/sysv/linux/configure: Regenerated.
812 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
813 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
814 Linux kernel version.
815 (__ASSUME_STD_AUXV): Remove.
816 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
817 kernel version.
818 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
819 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
820 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
821 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
822 (__ASSUME_NETLINK_SUPPORT): Likewise.
823 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
824 (__no_netlink_support): Remove conditional definition.
825 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
826 Remove.
827 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
828 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
829 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
830 (if_nameindex_ioctl): Remove.
831 (if_nameindex_netlink): Do not handle __no_netlink_support.
832 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
833 code.
834 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
835 Remove conditional code.
836 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
837 code.
838 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
839 unconditional.
840 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
841 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
842 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
843 Remove.
844 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
845 [!__ASSUME_STD_AUXV]: Remove conditional code.
846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
847 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
848 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
850 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
851 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
852 code.
853 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
855 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
856 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
857 conditional code.
858 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
860 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
861 code.
862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
863 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
864 conditional code.
865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
866 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
867 code unconditional.
868 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
869 conditional code.
870 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
871 unconditional.
872 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
873 conditional code.
874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
875 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
876 unconditional.
877 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
878 conditional code.
879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
880 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
881 code unconditional.
882 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
883 conditional code.
884 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
885 unconditional.
886 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
887 conditional code.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
889 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
890 code unconditional.
891 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
892 conditional code.
893 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
894 unconditional.
895 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
896 conditional code.
897
842a39cd
AS
8982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
899
900 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
901 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
902 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
903 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
904 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
905 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
906 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
907 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
908 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
909 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
910 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
911 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
912 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
913 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
915 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
916 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
917 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
918 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
920 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
921 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
923
84b3fd84
FW
9242012-07-25 Florian Weimer <fweimer@redhat.com>
925
926 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
927 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
928 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
929 Introduce __libc_secure_getenv.
0c7936d5
FW
930 * stdlib/Versions (2.17): Add secure_getenv
931 (GLIBC_PRIVATE): Add __libc_secure_getenv.
932 * stdlib/secure-getenv.c: Rename __secure_getenv to
933 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
934 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
935 * stdlib/tst-secure-getenv.c: New.
936 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
937 * manual/startup.texi (Environment Access): Document
938 secure_getenv.
84b3fd84
FW
939 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
940 __libc_secure_getenv.
941 * inet/ruserpass.c (ruserpass): Likewise.
942 * malloc/mtrace.c (mtrace): Likewise.
943 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 944 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
945 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
946 * sysdeps/posix/tempname.c: Likewise. Evaluate
947 HAVE_SECURE_GETENV.
948 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 949 __secure_getenv to __libc_secure_getenv.
84b3fd84 950 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
952 Likewise.
953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
954 Likewise.
955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 962
56e49b71
JM
9632012-07-25 Joseph Myers <joseph@codesourcery.com>
964
965 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
966 (struct La_i86_retval): Likewise.
967 (struct La_x86_64_regs): Likewise.
968 (struct La_x86_64_retval): Likewise.
969 (struct La_x32_regs): Likewise.
970 (struct La_x32_retval): Likewise.
971 (struct La_ppc32_regs): Likewise.
972 (struct La_ppc32_retval): Likewise.
973 (struct La_ppc64_regs): Likewise.
974 (struct La_ppc64_retval): Likewise.
975 (struct La_sh_regs): Likewise.
976 (struct La_sh_retval): Likewise.
977 (struct La_s390_32_regs): Likewise.
978 (struct La_s390_32_retval): Likewise.
979 (struct La_s390_64_regs): Likewise.
980 (struct La_s390_64_retval): Likewise.
981 (struct La_sparc32_regs): Likewise.
982 (struct La_sparc32_retval): Likewise.
983 (struct La_sparc64_regs): Likewise.
984 (struct La_sparc64_retval): Likewise.
985 (struct audit_ifaces): Remove architecture-specific pltenter and
986 pltexit members.
987 * sysdeps/i386/ldsodefs.h: New file.
988 * sysdeps/powerpc/ldsodefs.h: Likewise.
989 * sysdeps/s390/ldsodefs.h: Likewise.
990 * sysdeps/sh/ldsodefs.h: Likewise.
991 * sysdeps/sparc/ldsodefs.h: Likewise.
992 * sysdeps/x86_64/ldsodefs.h: Likewise.
993
354691b7
MP
9942012-07-25 Marek Polacek <polacek@redhat.com>
995
996 [BZ #6808]
997 * math/libm-test.inc (yn_test): Add another test.
998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
999 to ERANGE when the result is +-Inf.
1000 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1001 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1002 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1003 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1004
bf9e2071
JM
10052012-07-24 Joseph Myers <joseph@codesourcery.com>
1006
1007 * conform/data/time.h-data (NULL): Use macro-constant. Require
1008 equal to 0.
1009 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1010 clock_t.
1011 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1012
57633811
TS
10132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1014
1015 * configure.in <sysdeps resolving>: Correct printing
1016 Implies_before.
1017 * configure: Regenerate.
1018
c23c33b0
TS
10192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1020
1021 * math/w_ilogb.c: Include <limits.h>.
1022 * math/w_ilogbl.c: Likewise.
1023
b5982523
JM
10242012-07-20 Joseph Myers <joseph@codesourcery.com>
1025
1026 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1027 va_copy. Document allowing for unavailable va_copy only as
1028 pre-C99 compatibility.
1029 * manual/string.texi (Copying and Concatenation): Use va_copy
1030 instead of __va_copy in concat example.
1031
ac4ea442
PT
10322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1033
1034 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1035 (__sendto): Use create_address_port. Initialize APORT and deallocate
1036 it if not null.
1037
f98eafbd
PT
1038 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1039 with O_NOLINK passed to __file_name_lookup.
1040
898c7aab
PT
1041 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1042 with O_NOLINK passed to __file_name_lookup.
1043
0ced335a
PT
1044 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1045 negative N or less than NGIDS.
1046
b3404dbd
PT
1047 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1048 type to string_t. Set ERANGE as errno and return it if NAME is not big
1049 enough. Use memcpy instead of strncpy.
1050
0f48659e
JM
10512012-07-20 Joseph Myers <joseph@codesourcery.com>
1052
1053 * elf/Makefile (check-data): Remove.
1054 (localplt.data): New vpath directive.
1055 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1056 instead of $(check-data).
1057 * scripts/data/localplt-generic.data: Move to ...
1058 * sysdeps/generic/localplt.data: ... here.
1059 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1060 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1061 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1063 ... here.
1064 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1066 ... here.
1067 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1069 ... here.
1070 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1072 ... here.
1073 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1075 ... here.
1076 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1078 ... here.
1079
d37cbdaa
AZ
10802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1081
1082 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1083 PPC32 and PPC64 files.
1084 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1085 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1086
46f85fc2
AK
10872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1088
1089 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1090 __makecontext_ret to ...
1091 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1092 ... here and call exit if uc_link is NULL. New file.
1093 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1094 __makecontext_ret.S.
1095 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1096 __makecontext_ret to ...
1097 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1098 ... here and call exit if uc_link is NULL. New file.
1099 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1100 __makecontext_ret.S.
1101
08f43f9b
AK
11022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1103
1104 * elf/elf.h (R_390_IRELATIVE): New definition.
1105 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1106 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1107 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1109 (elf_machine_lazy_rel): Likewise.
1110 * sysdeps/s390/dl-irel.h: New file.
1111 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1112 * sysdeps/s390/s390-64/memset.S: New asm code.
1113 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1114 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1115 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1116 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1117 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1118 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1119 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1120 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1121 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1122 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1123 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1124 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1125 * sysdeps/s390/s390-32/memset.S: New asm code.
1126 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1127
3b05db33
MP
11282012-07-17 Marek Polacek <polacek@redhat.com>
1129
1130 [BZ #14349]
1131 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1132 * sysdeps/s390/s390-64/configure.in: Likewise.
1133 * sysdeps/sparc/configure.in: Likewise.
1134 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1135 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1136 * sysdeps/i386/configure.in: Likewise.
1137 * sysdeps/x86_64/configure.in: Likewise.
1138 * sysdeps/sh/configure.in: Likewise.
1139 * sysdeps/s390/s390-32/configure: Regenerated.
1140 * sysdeps/s390/s390-64/configure: Likewise.
1141 * sysdeps/x86_64/configure: Likewise.
1142 * sysdeps/sh/configure: Likewise.
1143 * sysdeps/powerpc/powerpc64/configure: Likewise.
1144 * sysdeps/powerpc/powerpc32/configure: Likewise.
1145 * sysdeps/sparc/configure: Likwise.
1146 * sysdeps/i386/configure: Likewise.
1147
a66877c6
MP
1148 * elf/dl-open.c: Comment fixes.
1149
cfc82fd8
JM
11502012-07-17 Joseph Myers <joseph@codesourcery.com>
1151
bd29910a
JM
1152 * Makefile [CXX] (check-data): Remove.
1153 [CXX] (c++-types.data): New vpath directive.
1154 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1155 vpath. Do not allow for C++ type data being missing.
1156 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1157 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1158 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1159 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1160 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1161 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1162 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1164 ... here.
1165 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1167 ... here.
1168 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1170 ... here.
1171 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1173 ... here.
1174 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1176 ... here.
1177 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1179 ... here.
1180 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1182 ... here.
1183 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1185
cfc82fd8
JM
1186 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1187 definitions to architecture-specific files.
1188 (TLS_IE): Likewise.
1189 (TLS_LD): Likewise.
1190 (TLS_GD): Likewise.
1191 * sysdeps/i386/tls-macros.h: New file.
1192 * sysdeps/powerpc/tls-macros.h: Likewise.
1193 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1194 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1195 * sysdeps/sh/tls-macros.h: Likewise.
1196 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1197 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1198 * sysdeps/x86_64/tls-macros.h: Likewise.
1199
f7db3170
TS
12002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1201
07cbfc23
TS
1202 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1203 zero value for regular exit case.
1204
f7db3170
TS
1205 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1206 (__start_context): Preserve zero value for regular exit case.
1207
dc97c227
TS
12082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1209 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1210
1211 * manual/setjmp.texi (setcontext): Clarify normal process
1212 termination when uc_link is the null pointer.
1213 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1214 exit call.
1215
d0cd7d02
AS
12162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1217
1218 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1219 preprocessor. Test for each exception mask separately.
1220
dd318934
AJ
12212012-07-16 Andreas Jaeger <aj@suse.de>
1222
1223 * po/ru.po: Update from translation team.
1224
8048311a
JM
12252012-07-15 Joseph Myers <joseph@codesourcery.com>
1226
1227 * conform/data/string.h-data (NULL): Use macro-constant. Require
1228 equal to 0.
1229 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1230 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1231 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1232 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1233 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1234
b637d46e
AJ
12352012-07-13 Andreas Jaeger <aj@suse.de>
1236
1237 * po/fr.po: Update from translation team.
1238
541428fe
MP
12392012-07-12 Marek Polacek <polacek@redhat.com>
1240
1241 [BZ #14173]
1242 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1244 loop condition.
1245
ec332e94
JM
12462012-07-12 Joseph Myers <joseph@codesourcery.com>
1247
1248 [BZ #13717]
1249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1250 Change to 2.4.1 where previously 2.4.0.
1251 * sysdeps/unix/sysv/linux/configure: Regenerated.
1252 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1253 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1254 version.
1255 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1256 (__ASSUME_AT_CLKTCK): Remove.
1257 (__ASSUME_AT_PAGESIZE): Likewise.
1258 (__ASSUME_AT_XID): Likewise.
1259 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1260 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1261 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1262 unconditionally.
1263 (HAVE_AUX_PAGESIZE): Likewise.
1264 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1265 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1266 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1267
7b6e99be
JB
12682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1269
1270 [BZ #14307]
1271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1272 the temporary buffer used to invoke __gethostbyname2_r,
1273 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1274 host_data / struct gaih_addrtuple.
1275 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1276 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1277 header file nss/nsswitch.h.
1278 * nss/nsswitch.h (global scope): Add definition of implementation
1279 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1280 resolv/nss_dns/dns-host.c).
1281
608404eb
AJ
12822012-07-11 Andreas Jaeger <aj@suse.de>
1283
1284 * po/fr.po: Update from translation team.
1285
71220aca
AJ
1286 * po/sv.po: Update from translation team
1287 * po/fr.po: Another update from translation team.
1288
28cfe843
AZ
12892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1290
1291 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1292 for subnormals or multiply small sinh result by itself.
1293 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1295
6b90f981
DM
12962012-07-11 David S. Miller <davem@davemloft.net>
1297
1298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1299
c6825772
AS
13002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1301
1302 [BZ #14347]
1303 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1304 (INTERNAL_MARK): Shift it here.
1305
7b8e0d49
MP
13062012-07-10 Marek Polacek <polacek@redhat.com>
1307
1308 [BZ #14151]
1309 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1310 libc_cv_asm_global_directive with .globl.
1311 * configure: Regenerated.
1312 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1313 with .globl.
1314 * sysdeps/i386/configure: Regenerated.
1315 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1316 with .globl.
1317 * sysdeps/x86_64/configure: Regenerated.
1318 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1319 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1320 * elf/tst-unique2mod2.c: Likewise.
1321 * elf/tst-unique2mod1.c: Likewise.
1322 * elf/tst-unique1mod2.c: Likewise.
1323 * elf/tst-unique1mod1.c: Likewise.
1324 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1325 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1326 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1327 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1328 * sysdeps/mach/sysdep.h: Likewise.
1329 * sysdeps/i386/sysdep.h: Likewise.
1330 * sysdeps/i386/i386-mcount.S: Likewise.
1331 * sysdeps/x86_64/_mcount.S: Likewise.
1332 * sysdeps/x86_64/sysdep.h: Likewise.
1333 * sysdeps/sh/_mcount.S: Likewise.
1334 * sysdeps/sh/sysdep.h: Likewise.
1335 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1336 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1337 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1338 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1339 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1340 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1341 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1342 * locale/localeinfo.h: Likewise.
1343 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1344 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1345
6c55cda3
RM
13462012-07-09 Roland McGrath <roland@hack.frob.com>
1347
1348 [BZ #14336]
1349 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1350 system".
1351 * manual/message.texi (The Uniforum approach): Likewise.
1352 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1353 (glibc iconv Implementation): Likewise.
1354
638a572e
JM
13552012-07-09 Joseph Myers <joseph@codesourcery.com>
1356
1357 [BZ #14337]
1358 * math/s_clog.c (__clog): Avoid scaling a value down where that
1359 could result in underflow.
1360 * math/s_clog10.c (__clog10): Likewise.
1361 * math/s_clog10f.c (__clog10f): Likewise.
1362 * math/s_clog10l.c (__clog10l): Likewise.
1363 * math/s_clogf.c (__clogf): Likewise.
1364 * math/s_clogl.c (__clogl): Likewise.
1365 * math/libm-test.inc (clog_test): Add more tests.
1366 (clog10_test): Likewise.
1367 * sysdeps/i386/fpu/libm-test-ulps: Update.
1368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1369
261f4859
AS
13702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1371
0abaf3e4
AS
1372 [BZ #14283]
1373 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1374 by 7 not 8 to examine high bit of fractional part.
1375
261f4859
AS
1376 [BZ #14042]
1377 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1378 for call to __mcount_internal.
1379 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1380 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1381 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1382
f17ac40d
JM
13832012-07-06 Joseph Myers <joseph@codesourcery.com>
1384
9ad63c23
JM
1385 [BZ #14154]
1386 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1387 approximation for values within 0x1p-13f of an odd multiple of
1388 pi/4.
1389 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1390 exception. Add more tests.
1391 * sysdeps/i386/fpu/libm-test-ulps: Update.
1392
f17ac40d
JM
1393 [BZ #6778]
1394 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1395 inputs and return -1 for them. Do not check for +Inf in case not
1396 reachable for +Inf.
1397 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1398 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1400 and return -1 for them. Do not check for +Inf in case not
1401 reachable for +Inf.
1402 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1403 define.
1404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1405 and return -1 for them. Do not check for +Inf in case not
1406 reachable for +Inf.
1407 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1408 spurious underflow.
1409 * sysdeps/i386/fpu/libm-test-ulps: Update.
1410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1411
fb21f89b
MF
14122012-07-06 Mike Frysinger <vapier@gentoo.org>
1413
1414 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1415
cdfe2c5e
JM
14162012-07-05 Joseph Myers <joseph@codesourcery.com>
1417
1418 [BZ #14157]
1419 [BZ #14331]
1420 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1421 could result in spurious underflow. Scale down values above
1422 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1423 * math/s_csqrtf.c (__csqrtf): Likewise.
1424 * math/s_csqrtl.c (__csqrtl): Likewise.
1425 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1426 spurious underflow.
1427 * sysdeps/i386/fpu/libm-test-ulps: Update.
1428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1429
70d35b67
AS
14302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1431
704bc459
AS
1432 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1433 xopen-msg.sed.
1434 * catgets/xopen-msg.awk: New file.
1435 * catgets/xopen-msg.sed: Removed.
1436
70d35b67
AS
1437 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1438 po2text.sed.
1439 * intl/po2test.awk: New file.
1440 * intl/po2test.sed: Removed.
1441
ca61cf32
JM
14422012-07-04 Joseph Myers <joseph@codesourcery.com>
1443
1444 [BZ #14328]
1445 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1446 or multiply small sinh result by itself.
1447 * math/s_ctanf.c (__ctanf): Likewise.
1448 * math/s_ctanh.c (__ctanh): Likewise.
1449 * math/s_ctanhf.c (__ctanhf): Likewise.
1450 * math/s_ctanhl.c (__ctanhl): Likewise.
1451 * math/s_ctanl.c (__ctanl): Likewise.
1452 * math/libm-test.inc (ctan_test_tonearest): New function.
1453 (ctan_test_towardzero): Likewise.
1454 (ctan_test_downward): Likewise.
1455 (ctan_test_upward): Likewise.
1456 (ctanh_test_tonearest): Likewise.
1457 (ctanh_test_towardzero): Likewise.
1458 (ctanh_test_downward): Likewise.
1459 (ctanh_test_upward): Likewise.
1460 (main): Call these new functions.
1461 * sysdeps/i386/fpu/libm-test-ulps: Update.
1462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1463
ca48a46a
MF
14642012-07-03 Mike Frysinger <vapier@gentoo.org>
1465
1466 * .gitignore: Delete /ports entry.
1467
9d63d37d
AJ
14682012-07-03 Andreas Jaeger <aj@suse.de>
1469
1470 * po/bg.po: Update from translation team.
1471 * po/cs.po: Likewise.
1472 * po/de.po: Likewise.
1473 * po/hr.po: Likewise.
1474 * po/nl.pl: Likewise.
1475 * po/pl.po: Likewise.
1476 * po/vi.po: Likewise.
1477
370ca3d2
JM
14782012-07-03 Joseph Myers <joseph@codesourcery.com>
1479
95f5a9a8
JM
1480 * Makeconfig [!+link] (+link-before-libc): New variable.
1481 [!+link] (+link-after-libc): Likewise.
1482 [!+link] (+link-tests): Likewise.
1483 [!+link] (+link): Define in terms of $(+link-before-libc) and
1484 $(+link-after-libc).
1485 [!+link-static] (+link-static-before-libc): New variable.
1486 [!+link-static] (+link-static-after-libc): Likewise.
1487 [!+link-static] (+link-static-tests): Likewise.
1488 [!+link-static] (+link-static): Define in terms of
1489 $(+link-static-before-libc) and $(+link-static-after-libc).
1490 [build-shared] (link-libc-before-gnulib): New variable.
1491 [build-shared] (link-libc-tests): Likewise.
1492 [build-shared] (link-libc): Define in terms of
1493 $(link-libc-before-gnulib).
1494 [!build-shared] (link-libc-tests): New variable.
1495 (link-libc-static-tests): New variable.
1496 [!gnulib] (gnulib-arch): New variable.
1497 [!gnulib] (gnulib-tests): Likewise.
1498 [!gnulib] (static-gnulib-arch): Likewise.
1499 [!gnulib] (static-gnulib-tests): Likewise.
1500 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1501 Define with "=" instead of ":=".
1502 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1503 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1504 * Rules (binaries-all-notests): New variable.
1505 (binaries-all-tests): Likewise.
1506 (binaries-static-notests): Likewise.
1507 (binaries-static-tests): Likewise.
1508 (binaries-all): Define using $(binaries-all-notests) and
1509 $(binaries-all-tests).
1510 (binaries-static): Define using $(binaries-static-notests) and
1511 $(binaries-static-tests).
1512 (binaries-shared-tests): New variable.
1513 (binaries-shared-notests): Likewise.
1514 (binaries-shared): Remove variable.
1515 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1516 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1517 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1518 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1519 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1520 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1521 * elf/Makefile (sln-modules): New variable.
1522 (extra-objs): Add $(sln-modules:=.o).
1523 (ldconfig-modules): Add static-stubs.
1524 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1525 * elf/static-stubs.c: New file.
1526
7a845b2c
JM
1527 [BZ #14283]
1528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1529 by 7 not 8 to examine high bit of fractional part. Use volatile
1530 variables when splitting into final array of floats if
1531 __FLT_EVAL_METHOD__ != 0.
1532 * math/libm-test.inc (cos_test): Add another test.
1533 (sin_test): Likewise.
1534 * sysdeps/i386/fpu/libm-test-ulps: Update.
1535
e2283f38
JM
1536 [BZ #14273]
1537 * math/libm-test.inc (cosh_test): Add more tests.
1538
370ca3d2
JM
1539 * version.h (RELEASE): Set to "development".
1540 (VERSION): Set to "2.16.90".
1541
ee9247c3
CD
15422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1543
1544 * NEWS: Update copyright. Remove last-updated date.
1545 Mention math library bug fixes and timezone data changes.
1546 * README: Mention GNU/Hurd, x32, and HPPA support status.
1547
4648c381
TS
15482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1549
1550 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1551
aac78a43
AJ
15522012-06-27 Andreas Jaeger <aj@suse.de>
1553
1554 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1555
ed3dbfad
AJ
15562012-06-25 Andreas Jaeger <aj@suse.de>
1557
1558 * sysdeps/s390/fpu/libm-test-ulps: Update.
1559
4d0ee855
AS
15602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1561 Thomas Schwinge <thomas@codesourcery.com>
1562
1563 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1564 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1566 fanotify_mark.
1567
af1bce34
TS
15682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1569
a9fa33ba
TS
1570 * sysdeps/mach/start.c: Remove file.
1571 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1572 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1573 * sysdeps/sh/init-first.c: Likewise.
1574
58f902b8
TS
1575 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1576 registers for frame unwinding purposes, add CFI directives.
1577 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1578 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1579 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1580 Likewise.
1581
1518f58b
TS
1582 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1583 __fortify_fail returning.
1584 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1585
db9b5059
TS
1586 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1587 sysdeps/sh/____longjmp_chk.S.
1588 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1589 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1590 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1591 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1592
967705fe
TS
1593 * sysdeps/sh/abort-instr.h: New file.
1594 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1595 process in case exit returns.
1596
a9def8c4
TS
1597 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1598 initialize the GOT register before use.
1599
2a649725
TS
1600 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1601 calculation of ARGC > 4.
1602
af1bce34
TS
1603 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1604 meaningful names to some local labels.
1605
d230f50a
KK
16062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1607 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1608
1609 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1610 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1611 (__arch_compare_and_exchange_val_16_acq): Likewise.
1612 (__arch_compare_and_exchange_val_32_acq): Likewise.
1613 (atomic_exchange_and_add): Fix gUSA sequence.
1614 (atomic_add): Likewise.
1615 (atomic_add_negative): Likewise.
1616 (atomic_add_zero): Likewise.
1617 (atomic_bit_test_set): Likewise.
1618
0479b305
AS
16192012-06-22 Andreas Schwab <schwab@redhat.com>
1620
1621 [BZ #13579]
1622 * include/link.h (struct link_map): Add l_free_initfini.
1623 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1624 l_initfini.
1625 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1626 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1627 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1628 set.
1629
0e3933b9
CD
16302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1631
1632 * configure.in: Use AC_LANG_SOURCE.
1633 * configure: Regenerate.
1634
4248b1b1
RM
16352012-06-22 Roland McGrath <roland@hack.frob.com>
1636
1637 * configure.in (libc_cv_localstatedir): New substituted variable.
1638 * configure: Regenerated.
1639 * config.make.in (localstatedir): New variable, substituted from
1640 libc_cv_localstatedir.
1641 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1642 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1643 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1644 * sysdeps/gnu/configure: Regenerated.
1645
006dd861
JL
16462012-06-21 Jeff Law <law@redhat.com>
1647
1648 [BZ #14277]
1649 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1650 free. Simplify list management for _LIBC case.
1651
79662d42
JM
16522012-06-21 Joseph Myers <joseph@codesourcery.com>
1653
b7abb4bf
JM
1654 [BZ #14273]
1655 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1656 Clear sign bit of 64-bit integer value before comparing against
1657 overflow value.
1658
79662d42
JM
1659 * sysdeps/mach/configure: Regenerated.
1660
1f150908
L
16612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1662
1663 [BZ #14278]
1664 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1665
28363bbf
JL
16662012-06-21 Jeff Law <law@redhat.com>
1667
1668 [BZ #13882]
1669 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1670 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1671 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1672 * elf/dl-open.c (dl_open_worker): Likewise.
1673
09615db4
CD
16742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1675
1676 * scripts/list-sources.sh: Scan PORTS for translations.
1677 * po/libc.pot: Regenerated.
1678
2174c6dd
AJ
16792012-06-21 Andreas Jaeger <aj@suse.de>
1680
1681 [BZ #12194]
1682 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1683 warning.
1684 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1685 * bits/byteswap-16.h (__bswap_16): Likewise.
1686 * bits/byteswap.h (__bswap_constant_16): Likewise.
1687
3ee947b1
L
16882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1689
1690 [BZ #14117]
a2f34833
L
1691 * sysdeps/i386/fpu_control.h: Removed.
1692 * sysdeps/x86_64/fpu_control.h: Moved to ...
1693 * sysdeps/x86/fpu_control.h: Here.
1694
3ee947b1
L
1695 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1696 (_FPU_SETCW): Likewise.
1697
ed1825f8
L
16982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1699
25f1282a
L
1700 [BZ #14117]
1701 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1702 * sysdeps/x86/fpu/bits/mathinline.h: This.
1703 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1704
ed1825f8
L
1705 [BZ #14050]
1706 [BZ #14117]
1707 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1708 functions if __x86_64__ is defined.
1709
36d54b74
CLT
17102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1711
1712 * string/endian.h: Add !__ASSEMBLER__ condition for including
1713 conversion interfaces.
1714
10285c21
JM
17152012-06-15 Joseph Myers <joseph@codesourcery.com>
1716
1717 [BZ #14241]
1718 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1719 of ABS(x) in calculating zero to negative powers other than odd
1720 integers.
1721 * math/libm-test.inc (pow_test): Add more tests.
1722
06c5abbd
AJ
17232012-06-15 Andreas Jaeger <aj@suse.de>
1724
1725 * manual/contrib.texi (Contributors): Update entry of Liubov
1726 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1727 Machado Filho.
1728
a3aeac40
CH
17292012-06-15 Cyril Hrubis <metan@ucw.cz>
1730
1731 * string/string.h: Add __wur to GNU version of strerror_r.
1732
49bdf4c1
L
17332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1734
1735 [BZ #14229]
1736 * string/Makefile (tests): Add tst-strtok_r.
1737 * string/tst-strtok_r.c: New file.
1738 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1739 RAX_LP/RDX_LP on SAVE_PTR.
1740
834f9b8d
RM
17412012-06-14 Roland McGrath <roland@hack.frob.com>
1742
1743 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1744
75fa1921
JM
17452012-06-14 Joseph Myers <joseph@codesourcery.com>
1746
1747 * libm_test.inc (csqrt_test): Allow more spurious underflow
1748 exceptions.
1749 (j0_test): Likewise.
1750 (j1_test): Likewise.
1751 (y0_test): Likewise.
1752 (y1_test): Likewise.
1753
771766df
CD
17542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1755
1756 * po/Makefile (libc.pot): Use UTF-8 charset.
1757
ceb9e56b
PP
17582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1759
1760 [BZ #14210]
1761 Suppress sign-conversion warning from FD_SET.
1762 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1763 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1764 not unsigned long int.
1765 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1766
ddb28975
L
17672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1768
1769 [BZ #14050]
1770 [BZ #14117]
1771 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1772 __extern_always_inline instead of __extern_inline.
1773 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1774 (__signbit): Likewise.
1775 (__signbitl): Support C++ namespace.
1776 (lrintf): New inline function.
1777 (lrint): Likewise.
1778 (llrintf): Likewise.
1779 (llrint): Likewise.
1780 (fmaxf): Likewise.
1781 (fmax): Likewise.
1782 (fminf): Likewise.
1783 (fmin): Likewise.
1784 (rint): Likewise.
1785 (rintf): Likewise.
1786 (ceil): Likewise.
1787 (ceilf): Likewise.
1788 (floor): Likewise.
1789 (floorf): Likewise.
1790 (nearbyint): Likewise.
1791 (nearbyintf): Likewise.
1792
d7b4fb26
TS
17932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1794
1795 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1796 non-default versions.
1797
eb55f5c2
RM
17982012-06-11 Roland McGrath <roland@hack.frob.com>
1799
1800 [BZ #14218]
1801 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1802
366af02c
TS
18032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1804
99ff6e5c
TS
1805 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1806 (FE_UPWARD, FE_DOWNWARD): Don't define.
1807 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1808 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1809
366af02c
TS
1810 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1811 reading it.
1812 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1813 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1814
793ea851
KK
18152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1816
1817 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1819 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1820 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1821
a728a38f
L
18222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1823
1824 [BZ #14117]
c08010c7
L
1825 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1826 * sysdeps/i386/fpu/Implies: New file.
1827 * sysdeps/x86_64/fpu/Implies: Likewise.
1828 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1829 * sysdeps/x86/fpu/bits/fenv.h: This.
1830
a728a38f
L
1831 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1832 __SSE_MATH__.
1833
6e230d11
SP
18342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1835
1836 [BZ #14134]
1837 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1838 character 0xffff that matches the last element of the
1839 conversion table.
1840
1b671feb
AZ
18412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1842
1843 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1844 fmodl commit.
1845
6043738b
AZ
18462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1847
1848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1849 values higher than 25.6283.
1850
34ae0b32
AZ
18512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1852
1853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1854 subnormal exponent extraction and add some __builtin_expect.
1855 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1856 Fix for subnormal mantissa calculation.
1857
1214ec8f
MF
18582012-06-04 Mike Frysinger <vapier@gentoo.org>
1859
1860 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1861 cpu2 is -1 and errno is not ENOSYS.
1862
f3d1f93c
L
18632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1864
1865 [BZ #14117]
0e4a3cd7
L
1866 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1867 * sysdeps/x86/bits/string.h: This.
1868 * sysdeps/x86_64/bits/string.h: Removed.
1869
6704c645
L
1870 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1871 if not compiling for x86-64, but compiling for >= i486.
1872
48495318
L
1873 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1874 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1875
14adcbfc
L
1876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1877 New macro from Linux kernel 3.4.0.
1878 (FP_XSTATE_MAGIC2): Likewise.
1879 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1880 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1881 (struct _fpx_sw_bytes): New struct.
1882 (struct _xsave_hdr): Likewise.
1883 (struct _ymmh_state): Likewise.
1884 (struct _xstate): Likewise.
1885
68e408ab
L
1886 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1887 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1889 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1890 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1891 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1892
f3d1f93c
L
1893 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1894 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1895 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1896 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1897 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1898 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1899
d9dc34cd
TMQMF
19002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1901
1902 [BZ #13743]
1903 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1904 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1905 (sysdep_headers): Include sys/platform/ppc.h.
1906 * sysdeps/powerpc/test-gettimebase.c: Test for
1907 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1908 * manual/Makefile (appendices): Include platform.texi.
1909 * manual/contrib.texi (Contributors): Update @node pointers.
1910 * manual/maint.texi (Maintenance): Likewise.
1911 (Platform): New node.
1912 * manual/platform.texi: New file. Document the new features.
1913
4af3879c
SP
19142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1915 Jakub Jelinek <jakub@redhat.com>
1916
1917 [BZ #14188]
1918 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1919 where __builtin_expect is unavailable.
1920
2fd6ff13
DM
19212012-06-03 David S. Miller <davem@davemloft.net>
1922
1923 * stdlib/longlong.h: Updated from GCC.
1924
173f7220
AS
19252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1926
1927 [BZ #14042]
1928 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1929 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1930 __mcount_internal.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1932 (GLIBC_2.16): Likewise.
1933
f34a1c6f
L
19342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1935
1936 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1937
88a4576f
JM
19382012-06-01 Joseph Myers <joseph@codesourcery.com>
1939
ea32bcdd
JM
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1941 (default-abi): New variable.
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1943 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1944 variable.
1945 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1946 Likewise.
1947 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1948 Likewise.
1949 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1950 Likewise.
1951
88a4576f
JM
1952 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1953 definition. Document in comment.
1954
402fe938
DM
19552012-06-01 David S. Miller <davem@davemloft.net>
1956
1957 * stdlib/longlong.h: Updated from GCC.
1958
3553723f
L
19592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1960
1961 [BZ #14117]
3bd872c4
L
1962 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1963 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1964 sys/debugreg.h sys/io.h here.
1965 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1966 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1967 sys/io.h.
1968 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1969 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1970 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1971 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1972 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1973 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1974
3553723f
L
1975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1976 Define only if __x86_64__ is defined.
1977
4842e4fe
JM
19782012-06-01 Joseph Myers <joseph@codesourcery.com>
1979
c5bfe3d5
JM
1980 [BZ #14048]
1981 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1982 Use int64_t for variable i.
1983 * math/libm-test.inc (fmod_test): Add more tests.
1984
4842e4fe
JM
1985 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1986 z computation is not scheduled after fetestexcept.
1987 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1988 Use math_force_eval instead of asm to ensure calculation scheduled
1989 before exception test.
1990 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1991 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1992
efb73488
AJ
19932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1994
1995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1996 computation is not scheduled after fetestexcept.
1997
29bcce7c
L
19982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1999
2000 [BZ #14117]
2001 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2002 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2003
73a68f94
AZ
20042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2005
2006 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2007 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2008
67b6df78
L
20092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2010
edf2933a 2011 [BZ #14117]
ebc64a18
L
2012 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2013 <bits/wordsize.h>.
2014 (__WCHAR_MIN): Support __WORDSIZE == 64.
2015 (__WCHAR_MAX): Likewise.
2016
edf2933a
L
2017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2018 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2019
57c6cf40
L
2020 [BZ #14183]
2021 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2022 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2023
67b6df78 2024 [BZ #14117]
8eb6281e
L
2025 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2026 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2027
aac639f4
L
2028 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2029 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2030
67b6df78
L
2031 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2032 Defined to 1 if __x86_64__ isn't defined.
2033 (_STAT_VER_LINUX_OLD): New.
2034 (st_atime): Remove duplicate.
2035 (st_mtime): Likewise.
2036 (st_ctime): Likewise.
2037
1c2cfe81
DM
20382012-05-31 David S. Miller <davem@davemloft.net>
2039
2040 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2041 entries.
2042
5be8418c
AS
20432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2044
e7725326
AS
2045 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2046 gen-libm-test.pl.
2047
5be8418c
AS
2048 [BZ #14132]
2049 * elf/dl-reloc.c: Include <_itoa.h>.
2050 (_dl_reloc_bad_type): Remove use of INTUSE.
2051 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2052 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2053 * stdio-common/psiginfo.c (psiginfo): Likewise.
2054 * stdio-common/psignal.c (psignal): Likewise.
2055 * string/strsignal.c (strsignal): Likewise.
2056 * include/signal.h (_sys_siglist): Declare hidden proto.
2057 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2058 INTVARDEF with libc_hidden_data_def.
2059 * stdio-common/itoa-udigits.c: Likewise.
2060 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2061 (_itoa_lower_digits_internal): Remove declaration.
2062 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2063 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2064 (_sys_sigabbrev_internal): Remove aliases.
2065 (_sys_siglist): Define hidden alias.
2066
507352f1
MT
20672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2068
2069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2070 bits/sysctl.h.
2071
42bbb1c3
L
20722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2073
2074 [BZ #14117]
6bd784b6
L
2075 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2076 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2077
8bca20f0
L
2078 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2079 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2080 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2081 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2082 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2083 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2084
f9e890a9
L
2085 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2086 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2087 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2088
471101a1
L
2089 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2090 with __addr.
2091 (insw): Likewise.
2092 (insl): Likewise.
2093 (outsb): Likewise.
2094 (outsw): Likewise.
2095 (outsl): Likewise.
2096
6451c862
L
2097 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2098 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2099 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2100
a254b8c9
L
2101 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2102 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2103 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2104 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2105 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2106 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2107
b8dfdd92
L
2108 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2109 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2110
578cd270
L
2111 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2112 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2113
de662f5f
L
2114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2116 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2117
25653439
L
2118 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2119 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2120 to ...
2121 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2122
6bad24a0
L
2123 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2124 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2125 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2126
42bbb1c3
L
2127 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2128 for x86-64.
2129 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2130
2d10d547
JM
21312012-05-31 Joseph Myers <joseph@codesourcery.com>
2132
2133 * math/math.h (M_El): Use two more decimal places.
2134 (M_LOG2El): Likewise.
2135 (M_LOG10El): Likewise.
2136 (M_LN2l): Likewise.
2137 (M_LN10l): Likewise.
2138 (M_PIl): Likewise.
2139 (M_PI_2l): Likewise.
2140 (M_PI_4l): Likewise.
2141 (M_1_PIl): Likewise.
2142 (M_2_PIl): Likewise.
2143 (M_2_SQRTPIl): Likewise.
2144 (M_SQRT2l): Likewise.
2145 (M_SQRT1_2l): Likewise.
2146
f230c29b
DM
21472012-05-31 David S. Miller <davem@davemloft.net>
2148
2149 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2150 values between float registers.
2151 * sysdeps/sparc/sparc64/memset.S: Likewise.
2152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2153
fed806c3
MF
21542012-05-31 Mike Frysinger <vapier@gentoo.org>
2155
2156 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2157 -D_FORTIFY_SOURCE=1.
2158 (CPPFLAGS-tst-longjmp_chk.c): Define.
2159 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2160 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2161 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2162 CFLAGS-tst-wchar-h.c.
2163
30917259
MP
21642012-05-31 Marek Polacek <polacek@redhat.com>
2165
2166 [BZ #14132]
2167 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2168 __endmntent_internal): Remove declaration.
2169 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2170 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2171 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2172
1c58d5dc
DM
21732012-05-30 David S. Miller <davem@davemloft.net>
2174
2175 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2176 (___Q_simulate_exceptions): Use real FP ops rather than writing
2177 into the %fsr.
2178 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2179 Likewise.
2180
7dc00e0d
L
21812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2182
2183 [BZ #14117]
0bd53985
L
2184 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2185 * sysdeps/x86/bits/xtitypes.h: This.
2186
3a257e66
L
2187 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2188 * sysdeps/x86/bits/wordsize.h: This.
2189
62f62904
L
2190 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2191 * sysdeps/x86/bits/huge_vall.h: This.
2192
404fe9d9
L
2193 * sysdeps/i386/bits/select.h: Removed.
2194 * sysdeps/x86_64/bits/select.h: Renamed to ...
2195 * sysdeps/x86/bits/select.h: This.
2196
d48d0446
L
2197 * sysdeps/i386/bits/setjmp.h: Removed.
2198 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2199 * sysdeps/x86/bits/setjmp.h: This.
2200
7dc00e0d
L
2201 * sysdeps/i386/bits/mathdef.h: Removed.
2202 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2203 * sysdeps/x86/bits/mathdef.h: This.
2204
03277f8f
AS
22052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2206
2207 [BZ #14132]
2208 * include/sys/socket.h (__connect_internal)
2209 (__libc_sa_len_internal): Remove declaration.
2210 (__connect, __libc_sa_len): Declare hidden_proto.
2211 (SA_LEN): Remove use of INTUSE.
2212 * socket/connect.c: Add libc_hidden_def.
2213 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2214 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2215 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2216 alias.
2217 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2218 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2219 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2220 of adding _internal alias.
2221
13764867
L
22222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2223
2224 [BZ #14117]
6bd97696
L
2225 * sysdeps/i386/bits/link.h: Removed.
2226 * sysdeps/i386/bits/linkmap.h: Likewise.
2227 * sysdeps/x86_64/bits/link.h: Renamed to ...
2228 * sysdeps/x86/bits/link.h: This.
2229 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2230 * sysdeps/x86/bits/linkmap.h: This.
2231
f726f0bb
L
2232 * sysdeps/i386/bits/endian.h: Removed.
2233 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2234 * sysdeps/x86/bits/endian.h: This.
2235
13764867
L
2236 * sysdeps/i386/bits/byteswap.h: Removed.
2237 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2238 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2239 * sysdeps/x86/bits/byteswap.h: This.
2240 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2241 * sysdeps/x86/bits/byteswap-16.h: This.
2242 * sysdeps/i386/Implies: Add x86.
2243 * sysdeps/x86_64/Implies: Likewise.
2244
ae251b0b
DM
22452012-05-30 David S. Miller <davem@davemloft.net>
2246
2247 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2248 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2249 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2250 (FP_TRAPPING_EXCEPTIONS): Define.
2251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2252 (FP_TRAPPING_EXCEPTIONS): Define.
2253 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2254 subnormals only when inexact has been signalled or underflow
2255 exceptions are enabled.
2256 (_FP_PACK_CANONICAL): Likewise.
2257
d5c90867
L
22582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2259
2260 [BZ #14183]
2261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2262 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2263
63f1549e
RH
22642012-05-30 Richard Henderson <rth@twiddle.net>
2265
8d8f2279
RH
2266 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2267 with #ifndef NOT_IN_libc.
2268
63f1549e
RH
2269 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2270 marked to avoid plt entry.
2271
0ab0291b
L
22722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2273
2274 [BZ #14112]
2275 * Makeconfig (default-abi): New macro.
2276 (abi-includes): Likewise.
2277 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2278 $(abi-$(default-abi)-lib-soname) for soname if defined.
2279 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2280 abi-variants.
2281 * Makefile (installed-stubs): Likewise.
2282 * include/stubs-biarch.h: Removed.
2283 * scripts/lib-names.awk: Only handle one library at a time.
2284 * scripts/soversions.awk: Remove WORDSIZE support.
2285 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2286 entries.
2287 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2288 Removed.
2289 (syscall-list-default-condition): Likewise.
2290 (syscall-list-default-condition): Likewise.
2291 (syscall-list-includes): Likewise.
2292 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2293 syscall-list-* with abi-*. Handle undefined abi-variants.
2294 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2295 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2296 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2297 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2298 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2299 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2300 Removed.
2301 (syscall-list-32-options): Likewise.
2302 (syscall-list-32-condition): Likewise.
2303 (syscall-list-64-options): Likewise.
2304 (syscall-list-64-condition): Likewise.
2305 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2306 macro.
2307 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2308 Renamed to ...
2309 (abi-*): This.
2310 (abi-64-ld-soname): New macro.
2311 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2312 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2313 Renamed to ...
2314 (abi-*): This.
2315 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2316 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2317
4da0431d
JM
23182012-05-30 Joseph Myers <joseph@codesourcery.com>
2319
3a85279c
JM
2320 * sysdeps/unix/sysv/linux/kernel-features.h
2321 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2322 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2323 include <kernel-features.h>.
2324 [!__NR_ftruncate64]: Remove conditional code.
2325 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2326 [__NR_ftruncate64]: Make code unconditional.
2327 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2328 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2329 include <kernel-features.h>.
2330 [!__NR_ftruncate64]: Remove conditional code.
2331 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2332 [__NR_ftruncate64]: Make code unconditional.
2333 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2335 include <kernel-features.h>.
2336 [!__NR_ftruncate64]: Remove conditional code.
2337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2338 [__NR_ftruncate64]: Make code unconditional.
2339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2341 include <kernel-features.h>.
2342 [!__NR_ftruncate64]: Remove conditional code.
2343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2344 [__NR_ftruncate64]: Make code unconditional.
2345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2346
4da0431d
JM
2347 * configure.in (libc_cv_fpie): Weaken to a compile test using
2348 LIBC_TRY_CC_OPTION.
2349 * configure: Regenerated.
2350
11ef492c
AK
23512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2352
2353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2357 Refreshed.
2358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2364 Refreshed.
2365
d66ef399
DM
23662012-05-27 David S. Miller <davem@davemloft.net>
2367
2368 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2369 (___Q_zero): New.
2370 (__Q_simulate_exceptions): Return void. Change to simulate
2371 exceptions by writing into the %fsr.
2372 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2373 (__Qp_handle_exceptions): Likewise.
2374 (numbers): Delete.
2375 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2376 __Qp_handle_exceptions.
2377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2378 __Qp_handle_exceptions.
2379 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2380 as unused and give dummy FP_RND_NEAREST initializer.
2381 (FP_INHIBIT_RESULTS): Define.
2382 (___Q_simulate_exceptions): Update declaration.
2383 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2384 formatting.
2385 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2386 as unused and give dummy FP_RND_NEAREST initializer.
2387 (__Qp_handle_exceptions): Update declaration.
2388 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2389 formatting.
2390
04fb54b5
TS
23912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2392
2393 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2394 the temporary FPU control word.
2395 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2396 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2397 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2398 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2399 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2400 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2401 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2402 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2403 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2404 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2405 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2406
3f99608f
KK
24072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2408
2409 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2410 fields.
2411
65a4de4e
CLT
24122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2413
2414 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2415 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2416 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2417 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2418 Likewise.
2419 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2420 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2421 Likewise.
2422
15749d40
UD
24232012-05-27 Ulrich Drepper <drepper@gmail.com>
2424
2425 * po/h.po: Update from translation team.
2426
25dbcb27
AS
24272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2428
3d3f8e55
AS
2429 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2430
25dbcb27
AS
2431 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2432 handling of denormals.
2433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2434 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2435 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2436 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2440 Likewise.
2441
7ad47a80 24422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2443
2444 [BZ #14152]
2445 * math/libm-test.inc (fma_test): Don't always expect underflow
2446 exception.
2447
9c6ea9fa
SP
24482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2449
2450 [BZ #12416]
2451 * elf/tst-execstack.c: Include stackinfo.h.
2452 (do_test): Adjust test case to ensure that pthread_getattr_np
2453 behaviour remains the same after marking stack executable.
2454
a8239222
JM
24552012-05-25 Joseph Myers <joseph@codesourcery.com>
2456
2457 * sysdeps/unix/sysv/linux/kernel-features.h
2458 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2459 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2460 kernel-features.h.
2461 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2462 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2463 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2464 kernel-features.h.
2465 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2466 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2467
918b5606
L
24682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2469
2470 * configure.in: Define the default includes to being none.
2471 * configure: Regenerated.
2472
3a097cc7
RM
24732012-05-25 Roland McGrath <roland@hack.frob.com>
2474
8422c9a5
RM
2475 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2476 * sysdeps/x86_64/setjmp.S: Likewise.
2477 * sysdeps/i386/bsd-setjmp.S: Likewise.
2478 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2479 * sysdeps/i386/setjmp.S: Likewise.
2480 * sysdeps/i386/__longjmp.S: Likewise.
2481 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2482 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2483
3a097cc7
RM
2484 * include/stap-probe.h: New file.
2485 * configure.in: Handle --enable-systemtap.
2486 * configure: Regenerated.
2487 * config.h.in (USE_STAP_PROBE): New #undef.
2488 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2489 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2490 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2491
21708942
JM
24922012-05-25 Joseph Myers <joseph@codesourcery.com>
2493
2494 [BZ #13717]
2495 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2496 to 2.4.0 where earlier.
2497 * sysdeps/unix/sysv/linux/configure: Regenerated.
2498 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2499 <kernel-features.h>.
2500 [__ASSUME_32BITUIDS]: Make code unconditional.
2501 [!__ASSUME_32BITUIDS]: Remove conditional code.
2502 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2503 <kernel-features.h>.
2504 [__ASSUME_32BITUIDS]: Make code unconditional.
2505 [!__ASSUME_32BITUIDS]: Remove conditional code.
2506 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2507 [__ASSUME_32BITUIDS]: Make code unconditional.
2508 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2509 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2510 <kernel-features.h>.
2511 [__ASSUME_32BITUIDS]: Make code unconditional.
2512 [!__ASSUME_32BITUIDS]: Remove conditional code.
2513 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2514 <kernel-features.h>.
2515 [__ASSUME_32BITUIDS]: Make code unconditional.
2516 [!__ASSUME_32BITUIDS]: Remove conditional code.
2517 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2518 <kernel-features.h>.
2519 [__ASSUME_32BITUIDS]: Make code unconditional.
2520 [!__ASSUME_32BITUIDS]: Remove conditional code.
2521 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2522 <kernel-features.h>.
2523 [__ASSUME_32BITUIDS]: Make code unconditional.
2524 [!__ASSUME_32BITUIDS]: Remove conditional code.
2525 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2526 <kernel-features.h>.
2527 [__ASSUME_32BITUIDS]: Make code unconditional.
2528 [!__ASSUME_32BITUIDS]: Remove conditional code.
2529 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2530 <kernel-features.h>.
2531 [__ASSUME_32BITUIDS]: Make code unconditional.
2532 [!__ASSUME_32BITUIDS]: Remove conditional code.
2533 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2534 <kernel-features.h>.
2535 [__ASSUME_32BITUIDS]: Make code unconditional.
2536 [!__ASSUME_32BITUIDS]: Remove conditional code.
2537 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2538 <kernel-features.h>.
2539 [__ASSUME_32BITUIDS]: Make code unconditional.
2540 [!__ASSUME_32BITUIDS]: Remove conditional code.
2541 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2542 <kernel-features.h>.
2543 [__ASSUME_32BITUIDS]: Make code unconditional.
2544 [!__ASSUME_32BITUIDS]: Remove conditional code.
2545 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2546 <kernel-features.h>.
2547 [__ASSUME_32BITUIDS]: Make code unconditional.
2548 [!__ASSUME_32BITUIDS]: Remove conditional code.
2549 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2550 <kernel-features.h>.
2551 [__NR_setresgid] (__setresgid): Do not declare.
2552 [__ASSUME_32BITUIDS]: Make code unconditional.
2553 [!__ASSUME_32BITUIDS]: Remove conditional code.
2554 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2555 <kernel-features.h>.
2556 [__NR_setresuid] (__setresuid): Do not declare.
2557 [__ASSUME_32BITUIDS]: Make code unconditional.
2558 [!__ASSUME_32BITUIDS]: Remove conditional code.
2559 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2560 <kernel-features.h>.
2561 [__ASSUME_32BITUIDS]: Make code unconditional.
2562 [!__ASSUME_32BITUIDS]: Remove conditional code.
2563 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2564 <kernel-features.h>.
2565 [__ASSUME_32BITUIDS]: Make code unconditional.
2566 [!__ASSUME_32BITUIDS]: Remove conditional code.
2567 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2568 <kernel-features.h>.
2569 [__ASSUME_32BITUIDS]: Make code unconditional.
2570 [!__ASSUME_32BITUIDS]: Remove conditional code.
2571 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2572 <kernel-features.h>.
2573 [__ASSUME_32BITUIDS]: Make code unconditional.
2574 [!__ASSUME_32BITUIDS]: Remove conditional code.
2575 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2576 <kernel-features.h>.
2577 [__ASSUME_32BITUIDS]: Make code unconditional.
2578 [!__ASSUME_32BITUIDS]: Remove conditional code.
2579 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2580 <kernel-features.h>.
2581 [__ASSUME_32BITUIDS]: Make code unconditional.
2582 [!__ASSUME_32BITUIDS]: Remove conditional code.
2583 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2584 <kernel-features.h>.
2585 [__ASSUME_32BITUIDS]: Make code unconditional.
2586 [!__ASSUME_32BITUIDS]: Remove conditional code.
2587 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2588 <kernel-features.h>.
2589 [__ASSUME_32BITUIDS]: Make code unconditional.
2590 [!__ASSUME_32BITUIDS]: Remove conditional code.
2591 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2592 <kernel-features.h>.
2593 [__ASSUME_32BITUIDS]: Make code unconditional.
2594 [!__ASSUME_32BITUIDS]: Remove conditional code.
2595 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2596 <kernel-features.h>.
2597 [__ASSUME_32BITUIDS]: Make code unconditional.
2598 [!__ASSUME_32BITUIDS]: Remove conditional code.
2599 * sysdeps/unix/sysv/linux/kernel-features.h
2600 (__ASSUME_SETRESUID_SYSCALL): Remove.
2601 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2602 (__ASSUME_32BITUIDS): Likewise.
2603 (__ASSUME_LDT_WORKS): Likewise.
2604 (__ASSUME_O_DIRECTORY): Likewise.
2605 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2606 architecture but not kernel version.
2607 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2608 (__ASSUME_MMAP2_SYSCALL): Likewise.
2609 (__ASSUME_STAT64_SYSCALL): Likewise.
2610 (__ASSUME_IPC64): Likewise.
2611 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2612 <kernel-features.h>.
2613 [__ASSUME_32BITUIDS]: Make code unconditional.
2614 [!__ASSUME_32BITUIDS]: Remove conditional code.
2615 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2616 <kernel-features.h>.
2617 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2618 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2619 132096]: Remove conditional code.
2620 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2621 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2622 <kernel-features.h>.
2623 [__ASSUME_32BITUIDS]: Make code unconditional.
2624 [!__ASSUME_32BITUIDS]: Remove conditional code.
2625 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2626 <kernel-features.h>.
2627 [__ASSUME_32BITUIDS]: Make code unconditional.
2628 [!__ASSUME_32BITUIDS]: Remove conditional code.
2629 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2630 <kernel-features.h>.
2631 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2632 unconditional.
2633 (__setresgid): Do not declare.
2634 [__ASSUME_32BITUIDS]: Make code unconditional.
2635 [!__ASSUME_32BITUIDS]: Remove conditional code.
2636 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2637 <kernel-features.h>.
2638 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2639 unconditional.
2640 (__setresuid): Do not declare.
2641 [__ASSUME_32BITUIDS]: Make code unconditional.
2642 [!__ASSUME_32BITUIDS]: Remove conditional code.
2643 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2644 <kernel-features.h>.
2645 [__ASSUME_32BITUIDS]: Make code unconditional.
2646 [!__ASSUME_32BITUIDS]: Remove conditional code.
2647 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2648 <kernel-features.h>.
2649 [__ASSUME_32BITUIDS]: Make code unconditional.
2650 [!__ASSUME_32BITUIDS]: Remove conditional code.
2651
a386f1cc
RH
26522012-05-25 Richard Henderson <rth@twiddle.net>
2653
2654 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2655 dl_hwcap to ifunc resolver.
2656 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2657 elf_ifunc_invoke.
2658 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2659 dl_hwcap to ifunc resolver.
2660 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2661
b6550497
JM
26622012-05-24 Joseph Myers <joseph@codesourcery.com>
2663
2664 [BZ #14153]
2665 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2666 for |x| <= 2**-26, not 2**-57.
2667 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2668 exception.
2669
b0bc23a1
JL
26702012-05-24 Jeff Law <law@redhat.com>
2671
2672 * stdio-common/Makefile (tests): Add bug25.
2673 * stdio-common/bug25.c: New test.
2674
347c92e9
L
26752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2676
2677 [BZ #13576]
2678 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2679 multiple of MALLOC_ALIGNMENT in size.
2680 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2681
6bcc8b3f
JM
26822012-05-24 Joseph Myers <joseph@codesourcery.com>
2683
2684 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2685 Require >= 256.
2686 (FILENAME_MAX): Use macro-int-constant.
2687 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2688 (_IOFBF): Use macro-int-constant.
2689 (_IOLBF): Likewise.
2690 (_IONBF): Likewise.
2691 (SEEK_CUR): Likewise.
2692 (SEEK_END): Likewise.
2693 (SEEK_SET): Likewise.
2694 (TMP_MAX): Likewise.
2695 (EOF): Use macro-int-constant. Require < 0.
2696 (NULL): Use macro-constant. Require == 0.
2697 (stdin): Require type to be FILE *.
2698 (stdout): Likewise.
2699 (stderr): Likewise.
2700 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2701 macro-int-constant.
2702 (EXIT_SUCCESS): Likewise.
2703 (NULL): Use macro-constant. Require == 0.
2704 (RAND_MAX): Use macro-int-constant.
2705 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2706 [C99-based standards] (strtof): Require function.
2707 [C99-based standards] (strtold): Likewise.
2708 [C99-based standards] (strtoll): Likewise.
2709 [C99-based standards] (strtoull): Likewise.
2710 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2711 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2712 [ISO || ISO99 || ISO11] (math.h): Likewise.
2713 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2714 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2716
d18ea0c5
AS
27172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2718
2719 [BZ #14132]
56d25bb8
AS
2720 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2721 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2722 * intl/dgettext.c (DCGETTEXT): Likewise.
2723 * intl/gettext.c (DCGETTEXT): Likewise.
2724 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2725 * posix/regex_internal.h (gettext): Likewise.
2726 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2727 Remove declaration.
2728 * include/argz.h (__argz_count_internal)
2729 (__argz_stringify_internal): Remove declaration.
2730 (__argz_count, __argz_stringify): Declare hidden proto.
2731 * intl/dcgettext.c: Remove use of INTDEF.
2732 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2733 * string/argz-stringify.c: Likewise.
2734 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2735 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2736 Declare hidden proto.
d18ea0c5
AS
2737 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2738 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2739 Declare hidden proto.
2740 * include/stdio.h (__asprintf_internal): Don't declare.
2741 (__asprintf): Don't define as macro. Declare hidden proto.
2742 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2743 (__fsetlocking): Declare hidden proto.
2744 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2745 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2746 hidden proto.
2747 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2748 (_IO_setlinebuf): Remove use of INTUSE.
2749 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2750 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2751 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2752 Remove declaration.
2753 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2754 (_IO_do_flush): Remove use of INTUSE.
2755 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2756 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2757 (_IO_adjust_column, _IO_least_wmarker)
2758 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2759 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2760 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2761 (_IO_default_doallocate, _IO_wdefault_doallocate)
2762 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2763 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2764 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2765 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2766 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2767 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2768 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2769 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2770 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2771 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2772 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2773 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2774 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2775 proto.
2776 (_IO_flush_all_internal, _IO_adjust_column_internal)
2777 (_IO_default_uflow_internal, _IO_default_finish_internal)
2778 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2779 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2780 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2781 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2782 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2783 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2784 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2785 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2786 (_IO_file_close_internal, _IO_file_close_it_internal)
2787 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2788 (_IO_file_init_internal, _IO_file_attach_internal)
2789 (_IO_file_fopen_internal, _IO_file_read_internal)
2790 (_IO_file_sync_internal, _IO_file_seek_internal)
2791 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2792 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2793 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2794 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2795 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2796 (_IO_list_all_internal, _IO_link_in_internal)
2797 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2798 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2799 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2800 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2801 (_IO_do_write_internal, _IO_padn_internal)
2802 (_IO_getline_info_internal, _IO_getline_internal)
2803 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2804 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2805 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2806 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2807 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2808 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2809 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2810 with libc_hidden_ver, remove use of INTUSE.
2811 * libio/genops.c: Likewise.
2812 * libio/freopen.c: Likewise.
2813 * libio/freopen64.c: Likewise.
2814 * libio/iofclose.c: Likewise.
2815 * libio/iofdopen.c: Likewise.
2816 * libio/iofflush.c: Likewise.
2817 * libio/iofflush_u.c: Likewise.
2818 * libio/iofgets.c: Likewise.
2819 * libio/iofgets_u.c: Likewise.
2820 * libio/iofopen.c: Likewise.
2821 * libio/iofopncook.c: Likewise.
2822 * libio/iofread.c: Likewise.
2823 * libio/iofread_u.c: Likewise.
2824 * libio/ioftell.c: Likewise.
2825 * libio/iofwrite.c: Likewise.
2826 * libio/iogetline.c: Likewise.
2827 * libio/iogets.c: Likewise.
2828 * libio/iogetwline.c: Likewise.
2829 * libio/iopadn.c: Likewise.
2830 * libio/iopopen.c: Likewise.
2831 * libio/ioseekoff.c: Likewise.
2832 * libio/ioseekpos.c: Likewise.
2833 * libio/iosetbuffer.c: Likewise.
2834 * libio/iosetvbuf.c: Likewise.
2835 * libio/ioungetc.c: Likewise.
2836 * libio/ioungetwc.c: Likewise.
2837 * libio/iovdprintf.c: Likewise.
2838 * libio/iovsprintf.c: Likewise.
2839 * libio/iovsscanf.c: Likewise.
2840 * libio/memstream.c: Likewise.
2841 * libio/obprintf.c: Likewise.
2842 * libio/oldfileops.c: Likewise.
2843 * libio/oldiofclose.c: Likewise.
2844 * libio/oldiofdopen.c: Likewise.
2845 * libio/oldiofopen.c: Likewise.
2846 * libio/oldiopopen.c: Likewise.
2847 * libio/oldstdfiles.c: Likewise.
2848 * libio/putc.c: Likewise.
2849 * libio/setbuf.c: Likewise.
2850 * libio/setlinebuf.c: Likewise.
2851 * libio/stdfiles.c: Likewise.
2852 * libio/strops.c: Likewise.
2853 * libio/vasprintf.c: Likewise.
2854 * libio/vscanf.c: Likewise.
2855 * libio/vsnprintf.c: Likewise.
2856 * libio/vswprintf.c: Likewise.
2857 * libio/wfiledoalloc.c: Likewise.
2858 * libio/wfileops.c: Likewise.
2859 * libio/wgenops.c: Likewise.
2860 * libio/wmemstream.c: Likewise.
2861 * libio/wstrops.c: Likewise.
2862 * libio/__fpurge.c: Likewise.
2863 * libio/__fsetlocking.c: Likewise.
2864 * assert/assert.c: Likewise.
2865 * debug/fgets_chk.c: Likewise.
2866 * debug/fgets_u_chk.c: Likewise.
2867 * debug/fread_chk.c: Likewise.
2868 * debug/fread_u_chk.c: Likewise.
2869 * debug/gets_chk.c: Likewise.
2870 * debug/obprintf_chk.c: Likewise.
2871 * debug/vasprintf_chk.c: Likewise.
2872 * debug/vdprintf_chk.c: Likewise.
2873 * debug/vsnprintf_chk.c: Likewise.
2874 * debug/vsprintf_chk.c: Likewise.
2875 * malloc/mtrace.c: Likewise.
2876 * misc/error.c: Likewise.
2877 * misc/syslog.c: Likewise.
2878 * stdio-common/asprintf.c: Likewise.
2879 * stdio-common/fxprintf.c: Likewise.
2880 * stdio-common/getw.c: Likewise.
2881 * stdio-common/isoc99_fscanf.c: Likewise.
2882 * stdio-common/isoc99_scanf.c: Likewise.
2883 * stdio-common/isoc99_vfscanf.c: Likewise.
2884 * stdio-common/isoc99_vscanf.c: Likewise.
2885 * stdio-common/isoc99_vsscanf.c: Likewise.
2886 * stdio-common/printf-prs.c: Likewise.
2887 * stdio-common/printf_fp.c: Likewise.
2888 * stdio-common/printf_fphex.c: Likewise.
2889 * stdio-common/printf_size.c: Likewise.
2890 * stdio-common/putw.c: Likewise.
2891 * stdio-common/scanf.c: Likewise.
2892 * stdio-common/sprintf.c: Likewise.
2893 * stdio-common/tmpfile.c: Likewise.
2894 * stdio-common/vfprintf.c: Likewise.
2895 * stdio-common/vfscanf.c: Likewise.
2896 * stdlib/strfmon_l.c: Likewise.
2897 * sunrpc/openchild.c: Likewise.
2898 * sunrpc/xdr_stdio.c: Likewise.
2899 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2900 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2901
d6c33fda
RM
29022012-05-24 Roland McGrath <roland@hack.frob.com>
2903
c1487492
RM
2904 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2905
2906 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2907 in the third column, to generate for the shared library an IFUNC
2908 that uses _dl_vdso_vsym.
2909 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2910 * Makeconfig (object-suffixes-noshared): New variable.
2911
2912 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2913 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2914 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2915 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2916
d6c33fda
RM
2917 [BZ #14132]
2918 * include/sys/time.h (__gettimeofday): Remove macro.
2919 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2920 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2921 Remove INTDEF.
2922 (__gettimeofday): Add libc_hidden_def.
2923 (gettimeofday): Add libc_hidden_weak.
2924 * sysdeps/mach/gettimeofday.c: Likewise.
2925 * sysdeps/posix/gettimeofday.c: Likewise.
2926 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2927 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2929 (__gettimeofday_internal): Remove strong_alias.
2930 (__gettimeofday): Add libc_hidden_def.
2931 (gettimeofday): Add libc_hidden_weak.
2932 * sysdeps/unix/syscalls.list (gettimeofday):
2933 Remove __gettimeofday_internal alias.
2934
b5a2bbe6
L
29352012-05-24 Daniel Jacobowitz <drow@false.org>
2936 H.J. Lu <hongjiu.lu@intel.com>
2937
2938 [BZ #12495]
2939 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2940 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2941 (largebin_index_32_big): New.
2942 (largebin_index): Use it for 16-byte alignment.
2943 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2944 correction with front_misalign.
2945
cfba4fda
L
29462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2947
7f907421
L
2948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2950 Likewise.
2951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2952 Likewise.
2953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2954 Likewise.
2955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2956 Likewise.
2957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2958 Likewise.
2959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2960 Likewise.
2961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2962 Likewise.
2963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2964 Likewise.
2965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2966 Likewise.
2967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2968 Likewise.
2969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2970 Likewise.
2971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2972 Likewise.
2973
cfba4fda
L
2974 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2975 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2976
80bad0cc
JM
29772012-05-24 Joseph Myers <joseph@codesourcery.com>
2978
7a25eb06
JM
2979 [BZ #10846]
2980 [BZ #14036]
2981 * math/libm-test.inc (exp_test): Add test from bug 14036.
2982 (pow_test): Add test from bug 10846.
2983
795405f9
JM
2984 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2985 and other flags.
2986 (special_function): Do not include flags in test name.
2987 (parse_args): Likewise.
2988 * sysdeps/i386/fpu/libm-test-ulps: Update.
2989 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2990 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2991 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2993
80bad0cc
JM
2994 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2995 exceptions.
2996 * math/libm-test.inc ("Philosophy"): Update comment about
2997 exception testing.
2998 (UNDERFLOW_EXCEPTION): New macro.
2999 (UNDERFLOW_EXCEPTION_OK): Likewise.
3000 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3001 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3002 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3003 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3004 (INVALID_EXCEPTION_OK): Update value.
3005 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3006 (OVERFLOW_EXCEPTION_OK): Likewise.
3007 (IGNORE_ZERO_INF_SIGN): Likewise.
3008 (test_exceptions): Handle underflow exceptions.
3009 (acos_test): Update for underflow exception expectations.
3010 (cexp_test): Likewise.
3011 (clog_test): Likewise.
3012 (clog10_test): Likewise.
3013 (csqrt_test): Likewise.
3014 (ctan_test): Likewise.
3015 (ctanh_test): Likewise.
3016 (exp_test): Likewise.
3017 (exp10_test): Likewise.
3018 (exp2_test): Likewise.
3019 (expm1_test): Likewise.
3020 (fma_test): Likewise.
3021 (j0_test): Likewise.
3022 (jn_test): Likewise.
3023 (nexttoward_test): Likewise.
3024 (pow_test): Likewise.
3025 (scalbn_test): Likewise.
3026 (scalbln_test): Likewise.
3027 (tan_test): Likewise.
3028 (y1_test): Likewise.
3029 * sysdeps/i386/fpu/libm-test-ulps: Update.
3030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3031
9e0e3d0b
DM
30322012-05-23 David S. Miller <davem@davemloft.net>
3033
3034 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3035 (__libc_sigaction): Remove unused local variables.
3036
ccd0a08f
L
30372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3038
3039 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3040
62bdf9a6
PE
30412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3042
f8591f80
PE
3043 mktime: avoid signed integer overflow
3044 * time/mktime.c (__mktime_internal): Do not mishandle the case
3045 where diff == INT_MIN.
3046
94c7d826
PE
3047 mktime: simplify computation of average
3048 * time/mktime.c (ranged_convert): Use new time_t_avg function
3049 instead of rolling our own (probably-slower) code.
3050
ce73d683
PE
3051 mktime: do not assume signed right shift propagates sign bit
3052 * time/mktime.c (isdst_differ): New static function.
3053 (__mktime_internal): No need to normalize tm_isdst now.
3054 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3055 tm_isdst values.
3056
72a22e59
PE
3057 mktime: merge another wrapv change from gnulib
3058 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3059 from some compilers.
3060
68605433
PE
3061 mktime: remove incorrect attempt at unusual arithmetics
3062 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3063 The code didn't really work on such machines anyway.
3064 (TYPE_MINIMUM): Assume two's complement.
3065 (twos_complement_arithmetic): Verify that long_int and time_t
3066 are two's complement (or unsigned, in the latter case).
3067
03cf7fe3
PE
3068 mktime: check signed shifts on long_int and time_t, too
3069 * time/mktime.c (SHR): Check that shifts work as desired
3070 on the types long_int and time_t too, as SHR is used on
3071 such types.
3072
f04dfbc2
PE
3073 mktime: do not assume 'long' is wide enough
3074 * time/mktime.c (verify): Move decl up.
3075 (long_int): New type.
3076 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3077 to remove assumption in the code that 'long' is wide enough to
3078 store year values. This assumption is not true on x32 and on
3079 some non-glibc platforms.
3080
62bdf9a6
PE
3081 mktime: merge wrapv change from gnulib
3082 * time/mktime.c (WRAPV): New macro.
3083 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3084 (guess_time_tm, __mktime_internal): Do not assume that signed
3085 integer overflow wraps around; modern compilers generate code
3086 where this assumption is no longer valid.
3087
5e292e4f
L
30882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3089
3090 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3091 Replace "jmp L(pseudo_end)" with "ret".
3092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3093 Likewise.
3094
8caf8c87
AJ
30952012-05-23 Andreas Jaeger <aj@suse.de>
3096
3097 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3098 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3099
1a09dc56
AJ
31002012-05-23 Andreas Jaeger <aj@suse.de>
3101 Maximilian Attems <max@stro.at>
3102
3103 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3104 New macros.
3105
1c87aba0
L
31062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3107
3108 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3109 code so that pseudo_end is just ret and the stack pointer is
3110 correct also for static library in error case.
3111
40e45bd5
JM
31122012-05-23 Joseph Myers <joseph@codesourcery.com>
3113
c2670533
JM
3114 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3115 move to syscalls.list.
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3120
40e45bd5
JM
3121 * manual/install.texi (Running make install): Do not mention Linux
3122 kernel version for which pt_chown is not needed.
3123 (Linux): Do not mention problems with nscd with 2.0 kernels.
3124 * INSTALL: Regenerated.
3125
be08eda5
AJ
31262012-05-23 Andreas Jaeger <aj@suse.de>
3127
3128 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3129 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3130 macro.
3131 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3133 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3135 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3137 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3138 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3139 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3140 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3141 * sysdeps/unix/sysv/linux/bits/in.h
3142 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3143
a6a056bb
RM
31442012-05-22 Roland McGrath <roland@hack.frob.com>
3145
3146 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3147 (PREPARE_VERSION): Just use assert instead, it will be elided
3148 under [NDEBUG] anyway.
3149
c9009328
L
31502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3151
3152 * sysdeps/unix/sysv/linux/Makefile: Include
3153 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3154 (sysdep_routines): Remove sysctl.
c9009328
L
3155 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3156 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3157 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3158 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3159 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3160
73338355
AJ
31612012-05-22 Andreas Jaeger <aj@suse.de>
3162
3163 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3164 that pseudo_end is just ret and the stack pointer is correct also
3165 for static library in error case.
3166
d44638b0
PP
31672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3168
3169 [BZ #14122]
3170 * nss/nsswitch.c (defconfig_entries): New variable.
3171 (__nss_database_lookup): Don't leak defconfig entries.
3172 (nss_parse_service_list): Don't leak on error paths.
3173 (free_database_entries): New function.
3174 (free_defconfig): New function.
3175 (free_mem): Move common code to free_database_entries.
3176
31a39bd8
L
31772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3178
da0331a8
L
3179 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3180 Add arch_prctl.
3181 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3182
31a39bd8
L
3183 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3184 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3186 New macro.
3187 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3188 (INTERNAL_SYSCALL_TYPES): Likewise.
3189 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3190 (LOAD_REGS_TYPES_[1-6]): Likewise.
3191 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3192 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3193
45470df3
AZ
31942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3195
3196 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3197 copysignl for GLIBC_2_0.
3198 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3199 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3201 logbl for GLIBC_2_0.
3202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3203 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3204
98a61bcb
L
32052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3206
a4f6e481
L
3207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3208 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3209
f63d5db6
L
3210 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3211 Use "neg %eax".
3212
98a61bcb
L
3213 * time/mktime.c: Update copyright years.
3214
95770f14
PE
32152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3216
6226efbd
PE
3217 mktime: merge comment-quoting-style change from gnulib
3218 * time/mktime.c: Quote 'like this' in comments.
3219 The GNU coding standards suggest that we no longer quote `like this',
3220 as "`" and "'" are typically rendered asymmetrically nowadays.
3221 The typical gnulib style is to quote 'like this' when quoting
3222 code, and "like this" when quoting English.
3223
b99e4f78
PE
3224 * time/mktime.c (compile-command): Add "-I.".
3225
643e01e6
PE
3226 mktime: merge mktime-internal.h change from gnulib
3227 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3228
2554247d
PE
3229 mktime: merge time_r change from gnulib
3230 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3231
826dd0ab
PE
3232 mktime: merge DEBUG change from gnulib
3233 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3234 case system <time.h> has a #define.
3235
bd83aabe
PE
3236 mktime: merge <sys/types.h> change from gnulib
3237 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3238 since <time.t> is now guaranteed to define time_t.
3239
95770f14
PE
3240 mktime: merge HAVE_CONFIG_H change from gnulib
3241 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3242
5e1a27a9
L
32432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3244
0e44a77e
L
3245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3246 Use "neg %eax".
3247
5e1a27a9
L
3248 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3249 __rlim_t cast.
3250 (struct rusage): Use anonymous union to pad each field to
3251 __syscall_slong_t.
3252
46259bec
DM
32532012-05-21 David S. Miller <davem@davemloft.net>
3254
3255 * Makefules (o-iterator): Remove .s cases.
3256 (compile-command.s): Delete.
3257 (COMPILE.s): Delete.
3258 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3259
59f0c22e
JM
32602012-05-21 Joseph Myers <joseph@codesourcery.com>
3261
3262 * configure.in (libc_cv_predef_stack_protector): Only consider
3263 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3264 * configure: Regenerated.
3265
20c07380
L
32662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3267
bbb3154b
L
3268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3269 New macro. Use R*LP on int and pointer.
3270 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3271 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3272 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3273 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3274
20c07380
L
3275 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3276 [__WORDSIZE_TIME64_COMPAT32] instead of
3277 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3278 (struct utmp): Likewise.
3279 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3280 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3281 Renamed to ...
3282 (__WORDSIZE_TIME64_COMPAT32): This.
3283 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3284 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3285 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3286 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3287 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3288 (__WORDSIZE_TIME64_COMPAT32): New macro.
3289
d8d1017e
AJ
32902012-05-21 Andreas Jaeger <aj@suse.de>
3291
3292 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3293 only if [SHARED]. Add prototype for __wcschr_ia32.
3294
6c7fb145
RM
32952012-05-21 Roland McGrath <roland@hack.frob.com>
3296
3297 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3298 of %rbp unmolested in the jmp_buf while mangling the low bits.
3299 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3300 unmolested high bits of %rbp while demangling the low bits.
3301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3302
66274218
AJ
33032012-05-21 Andreas Jaeger <aj@suse.de>
3304
07c58f8f
AJ
3305 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3306 * sunrpc/svc_simple.c: Use it for registerrpc.
3307 * sunrpc/xcrypt.c: Use it for passwd2des.
3308
66274218
AJ
3309 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3310
61f65140
L
33112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3312
3313 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3314 Don't define if [__SYSCALL_WORDSIZE != 32].
3315 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3316 New macro.
3317
5fefb436
AJ
33182012-05-21 Bruno Haible <bruno@clisp.org>
3319 Andreas Jaeger <aj@suse.de>
3320
3321 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3322 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3323 inptr and inend for must_buffer_ch.
3324 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3325 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3326 * stdio-common/Makefile (tests): Remove bug15.
3327 (bug15-ENV): Remove macro.
3328 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3329 anymore.
3330
d8e272ab
AJ
33312012-05-19 Andreas Jaeger <aj@suse.de>
3332 Roland McGrath <roland@hack.frob.com>
3333
3334 * manual/contrib.texi: Completely rewritten. It contains now an
3335 alphabetical list of contributors and their contributions.
3336
4a56a162
RH
33372012-05-21 Richard Henderson <rth@twiddle.net>
3338
3339 * misc/getauxval.c (__getauxval): Use unsigned long int.
3340 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3341 (getauxval): Use unsigned long int.
3342
d024d23c
L
33432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3344
3345 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3346
cbc00a03
RM
33472012-05-21 Roland McGrath <roland@hack.frob.com>
3348
3349 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3350 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3351 __alignof__ (long double).
3352
478143fa
AZ
33532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3354
3355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3356
c7683a6d
RH
33572012-05-20 Richard Henderson <rth@twiddle.net>
3358
3359 * misc/getauxval.c: New file.
3360 * misc/sys/auxv.h: New file.
3361 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3362 (routines): Add getauxval.
3363 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3364 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3365 * elf/dl-sysdep.c (_dl_auxv): Remove.
3366 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3367 * elf/dl-support.c (_dl_auxv): New variable.
3368 (_dl_aux_init): Initialize it.
3369 * manual/startup.texi (Auxiliary Vector): New node.
3370 * sysdeps/generic/bits/hwcap.h: New file.
3371 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3372 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3373 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3374 * sysdeps/sparc/sysdep.h: ... here. Include it.
3375 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3378 Update.
c7683a6d
RH
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3387
a6f1845d
AZ
33882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3389
3390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3391
cbcbe830
DM
33922012-05-19 David S. Miller <davem@davemloft.net>
3393
3394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3395
e0b16cc2
JM
33962012-05-19 Joseph Myers <joseph@codesourcery.com>
3397
3398 [BZ #14123]
3399 * math/s_ccosh.c: Include <float.h>
3400 (__ccosh): Avoid internal overflow calculating sinh and cosh
3401 values before multiplying by sin and cos values.
3402 * math/s_ccoshf.c: Likewise.
3403 * math/s_ccoshl.c: Likewise.
3404 * math/s_csin.c: Likewise.
3405 * math/s_csinf.c: Likewise.
3406 * math/s_csinl.c: Likewise.
3407 * math/s_csinh.c: Likewise.
3408 * math/s_csinhf.c: Likewise.
3409 * math/s_csinhl.c: Likewise.
3410 * math/libm-test.inc (ccos_test): Add more tests.
3411 (ccosh_test): Likewise.
3412 (csin_test): Likewise.
3413 (csinh_test): Likewise.
3414 * sysdeps/i386/fpu/libm-test-ulps: Update.
3415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3416
6ad13e08
L
34172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3418
f66f0ce8
L
3419 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3420 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3421
6ad13e08
L
3422 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3423
b1d072a7
JM
34242012-05-19 Joseph Myers <joseph@codesourcery.com>
3425
3426 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3427 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3428 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3429 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3430 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3431 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3432 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3433 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3434 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3435 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3436 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3437 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3438 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3439 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3440 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3441 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3442 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3443 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3444 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3445 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3446 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3447 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3448 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3449 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3450 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3451 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3452 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3453 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3454 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3455 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3456 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3457
9eae47cb
AJ
34582012-05-18 Andreas Jaeger <aj@suse.de>
3459
3460 * csu/.gitignore: Delete.
3461
bb07f69f
L
34622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3463
3464 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3465 (timex): Use __syscall_slong_t.
3466
e6bdb741
AJ
34672012-05-18 Andreas Jaeger <aj@suse.de>
3468 Carlos O'Donell <carlos_odonell@mentor.com>
3469
3470 * manual/install.texi (Configuring and compiling): Update
3471 description about files modified in the source directory.
d6c33fda 3472 * INSTALL: Regenerated.
e6bdb741 3473
1b74487e
L
34742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3475
3476 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3477 value. Use "or" to set return value to -1.
3478 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3479 negate return value.
3480
a88b64b9
TMQMF
34812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3482
3483 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3484 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3485 failure if the compiler has Graphite support disabled.
3486 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3487 Likewise.
3488 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3489 CFLAGS-memmove.c): Likewise.
3490 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3491 Likewise.
3492
3707636e
L
34932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3494
610b8622
L
3495 * sysdeps/x86_64/x32/_itoa.h: New file.
3496
7cd195df
L
3497 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3498 getdents system call only if kernel and user dirents have the
3499 same d_ino and d_off.
3500
94b07d20
L
3501 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3502 LLONG_MAX != LONG_MAX.
3503 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3504 (_fitoa_word): Likewise.
3505
18298070
L
3506 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3507 years.
3508 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3509 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3510 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3511
553c7ea4
L
3512 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3513 include <bits/wordsize.h>. Check __x86_64__ instead of
3514 __WORDSIZE.
3515 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3516 if __x86_64__ is defined. Use anonymous union on fpstate.
3517
3707636e
L
3518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3519 anonymous union.
3520
b53ef01a
AS
35212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3522
37fb1dc0
AS
3523 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3524 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3525 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3526 Refer to _rtld_local_ro instead of _rtld_global_ro.
3527 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3528 Likewise.
3529 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3530 Likewise.
3531 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3532 Likewise.
3533 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3534 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3535 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3536
b53ef01a
AS
3537 * sysdeps/powerpc/powerpc32/dl-machine.c
3538 (__elf_machine_runtime_setup) [PROF]: Don't reference
3539 _dl_prof_resolve.
3540
7a185db2
AJ
35412012-05-18 Andreas Jaeger <aj@suse.de>
3542
3543 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3544 function only available for GCCs before 3.4 since GCC 3.4
3545 introduced a builtin.
3546 (lrint): Likewise.
3547 (llrintf): Likewise.
3548 (llrint): Likewise.
3549 (fmaxf): Likewise.
3550 (fmax): Likewise.
3551 (fminf): Likewise.
3552 (fmin): Likewise.
3553 (rint): Likewise.
3554 (rintf): Likewise.
3555 (nearbyint): Likewise.
3556 (nearbyintf): Likewise.
3557 (ceil): Likewise.
3558 (ceilf): Likewise.
3559 (floor): Likewise.
3560 (floorf): Likewise.
3561
3e5aef87
L
35622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3563
428bd707
L
3564 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3565 on both fields and cast pointer to __syscall_ulong_t.
3566
3e5aef87
L
3567 * bits/types.h (__fsword_t): New type.
3568 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3569 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3571 (__FSWORD_T_TYPE): Likewise.
3572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3573 (__FSWORD_T_TYPE): Likewise.
3574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3575 (__FSWORD_T_TYPE): Likewise.
3576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3577 (__FSWORD_T_TYPE): Likewise.
3578 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3579 __SWORD_TYPE with __fsword_t.
3580 (statfs64): Likewise.
3581
1ba7c3dc
DM
35822012-05-17 David S. Miller <davem@davemloft.net>
3583
3584 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3585
59910343
AJ
35862012-05-17 Andreas Jaeger <aj@suse.de>
3587
3588 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3589 warning.
3590
2e4c1e9e
L
35912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3592
3593 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3594
de7f5ce7
AJ
35952012-05-17 Andreas Jaeger <aj@suse.de>
3596
3597 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3598 when it is used.
3599
286abc3d
CM
36002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3601
3602 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3603
477cc68e
L
36042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3605
3606 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3607 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3608
1a0994f5
CD
36092012-05-17 Andreas Jaeger <aj@suse.de>
3610 Carlos O'Donell <carlos_odonell@mentor.com>
3611
3612 [BZ #14059]
3613 * sysdeps/x86_64/multiarch/init-arch.h
3614 (bit_YMM_Usable): Rename to...
3615 (bit_AVX_Usable): ... this.
3616 (bit_FMA4_Usable): New macro.
3617 (bit_XMM_state): New macro.
3618 (bit_YMM_state): New macro.
3619 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3620 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3621 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3622 (CPUID_OSXSAVE): New macro.
3623 (CPUID_AVX): New macro.
3624 (CPUID_FMA4): New macro.
3625 (index_YMM_Usable): Rename to...
3626 (index_AVX_Usable): ... this.
3627 (HAS_AVX): Use HAS_ARCH_FEATURE.
3628 (HAS_FMA4): Likewise.
3629 (HAS_YMM_USABLE): Remove.
3630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3631 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3632 are present.
3633 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3634 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3635 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3636 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3637 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3638
0af797de
CM
36392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3640
3641 * math/libm-test.c: Support platforms without multiple rounding modes.
3642 * math/bug-nextafter.c: Support platforms without FP exceptions.
3643 * math/bug-nexttoward.c: Likewise.
3644 * math/test-fenv.c: Likewise.
3645 * math/test-misc.c: Likewise.
3646 * stdlib/bug-getcontext.c: Likewise.
3647
e39745ff
AJ
36482012-05-17 Andreas Jaeger <aj@suse.de>
3649
3650 * manual/examples/search.c (critter_cmp): Change signature to
3651 avoid warnings.
3652 * manual/string.texi (Collation Functions): Likewise.
3653
48970aba
L
36542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3655
3656 * bits/types.h: Fold copyright years.
3657 * bits/typesizes.h: Likewise.
3658 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3662 * time/time.h: Likewise.
3663
bedee953
PP
36642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3665
3666 [BZ #208]
3667 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3668 in instead of returning them. Return void.
3669 (__libc_mallinfo): Accumulate over all arenas.
3670 (__malloc_stats): Adjust for change in int_mallinfo interface.
3671
61653dfb
RM
36722012-05-16 Roland McGrath <roland@hack.frob.com>
3673
30b99d79
RM
3674 [BZ #10375]
3675 * configure.in (NM): Add AC_CHECK_TOOL for it.
3676 (libc_extra_cflags): New substituted variable.
3677 Check for -fstack-protector being used implicitly.
3678 * configure: Regenerated.
3679 * config.make.in (config-extra-cflags): New variable,
3680 gets @libc_extra_cflags@.
3681 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3682
61653dfb
RM
3683 [BZ #10375]
3684 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3685 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3686 * configure: Regenerated.
3687 * config.make.in (CPPUNDEFS): New substituted variable.
3688 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3689 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3690 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3691
661768bb
L
36922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3693
3694 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3695 (mq_attr): Use __syscall_slong_t.
3696
d4261567
L
36972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3698
3699 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3700 Check __x86_64__ instead of __WORDSIZE.
3701 (_STAT_VER_LINUX): Likewise.
3702 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3703 __syscall_ulong_t and __syscall_slong_t.
3704 (stat64): Likewise.
3705
cf3ff365
L
37062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3707
3708 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3709
76cf3e4d
L
37102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3711
3712 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3713
a637753a
L
37142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3715
3716 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3717 __syscall_ulong_t.
3718
d5e05119
L
3719 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3720 include <bits/wordsize.h>. Check __x86_64__ instead of
3721 __WORDSIZE.
3722 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3723 defined.
3724 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3725
f62ee380
L
3726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3727 include <bits/wordsize.h>. Check __x86_64__ instead of
3728 __WORDSIZE.
3729 (user_regs_struct): Use "__extension__ unsigned long long"
3730 instead of "unsigned long" if __x86_64__ is defined.
3731 (user): Likewise. Pad after pointer field if __ILP32__ is
3732 defined.
3733
4e124ced
JM
37342012-05-16 Joseph Myers <joseph@codesourcery.com>
3735
6a3951a0
JM
3736 * configure.in (makeinfo): Require version 4.5 or later. Allow
3737 versions 5 to 9.
3738 * configure: Regenerated.
3739 * manual/install.texi (texinfo): Increase version requirement to
3740 4.5 or later.
3741 * INSTALL: Regenerated.
3742
4e124ced
JM
3743 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3744
953ca31a
L
37452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3746
3747 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3748
617aca05
L
3749 * sysdeps/x86_64/x32/ffs.c: New file.
3750
5762f7ae
L
3751 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3752 __syscall_ulong_t.
3753 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3754 defined. Use __syscall_ulong_t.
3755 (shminfo): Use __syscall_ulong_t.
3756 (shm_info): Likewise.
3757
a26b6856
L
3758 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3759 __syscall_ulong_t.
3760
cb2b9ef7
L
3761 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3762 <bits/wordsize.h>.
3763 (msgqnum_t): Use __syscall_ulong_t.
3764 (msglen_t): Likewise.
3765 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3766 __syscall_ulong_t.
3767
34683bb0
L
3768 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3769 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3770
84a68786
L
3771 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3772
48baa5f1
L
3773 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3774 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3775
180be88b
L
3776 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3777 __syscall_slong_t.
3778
5e90c8ad
L
3779 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3780 include <bits/wordsize.h>. Check __x86_64__ instead of
3781 __WORDSIZE.
3782
23dfb58b
L
3783 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3784 "unsigned long long int" if __x86_64__ is defined.
3785 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3786
ce5d54b0
L
3787 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3788 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3789 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3790
13dc9eac
L
3791 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3792 <stdint.h>.
3793 (GET_PC): Cast to uintptr_t first.
3794 (GET_FRAME): Likewise.
3795 (GET_STACK): Likewise.
3796
a7895d15
L
3797 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3798 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3799 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3800 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3801 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3802 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3803 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3804 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3805 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3806 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3807 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3808 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3809 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3810 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3811 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3812 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3813 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3814 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3815 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3816 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3817 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3818 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3819 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3820 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3821 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3822 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3823 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3824 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3825 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3826
656416c9
AS
38272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3828
5bd66283
AS
3829 * Makerules (+depfiles): Also collect depfiles from .oS in
3830 $(extra-objs).
3831 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3832 .oS, $(libnldbl-routines)).
3833
656416c9
AS
3834 * Makerules (native-compile-mkdep-flags): Define.
3835 * sunrpc/Makefile (extra-objs): Add $(addprefix
3836 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3837 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3838 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3839 calling $(make-target-directory).
3840
a46f2169
L
38412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3842
3843 * bits/types.h (__snseconds_t): Removed.
3844 * time/time.h (struct timespec): Replace __snseconds_t with
3845 __syscall_slong_t.
3846 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3847 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3848 Likewise.
3849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3850 (__SNSECONDS_T_TYPE): Likewise.
3851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3852 (__SNSECONDS_T_TYPE): Likewise.
3853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3854 (__SNSECONDS_T_TYPE): Likewise.
3855
6af6528b
L
38562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3857
3858 * sysdeps/mach/hurd/bits/typesizes.h
3859 (__SYSCALL_SLONG_TYPE): New macro.
3860 (__SYSCALL_ULONG_TYPE): Likewise.
3861
de986b56
L
38622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3863
3864 * bits/types.h (__syscall_slong_t): New type.
3865 (__syscall_ulong_t): Likewise.
3866
3867 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3868 (__SYSCALL_ULONG_TYPE): Likewise.
3869 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3870 (__SYSCALL_SLONG_TYPE): Likewise.
3871 (__SYSCALL_ULONG_TYPE): Likewise.
3872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3873 (__SYSCALL_SLONG_TYPE): Likewise.
3874 (__SYSCALL_ULONG_TYPE): Likewise.
3875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3876 (__SYSCALL_SLONG_TYPE): Likewise.
3877 (__SYSCALL_ULONG_TYPE): Likewise.
3878
85736dc7
L
38792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3880
3881 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3882 Add sigaltstack-offsets.sym.
3883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3884 <sigaltstack-offsets.h>.
3885 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3886 longjmp_msg pointer.
3887 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3888 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3889 signal stack.
3890 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3891
cc03b296
JM
38922012-05-15 Joseph Myers <joseph@codesourcery.com>
3893
a9538892
JM
3894 * elf/stackguard-macros.h: Remove file.
3895 * sysdeps/generic/stackguard-macros.h: New file.
3896 * sysdeps/i386/stackguard-macros.h: Likewise.
3897 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3898 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3899 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3900 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3901 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3902 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3903 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3904 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3905 <elf/stackguard-macros.h>.
3906
cc03b296
JM
3907 [BZ #14109]
3908 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3909 __aligned__ in attribute.
3910 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3911 (gregset_t): Likewise.
3912
93171016
L
39132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3914
3915 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3916 * sysdeps/x86_64/64/Implies-after: Here. New file.
3917 * sysdeps/x86_64/x32/Implies-after: New file.
3918
d86813a0
L
39192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3920
3921 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3922 and access return value for _dl_profile_fixup. Use R10_LP to
3923 load frame size.
3924
2953ec75
L
39252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3926
3927 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3928
3b550e9e
L
39292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3930
3931 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3932 * sysdeps/x86_64/x32/sysdep.h: New file.
3933
eda41706
L
39342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3935
3936 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3937 * sysdeps/x86_64/setjmp.S: Likewise.
3938
9ea01d93
AZ
39392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3940
3941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3942 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3943 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3944 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3945 remove unused global constant.
3946
02a91938
CM
39472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3948
3949 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3950 include of <not-cancel.h>.
3951
6540185f
RM
39522012-05-15 Roland McGrath <roland@hack.frob.com>
3953
3954 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3955
509072a0
AJ
39562012-05-15 Jeff Law <law@redhat.com>
3957 Andreas Jaeger <aj@suse.de>
3958
3959 [BZ #13594]
3960 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3961 out from...
3962 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3963 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3964 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3965 code changing __hst_map_handle.map.
3966
ba75122d
RM
39672012-05-15 Roland McGrath <roland@hack.frob.com>
3968
3969 * configure.in (sysnames): Look for Implies-before and Implies-after
3970 files.
3971 * configure: Regenerated.
3972
890d8bd8
L
39732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3974
3975 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3976 8-byte data alignment with LP_SIZE alignment.
3977
f6ee6623
L
39782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3979
3980 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3981 into R10_LP.
3982
ea2626f6
L
39832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3984
3985 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3986
085f715e
L
39872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3988
3989 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3990 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3991 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3992 Likewise.
3993 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3994
be8498fc
L
39952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3996
3997 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3998 (stackinfo_sub_sp): Likewise.
3999
70bc83b9
L
40002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4001
4002 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4003 RAX_LP.
4004
9bc0b730
L
40052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4006
4007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4008 into R*_LP.
4009
6d2850e7
L
40102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4011
4012 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4013 sizes into R*_LP.
4014
3cb84561
L
40152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4016
4017 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4018
54e2ed81
L
40192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4020
4021 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4022 into R11_LP and load __x86_64_shared_cache_size_half into
4023 R8_LP.
4024
8a17f349
L
40252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4026
4027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4028 R8_LP.
4029
777b1eea
AZ
40302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4031
4032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4033 logb for POWER7.
4034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4035 logbf for POWER7.
4036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4037 logbl for POWER7.
4038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4039 powerpc32/power7/fpu/s_logb.c via #include.
4040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4041 powerpc32/power7/fpu/s_logbf.c via #include.
4042 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4043 powerpc32/power7/fpu/s_logbl.c via #include.
4044
d20d4ac2
JM
40452012-05-15 Joseph Myers <joseph@codesourcery.com>
4046
4047 * README.libm: Remove file.
4048
6cdef1ab
L
40492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4050
4051 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4052 count for x32. Use R*_LP and omit operand-size suffix.
4053
0b254d8f
L
40542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4055
4056 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4057 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4058 * sysdeps/x86_64/x32/shlib-versions: New file.
4059
ceb809dc
RM
40602012-05-14 Roland McGrath <roland@hack.frob.com>
4061
4062 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4063 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4064 Use _dl_fatal_printf instead.
4065
37f1abd4
JM
40662012-05-14 Joseph Myers <joseph@codesourcery.com>
4067
4068 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4069 set if not set by the user. Do not allow for being unset.
4070 * sysdeps/unix/sysv/linux/configure: Regenerated.
4071
11de3a33
L
40722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4073
4074 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4075 the `q' suffix from lea and replace .quad with ASM_ADDR.
4076
e02f153a
L
40772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4078
4079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4080 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4081 instead of $17.
4082 (PTR_DEMANGLE): Likewise.
4083
520ae0fd
L
40842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4085
4086 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4087 (LP_OP): Likewise.
4088 (ASM_ADDR): Likewise.
4089 (RAX_LP): Likewise.
4090 (RBP_LP): Likewise.
4091 (RBX_LP): Likewise.
4092 (RCX_LP): Likewise.
4093 (RDI_LP): Likewise.
4094 (RSI_LP): Likewise.
4095 (RSP_LP): Likewise.
4096 (R8_LP): Likewise.
4097 (R9_LP): Likewise.
4098 (R10_LP): Likewise.
4099 (R10_LP): Likewise.
4100 (R11_LP): Likewise.
4101 (R12_LP): Likewise.
4102 (R13_LP): Likewise.
4103 (R14_LP): Likewise.
4104 (R15_LP): Likewise.
4105
b985be81
L
41062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4107
4108 * sysdeps/x86_64/x32/dl-machine.h: New file.
4109
6a4888ff
AJ
41102012-05-14 Andreas Jaeger <aj@suse.de>
4111
4112 * manual/Makefile (subdir): Remove export of subdir.
4113 (all): Remove target.
4114 (.PHONY): Remove all from list.
4115 (mkinstalldirs): Remove.
4116 (.PHONY): Remove installdirs from list.
4117 ($(inst_infodir)/libc.info): Use make-target-directory.
4118 (installdirs): Remove.
4119 (subdir_%): Remove.
4120 (glibc-targets): Remove.
4121 (lib): Remove.
4122 (stubs): Remove.
4123 ($(objpfx)stubs ../po/manual.pot): Remove.
4124 ($(objpfx)stamp%): Remove.
4125 (make-target-directory): Remove.
4126 (subdir_install): Remove.
4127 (routines): Remove.
4128 (aux): Remove.
4129 (sources): Remove.
4130 (objects): Remove.
4131 (headers): Remove.
4132
4133 [BZ #13750]
4134 * manual/.gitignore: Remove, it's not needed anymore.
4135 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4136 all files in it.
4137 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4138 directory.
4139 (texis): Renamed to $(objpfx)texis.
4140 (texis-path): New, contains path to generated files.
4141 (chapters.%): Use texis-path for complete path, add extra argument
4142 libc-texinfo.sh.
4143 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4144 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4145 (summary,texi, stamp-summary): Use complete path of
4146 files. Generate files in build dir.
4147 (dir-add.texi): Build in build dir.
4148 (libm-err.texi,stamp-libm-err): Likewise.
4149 (version.texi, stamp-version): Likewise.
4150 (.%c.texi): Likewise.
4151 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4152 (mostlyclean): Remove target.
4153 (realclean): Remove target.
4154 (generated): Add new variable with contents from mostlyclean and
4155 realclean, remove entries duplicated in common-mostlyclean, add
4156 stamp-libm-err and stamp-version.
4157 (generated-dirs): Add libc directory.
4158 ($(inst_infodir)/libc.info): Install files from build dir.
4159
4160 * manual/install.texi (Configuring and compiling): Adjust since
4161 the info files are not part of the tar ball anymore.
4162
7ac77294
AJ
41632012-05-14 Andreas Jaeger <aj@suse.de>
4164
4165 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4166 variable.
4167
ffb7875d
JM
41682012-05-14 Joseph Myers <joseph@codesourcery.com>
4169
4170 [BZ #13717]
4171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4172 to 2.2.0 where earlier.
4173 * sysdeps/unix/sysv/linux/configure: Regenerated.
4174 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4175 Remove conditional code.
4176 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4177 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4178 Remove conditional code.
4179 [!__NR_lchown]: Likewise.
4180 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4181 [__NR_lchown]: Likewise.
4182 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4183 comment referencing __ASSUME_LCHOWN_SYSCALL.
4184 * sysdeps/unix/sysv/linux/i386/sigaction.c
4185 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4186 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4187 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4188 Remove conditional code.
4189 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4190 (__protocol_available): Remove #if 0 code.
4191 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4192 conditional code.
4193 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4194 * sysdeps/unix/sysv/linux/kernel-features.h
4195 (__ASSUME_GETCWD_SYSCALL): Don't define.
4196 (__ASSUME_REALTIME_SIGNALS): Likewise.
4197 (__ASSUME_PREAD_SYSCALL): Likewise.
4198 (__ASSUME_PWRITE_SYSCALL): Likewise.
4199 (__ASSUME_POLL_SYSCALL): Likewise.
4200 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4201 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4202 non-SPARC.
4203 (__ASSUME_SIOCGIFNAME): Don't define.
4204 (__ASSUME_MSG_NOSIGNAL): Likewise.
4205 (__ASSUME_SENDFILE): Define unconditionally.
4206 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4207 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4208 conditional code.
4209 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4210 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4211 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4212 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4213 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4214 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4215 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4217 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4229 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4240 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4241 Remove conditional code.
4242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4243 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4244 Remove conditional code.
4245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4246 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4247 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4248 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4249 Remove conditional code.
4250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4251 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4252 Remove conditional code.
4253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4254 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4255 Remove conditional code.
4256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4257 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4258 Remove conditional code.
4259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4260 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4261 Remove conditional code.
4262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4263 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4266 * sysdeps/unix/sysv/linux/sigaction.c
4267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4269 * sysdeps/unix/sysv/linux/sigpending.c
4270 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4271 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4272 * sysdeps/unix/sysv/linux/sigprocmask.c
4273 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4274 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4275 * sysdeps/unix/sysv/linux/sigsuspend.c
4276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4278 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4279 (__libc_missing_rt_sigs): Remove.
4280 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4281 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4282 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4283 Remove conditional code.
4284 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4285 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4286 return 1.
4287 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4288 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4289 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4290 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4291
1bfb7291
AJ
42922012-05-14 Andreas Jaeger <aj@suse.de>
4293
caae5a81
AJ
4294 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4295 it's not used in glibc.
4296 (__coshm1): Likewise.
4297 (__acosh1p): Likewise.
4298 (__sgn): Likewise.
4299
1bfb7291
AJ
4300 * manual/string.texi (Copying and Concatenation): Add missing
4301 variable in concat example.
4302 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4303
c044d724
L
43042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4305
144c5467 4306 [BZ #14103]
c044d724
L
4307 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4308 __builtin_clzl with __builtin_clzll.
4309
2523c62b
L
43102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4311
4312 [BZ #14104]
4313 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4314 libc_freeres_ptr.
4315
d7bb4c42
LD
43162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4317
4318 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4319 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4320 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4321 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4322
9dc4e1fb
MF
43232012-05-14 Mike Frysinger <vapier@gentoo.org>
4324
4325 * NEWS: Update ia64 info.
4326
c7df0112
AS
43272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4328
4329 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4330 used as bcopy.
4331
dc70356c
TS
43322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4333
4334 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4335 * sysdeps/unix/syscalls.list (dup3): Likewise.
4336 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4337 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4338
9fb1a21f
L
43392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4340
4341 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4342 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4343
4822a2a5
L
43442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4345
4346 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4347 thread pointer.
4348 (TLS_IE): Use mov/add instead of movq/addq to load thread
4349 pointer.
4350 (TLS_GD_PREFIX): New.
4351 (TLS_GD): Use it.
4352
842b81d6
DM
43532012-05-11 David S. Miller <davem@davemloft.net>
4354
4355 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4356 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4357 (_FPU_SETCW): Likewise.
4358
1cf463cd
L
43592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4360
4361 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4362 is 32-byte aligned.
4363
60cc4a18
AS
43642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4365
4366 [BZ #11837]
4367 * iconvdata/gb18030.c: Update tables.
4368 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4369 characters specially.
4370 (BODY for TO_LOOP): Add encoding of missing ranges.
4371
febb44a4
TS
43722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4373
4374 [BZ #13673]
4375 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4376 * sysdeps/mach/hurd/dup3.c: Likewise.
4377 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4378 * sysdeps/powerpc/memmove.c:: Likewise.
4379
0a10fb9e
L
43802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4381
4382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4383 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4384
df8a552f
L
43852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4386
4387 * elf/elf.h (R_X86_64_RELATIVE64): New.
4388 (R_X86_64_NUM): Updated.
4389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4390 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4391 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4392 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4393 tst-quad1pie tst-quad2pie
4394 (modules-names): Add tst-quadmod1 tst-quadmod2.
4395 ($(objpfx)tst-quad1): New dependency.
4396 ($(objpfx)tst-quad2): Likewise.
4397 ($(objpfx)tst-quad1pie): Likewise.
4398 ($(objpfx)tst-quad2pie): Likewise.
4399 * sysdeps/x86_64/tst-quad1.c: New file.
4400 * sysdeps/x86_64/tst-quad1pie.c: New file.
4401 * sysdeps/x86_64/tst-quad2.c: Likewise.
4402 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4403 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4404 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4405 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4406 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4407
f34d6f84
ST
44082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4409
f42d41d1
ST
4410 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4411 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4412 * streams/stropts.h (t_scalar_t): Define type.
4413
3c3571fc
ST
4414 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4415 (_PATH_PRESERVE): Set to "/var/lib".
4416 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4417
61f06bd3
ST
4418 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4419 instead of int.
4420
918d4d71
ST
4421 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4422 if __dir_mkfile succeeded.
4423
f34d6f84
ST
4424 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4425 checking for _hurd_dtablesize. Unlock it right after having
4426 finished _hurd_dtable allocation.
4427
10589b4a
TS
44282012-05-10 Thomas Schwinge <thomas@schwinge.name>
4429
674cdbc7
TS
4430 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4431 * sysdeps/mach/hurd/configure: Regenerated.
4432 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4433 special-casing to...
4434 * sysdeps/gnu/configure.in: ... this new file.
4435 * sysdeps/unix/sysv/linux/configure: Regenerated.
4436 * sysdeps/gnu/configure: New generated file.
4437
8e41b99f
TS
4438 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4439 for Linux: use nsec instead of usec, as well as:
4440 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4441 members of type struct timespec.
4442 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4443 New macros.
4444 (struct stat64): Likewise.
4445 (_STATBUF_ST_NSEC): New macro.
4446 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4447
10589b4a
TS
4448 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4449 __strtoul_internal rather than strtoul.
4450
63643c85
PT
44512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4452
4453 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4454 and reject them.
4455
3faebe6a
ST
44562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4457
4458 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4459 which preserves existing values.
4460 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4461
c6474b07
PT
44622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4463
4464 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4465 TIMEOUT values. Return EINVAL for NFDS values either negative or
4466 greater than FD_SETSIZE.
4467
1043890b
ST
44682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4469
4470 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4471 allocated, call __vm_protect to finish enabling the existing space, and
4472 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4473 allocate the remainder.
4474
37ed8b9b
PT
44752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4476
4477 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4478 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4479
db653660
ST
44802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4481
37ed8b9b
PT
4482 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4483 sysdeps/mach/hurd/readlink.c.
b29d4053 4484
db653660
ST
4485 * posix/tst-sysconf.c (posix_options): Only use
4486 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4487 _POSIX_SYNCHRONIZED_IO when they are defined
4488 * sysdeps/mach/hurd/bits/posix_opt.h:
4489 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4490 (_XOPEN_REALTIME): Undefine macro.
4491 (_XOPEN_REALTIME_THREADS): Undefine macro.
4492 (_XOPEN_SHM): Undefine macro.
4493 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4494 macro to -1.
4495 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4496 macro to -1.
4497 (_POSIX_ASYNC_IO): Undefine macro.
4498 (_POSIX_PRIORITIZED_IO): Undefine macro.
4499 (_POSIX_SPIN_LOCKS): Define macro to -1.
4500
ee16e894
ST
4501 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4502 SA_NODEFER, SA_RESETHAND.
4503 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4504 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4505 F_DUPFD_CLOEXEC.
4506
6103ae3b
TS
45072012-05-10 Thomas Schwinge <thomas@schwinge.name>
4508
4509 * elf/Makefile (pldd-modules): Define unconditionally.
4510
80b4e5f3
TS
45112012-05-10 Thomas Schwinge <thomas@schwinge.name>
4512
4513 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4514
edadcbd6
ST
45152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4516
4517 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4518 Return ENOENT when name is empty.
4519 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4520
80694780
TS
45212012-05-10 Thomas Schwinge <thomas@schwinge.name>
4522
1792c087
TS
4523 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4524
80694780
TS
4525 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4526
6b645f0d
ST
45272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4528
80694780
TS
4529 Fix mlock in all cases except non-readable pages.
4530 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4531 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4532
6b645f0d
ST
4533 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4534 (__mkdir): When path is `/', just fail with EEXIST.
4535 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4536
e468f8a3
TS
45372012-05-10 Thomas Schwinge <thomas@schwinge.name>
4538
4539 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4540 <sys/uio.h> (for writev).
4541 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4542 and <sys/param.h> (for MIN).
4543
a4186cff
PT
45442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4545
4546 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4547 REQUESTED_TIME. Properly set the remaining time and return EINTR
4548 if interrupted.
4549
510bbf14
TS
45502012-05-10 Thomas Schwinge <thomas@schwinge.name>
4551
4552 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4553 Depend on against $(link-rpcuserlibs).
4554
5d5722e8
ST
45552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4556
a4186cff
PT
4557 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4558 (__libc_stack_end): Do not use attribute_relro.
4559 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4560 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4561 to libthread-provided value.
a4186cff
PT
4562 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4563 attribute_relro.
5d5722e8 4564
37233df9
TS
45652012-05-10 Thomas Schwinge <thomas@schwinge.name>
4566
be971a2b
TS
4567 [BZ #3748]
4568 * bits/libc-lock.h (__libc_once_get): New macro.
4569 * sysdeps/mach/bits/libc-lock.h: Likewise.
4570 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4571 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4572 instead of using implementation details.
4573
37233df9
TS
4574 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4575 * libio/freopen.c: Likewise.
4576 * libio/freopen64.c: Likewise.
4577 * misc/syslog.c: Likewise.
4578 * nscd/connections.c: Likewise.
4579 * nscd/netgroupcache.c: Likewise.
4580 * sysdeps/posix/getcwd.c: Likewise.
4581
38de94a5
RM
45822012-05-10 Roland McGrath <roland@hack.frob.com>
4583
4584 * math/w_ilogbf.c: Add #include <limits.h>.
4585
67530489
ST
45862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4587
a4186cff 4588 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4589 path instead of returning without unlocking.
4590
67530489
ST
4591 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4592 immediate-write ioctls.
4593 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4594
5aa3a74a
TS
45952012-05-10 Thomas Schwinge <thomas@schwinge.name>
4596
18bad2ae
TS
4597 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4598 __builtin_frame_address instead of making assumptions about the
4599 location of the return address relative to DATA. Force early load of
4600 the return address.
4601 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4602 __builtin_frame_address.
4603
5aa3a74a
TS
4604 dup3 for GNU Hurd.
4605 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4606 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4607 implement dup3 and do some further code clean-ups.
4608 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4610
ecd0de9a
ST
46112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4612
cd9fa985
ST
4613 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4614
a4186cff
PT
4615 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4616 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4617 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4618 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4619 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4620 d->port.lock.
802ca5a5 4621
a4186cff
PT
4622 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4623 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4624 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4625
bcf55240
TS
46262012-05-10 Thomas Schwinge <thomas@schwinge.name>
4627
6960eb42
TS
4628 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4629 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4630 definitions.
4631
eb43375f
TS
4632 accept4 for GNU Hurd.
4633 * include/sys/socket.h (__libc_accept4): New prototype.
4634 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4635 to implement __libc_accept4.
4636 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4637 __libc_accept4.
4638 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4639
bcf55240
TS
4640 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4641 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4642 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4643 signal-defines.sym.
4644
6178c55b
ST
46452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4646
a4186cff 4647 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4648
6f080c2f
TS
46492012-05-10 Thomas Schwinge <thomas@schwinge.name>
4650
4651 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4652 assertion on O_CLOEXEC flag.
4653 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4654 * hurd/intern-fd.c: Likewise.
4655 * hurd/port2fd.c: Likewise.
4656
bcfe3a54
ST
46572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4658
4659 [BZ #3906]
4660 * bits/in.h (IPV6_PKTINFO): Define new macro.
4661 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4662
89c9aa49
AZ
46632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664
4665 [BZ #13954]
4666 [BZ #13955]
4667 [BZ #13956]
4668 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4670 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4671 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4673 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4674 * math/libm-test.inc (logb_test) : Additional logb tests.
4675
021db4be
AJ
46762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4677 Andreas Jaeger <aj@suse.de>
4678
4679 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4680 * configure: Regenerated.
4681 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4682 * config.make.in (link-obsolete-rpc): New substituted variable.
4683 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4684 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4685 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4686 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4687 so that libc.a contains the symbols.
4688 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4689 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4690 * sunrpc/auth_none.c: Likewise.
4691 * sunrpc/auth_unix.c: Likewise.
4692 * sunrpc/authdes_prot.c: Likewise.
4693 * sunrpc/authuxprot.c: Likewise.
4694 * sunrpc/clnt_gen.c: Likewise.
4695 * sunrpc/clnt_perr.c: Likewise.
4696 * sunrpc/clnt_raw.c: Likewise.
4697 * sunrpc/clnt_simp.c: Likewise.
4698 * sunrpc/clnt_tcp.c: Likewise.
4699 * sunrpc/clnt_udp.c: Likewise.
4700 * sunrpc/clnt_unix.c: Likewise.
4701 * sunrpc/des_crypt.c: Likewise.
4702 * sunrpc/des_soft.c: Likewise.
4703 * sunrpc/get_myaddr.c: Likewise.
4704 * sunrpc/key_call.c: Likewise.
4705 * sunrpc/key_prot.c: Likewise.
4706 * sunrpc/netname.c: Likewise.
4707 * sunrpc/pm_getmaps.c: Likewise.
4708 * sunrpc/pm_getport.c: Likewise.
4709 * sunrpc/pmap_clnt.c: Likewise.
4710 * sunrpc/pmap_prot.c: Likewise.
4711 * sunrpc/pmap_prot2.c: Likewise.
4712 * sunrpc/pmap_rmt.c: Likewise.
4713 * sunrpc/publickey.c: Likewise.
4714 * sunrpc/rpc_cmsg.c: Likewise.
4715 * sunrpc/rpc_common.c: Likewise.
4716 * sunrpc/rpc_dtable.c: Likewise.
4717 * sunrpc/rpc_prot.c: Likewise.
4718 * sunrpc/rpc_thread.c: Likewise.
4719 * sunrpc/rtime.c: Likewise.
4720 * sunrpc/svc.c: Likewise.
4721 * sunrpc/svc_auth.c: Likewise.
4722 * sunrpc/svc_raw.c: Likewise.
4723 * sunrpc/svc_run.c: Likewise.
4724 * sunrpc/svc_tcp.c: Likewise.
4725 * sunrpc/svc_udp.c: Likewise.
4726 * sunrpc/svc_unix.c: Likewise.
4727 * sunrpc/svcauth_des.c: Likewise.
4728 * sunrpc/xcrypt.c: Likewise.
4729 * sunrpc/xdr.c: Likewise.
4730 * sunrpc/xdr_array.c: Likewise.
4731 * sunrpc/xdr_float.c: Likewise.
4732 * sunrpc/xdr_intXX_t.c: Likewise.
4733 * sunrpc/xdr_mem.c: Likewise.
4734 * sunrpc/xdr_rec.c: Likewise.
4735 * sunrpc/xdr_ref.c: Likewise.
4736 * sunrpc/xdr_sizeof.c: Likewise.
4737 * sunrpc/xdr_stdio.c: Likewise.
4738
b5c086a2
RM
47392012-05-10 Roland McGrath <roland@hack.frob.com>
4740
4741 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4742 change. Update copyright years.
4743
6d74dd09
JM
47442012-05-10 Joseph Myers <joseph@codesourcery.com>
4745
4746 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4747
28e72501
MK
47482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4749 Joseph Myers <joseph@codesourcery.com>
4750 Paul Pluzhnikov <ppluzhnikov@google.com>
4751
4752 [BZ #14012]
4753 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4754 requiring rpcgen.
4755 [cross-compiling] (extra-libs): Likewise.
4756 [cross-compiling] (extra-libs-others): Likewise.
4757 [cross-compiling] (librpcsvc-routines): Likewise.
4758 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4759 [cross-compiling] (omit-deps): Likewise.
4760 (sunrpc-CPPFLAGS): New variable.
4761 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4762 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4763 (cross-rpcgen-objs): New variable.
4764 (extra-objs): Append $(cross-rpcgen-objs).
4765 ($(cross-rpcgen-objs)): New rule.
4766 ($(objpfx)cross-rpcgen): Likewise.
4767 (rpcgen-cmd): Define to use $(built-program-file). Expand
4768 comment.
4769 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4770 ($(objpfx)x%.stmp): Likewise.
4771 * sunrpc/proto.h [IS_IN_build] (_): Define.
4772 [IS_IN_build] (_libc_intl_domainname): Likewise.
4773
c8c59454
L
47742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4775
4776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4777 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4778 and R_X86_64_TPOFF64.
4779
6f27cd16
JM
47802012-05-10 Joseph Myers <joseph@codesourcery.com>
4781
4782 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4783 sysdeps/unix/sysv/syscalls.list.
4784 (stime): Likewise.
4785 (utime): Likewise.
4786 * sysdeps/unix/sysv/syscalls.list: Remove file.
4787
02467e1c
PE
47882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4789
4790 [BZ #3440]
4791 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4792 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4793 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4794 (__LC_IDENTIFICATION): Make these macros useful in #if
4795 expressions, as required by C99.
4796
da392631
AS
47972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4798
4799 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4800 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4801 after this.
4802
8115f29b
L
48032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4804
4805 * stdlib/longlong.h: Updated from GCC.
4806
bdd74070
AJ
48072012-05-09 Andreas Jaeger <aj@suse.de>
4808
edfe0dbe
AJ
4809 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4810 default is first entry.
4811 (run_mode): Set type.
4812 (main): Remove informal message about syslog.
4813 (options): Fix typo.
4814
bcfe3a54
ST
4815 [BZ #14053]
4816 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4817 to asm.
bcfe3a54
ST
4818 (lrint): Likewise.
4819 (llrintf): Likewise.
4820 (llrint): Likewise.
4821 (rint): Likewise.
4822 (rintf): Likewise.
4823 (nearbyint): Likewise.
4824 (nearbyintf): Likewise.
bdd74070 4825
91d8d69e
AJ
48262012-05-09 Andreas Jaeger <aj@suse.de>
4827 Pedro Alves <palves@redhat.com>
4828
4829 * nscd/nscd.c (run_mode): Use enum.
4830 (main): Cleanup coding style issue.
4831
bb90b80b
AJ
48322012-05-09 Alexandre Oliva <aoliva@redhat.com>
4833 Andreas Jaeger <aj@suse.de>
4834
bcfe3a54
ST
4835 * nscd/nscd.c (go_background): Replaced with...
4836 (run_mode): ... this.
bb90b80b 4837 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4838 (options): Add -F --foreground.
4839 (main): Implement it.
4840 (parse_opt): Parse it.
bb90b80b 4841
1a4b75a1
AJ
48422012-05-09 Andreas Jaeger <aj@suse.de>
4843
4844 [BZ #14083]
4845 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4846 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4847 -Wconversion warning.
4848 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4849 Likewise.
4850
b1cc2472
JM
48512012-05-09 Joseph Myers <joseph@codesourcery.com>
4852
4853 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4854 == 0.
4855 (LC_ALL): Use macro-int-constant.
4856 (LC_COLLATE): Likewise.
4857 (LC_CTYPE): Likewise.
4858 (LC_MESSAGES): Likewise.
4859 (LC_MONETARY): Likewise.
4860 (LC_NUMERIC): Likewise.
4861 (LC_TIME): Likewise.
4862 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4863 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4865 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4866 Specify type.
4867 [C99-based standards] (float_t): Expect type.
4868 [C99-based standards] (double_t): Expect type.
4869 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4870 type.
4871 [C99-based standards] (HUGE_VALL): Likewise.
4872 [C99-based standards] (INFINITY): Likewise.
4873 [C99-based standards] (NAN): Likewise.
4874 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4875 [C99-based standards] (FP_NAN): Likewise.
4876 [C99-based standards] (FP_NORMAL): Likewise.
4877 [C99-based standards] (FP_SUBNORMAL): Likewise.
4878 [C99-based standards] (FP_ZERO): Likewise.
4879 [C99-based standards] (FP_FAST_FMA): Use
4880 optional-macro-int-constant. Specify type. Require == 1.
4881 [C99-based standards] (FP_FAST_FMAF): Likewise.
4882 [C99-based standards] (FP_FAST_FMAL): Likewise.
4883 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4884 [C99-based standards] (FP_ILOGBNAN): Likewise.
4885 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4886 Specify type.
4887 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4888 [C99-based standards] (math_errhandling): Specify type.
4889 [ISO99 || ISO11] (signgam): Do not allow.
4890 [non-C99-based standards] (copysignf): Do not allow.
4891 [non-C99-based standards] (exp2f): Likewise.
4892 [non-C99-based standards] (log2f): Likewise.
4893 [non-C99-based standards] (modff): Allow.
4894 [non-C99-based standards] (erff): Do not allow.
4895 [non-C99-based standards] (erfcf): Likewise.
4896 [non-C99-based standards] (gammaf): Likewise.
4897 [non-C99-based standards] (hypotf): Likewise.
4898 [non-C99-based standards] (j0f): Likewise.
4899 [non-C99-based standards] (j1f): Likewise.
4900 [non-C99-based standards] (jnf): Likewise.
4901 [non-C99-based standards] (lgammaf): Likewise.
4902 [non-C99-based standards] (tgammaf): Likewise.
4903 [non-C99-based standards] (y0f): Likewise.
4904 [non-C99-based standards] (y1f): Likewise.
4905 [non-C99-based standards] (ynf): Likewise.
4906 [non-C99-based standards] (isnanf): Likewise.
4907 [non-C99-based standards] (acoshf): Likewise.
4908 [non-C99-based standards] (asinhf): Likewise.
4909 [non-C99-based standards] (atanhf): Likewise.
4910 [non-C99-based standards] (cbrtf): Likewise.
4911 [non-C99-based standards] (expm1f): Likewise.
4912 [non-C99-based standards] (ilogbf): Likewise.
4913 [non-C99-based standards] (log1pf): Likewise.
4914 [non-C99-based standards] (logbf): Likewise.
4915 [non-C99-based standards] (nextafterf): Likewise.
4916 [non-C99-based standards] (remainderf): Likewise.
4917 [non-C99-based standards] (rintf): Likewise.
4918 [non-C99-based standards] (scalbf): Likewise.
4919 [non-C99-based standards] (copysignl): Likewise.
4920 [non-C99-based standards] (exp2l): Likewise.
4921 [non-C99-based standards] (log2l): Likewise.
4922 [non-C99-based standards] (modfl): Allow.
4923 [non-C99-based standards] (erfl): Do not allow.
4924 [non-C99-based standards] (erfcl): Likewise.
4925 [non-C99-based standards] (gammal): Likewise.
4926 [non-C99-based standards] (hypotl): Likewise.
4927 [non-C99-based standards] (j0l): Likewise.
4928 [non-C99-based standards] (j1l): Likewise.
4929 [non-C99-based standards] (jnl): Likewise.
4930 [non-C99-based standards] (lgammal): Likewise.
4931 [non-C99-based standards] (tgammal): Likewise.
4932 [non-C99-based standards] (y0l): Likewise.
4933 [non-C99-based standards] (y1l): Likewise.
4934 [non-C99-based standards] (ynl): Likewise.
4935 [non-C99-based standards] (isnanl): Likewise.
4936 [non-C99-based standards] (acoshl): Likewise.
4937 [non-C99-based standards] (asinhl): Likewise.
4938 [non-C99-based standards] (atanhl): Likewise.
4939 [non-C99-based standards] (cbrtl): Likewise.
4940 [non-C99-based standards] (expm1l): Likewise.
4941 [non-C99-based standards] (ilogbl): Likewise.
4942 [non-C99-based standards] (log1pl): Likewise.
4943 [non-C99-based standards] (logbl): Likewise.
4944 [non-C99-based standards] (nextafterl): Likewise.
4945 [non-C99-based standards] (remainderl): Likewise.
4946 [non-C99-based standards] (rintl): Likewise.
4947 [non-C99-based standards] (scalbl): Likewise.
4948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4949 [non-C99-based standards] (FP_*): Do not allow.
4950 [C99-based standards] (FP_*): Change to
4951 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4952 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4953 allow.
4954 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4955 (SIG_ERR): Likewise.
4956 [X/Open-based standards] (SIG_HOLD): Likewise.
4957 (SIG_IGN): Likewise.
4958 (SIGABRT): Use macro-int-constant. Specify type. Require
4959 positive value.
4960 (SIGFPE): Likewise.
4961 (SIGILL): Likewise.
4962 (SIGINT): Likewise.
4963 (SIGSEGV): Likewise.
4964 (SIGTER): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4969 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4970 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4971 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4972 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4973 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4974 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4975 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4976 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4977 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4978 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4979 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4980 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4981 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4982 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4983 [X/Open-based standards] (SIGTRAP): Likewise.
4984 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4985 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4986 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4987 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4988 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4989 allow.
4990
b9f1922d
IW
49912012-05-08 Ian Wienand <ianw@vmware.com>
4992
4993 [BZ #14080]
4994 * time/tzset.c (__tzset_parse_tz): Update default rules for
4995 daylight time changes in the Energy Policy Act of 2005.
4996
1db86e88
AJ
49972012-05-09 Andreas Jaeger <aj@suse.de>
4998
4999 [BZ #13983]
5000 * elf/ldconfig.c (parse_conf): Change string to make clear that
5001 ldconfig only issued a warning if ld.so.conf does not exist.
5002
dee4a4e3
DM
50032012-05-08 David S. Miller <davem@davemloft.net>
5004
ee0db190
DM
5005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5006 movxtod instead of popping the value on the stack.
5007
dee4a4e3
DM
5008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5009
6a43ec98
CD
50102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5011
5012 * config.h.in: Add HAVE_ARM_PCS_VFP.
5013
05c2c961
RMG
50142012-05-08 Roland Mc Grath <roland@hack.frob.com>
5015
bcfe3a54
ST
5016 [BZ #13979]
5017 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5018 checking but the checks are disabled for any reason.
05c2c961 5019
4b30f61a
L
50202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5021
5022 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5023 and ELF64_R_TYPE with ELFW(R_TYPE).
5024
eee2bc67
JM
50252012-05-08 Joseph Myers <joseph@codesourcery.com>
5026
7ea5391a
JM
5027 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5028 (ulimit): Likewise.
5029
eee2bc67
JM
5030 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5031 (settimeofday): Likewise.
5032
abb66a67
MF
50332012-05-08 Mike Frysinger <vapier@gentoo.org>
5034
5035 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5036 a struct th_u2 inside the union, and move tu_block/tu_code into
5037 a new th_u3 union of tu_block/tu_code inside of that. Move
5038 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5039 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5040 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5041 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5042 (th_stuff): Change to th_u1.tu_stuff.
5043 (th_data): Define.
5044 (th_msg): Change to th_u1.th_u2.tu_data.
5045
7f18b530
DM
50462012-05-07 David S. Miller <davem@davemloft.net>
5047
05760585
DM
5048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5049
7f18b530
DM
5050 [BZ #14074]
5051 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5052 (SETUP_PIC_REG): Use it.
5053 (SETUP_PIC_REG_LEAF): Use it.
5054
495fd99f
JM
50552012-05-07 Joseph Myers <joseph@codesourcery.com>
5056
5057 [BZ #13885]
5058 [BZ #13923]
5059 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5060 USE_AS_EXPM1L.
5061 (EXPL_FINITE): Likewise.
5062 (FLDLOG): Likewise.
5063 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5064 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5065 e_expl.S.
5066 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5067 USE_AS_EXPM1L.
5068 (EXPL_FINITE): Likewise.
5069 (FLDLOG): Likewise.
5070 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5071 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5072 e_expl.S.
5073 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5074 test of -max_value argument for long double.
5075 * sysdeps/i386/fpu/libm-test-ulps: Update.
5076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5077
6693d694
DM
50782012-05-06 David S. Miller <davem@davemloft.net>
5079
5080 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5081 quad soft-float symbols whose references which are compiler
5082 generated.
5083 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5084
6c23e11c
JM
50852012-05-06 Joseph Myers <joseph@codesourcery.com>
5086
d8b82cad
JM
5087 [BZ #13884]
5088 [BZ #13914]
5089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5090 USE_AS_EXP10L.
5091 (EXPL_FINITE): Likewise.
5092 (FLDLOG): Likewise.
5093 (c0): Likewise.
5094 (c1): Likewise.
5095 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5096 Adjust comments for base varying.
5097 (__expl_finite): Change alias to EXPL_FINITE.
5098 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5099 e_expl.S.
5100 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5101 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5103 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5105 USE_AS_EXP10L.
5106 (EXPL_FINITE): Likewise.
5107 (FLDLOG): Likewise.
5108 (c0): Likewise.
5109 (c1): Likewise.
5110 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5111 Adjust comments for base varying.
5112 (__expl_finite): Change alias to EXPL_FINITE.
5113 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5114 tests for bugs.
5115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5116
6c23e11c
JM
5117 [BZ #14064]
5118 * math/libm-test.inc (check_float_internal): Correct ulp
5119 calculation for subnormal expected results.
5120
29ba805c
AJ
51212012-05-06 Andreas Jaeger <aj@suse.de>
5122
5123 * Makeconfig (+math-flags): New, set to -frounding-math.
5124 (+cflags): Add +math-flags so that all of glibc gets compiled with
5125 it.
5126
5127 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5128
7b17aeda
JM
51292012-05-05 Joseph Myers <joseph@codesourcery.com>
5130
5779f134
JM
5131 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5132 Disable one test.
5133
41498f4d
JM
5134 [BZ #13787]
5135 [BZ #13922]
5136 [BZ #14036]
5137 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5138 (__ieee754_expl): Allow for and saturate large arguments.
5139 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5140 (u_threshold): Likewise.
5141 (__exp): Call __ieee754_exp before checking for overflow and
5142 underflow.
5143 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5144 (u_threshold): Likewise.
5145 (__expf): Call __ieee754_expf before checking for overflow and
5146 underflow.
5147 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5148 (u_threshold): Likewise.
5149 (__expl): Call __ieee754_expl before checking for overflow and
5150 underflow.
5151 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5152 (__ieee754_expl): Allow for and saturate large arguments.
5153 * math/libm-test.inc (exp_test): Add another test. Do not allow
5154 missing overflow exception on overflow.
5155 (expm1_test): Do not allow missing overflow exception on overflow.
5156
6698b8bf
JM
5157 * sysdeps/i386/fpu/e_expl.c: Move to ...
5158 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5159 rather than using inline asm.
5160 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5161 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5162 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5163
7b17aeda
JM
5164 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5165 (nice): Likewise.
5166 (poll): Likewise.
5167 (signal): Likewise.
5168 (time): Likewise.
5169 (times): Likewise.
5170
f7c85819
JM
51712012-05-04 Joseph Myers <joseph@codesourcery.com>
5172
5173 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5174 sysdeps/unix/common/syscalls.list.
5175 (fchmod): Likewise.
5176 (fchown): Likewise.
5177 (ftruncate): Likewise.
5178 (getrusage): Likewise.
5179 (gettimeofday): Likewise.
5180 (setpgid): Likewise.
5181 (setregid): Likewise.
5182 (setreuid): Likewise.
5183 (sigaction): Likewise.
5184 (truncate): Likewise.
5185 (vhangup): Likewise.
5186 * sysdeps/unix/common/syscalls.list: Remove file.
5187 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5188 * sysdeps/unix/sysv/linux/Implies: Likewise.
5189
336270d0
L
51902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5191
5192 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5194 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5195 Moved to ...
5196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5197 Here.
5198 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5199 to ...
5200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5201 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5202 to ...
5203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5204 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5205 to ...
5206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5207 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5208 to ...
5209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5210 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5211 to ...
5212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5213 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5214 to ...
5215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5216 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5217 to ...
5218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5219 Here.
5220 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5221 to ...
5222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5223 Here.
5224 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5225 to ...
5226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5227 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5228 Moved to ...
5229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5230 Here.
5231 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5232 to ...
5233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5234
d128e450
JM
52352012-05-04 Joseph Myers <joseph@codesourcery.com>
5236
fa8ee516
JM
5237 * sysdeps/unix/common/bits/dirent.h: Remove file.
5238 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5239
d128e450
JM
5240 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5241 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5242 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5243 * sysdeps/unix/bsd/isatty.c: Likewise.
5244 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5245 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5246 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5247
ff8faaf0 52482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5249
62881be4 5250 [BZ #13563]
31dc8730
AZ
5251 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5252 long double comparison inaccuracies.
5253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5255
6fef930c
AS
52562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5257
5258 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5260
8f203e6c
JM
52612012-05-04 Joseph Myers <joseph@codesourcery.com>
5262
5263 [BZ #14049]
5264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5265 nonzero digits before rounding a hex value.
5266 * stdlib/tst-strtod.c (tests): Add another test.
5267
5197d9c2
AK
52682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5269
5270 * sysdeps/s390/fpu/libm-test-ulps: Update.
5271
f0c1dedf
AJ
52722012-05-03 Andreas Jaeger <aj@suse.de>
5273
5274 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5275 does not get optimized out.
5276 (malloc_opt_barrier): New.
5277
a65ef2ae 52782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5279 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5280
2b942cb7 5281 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5282 intermediate file deletion.
2b942cb7 5283 (generated): Add .symlist files.
a65ef2ae 5284
54b71e02
JM
52852012-05-03 Joseph Myers <joseph@codesourcery.com>
5286
5287 [BZ #13775]
5288 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5289 Redirect under this condition.
5290 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5291 [__USE_GNU] (__dprintf_chk): Not under this condition.
5292 [__USE_GNU] (__vdprintf_chk): Likewise.
5293 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5294 under this condition.
5295 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5296 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5297 [__USE_XOPEN2K8] (vdprintf): Likewise.
5298 [__USE_GNU] (__dprintf_chk): Not under this condition.
5299 [__USE_GNU] (__vdprintf_chk): Likewise.
5300 [__USE_GNU] (dprintf): Likewise.
5301 [__USE_GNU] (vdprintf): Likewise.
5302
d3dfcc41
RM
53032012-05-03 Roland McGrath <roland@hack.frob.com>
5304
5305 * elf/Makefile (common-generated): Set this instead of generated for
5306 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5307 $(all-built-dso)-derived lists.
5308
7ac30cc5
AJ
53092012-05-03 Andreas Jaeger <aj@suse.de>
5310
0c51e550
AJ
5311 * sysdeps/i386/fpu/libm-test-ulps: Update.
5312
7ac30cc5
AJ
5313 * FAQ: Removed.
5314 * FAQ.in: Likewise.
5315 * scripts/gen-FAQ.pl: Likewise.
5316 * manual/install.texi (Installation): Point to online location of
5317 FAQ.
5318 * Makefile (files-for-dist): Remove FAQ.
5319 (FAQ): Remove.
5320
d4c2917f
AM
53212012-05-02 Allan McRae <allan@archlinux.org>
5322
5323 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5324 (LDFLAGS-reldepmod5.so): Likewise.
5325 (LDFLAGS-reldep6mod1.so): Likewise.
5326 (LDFLAGS-reldep6mod4.so): Likewise.
5327 (LDFLAGS-reldep8mod3.so): Likewise.
5328 (LDFLAGS-unload4mod1.so): Likewise.
5329 (LDFLAGS-unload4mod2.so): Likewise.
5330 (LDFLAGS-tst-initorder): Likewise.
5331 (LDFLAGS-tst-initordera2.so): Likewise.
5332 (LDFLAGS-tst-initordera3.so): Likewise.
5333 (LDFLAGS-tst-initordera4.so): Likewise.
5334 (LDFLAGS-tst-initorderb2.so): Likewise.
5335 (LDFLAGS-noload): Likewise.
5336 (LDFLAGS-next): Likewise.
5337 (LDFLAGS-order2mod1.so): Likewise.
5338 (LDFLAGS-order2mod2.so): Likewise.
5339 (LDFLAGS-tst-initorder2): Likewise.
5340 (LDFLAGS-tst-initorder2a.so): Likewise.
5341 (LDFLAGS-tst-initorder2b.so): Likewise.
5342 (LDFLAGS-tst-initorder2c.so): Likewise.
5343 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5344
d77f993f
DM
53452012-05-02 David S. Miller <davem@davemloft.net>
5346
5347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5348
171a70b4
PP
53492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5350
5351 [BZ #14055]
5352 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5353
0be196ad
AJ
53542012-05-02 Andreas Jaeger <aj@suse.de>
5355
5356 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5357 since we manipulate rounding mode.
5358 (CPPFLAGS-test-idouble.c): Likewise.
5359 (CPPFLAGS-test-ifloat.c): Likewise.
5360 (CFLAGS-test-ldouble.c): Likewise.
5361 (CFLAGS-test-double.c): Likewise.
5362 (CFLAGS-test-float.c): Likewise.
5363 (CFLAGS-test-misc.c): Likewise.
5364 (CFLAGS-test-test-fenv.c): Likewise.
5365
4f9d04aa
AZ
53662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5367
2b942cb7
RM
5368 [BZ #2550]
5369 [BZ #2570]
5370 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5371 comparisons to determine direction to adjust input.
4f9d04aa 5372
82a79e7d
RM
53732012-05-01 Roland McGrath <roland@hack.frob.com>
5374
f5a01ca9
RM
5375 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5376 output to the target.
5377
90fe4186
RM
5378 * scripts/localplt.awk: New file.
5379 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5380 (check-localplt-CFLAGS): Variable removed.
5381 ($(all-built-dso:=.jmprel)): New static pattern rule.
5382 (generated): Add those targets.
5383 (localplt-built-dso): New variable.
5384 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5385
5386 * elf/check-localplt.c: File removed.
5387
82397ed6
RM
5388 * scripts/check-execstack.awk: New file.
5389 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5390 (check-execstack-CFLAGS): Variable removed.
5391 ($(objpfx)check-execstack.h): Target removed.
5392 ($(objpfx)execstack-default): New target.
5393 (generated): Add that instead of check-execstack.h.
5394 ($(all-built-dso:=.phdr)): New static pattern rule.
5395 (generated): Add those targets.
5396 * elf/check-execstack.c: File removed.
5397
82a79e7d
RM
5398 * scripts/check-textrel.awk: New file.
5399 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5400 (check-textrel-CFLAGS): Variable removed.
5401 (all-built-dso): Use := to define.o
5402 ($(all-built-dso:=.dyn)): New static pattern rule.
5403 (generated): Add those targets.
5404 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5405 * config.make.in (READELF): New substituted variable.
5406 * elf/check-textrel.c: File removed.
5407
62fde54f 54082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5409
615605c9
JM
5410 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5411 allow.
5412 * conform/data/ctype.h-data [C99-based standards] (isblank):
5413 Expect function.
5414 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5415 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5417 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5418 Specify type. Require positive value.
5419 (EILSEQ): Likewise.
5420 (ERANGE): Likewise.
5421 [ISO || POSIX] (EILSEQ): Do not expect.
5422 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5423 Specify type. Require positive value.
5424 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5425 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5426 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5427 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5429 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5430 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5431 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5432 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5433 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5434 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5435 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5436 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5437 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5438 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5439 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5440 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5441 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5442 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5443 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5444 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5445 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5446 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5447 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5448 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5449 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5450 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5451 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5452 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5453 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5454 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5455 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5456 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5457 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5458 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5459 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5460 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5461 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5462 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5463 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5464 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5465 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5466 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5467 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5468 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5469 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5470 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5471 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5472 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5473 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5474 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5475 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5476 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5477 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5478 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5479 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5480 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5481 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5482 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5483 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5484 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5485 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5486 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5487 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5488 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5489 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5490 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5491 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5492 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5493 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5494 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5495 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5496 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5497 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5498 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5499 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5500 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5501 Require >= 2.
5502 (FLT_ROUNDS): Expect as macro, not constant.
5503 (FLT_MANT_DIG): Use macro-int-constant.
5504 (DBL_MANT_DIG): Likewise.
5505 (LDBL_MANT_DIG): Likewise.
5506 (FLT_DIG): Likewise.
5507 (DBL_DIG): Likewise.
5508 (LDBL_DIG): Likewise.
5509 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5510 (DBL_MIN_EXP): Likewise.
5511 (LDBL_MIN_EXP): Likewise.
5512 (FLT_MAX_EXP): Use macro-int-constant.
5513 (DBL_MAX_EXP): Likewise.
5514 (LDBL_MAX_EXP): Likewise.
5515 (FLT_MAX_10_EXP): Likewise.
5516 (DBL_MAX_10_EXP): Likewise.
5517 (LDBL_MAX_10_EXP): Likewise.
5518 (FLT_MAX): Use macro-constant.
5519 (DBL_MAX): Likewise.
5520 (LDBL_MAX): Likewise.
5521 (FLT_EPSILON): Use macro-constant. Give upper bound.
5522 (DBL_EPSILON): Likewise.
5523 (LDBL_EPSILON): Likewise.
5524 (FLT_MIN): Likewise.
5525 (DBL_MIN): Likewise.
5526 (LDBL_MIN): Likewise.
5527 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5528 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5529 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5530 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5531 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5532 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5533 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5534 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5535 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5536 [ISO11] (FLT_TRUE_MIN): Likewise.
5537 [ISO11] (LDBL_TRUE_MIN): Likewise.
5538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5539 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5540 (SCHAR_MIN): Use macro-int-constant. Specify type.
5541 (SCHAR_MAX): Likewise.
5542 (UCHAR_MAX): Likewise.
5543 (CHAR_MIN): Likewise.
5544 (CHAR_MAX): Likewise.
5545 (MB_LEN_MAX): Use macro-int-constant.
5546 (SHRT_MIN): Use macro-int-constant. Specify type.
5547 (SHRT_MAX): Likewise.
5548 (USHRT_MAX): Likewise.
5549 (INT_MAX): Likewise.
5550 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5551 bound negative.
5552 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5553 bound with "U".
5554 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5555 bound with "L".
5556 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5557 bound negative. Suffix upper bound with "L".
5558 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5559 bound with "UL".
5560 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5561 Specify type.
5562 [C99-based standards] (LLONG_MAX): Likewise.
5563 [C99-based standards] (ULLONG_MAX): Likewise.
5564 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5565 == 0.
5566 [ISO11] (max_align_t): Require type.
5567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5568
c9140a62
JM
5569 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5570 from $CFLAGS, without defining away __attribute__ calls.
5571 (checknamespace): Use $CFLAGS_namespace.
5572
9af0bf29
JM
5573 * conform/conformtest.pl (@keywords): Only include C99 keywords
5574 for standards based on C99 or C11.
5575
343222a2
JM
5576 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5577 Disable tests.
5578 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5579 UNIX98]: Likewise.
5580
661f8cf0
JM
5581 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5582 usability of symbols in #if.
5583
ee74b9cb
JM
5584 * conform/conformtest.pl: If macro or constant types start
5585 "promoted:", expect the symbol to be of the following type
5586 promoted by the integer promotions.
62fde54f 5587
aafc49b3
JM
5588 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5589 in one place. Also handle "macro-constant".
5590
fefdf574
JM
5591 * conform/conformtest.pl: Only accept expected macro values with
5592 "==". Parse all "macro" lines in one place.
5593 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5594
f2d922fe
JM
5595 * conform/conformtest.pl: Handle braced types on "constant" lines
5596 instead of handling "typed-constant".
5597 * conform/data/signal.h-data: Use "constant" instead of
5598 "typed-constant".
5599
d22956c9
JM
5600 * conform/conformtest.pl: Handle "optional-" at start of lines in
5601 one place rather than duplicating several cases. Handle each
5602 format of "macro" line with initial "optional-".
5603
028e2e38
JM
5604 * conform/conformtest.pl: Only accept expected constant or
5605 optional-constant values with "==". Parse all "constant" lines in
5606 one place. Parse all "optional-constant" lines in one place.
5607 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5608 * conform/data/fmtmsg.h-data: Likewise.
5609 * conform/data/netinet/in.h-data: Likewise.
5610 * conform/data/tar.h-data: Likewise.
5611 * conform/data/limits.h-data: Use "==" form on "constant" and
5612 "optional-constant" lines.
5613
1b8f2850
JM
5614 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5615 Use -std=c99 for XOPEN2K.
5616 (@knownproblems): Remove.
5617 (newtoken): Don't check %isknown.
5618
a05a144b
JM
5619 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5620 Do not expect macro.
5621 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5622 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5623 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5624 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5626 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5627 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5628 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5629 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5630 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5632 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5633 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5634 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5635 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5636 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5637 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5638 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5639 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5640 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5641 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5642 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5643 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5644 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5645 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5646 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5647 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5648 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5649 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5650 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5651 [XPG3] (acosh): Likewise.
5652 [XPG3] (asinh): Likewise.
5653 [XPG3] (atanh): Likewise.
5654 [XPG3] (cbrt): Likewise.
5655 [XPG3] (expm1): Likewise.
5656 [XPG3] (ilogb): Likewise.
5657 [XPG3] (log1p): Likewise.
5658 [XPG3] (logb): Likewise.
5659 [XPG3] (nextafter): Likewise.
5660 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5661 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5662 [XPG3] (remainder): Likewise.
5663 [XPG3] (rint): Likewise.
5664 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5665 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5666 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5667 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5668 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5669 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5670 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5671 [UNIX98 || XOPEN2K] (scalb): Expect.
5672 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5673 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5682 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5683 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5701 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5702 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5711 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5712 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5720 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5721 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5722 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5730 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5731 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5735 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5736 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5737 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5739 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5740 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5741 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5773 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5775 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5776 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5777 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5778 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5779 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5780 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5781 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5784 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5785 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5790 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5791 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5792 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5793 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5794 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5795 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5796 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5797 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5798 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5799 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5800 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5801 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5802 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5803 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5804 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5805 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5806 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5807 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5808 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5809
73c5ebe3
JM
5810 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5811 _XOPEN_SOURCE_EXTENDED for XPG4.
5812
39c33b6c
JM
5813 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5814
62fde54f
JM
5815 * Makeconfig (localtime): Remove variable.
5816 (inst_localtime-file): Likewise.
5817
0741d64c
AS
58182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5819
5820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5821 Update.
5822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5823 Update.
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5825 Update.
5826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5827 Update.
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5829 Update.
5830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5831 Update.
5832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5833 Update.
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5835 Update.
5836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5837 Update.
5838
7cb029ee
JM
58392012-05-01 Joseph Myers <joseph@codesourcery.com>
5840
5841 [BZ #2550]
5842 [BZ #2570]
5843 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5844 comparisons to determine direction to adjust input.
5845 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5846 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5848 Likewise.
5849 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5850 Likewise.
5851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5852 Likewise.
5853 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5855 Likewise.
5856 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5857 Likewise.
5858 * math/libm-test.inc (nexttoward_test): Add more tests.
5859
412bd966
AS
58602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5861
5862 [BZ #14040]
5863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5864 in version GLIBC_2.1, not GLIBC_2.0.
5865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5866 Likewise.
5867
9568c0c2
JM
58682012-04-30 Joseph Myers <joseph@codesourcery.com>
5869
adfbc8ac
JM
5870 [BZ #13942]
5871 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5872 (1 - x) * (1 + x).
5873 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5874 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5875 * math/libm-test.inc (acos_test): Add more tests.
5876 (asin_test): Likewise.
5877 * sysdeps/i386/fpu/libm-test-ulps: Update.
5878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5879
5ba3cc69
JM
5880 [BZ #14034]
5881 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5882 of square root.
5883 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5884 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5885 * math/libm-test.inc (acos_test_tonearest): New function.
5886 (acos_test_towardzero): Likewise.
5887 (acos_test_downward): Likewise.
5888 (acos_test_upward): Likewise.
5889 (asin_test_tonearest): Likewise.
5890 (asin_test_towardzero): Likewise.
5891 (asin_test_downward): Likewise.
5892 (asin_test_upward): Likewise.
5893 (main): Call the new functions.
5894 * sysdeps/i386/fpu/libm-test-ulps: Update.
5895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5896
9568c0c2
JM
5897 [BZ #13884]
5898 [BZ #13924]
5899 * math/e_exp10.c: Include <float.h>.
5900 (__ieee754_exp10): Handle underflow here rather than multiplying
5901 large negative argument by M_LN10.
5902 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5903 of __ieee754_expf.
5904 * math/e_exp10l.c: Include <float.h>.
5905 (__ieee754_exp10l): Handle underflow here rather than multiplying
5906 large negative argument by M_LN10l.
5907 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5908 spurious overflow exception on underflow.
5909
5ac3ea17
MP
59102012-04-29 Marek Polacek <polacek@redhat.com>
5911
5912 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5913 (__fortify_function): New macro.
5914 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5915 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5916 __extern_always_inline.
5917 * libio/bits/stdio2.h: Likewise.
5918 * libio/bits/stdio.h: Likewise.
5919 * string/string.h: Likewise.
5920 * string/bits/string3.h: Likewise.
5921 * include/stdio.h: Likewise.
5922 * stdlib/bits/stdlib.h: Likewise.
5923 * stdlib/stdlib.h: Likewise.
5924 * rt/bits/mqueue2.h: Likewise.
5925 * rt/mqueue.h: Likewise.
5926 * posix/bits/unistd.h: Likewise.
5927 * posix/unistd.h: Likewise.
5928 * io/bits/poll2.h: Likewise.
5929 * io/bits/fcntl2.h: Likewise.
5930 * io/fcntl.h: Likewise.
5931 * io/sys/poll.h: Likewise.
5932 * misc/bits/syslog.h: Likewise.
5933 * misc/bits/syslog-ldbl.h: Likewise.
5934 * misc/sys/syslog.h: Likewise.
5935 * socket/bits/socket2.h: Likewise.
5936 * socket/sys/socket.h: Likewise.
5937 * debug/tst-chk1.c: Likewise.
5938 * wcsmbs/bits/wchar2.h: Likewise.
5939 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5940 * wcsmbs/wchar.h: Likewise.
5941
ecf0ebfb
AJ
59422012-04-29 Andreas Jaeger <aj@suse.de>
5943
5944 * Makerules (tests): Remove enable-check-abi protection.
5945 (check-abi-warn): Remove.
5946 (check-abi-%): Remove check-abi-warn usage.
5947
5948 * configure.in: Remove check-abi configure option.
5949 * configure: Regenerated.
5950 * config.make.in (enable-check-abi): Remove.
5951
6d5c57fa
AS
59522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5953
24c5d07e 5954 [BZ #14033]
ded5180a
AS
5955 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5956 double functions to double *_finite functions.
5957
7e0d315d
AS
5958 [BZ #13941]
5959 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5960 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5961 LDBL_MIN_EXP.
5962 * stdio-common/Makefile (tests): Add tst-sprintf3.
5963 * stdio-common/tst-sprintf3.c: New file.
5964
6d5c57fa
AS
5965 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5966 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5967
0749ff8b
JM
59682012-04-28 Joseph Myers <joseph@codesourcery.com>
5969
5970 * conform/conformtest.pl: Remove duplicate typed-constant
5971 handling.
5972
8dbd5d7b
DM
59732012-04-28 David S. Miller <davem@davemloft.net>
5974
5975 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5976 (check-abi-%): Remove AWK script prerequisite and explicit
5977 abilist directory.
5978 (check-abi): Rewrite to just diff the symlist with the abilist.
5979 (config-tls, config-abi-config): Delete, no longer used.
5980 (update-abi-%): Remove AWK script and explicit abilist directory.
5981 (update-abi): Rewrite to simply compare and conditionally copy the
5982 symlist and the sysdep abilist file. Remove update-abi-config
5983 checks.
5984 * abilist/ld.abilist: Remove.
5985 * abilist/libBrokenLocale.abilist: Remove.
5986 * abilist/libanl.abilist: Remove.
5987 * abilist/libcrypt.abilist: Remove.
5988 * abilist/libdl.abilist: Remove.
5989 * abilist/librt.abilist: Remove.
5990 * abilist/libthread_db.abilist: Remove.
5991 * abilist/libutil.abilist: Remove.
5992 * scripts/extract-abilist.awk: Remove.
5993 * scripts/merge-abilist.awk: Remove.
5994 * sysdeps/generic/libcidn.abilist: New file.
5995 * sysdeps/generic/libnss_compat.abilist: New file.
5996 * sysdeps/generic/libnss_db.abilist: New file.
5997 * sysdeps/generic/libnss_dns.abilist: New file.
5998 * sysdeps/generic/libnss_files.abilist: New file.
5999 * sysdeps/generic/libnss_hesiod.abilist: New file.
6000 * sysdeps/generic/libnss_nis.abilist: New file.
6001 * sysdeps/generic/libnss_nisplus.abilist: New file.
6002 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6003 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6004 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6005 file.
6006 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6007 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6008 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6009 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6010 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6011 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6012 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6013 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6014 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6015 file.
6016 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6017 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6018 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6019 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6020 file.
6021 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6022 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6023 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6024 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6025 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6026 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6027 file.
6028 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6029 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6030 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6031 file.
6032 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6034 New file.
6035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6036 New file.
6037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6038 New file.
6039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6040 New file.
6041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6042 New file.
6043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6044 New file.
6045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6046 New file.
6047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6048 New file.
6049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6050 New file.
6051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6052 New file.
6053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6054 New file.
6055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6056 New file.
6057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6058 New file.
6059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6060 file.
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6062 New file.
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6064 New file.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6066 file.
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6068 New file.
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6070 New file.
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6072 file.
6073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6074 New file.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6076 New file.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6078 New file.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6080 New file.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6082 New file.
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6084 New file.
6085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6087 file.
6088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6089 New file.
6090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6091 file.
6092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6093 file.
6094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6095 file.
6096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6097 file.
6098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6099 file.
6100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6101 New file.
6102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6103 file.
6104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6105 file.
6106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6107 New file.
6108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6109 file.
6110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6112 file.
6113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6114 New file.
6115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6116 file.
6117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6118 file.
6119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6120 file.
6121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6122 file.
6123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6124 file.
6125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6126 New file.
6127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6128 file.
6129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6130 file.
6131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6132 New file.
6133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6134 file.
6135 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6136 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6137 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6138 file.
6139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6140 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6141 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6142 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6143 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6144 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6145 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6146 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6147 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6148 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6151 file.
6152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6153 New file.
6154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6155 file.
6156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6157 file.
6158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6159 file.
6160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6161 file.
6162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6163 file.
6164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6165 New file.
6166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6167 New file.
6168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6169 file.
6170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6171 New file.
6172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6173 file.
6174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6176 file.
6177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6178 New file.
6179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6180 file.
6181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6182 file.
6183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6184 file.
6185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6186 file.
6187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6188 file.
6189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6190 New file.
6191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6192 New file.
6193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6194 file.
6195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6196 New file.
6197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6198 file.
6199
41d73a1b
JM
62002012-04-28 Joseph Myers <joseph@codesourcery.com>
6201
6202 * conform/conformtest.pl: Fix typo in handling typed-constant from
6203 allow-header.
6204
28aeeda4
JM
62052012-04-27 Joseph Myers <joseph@codesourcery.com>
6206
adae8f5e
JM
6207 * README: Cut down references to pre-2.6 Linux kernels and
6208 Linuxthreads. Update lists of configurations in libc and ports
6209 and sort alphabetically. Say "or newer" with Linux kernel version
6210 requirements.
6211
28aeeda4
JM
6212 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6213
a462cb63
RA
62142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6215
6216 [BZ #887]
6217 * math/libm-test.inc (logb_test_downward): New test to expose
6218 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6219 rounding mode.
6220
6ad3493e
JM
62212012-04-27 Joseph Myers <joseph@codesourcery.com>
6222
6223 [BZ #14027]
6224 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6225 to be done.
6226 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6227 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6228
2ce4f015
JM
62292012-04-26 Joseph Myers <joseph@codesourcery.com>
6230
5aeb141a
JM
6231 * sysdeps/unix/i386/brk.S: Remove file.
6232 * sysdeps/unix/i386/dl-brk.S: Likewise.
6233 * sysdeps/unix/i386/pipe.S: Likewise.
6234 * sysdeps/unix/i386/sigreturn.S: Likewise.
6235 * sysdeps/unix/i386/syscall.S: Likewise.
6236 * sysdeps/unix/i386/vfork.S: Likewise.
6237 * sysdeps/unix/i386/wait.S: Likewise.
6238
7143acae
JM
6239 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6240 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6241
2ce4f015
JM
6242 * configure.in (arm*-none*): Do not allow without
6243 --enable-hacker-mode.
6244 (netbsd*): Remove case setting base_os.
6245 (386bsd*): Likewise.
6246 (freebsd*): Likewise.
6247 (bsdi*): Likewise.
6248 (osf*): Likewise.
6249 (sunos*): Likewise.
6250 (ultrix*): Likewise.
6251 (newsos*): Likewise.
6252 (dynix*): Likewise.
6253 (*bsd*): Likewise.
6254 (sysv*): Likewise.
6255 (isc*): Likewise.
6256 (esix*): Likewise.
6257 (sco*): Likewise.
6258 (minix*): Likewise.
6259 (irix4*): Likewise.
6260 (irix6*): Likewise.
6261 (solaris[2-9]*): Likewise.
6262 (none): Likewise.
6263 * configure: Regenerated.
6264
0ac229c8
AZ
62652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6266
6267 [BZ #11521]
6268 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6269 overflow or cancellation in calculating denominator.
6270 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6271 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6272 down expression to avoid unexpected rounding in newer GCCs.
6273 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6274
33f244f4
DM
62752012-04-26 David S. Miller <davem@davemloft.net>
6276
6277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6278 long-double compat symbols.
6279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6292
cfa1f3e8
DM
62932012-04-25 David S. Miller <davem@davemloft.net>
6294
6295 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6296 HWCAP_* values only after the memory barriers have been defined.
6297 (atomic_full_barrier): Define.
6298 (atomic_read_barrier): Define.
6299 (atomic_write_barrier): Define.
6300
6e236b92
SP
63012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6302
6303 * shlib-versions: Add libgcc_s version information.
6304 * sysdeps/generic/libgcc_s.h: Remove.
6305 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6306 libgcc_s.h.
6307 * sysdeps/gnu/unwind-resume.c: Likewise.
6308 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6309
aab39a09
DM
63102012-04-25 David S. Miller <davem@davemloft.net>
6311
6312 * sysdeps/unix/sparc/brk.S: Delete.
6313 * sysdeps/unix/sparc/dl-brk.S: Delete.
6314 * sysdeps/unix/sparc/pipe.S: Delete.
6315 * sysdeps/unix/sparc/sysdep.S: Delete.
6316 * sysdeps/unix/sparc/sysdep.h: Delete.
6317 * sysdeps/unix/sparc/vfork.S: Delete.
6318 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6319 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6321 ret_ERRVAL, r0, r1, MOVE): Define.
6322 (JUMPTARGET): Remove.
6323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6324 sysdeps/unix/sparc/sysdep.h
6325 (ENTRY, END): Remove.
6326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6327
a3cc4f48
JM
63282012-04-25 Joseph Myers <joseph@codesourcery.com>
6329
2ed8cda2
JM
6330 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6331 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6332 -DIS_IN_build.
6333
35d76d59
JM
6334 * timezone/README: Update upstream location and email address for
6335 tzcode and tzdata.
6336 * timezone/zdump.c: Update from tzcode 2012b.
6337 * timezone/zic.c: Likewise.
6338
a3cc4f48
JM
6339 * configure.in (libc_cv_as_needed): Remove test.
6340 * configure: Regenerated.
6341 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6342 conditional definition.
6343 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6344 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6345 * config.make.in (have-as-needed): Remove variable.
6346
ceab42c3
SP
63472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6348 Paul Pluzhnikov <ppluzhnikov@google.com>
6349
6350 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6351 strings correctly.
6352
3ce2865f
CLT
63532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6354
6355 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6356 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6357 * sysdeps/sh/strlen.S: Likewise.
6358
f37e0d68
JM
63592012-04-24 Joseph Myers <joseph@codesourcery.com>
6360
ae186e9a
JM
6361 * sysdeps/unix/fork.S: Remove file.
6362 * sysdeps/unix/i386/fork.S: Likewise.
6363 * sysdeps/unix/sparc/fork.S: Likewise.
6364
b96914af
JM
6365 * sysdeps/unix/system.c: Remove file.
6366 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6367
f37e0d68
JM
6368 * sysdeps/unix/getegid.S: Remove file.
6369 * sysdeps/unix/geteuid.S: Likewise.
6370
87ef29ca
RM
63712012-04-24 Roland McGrath <roland@hack.frob.com>
6372
83bcd236
RM
6373 * scripts/check-localplt.awk: New file.
6374 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6375 of diff.
6376 * scripts/data/localplt-generic.data: Add a comment.
6377
87ef29ca
RM
6378 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6379 NODE when __dir_mkfile failed.
6380 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6381 Reported by Ludovic Courtès <ludo@gnu.org>.
6382
e5a6e567
AJ
63832012-04-24 Andreas Jaeger <aj@suse.de>
6384
6385 * Makerules (common-clean): Also remove gen-as-const-headers
6386 files.
6387
c1820385
JM
63882012-04-24 Joseph Myers <joseph@codesourcery.com>
6389
6390 * Makerules (native-compile): Do not change working directory for
6391 build. Use $(OUTPUT_OPTION) in command.
6392 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6393
94e02fc4
AZ
63942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6395
6396 [BZ #13886]
6397 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6398 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6399 * math/libm-test.inc (floor_test): Add more tests.
6400 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6401
3a533ca3
JM
64022012-04-24 Joseph Myers <joseph@codesourcery.com>
6403
940ab4b3
JM
6404 * sysdeps/unix/getdents.c: Remove file.
6405 * sysdeps/unix/sysv/getdents.c: Likewise.
6406 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6407
90e037bd
JM
6408 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6409 sysdeps/unix/mman/syscalls.list.
6410 (mmap): Likewise.
6411 (mprotect): Likewise.
6412 (msync): Likewise.
6413 (munmap): Likewise.
6414 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6415 * sysdeps/unix/mman/syscalls.list: Remove.
6416 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6417
3a533ca3
JM
6418 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6419 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6420 * configure: Regenerated.
6421 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6422 $(libgcc_s_suffix).
6423 * config.make.in (libgcc_s_suffix): Remove variable.
6424
1ad743de
JM
64252012-04-23 Joseph Myers <joseph@codesourcery.com>
6426
4ad451e2
JM
6427 * sysdeps/unix/sysv/gethostname.c: Move to ...
6428 * sysdeps/posix/gethostname.c: ... here.
6429
5e37ce39
JM
6430 * sysdeps/unix/execve.S: Remove file.
6431
1ad743de
JM
6432 * sysdeps/unix/_exit.S: Remove file.
6433
4e681b5b
AJ
64342012-04-23 Andreas Jaeger <aj@suse.de>
6435
6436 [BZ #13739]
6437 * manual/Makefile: Remove make dist support, there's no
6438 need for a stand-alone documentation tar ball.
6439 (TEXI2DVI): Define always, it's not in Makeconfig.
6440 (dist): Removed.
6441 (tar-it): Removed.
6442 (edition): Removed.
6443 (glibc-doc-$(edition).tar): Removed
6444 (%.Z): Removed.
6445 (%.gz): Removed.
6446 (%.uu): Removed.
6447 (ETAGS): Remove, it's in Makeconfig.
6448 (move-if-change): Remove, it's in Makeconfig.
6449
c0baea34
PE
64502013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6451
6452 [BZ #13970]
6453 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6454 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6455 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6456 (strtod_l, strtof_l, strtold_l): Remove __wur.
6457 It is not necessarily an error to ignore strtol's return value.
6458 One can reliably look at the stored endptr to decide whether
6459 the number had valid syntax.
6460
7c0616fa
AJ
64612012-04-21 Andreas Jaeger <aj@suse.de>
6462
803cb6b7 6463 [BZ #13739]
7c0616fa
AJ
6464 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6465
b0fe253f
JM
64662012-04-21 Joseph Myers <joseph@codesourcery.com>
6467
6468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6469 * sysdeps/unix/sysv/Versions: Remove file.
6470
8280f22d
MT
64712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6472
6473 [BZ #13927]
6474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6475
75ce411f 64762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6477
6478 [BZ #7064]
6479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6480 version from __vm86.
6481
097d59fa
JM
64822012-04-20 Joseph Myers <joseph@codesourcery.com>
6483
a90f3bcb
JM
6484 * sysdeps/unix/common/lxstat.c: Remove file.
6485 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6486
edc7ea78
JM
6487 * sysdeps/unix/sysv/Makefile: Remove file.
6488
cb78c221
JM
6489 * sysdeps/unix/sysv/direct.h: Remove file.
6490
efa6a45f
JM
6491 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6492 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6493 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6494 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6495 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6496 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6497 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6498
9c9f2d0c
JM
6499 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6500
4541c83b
JM
6501 * sysdeps/unix/xmknod.c: Remove file.
6502 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6503
f5d153a0
JM
6504 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6505
aa746595
JM
6506 * sysdeps/unix/sysv/i386/time.S: Remove file.
6507
cce5905e
JM
6508 * sysdeps/unix/fxstat.c: Remove file.
6509 * sysdeps/unix/xstat.c: Likewise.
6510 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6511
37fa3841
JM
6512 * sysdeps/unix/sysv/sigaction.c: Remove file.
6513
ff1962a3
JM
6514 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6515 (sysdep_headers): Remove variable.
6516 [termio.h not in sysdep_headers] (generated): Likewise.
6517 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6518 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6519 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6520 * sysdeps/unix/sysv/tcflow.c: Likewise.
6521 * sysdeps/unix/sysv/tcflush.c: Likewise.
6522 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6523 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6524 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6525 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6526 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6527
e7740d31
JM
6528 * sysdeps/unix/siglist.c: Remove file.
6529
ee06f18b
JM
6530 * sysdeps/unix/getppid.S: Remove file.
6531
097d59fa
JM
6532 * sysdeps/unix/mkdir.c: Remove file.
6533 * sysdeps/unix/rmdir.c: Likewise.
6534
ff3d51ec
AS
65352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6536
6537 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6538 ERR_MAX value.
6539 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6540 errlist-compat value.
6541
50f81fd7
DM
65422012-04-18 David S. Miller <davem@davemloft.net>
6543
6544 * sysdeps/generic/memcopy.h (reg_char): Delete.
6545 * debug/strcat_chk.c: Use char, not reg_char.
6546 * debug/strcpy_chk.c: Likewise.
6547 * debug/strncat_chk.c: Likewise.
6548 * debug/strncpy_chk.c: Likewise.
6549 * string/memchr.c: Likewise.
6550 * string/memrchr.c: Likewise.
6551 * string/rawmemchr.c: Likewise.
6552 * string/strcat.c: Likewise.
6553 * string/strchr.c: Likewise.
6554 * string/strchrnul.c: Likewise.
6555 * string/strcmp.c: Likewise.
6556 * string/strcpy.c: Likewise.
6557 * string/strncat.c: Likewise.
6558 * string/strncmp.c: Likewise.
6559 * string/strncpy.c: Likewise.
6560
8ff41c46
WS
65612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6562
6563 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6564 __builtin_memcopy is called when src and dest ranges are known to not
6565 overlap.
6566
6b652f46
WS
65672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6568
6569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6570 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6571 fwd_align_merge macro call.
6572 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6573 bwd_align_merge macro call.
6574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6575
b282631e
WS
65762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6577
6578 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6579 bwd_align_merge macros.
6580 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6581 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6582 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6583
95aa737c
DM
65842012-04-18 David S. Miller <davem@davemloft.net>
6585
6586 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6587
7a99a614
AJ
65882012-04-18 Andreas Jaeger <aj@suse.de>
6589
6590 [BZ# 6794]
6591 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6592 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6594
6595 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6596 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6598
6599 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6600 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6601 Adjust for changed ldbl-128 files.
6602
6603 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6604 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6605 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6606
e5270c23
DM
66072012-04-17 David S. Miller <davem@davemloft.net>
6608
6609 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6610
fb5e92c9
AS
66112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6612
6613 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6614 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6615 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6616 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6617 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6618 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6619
76da7265
AZ
66202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6621
6622 [BZ #6794]
6623 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6624 * math/libm-test.inc: Add ilogb errno and exception tests.
6625 * math/w_ilogb.c: New file: ilogb wrapper.
6626 * math/w_ilogbf.c: New file: ilogbf wrapper.
6627 * math/w_ilogbl.c: New file: ilogbl wrapper.
6628 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6629 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6630 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6631 exception being thrown with 0.0 as argument.
6632 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6633 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6634 exception being thrown with 0.0 as argument.
6635 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6636 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6637 exception being thrown with 0.0 as argument.
6638 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6639 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6640 exception being thrown with 0.0 as argument.
6641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6642 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6643 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6644 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6645 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6646 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6647 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6648 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6649 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6650
0396e69d
PB
66512012-04-17 Petr Baudis <pasky@ucw.cz>
6652
6653 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6654 with altivec.
6655
750b5926
MP
66562012-04-16 Marek Polacek <polacek@redhat.com>
6657
6658 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6659
751728a1
MP
66602012-04-16 Marek Polacek <polacek@redhat.com>
6661
6662 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6663 operands of fdivp instruction.
6664
34a27407
L
66652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6666
6667 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6668 * elf/tst-auditmod3b.c: Likewise.
6669 * elf/tst-auditmod4b.c: Likewise.
6670 * elf/tst-auditmod5b.c: Likewise.
6671 * elf/tst-auditmod6b.c: Likewise.
6672 * elf/tst-auditmod6c.c: Likewise.
6673 * elf/tst-auditmod7b.c: Likewise.
6674 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6675 * sysdeps/x86_64/preconfigure.in: Likewise.
6676 * sysdeps/x86_64/preconfigure: Regenerated.
6677
7e73e17d
L
66782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6679
6680 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6681 __ILP32__.
6682
c7a6ab72
AB
66832012-04-13 Antoine Balestrat <merkil33@gmail.com>
6684
6685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6686 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6687
a9e8e0e0
CL
66882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6689
6690 [BZ #13973]
6691 * locale/iso-639.def: Fix gl language name. Spotted by
6692 Yaron Shahrabani.
6693
ec98af7d
RM
66942012-04-12 Roland McGrath <roland@hack.frob.com>
6695
6696 [BZ #2074]
6697 * libio/libio.h (__io_write_fn): Update comment.
6698
247c3ede
PB
66992012-04-12 Petr Baudis <pasky@ucw.cz>
6700
6701 [BZ #2074]
6702 * stdio.texi (Hook Functions): The user provided writer function
6703 is not allowed to return -1.
6704
55939d6d
DM
67052012-04-11 David S. Miller <davem@davemloft.net>
6706
6707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6708
90020f5a
MF
67092012-04-11 Mike Frysinger <vapier@gentoo.org>
6710
6711 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6712 Add a leading slash to rtkaio.
6713
288f9098
JM
67142012-04-11 Jim Meyering <meyering@redhat.com>
6715
90020f5a
MF
6716 [BZ #11959]
6717 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6718 It is not necessarily an error to ignore fwrite's return
6719 value. One can reliably use ferror to test for errors after
6720 the fact.
288f9098 6721
4be2b570
L
67222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6723
6724 * bits/types.h (__snseconds_t): New type.
6725 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6726
6727 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6729 (__SNSECONDS_T_TYPE): Likewise.
6730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6731 (__SNSECONDS_T_TYPE): Likewise.
6732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6733 (__SNSECONDS_T_TYPE): Likewise.
6734
288f9098 67352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6736
6737 [BZ #2636]
6738 * manual/time.texi (Processor Time): Return type of times is
6739 elapsed real time since an arbitrary point in the past.
6740 (CPU Time): Move CLK_TCK from here...
6741 (Processor Time): ...to here. Correct description.
6742 * manual/conf.texi (Constants for Sysconf): Correct description of
6743 _SC_CLK_TCK.
6744
d7dd4413
DM
67452012-04-10 David S. Miller <davem@davemloft.net>
6746
6747 [BZ #13967]
6748 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6749 where the is a gap between DT_REL(A) and DT_JMPREL.
6750
b46068fc
L
67512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6752
6753 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6754 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6755 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6756
73d65cc3
SP
67572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6758
6759 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6760 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6761 (dl_main): Handle --inhibit-cache.
6762 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6763 _dl_inhibit_cache.
6764 * elf/dl-load.c (_dl_map_object): Use it.
6765 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6766
bcc8d661
JM
67672012-04-09 Joseph Myers <joseph@codesourcery.com>
6768
8f9a2fae
JM
6769 [BZ #13872]
6770 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6771 (__ieee754_powl): Saturate large exponents rather than testing for
6772 overflow of y*log2(x).
6773 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6774 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6775 exceptions.
6776
bcc8d661
JM
6777 [BZ #11521]
6778 * math/s_ctan.c: Include <float.h>.
6779 (__ctan): Avoid internal overflow or cancellation in calculating
6780 denominator.
6781 * math/s_ctanf.c: Likewise.
6782 * math/s_ctanl.c: Likewise.
6783 * math/s_ctanh.c: Likewise.
6784 * math/s_ctanhf.c: Likewise.
6785 * math/s_ctanhl.c: Likewise.
6786 * math/libm-test.inc (ctan_test): Add more tests.
6787 (ctanh_test): Likewise.
6788 * sysdeps/i386/fpu/libm-test-ulps: Update.
6789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6790
823fbbb4
AJ
67912012-04-09 Andreas Jaeger <aj@suse.de>
6792
03879793
AJ
6793 [BZ #6894]
6794 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6795 is an optional BSD extension.
6796
823fbbb4
AJ
6797 [BZ #10254]
6798 * manual/stdio.texi (Opening Streams): Document additional fopen
6799 parameters.
6800
8de131cb
RM
68012012-04-09 Roland McGrath <roland@hack.frob.com>
6802
6803 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6804 %eax without telling the compiler.
6805
c0ed9d7d
CD
68062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6807
6808 [BZ # 13963]
6809 * manual/install.texi: Use sourceware.org.
6810
c483f6b4
JM
68112012-04-09 Joseph Myers <joseph@codesourcery.com>
6812
d7dd9453
JM
6813 [BZ #13873]
6814 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6815 (__ieee754_pow): Generate overflow and underflow using huge*huge
6816 and tiny*tiny rather than just returning constant infinity or zero
6817 for large exponents.
6818 * math/libm-test.inc (pow_test): Require overflow exceptions for
6819 applicable cases of large exponents.
6820
c483f6b4
JM
6821 [BZ #706]
6822 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6823 (__ieee754_pow): Use iterative multiplication algorithm only for
6824 integer exponents with absolute value below 1024. Check for odd
6825 integer exponents when using algorithm for real exponents.
6826 * math/libm-test.inc (pow_test): Add more tests.
6827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6828
d2de7579
JM
68292012-04-08 Joseph Myers <joseph@codesourcery.com>
6830
6831 [BZ #13705]
6832 * math/libm-test.inc (exp_test): Do not allow overflow exception
6833 on underflow test.
6834
f77f1232
AJ
68352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6836
6837 [BZ #13705]
6838 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6839 instead of __kernel_standard_f.
6840
3884932b
MF
68412012-04-08 Mike Frysinger <vapier@gentoo.org>
6842
6843 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6844 * sysdeps/x86_64/memset_chk.S: Likewise.
6845
54472e9c
AJ
68462012-04-08 Andreas Jaeger <aj@suse.de>
6847
6ab0fbfc
AJ
6848 [BZ #10153]
6849 * manual/startup.texi (Environment Access): Describe return value
6850 for putenv and setenv.
6851
61efba8c
AJ
6852 [BZ #6895]
6853 * manual/filesys.texi (Directory Entries): Add description for
6854 DT_LNK.
6855
95c3f29a
AJ
6856 [BZ #6890]
6857 * manual/filesys.texi (Directory Entries): Clarify that it's file
6858 system not operating system in the description of DT_UNKNOWN.
6859
54472e9c
AJ
6860 [BZ #6578]
6861 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6862
624254b1
SC
68632012-04-08 Stephen Compall <s11@member.fsf.org>
6864
6865 [BZ #6649]
6866 * manual/llio.texi (Opening and Closing Files): Add cross
6867 reference to explain mode argument.
6868
1e4920e0
MF
68692012-04-07 Mike Frysinger <vapier@gentoo.org>
6870
6871 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6872 * sysdeps/x86_64/memset_chk.S: Likewise.
6873
5ed848f3
DM
68742012-04-07 David S. Miller <davem@davemloft.net>
6875
6876 * elf/elf.h (R_SPARC_WDISP10): Define.
6877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6878 R_SPARC_SIZE32.
6879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6880 R_SPARC_SIZE64 and R_SPARC_H34.
6881
96154cd8
CD
68822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6883
6884 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6885 conditions and remove no longer applicable assertion.
6886
9904dc47
L
68872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6888
6889 * bits/byteswap.h: Include <features.h>.
6890 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6891 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6892
f8887d0a
L
68932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6894
6895 * bits/byteswap.h (__bswap_16): Removed.
6896 Include <bits/byteswap-16.h> to get __bswap_16.
6897 * sysdeps/i386/bits/byteswap.h: Likewise.
6898 * sysdeps/s390/bits/byteswap.h: Likewise.
6899 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6900 * bits/byteswap-16.h: New file.
6901 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6902 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6903 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6904 * string/Makefile (headers): Add bits/byteswap-16.h.
6905
62470f60
PP
69062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6907
6908 [BZ #13895]
6909 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6910 extra indirection.
6911 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6912 * nss/tst-nss-static.c: New.
6913
4dad7bab
RM
69142012-04-06 Robert Millan <rmh@gnu.org>
6915
6916 [BZ #6486]
6917 * manual/llio.texi (File Position Primitive): lseek
6918 refers to WHENCE when it really means OFFSET.
6919
e9142a17
AJ
69202012-04-06 Andreas Jaeger <aj@suse.de>
6921
2c040eff
AJ
6922 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6923 strncmp declarations.
6924
e9142a17
AJ
6925 * abilist/libc.abilist: Add __poll and __ppoll.
6926
ff9f1c5f
DM
69272012-04-05 David S. Miller <davem@davemloft.net>
6928
dcd2ae90
DM
6929 * scripts/check-local-headers.sh: Accept a host triplet in the
6930 path matched by the exclude regexp.
6931
993eb054
DM
6932 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6933 definition.
6934 * sysdeps/powerpc/powerpc32/dl-machine.h
6935 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6936 * sysdeps/s390/s390-32/dl-machine.h
6937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6938 * sysdeps/sparc/sparc32/dl-machine.h
6939 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6940 * sysdeps/sparc/sparc64/dl-machine.h
6941 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6942
ff9f1c5f
DM
6943 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6944 lazy binding.
48e2e132 6945 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6946 undefined symbol errors.
6947
48e2e132 6948 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6949 DT_NEEDED entries.
6950
e80d6f94
MM
69512012-04-05 Michael Matz <matz@suse.de>
6952
6953 [BZ #13592]
6954 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6955
349fa79f
AJ
69562012-04-05 Andreas Jaeger <aj@suse.de>
6957
6958 [BZ #13908]
6959 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6960 comment.
6961
f402708f
KK
69622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6963
6964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6965 which ROUND is no valid rounding mode.
6966
2ecccfc9
KK
69672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6968
6969 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6970 read again.
6971 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6972
8a53f50f
KK
69732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6974
6975 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6976 an exception using FPU order intentionally.
6977
69782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6979
6980 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6981 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6982 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6983 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6984
d653abb7
SJ
69852012-04-05 Simon Josefsson <simon@josefsson.org>
6986
6987 [BZ #12340]
6988 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6989 EINVAL when BUFLEN is too smal.
6990
c3b1bf7d
TS
69912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6992
6993 [BZ #13553]
6994 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6995 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6996
b1aa60f3
AJ
69972012-04-03 Andreas Jaeger <aj@suse.de>
6998
c3b1bf7d 6999 [BZ #13938]
67f60a26
AJ
7000 * manual/setjmp.texi (System V contexts): Fix sentence.
7001
b1aa60f3
AJ
7002 [BZ #13926]
7003 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7004 New macro for this case.
7005 [!__GNUC__] (__bswap_64): New inline function for this case.
7006 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7007 * bits/byteswap.h: Likewise.
7008 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7009 ull, guard with __GLIBC_HAVE_LONG_LONG.
7010
7011 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7012 __GLIBC_HAVE_LONG_LONG.
7013
7014 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7015 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7016
39c59c35
TMQMF
70172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7018
7019 [BZ #13691]
7020 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7021 inptr and inend, rather than using last_ch.
7022
135ffda8
DM
70232012-04-02 David S. Miller <davem@davemloft.net>
7024
7025 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7026 * stdio-common/printf-parse.h (read_int): Change return type to
7027 'int', return -1 on INT_MAX overflow.
7028 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7029 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7030 overflows INT_MAX. Check for overflow of in-format-string precision
7031 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7032 SIZE_MAX not INT_MAX for integer overflow test.
7033 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7034 skip the construct in the format string but do not record anything.
7035 * stdio-common/bug22.c: Adjust to test both width/prevision
7036 INT_MAX overflow as well as total length INT_MAX overflow. Check
7037 explicitly for proper errno values.
7038
228c019e
TS
70392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7040
302cadd3
TS
7041 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7042 CHAR_MAX.
7043 * string/test-strcmp.c [! WIDE]: Likewise.
7044 * time/tst-mktime2.c: Likewise for INT_MAX.
7045 * string/test-string.h: #include <sys/param.h> for MIN.
7046
228c019e
TS
7047 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7048 * sysdeps/i386/init-first.c (init): Likewise.
7049 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7050 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7051 * sysdeps/sh/init-first.c (init): Likewise.
7052
cfa633f5
UD
70532012-04-01 Ulrich Drepper <drepper@gmail.com>
7054
7055 * po/ru.po: Update from translation team.
d1635ef8 7056 * po/vi.po: Likewise.
cfa633f5 7057
6cd0a5ea
SP
70582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7059
7060 * resolv/nss_dns/dns-host.c: Merge copyright years.
7061
4b43400f
LD
70622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7063
7064 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7065 Optimize memcpy with prefetch if
7066 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7067 src, dst pointers have unequal 16 byte alignments.
7068
48c41d04
SP
70692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7070
7071 [BZ #13928]
7072 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7073 from a CNAME entry and return the minimum ttl for the query.
7074 (gaih_getanswer_slice): Likewise.
7075
b8dc394d
JL
70762012-03-30 Jeff Law <law@redhat.com>
7077
7078 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7079 due to long keys.
7080 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7081 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7082
2f5a5ed0
JL
7083 * resolv/nss_dns/dns-host.c: Update copyright year.
7084
1d39e359
UD
70852012-03-30 Ulrich Drepper <drepper@gmail.com>
7086
c030f70c 7087 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7088 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7089
1d39e359
UD
7090 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7091 comments for sendmmsg.
7092
70932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7094
7095 [BZ #13691]
7096 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7097 with only 1 character between 0x0041 and 0x01b0.
7098 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7099 * wcsmbs/tst-mbsnrtowcs.c: New file.
7100
20fde227
DM
71012012-03-29 David S. Miller <davem@davemloft.net>
7102
7103 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7104 small copies by hand.
7105
984a4237
JL
71062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7107
7108 [BZ #13761]
7109 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7110 _nss_compat_initgroups_dyn): Fall back to malloc/free
7111 for large group memberships.
7112
18c9d62b
DM
71132012-03-28 David S. Miller <davem@davemloft.net>
7114
88d85d4f
DM
7115 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7116 that branches into memcpy.
7117 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7118 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7120 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7122 bits.
7123 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7124 implementation too.
7125 * sysdeps/sparc/mempcpy.S: New file.
7126
e5aa83e1
DM
7127 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7128 the IFUNC routine in the libc case.
7129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7130
88570753
DM
7131 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7132 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7133 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7134 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7135 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7136 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7137 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7138 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7139
249d7567
DM
7140 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7141 loop to 256 bytes instead of 64 bytes and fix test signedness.
7142
18c9d62b
DM
7143 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7144 * sysdeps/sparc/sparc32/Makefile: rather than here...
7145 * sysdeps/sparc/sparc64/Makefile: and here.
7146
05f3d1f6
UD
71472012-03-28 Ulrich Drepper <drepper@gmail.com>
7148
7149 * malloc/mallocbug.c: Avoid warnings about unused variables.
7150
86ae07a8
JL
71512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7152
7153 [BZ #13760]
7154 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7155 in the right place. Discard and retry query if response is
7156 larger than input buffer size.
7157
41bf21a1
JM
71582012-03-28 Joseph Myers <joseph@codesourcery.com>
7159
d6270972
JM
7160 [BZ #369]
7161 [BZ #2678]
7162 [BZ #3866]
7163 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7164 x for large integer exponent.
7165 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7166 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7167 sign of result as needed afterwards.
7168 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7169 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7170 result for underflowing pow the same as for overflow.
7171 (__kernel_standard_l): Handle powl overflow and underflow here
7172 rather than calling __kernel_standard.
7173 * math/libm-test.inc (pow_test): Add more tests.
7174
414fca03 7175 [BZ #3868]
41bf21a1
JM
7176 [BZ #13879]
7177 [BZ #13910]
7178 [BZ #13911]
7179 [BZ #13912]
7180 [BZ #13913]
7181 [BZ #13915]
7182 [BZ #13916]
7183 [BZ #13917]
7184 [BZ #13918]
7185 [BZ #13919]
7186 [BZ #13920]
7187 [BZ #13921]
7188 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7189 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7190 (__kernel_standard_l): New function.
7191 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7192 __kernel_standard.
7193 * math/w_acosl.c (__acosl): Likewise.
7194 * math/w_asinl.c (__asinl): Likewise.
7195 * math/w_atan2l.c (__atan2l): Likewise.
7196 * math/w_atanhl.c (__atanhl): Likewise.
7197 * math/w_coshl.c (__coshl): Likewise.
7198 * math/w_exp10l.c (__exp10l): Likewise.
7199 * math/w_exp2l.c (__exp2l): Likewise.
7200 * math/w_fmodl.c (__fmodl): Likewise.
7201 * math/w_hypotl.c (__hypotl): Likewise.
7202 * math/w_j0l.c (__j0l, __y0l): Likewise.
7203 * math/w_j1l.c (__j1l, __y1l): Likewise.
7204 * math/w_jnl.c (__jnl, __ynl): Likewise.
7205 * math/w_lgammal.c (__lgammal): Likewise.
7206 * math/w_log10l.c (__log10l): Likewise.
7207 * math/w_log2l.c (__log2l): Likewise.
7208 * math/w_logl.c (__logl): Likewise.
7209 * math/w_powl.c (__powl): Likewise.
7210 * math/w_remainderl.c (__remainderl): Likewise.
7211 * math/w_scalbl.c (sysv_scalbl): Likewise.
7212 * math/w_sinhl.c (__sinhl): Likewise.
7213 * math/w_sqrtl.c (__sqrtl): Likewise.
7214 * math/w_tgammal.c (__tgammal): Likewise.
7215 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7216 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7217 * math/libm-test.inc (acos_test): Add more tests.
7218 (acosh_test): Likewise.
7219 (asin_test): Likewise.
7220 (atanh_test): Likewise.
7221 (exp_test): Likewise.
7222 (exp10_test): Likewise.
7223 (exp2_test): Likewise.
7224 (expm1_test): Likewise.
7225 (lgamma_test): Likewise.
7226 (log_test): Likewise.
7227 (log10_test): Likewise.
7228 (log1p_test): Likewise.
7229 (log2_test): Likewise.
7230 (pow_test): Do not allow some spurious overflow exceptions.
7231 (sqrt_test): Add more tests.
7232 (tgamma_test): Likewise.
7233 (y0_test): Likewise.
7234 (y1_test): Likewise.
7235 (yn_test): Likewise.
7236
dd62fda6
AB
72372012-03-27 Anton Blanchard <anton@samba.org>
7238
7239 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7240 MAP_HUGETLB.
7241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7242 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7244
1e3cdfda
AJ
72452012-03-27 David S. Miller <davem@davemloft.net>
7246
b855ab85
DM
7247 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7248
1e3cdfda
AJ
7249 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7250 have-as-vis3 check.
7251
72522012-03-27 Andreas Jaeger <aj@suse.de>
7253
7254 * sysdeps/x86_64/elf/configure.in: Moved to ...
7255 * sysdeps/x86_64/configure.in: ... here.
7256 * sysdeps/x86_64/elf/start.S: Moved to ...
7257 * sysdeps/x86_64/start.S: ... here.
7258 * sysdeps/x86_64/elf/configure: Delete.
7259
7260 * sysdeps/x86_64/configure.in: Merge contents from
7261 sysdeps/i386/configure.in (without i686 check).
7262
7263 * sysdeps/i386/elf/Versions: Merge into ...
7264 * sysdeps/i386/Versions: ... this.
7265 * sysdeps/i386/elf/Versions: Delete file.
7266 * sysdeps/i386/elf/start.S: Moved to ...
7267 * sysdeps/i386/start.S: ...here.
7268 * sysdeps/i386/elf/configure.in: Merge into...
7269 * sysdeps/i386/configure.in: ...here.
7270 * sysdeps/i386/elf/configure.in: Delete file.
7271 * sysdeps/i386/elf/configure: Delete file.
7272
7273 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7274 * debug/backtracesyms.c: ... here.
7275 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7276 * debug/backtracesymsfd.c: ... here.
7277 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7278 * sysdeps/generic/ifunc-sel.h: ... here.
7279
7280 * sysdeps/unix/i386/start.c: Delete file.
7281 * sysdeps/unix/sparc/start.c: Delete file.
7282 * sysdeps/unix/start.c: Delete file.
7283
7284 * sysdeps/sh/elf/configure.in: Moved to ...
7285 * sysdeps/sh/configure.in: ... here.
7286 * sysdeps/sh/elf/start.S: Moved to ...
7287 * sysdeps/sh/start.S: ... here.
7288 * sysdeps/sh/elf/configure: Delete file.
7289
7290 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7291 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7292 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7293 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7294 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7295 * sysdeps/powerpc/powerpc64/start.S: here.
7296 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7297 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7298 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7299 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7300 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7301
7302 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7303 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7304 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7305 * sysdeps/powerpc/powerpc32/start.S: ... here.
7306 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7307 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7308 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7309
7310 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7311 * sysdeps/powerpc/ifunc-sel.h: ... here.
7312 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7313 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7314
7315 * sysdeps/sparc/elf/configure.in: Moved to ...
7316 * sysdeps/sparc/configure.in: ... here.
7317 * sysdeps/sparc/elf/configure: Delete file.
7318 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7319 * sysdeps/sparc/sparc32/start.S: ... here.
7320 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7321 * sysdeps/sparc/sparc64/start.S: ... here.
7322 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7323 * sysdeps/sparc/sparc32/Makefile: ... this.
7324 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7325 * sysdeps/sparc/sparc64/Makefile: ... this.
7326
7327 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7328 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7329 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7330 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7331 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7332 * sysdeps/s390/s390-32/setjmp.S: ... here.
7333 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7334 * sysdeps/s390/s390-32/configure.in: ... here.
7335 * sysdeps/s390/s390-32/elf/configure: Delete file.
7336 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7337 * sysdeps/s390/s390-32/start.S: ... here.
7338
7339 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7340 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7341 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7342 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7343 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7344 * sysdeps/s390/s390-64/setjmp.S: ... here.
7345 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7346 * sysdeps/s390/s390-64/configure.in: ... here
7347 * sysdeps/s390/s390-64/elf/configure: Delete file.
7348 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7349 * sysdeps/s390/s390-64/start.S: ... here.
7350 * sysdeps/s390/s390-64/elf/configure: Delete.
7351
7352 * configure.in: Remove support for elf directories in sysdeps.
7353
7354 * configure: Regenerated.
7355 * sysdeps/i386/configure: Regenerated.
7356 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7357 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7358 * sysdeps/s390/s390-32/configure: Regenerated.
7359 * sysdeps/s390/s390-64/configure: Regenerated.
7360 * sysdeps/sh/configure: Regenerated.
7361 * sysdeps/sparc/configure: Regenerated.
7362 * sysdeps/x86_64/configure: Regenerated.
7363
a3f61311
AS
73642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7365
c876e002
AS
7366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7367
a3f61311
AS
7368 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7369 denormal result into account.
7370
ac4c54f0
RM
73712012-03-25 Roland McGrath <roland@hack.frob.com>
7372
7373 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7374 Reported by Allan McRae <allan@archlinux.org>.
7375
6a9b9c02
JL
73762012-03-23 Jeff Law <law@redhat.com>
7377
7378 * nss/getnssent.c (__nss_getent): Fix typo.
7379
4c42a0c1
DM
73802012-03-23 David S. Miller <davem@davemloft.net>
7381
7382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7383
1532c7ac
L
73842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7385
7386 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7387 to pad to uint64_t for each field.
7388 (dl_tls_index): Replace unsigned long with uint64_t.
7389
3ff42526
PP
73902012-03-23 Daniel Jacobowitz <dmj@google.com>
7391 Paul Pluzhnikov <ppluzhnikov@google.com>
7392
7393 [BZ #6528]
7394 * grp/Makefile (otherlibs): Don't set it.
7395 * inet/Makefile (otherlibs): Likewise.
7396 * login/Makefile (otherlibs): Likewise.
7397 * nscd/Makefile (otherlibs): Likewise.
7398 * posix/Makefile (otherlibs): Likewise.
7399 * pwd/Makefile (otherlibs): Likewise.
7400 * rt/Makefile (otherlibs): Likewise.
7401 * sunrpc/Makefile (otherlibs): Likewise.
7402 * nss/Makefile (otherlibs): Likewise.
7403 Add libnss_files to routines and static-only-routines.
7404 ($(objpfx)getent): Remove rule.
7405 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7406 static-only-routines.
7407
7c69cd14
JM
74082012-03-22 Joseph Myers <joseph@codesourcery.com>
7409
7410 [BZ #13892]
7411 * math/s_cexp.c: Include <float.h>.
7412 (__cexp): Handle exp result overflowing not necessarily
7413 overflowing both real and imaginary parts of result.
7414 * math/s_cexpf.c: Likewise.
7415 * math/s_cexpl.c: Likewise.
7416 * math/libm-test.inc (cexp_test): Add more tests.
7417 * sysdeps/i386/fpu/libm-test-ulps: Update.
7418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7419
81b035fe
L
74202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7421
7422 * include/link.h (ELFW): New macro.
7423 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7424 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7425
1da7940c
L
74262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7427
7428 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7429 with uint64_t.
7430
b749dbb9
L
74312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7432
7433 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7434 declaration.
7435 (struct La_x32_retval): Likewise.
7436
2ff87f3f
L
74372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7438
7439 * sysdeps/x86_64/preconfigure.in: New file.
7440 * sysdeps/x86_64/preconfigure: New generated file.
7441
c0df8e69
JM
74422012-03-22 Joseph Myers <joseph@codesourcery.com>
7443
48e44791
JM
7444 [BZ #13824]
7445 * math/e_exp2l.c: Include <float.h>.
7446 (__ieee754_exp2l): Handle overflow and underflow cases
7447 separately. Only pass fractional part of argument to
7448 __ieee754_expl.
7449 * math/libm-test.inc (exp2_test): Add more tests.
7450
c0df8e69
JM
7451 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7452 negating x to take absolute value.
7453 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7454 Likewise.
7455 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7456 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7457 Likewise.
7458 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7459 computing low part if x was negated.
7460 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7461
c8e43ba7
L
74622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7463
7464 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7465 la_x32_gnu_pltexit.
7466 (pltexit): Cast int_retval to ptrdiff_t.
7467 * elf/tst-auditmod3b.c: Likewise.
7468 * elf/tst-auditmod4b.c: Likewise.
7469 * elf/tst-auditmod5b.c: Likewise.
7470 * elf/tst-auditmod6b.c: Likewise.
7471 * elf/tst-auditmod6c.c: Likewise.
7472 * elf/tst-auditmod7b.c: Likewise.
7473
7474 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7475 and x32_gnu_pltexit.
7476
7477 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7478 __ELF_NATIVE_CLASS.
7479 (La_x32_regs): New macro.
7480 (La_x32_retval): Likewise.
7481 (la_x32_gnu_pltenter): New function prototype.
7482 (la_x32_gnu_pltexit): Likewise.
7483
7998fa78
AS
74842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7485
dcb33988
AS
7486 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7487 exponent.
7488
233fc563
AS
7489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7490
7998fa78
AS
7491 * configure.in (libc_cv_cc_nofma): Check for option to disable
7492 generation of FMA instructions.
7493 * configure: Regenerate.
7494 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7495 * sysdeps/ieee754/dbl-64/Makefile: New file.
7496 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7497 Remove brandred-fma4.
7498 (CFLAGS-brandred-fma4.c): Remove.
7499 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7500 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7501 define.
7502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7503 define.
7504
8e95c99a
L
75052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7506
7507 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7508 LLONG_MAX != LONG_MAX.
7509 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7510 (_fitoa_word): Likewise.
7511 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7512 LLONG_MAX != LONG_MAX.
7513 * stdio-common/_itowa.h: Include <_itoa.h>.
7514 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7515 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7516 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7517 only if not defined.
7518 (_ITOA_WORD_TYPE): Likewise.
7519 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7520 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7521
6f4db457
DM
75222012-03-21 David S. Miller <davem@davemloft.net>
7523
7524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7525
7785fe5a
L
75262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7527
7528 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7529 of x86_64 when setting libc_cv_slibdir, libdir and
7530 libc_cv_localedir.
7531 * sysdeps/unix/sysv/linux/configure: Regenerated.
7532
4535cd55
JM
75332012-03-21 Joseph Myers <joseph@codesourcery.com>
7534
7535 * manual/lang.texi (Old Varargs): Remove section.
7536 (How Variadic): Update menu.
7537 (va_start): Do not mention varargs.h.
7538
17228132
TS
75392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7540 Joseph Myers <joseph@codesourcery.com>
7541
7542 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7543 link test.
7544 * configure: Regenerated.
7545
8149f976
TS
75462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7547
05f3d1f6
UD
7548 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7549 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7550 conformtest.pl
8149f976 7551
1a4ac776
JM
75522012-03-21 Joseph Myers <joseph@codesourcery.com>
7553
be22ce65
JM
7554 * NOTES: Remove.
7555 * Makefile (files-for-dist): Remove NOTES.
7556 (NOTES): Remove rule.
7557 * README: Don't refer to NOTES.
7558 * manual/creature.texi: Don't include macros.texi.
7559 * manual/intro.texi (creature.texi): Remove comment referring to
7560 NOTES.
7561
40b601fb
JM
7562 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7563 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7564 * configure: Regenerated.
7565 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7566 LIBC_TRY_CC_OPTION.
7567 (libc_cv_as_i686): Likewise.
7568 (libc_cv_cc_avx): Likewise.
7569 (libc_cv_cc_sse2avx): Likewise.
7570 (libc_cv_cc_fma4): Likewise.
7571 (libc_cv_cc_novzeroupper): Likewise.
7572 * sysdeps/i386/configure: Regenerated.
7573
1a4ac776
JM
7574 [BZ #13883]
7575 * sysdeps/i386/fpu/s_cexp.S: Remove.
7576 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7577 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7578 * math/libm-test.inc (cexp_test): Add more tests.
7579 * sysdeps/i386/fpu/libm-test-ulps: Update.
7580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7581
a458e7fe
AM
75822012-03-21 Allan McRae <allan@archlinux.org>
7583
7584 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7585
0cb7efc5
JM
75862012-03-21 Joseph Myers <joseph@codesourcery.com>
7587
7588 [BZ #13871]
7589 * math/w_exp2.c: Do not include <float.h>.
7590 (o_threshold, u_threshold): Remove.
7591 (__exp2): Calculate result before checking finiteness and calling
7592 __kernel_standard.
7593 * math/w_exp2f.c: Likewise.
7594 * math/w_exp2l.c: Likewise.
7595 * math/libm-test.inc (exp2_test): Require overflow exception for
7596 1e6 input.
2460d3aa
JM
7597
7598 [BZ #3866]
7599 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7600 range of signed 64-bit integers before using fistpll. Remove
7601 checks for whether integers fit in mantissa bits.
7602 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7603 the range of signed 32-bit integers before using fistpl. Remove
7604 checks for whether integers fit in mantissa bits.
7605 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7606 (__ieee754_powl): Test for y outside the range of signed 64-bit
7607 integers before using fistpll. Reduce 64-bit values to 63-bit
7608 ones as needed.
7609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7610 divide-by-zero is raised for zero to large negative powers.
7611 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7612 (__ieee754_powl): Test for y outside the range of signed 64-bit
7613 integers before using fistpll. Reduce 64-bit values to 63-bit
7614 ones as needed.
7615 * math/libm-test.inc (pow_test): Add more tests.
7616
eb96ffb0
L
76172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7618
7619 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7620 <stdio-common/_itoa.h>.
7621 * debug/segfault.c: Likewise.
7622 * elf/dl-cache.c: Likewise.
7623 * elf/dl-minimal.c: Likewise.
7624 * elf/dl-misc.c: Likewise.
7625 * elf/dl-sysdep.c: Likewise.
7626 * elf/dl-version.c: Likewise.
7627 * elf/rtld.c: Likewise.
7628 * hurd/hurdsock.c: Likewise.
7629 * hurd/lookup-retry.c: Likewise.
7630 * malloc/malloc.c: Likewise.
7631 * malloc/mtrace.c: Likewise.
7632 * nscd/nscd_getgr_r.c: Likewise.
7633 * nscd/nscd_getpw_r.c: Likewise.
7634 * nscd/nscd_getserv_r.c: Likewise.
7635 * posix/getopt_init.c: Likewise.
7636 * posix/wordexp.c: Likewise.
7637 * stdio-common/_itoa.c: Likewise.
7638 * stdio-common/printf_fphex.c: Likewise.
7639 * stdio-common/vfprintf.c: Likewise.
7640 * string/_strerror.c: Likewise.
7641 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7642 * sysdeps/i386/i686/hp-timing.h: Likewise.
7643 * sysdeps/mach/_strerror.c: Likewise.
7644 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7645 * sysdeps/mach/hurd/sethostid.c: Likewise.
7646 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7647 * sysdeps/mach/xpg-strerror.c: Likewise.
7648 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7649 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7650 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7651 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7652 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7653 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7654 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7655 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7656 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7657 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7658 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7659 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7660 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7661 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7662 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7663 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7664 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7665 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7666 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7667 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7668 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7669
7670 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7671
7672 * stdio-common/_itoa.h: Moved to ...
7673 * sysdeps/generic/_itoa.h: Here.
7674
7675 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7676
7677 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7678 instead of "_itoa.h" and "_itowa.h".
7679 * stdio-common/vfprintf.: Likewise.
7680
d1af992d
L
76812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7682
7683 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7684 <bits/wordsize.h>.
7685 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7686 (__signbit): Likwise.
7687 (llrintf): Likwise.
7688 (llrint): Likwise.
7689
114883e0
L
76902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7691
7692 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7693 __WORDSIZE != 64.
7694
c135cc1b
JM
76952012-03-20 Joseph Myers <joseph@codesourcery.com>
7696
7697 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7698 OVERFLOW_EXCEPTION_OK.
7699 * math/libm-test.inc ("Philosophy"): Update comment about
7700 exception testing.
7701 (OVERFLOW_EXCEPTION): Define.
7702 (OVERFLOW_EXCEPTION_OK): Likewise.
7703 (INVALID_EXCEPTION_OK): Renumber.
7704 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7705 (IGNORE_ZERO_INF_SIGN): Likewise.
7706 (test_exceptions): Handle FE_OVERFLOW.
7707 (exp10_test): Expect overflow exceptions.
7708 (exp2_test): Likewise.
7709 (expm1_test): Likewise.
7710 (nextafter_test): Likewise.
7711 (pow_test): Likewise.
7712 (scalbn_test): Likewise.
7713 (scalbln_test): Likewise.
7714
95443d88
L
77152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7716
7717 * sysdeps/x86_64/bits/atomic.h
7718 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7719 64bit integer.
7720 (atomic_exchange_acq): Likewise.
7721 (__arch_exchange_and_add_body): Likewise.
7722 (__arch_add_body): Likewise.
7723 (atomic_add_negative): Likewise.
7724 (atomic_add_zero): Likewise.
7725
490df6c4
L
77262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7727
c2722551 7728 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7729 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7730
5e52b189
L
77312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7732
7733 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7734 Check __x86_64__ instead of __WORDSIZE.
7735
a9879d4c
L
77362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7737
7738 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7739
5df98260
DM
77402012-03-19 David S. Miller <davem@davemloft.net>
7741
e1497744
DM
7742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7743
5df98260
DM
7744 * sysdeps/sparc/fpu/fenv_private.h: New file.
7745 * sysdeps/sparc/fpu/math_private.h: Use it.
7746 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7747 Remove.
7748 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7749 (libc_feholdexcept_setroundl): Remove.
7750 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7751 Remove.
7752 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7753 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7754
b4c35121
L
77552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7756
7757 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7758 int64_t instead of long int.
7759 (INSERT_WORDS64): Likwise.
7760
56965fd7
L
77612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7762
7763 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7764 _Unwind_GetCFA return to _Unwind_Ptr first.
7765
83d1aec8
JM
77662012-03-19 Joseph Myers <joseph@codesourcery.com>
7767
1897ad44
JM
7768 [BZ #13629]
7769 * math/s_clog.c: Include <float.h>.
7770 (__clog): Scale large or subnormal inputs.
7771 * math/s_clogf.c: Likewise.
7772 * math/s_clogl.c: Likewise.
7773 * math/s_clog10.c: Include <float.h>.
7774 (M_LOG10_2): Define.
7775 (__clog10): Scale large or subnormal inputs.
7776 * math/s_clog10f.c: Likewise.
7777 * math/s_clog10l.c: Likewise.
7778 * math/libm-test.inc (clog_test): Add more tests.
7779 (clog10_test): Likewise.
7780 * sysdeps/i386/fpu/libm-test-ulps: Update.
7781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7782
7726d6a9
JM
7783 [BZ #11451]
7784 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7785 x and y.
7786 * math/libm-test.inc (atan2_test): Add another test.
7787
83d1aec8
JM
7788 * Makerules (common-objdir-compile): Remove.
7789 * sysdeps/unix/Makefile (config-generated): Do not add
7790 $(unix-generated) to variable.
7791 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7792 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7793 Remove rule.
7794 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7795 Likewise.
7796 [generic bits/local_lim.h] (before-compile): Do not append to
7797 variable.
7798 [generic bits/local_lim.h] (common-generated): Likewise.
7799 [generic sys/param.h] (before-compile): Do not append to variable.
7800 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7801 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7802 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7803 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7804 include.
7805 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7806 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7807 [generic sys/param.h] ($(addprefix
7808 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7809 [generic sys/param.h] (common-generated): Do not append to
7810 variable.
7811 [generic sys/param.h] (sysdep_headers): Likewise.
7812 [generic bits/errno.h] (before-compile): Do not append to
7813 variable.
7814 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7815 rule.
7816 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7817 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7818 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7819 [generic bits/errno.h] (common-generated): Do not append to
7820 variable.
7821 [generic bits/ioctls.h] (before-compile): Do not append to
7822 variable.
7823 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7824 rule.
7825 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7826 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7827 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7828 rule.
7829 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7830 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7831 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7832 [generic bits/ioctls.h] (common-generated): Do not append to
7833 variable.
7834 [generic sys/syscall.h] (syscall.h): Remove variable.
7835 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7836 rule.
7837 [generic sys/syscall.h] (before-compile): Do not append to
7838 variable.
7839 [generic sys/syscall.h] (common-generated): Likewise.
7840 * sysdeps/unix/errnos-tmpl.c: Remove file.
7841 * sysdeps/unix/errnos.awk: Likewise.
7842 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7843 * sysdeps/unix/ioctls.awk: Likewise.
7844 * sysdeps/unix/mk-local_lim.c: Likewise.
7845 * sysdeps/unix/snarf-ioctls: Likewise.
7846
4851a949
RH
78472012-03-19 Richard Henderson <rth@twiddle.net>
7848
bd37f2ee
RH
7849 * sysdeps/i386/fpu/fenv_private.h: New file.
7850 * sysdeps/i386/fpu/math_private.h: Use it.
7851 (math_opt_barrier, math_force_eval): Remove.
7852 (libc_feholdexcept_setround_53bit): Remove.
7853 (libc_feupdateenv_53bit): Remove.
7854 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7855 (math_opt_barrier, math_force_eval): Remove.
7856 (libc_feholdexcept): Remove.
7857 (libc_feholdexcept_setround): Remove.
7858 (libc_fetestexcept, libc_fesetenv): Remove.
7859 (libc_feupdateenv_test): Remove.
7860 (libc_feupdateenv, libc_feholdsetround): Remove.
7861 (libc_feresetround): Remove.
7862
d0adc922
RH
7863 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7864 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7865
0fe0f1f8
RH
7866 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7867 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7868 (libc_feupdateenv_testl): New.
7869 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7870 (libc_feupdateenv_testf): New.
7871 (libc_feupdateenv): Use libc_feupdateenv_test.
7872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7873 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7874
eb92c487
RH
7875 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7876 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7877 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7878 (libc_feresetround_noex): New.
7879 (libc_feresetround_noexf): New.
7880 (libc_feresetround_noexl): New.
7881 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7882 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7883 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7884 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7885 SET_RESTORE_ROUND.
7886 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7888 (__cos): Likewise.
7889 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7890 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7891 SET_RESTORE_ROUND_NOEX.
7892 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7893 SET_RESTORE_ROUND_NOEXF.
7894 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7895 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7896 (libc_feholdsetroundf): New.
7897 (libc_feresetround, libc_feresetroundf): New.
7898
7d2e8012
RH
7899 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7900 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7901 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7902
b4dabbb4
RH
7903 * sysdeps/generic/math_private.h: Include <fenv.h>.
7904 (default_libc_feholdexcept): New.
7905 (default_libc_feholdexcept_setround): New.
7906 (default_libc_fesetenv, default_libc_feupdateenv): New.
7907 (libc_feholdexcept): Only define if undefined.
7908 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7909 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7910 (libc_feholdexcept_setroundl): Likewise.
7911 (libc_feholdexcept_setround_53bit): Likewise.
7912 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7913 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7914 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7915 (libc_feupdateenv_53bit): Likewise.
7916 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7917 (libc_feholdexcept): Convert from macro to inline function.
7918 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7919 (libc_fesetenv, libc_feupdateenv): Likewise.
7920
4851a949
RH
7921 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7922 not previously defined.
7923 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7924 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7925 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7926 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7927 * sysdeps/ieee754/flt-32/math_private.h: New file.
7928 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7929 math_private.h below SET_FLOAT_WORD.
7930 (__isnan, __isinf_ns, __finite): Remove.
7931 (__isnanf, __isinf_nsf, __finitef): Remove.
7932
e79d442e
AS
79332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7934
7935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7936
90b80344
DM
79372012-03-17 David S. Miller <davem@davemloft.net>
7938
7939 [BZ #6471]
7940 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7941 for 2.16.
7942
edc21804
DM
79432012-03-16 David S. Miller <davem@davemloft.net>
7944
77e927af
DM
7945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7946 warnings.
7947
374976dd
DM
7948 [BZ #6471]
7949 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7950 properly.
7951 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7952 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7953 sysdep_routines when subdir is sysvipc.
7954 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7955 __getshmlba helper.
7956
edc21804
DM
7957 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7958
473c3ef3
L
79592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7960
7961 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7962 [__LP64__].
7963
eb0f39b6
L
79642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7965
7966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7967 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7968 (__lround): Renamed to ...
7969 (__llround): This. Replace long int with long long int.
7970 Define lround functions as aliases of llround functions.
7971 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7972
6b6cd74b
L
79732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7974
7975 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7976 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7977 adresses to uintptr_t. Replace "long int" and "unsigned long
7978 int" with "greg_t" on va_arg.
7979
f1a77b01
L
79802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7981
7982 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7983 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7984
7985 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7986 Move e_machine check before EI_CLASS check. Handle x32
7987 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7988 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7989 SKIP_EM_IA_64 and include
7990 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7991
7992 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7993 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7994 (add_system_dir): New macro.
7995
7996 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7997 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7998
11b90b9f
JM
79992012-03-16 Joseph Myers <joseph@codesourcery.com>
8000
c36e1d23
JM
8001 [BZ #2551]
8002 [BZ #2552]
8003 [BZ #2553]
8004 [BZ #2554]
8005 [BZ #2562]
8006 [BZ #2563]
8007 [BZ #2565]
8008 [BZ #2566]
8009 [BZ #2576]
8010 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8011 (y0): Likewise.
8012 * math/w_j0f.c (j0f): Likewise.
8013 (y0f): Likewise.
8014 * math/w_j0l.c (__j0l): Likewise.
8015 (__y0l): Likewise.
8016 * math/w_j1.c (j1): Likewise.
8017 (y1): Likewise.
8018 * math/w_j1f.c (j1f): Likewise.
8019 (y1f): Likewise.
8020 * math/w_j1l.c (__j1l): Likewise.
8021 (__y1l): Likewise.
8022 * math/w_jn.c (jn): Likewise.
8023 (yn): Likewise.
8024 * math/w_jnf.c (jnf): Likewise.
8025 (ynf): Likewise.
8026 * math/w_jnl.c (__jnl): Likewise.
8027 (__ynl): Likewise.
8028 * math/libm-test.inc (j0_test): Add more tests.
8029 (j1_test): Likewise.
8030 (jn_test): Likewise. Add trailing semicolon to existing test.
8031 (y0_test): Likewise.
8032 (y1_test): Likewise.
8033 * sysdeps/i386/fpu/libm-test-ulps: Update.
8034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8035
11b90b9f
JM
8036 [BZ #13851]
8037 [BZ #13854]
8038 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8039 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8040 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8041 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8042 (__tanl): Set errno for infinite argument.
8043 * sysdeps/i386/fpu/mptan.c: Remove.
8044 * sysdeps/i386/fpu/s_tan.S: Likewise.
8045 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8046 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8047 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8048 * math/libm-test.inc (tan_test): Add more tests and enable more
8049 tests for double and long double.
8050 * sysdeps/i386/fpu/libm-test-ulps: Update.
8051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8052
6a1bd2a1
JK
80532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8054
8055 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8056 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8057
10a803e0
RM
80582012-03-16 Roland McGrath <roland@hack.frob.com>
8059
8060 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8061 * configure.in: Use it for both main tree and add-ons.
8062 * configure: Regenerated.
8063
f196c7f7
L
80642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8065
8066 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8067
8848d99d
JM
80682012-03-16 Joseph Myers <joseph@codesourcery.com>
8069
96cbe7f4
JM
8070 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8071 in comment.
8072
8848d99d
JM
8073 [BZ #13851]
8074 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8075 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8076 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8077 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8078 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8079 infinite argument.
8080 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8082 != 0 for prec == 2.
8083 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8084 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8085 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8086 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8087 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8088 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8089 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8090 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8091 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8092 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8093 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8094 * math/libm-test.inc (cos_test): Add more tests and enable more
8095 tests for long double.
8096 (sin_test): Likewise.
8097 (sincos_test): Likewise.
8098 * sysdeps/i386/fpu/libm-test-ulps: Update.
8099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8100
dd7f4703
DM
81012012-03-16 David S. Miller <davem@davemloft.net>
8102
8103 * sysdeps/sparc/fpu/math_private.h: New file.
8104
006f1daa
DM
81052012-03-15 David S. Miller <davem@davemloft.net>
8106
c0c83bc8
DM
8107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8108 file.
e6a62e18 8109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8111 file.
e6a62e18
DM
8112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8118 sysdep routines.
8119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8120
88cb87d9
DM
8121 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8122 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8123
006f1daa 8124 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8126 sparc-ifunc.h
006f1daa 8127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8129 Likewise.
8130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8131 Likewise.
006f1daa
DM
8132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8136 Likewise.
006f1daa
DM
8137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8142 Likewise.
8143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8144 Likewise.
006f1daa
DM
8145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8165 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8169
11e0098e
AS
81702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8171
8172 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8173 scaling.
8174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8175
e85b09d0
AJ
81762012-03-15 Andreas Jaeger <aj@suse.de>
8177
8178 [BZ #13852]
8179 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8180 ieee754/flt-32 implementation for sin, cos and sincos.
8181 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8182 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8183 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8184 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8185 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8186 ieee754/flt-32 implementation for tan.
8187
8188 * math/libm-test.inc (cos_test): Enable some large input tests for
8189 float as well
8190 (sin_test): Likewise.
8191 (sincos_test): Likewise.
8192 (tan_test): Add tests for large input.
8193
8194 * sysdeps/i386/fpu/libm-test-ulps: Update.
8195
81c64153
AJ
81962012-03-15 Andreas Jaeger <aj@suse.de>
8197
8198 [BZ #13658]
8199 * math/libm-test.inc (cos_test): Add more test cases.
8200 (sin_test): Likewise.
8201 (sincos_test): Likewise.
8202
7bbfa5c6
AJ
82032012-03-15 Andreas Jaeger <aj@suse.de>
8204
8205 [BZ #13837]
8206 * math/libm-test.inc (cos_test): Add a test case for large input
8207 value.
8208 (sin_test): Likewise.
8209 (sincos_test): Likewise.
8210
82112012-03-15 Andreas Jaeger <aj@suse.de>,
8212 Joseph Myers <joseph@codesourcery.com>
8213
8214 [BZ #13658]
0671f479 8215 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8216 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8217 * sysdeps/i386/fpu/branred.c: Likewise.
8218 * sysdeps/i386/fpu/dosincos.c: Likewise.
8219 * sysdeps/i386/fpu/mpa.c: Likewise.
8220 * sysdeps/i386/fpu/s_cos.S: Likewise.
8221 * sysdeps/i386/fpu/s_sin.S: Likewise.
8222 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8223 * sysdeps/i386/fpu/sincos32.c: Likewise.
8224
8225 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8226 Define.
8227 (libc_feupdateenv_53bit): Define.
8228 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8229 Define.
8230 (libc_feupdateenv_53bit): Define.
8231
8232 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8233 53 bit (without extend i386 double precision).
8234
8235 * math/libm-test.inc (sincos_test): Add tests for large input.
8236 (sin): Likewise.
8237 (cos): Likewise.
8238
8239 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8240
9cad04ea
AS
82412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8242
8243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8244
f7062b9a
DM
82452012-03-15 David S. Miller <davem@davemloft.net>
8246
8247 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8248 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8249 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8250 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8263 file.
f7062b9a 8264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8266 file.
f7062b9a 8267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8269 file.
f7062b9a 8270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8272 file.
f7062b9a
DM
8273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8274 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8275 fmin/fmax sysdep routines.
8276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8277
7bd951ff
DM
82782012-03-14 David S. Miller <davem@davemloft.net>
8279
559398ab
DM
8280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8309 routines.
8310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8311 file.
559398ab 8312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8314 file.
559398ab 8315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8317 file.
559398ab 8318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8320 file.
559398ab 8321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8323 file.
559398ab 8324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8326 file.
8327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8328 file.
8329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8330 file.
8331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8332 file.
8333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8334 New file.
8335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8336 file.
8337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8338 file.
559398ab 8339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8341 file.
559398ab 8342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8344 file.
559398ab 8345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8347 file.
559398ab 8348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8350 VIS3 routines.
559398ab
DM
8351
8352 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8353 New file.
8354
5a1c1e32
DM
8355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8356
eae47a36
DM
8357 * sysdeps/sparc/configure.in: New file.
8358 * sysdeps/sparc/configure: Generate.
8359 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8360 * configure: Regenerate.
8361 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8362 * config.make.in (have-as-vis3): New.
8363 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8364 available use -Av9d instead of -Av9a.
8365 * sysdeps/sparc/sparc64/Makefile: Likewise.
8366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8368 New file.
8369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8370 file.
8371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8372 New file.
8373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8374 file.
eae47a36
DM
8375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8380
c0c83bc8
DM
8381 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8382 fzeros/fnegs to load 0x80000000 into a float register instead of
8383 using the stack.
7bd951ff
DM
8384 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8385
bd951ccb
JM
83862012-03-14 Joseph Myers <joseph@codesourcery.com>
8387
8388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8389 bits/syscall.h.
8390 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8391 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8392 ($(inst_includedir)/bits/syscall.h): Remove rule.
8393 ($(objpfx)bits/syscall.d): Include instead of
8394 $(objpfx)syscall-list.d.
8395 (generated): Change syscall-list.h and syscall-list.d to
8396 bits/syscall.h and bits/syscall.d.
8397
bb4e6db2
RM
83982012-03-14 Roland McGrath <roland@hack.frob.com>
8399
8400 [BZ #13846]
8401 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8402
aa4a2ae1
JM
84032012-03-14 Joseph Myers <joseph@codesourcery.com>
8404
e456826d
JM
8405 [BZ #13841]
8406 * math/s_csqrt.c: Include <float.h>.
8407 (__csqrt): Scale large or subnormal inputs.
8408 * math/s_csqrtf.c: Likewise.
8409 * math/s_csqrtl.c: Likewise.
8410 * math/libm-test.inc (csqrt_test): Add more tests.
8411 * sysdeps/i386/fpu/libm-test-ulps: Update.
8412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8413
aa4a2ae1
JM
8414 [BZ #13840]
8415 * math/libm-test.inc (hypot_test): Add more tests.
8416
7c10fd35
DM
84172012-03-13 David S. Miller <davem@davemloft.net>
8418
8419 [BZ #13840]
8420 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8421 double-precision for the calculation instead of scaling.
8422
f453b98b
JM
84232012-03-13 Joseph Myers <joseph@codesourcery.com>
8424
8425 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8426 manipulate bits before adding and subtracting TWO52[sx].
8427 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8428 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8429 Likewise.
8430 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8431
09a3453f
DM
84322012-03-13 David S. Miller <davem@davemloft.net>
8433
8e59da90
DM
8434 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8435 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8437 rtld-global-offsets.h
8438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8439
2a8ab7f2
DM
8440 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8441 large parameters.
8442
10f62770
DM
8443 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8444
5f0bdb18
DM
8445 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8446 'err' in the ifdef scope in which it is actually used.
8447
09a3453f
DM
8448 * nss/nss_db/db-init.c: Include string.h
8449
b4b2eb5e
DM
84502012-03-12 David S. Miller <davem@davemloft.net>
8451
98bb2f1c
DM
8452 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8453 masking out of the most significant byte of random value used.
8454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8455 Fix coding style in previous change.
8456
b4b2eb5e
DM
8457 * sysdeps/unix/sysv/linux/kernel-features.h
8458 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8459 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8460 expression.
8461 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8462 later.
8463
6e226b09
DM
84642012-03-11 David S. Miller <davem@davemloft.net>
8465
a1bcbd40
DM
8466 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8467 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8468 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8469 for 'resultvar' otherwise things get truncated on 64-bit.
8470
cb9d6174
DM
8471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8472 Fix masking out of the most significant byte of random value used.
8473
6e226b09
DM
8474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8475
058c132d
AS
84762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8477
8478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8479
2d2cd515
DM
84802012-03-09 David S. Miller <davem@davemloft.net>
8481
8482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8483 variables with appropriate CPP guards.
8484 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8485 frame pointer, not the stack pointer. Correct layout comments. Fix test
8486 on resulting framesize and the management of the outregs buffer for pltexit.
8487 Preserve floating point return values across _dl_call_pltexit call.
8488 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8489 framesize and the management of the outregs buffer for pltexit.
8490 Preserve floating point return values across _dl_call_pltexit
8491 call.
8492 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8493 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8494 (print_exit): Fix format string for return register value.
8495
9a07f9d0
JM
84962012-03-10 Joseph Myers <joseph@codesourcery.com>
8497
8498 * sunrpc/Makefile (others): Add rpcgen.
8499 ($(objpfx)rpcgen): Remove special build rule and dependency on
8500 libc.
8501 * sunrpc/rpcgen.c: New file.
8502
547b5e30
PE
85032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8504
c524201a
PE
8505 [BZ #13673]
8506 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8507 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8508 * sysdeps/i386/crti.S: Likewise.
8509 * sysdeps/i386/crtn.S: Likewise.
8510 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8511 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8512 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8513 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8514 * sysdeps/sh/crti.S: Likewise.
8515 * sysdeps/sh/crtn.S: Likewise.
8516 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8517
7b6235f2
PE
8518 [BZ #13673]
8519 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8520 with URL.
8521 * locale/programs/locfile-kw.gperf: Likewise.
8522 * locale/programs/charmap-kw.h: Regenerated.
8523 * locale/programs/locfile-kw.h: Likewise.
8524
547b5e30
PE
8525 [BZ #13673]
8526 * intl/plural.y: Replace FSF snail mail address with URL.
8527 * intl/plural.c: Regenerated.
8528
5f0a5dae
RH
85292012-03-09 Richard Henderson <rth@twiddle.net>
8530
8531 * include/math_private.h: Remove file.
8532 * math/math_private.h: Move file ...
8533 * sysdeps/generic/math_private.h: ... here.
8534
b8c03620
RH
8535 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8536 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8537 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8538
4e234f5d 8539 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8540 and <math_private.h>.
8541 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8542 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8543 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8544 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8545 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8563 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8567 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8571 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8574 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8575 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8583 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8584 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8585 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8586 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8587 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8629 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8630 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8632 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8634 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8635 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8638 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8639 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8641 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8642 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8643 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8644 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8646 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8647 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8649 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8650 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8651 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8652 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8653 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8654 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8655 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8656 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8657 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8658 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8659 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8660 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8662 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8664 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8665 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8666 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8667 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8668 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8669 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8670 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8671 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8672 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8673 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8674 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8675 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8676 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8677 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8678 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8679 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8680 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8681 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8682 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8683 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8684 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8685 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8686 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8687 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8688 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8689 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8690 * sysdeps/ieee754/k_standard.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8810 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8811 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8813 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8818 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8823 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8839 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8840 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8841 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8851 * sysdeps/ieee754/s_lib_version.c: Likewise.
8852 * sysdeps/ieee754/s_matherr.c: Likewise.
8853 * sysdeps/ieee754/s_signgam.c: Likewise.
8854 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8855 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8856 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8857 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8858 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8859 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8860 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8861 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8862 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8863 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8864 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8865 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8866 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8867 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8868 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8869 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8870 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8871 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8872 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8873 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8875
1991fa03
JM
88762012-03-09 Joseph Myers <joseph@codesourcery.com>
8877
8878 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8879 * sunrpc/rpc_main.c: Likewise.
8880 * sunrpc/rpc_svcout.c: Likewise.
8881
60d6f5a6
DM
88822012-03-09 David S. Miller <davem@davemloft.net>
8883
8884 * include/math_private.h: New file.
8885
4962050e
JM
88862012-03-09 Joseph Myers <joseph@codesourcery.com>
8887
02a6f887
JM
8888 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8889 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8890 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8891 from <bits/socket_type.h>.
8892 (enum __socket_type): Don't define here.
8893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8895 bits/socket_type.h.
8896
c6e013c1
JM
8897 [BZ #13566]
8898 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8899 checking __USE_GNU.
8900
4962050e
JM
8901 * Makerules ($(inst_includedir)/%.h): New rule.
8902 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8903 (install-others): Remove variable setting.
8904 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8905
38842f45
RH
89062012-03-08 Richard Henderson <rth@twiddle.net>
8907
67bb6da6
RH
8908 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8909 from macro to inline function; merge with the
8910 !__LIBC_INTERNAL_MATH_INLINES version.
8911 (__ieee754_sqrtf): Likewise.
8912
15194b4b
RH
8913 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8914 to inline function.
8915 (__rintf, __floor, __floorf): Likewise.
8916
64e21ede
RH
8917 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8918 macro to inline function.
8919 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8920
38842f45
RH
8921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8922 not <math/math_private.h>.
8923
c64bf5fe
DM
89242012-03-08 David S. Miller <davem@davemloft.net>
8925
8926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8927 copyright year.
8928 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8929
82d86f28
TS
89302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8931
8932 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8933 normalization.
8934 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8935 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8936
aea5d727
UD
89372012-03-08 Ulrich Drepper <drepper@gmail.com>
8938
8939 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8940 be defined individually, they must be defined as a block. Define
8941 S for printing a string instead of hidint the different by using a
8942 macro for adding the 'l'.
8943 * stdio-common/tst-fphex-wide.c: Adjust.
8944
70bca0a3
MP
89452012-03-07 Marek Polacek <polacek@redhat.com>
8946
8947 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8948
65b81130
MP
89492012-03-08 Marek Polacek <polacek@redhat.com>
8950
8951 [BZ #13806]
8952 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8953 * stdio-common/tst-fphex.c: Define a few macros to make the
8954 test reusable. Use them.
8955 * stdio-common/tst-fphex-wide.c: New file.
8956
07037eeb
JM
89572012-03-08 Joseph Myers <joseph@codesourcery.com>
8958
a7a93d50
JM
8959 [BZ #6911]
8960 * manual/macros.texi (gnusystems): New macro.
8961 (nongnusystems): Likewise.
8962 (gnulinuxhurdsystems): Likewise.
8963 (gnuhurdsystems): Likewise..
8964 (gnulinuxsystems): Likewise.
8965 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8966 variants of the GNU system, not "GNU system".
8967 * manual/conf.texi: Likewise.
8968 * manual/errno.texi: Likewise. Update example of errno macro
8969 expansion.
8970 * manual/filesys.texi: Likewise.
8971 (getumask): Document as specific to GNU/Hurd.
8972 * manual/install.texi: Likewise. Reword some references to
8973 GNU/Linux.
8974 * manual/intro.texi: Likewise.
8975 * manual/io.texi: Likewise.
8976 (File Name Portability): Detail which constraints are inapplicable
8977 to all GNU systems and which are only inapplicable to GNU/Hurd.
8978 * manual/job.texi: Likewise.
8979 * manual/llio.texi: Likewise.
8980 (O_NOCTTY): Document as present on GNU/Linux.
8981 * manual/maint.texi: Likewise.
8982 * manual/memory.texi: Likewise.
8983 * manual/pattern.texi: Likewise.
8984 * manual/pipe.texi: Likewise.
8985 * manual/process.texi: Likewise.
8986 * manual/resource.texi: Likewise.
8987 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8988 child on GNU/Hurd.
8989 * manual/setjmp.texi: Likewise.
8990 * manual/signal.texi: Likewise.
8991 * manual/startup.texi: Likewise.
8992 * manual/stdio.texi: Likewise.
8993 * manual/terminal.texi: Likewise.
8994 (ONLCR): Document as POSIX.
8995 (OXTABS): Document availability on GNU/Linux as XTABS.
8996 (ONOEOT): Document availability separately from other bits.
8997 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8998 * manual/time.texi: Likewise.
8999 * manual/users.texi: Likewise.
9000 * INSTALL: Regenerated.
9001 * sysdeps/gnu/errlist.c: Regenerated.
9002
07037eeb
JM
9003 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9004 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9005 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9006 puts.
9007 * configure: Regenerated.
9008
d1d3431a
JM
90092012-03-07 Joseph Myers <joseph@codesourcery.com>
9010
af6a1e37
JM
9011 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9012 default includes instead of AC_HEADER_CHECK.
9013 * sysdeps/i386/configure: Regenerated.
9014
d1d3431a
JM
9015 [BZ #10716]
9016 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9017 * math/s_cacoshf.c (__cacoshf): Likewise.
9018 * math/s_cacoshl.c (__cacoshl): Likewise.
9019 * math/s_casinh.c (__casinh): Set signs of result from argument.
9020 * math/s_casinhf.c (__casinhf): Likewise.
9021 * math/s_casinhl.c (__casinhl): Likewise.
9022 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9023 (casinh_test): Add more tests.
9024 * sysdeps/i386/fpu/libm-test-ulps: Update.
9025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9026
482ff4da
UD
90272012-03-07 Ulrich Drepper <drepper@gmail.com>
9028
872fda05
UD
9029 * po/zh_TW.po: Update from translation team.
9030
a4300c7a
UD
9031 * login/Makefile (distribute): Remove variable.
9032 * catgets/Makefile: Likewise.
9033 * mach/Makefile: Likewise.
9034 * malloc/Makefile: Likewise.
9035 * misc/Makefile: Likewise.
9036 * iconv/Makefile: Likewise.
9037 * nscd/Makefile: Likewise.
9038 * hurd/Makefile: Likewise.
9039 * manual/Makefile: Likewise.
9040 * locale/Makefile: Likewise.
9041 * intl/Makefile: Likewise.
9042 * conform/Makefile: Likewise.
9043 * nss/Makefile: Likewise.
9044 * time/Makefile: Likewise.
9045 * soft-fp/Makefile: Likewise.
9046 * dirent/Makefile: Likewise.
9047 * gmon/Makefile: Likewise.
9048 * po/Makefile: Likewise.
9049 * rt/Makefile: Likewise.
9050 * socket/Makefile: Likewise.
9051 * math/Makefile: Likewise.
9052 * signal/Makefile: Likewise.
9053 * debug/Makefile: Likewise.
9054 * elf/Makefile: Likewise.
9055 * timezone/Makefile: Likewise.
9056 * stdlib/Makefile: Likewise.
9057 * iconvdata/Makefile: Likewise.
9058 * sunrpc/Makefile: Likewise.
9059 * io/Makefile: Likewise.
9060 * argp/Makefile: Likewise.
9061 * inet/Makefile: Likewise.
9062 * hesiod/Makefile: Likewise.
9063 * grp/Makefile: Likewise.
9064 * csu/Makefile: Likewise.
9065 * wctype/Makefile: Likewise.
9066 * crypt/Makefile: Likewise.
9067 * libio/Makefile: Likewise.
9068 * string/Makefile: Likewise.
9069 * nis/Makefile: Likewise.
9070 * resolv/Makefile: Likewise.
9071 * stdio-common/Makefile: Likewise.
9072 * wcsmbs/Makefile: Likewise.
9073 * dlfcn/Makefile: Likewise.
9074 * posix/Makefile: Likewise.
9075
3b7c4e74 9076 [BZ #6959]
482ff4da
UD
9077 * timezone/Makefile: Don't install timezone files, just the programs
9078 and scripts.
9079
f72ed77d
UD
90802012-03-06 Ulrich Drepper <drepper@gmail.com>
9081
a000466f
UD
9082 * nss/databases.def: Add missing gshadow entry.
9083
f72ed77d
UD
9084 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9085
a53b7a4e
MP
90862012-03-06 Marek Polacek <polacek@redhat.com>
9087
9088 [BZ #13726]
9089 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9090 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9091 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9092 * stdio-common/tst-long-dbl-fphex.c: New file.
9093
e9258400
DM
90942012-03-06 David S. Miller <davem@davemloft.net>
9095
9096 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9097 (set_obp_int): New function.
9098 (get_obp_int): New function.
9099 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9101 Avoid unused variable warnings on 'val' and use builtin_expect.
9102 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9103 __builtin_expect.
e9258400
DM
9104 (INLINE_CLONE_SYSCALL): Likewise.
9105
3bd2c723
DM
91062012-03-05 David S. Miller <davem@davemloft.net>
9107
9108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9109
bbb78d03
AS
91102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9111
884c5db4
AS
9112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9113
bbb78d03
AS
9114 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9115 only for |x| >= 40.
9116 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9117
1c9f702a 91182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9119
9120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9121 Replace gettimeofday with __vdso_gettimeofday.
9122
7be16f82
RM
9123 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9124 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9125 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9126
9127 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9128 time with __vdso_time.
9129
ed58a00f
JM
91302012-03-05 Joseph Myers <joseph@codesourcery.com>
9131
9132 * manual/lang.texi (size_t): Note types to which size_t may be
9133 equivalent with the GNU C Library, but do not describe when
9134 differences between them are significant.
9135
30ee4ced
AJ
91362012-03-05 Andreas Jaeger <aj@suse.de>
9137
9138 * sysdeps/i386/fpu/libm-test-ulps: Update.
9139
b7cd39e8
JM
91402012-03-05 Joseph Myers <joseph@codesourcery.com>
9141
9142 [BZ #3976]
9143 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9144 (__ieee754_pow): Save and restore rounding mode and use
9145 round-to-nearest for main computations.
9146 * math/libm-test.inc (pow_test_tonearest): New function.
9147 (pow_test_towardzero): Likewise.
9148 (pow_test_downward): Likewise.
9149 (pow_test_upward): Likewise.
9150 (main): Call the new functions.
9151 * sysdeps/i386/fpu/libm-test-ulps: Update.
9152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9153
9154 [BZ #3976]
9155 * math/libm-test.inc (cosh_test_tonearest): New function.
9156 (cosh_test_towardzero): Likewise.
9157 (cosh_test_downward): Likewise.
9158 (cosh_test_upward): Likewise.
9159 (sinh_test_tonearest): Likewise.
9160 (sinh_test_towardzero): Likewise.
9161 (sinh_test_downward): Likewise.
9162 (sinh_test_upward): Likewise.
9163 (main): Call the new functions.
9164 * sysdeps/i386/fpu/libm-test-ulps: Update.
9165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9166
6c6a98c9
TV
91672012-03-05 Tom de Vries <tom@codesourcery.com>
9168
9169 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9170 default stack guard is set in last bytes.
9171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9172
21bb2d2e 91732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9174
21bb2d2e 9175 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9176
21bb2d2e
AJ
9177 [BZ #13656]
9178 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9179 possibly allocate from heap instead of stack.
9180 * stdio-common/bug-vfprintf-nargs.c: New file.
9181 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9182
c6922934
AS
91832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9184
9185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9186
bc957d53
MP
91872012-03-03 Marek Polacek <polacek@redhat.com>
9188
9189 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9190 * math/math_private.h: Likewise.
9191 * stdlib/tst-strtod.c: Likewise.
9192 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9193 * sysdeps/x86_64/bits/atomic.h: Likewise.
9194
6358490d
DM
91952012-03-02 David S. Miller <davem@davemloft.net>
9196
9197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9201 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9202 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9203 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9204 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9205
01ae168d
RM
92062012-03-02 Roland McGrath <roland@hack.frob.com>
9207
d9a17c07
RM
9208 [BZ #13792]
9209 * manual/examples/README: New file, says the example source files
9210 can be used under GPL>=2.
9211 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9212 line containing just "*/".
9213 * manual/examples/add.c: Add copyright header (GPL>=2).
9214 * manual/examples/argp-ex1.c: Likewise.
9215 * manual/examples/argp-ex2.c: Likewise.
9216 * manual/examples/argp-ex3.c: Likewise.
9217 * manual/examples/argp-ex4.c: Likewise.
9218 * manual/examples/atexit.c: Likewise.
9219 * manual/examples/db.c: Likewise.
9220 * manual/examples/dir.c: Likewise.
9221 * manual/examples/dir2.c: Likewise.
9222 * manual/examples/execinfo.c: Likewise.
9223 * manual/examples/filecli.c: Likewise.
9224 * manual/examples/filesrv.c: Likewise.
9225 * manual/examples/fmtmsgexpl.c: Likewise.
9226 * manual/examples/genpass.c: Likewise.
9227 * manual/examples/inetcli.c: Likewise.
9228 * manual/examples/inetsrv.c: Likewise.
9229 * manual/examples/isockad.c: Likewise.
9230 * manual/examples/longopt.c: Likewise.
9231 * manual/examples/memopen.c: Likewise.
9232 * manual/examples/memstrm.c: Likewise.
9233 * manual/examples/mkfsock.c: Likewise.
9234 * manual/examples/mkisock.c: Likewise.
9235 * manual/examples/mygetpass.c: Likewise.
9236 * manual/examples/pipe.c: Likewise.
9237 * manual/examples/popen.c: Likewise.
9238 * manual/examples/rprintf.c: Likewise.
9239 * manual/examples/search.c: Likewise.
9240 * manual/examples/select.c: Likewise.
9241 * manual/examples/setjmp.c: Likewise.
9242 * manual/examples/sigh1.c: Likewise.
9243 * manual/examples/sigusr.c: Likewise.
9244 * manual/examples/stpcpy.c: Likewise.
9245 * manual/examples/strdupa.c: Likewise.
9246 * manual/examples/strftim.c: Likewise.
9247 * manual/examples/strncat.c: Likewise.
9248 * manual/examples/subopt.c: Likewise.
9249 * manual/examples/swapcontext.c: Likewise.
9250 * manual/examples/termios.c: Likewise.
9251 * manual/examples/testopt.c: Likewise.
9252 * manual/examples/testpass.c: Likewise.
9253 * manual/examples/timeval_subtract.c: Likewise.
9254
01ae168d
RM
9255 [BZ #13792]
9256 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9257 function to ...
9258 * manual/timeval_subtract.c.texi: ... here, new file.
9259
49efa33d
DM
92602012-03-02 David S. Miller <davem@davemloft.net>
9261
9262 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9263
28afd92d
JM
92642012-03-02 Joseph Myers <joseph@codesourcery.com>
9265
804360ed
JM
9266 [BZ #3976]
9267 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9268 (__sin): Save and restore rounding mode and use round-to-nearest
9269 for all computations.
9270 (__cos): Save and restore rounding mode and use round-to-nearest
9271 for all computations.
9272 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9273 <fenv.h>.
9274 (tan): Save and restore rounding mode and use round-to-nearest for
9275 all computations.
9276 * math/libm-test.inc (cos_test_tonearest): New function.
9277 (cos_test_towardzero): Likewise.
9278 (cos_test_downward): Likewise.
9279 (cos_test_upward): Likewise.
9280 (sin_test_tonearest): Likewise.
9281 (sin_test_towardzero): Likewise.
9282 (sin_test_downward): Likewise.
9283 (sin_test_upward): Likewise.
9284 (tan_test_tonearest): Likewise.
9285 (tan_test_towardzero): Likewise.
9286 (tan_test_downward): Likewise.
9287 (tan_test_upward): Likewise.
9288 (main): Call the new functions.
9289 * sysdeps/i386/fpu/libm-test-ulps: Update.
9290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9291
a6d06d7b
JM
9292 [BZ #10135]
9293 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9294 small n, then large n, before computing and testing k+n.
9295 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9297 Likewise.
9298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9299 Likewise.
9300 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9301 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9302 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9303 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9306 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9307 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9308 * math/libm-test.inc (scalbn_test): Add more tests.
9309 (scalbln_test): Likewise.
9310
07e12bb3
JM
9311 * manual/filesys.texi (mode_t): Describe constraints on size and
9312 signedness, not exact equivalence to a particular type.
9313 (ino_t): Likewise.
9314 (ino64_t): Likewise.
9315 (dev_t): Likewise.
9316 (nlink_t): Likewise.
9317 (blkcnt_t): Likewise.
9318 (blkcnt64_t): Likewise.
9319 * manual/llio.texi (off_t): Likewise.
9320
28afd92d
JM
9321 [BZ #3976]
9322 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9323 (__ieee754_exp): Save and restore rounding mode and use
9324 round-to-nearest for all computations.
9325 * math/libm-test.inc (exp_test_tonearest): New function.
9326 (exp_test_towardzero): Likewise.
9327 (exp_test_downward): Likewise.
9328 (exp_test_upward): Likewise.
9329 (main): Call the new functions.
9330 * sysdeps/i386/fpu/libm-test-ulps: Update.
9331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9332
b1eeb65d
CD
93332012-03-01 Chris Demetriou <cgd@google.com>
9334
9335 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9336 have predictable order.
9337
53362a4b
DM
93382012-03-01 David S. Miller <davem@davemloft.net>
9339
3c969083
DM
9340 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9341
759707de
DM
9342 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9343 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9344 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9345 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9346
dfdb8ff2
DM
9347 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9348 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9349 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9351 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9352 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9353 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9354 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9355 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9356
ead89f96
DM
9357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9358
7f66bd07
DM
9359 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9360 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9361 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9362
53362a4b
DM
9363 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9364 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9365 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9366 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9367 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9368 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9370 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9371 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9372 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9373 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9374 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9376 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9377 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9379 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9380 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9381 * sysdeps/sparc/elf/configure: Regenerated.
9382
7b1902cb
JM
93832012-03-01 Joseph Myers <joseph@codesourcery.com>
9384
bec039bc
JM
9385 * configure.in (AS, LD): Require binutils 2.20 or later.
9386 * configure: Regenerated.
9387 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9388 as required minimum version.
9389 * INSTALL: Regenerated.
9390
7b1902cb
JM
9391 [BZ #2541]
9392 [BZ #4108]
9393 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9394 before squaring exponent.
9395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9396 bottom long double and 27 bits of top long double before squaring
9397 exponent.
9398 * math/libm-test.inc (erfc_test): Add more tests.
9399 * sysdeps/i386/fpu/libm-test-ulps: Update.
9400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9402
f775c276
KT
94032012-03-01 Kai Tietz <ktietz@redhat.com>
9404
9405 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9406 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9407 containing bit-fields.
9408 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9409 * soft-fp/single.h (_FP_UNION_S): Likewise.
9410 * soft-fp/double.h (_FP_UNION_D): Likewise.
9411
5b8a4d4a
JM
94122012-02-29 Joseph Myers <joseph@codesourcery.com>
9413
0bab47b6
JM
9414 [BZ #13786]
9415 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9416 not include ../strcmp.S.
9417 [USE_AS_STRNCASECMP_L]: Likewise.
9418 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9419 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9420 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9421 (__strncasecmp_l_ia32): Define as alias to
9422 __strncasecmp_l_nonascii.
9423
0fcad3e2
JM
9424 [BZ #5794]
9425 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9426 * sysdeps/i386/fpu/libm-test-ulps: Update.
9427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9428
5b8a4d4a
JM
9429 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9431
8fdceb2e
JL
94322012-02-29 Jeff Law <law@redhat.com>
9433
9434 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9435 out of bounds read.
9436
1f393a11
MP
94372012-02-29 Marek Polacek <polacek@redhat.com>
9438
9439 [BZ #13706]
9440 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9441 * elf/Makefile: Add rules to run tst-unused-dep.out.
9442
8847f037
DM
94432012-02-28 David S. Miller <davem@davemloft.net>
9444
9445 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9446 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9447 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9449 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9450 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9451
169d7f11
JM
94522012-02-29 Joseph Myers <joseph@codesourcery.com>
9453
9454 * math/libm-test.inc (llround_test): Move one test from
9455 lround_test. Use TEST_f_L in moved test.
9456 (lround_test): Move misplaced test to llround_test. Add testcase
9457 from bug 2561.
9458
39adf059
UD
94592012-02-28 Ulrich Drepper <drepper@gmail.com>
9460
9461 * sysdeps/x86_64/fpu/e_expf.S: New file.
9462 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9463
71b5d1c5
SB
94642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9465
9466 [BZ #13637]
9467 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9468 of remain_len that may cause incomplete multi-byte character and
9469 false match.
9470 * posix/bug-regex33.c: New file.
9471 * posix/Makefile (tests): Add bug-regex33.
9472
1f77f049
JM
94732012-02-28 Joseph Myers <joseph@codesourcery.com>
9474
9475 * manual/macros.texi: New file.
9476 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9477 * manual/libc.texinfo: Include macros.texi.
9478 * manual/creatute.texi: Likewise.
9479 * manual/install.texi: Likewise.
9480 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9481 @glibcadj{} in references to the GNU C Library.
9482 * manual/charset.texi: Likewise.
9483 * manual/conf.texi: Likewise.
9484 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9485 when not using those macros.
9486 * manual/creature.texi: Likewise.
9487 * manual/crypt.texi: Likewise.
9488 * manual/errno.texi: Likewise.
9489 * manual/filesys.texi: Likewise.
9490 * manual/header.texi: Likewise.
9491 * manual/install.texi: Likewise.
9492 * manual/intro.texi: Likewise.
9493 * manual/io.texi: Likewise.
9494 * manual/job.texi: Likewise.
9495 * manual/lang.texi: Likewise.
9496 * manual/libc.texiinfo: Likewise.
9497 * manual/llio.texi: Likewise.
9498 * manual/locale.texi: Likewise.
9499 * manual/maint.texi: Likewise.
9500 * manual/math.texi: Likewise.
9501 * manual/memory.texi: Likewise.
9502 * manual/message.texi: Likewise.
9503 * manual/nss.texi: Likewise.
9504 * manual/pattern.texi: Likewise.
9505 * manual/process.texi: Likewise.
9506 * manual/resource.texi: Likewise.
9507 * manual/search.texi: Likewise.
9508 * manual/setjmp.texi: Likewise.
9509 * manual/signal.texi: Likewise.
9510 * manual/socket.texi: Likewise.
9511 * manual/startup.texi: Likewise.
9512 * manual/stdio.texi: Likewise.
9513 * manual/string.texi: Likewise.
9514 * manual/sysinfo.texi: Likewise.
9515 * manual/syslog.texi: Likewise.
9516 * manual/terminal.texi: Likewise.
9517 * manual/time.texi: Likewise.
9518 * manual/users.texi: Likewise.
9519 * INSTALL: Regenerated.
9520 * NOTES: Regenerated.
d40c5d54 9521 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9522
450bf206
AS
95232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9524
9525 * include/dirent.h: Include <dirstream.h> before
9526 <dirent/dirent.h>.
9527
741a235b
DM
95282012-02-28 David S. Miller <davem@davemloft.net>
9529
9530 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9531 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9532 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9533 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9534
d6b5aa58
DM
95352012-02-27 David S. Miller <davem@davemloft.net>
9536
1aff59a3
DM
9537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9539 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9540 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9541
d6b5aa58
DM
9542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9543 frame pointer instead of stack pointer relative arg slot.
9544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9545 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9546 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9547
433f48bf
CD
95482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9549
9550 [BZ #3992]
9551 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9552
d674b76d
DM
95532012-02-27 David S. Miller <davem@davemloft.net>
9554
9555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9559 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9560 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9561 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9562 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9563
0e7727f7
JM
95642012-02-27 Joseph Myers <joseph@codesourcery.com>
9565
9566 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9567 later. Allow versions 5-9.
43be4ca2 9568 * configure: Regenerated.
0e7727f7
JM
9569 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9570 required minimum version and 4.6 as recommended version. Do not
9571 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9572 * INSTALL: Regenerated.
0e7727f7 9573
a78bc654
DM
95742012-02-27 David S. Miller <davem@davemloft.net>
9575
428d5830
DM
9576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9582 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9583 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9584
a78bc654
DM
9585 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9586 manipulate bits before adding and subtracting TWO112[sx].
9587 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9588
4579f81c
RM
95892012-02-27 Roland McGrath <roland@hack.frob.com>
9590
36c8acb4
RM
9591 [BZ #13775]
9592 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9593 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9594 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9595 being in POSIX, because they are in 1003.1-2008.
9596
84ad622b
RM
9597 * rt/tst-aio.c: Include <fcntl.h>.
9598 * rt/tst-aio7.c: Likewise.
9599 * rt/tst-aio64.c: Likewise.
9600
4579f81c
RM
9601 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9602
abd923db
JM
96032012-02-27 Joseph Myers <joseph@codesourcery.com>
9604
9605 * manual/install.texi (--with-headers): Describe headers as
9606 interface headers, not private headers.
9607 (Specific advice for GNU/Linux systems): Describe use of headers
9608 from "make headers_install", not private headers from older
9609 kernels.
43be4ca2 9610 * INSTALL: Regenerated.
abd923db
JM
9611 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9612 Change to 2.6.19.
9613 * sysdeps/unix/sysv/linux/configure: Regenerated.
9614
6664049b
JM
9615 * manual/llio.texi (fclean): Remove documentation.
9616
bb8b6697
JM
9617 * manual/Makefile (libc-texi-generated): New variable. Include
9618 version.texi.
9619 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9620 $(libc-texi-generated), not duplicated list of files.
9621 (version.texi, stamp-version): New rules.
9622 (realclean): Remove $(libc-texi-generated), not individual files
9623 from that list. Do not remove dir-add.texinfo.
9624 * manual/libc.texinfo: Comment out uses of edition numbers and
9625 references to printed manual. Remove last-updated dates.
9626 (EDITION): Comment out.
9627 (ISBN): Likewise.
9628 (VERSION, UPDATED): Remove.
9629 (version.texi): Include.
9630
12e5c3b9
AS
96312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9632
9633 * sysdeps/posix/spawni.c: Include <signal.h>.
9634 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9635 * sysdeps/pthread/aio_fsync.c: Likewise.
9636
4efeffc1 96372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9638
ba63ba08
UD
9639 * conform/Makefile (tests): Run only when not cross-compiling and
9640 when fast-check is not defined.
9641
d94a4670
UD
9642 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9643 * conform/data/limits.h-data: Fixes for POSIX2008.
9644 * conform/run-conformtest.sh: Run all tests.
9645 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9646 headers.
9647 * include/bits/dlfcn.h: Likewise.
9648 * include/langinfo.h: Likewise.
9649 * include/monetary.h: Likewise.
9650 * include/sys/poll.h: Likewise.
9651
9652 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9653 for __USE_GNU.
9654 * posix/spawn.h: Define __need_sigset_t.
9655 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9656 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9657 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9658 to get sigevent_t only.
9659 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9660 only for __USE_GNU.
9661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9662 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9663 process_vm_writev only for __USE_GNU.
9664 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9665
9666 * conform/Makefile: For now ignore errors from run-conformtest.
9667 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9668 POSIX to avoid namespace pollution. Don't prepend headers.
9669 * conform/data/aio.h-data: Fixes for POSIX testing.
9670 * conform/data/fcntl.h-data: Likewise.
9671 * conform/data/glob.h-data: Likewise.
9672 * conform/data/grp.h-data: Likewise.
9673 * conform/data/pthread.h-data: Likewise.
9674 * conform/data/pwd.h-data: Likewise.
9675 * conform/data/signal.h-data: Likewise.
9676 * conform/data/spawn.h-data: Likewise.
9677 * conform/data/stdio.h-data: Likewise.
9678 * conform/data/stdlib.h-data: Likewise.
9679 * conform/data/stropts.h-data: Likewise.
9680 * conform/data/sys/mman.h-data: Likewise.
9681 * conform/data/sys/stat.h-data: Likewise.
9682 * conform/data/sys/types.h-data: Likewise.
9683 * conform/data/sys/wait.h-data: Likewise.
9684 * conform/data/time.h-data: Likewise.
9685 * conform/data/unistd.h-data: Likewise.
9686 * conform/data/utime.h-data: Likewise.
9687
9688 * io/sys/stat.h: fchmod was always in POSIX.
9689 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9690 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9691 * rt/aio.h: Define __need_timespec before including <time.h>.
9692 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9693 struct. Add forward declaration of pthread_attr_t and use it in
9694 sigevent.
9695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9697 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9698 always remove CLK_TCK definition.
9699
c20105c3
AS
97002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9701
9702 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9703
7a270350
UD
97042012-02-25 Ulrich Drepper <drepper@gmail.com>
9705
31341567
UD
9706 * conform/run-conformtest.sh: New file.
9707 * conform/Makefile: Run run-conformtest for tests.
9708 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9709 support.
9710
9711 * conform/data/uchar.h-data: New file.
9712 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9713 * conform/data/arpa/inet.h-data: Likewise.
9714 * conform/data/assert.h-data: Likewise.
9715 * conform/data/complex.h-data: Likewise.
9716 * conform/data/cpio.h-data: Likewise.
9717 * conform/data/ctype.h-data: Likewise.
9718 * conform/data/dirent.h-data: Likewise.
9719 * conform/data/dlfcn.h-data: Likewise.
9720 * conform/data/errno.h-data: Likewise.
9721 * conform/data/fcntl.h-data: Likewise.
9722 * conform/data/float.h-data: Likewise.
9723 * conform/data/fmtmsg.h-data: Likewise.
9724 * conform/data/fnmatch.h-data: Likewise.
9725 * conform/data/ftw.h-data: Likewise.
9726 * conform/data/glob.h-data: Likewise.
9727 * conform/data/grp.h-data: Likewise.
9728 * conform/data/iconv.h-data: Likewise.
9729 * conform/data/inttypes.h-data: Likewise.
9730 * conform/data/langinfo.h-data: Likewise.
9731 * conform/data/libgen.h-data: Likewise.
9732 * conform/data/limits.h-data: Likewise.
9733 * conform/data/locale.h-data: Likewise.
9734 * conform/data/math.h-data: Likewise.
9735 * conform/data/monetary.h-data: Likewise.
9736 * conform/data/mqueue.h-data: Likewise.
9737 * conform/data/ndbm.h-data: Likewise.
9738 * conform/data/net/if.h-data: Likewise.
9739 * conform/data/netdb.h-data: Likewise.
9740 * conform/data/netinet/in.h-data: Likewise.
9741 * conform/data/nl_types.h-data: Likewise.
9742 * conform/data/poll.h-data: Likewise.
9743 * conform/data/pthread.h-data: Likewise.
9744 * conform/data/pwd.h-data: Likewise.
9745 * conform/data/regex.h-data: Likewise.
9746 * conform/data/sched.h-data: Likewise.
9747 * conform/data/search.h-data: Likewise.
9748 * conform/data/semaphore.h-data: Likewise.
9749 * conform/data/setjmp.h-data: Likewise.
9750 * conform/data/signal.h-data: Likewise.
9751 * conform/data/spawn.h-data: Likewise.
9752 * conform/data/stdarg.h-data: Likewise.
9753 * conform/data/stdio.h-data: Likewise.
9754 * conform/data/stdlib.h-data: Likewise.
9755 * conform/data/string.h-data: Likewise.
9756 * conform/data/strings.h-data: Likewise.
9757 * conform/data/stropts.h-data: Likewise.
9758 * conform/data/sys/ipc.h-data: Likewise.
9759 * conform/data/sys/mman.h-data: Likewise.
9760 * conform/data/sys/msg.h-data: Likewise.
9761 * conform/data/sys/resource.h-data: Likewise.
9762 * conform/data/sys/select.h-data: Likewise.
9763 * conform/data/sys/sem.h-data: Likewise.
9764 * conform/data/sys/shm.h-data: Likewise.
9765 * conform/data/sys/socket.h-data: Likewise.
9766 * conform/data/sys/stat.h-data: Likewise.
9767 * conform/data/sys/statvfs.h-data: Likewise.
9768 * conform/data/sys/time.h-data: Likewise.
9769 * conform/data/sys/timeb.h-data: Likewise.
9770 * conform/data/sys/times.h-data: Likewise.
9771 * conform/data/sys/types.h-data: Likewise.
9772 * conform/data/sys/uio.h-data: Likewise.
9773 * conform/data/sys/un.h-data: Likewise.
9774 * conform/data/sys/utsname.h-data: Likewise.
9775 * conform/data/sys/wait.h-data: Likewise.
9776 * conform/data/syslog.h-data: Likewise.
9777 * conform/data/tar.h-data: Likewise.
9778 * conform/data/termios.h-data: Likewise.
9779 * conform/data/utime.h-data: Likewise.
9780 * conform/data/utmpx.h-data: Likewise.
9781 * conform/data/varargs.h-data: Likewise.
9782 * conform/data/wchar.h-data: Likewise.
9783 * conform/data/wctype.h-data: Likewise.
9784 * conform/data/wordexp.h-data: Likewise.
9785
9786 * include/stropts.h: New file.
9787 * include/uchar.h: New file.
9788 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9789 * include/assert.h: Likewise.
9790 * include/ctype.h: Likewise.
9791 * include/dirent.h: Likewise.
9792 * include/dlfcn.h: Likewise.
9793 * include/fcntl.h: Likewise.
9794 * include/fnmatch.h: Likewise.
9795 * include/glob.h: Likewise.
9796 * include/grp.h: Likewise.
9797 * include/libio.h: Likewise.
9798 * include/locale.h: Likewise.
9799 * include/math.h: Likewise.
9800 * include/net/if.h: Likewise.
9801 * include/netdb.h: Likewise.
9802 * include/netinet/in.h: Likewise.
9803 * include/pthread.h: Likewise.
9804 * include/pwd.h: Likewise.
9805 * include/regex.h: Likewise.
9806 * include/sched.h: Likewise.
9807 * include/search.h: Likewise.
9808 * include/setjmp.h: Likewise.
9809 * include/signal.h: Likewise.
9810 * include/stdio.h: Likewise.
9811 * include/stdlib.h: Likewise.
9812 * include/string.h: Likewise.
9813 * include/sys/cdefs.h: Likewise.
9814 * include/sys/mman.h: Likewise.
9815 * include/sys/msg.h: Likewise.
9816 * include/sys/resource.h: Likewise.
9817 * include/sys/select.h: Likewise.
9818 * include/sys/socket.h: Likewise.
9819 * include/sys/stat.h: Likewise.
9820 * include/sys/statvfs.h: Likewise.
9821 * include/sys/time.h: Likewise.
9822 * include/sys/times.h: Likewise.
9823 * include/sys/uio.h: Likewise.
9824 * include/sys/utsname.h: Likewise.
9825 * include/sys/wait.h: Likewise.
9826 * include/termios.h: Likewise.
9827 * include/time.h: Likewise.
9828 * include/ulimit.h: Likewise.
9829 * include/unistd.h: Likewise.
9830 * include/utime.h: Likewise.
9831 * include/wchar.h: Likewise.
9832 * include/wctype.h: Likewise.
9833 * include/wordexp.h: Likewise.
9834
9835 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9836
7a270350
UD
9837 * time/time.h: TIME_UTC must be a macro.
9838 Make timespec_get available for ISO C11 only as well.
9839
7724defc
UD
98402012-02-24 Ulrich Drepper <drepper@gmail.com>
9841
9842 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9843 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9844
6b1d1d46
JM
98452012-02-24 Joseph Myers <joseph@codesourcery.com>
9846
9847 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9848
0f8bbd69
JM
98492012-02-24 Joseph Myers <joseph@codesourcery.com>
9850
9851 * manual/texinfo.tex: Update to version 2012-01-19.16.
9852
66ab80bc
JM
98532012-02-24 Joseph Myers <joseph@codesourcery.com>
9854
9855 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9856
74981cc5
RM
98572012-02-24 Roland McGrath <roland@hack.frob.com>
9858
ee968201
RM
9859 [BZ #13738]
9860 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9861 * manual/fdl-1.3.texi: New file.
9862 * manual/fdl-1.1.texi: File removed.
9863
74981cc5
RM
9864 [BZ #13738]
9865 * manual/libc.texinfo (FDL_VERSION): New @set.
9866 Use it for mention of FDL in cover text.
9867 (Documentation License): Use it in @include file name.
9868
7bb764bc
JM
98692012-02-22 Joseph Myers <joseph@codesourcery.com>
9870 Roland McGrath <roland@hack.frob.com>
9871
9872 [BZ #5461]
9873 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9874 not LONG_LONG_MAX and LONG_LONG_MIN.
9875 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9876 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9877 name.
9878 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9879
6cbeae47
JM
98802012-02-22 Joseph Myers <joseph@codesourcery.com>
9881
9882 [BZ #2547]
9883 [BZ #11365]
9884 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9885 manipulate bits before adding and subtracting TWO23[sx].
9886 * math/libm-test.inc (nearbyint_test): Add more tests.
9887
fe45ce09
JM
98882012-02-22 Joseph Myers <joseph@codesourcery.com>
9889
9890 [BZ #2548]
9891 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9892 bits before adding and subtracting TWO23[sx].
9893 * math/libm-test.inc (rint_test): Add more tests.
9894 (rint_test_tonearest): Likewise.
9895 (rint_test_towardzero): Likewise.
9896 (rint_test_downward): Likewise.
9897 (rint_test_upward: Likewise.
9898
ff3b3d82
JM
98992012-02-22 Joseph Myers <joseph@codesourcery.com>
9900
9901 [BZ #10110]
9902 * include/stdc-predef.h: New file. Extracted from features.h.
9903 * include/features.h: Include stdc-predef.h.
9904 * Makefile (headers): Add stdc-predef.h.
9905 * CONFORMANCE (Compiler limitations): Update.
9906
ef0aab35
JM
99072012-02-22 Joseph Myers <joseph@codesourcery.com>
9908
9909 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9910
58639409
DM
99112012-02-21 David S. Miller <davem@davemloft.net>
9912
9913 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9915
c0e70b25
DM
99162012-02-20 David S. Miller <davem@davemloft.net>
9917
9918 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9919 using a normal save/restore sequence, rather than allocating a
9920 dummy stack frame just to store a frame pointer and restore.
9921 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9922
fb06851d
JM
99232012-02-21 Joseph Myers <joseph@codesourcery.com>
9924
9925 * manual/install.texi: Fix stray word in line-wrapped comment.
9926
7a8b71c3
DM
99272012-02-20 David S. Miller <davem@davemloft.net>
9928
d510c123
DM
9929 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9930 both binutils and gcc support GOTDATA.
9931
0722d7c2
DM
9932 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9933 "rd %pc" in the PIC register setup sequences.
9934
3d2b3019
DM
9935 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9936 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9937 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9938 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9939 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9941 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9942 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9944 (SYSCALL_ERROR_HANDLER): Likewise.
9945 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9946 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9948 (SYSCALL_ERROR_HANDLER): Likewise.
9949
c80098a9
DM
9950 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9951 (HAVE_GCC_GOTDATA): New.
9952 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9953 relocation support in both binutils and gcc.
9954 * sysdeps/sparc/elf/configure: Regenerate.
9955
3a2545a0
DM
9956 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9957 * sysdeps/sparc/sparc32/elf/configure: Delete.
9958 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9959 * sysdeps/sparc/sparc64/elf/configure: Delete.
9960 * sysdeps/sparc/elf/configure.in: New file.
9961 * sysdeps/sparc/elf/configure: Generate.
9962
7a8b71c3
DM
9963 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9964 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9965 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9966 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9967 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9968
f1e86fca
JM
99692012-02-21 Joseph Myers <joseph@codesourcery.com>
9970
9971 * manual/install.texi: Do not mention specific glibc version
9972 numbers.
9973 * manual/libc.texinfo (VERSION, UPDATED): Update.
9974 (@copying): Use @copyright{} and range of years.
9975
0e7dfaef
JM
99762012-02-21 Joseph Myers <joseph@codesourcery.com>
9977
9978 [BZ #13695]
9979 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9980 [crti.S not in sysdirs] (generated): Do not append.
9981 [crti.S not in sysdirs] (omit-deps): Likewise.
9982 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9983 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9984 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9985 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9986 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9987 Likewise.
9988 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9989 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9990 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9991 * csu/defs.awk: Remove file.
9992 * sysdeps/generic/initfini.c: Likewise.
9993 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9994 variable.
9995 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9996 Likewise.
9997
599af3ca
JM
99982012-02-20 Joseph Myers <joseph@codesourcery.com>
9999
10000 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10001 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10002 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10003 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10005 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10006 <bits/epoll.h>.
10007 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10008 (__EPOLL_PACKED): Define to empty if not defined by
10009 <bits/epoll.h>.
10010 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10012 bits/epoll.h.
10013
0e499750
JM
100142012-02-20 Joseph Myers <joseph@codesourcery.com>
10015
10016 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10017 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10018 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10019 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10020 <bits/timerfd.h>.
10021 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10023 bits/timerfd.h.
10024
5ad91f6e
JM
100252012-02-20 Joseph Myers <joseph@codesourcery.com>
10026
10027 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10028 in C locale.
10029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10030 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10031 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10033
06b99b02
AJ
100342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10035
10036 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10037 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10038
7638c0fd
AS
100392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10040
10041 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10042 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10043 defined.
10044 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10045 Likewise.
10046 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10047 entry for 2.16.
10048
92221550
AJ
100492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10050
10051 * math/w_acos.c: Use non-signaling floating-point comparisons.
10052 * math/w_acosf.c: Likewise.
10053 * math/w_acosh.c: Likewise.
10054 * math/w_acoshf.c: Likewise.
10055 * math/w_acoshl.c: Likewise.
10056 * math/w_acosl.c: Likewise.
10057 * math/w_asin.c: Likewise.
10058 * math/w_asinf.c: Likewise.
10059 * math/w_asinl.c: Likewise.
10060 * math/w_atanh.c: Likewise.
10061 * math/w_atanhf.c: Likewise.
10062 * math/w_atanhl.c: Likewise.
10063 * math/w_exp2.c: Likewise.
10064 * math/w_exp2f.c: Likewise.
10065 * math/w_exp2l.c: Likewise.
10066 * math/w_j0.c: Likewise.
10067 * math/w_j0f.c: Likewise.
10068 * math/w_j0l.c: Likewise.
10069 * math/w_j1.c: Likewise.
10070 * math/w_j1f.c: Likewise.
10071 * math/w_j1l.c: Likewise.
10072 * math/w_jn.c: Likewise.
10073 * math/w_jnf.c: Likewise.
10074 * math/w_log.c: Likewise.
10075 * math/w_log10.c: Likewise.
10076 * math/w_log10f.c: Likewise.
10077 * math/w_log10l.c: Likewise.
10078 * math/w_log2.c: Likewise.
10079 * math/w_log2f.c: Likewise.
10080 * math/w_log2l.c: Likewise.
10081 * math/w_logf.c: Likewise.
10082 * math/w_logl.c: Likewise.
10083 * math/w_sqrt.c: Likewise.
10084 * math/w_sqrtf.c: Likewise.
10085 * math/w_sqrtl.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10088 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10089 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10090 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10091
ebaf36eb
JM
100922012-02-19 Joseph Myers <joseph@codesourcery.com>
10093
10094 [BZ #9739]
10095 * manual/string.texi (strnlen): Use correct parameter name in
10096 equivalent expression.
10097
71c254a6
JM
100982012-02-19 Joseph Myers <joseph@codesourcery.com>
10099
10100 [BZ #11174]
10101 * manual/users.texi (seteuid): Consistently use neweuid for
10102 argument name.
10103
16d2c631
JM
101042012-02-19 Joseph Myers <joseph@codesourcery.com>
10105
10106 [BZ #13704]
10107 * manual/nss.texi (Services in the NSS configuration): Correct
10108 list of services in example configuration file.
10109
cd837b09
NB
101102012-02-19 Nick Bowler <nbowler@draconx.ca>
10111
10112 [BZ #11322]
10113 * manual/arith.texi: Remove statements about negative zero
10114 behaving identically to zero.
10115
02c4bbad
JM
101162012-02-18 Joseph Myers <joseph@codesourcery.com>
10117
10118 [BZ #5993]
10119 * manual/install.texi: Do not document upgrading from libc5.
10120
366842e7
JM
101212012-02-18 Joseph Myers <joseph@codesourcery.com>
10122
10123 [BZ #4596]
10124 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10125
dd54084d
DM
101262012-02-18 David S. Miller <davem@davemloft.net>
10127
10128 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10129 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10130 %o7 across the call.
10131 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10132 instead.
10133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10134 SETUP_PIC_REG_LEAF.
10135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10136 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10137 * sysdeps/sparc/crtn.S: Likewise.
10138
2bcc53a3
UD
101392012-02-17 Ulrich Drepper <drepper@gmail.com>
10140
10141 * aout/Makefile: Remove.
10142
09c093b5
RK
101432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10144
10145 [BZ #13058]
10146 * manual/examples/argp-ex1.c (main): Format definition in GNU
10147 style.
10148 * manual/examples/argp-ex2.c (main): Likewise.
10149 * manual/examples/argp-ex3.c (main): Likewise.
10150 * manual/examples/argp-ex4.c (main): Likewise.
10151 * manual/examples/longopt.c (main): Use new-style prototype
10152 definition.
10153 * manual/examples/strncat.c (main): Specify return type and use
10154 (void) for arguments.
10155 * manual/examples/subopt.c (main): Use char **argv argument.
10156
2ee633a2
JM
101572012-02-17 Joseph Myers <joseph@codesourcery.com>
10158
10159 [BZ #5077]
10160 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10161 rounding modes.
10162
0520adde
FB
101632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10164
10165 [BZ #6907]
10166 * manual/string.texi (strchr): Change when strchrnul is
10167 recommended.
10168
3f4081cd
DGM
101692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10170
10171 [BZ #174]
10172 * manual/locale.texi (setlocale): Document LOCPATH.
10173
d1b10e78
JM
101742012-02-17 Joseph Myers <joseph@codesourcery.com>
10175
10176 [BZ #10210]
10177 * manual/process.texi (execle): Move @dots{} before last argument.
10178
79c6869c
PB
101792012-02-17 Paul Bolle <pebolle@tiscali.nl>
10180
10181 [BZ #12047]
10182 * manual/charset.texi (Generic Charset Conversion): Fix typo
10183 (LC_TYPE -> LC_CTYPE).
10184
cc6e48bc
NB
101852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10186
10187 [BZ #5805]
10188 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10189 (scalbnf): Likewise.
10190 (scalbnl): Likewise.
10191 (scalbln): Likewise.
10192 (scalblnf): Likewise.
10193 (scalblnl): Likewise.
10194 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10195 (vwarnx): Likewise.
10196 (verr): Likewise.
10197 (verrx): Likewise.
10198 * manual/filesys.texi (telldir): Use braces around return type.
10199 * manual/llio.texi (mmap): Add space after comma.
10200 (mmap64): Likewise.
10201 * manual/math.texi (jn): Use @var{} on parameter names.
10202 (jnf): Likewise.
10203 (jnl): Likewise.
10204 (yn): Likewise.
10205 (ynf): Likewise.
10206 (ynl): Likewise.
10207 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10208 line.
10209 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10210 "...".
10211 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10212 (sched_get_priority_max): Likewise.
10213 * manual/signal.texi (sigvec): Add space after comma.
10214 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10215 names.
10216 (if_indextoname): Likewise.
10217 (if_freenameindex): Likewise.
10218 (sendto): Use ',' instead of '.' in prototype.
10219 * manual/startup.texi (syscall): Use @dots{} instead of literal
10220 "...".
10221 * manual/stdio.texi (__fpending): Separate initial words of
10222 paragraph from @deftypefun line.
10223 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10224 "...".
10225 (vsyslog): Use @var{} on parameter names.
10226 * manual/terminal.texi (stty): Use @var{} on parameter names.
10227 * manual/users.texi (getutmp): Use @var{} on parameter names.
10228 (getutmpx): Likewise.
10229
5b23062f
JM
102302012-02-17 Joseph Myers <joseph@codesourcery.com>
10231
10232 [BZ #6884]
10233 * manual/stdio.texi (fopen): Fix typos in description of
10234 ",ccs=STRING".
10235
8dee4833
AJ
102362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10237
10238 [BZ #4026]
10239 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10240 get clock_id definition.
10241
9078ce93
TS
102422012-02-17 Thomas Schwinge <thomas@schwinge.name>
10243
10244 [BZ #4822]
10245 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10246 (madvise): Cast every argument to void on its own.
10247
3835c55f
JM
102482012-02-17 Joseph Myers <joseph@codesourcery.com>
10249
10250 [BZ #9902]
10251 * manual/startup.texi (Exit Status): Fix typo.
10252
35c47e37
JM
102532012-02-17 Joseph Myers <joseph@codesourcery.com>
10254
10255 [BZ #10140]
10256 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10257 * manual/examples/argp-ex2.c: Likewise.
10258 * manual/examples/argp-ex3.c: Likewise.
10259
e3b69ca7
RH
102602012-02-16 Richard Henderson <rth@redhat.com>
10261
10262 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10263 * sysdeps/s390/s390-32/initfini.c: Remove.
10264 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10265 * sysdeps/s390/s390-64/initfini.c: Remove.
10266
df83af67
KK
102672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10268
10269 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10270 compiler output for sysdeps/generic/initfini.c.
10271 * sysdeps/sh/elf/initfini.c: Remove file.
10272
f63f3380
DM
102732012-02-16 David S. Miller <davem@davemloft.net>
10274
fb59b3a4
DM
10275 [BZ #11494]
10276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10277
f63f3380
DM
10278 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10279 * sysdeps/sparc/crti.S: New file.
10280 * sysdeps/sparc/crtn.S: New file.
10281 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10282 * sysdeps/sparc/sparc64/Makefile: Likewise.
10283
df6a4a4a
MF
102842012-02-15 Mike Frysinger <vapier@gentoo.org>
10285
6dd8f3dc 10286 [BZ #3335]
df6a4a4a
MF
10287 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10288
1cac7236
RM
102892012-02-15 Roland McGrath <roland@hack.frob.com>
10290
d2c736f8
RM
10291 [BZ #4822]
10292 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10293
1cac7236
RM
10294 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10295 (write, read, close): Likewise.
10296 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10297
8e475601
JM
102982012-02-15 Joseph Myers <joseph@codesourcery.com>
10299
10300 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10301 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10302 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10303 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10304 <bits/signalfd.h>.
10305 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10307 bits/signalfd.h.
10308
ed656b40
MP
103092012-02-14 Marek Polacek <polacek@redhat.com>
10310
10311 * sysdeps/x86_64/crti.S: New file.
10312 * sysdeps/x86_64/crtn.S: New file.
10313 * sysdeps/x86_64/elf/initfini.c: Remove file.
10314
2a979d3a
JM
103152012-02-13 Joseph Myers <joseph@codesourcery.com>
10316
10317 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10318 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10319 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10320 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10321 <bits/inotify.h>.
10322 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10324 bits/inotify.h.
10325
2a418ac3
JM
103262012-02-13 Joseph Myers <joseph@codesourcery.com>
10327
10328 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10329 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10330 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10331 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10332 <bits/eventfd.h>.
10333 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10335 bits/eventfd.h.
10336
fb779be7
TS
103372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10338
e19e83c5
RM
10339 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10340 __feraiseexcept instead of feraiseexcept.
7c35ffed 10341
fb779be7
TS
10342 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10343 nanosleep invocations.
10344 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10345 strings, and add error checking for a nanosleep invocations.
10346
59ba27a6
PE
103472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10348
10349 Replace FSF snail mail address with URLs, as per GNU coding standards.
10350 Most of the snail mail addresses were wrong anyway, and omitting
10351 them makes the source code easier to maintain. Almost all of the
10352 changes are to license notices and to locale LC_IDENTIFICATION
10353 addresses, except for this one:
10354 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10355 not its snail mail address.
10356
57b957eb
RH
103572012-02-09 Richard Henderson <rth@twiddle.net>
10358
af850b1c
RH
10359 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10360 of kernel-features.h.
10361
57b957eb
RH
10362 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10363
6b73181a
MP
103642012-02-08 Marek Polacek <polacek@redhat.com>
10365
10366 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10367 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10368 * sysdeps/gnu/_G_config.h: Likewise.
10369 * sysdeps/generic/_G_config.h: Likewise.
10370
26ecc33a
AS
103712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10372
6c6dbc63
AS
10373 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10374 tests.
10375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10376
e216c012
AS
10377 * sysdeps/powerpc/powerpc32/crti.S: New file.
10378 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10379 * sysdeps/powerpc/powerpc64/crti.S: New file.
10380 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10381
26ecc33a
AS
10382 * Makeconfig (have-initfini): Don't set.
10383 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10384 * configure.in (nopic_initfini): Don't substitute.
10385 * config.h.in (HAVE_INITFINI): Don't #undef.
10386 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10387 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10388
3add8e13
JM
103892012-02-08 Joseph Myers <joseph@codesourcery.com>
10390
10391 Support crti.S and crtn.S provided directly by architectures.
10392 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10393 [crti.S in sysdirs] (omit-deps): Likewise.
10394 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10395 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10396 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10397 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10398 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10399 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10400 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10401 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10402 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10403 compiler output for sysdeps/generic/initfini.c.
10404 * sysdeps/i386/elf/Makefile: Remove file.
10405 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10406
a22f12b4
MP
104072012-02-07 Marek Polacek <polacek@redhat.com>
10408
10409 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10410 * sysdeps/gnu/_G_config.h: Likewise.
10411 * sysdeps/mach/hurd/_G_config.h: Likewise.
10412
148cf100
MP
104132012-02-07 Marek Polacek <polacek@redhat.com>
10414
10415 * math/Makefile (tests): Add tst-CMPLX2.
10416 * math/tst-CMPLX2.c: New file.
10417
cfdc0dd7
AS
104182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10419
84ba42c4
AS
10420 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10421
cfdc0dd7
AS
10422 * math/libm-test.inc (jn_test): Add missing L suffix.
10423
622c86f4
MP
104242012-02-06 Marek Polacek <polacek@redhat.com>
10425
10426 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10427 * sysdeps/i386/fpu/e_powf.S: Likewise.
10428 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10429 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10430 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10431 * sysdeps/i386/fpu/e_pow.S: Likewise.
10432 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10433 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10434 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10435 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10436 * sysdeps/i386/fpu/e_log2.S: Likewise.
10437 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10438 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10439 * sysdeps/i386/fpu/e_powl.S: Likewise.
10440 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10441 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10442 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10443 * sysdeps/i386/fpu/e_logl.S: Likewise.
10444 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10445 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10446 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10447 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10448 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10449 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10450 * sysdeps/i386/fpu/e_log.S: Likewise.
10451 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10452 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10453 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10454 * sysdeps/i386/fpu/e_logf.S: Likewise.
10455 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10456 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10457 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10458 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10459 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10460 * sysdeps/i386/fpu/e_log10.S: Likewise.
10461 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10462 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10463 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10464 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10465 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10466 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10467 * sysdeps/i386/asm-syntax.h: Likewise.
10468 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10470 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10471 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10472 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10473 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10474 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10475 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10476 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10477 * sysdeps/powerpc/sysdep.h: Likewise.
10478 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10479 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10480
d4a54ac6
JM
104812012-02-06 Joseph Myers <joseph@codesourcery.com>
10482
10483 [BZ #411]
10484 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10485
314054ea
JM
104862012-02-06 Joseph Myers <joseph@codesourcery.com>
10487
10488 * sysdeps/i386/sysdep.h: Include <features.h>.
10489 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10490 version.
10491
d8e0ca50
JM
104922012-02-05 Joseph Myers <joseph@codesourcery.com>
10493
10494 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10495 Define.
10496 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10497 LOAD_PIC_REG_STR.
10498
b1da7dd9
JM
104992012-02-03 Joseph Myers <joseph@codesourcery.com>
10500
10501 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10502 (SETUP_PIC_REG): Use GET_PC_THUNK.
10503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10504 macro.
10505
9a1d9254
JM
105062012-02-03 Joseph Myers <joseph@codesourcery.com>
10507
10508 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10509 for non-PIC compilation.
10510 (SETUP_PIC_REG): Add .p2align directive.
10511 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10512 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10513 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10514 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10515 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10516 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10517 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10519 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10520 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10521 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10522 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10523 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10524 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10525 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10526 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10527 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10528 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10529 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10530 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10533 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10534 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10537 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10538 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10539 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10540 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10541 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10542 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10543 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10544 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10545 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10546 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10547 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10548 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10549 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10550 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10551 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10552
65dc3b75
JM
105532012-02-03 Joseph Myers <joseph@codesourcery.com>
10554
10555 * math/tst-CMPLX.c: Include <stdio.h>.
10556
d55bf177
JM
105572012-01-31 Joseph Myers <joseph@codesourcery.com>
10558
10559 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10560 float.
10561 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10562 * sysdeps/sparc/bits/mathdef.h: Likewise.
10563
69db4f8f
MP
105642012-01-31 Marek Polacek <polacek@redhat.com>
10565
10566 * libio/libio.h: Don't define _PARAMS.
10567 * locale/programs/config.h: Don't define PARAMS.
10568 * stdlib/strtol_l.c: Likewise.
10569 (__strtol_l): Remove PARAMS from the prototype.
10570
41b81892
UD
105712012-01-31 Ulrich Drepper <drepper@gmail.com>
10572
3b49edc0
UD
10573 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10574 names. Just use the correct names. Remove unnecessary wrapper
10575 functions.
10576 * malloc/arena.c: Likewise.
10577 * malloc/hooks.c: Likewise.
10578
41b81892
UD
10579 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10580 ARENA_TEST says not to. Simplify test for creation of a new arena.
10581 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10582
27a25b6e
UD
105832012-01-30 Ulrich Drepper <drepper@gmail.com>
10584
10585 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10586 into tail calls.
10587 (update_get_addr): New function.
10588 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10589 GET_ADDR_MODULE parameter.
10590
c8a89e7d
JM
105912012-01-30 Joseph Myers <joseph@codesourcery.com>
10592
10593 * crypt/cert.c: Remove __STDC__ conditionals.
10594 * crypt/crypt-entry.c: Likewise.
10595 * crypt/crypt_util.c: Likewise.
10596 * libio/filedoalloc.c: Likewise.
10597 * libio/fileops.c: Likewise.
10598 * libio/genops.c: Likewise.
10599 * libio/iofclose.c: Likewise.
10600 * libio/iofdopen.c: Likewise.
10601 * libio/iofopen.c: Likewise.
10602 * libio/iofopen64.c: Likewise.
10603 * libio/iogetdelim.c: Likewise.
10604 * libio/iopopen.c: Likewise.
10605 * libio/obprintf.c: Likewise.
10606 * libio/oldfileops.c: Likewise.
10607 * libio/oldiofclose.c: Likewise.
10608 * libio/oldiofdopen.c: Likewise.
10609 * libio/oldiofopen.c: Likewise.
10610 * libio/oldiopopen.c: Likewise.
10611 * libio/wfiledoalloc.c: Likewise.
10612 * libio/wgenops.c: Likewise.
10613 * locale/programs/xmalloc.c: Likewise.
10614 * misc/syslog.c: Likewise.
10615 * stdio-common/xbug.c: Likewise.
10616 * string/memchr.c: Likewise.
10617 * string/memcmp.c: Likewise.
10618 * string/memrchr.c: Likewise.
10619 * string/rawmemchr.c: Likewise.
10620 * sysdeps/posix/getcwd.c: Likewise.
10621 * time/strftime_l.c: Likewise.
10622
3b100462
JM
106232012-01-30 Joseph Myers <joseph@codesourcery.com>
10624
10625 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10626 * config.make.in (config-cflags-sse2avx): Define.
10627 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10628 Fix typo.
10629
607998af
CM
106302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10631
10632 * scripts/config.guess: Update from upstream config git repository.
10633 * scripts/config.sub: Likewise.
10634
3601428f
CM
106352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10636
3ac8b282
CM
10637 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10638 (EM_NUM): Update.
10639 (R_TILEPRO_*, R_TILEGX_*): New macros.
10640
e034841e
CM
10641 * scripts/firstversions.awk: Fix bug in version range handling.
10642
540d7568
CM
10643 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10644
3601428f
CM
10645 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10646
463de862
CM
10647 * include/sys/epoll.h: New file.
10648 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10649 libc_hidden_def.
10650
73139a76
UD
106512012-01-28 Ulrich Drepper <drepper@gmail.com>
10652
96bc5b45
UD
10653 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10654 Avoid unnecessary __WORDSIZE == 64 test.
10655 (fmaxf): Use VEX format if possible.
10656 (fmax): Likewise.
10657 (fminf): Likewise.
10658 (fmin): Likewise.
10659
56f6f6a2
UD
10660 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10661 * math/math_private.h: Remove libc_fegetround* and
10662 libc_fesetround*.
10663 * sysdeps/i386/configure.in: Check for -msse2avx.
10664 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10665 also if SSE2AVX is defined.
10666 Remove libc_fegetround* and libc_fesetround*.
10667 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10668 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10670 of HAS_YMM_USABLE.
10671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10672 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10673 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10674 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10675 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10676
73139a76
UD
10677 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10678
d73f93a4
AZ
106792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10680
10681 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10682 size is not set.
10683 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10684
6ee65ed6
UD
106852012-01-27 Ulrich Drepper <drepper@gmail.com>
10686
10687 [BZ #13618]
10688 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10689 relocation.
10690 * Makeconfig (libm): Define.
10691 * elf/Makefile: Add rules to build and run tst-relsort1.
10692 * elf/tst-relsort1.c: New file.
10693 * elf/tst-relsort1mod1.c: New file.
10694 * elf/tst-relsort1mod2.c: New file.
10695
8db21882
JM
106962012-01-27 Joseph Myers <joseph@codesourcery.com>
10697
10698 * math/s_ldexp.c: Remove __STDC__ conditionals.
10699 * math/s_ldexpf.c: Likewise.
10700 * math/s_ldexpl.c: Likewise.
10701 * math/s_nextafter.c: Likewise.
10702 * math/s_nexttowardf.c: Likewise.
10703 * math/s_significand.c: Likewise.
10704 * math/s_significandf.c: Likewise.
10705 * math/s_significandl.c: Likewise.
10706 * math/w_jnl.c: Likewise.
10707 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10708 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10709 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10710 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10711 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10720 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10722 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10723 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10724 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10726 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10727 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10728 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10729 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10730 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10731 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10732 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10733 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10734 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10735 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10738 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10739 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10740 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10741 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10742 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10743 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10744 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10745 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10746 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10747 * sysdeps/ieee754/k_standard.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10808 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10809 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10810 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10812 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10813 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10814 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10815 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10816 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10819 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10820 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10821 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10822 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10823 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10824 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10825 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10826 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10827 * sysdeps/ieee754/s_matherr.c: Likewise.
10828 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10829 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10832
965a54a4
JM
108332012-01-26 Joseph Myers <joseph@codesourcery.com>
10834
10835 * crypt/md5.h: Remove __STDC__ conditionals.
10836 * libio/libioP.h: Likewise.
10837 * locale/programs/config.h: Likewise.
10838 * sysdeps/generic/sysdep.h: Likewise.
10839 * sysdeps/i386/asm-syntax.h: Likewise.
10840 * sysdeps/s390/asm-syntax.h: Likewise.
10841 * sysdeps/unix/sysdep.h: Likewise.
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10844
7071ad79
JM
108452012-01-26 Joseph Myers <joseph@codesourcery.com>
10846
10847 * libio/libio.h: Remove __STDC__ conditionals.
10848 * malloc/obstack.h: Likewise.
10849 * math/complex.h: Likewise.
10850 * math/math.h: Likewise.
10851 * sysdeps/generic/_G_config.h: Likewise.
10852 * sysdeps/gnu/_G_config.h: Likewise.
10853 * sysdeps/mach/hurd/_G_config.h: Likewise.
10854 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10855 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10856 * sysdeps/sparc/bits/mathdef.h: Likewise.
10857
afc5ed09
UD
108582012-01-26 Ulrich Drepper <drepper@gmail.com>
10859
10860 [BZ #13583]
10861 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10862 Clean up HAS_* macros.
afc5ed09 10863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10864 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10865 possible.
10866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10867 HAS_AVX.
10868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10869 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10870 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10873
bdb6de1d
JM
108742012-01-25 Joseph Myers <joseph@codesourcery.com>
10875
10876 * elf/tst-unique3.cc (gets): Remove declaration.
10877 * elf/tst-unique3lib.cc (gets): Likewise.
10878 * elf/tst-unique3lib2.cc (gets): Likewise.
10879 * elf/tst-unique4.cc (gets): Likewise.
10880
b15549e6
UD
108812012-01-24 Ulrich Drepper <drepper@gmail.com>
10882
10883 * include/stdio.h: Add C++ protection. Add gets declarations and
10884 definitions.
10885 * debug/tst-chk1.c: Don't declare gets here.
10886 * stdio-common/tst-gets.c: Likewise.
10887
a037381f
JM
108882012-01-24 Joseph Myers <joseph@codesourcery.com>
10889
10890 * posix/glob: Remove directory.
10891
f1d4aa75
JM
108922012-01-24 Joseph Myers <joseph@codesourcery.com>
10893
10894 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10895
81c0c964
PT
108962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10897
10898 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10899 of the non-standard EPFNOSUPPORT.
10900
0ea698ae
ST
109012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10902
10903 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10904 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10905 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10906
d220b117
UD
109072012-01-21 Ulrich Drepper <drepper@gmail.com>
10908
10909 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10910
3e1aa84e
UD
109112012-01-20 Ulrich Drepper <drepper@gmail.com>
10912
10913 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10914 transient errors.
10915 * nscd/grpcache.c (cache_addgr): Likewise.
10916 * nscd/hstcache.c (cache_addhst): Likewise.
10917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10918 * nscd/pwdcache.c (cache_addpw): Likewise.
10919 * nscd/servicescache.c (cache_addserv): Likewise.
10920
400aa020
UD
109212012-01-16 Ulrich Drepper <drepper@gmail.com>
10922
d77e7869
UD
10923 * malloc/malloc.c: Various cleanups.
10924 * malloc/hooks.c: Likewise.
10925
400aa020
UD
10926 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10927 * stdlib/bug-fmtmsg1.c: New file.
10928
10929 * stdlib/fmtmsg.c (init): Add missing unlock.
10930 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10931
e0a309cf
MP
109322012-01-12 Marek Polacek <polacek@redhat.com>
10933
10934 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10935 and _GNU_SOURCE.
10936
929d11c7
WS
109372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10938
10939 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10940 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10941 macro to ensure uniqueness of label name.
10942 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10943 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10944
41d0e869
UD
109452012-01-11 Ulrich Drepper <drepper@gmail.com>
10946
0cc5ed3b
UD
10947 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10948
41d0e869
UD
10949 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10950 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10951 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10953
a47a831a
UD
109542012-01-10 Ulrich Drepper <drepper@gmail.com>
10955
daa891c0
UD
10956 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10957
10958 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10959 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10960 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10961
e58ef0f2
UD
10962 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10963
a47a831a 10964 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10965 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10966 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10968
10969 * math/bits/math-finite.h: Add ldexp support.
10970
a0bfc9c7
MP
109712012-01-10 Marek Polacek <polacek@redhat.com>
10972
10973 * locale/programs/localedef.h (show_archive_content): Add noreturn
10974 attribute.
10975
d6e97a1d
UD
109762012-01-09 Ulrich Drepper <drepper@gmail.com>
10977
10978 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10979
d5835c26
UD
109802012-01-08 Ulrich Drepper <drepper@gmail.com>
10981
e5f484c6
UD
10982 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10983
d5835c26
UD
10984 * io/Makefile (headers): Add bits/poll2.h.
10985
d1f741e9
WS
109862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10987
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10989 typo #include statement.
10990
ec09c1c4
UD
109912012-01-08 Ulrich Drepper <drepper@gmail.com>
10992
10993 * include/sys/cdefs.h: Define __attribute_alloc_size.
10994 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10995 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10996 * elf/pldd.c: Likewise.
10997 * iconv/iconv_charmap.c: Likewise.
10998 * iconv/iconvconfig.c: Likewise.
10999 * iconv/strtab.c: Likewise.
11000 * locale/programs/locale.c: Likewise.
11001 * locale/programs/localedef.h: Likewise.
11002 * locale/programs/simple-hash.c: Likewise.
11003 * nscd/nscd.h: Likewise.
11004 * nss/makedb.c: Likewise.
11005 * sysdeps/generic/ldconfig.h: Likewise.
11006 * locale/programs/localedef.c: Remove xmalloc prototype.
11007 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11008
20b38e03
PP
110092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11010
11011 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11012 appropriate.
11013
a0da5fe1
UD
110142012-01-08 Ulrich Drepper <drepper@gmail.com>
11015
1d5a644a 11016 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11017 * math/tst-CMPLX.c: New file.
1d5a644a 11018
8784a6db
UD
11019 * math/complex.h (CMPLXL): Fix typo.
11020
d9a216c0
UD
11021 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11022 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11023 GLIBC_2.16.
11024 * debug/tst-chk1.c: Add poll and ppoll tests.
11025 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11026 * include/sys/poll.h: Add hidden proto for ppoll.
11027 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11028 * sysdeps/mach/hurd/ppoll.c: Likewise.
11029 * io/ppoll.c: Likewise.
11030 * debug/poll_chk.c: New file.
11031 * debug/ppoll_chk.c: New file.
11032 * include/bits/poll2.h: New file.
11033 * io/bits/poll2.h: New file.
11034
ac097f5c
UD
11035 [BZ #1350]
11036 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11037
2119dcfa
UD
11038 * configure.in: static is always set to yes. Remove.
11039 * config.make.in: Don't set build-static.
11040 * Makeconfig: Remove use of build-static.
11041 * dlfcn/Makefile: Likewise.
11042 * elf/Makefile: Likewise.
11043 * math/Makefile: Likewise.
11044 * misc/Makefile: Likewise.
11045 * nptl/Makefile: Likewise.
11046 * sysdeps/mach/hurd/Makefile: Likewise.
11047
121766a9
UD
11048 * configure.in: PWD_P is not used anymore.
11049 * config.make.in: Remove PWD_P entry.
11050
51a1d39c 11051 * configure.in: Remove last remnants of RANLIB.
8720d066 11052 No need to check for signed size_t anymore.
215f4bdc
UD
11053 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11054 and IA-64.
3857022a 11055 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11056 * aclocal.m4: Likewise.
11057
d3ed7225
UD
11058 * wcsmbs/mbrtoc16.c: Implement using towc function.
11059 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11060 * wcsmbs/wcsmbsload.c: Likewise.
11061 * iconv/gconv_simple.c: Likewise.
11062 * iconv/gconv_int.h: Likewise.
11063 * iconv/gconv_builtin.h: Likewise.
11064 * iconv/iconv_prog.c: Remove CHAR16 handling.
11065
11066 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11067
11068 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11069
a0da5fe1
UD
11070 * configure.in: Remove --with-elf and --enable-bounded options.
11071 Dont set base_machine for ia64. More non-ELF conditions removed.
11072 Remove testing and setting of leading underscore information.
11073 * config.make.in (build-bounded): Set to no.
11074 * config.h.in: Remove NO_UNDERSCORES entry.
11075 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11076 them.
11077 * csu/start.c: Remove !NO_UNDERSCORE code.
11078 * locale/localeinfo.h: Likewise.
11079 * sysdeps/generic/machine-gmon.h: Likewise.
11080 * sysdeps/generic/sysdep.h: Likewise.
11081 * sysdeps/i386/sysdep.h: Likewise.
11082 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11083 * sysdeps/mach/sysdep.h: Likewise.
11084 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11085 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11086 * sysdeps/sh/sysdep.h: Likewise.
11087 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11088 * sysdeps/unix/i386/sysdep.S: Likewise.
11089 * sysdeps/unix/sparc/start.c: Likewise.
11090 * sysdeps/unix/sparc/sysdep.S: Likewise.
11091 * sysdeps/unix/sparc/sysdep.h: Likewise.
11092 * sysdeps/unix/start.c: Likewise.
11093 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11094 * sysdeps/x86_64/sysdep.h: Likewise.
11095
df78418a
UD
110962012-01-07 Ulrich Drepper <drepper@gmail.com>
11097
a784e502
UD
11098 [BZ #13553]
11099 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11100 for non-gcc.
11101 * argp/argp-fmtstream.h: Use const instead __const.
11102 * argp/argp.h: Likewise.
11103 * assert/assert.h: Likewise.
11104 * bits/fenv.h: Likewise.
11105 * bits/sched.h: Likewise.
11106 * bits/sigset.h: Likewise.
11107 * bits/sigthread.h: Likewise.
11108 * catgets/nl_types.h: Likewise.
11109 * conform/data/pthread.h-data: Likewise.
11110 * crypt/crypt-private.h: Likewise.
11111 * crypt/crypt.h: Likewise.
11112 * crypt/crypt_util.c: Likewise.
11113 * ctype/ctype.h: Likewise.
11114 * debug/execinfo.h: Likewise.
11115 * debug/mbsnrtowcs_chk.c: Likewise.
11116 * debug/mbsrtowcs_chk.c: Likewise.
11117 * debug/wcsnrtombs_chk.c: Likewise.
11118 * debug/wcsrtombs_chk.c: Likewise.
11119 * debug/wcstombs_chk.c: Likewise.
11120 * dirent/dirent.h: Likewise.
11121 * dlfcn/dlfcn.h: Likewise.
11122 * elf/neededtest4.c: Likewise.
11123 * grp/grp.h: Likewise.
11124 * gshadow/gshadow.h: Likewise.
11125 * iconv/gconv.h: Likewise.
11126 * iconv/gconv_int.h: Likewise.
11127 * iconv/gconv_simple.c: Likewise.
11128 * iconv/iconv.h: Likewise.
11129 * iconv/loop.c: Likewise.
11130 * iconv/skeleton.c: Likewise.
11131 * include/aio.h: Likewise.
11132 * include/aliases.h: Likewise.
11133 * include/argz.h: Likewise.
11134 * include/arpa/inet.h: Likewise.
11135 * include/assert.h: Likewise.
11136 * include/dirent.h: Likewise.
11137 * include/dlfcn.h: Likewise.
11138 * include/execinfo.h: Likewise.
11139 * include/fcntl.h: Likewise.
11140 * include/fenv.h: Likewise.
11141 * include/glob.h: Likewise.
11142 * include/grp.h: Likewise.
11143 * include/libintl.h: Likewise.
11144 * include/mntent.h: Likewise.
11145 * include/netdb.h: Likewise.
11146 * include/pwd.h: Likewise.
11147 * include/rpc/netdb.h: Likewise.
11148 * include/sched.h: Likewise.
11149 * include/search.h: Likewise.
11150 * include/shadow.h: Likewise.
11151 * include/signal.h: Likewise.
11152 * include/stdio.h: Likewise.
11153 * include/stdlib.h: Likewise.
11154 * include/string.h: Likewise.
11155 * include/sys/socket.h: Likewise.
11156 * include/sys/stat.h: Likewise.
11157 * include/sys/statfs.h: Likewise.
11158 * include/sys/statvfs.h: Likewise.
11159 * include/sys/syslog.h: Likewise.
11160 * include/sys/time.h: Likewise.
11161 * include/sys/uio.h: Likewise.
11162 * include/time.h: Likewise.
11163 * include/unistd.h: Likewise.
11164 * include/utmp.h: Likewise.
11165 * include/wchar.h: Likewise.
11166 * include/wctype.h: Likewise.
11167 * inet/aliases.h: Likewise.
11168 * inet/arpa/inet.h: Likewise.
11169 * inet/netinet/ether.h: Likewise.
11170 * inet/netinet/in.h: Likewise.
11171 * intl/libintl.h: Likewise.
11172 * io/bits/fcntl2.h: Likewise.
11173 * io/fcntl.h: Likewise.
11174 * io/ftw.h: Likewise.
11175 * io/sys/poll.h: Likewise.
11176 * io/sys/stat.h: Likewise.
11177 * io/sys/statfs.h: Likewise.
11178 * io/sys/statvfs.h: Likewise.
11179 * io/utime.h: Likewise.
11180 * libio/bits/stdio.h: Likewise.
11181 * libio/bits/stdio2.h: Likewise.
11182 * libio/libio.h: Likewise.
11183 * libio/libioP.h: Likewise.
11184 * libio/stdio.h: Likewise.
11185 * locale/lc-ctype.c: Likewise.
11186 * locale/locale.h: Likewise.
11187 * login/utmp.h: Likewise.
11188 * malloc/arena.c: Likewise.
11189 * malloc/malloc.c: Likewise.
11190 * malloc/malloc.h: Likewise.
11191 * malloc/mcheck.c: Likewise.
11192 * malloc/mtrace.c: Likewise.
11193 * math/bits/mathcalls.h: Likewise.
11194 * math/fenv.h: Likewise.
11195 * math/math_private.h: Likewise.
11196 * misc/bits/error.h: Likewise.
11197 * misc/bits/syslog.h: Likewise.
11198 * misc/err.h: Likewise.
11199 * misc/error.h: Likewise.
11200 * misc/fstab.h: Likewise.
11201 * misc/mntent.h: Likewise.
11202 * misc/regexp.h: Likewise.
11203 * misc/search.h: Likewise.
11204 * misc/sgtty.h: Likewise.
11205 * misc/sys/mman.h: Likewise.
11206 * misc/sys/syslog.h: Likewise.
11207 * misc/sys/uio.h: Likewise.
11208 * misc/sys/xattr.h: Likewise.
11209 * misc/ttyent.h: Likewise.
11210 * nis/rpcsvc/ypclnt.h: Likewise.
11211 * nss/nss.h: Likewise.
11212 * posix/bits/unistd.h: Likewise.
11213 * posix/fnmatch.h: Likewise.
11214 * posix/glob.h: Likewise.
11215 * posix/sched.h: Likewise.
11216 * posix/spawn.h: Likewise.
11217 * posix/sys/wait.h: Likewise.
11218 * posix/unistd.h: Likewise.
11219 * posix/wordexp.h: Likewise.
11220 * pwd/pwd.h: Likewise.
11221 * resolv/netdb.h: Likewise.
11222 * resource/sys/resource.h: Likewise.
11223 * rt/aio.h: Likewise.
11224 * rt/bits/mqueue2.h: Likewise.
11225 * rt/mqueue.h: Likewise.
11226 * shadow/shadow.h: Likewise.
11227 * signal/signal.h: Likewise.
11228 * socket/send.c: Likewise.
11229 * socket/sendto.c: Likewise.
11230 * socket/sys/socket.h: Likewise.
11231 * stdio-common/printf.h: Likewise.
11232 * stdlib/bits/stdlib.h: Likewise.
11233 * stdlib/fmtmsg.h: Likewise.
11234 * stdlib/monetary.h: Likewise.
11235 * stdlib/stdlib.h: Likewise.
11236 * stdlib/ucontext.h: Likewise.
11237 * streams/stropts.h: Likewise.
11238 * string/argz.h: Likewise.
11239 * string/bits/string2.h: Likewise.
11240 * string/string.h: Likewise.
11241 * string/strings.h: Likewise.
11242 * sunrpc/rpc/auth.h: Likewise.
11243 * sunrpc/rpc/auth_des.h: Likewise.
11244 * sunrpc/rpc/clnt.h: Likewise.
11245 * sunrpc/rpc/netdb.h: Likewise.
11246 * sunrpc/rpc/pmap_clnt.h: Likewise.
11247 * sunrpc/rpc/xdr.h: Likewise.
11248 * sysdeps/generic/inttypes.h: Likewise.
11249 * sysdeps/generic/net/if.h: Likewise.
11250 * sysdeps/generic/sys/swap.h: Likewise.
11251 * sysdeps/gnu/net/if.h: Likewise.
11252 * sysdeps/gnu/utmpx.h: Likewise.
11253 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11254 * sysdeps/i386/i486/bits/string.h: Likewise.
11255 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11256 * sysdeps/s390/bits/string.h: Likewise.
11257 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11258 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11259 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11260 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11261 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11262 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11263 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11264 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11265 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11266 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11267 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11268 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11269 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11270 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11271 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11272 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11273 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11275 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11276 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11278 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11279 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11280 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11281 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11282 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11283 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11284 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11285 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11287 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11288 * sysvipc/sys/ipc.h: Likewise.
11289 * sysvipc/sys/msg.h: Likewise.
11290 * sysvipc/sys/sem.h: Likewise.
11291 * sysvipc/sys/shm.h: Likewise.
11292 * termios/termios.h: Likewise.
11293 * time/sys/time.h: Likewise.
11294 * time/time.h: Likewise.
11295 * wcsmbs/bits/wchar2.h: Likewise.
11296 * wcsmbs/uchar.h: Likewise.
11297 * wcsmbs/wchar.h: Likewise.
11298 * wctype/wctype.h: Likewise.
11299
0269750c
UD
11300 [BZ #13551]
11301 * Makeconfig: Remove all but ELF support including AIX support.
11302 * Makerules: Likewise.
11303 * config.h.in: Likewise.
11304 * config.make.in: Likewise.
11305 * configure: Likewise.
11306 * configure.in: Likewise.
11307 * csu/Makefile: Likewise.
11308 * csu/version.c: Likewise.
11309 * debug/Makefile: Likewise.
11310 * dlfcn/Makefile: Likewise.
11311 * elf/Makefile: Likewise.
11312 * extra-lib.mk: Likewise.
11313 * iconv/Makefile: Likewise.
11314 * include/libc-symbols.h: Likewise.
11315 * include/shlib-compat.h: Likewise.
11316 * resolv/Makefile: Likewise.
11317 * resolv/res_libc.c: Likewise.
11318 * rt/Makefile: Likewise.
11319 * sysdeps/i386/asm-syntax.h: Likewise.
11320 * sysdeps/i386/sysdep.h: Likewise.
11321 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11322 * sysdeps/mach/sysdep.h: Likewise.
11323 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11324 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11325 * sysdeps/s390/asm-syntax.h: Likewise.
11326 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11328 * sysdeps/sh/sysdep.h: Likewise.
11329 * sysdeps/unix/sparc/sysdep.h: Likewise.
11330 * sysdeps/wordsize-32/divdi3.c: Likewise.
11331 * sysdeps/x86_64/sysdep.h: Likewise.
11332
00bbd29b
UD
11333 * argp/Versions: Remove _argp_unlock_xxx.
11334
11335 [BZ #13559]
11336 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11337 * abilist/libBrokenLocale.abilist: Likewise.
11338 * abilist/libanl.abilist: Likewise.
11339 * abilist/libc.abilist: Likewise.
11340 * abilist/libcrypt.abilist: Likewise.
11341 * abilist/libdl.abilist: Likewise.
11342 * abilist/libm.abilist: Likewise.
11343 * abilist/libnsl.abilist: Likewise.
11344 * abilist/libpthread.abilist: Likewise.
11345 * abilist/libresolv.abilist: Likewise.
11346 * abilist/librt.abilist: Likewise.
11347 * abilist/libthread_db.abilist: Likewise.
11348 * abilist/libutil.abilist: Likewise.
11349 * abilist/libnss_db.abilist: New file.
11350
11351 * scripts/abilist.awk: Add support for indirect functions.
11352
a2693a0e
UD
11353 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11354
3f05895f
UD
11355 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11356
ecb6fb48
UD
11357 * shlib-versions: Remove entries for ports architectures.
11358
664f8cb9
UD
11359 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11360 files in ports.
11361 * elf/stackguard-macros.h: Remove support for IA-64.
11362 * elf/tst-auditmod1.c: Likewise.
11363 * sysdeps/generic/ldsodefs.h: Likewise.
11364
7ae81d88
UD
11365 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11366 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11367 configure files.
11368
bdeba135
UD
11369 [BZ #13552]
11370 * configure.in: Remove --enable-omitfp support.
11371 * FAQ.in: Adjust.
11372 * config.make.in: Likewise.
11373 * Makeconfig: Likewise.
11374 * manual/install.texi: Likewise.
11375
d75a0a62
UD
11376 In case anyone cares, the IA-64 architecture could move to ports.
11377 * sysdeps/ia64/*: Removed.
11378 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11379 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11380
dcc9756b
UD
11381 [BZ #13555]
11382 * configure.in: Remove entries for unsupported architectures.
11383
d3761ebc 11384 [BZ #13533]
9954432e
UD
11385 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11386 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11387 routines.
11388 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11389 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11390 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11391 fall back to using wcrtomb.
11392 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11393 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11394 renaming.
11395 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11396 * wcsmbs/tst-c16c32-1.c: New file.
11397
11398 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11399 local variable.
11400
c3a87236
UD
11401 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11402
28926a1b
UD
11403 * elf/tst-unique3.cc: Add explicit declaration of gets.
11404 * elf/tst-unique3lib.cc: Likewise.
11405 * elf/tst-unique3lib2.cc: Likewise.
11406 * elf/tst-unique4.cc: Likewise.
11407
df78418a
UD
11408 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11409
8ecd6b2a
JM
114102012-01-06 Joseph Myers <joseph@codesourcery.com>
11411
11412 [BZ #13566]
11413 * assert/assert.h (static_assert): Don't define for C++.
11414 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11415 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11416
9f115170
UD
114172012-01-03 Ulrich Drepper <drepper@gmail.com>
11418
5e0d0300
UD
11419 * iconv/loop.c (single loop): Fix assertion in storing of
11420 remaining bytes.
11421
9f115170
UD
11422 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11423
81fb02b0
UD
114242012-01-01 Ulrich Drepper <drepper@gmail.com>
11425
11426 * posix/getconf.c: Update copyright year.
11427 * nss/getent.c: Likewise.
a316c1f6 11428 * nss/makedb.c: Likewise.
81fb02b0
UD
11429 * iconv/iconvconfig.c: Likewise.
11430 * iconv/iconv_prog.c: Likewise.
11431 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11432 * elf/pldd.c: Likewise.
11433 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11434 * catgets/gencat.c: Likewise.
11435 * csu/version.c: Likewise.
11436 * elf/ldd.bash.in: Likewise.
11437 * elf/sprof.c (print_version): Likewise.
11438 * locale/programs/locale.c: Likewise.
11439 * locale/programs/localedef.c: Likewise.
a316c1f6 11440 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11441 * nscd/nscd.c (print_version): Likewise.
11442 * debug/xtrace.sh: Likewise.
11443 * malloc/memusage.sh: Likewise.
11444 * malloc/mtrace.pl: Likewise.
11445 * debug/catchsegv.sh: Likewise.
11446
2ba92745
JJ
114472011-12-30 Jakub Jelinek <jakub@redhat.com>
11448
11449 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11450 pure attribute.
11451
dadebdae
UD
114522011-12-24 Ulrich Drepper <drepper@gmail.com>
11453
d3761ebc 11454 [BZ #13533]
db6af3eb
UD
11455 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11456 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11457 transformations.
11458 * iconv/gconv_int.h: Likewise.
11459 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11460 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11461 from libc for GLIBC_2.16.
11462 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11463 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11464 * wcsmbs/uchar.h: Really define mbstate_t.
11465 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11466 * wcsmbs/c16rtomb.c: New file.
11467 * wcsmbs/mbrtoc16.c: New file.
11468 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11469 for C/POSIX locale.
11470 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11471 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11472
dadebdae
UD
11473 * wcsmbs/wchar.h: Add missing __restrict.
11474
67371b56
UD
114752011-12-23 Ulrich Drepper <drepper@gmail.com>
11476
74033a25
UD
11477 [BZ #13532]
11478 * time/Makefile (routines): Add timespec_get.
11479 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11480 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11481 timespec for ISO C11.
11482 * time/timespec_get.c: New file.
11483 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11484 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11485
380d7e87
UD
11486 [BZ #13531]
11487 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11488 * stdlib/stdlib.h: Declare aligned_alloc.
11489 * Versions.def: Add GLIBC_2.16 for libc.
11490 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11491
4e9e7a35
UD
11492 [BZ 13527]
11493 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11494 ISO C11.
11495
380d7e87 11496 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11497 code.
11498
03a71829
UD
11499 [BZ #13528]
11500 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11501
839e283e
UD
11502 [BZ #13529]
11503 * assert/assert.h (static_assert): Define.
11504
ce5294e2 11505 * version.h: Update for 2.16 development version.
90fa7312 11506
8d44e150 11507 [BZ #13526]
d7809905
UD
11508 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11509 _ISOC11_SOURCE.
11510
c0da14cd
UD
11511 * version.h (RELEASE): Bump for 2.15 release.
11512 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11513
530a3249
MP
11514 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11515 Patch by Marek Polacek <mpolacek@redhat.com>.
11516
67371b56
UD
11517 * bits/byteswap.h: Protect long long constants with __extension__.
11518 * sysdeps/i386/bits/byteswap.h: Likewise.
11519 * sysdeps/ia64/bits/byteswap.h: Likewise.
11520 * sysdeps/s390/bits/byteswap.h: Likewise.
11521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11522
15db4de1
LD
115232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11524
11525 [BZ #13540]
bbe315ea
LD
11526 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11527 destination buffer.
15db4de1
LD
11528 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11529
2b2596b1
MP
115302011-12-23 Marek Polacek <polacek@redhat.com>
11531
11532 * elf/dl-addr.c (determine_info): Add inline keyword.
11533 * elf/tst-auditmod4b.c (check_avx): Likewise.
11534 * elf/tst-auditmod6b.c (check_avx): Likewise.
11535 * elf/tst-auditmod6c.c (check_avx): Likewise.
11536 * elf/tst-auditmod7b.c (check_avx): Likewise.
11537
70c6c246
UD
115382011-12-23 Ulrich Drepper <drepper@gmail.com>
11539
11540 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11541 !__SSE_MATH__.
11542
c044cf14
LD
115432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11544
15db4de1 11545 [BZ #13540]
c044cf14
LD
11546 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11547 processing for last bytes.
11548
6b13d9d9
BH
115492011-08-06 Bruno Haible <bruno@clisp.org>
11550
d455f537
BH
11551 [BZ #13061]
11552 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11553 U+0385, not to U+1FEE.
11554
6b13d9d9
BH
11555 [BZ #13062]
11556 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11557 entry for U+00A5 U+0301.
11558
db910efd
UD
115592011-12-22 Ulrich Drepper <drepper@gmail.com>
11560
27deeafc
UD
11561 [BZ #13166]
11562 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11563 buffer for the output is too small.
11564
aed9d171
UD
11565 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11566 optimization.
11567
db910efd
UD
11568 [BZ #13185]
11569 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11570 SSE flags if possible.
11571
2bd779ae
LD
115722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11573
e7f9dac3 11574 [BZ #13540]
2bd779ae
LD
11575 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11576 processing for last bytes.
11577
154bfc16
JM
115782011-12-22 Joseph Myers <joseph@codesourcery.com>
11579
11580 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11581 (syscall-list-default-options, syscall-list-default-condition)
11582 (syscall-list-includes): Define.
11583 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11584 list of ABIs and options and #if conditions for each ABI. Do not
11585 handle common syscalls between ABIs specially.
11586 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11587 Remove.
11588 (syscall-list-variants, syscall-list-32bit-options)
11589 (syscall-list-32bit-condition, syscall-list-64bit-options)
11590 (syscall-list-64bit-condition): Define.
11591 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11592 (syscall-list-variants, syscall-list-32bit-options)
11593 (syscall-list-32bit-condition, syscall-list-64bit-options)
11594 (syscall-list-64bit-condition): Define.
11595 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11596 Remove.
11597 (syscall-list-variants, syscall-list-32bit-options)
11598 (syscall-list-32bit-condition, syscall-list-64bit-options)
11599 (syscall-list-64bit-condition): Define.
11600 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11601 Remove.
11602 (syscall-list-variants, syscall-list-32bit-options)
11603 (syscall-list-32bit-condition, syscall-list-64bit-options)
11604 (syscall-list-64bit-condition): Define.
11605
21eaf3a5
UD
116062011-12-22 Ulrich Drepper <drepper@gmail.com>
11607
16c6f992
UD
11608 * locale/iso-639.def: Add brx entry.
11609
41043168
UD
11610 [BZ #13328]
11611 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11612 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11613
21eaf3a5
UD
11614 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11615 __feraiseexcept_renamed.
11616
e3a851a2
UD
116172011-12-21 Ulrich Drepper <drepper@gmail.com>
11618
4920765e
UD
11619 [BZ #13538]
11620 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11621 EPOLLET with unsigned values.
11622 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11623 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11624
e3a851a2
UD
11625 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11626 to large cancellation.
11627 * math/s_cacoshf.c: Likewise.
11628 * math/s_cacoshl.c: Likewise.
11629
b27e24b8
RK
116302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11631
11632 [BZ #13305]
aebefeee 11633 [BZ #12786]
b27e24b8
RK
11634 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11635 * math/s_cacoshf.c: Likewise.
11636 * math/s_cacoshl.c: Likewise.
11637
ee190f67
UD
116382011-12-21 Ulrich Drepper <drepper@gmail.com>
11639
11640 [BZ #13439]
11641 * iconv/gconv.h: Define __GCONV_SWAP.
11642 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11643 * iconvdata/utf-16.c: Likewise.
11644 * iconvdata/utf-32.c: Likewise.
11645
707f25df
AS
116462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11647
11648 [BZ #13524]
11649 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11650 numerator after shifting it by one limb.
11651
d2daaa1e
RÁE
116522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11653
11654 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11655 under [__USE_EXTERN_INLINES].
11656
a4647e72
UD
116572011-12-17 Ulrich Drepper <drepper@gmail.com>
11658
11659 [BZ #13446]
11660 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11661
f0b264f1
AZ
116622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11663
11664 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11665 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11666 optimized code.
11667 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11668 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11669 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11670 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11671 for strncasecmp/strncasecmp_l compilation.
11672 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11673 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11674
8ef4f244
MP
116752011-12-08 Marek Polacek <mpolacek@redhat.com>
11676
11677 [BZ #13484]
11678 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11679 of __asm__.
11680
97ac2654
UD
116812011-12-17 Ulrich Drepper <drepper@gmail.com>
11682
11683 [BZ #13506]
11684 * time/tzfile.c (__tzfile_read): Check values from file header.
11685
91d2a845
WS
116862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11687
11688 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11689 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11690 * powerpc/powerpc32/dl-start.S: Likewise.
11691 * powerpc/powerpc32/elf/start.S: Likewise.
11692 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11693 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11694 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11695 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11696 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11697 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11698 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11699 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11700 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11701 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11702 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11703 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11704 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11705 * powerpc/powerpc32/memset.S: Likewise.
11706 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11707 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11708 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11709 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11710 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11711 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11712 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11713 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11714 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11715 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11716 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11717 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11718 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11719
a1267ba1
AZ
117202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11721
11722 * math/libm-test.inc: Added more nearbyint tests.
11723 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11724 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11726 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11727
ad8ac1bd
RL
117282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11729
11730 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11731 FD_CLOEXEC.
11732
1d3e4b61
UD
117332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11734
11735 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11736 Add wcscpy-ssse3 wcscpy-c.
11737 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11738 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11739 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11740 * sysdeps/x86_64/wcschr.S: New file.
11741 * sysdeps/x86_64/wcsrchr.S: New file.
11742 * string/test-strcmp.c: Remove checking of wcscmp function for
11743 wrong alignments.
11744 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11745 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11746 wcsrchr-sse2 wcsrchr-c.
11747 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11748 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11749 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11750 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11751 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11752 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11753 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11754 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11755 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11756 * wcsmbc/wcschr.c (WCSCHR): New macro.
11757
5b330a2d
UD
117582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11759
11760 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11761 * wcsmbs/test-wcsrchr.c: New file.
11762 * string/test-strrchr.c: Add wcsrchr support.
11763 (WIDE): New macro.
11764 * wcsmbs/test-wcscpy.c: New file.
11765 * string/test-strcpy.c: Add wcscpy support.
11766 (WIDE): New macro.
26428b7c 11767
f039c043
UD
117682011-12-10 Ulrich Drepper <drepper@gmail.com>
11769
11770 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11771 the inner loop.
11772
850fb039
AS
117732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11774
11775 [BZ #13472]
11776 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11777
4efbd5cb
UD
117782011-12-04 Ulrich Drepper <drepper@gmail.com>
11779
52ff5dd0 11780 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11781 Minor optimizations.
52ff5dd0 11782
4efbd5cb
UD
11783 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11784 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11785 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11786
8a426e12
UD
117872011-12-03 Ulrich Drepper <drepper@gmail.com>
11788
aff2453d
UD
11789 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11790 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11791 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11792 for gcc to avoid warnings.
11793 * inet/Makefile (tests): Add tst-checks.
11794 * inet/tst-checks.c: New file.
11795
11796 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11797 warning.
11798
11799 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11800 __wmemcmp_sse2.
11801
11802 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11803 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11804
8a426e12
UD
11805 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11806
9bea3473
UD
118072011-12-02 Ulrich Drepper <drepper@gmail.com>
11808
3a965496
UD
11809 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11810 problem.
11811
9bea3473
UD
11812 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11813
f101631b
UD
118142011-11-29 Joseph Myers <joseph@codesourcery.com>
11815
11816 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11817 conditional on GCC version.
11818 (__arch_compare_and_exchange_val_8_acq)
11819 (__arch_compare_and_exchange_val_16_acq)
11820 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11821 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11822 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11823
a98275aa
UD
118242011-12-02 Joseph Myers <joseph@codesourcery.com>
11825
11826 * sysdeps/sh/backtrace.c: New file.
11827
d4cc29a2
AS
118282011-12-02 Andreas Schwab <schwab@redhat.com>
11829
11830 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11831 parenthesis.
11832
6257af2d
AS
118332011-12-01 Andreas Schwab <schwab@redhat.com>
11834
11835 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11836 falling back to utime.
11837
b5f44c1a
AS
118382011-11-30 Andreas Schwab <schwab@redhat.com>
11839
11840 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11841 expectations for float.
11842
f3a6cc0a
AS
118432011-11-29 Andreas Schwab <schwab@redhat.com>
11844
11845 * locale/weight.h (findidx): Add parameter len.
11846 * locale/weightwc.h (findidx): Likewise.
11847 * posix/fnmatch_loop.c (FCT): Adjust caller.
11848 * posix/regcomp.c (build_equiv_class): Likewise.
11849 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11850 * posix/regexec.c (check_node_accept_bytes): Likewise.
11851 * string/strcoll_l.c (STRCOLL): Likewise.
11852 * string/strxfrm_l.c (STRXFRM): Likewise.
11853
9d65ea3a
UD
118542011-11-17 Ulrich Drepper <drepper@gmail.com>
11855
11856 * Makefile.in: Remove CVSOPT handling.
11857 * configure.in: Remove use of AC_REVISION.
11858 * iconvdata/Makefile (distribute): No need to filter out CVS.
11859 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11860 handling.
11861
5583a086
AS
118622011-11-16 Andreas Schwab <schwab@redhat.com>
11863
11864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11865 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11866 [USE_AS_STRNCASECMP_L]: Likewise.
11867 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11868 NO_TLS_DIRECT_SEG_REFS.
11869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11870 Fix argument offsets for non-PIC.
11871 [USE_AS_STRNCASECMP_L]: Likewise.
11872 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11873 NO_TLS_DIRECT_SEG_REFS.
11874
d62a8200
UD
118752011-11-15 Ulrich Drepper <drepper@gmail.com>
11876
9d65ea3a 11877 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11878 O_CLOEXEC.
11879 * locale/loadlocale.c (_nl_load_locale): Likewise.
11880
09f93bd3
AS
118812011-11-15 Andreas Schwab <schwab@redhat.com>
11882
446514f9
AS
11883 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11884 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11885 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11886 (SYSCALL_GETTIME): Set errno on error.
11887
09f93bd3
AS
11888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11889 count references to noai6ai_cached.
11890
312be3f9
UD
118912011-11-15 Ulrich Drepper <drepper@gmail.com>
11892
11893 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11894
11895 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11896 FD_CLOEXEC for /proc/self/maps.
11897
11898 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11899 FD_CLOEXEC for /proc/meminfo.
11900
11901 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11902 gai.conf.
11903
11904 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11905 FD_CLOEXEC for given file.
11906
11907 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11908
11909 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11910 FD_CLOEXEC for /etc/hosts.
11911 (_gethtent): Likewise.
11912
11913 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11914
11915 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11916 cancellation and set FD_CLOEXEC for /etc/netgroup.
11917
11918 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11919 reading /etc/publickey.
11920
11921 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11922 allow cancellation when reading /etc/group.
11923
11924 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11925 cancellation.
11926 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11927
11928 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11929 when using data file.
11930
11931 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11932
11933 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11934 (write_nis_obj): Use "c" and "e" in fopen.
11935
11936 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11937
11938 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11939
11940 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11941
11942 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11943
11944 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11945 locale.alias.
11946
11947 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11948
11949 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11950
11951 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11952
11953 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11954 file parsing and set FD_CLOEXEC.
11955
82af0fa8
UD
119562011-11-14 Ulrich Drepper <drepper@gmail.com>
11957
11958 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11959
a5fb313c
AS
119602011-11-14 Andreas Schwab <schwab@redhat.com>
11961
11962 * malloc/arena.c (arena_get2): Don't call reused_arena when
11963 _int_new_arena failed.
11964
6abf3465
UD
119652011-11-14 Ulrich Drepper <drepper@gmail.com>
11966
11967 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11968 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11969 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11970 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11973 to compile strcasecmp and strncasecmp.
11974 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11975 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11976
11977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11978
76e3966e
UD
119792011-11-13 Ulrich Drepper <drepper@gmail.com>
11980
11981 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11982 locale-defines.sym to gen-as-const-headers.
11983 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11984 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11986 to compile strcasecmp and strncasecmp.
11987 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11988 strcasecmp_l and strncasecmp_l.
11989 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11990 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11991 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11993 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11994 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11995 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11996 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11997 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11998 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11999 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12000
ab26144e
UD
120012011-11-12 Ulrich Drepper <drepper@gmail.com>
12002
7edb22ef
UD
12003 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12004 result of SYSDEP_GETTIME_CPU to retval.
12005 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12006 parameter list to macro. Remove trailing semicolon. Adjust users.
12007
9694fc44
UD
12008 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12009 variable.
12010
8ad89ef8
UD
12011 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12012 mantissa words.
12013 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12014
0c822ef9
UD
12015 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12016 from unused variable.
12017
874e0564
UD
12018 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12019 DWARF definitions.
12020 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12021 for assembling.
12022
3a2edc79
UD
12023 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12024 over namespaces.
12025
f3c2577f
UD
12026 * sunrpc/rpc_prot.c (rejected): Fix case value.
12027
294ce126
UD
12028 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12029 unsigned long long int to avoid warnings in shift.
12030
5e2b63c6
UD
12031 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12032 of use of trans.
12033 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12034 variable tmp.
12035
e7f4b08e
UD
12036 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12037 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12038 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12039
ab26144e
UD
12040 * nis/nis_table.c (nis_list): Use variable of correct type for
12041 result of __follow_path call.
12042
8a6d5255
AZ
120432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12044
12045 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12046 of math functions ceil, trunc, floor, round, and sqrt, when
12047 avaliable on the platform.
12048 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12049 name clash.
12050 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12051 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12052 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12053
aaddc98c
MP
120542011-10-30 Marek Polacek <mpolacek@redhat.com>
12055
12056 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12057 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12058
95b7042b
RM
120592011-11-11 Roland McGrath <roland@hack.frob.com>
12060
12061 * include/unistd.h: Fix __readlink return type.
12062 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12063
57769839
UD
120642011-11-11 Ulrich Drepper <drepper@gmail.com>
12065
12066 * stdlib/ucontext.h: Undo last change for makecontext.
12067
edc5984d
AS
120682011-11-11 Andreas Schwab <schwab@redhat.com>
12069
98591e58
AS
12070 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12071
edc5984d
AS
12072 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12073 * setjmp/setjmp.h: Mark functions as non-leaf.
12074 * setjmp/bits/setjmp2.h: Likewise.
12075 * stdlib/ucontext.h: Likewise.
12076
77cdc054
AS
120772011-11-10 Andreas Schwab <schwab@redhat.com>
12078
12079 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12080 (reused_arena): Don't check arena limit.
12081 (arena_get2): Atomically check arena limit.
12082
fe72eebd
UD
120832011-11-08 Ulrich Drepper <drepper@gmail.com>
12084
5f078c32
UD
12085 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12086 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12087
fe72eebd
UD
12088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12089 instructions.
12090
ae1bc2fa
AS
120912011-11-07 Andreas Schwab <schwab@redhat.com>
12092
7583a88d
AS
12093 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12094 handler when locking.
12095
ae1bc2fa
AS
12096 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12097 Fix size of allocated buffer.
12098
10fb0bfa
AS
120992011-11-04 Andreas Schwab <schwab@redhat.com>
12100
998832a4
AS
12101 [BZ #10103]
12102 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12103 declarations for long double functions.
12104 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12105
10fb0bfa
AS
12106 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12107
3d7ba52b
AS
121082011-11-03 Andreas Schwab <schwab@redhat.com>
12109
a9ae54a1
AS
12110 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12111 installed.
12112
3d7ba52b
AS
12113 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12114 is disabled.
12115
bc8db248
ST
121162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12117
12118 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12119
45b96dd6
AS
121202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12121
647776f6
AS
12122 * include/alloca.h (stackinfo_alloca_round): Define.
12123 (extend_alloca): Use it.
12124 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12125 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12126 here.
12127
d91a8b93
AS
12128 * scripts/check-local-headers.sh: Ignore libaudit.h.
12129
45b96dd6
AS
12130 * nscd/Makefile (extra-objs): Make recursively expanded.
12131
432d41ce
UD
121322011-11-01 Ulrich Drepper <drepper@gmail.com>
12133
34372fc6
UD
12134 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12136
fadb59f8
UD
12137 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12138 * posix/tst-rfc3484-2.c: Likewise.
12139 * posix/tst-rfc3484-3.c: Likewise.
12140
78239589
UD
12141 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12142 process_vm_writev.
12143 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12144 process_vm_writev.
12145 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12146 process_vm_writev from libc using GLIBC_2.15 version.
12147
432d41ce
UD
12148 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12149
02f9c6cf
PP
121502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12151
12152 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12153 stack usage.
12154
3a2c0242
UD
121552011-10-31 Ulrich Drepper <drepper@gmail.com>
12156
f4ec4833
UD
12157 [BZ #13367]
12158 * nss/getent.c (initgroups_keys): Show error message in case no group
12159 names are given.
12160
3a2c0242
UD
12161 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12162 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12163 __bump_nl_timestamp.
12164 * nscd/connections (nscd_init): When host database is served open
12165 netlink socket and request notification about configuration changes.
12166 (main_loop_poll): Track netlink file descriptor and bump timestamp
12167 in case data becomes available.
12168 (main_loop_epoll): Likewise.
12169 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12170 (database_pers_head): Add extra_data fileds.
12171 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12172 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12173 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12174 Adjust caller.
12175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12176 in6ai data, call __free_in6ai.
12177 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12178 Add -DHAVE_NETLINK.
12179 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12180 interface information. Reuse previous data if netlink timestamp
12181 is not changed.
12182 (__bump_nl_timestamp): New function.
12183 (__free_in6ai): New function.
12184
636064eb
UD
121852011-10-30 Ulrich Drepper <drepper@gmail.com>
12186
12187 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12188 close_not_cancel_no_status here.
12189 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12190
9beb2334
UD
121912011-10-29 Ulrich Drepper <drepper@gmail.com>
12192
6ef76f3b
UD
12193 [BZ #13276]
12194 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12195 return value.
12196
0ffc4f3e 12197 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12198 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12199 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12200
cb95113e
UD
122012011-07-03 Andreas Jaeger <aj@suse.de>
12202
12203 [BZ #10709]
12204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12205 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12206 * math/libm-test.inc (sin_test): Add test case.
12207
a1b560ff
UD
122082011-10-29 Ulrich Drepper <drepper@gmail.com>
12209
c9aaface
UD
12210 [BZ #13337]
12211 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12212 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12213
d272e7f1
UD
12214 * elf/chroot_canon.c (chroot_canon): Cleanups.
12215
1bc33071
UD
12216 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12217
1760874d
TJ
12218 [BZ #13335]
12219 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12220 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12221
51d91b18
UD
12222 * string/test-strchr.c: Make usable for strchrnul testing.
12223 * string/test-strchrnul.c: New file.
12224 * string/Makefile (strop-tests): Add strchrnul.
12225
a1b560ff 12226 * po/it.po: Update from translation team.
b611fb81 12227 * po/es.po: Likewise.
a1b560ff 12228
a5b81e1f
UD
122292011-10-28 Ulrich Drepper <drepper@gmail.com>
12230
fd52bc6d
UD
12231 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12232 the three constants needed as parameters. Drop the others.
12233 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12234 __m128i_strloadu_tolower.
52e4b9eb
UD
12235 Create and initialize variable zero and use it in all the places
12236 where _mm_setzero_si128 was used.
fd52bc6d 12237
a5b81e1f
UD
12238 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12239 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12240 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12241 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12242 anymore.
12243 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12244 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12245 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12246 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12247 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12248 __mpranred, __mptan.
12249 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12250 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12251 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12252 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12253 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12254 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12256 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12258
b4343346
AS
122592011-10-28 Andreas Schwab <schwab@redhat.com>
12260
0c92d8a8
AS
12261 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12262 redefine if SHARED.
12263 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12264
b4343346
AS
12265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12266 wide char related routines to wcsmbs subdir.
12267
3871f58f
AS
122682011-10-27 Andreas Schwab <schwab@redhat.com>
12269
12270 [BZ #13344]
12271 * misc/sys/cdefs.h (__THROWNL): Define.
12272 * posix/unistd.h: Use __THREADNL instead of __THREAD
12273 for memory synchronization functions.
12274
94d44d9f
RM
122752011-10-26 Roland McGrath <roland@hack.frob.com>
12276
21b64b15 12277 [BZ #13349]
94d44d9f
RM
12278 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12279 doesn't exist.
12280 * manual/stdio.texi (Obstack Streams): Node removed.
12281
f6ce9294
AS
122822011-10-26 Andreas Schwab <schwab@redhat.com>
12283
80479147
AS
12284 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12285 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12286 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12287
f6ce9294
AS
12288 * math/math_private.h (math_force_eval): Allow non-addressable
12289 arguments.
12290 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12291
618280a1
UD
122922011-10-25 Ulrich Drepper <drepper@gmail.com>
12293
e0016b11
UD
12294 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12295 file is not needed.
12296
12297 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12298 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12299 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12300 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12301 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12302 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12303 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12304 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12305 Add AVX variants.
12306 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12307 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12308 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12309 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12310 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12311 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12312 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12313 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12314 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12315 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12316 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12317 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12318 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12319 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12320 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12321 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12322 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12323 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12324 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12325
12326 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12327 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12328
618280a1
UD
12329 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12330 place. Use VEX encoding when compiling for AVX.
12331
37822576
AS
123322011-10-25 Andreas Schwab <schwab@redhat.com>
12333
1f1e1947
AS
12334 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12335 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12336
37822576
AS
12337 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12338
31ea014d
UD
123392011-10-25 Ulrich Drepper <drepper@gmail.com>
12340
d7826aa1 12341 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12342 useless if() expression.
d7826aa1
UD
12343 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12348 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12351 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12352 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12353 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12354 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12355 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12356 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12357 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12358 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12360 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12361 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12362
31ea014d
UD
12363 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12364
16437fec
AS
123652011-10-25 Andreas Schwab <schwab@redhat.com>
12366
12367 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12368 condition.
12369 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12370
31d3cc00
UD
123712011-10-25 Ulrich Drepper <drepper@gmail.com>
12372
12373 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12374 .text section. Avoid duplicate constants.
12375 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12383 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12384 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12385 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12386 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12387 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12388 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12389 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12390 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12392 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12395 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12396 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12397 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12398 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12399 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12400 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12401 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12402 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12403 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12404 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12405 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12406 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12407 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12408 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12409 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12410 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12411 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12412 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12413 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12414 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12415 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12416 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12417 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12418 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12419 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12420
58985aa9
UD
124212011-10-24 Ulrich Drepper <drepper@gmail.com>
12422
202c9deb
UD
12423 * sysdeps/x86_64/dla.h: Move to ...
12424 * sysdeps/x86_64/fpu/dla.h: ...here.
12425 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12426 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12427
af968f62
UD
12428 * config.make.in: Add have-mfma4 entry.
12429 * configure.in: Substitute libc_cv_cc_fma4.
12430 * math/Makefile (dbl-only-routines): Add sincostab.
12431 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12432 Use __sincostab not sincos.
12433 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12434 name is a macro.
12435 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12439 using __copysign.
12440 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12441 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12442 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12443 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12444 and __inv.
12445 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12446 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12447 __copysign.
12448 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12449 define aliases when function name is a macro.
12450 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12451 sysdeps/ieee754/dbl-64/sincos.tbl.
12452 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12453 fma4-enabled routines.
12454 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12455 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12456 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12457 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12459 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12461 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12462 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12463 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12464 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12465 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12466 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12467 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12468 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12469 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12470 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12471 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12472 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12473 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12474 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12475 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12477 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12478 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12479 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12480 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12481 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12482 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12483 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12484
58985aa9
UD
12485 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12486 rename.
12487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12488 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12489 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12493 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12495
a201fbcf
AS
124962011-10-24 Andreas Schwab <schwab@redhat.com>
12497
12498 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12499
fc2ee42a
LD
125002011-10-23 Ulrich Drepper <drepper@gmail.com>
12501
bb3129bd
UD
12502 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12503
0275fff8
UD
12504 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12505 prediction.
12506 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12507
2fa2ae85
UD
12508 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12509 Remove unused variable magic_bits.
12510 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12511
fc2ee42a
LD
12512 * string/strnlen.c: Define and use STRNLEN macro.
12513 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12514 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12516 * wcsmbs/wcslen.c: Define and use WCSLEN.
12517 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12518 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12519 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12520 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12521 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12522 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12523 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12524
ce7dd29f
LD
125252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12526
12527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12528 strnlen-sse2-no-bsf.
12529 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12531 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12532 Add strnlen support.
12533 (USE_AS_STRNLEN): New macro.
12534 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12535 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12536 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12537 * sysdeps/x86_64/wcslen.S: New file.
12538
979c70a3
MZ
125392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12540
12541 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12542 XMM-moves are used for copying on small sizes.
12543
2d09f82f
LD
125442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12545
12546 * wcsmbs/Makefile (strop-tests): Add wcschr.
12547 * wcsmbs/test-wcschr.c: New file.
12548 * string/test-strchr.c: Update.
12549 Add wcschr support.
12550 (WIDE): New macro.
12551
619fccca
LD
125522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12553
2d09f82f 12554 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12555 * wcsmbs/test-wcslen.c: New file.
12556 * string/test-strlen.c: Update.
12557 Add wcslen support.
12558 (WIDE): New macro.
12559
09f699ea
UD
125602011-10-23 Ulrich Drepper <drepper@gmail.com>
12561
12562 * po/it.po: Update from translation team.
12563
95584d3b
LD
125642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12565
12566 * sysdeps/x86_64/wcscmp.S: Update.
12567 Fix wrong comparison semantics.
12568 wcscmp shall use signed comparison not unsigned.
12569 Don't use substraction to avoid overflow bug.
12570 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12571 * wcsmbc/wcscmp.c: Likewise.
12572 * string/test-strcmp.c: Likewise.
12573 Add new tests to check cases with negative values.
12574
c8b3296b
UD
125752011-10-23 Ulrich Drepper <drepper@gmail.com>
12576
12577 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12578 * sysdeps/x86_64/dla.h: ...here. New file.
12579 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12588
246ad57a
AS
125892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12590
12591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12592 __ynl_finite aliases.
12593
a1a87169
UD
125942011-10-22 Ulrich Drepper <drepper@gmail.com>
12595
0d355eb7
UD
12596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12597
a1a87169
UD
12598 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12599 define DLA_FMA.
12600 [DLA_FMA] (EMULV): Use DLA_FMA.
12601 [DLA_FMA] (MUL12): Use EMULV.
12602 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12603 that are not needed.
12604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12611
ee2aafe0
AS
126122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12613
12614 * math/s_nan.c: Undef __nan.
12615 * math/s_nanf.c: Undef __nanf.
12616 * math/s_nanl.c: Undef __nanl.
12617 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12618 "math_private.h".
12619
bc62c2fb
UD
126202011-10-22 Ulrich Drepper <drepper@gmail.com>
12621
77425c63
UD
12622 * math/s_catan.c: Add branch predictions.
12623 * math/s_catanf.c: Likewise.
12624 * math/s_catanh.c: Likewise.
12625 * math/s_catanhf.c: Likewise.
12626 * math/s_catanhl.c: Likewise.
12627 * math/s_catanl.c: Likewise.
12628 * math/s_cexp.c: Likewise.
12629 * math/s_cexpf.c: Likewise.
12630 * math/s_cexpl.c: Likewise.
12631 * math/s_clog.c: Likewise.
12632 * math/s_clog10.c: Likewise.
12633 * math/s_clog10f.c: Likewise.
12634 * math/s_clog10l.c: Likewise.
12635 * math/s_clogf.c: Likewise.
12636 * math/s_clogl.c: Likewise.
12637 * math/s_csqrt.c: Likewise.
12638 * math/s_csqrtf.c: Likewise.
12639 * math/s_csqrtl.c: Likewise.
12640 * math/s_ctanf.c: Likewise.
12641 * math/s_ctanh.c: Likewise.
12642 * math/s_ctanhf.c: Likewise.
12643 * math/s_ctanhl.c: Likewise.
12644 * math/s_ctanl.c: Likewise.
12645
bc62c2fb
UD
12646 * math/math_private.h: Define __nan, __nanf, __nanl.
12647 * math/s_cacosh.c: Include <math_private.h>.
12648 * math/s_cacoshl.c: Likewise.
12649 * math/s_casinh.c: Likewise.
12650 * math/s_casinhf.c: Likewise.
12651 * math/s_casinhl.c: Likewise.
12652 * math/s_ccos.c: Rely entire on ccosh.
12653 * math/s_ccosf.c: Rely entire on ccoshf.
12654 * math/s_ccosl.c: Rely entirely on ccoshl.
12655 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12656 Remove tests for FE_INVALID.
12657 * math/s_ccoshf.c: Likewise.
12658 * math/s_ccoshl.c: Likewise.
12659 * math/s_csin.c: Likewise.
12660 * math/s_csinf.c: Likewise.
12661 * math/s_csinh.c Likewise.
12662 * math/s_csinhf.c: Likewise.
12663 * math/s_csinhl.c: Likewise.
12664 * math/s_csinl.c: Likewise.
12665 * math/s_ctan.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12667 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12669
8ec250a4
UD
126702011-10-21 Ulrich Drepper <drepper@gmail.com>
12671
c196fed8
UD
12672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12673 compilation problems.
12674
8ec250a4
UD
12675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12676 __builtin_expect.
12677
8d4f46c6
UD
126782011-10-20 Ulrich Drepper <drepper@gmail.com>
12679
ed72b654
UD
12680 * sysdeps/i386/configure.in: Test for -mfma4 option.
12681 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12682 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12683 COMMON_CPUID_INDEX_80000001.
12684 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12685 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12686 use it if FMA3 is not supported.
12687 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12688
8d4f46c6
UD
12689 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12690 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12691
d45c60c2
AS
126922011-10-20 Andreas Schwab <schwab@redhat.com>
12693
12694 [BZ #12892]
12695 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12696 it would create a cycle with a link time dependency.
12697
d9a4d2ab
UD
126982011-10-19 Ulrich Drepper <drepper@gmail.com>
12699
855d1560
UD
12700 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12701 instruction.
12702 * string/Makefile (strop-tests): Add rawmemchr.
12703 * string/test-rawmemchr.c: New file.
12704
d9a4d2ab
UD
12705 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12706 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12707 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12708 when compiling str{,n}casecmp and when AVX is available. Hook up
12709 new optimized code in initializers.
12710
8f3b1ffe
AS
127112011-10-19 Andreas Schwab <schwab@redhat.com>
12712
12713 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12714 __feraiseexcept instead of feraiseexcept.
12715
d38f1dba
UD
127162011-10-18 Ulrich Drepper <drepper@gmail.com>
12717
d9a8d0ab
UD
12718 * math/math_private.h: Define defaults for libc_fetestexcept and
12719 libc_feupdateenv.
12720 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12721 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12722 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12723 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12724 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12725 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12726 libc_fetestexcept and libc_feupdateenv.
12727
4855e3dd
UD
12728 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12729 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12730 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12731 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12732 libc_feholdexcept_setround.
12733
581d30e3
UD
12734 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12735 Add s_nearbyint-c and s_nearbyintf-c.
12736 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12737 nearbyintf inlines.
12738 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12739 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12740 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12741 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12742
d38f1dba
UD
12743 * math/math_private.h: Define defaults for libc_fegetround,
12744 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12745 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12746 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12747 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12748 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12749 standard functions.
12750 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12751 Remove comments and hacks for old compiler versions.
12752 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12753 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12754 libc_feholdexceptl.
12755
caa6c9d8
AS
127562011-10-18 Andreas Schwab <schwab@redhat.com>
12757
12758 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12759 (__feraiseexcept_renamed): Add __NTH.
12760 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12761 namespace violations.
12762
97c066e6
UD
127632011-10-17 Ulrich Drepper <drepper@gmail.com>
12764
99ce7b04
UD
12765 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12766
1004d182
UD
12767 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12768
228a984d
UD
12769 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12770 recently added interfaces.
12771 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12772
c8553a6a
UD
12773 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12774 about macro parameter expansion.
12775
ed22dcf6
UD
12776 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12777 __NO_MATH_INLINES is defined. Cleanups.
12778
12779 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12780 and __floorf is target has SSE4.1.
12781 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12782 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12783 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12784 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12785
b171c137
UD
12786 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12787 name.
12788 (floorf): Likewise.
12789
97c066e6
UD
12790 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12791
629f62ef
AS
127922011-10-17 Andreas Schwab <schwab@redhat.com>
12793
49a43d80
AS
12794 * misc/sys/cdefs.h: Fix last change.
12795
629f62ef
AS
12796 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12797 database lookup.
12798
e453f6cd
UD
127992011-10-16 Ulrich Drepper <drepper@gmail.com>
12800
aa78043a
UD
12801 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12802
ad0f5cad
UD
12803 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12809 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12810 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12811 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12812 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12813 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12814 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12815 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12816 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12817 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12818 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12819 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12820 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12821 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12822 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12823 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12824 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12825
12826 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12827 ceil, ceilf, floor, floorf.
12828
12829 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12830 Perform IRELATIVE relocations last.
12831
e453f6cd
UD
12832 * elf/do-rel.h: Add another parameter nrelative, replacing the
12833 local variable with the same name. Change name of the function
12834 to end in Rel or Rela (uppercase).
12835 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12836 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12837 elf_dynamic_do_##reloc function.
12838
fd5bdc09
UD
128392011-10-15 Ulrich Drepper <drepper@gmail.com>
12840
79b195b5
UD
12841 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12842 is sufficient, at least on modern CPUs.
12843
d4a28569
UD
12844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12845
b61099b5
UD
12846 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12847 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12848
bcf01e6d
UD
12849 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12850 __expl_finite.
12851 * math/bits/math-finite.h: Add entries for exp.
12852 * math/e_expl.c: Add __*_finite alias.
12853 * sysdeps/i386/fpu/e_exp.S: Likewise.
12854 * sysdeps/i386/fpu/e_expf.S: Likewise.
12855 * sysdeps/i386/fpu/e_expl.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12857 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12858 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12861 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12862 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12863
ba1a0d59
UD
12864 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12865 is sufficient, at least on modern CPUs.
12866
fd5bdc09
UD
12867 * ctype/ctype-info.c (__ctype_init): Define.
12868 * include/ctype.h (__ctype_init): Declare.
12869 (__ctype_b_loc): The variable is always initialized.
12870 (__ctype_toupper_loc): Likewise.
12871 (__ctype_tolower_loc): Likewise.
12872 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12873 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12874
7872cfb0
AS
128752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12876
b468825a
AS
12877 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12878
7872cfb0
AS
12879 * configure.in: Also look in $cxxmachine/include for C++ system
12880 headers.
12881
be13f7bf
LD
128822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12883
12884 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12885 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12886 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12887 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12888 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12889 (USE_AS_WMEMCMP): New macro.
12890 Fixing indents.
12891 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12892 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12893 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12894 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12896 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12897 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12898 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12899 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12900 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12901 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12902 (USE_AS_WMEMCMP): New macro.
12903 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12904 * sysdeps/string/test-memcmp.c: Update.
12905 Fix simple_wmemcmp.
12906 Add new tests.
12907 * wcsmbs/wmemcmp.c: Update.
12908 (WMEMCMP): New macro.
12909 Fix overflow bug.
12910
556a2007
AJ
129112011-10-12 Andreas Jaeger <aj@suse.de>
12912
12913 [BZ #13268]
12914 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12915
538faaa7
UD
129162011-10-15 Ulrich Drepper <drepper@gmail.com>
12917
ab6737ff
UD
12918 * libio/iofwide.c (do_length): Avoid warning.
12919
538faaa7
UD
12920 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12921
396a21b1
UD
129222011-10-14 Ulrich Drepper <drepper@gmail.com>
12923
cdf2901f
UD
12924 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12925
38ad40ce
UD
12926 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12927 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12928 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12929 * sysdeps/i386/i686/fpu/e_log.S: New file.
12930 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12931 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12932
396a21b1
UD
12933 * ctype/ctype.h: Add support for inlined isXXX functions when
12934 compiling C++ code.
12935
6b1f68c9
AS
129362011-10-14 Andreas Schwab <schwab@redhat.com>
12937
349290c0
AS
12938 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12939
6b1f68c9
AS
12940 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12941
f2282d42
RM
129422011-10-13 Roland McGrath <roland@hack.frob.com>
12943
12944 [BZ #13291]
12945 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12946
5298ffa8
AS
129472011-10-13 Andreas Schwab <schwab@redhat.com>
12948
714fad23
AS
12949 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12950 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12951 feraiseexcept.
12952
81dcc7fb
AS
12953 * sysdeps/x86_64/memrchr.S: Check for zero size.
12954
5298ffa8
AS
12955 * string/stratcliff.c: Add memrchr tests.
12956
951fbcec
LD
129572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12958
12959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12960 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12961 rawmemchr-sse2 rawmemchr-sse2-bsf.
12962 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12963 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12964 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12965 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12966 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12967 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12968 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12969 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12970 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12971 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12972 * string/memrchr.c (MEMRCHR): New macro.
12973
0ac5ae23
UD
129742011-10-12 Ulrich Drepper <drepper@gmail.com>
12975
12976 Add integration with gcc's -ffinite-math-only and optimize wrapper
12977 functions in libm.
12978 * Versions.def: Define GLIBC_2.15 version for libm.
12979 * math/Makefile (headers): Add bits/math-finite.h.
12980 * math/bits/math-finite.h: New file.
12981 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12982 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12983 * math/e_acoshl.c: Add __*_finite alias.
12984 * math/e_acosl.c: Likewise.
12985 * math/e_asinl.c: Likewise.
12986 * math/e_atan2l.c: Likewise.
12987 * math/e_atanhl.c: Likewise.
12988 * math/e_coshl.c: Likewise.
12989 * math/e_exp10.c: Likewise.
12990 * math/e_exp10f.c: Likewise.
12991 * math/e_exp10l.c: Likewise.
12992 * math/e_exp2l.c: Likewise.
12993 * math/e_fmodl.c: Likewise.
12994 * math/e_gammal_r.c: Likewise.
12995 * math/e_hypotl.c: Likewise.
12996 * math/e_j0l.c: Likewise.
12997 * math/e_j1l.c: Likewise.
12998 * math/e_jnl.c: Likewise.
12999 * math/e_lgammal_r.c: Likewise.
13000 * math/e_log10l.c: Likewise.
13001 * math/e_log2l.c: Likewise.
13002 * math/e_logl.c: Likewise.
13003 * math/e_powl.c: Likewise.
13004 * math/e_sinhl.c: Likewise.
13005 * math/e_sqrtl.c: Likewise.
13006 * math/e_scalb.c: Completely rewritten and optimized.
13007 * math/e_scalbf.c: Likewise.
13008 * math/e_scalbl.c: Likewise.
13009 * math/w_acos.c: Likewise.
13010 * math/w_acosf.c: Likewise.
13011 * math/w_acosl.c: Likewise.
13012 * math/w_acosh.c: Likewise.
13013 * math/w_acoshf.c: Likewise.
13014 * math/w_acoshl.c: Likewise.
13015 * math/w_asin.c: Likewise.
13016 * math/w_asinf.c: Likewise.
13017 * math/w_asinl.c: Likewise.
13018 * math/w_atan2.c: Likewise.
13019 * math/w_atan2f.c: Likewise.
13020 * math/w_atan2l.c: Likewise.
13021 * math/w_atanh.c: Likewise.
13022 * math/w_atanhf.c: Likewise.
13023 * math/w_atanhl.c: Likewise.
13024 * math/w_exp10.c: Likewise.
13025 * math/w_exp10f.c: Likewise.
13026 * math/w_exp10l.c: Likewise.
13027 * math/w_fmod.c: Likewise.
13028 * math/w_fmodf.c: Likewise.
13029 * math/w_fmodl.c: Likewise.
13030 * math/w_j0.c: Likewise.
13031 * math/w_j0f.c: Likewise.
13032 * math/w_j0l.c: Likewise.
13033 * math/w_j1.c: Likewise.
13034 * math/w_j1f.c: Likewise.
13035 * math/w_j1l.c: Likewise.
13036 * math/w_jn.c: Likewise.
13037 * math/w_jnf.c: Likewise.
13038 * math/w_log.c: Likewise.
13039 * math/w_logf.c: Likewise.
13040 * math/w_logl.c: Likewise.
13041 * math/w_log10.c: Likewise.
13042 * math/w_log10f.c: Likewise.
13043 * math/w_log10l.c: Likewise.
13044 * math/w_log2.c: Likewise.
13045 * math/w_log2f.c: Likewise.
13046 * math/w_log2l.c: Likewise.
13047 * math/w_pow.c: Likewise.
13048 * math/w_powf.c: Likewise.
13049 * math/w_powl.c: Likewise.
13050 * math/w_remainder.c: Likewise.
13051 * math/w_remainderf.c: Likewise.
13052 * math/w_remainderl.c: Likewise.
13053 * math/w_scalb.c: Likewise.
13054 * math/w_scalbf.c: Likewise.
13055 * math/w_scalbl.c: Likewise.
13056 * math/w_sqrt.c: Likewise.
13057 * math/w_sqrtf.c: Likewise.
13058 * math/w_sqrtl.c: Likewise.
13059 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13060 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13061 used.
13062 * math/math_private.h: Declare __kernel_standard_f.
13063 * math/w_cosh.c: Remove cruft and optimize a bit.
13064 * math/w_coshf.c: Likewise.
13065 * math/w_coshl.c: Likewise.
13066 * math/w_exp2.c: Likewise.
13067 * math/w_exp2f.c: Likewise.
13068 * math/w_exp2l.c: Likewise.
13069 * math/w_hypot.c: Likewise.
13070 * math/w_hypotf.c: Likewise.
13071 * math/w_hypotl.c: Likewise.
13072 * math/w_lgamma.c: Likewise.
13073 * math/w_lgamma_r.c: Likewise.
13074 * math/w_lgammaf.c: Likewise.
13075 * math/w_lgammaf_r.c: Likewise.
13076 * math/w_lgammal.c: Likewise.
13077 * math/w_lgammal_r.c: Likewise.
13078 * math/w_sinh.c: Likewise.
13079 * math/w_sinhf.c: Likewise.
13080 * math/w_sinhl.c: Likewise.
13081 * math/w_tgamma.c: Likewise.
13082 * math/w_tgammaf.c: Likewise.
13083 * math/w_tgammal.c: Likewise.
13084 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13086 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13087 Minor optimizations. Pretty printing. Remove cruft.
13088 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13089 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13090 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13091 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13092 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13093 * sysdeps/i386/fpu/e_asin.S: Likewise.
13094 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13095 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13096 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13097 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13098 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13099 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13100 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13101 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13102 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13103 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13104 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13105 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13106 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13107 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13108 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13109 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13110 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13111 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13112 * sysdeps/i386/fpu/e_log.S: Likewise.
13113 * sysdeps/i386/fpu/e_log10.S: Likewise.
13114 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13115 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13116 * sysdeps/i386/fpu/e_log2.S: Likewise.
13117 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13118 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13119 * sysdeps/i386/fpu/e_logf.S: Likewise.
13120 * sysdeps/i386/fpu/e_logl.S: Likewise.
13121 * sysdeps/i386/fpu/e_pow.S: Likewise.
13122 * sysdeps/i386/fpu/e_powf.S: Likewise.
13123 * sysdeps/i386/fpu/e_powl.S: Likewise.
13124 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13125 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13126 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13127 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13128 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13129 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13130 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13131 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13132 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13136 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13137 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13138 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13139 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13140 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13141 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13142 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13143 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13144 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13149 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13153 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13154 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13157 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13158 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13159 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13160 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13161 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13162 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13163 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13164 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13166 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13167 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13168 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13169 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13170 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13171 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13172 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13173 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13174 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13182 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13183 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13184 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13185 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13186 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13188 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13189 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13190 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13191 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13194 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13197 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13207 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13209 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13212 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13213 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13214 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13216 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13217 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13218 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13219 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13220 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13221 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13222 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13224 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13225 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13226 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13227 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13228 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13229 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13230 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13231 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13232 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13233 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13234 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13235 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13236 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13237 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13238 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13239 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13241 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13242 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13243 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13244 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13245 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13246 (__isnanf): Likewise.
13247 (__isinf_ns): Likewise.
13248 (__isinf_nsf): Likewise.
13249 (__finite): Likewise.
13250 (__finitef): Likewise.
13251 (__ieee754_sqrt): Define as macro.
13252 (__ieee754_sqrtf): Define as macro.
13253 (__ieee754_sqrtl): Define as macro.
13254 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13255 inlined copy.
13256 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13257 __FINITE_MATH_ONLY__ consistent.
13258 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13259
12cc2fcd
AS
132602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13261
a843a204
AS
13262 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13263 of rawmemchr.
13264
12cc2fcd
AS
13265 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13266
c853acd5
UD
132672011-10-09 Ulrich Drepper <drepper@gmail.com>
13268
13269 * po/ja.po: Update from translation team.
13270
c658d255
RM
132712011-10-08 Roland McGrath <roland@hack.frob.com>
13272
110946e4
RM
13273 * locale/programs/locarchive.c (prepare_address_space): New function.
13274 (create_archive, enlarge_archive, open_archive): Use it.
13275
50604220
RM
13276 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13277 inside [SHARED], where it is used.
13278
c658d255
RM
13279 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13280
13281 * nss/getent.c (netgroup_keys): Remove unused variable.
13282 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13283
6a621eb7
UD
132842011-10-08 Ulrich Drepper <drepper@gmail.com>
13285
7edb55ce
UD
13286 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13287 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13289 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13290 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13291 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13292 * math/Makefile (libm-calls): Add s_isinf_ns.
13293 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13294 * math/multc3.c: Likewise.
13295 * math/s_casin.c: Likewise.
13296 * math/s_casinf.c: Likewise.
13297 * math/s_casinl.c: Likewise.
13298 * math/s_ccos.c: Likewise.
13299 * math/s_ccosf.c: Likewise.
13300 * math/s_ccosl.c: Likewise.
13301 * math/s_ctan.c: Likewise.
13302 * math/s_ctanf.c: Likewise.
13303 * math/s_ctanh.c: Likewise.
13304 * math/s_ctanhf.c: Likewise.
13305 * math/s_ctanhl.c: Likewise.
13306 * math/s_ctanl.c: Likewise.
13307 * math/w_fmod.c: Likewise.
13308 * math/w_fmodf.c: Likewise.
13309 * math/w_fmodl.c: Likewise.
13310 * math/w_remainder.c: Likewise.
13311 * math/w_remainderf.c: Likewise.
13312 * math/w_remainderl.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13314 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13317 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13318 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13319 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13320 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13321
187da0ae
UD
13322 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13323 of the number.
13324 * stdio-common/printf_fphex.c: Likewise.
13325 * stdio-common/printf_size.c: Likewise.
13326
9277c064
UD
13327 * math/e_exp10.c: Include math_private.h using <...> not "...".
13328 * math/e_exp10f.c: Likewise.
13329 * math/e_exp10l.c: Likewise.
13330 * math/e_exp2l.c: Likewise.
13331 * math/e_j0l.c: Likewise.
13332 * math/e_j1l.c: Likewise.
13333 * math/e_jnl.c: Likewise.
13334 * math/e_lgammal_r.c: Likewise.
13335 * math/e_rem_pio2l.c: Likewise.
13336 * math/e_scalb.c: Likewise.
13337 * math/e_scalbf.c: Likewise.
13338 * math/e_scalbl.c: Likewise.
13339 * math/k_cosl.c: Likewise.
13340 * math/k_sinl.c: Likewise.
13341 * math/k_tanl.c: Likewise.
13342 * math/s_cacoshf.c: Likewise.
13343 * math/s_catan.c: Likewise.
13344 * math/s_catanf.c: Likewise.
13345 * math/s_catanh.c: Likewise.
13346 * math/s_catanhf.c: Likewise.
13347 * math/s_catanhl.c: Likewise.
13348 * math/s_catanl.c: Likewise.
13349 * math/s_ccosh.c: Likewise.
13350 * math/s_ccoshf.c: Likewise.
13351 * math/s_ccoshl.c: Likewise.
13352 * math/s_cexp.c: Likewise.
13353 * math/s_cexpf.c: Likewise.
13354 * math/s_cexpl.c: Likewise.
13355 * math/s_clog.c: Likewise.
13356 * math/s_clog10.c: Likewise.
13357 * math/s_clog10f.c: Likewise.
13358 * math/s_clog10l.c: Likewise.
13359 * math/s_clogf.c: Likewise.
13360 * math/s_clogl.c: Likewise.
13361 * math/s_csin.c: Likewise.
13362 * math/s_csinf.c: Likewise.
13363 * math/s_csinh.c: Likewise.
13364 * math/s_csinhf.c: Likewise.
13365 * math/s_csinhl.c: Likewise.
13366 * math/s_csinl.c: Likewise.
13367 * math/s_csqrt.c: Likewise.
13368 * math/s_csqrtf.c: Likewise.
13369 * math/s_csqrtl.c: Likewise.
13370 * math/s_ctan.c: Likewise.
13371 * math/s_ctanf.c: Likewise.
13372 * math/s_ctanh.c: Likewise.
13373 * math/s_ctanhf.c: Likewise.
13374 * math/s_ctanhl.c: Likewise.
13375 * math/s_ctanl.c: Likewise.
13376 * math/s_ldexp.c: Likewise.
13377 * math/s_ldexpf.c: Likewise.
13378 * math/s_ldexpl.c: Likewise.
13379 * math/s_significand.c: Likewise.
13380 * math/s_significandf.c: Likewise.
13381 * math/s_significandl.c: Likewise.
13382 * math/w_acos.c: Likewise.
13383 * math/w_acosf.c: Likewise.
13384 * math/w_acosh.c: Likewise.
13385 * math/w_acoshf.c: Likewise.
13386 * math/w_acoshl.c: Likewise.
13387 * math/w_acosl.c: Likewise.
13388 * math/w_asin.c: Likewise.
13389 * math/w_asinf.c: Likewise.
13390 * math/w_asinl.c: Likewise.
13391 * math/w_atan2.c: Likewise.
13392 * math/w_atan2f.c: Likewise.
13393 * math/w_atan2l.c: Likewise.
13394 * math/w_atanh.c: Likewise.
13395 * math/w_atanhf.c: Likewise.
13396 * math/w_atanhl.c: Likewise.
13397 * math/w_cosh.c: Likewise.
13398 * math/w_coshf.c: Likewise.
13399 * math/w_coshl.c: Likewise.
13400 * math/w_dremf.c: Likewise.
13401 * math/w_exp10.c: Likewise.
13402 * math/w_exp10f.c: Likewise.
13403 * math/w_exp10l.c: Likewise.
13404 * math/w_exp2.c: Likewise.
13405 * math/w_exp2f.c: Likewise.
13406 * math/w_fmod.c: Likewise.
13407 * math/w_fmodf.c: Likewise.
13408 * math/w_fmodl.c: Likewise.
13409 * math/w_hypot.c: Likewise.
13410 * math/w_hypotf.c: Likewise.
13411 * math/w_hypotl.c: Likewise.
13412 * math/w_j0.c: Likewise.
13413 * math/w_j0f.c: Likewise.
13414 * math/w_j0l.c: Likewise.
13415 * math/w_j1.c: Likewise.
13416 * math/w_j1f.c: Likewise.
13417 * math/w_j1l.c: Likewise.
13418 * math/w_jn.c: Likewise.
13419 * math/w_jnf.c: Likewise.
13420 * math/w_jnl.c: Likewise.
13421 * math/w_lgamma.c: Likewise.
13422 * math/w_lgamma_r.c: Likewise.
13423 * math/w_lgammaf.c: Likewise.
13424 * math/w_lgammaf_r.c: Likewise.
13425 * math/w_lgammal.c: Likewise.
13426 * math/w_lgammal_r.c: Likewise.
13427 * math/w_log.c: Likewise.
13428 * math/w_log10.c: Likewise.
13429 * math/w_log10f.c: Likewise.
13430 * math/w_log10l.c: Likewise.
13431 * math/w_log2.c: Likewise.
13432 * math/w_log2f.c: Likewise.
13433 * math/w_log2l.c: Likewise.
13434 * math/w_logf.c: Likewise.
13435 * math/w_logl.c: Likewise.
13436 * math/w_pow.c: Likewise.
13437 * math/w_powf.c: Likewise.
13438 * math/w_powl.c: Likewise.
13439 * math/w_remainder.c: Likewise.
13440 * math/w_remainderf.c: Likewise.
13441 * math/w_remainderl.c: Likewise.
13442 * math/w_scalb.c: Likewise.
13443 * math/w_scalbf.c: Likewise.
13444 * math/w_scalbl.c: Likewise.
13445 * math/w_sinh.c: Likewise.
13446 * math/w_sinhf.c: Likewise.
13447 * math/w_sinhl.c: Likewise.
13448 * math/w_sqrt.c: Likewise.
13449 * math/w_sqrtf.c: Likewise.
13450 * math/w_sqrtl.c: Likewise.
13451 * math/w_tgamma.c: Likewise.
13452 * math/w_tgammaf.c: Likewise.
13453 * math/w_tgammal.c: Likewise.
13454
6a621eb7
UD
13455 * po/ja.po: Update from translation team.
13456
bf582445
AJ
134572011-09-29 Andreas Jaeger <aj@suse.de>
13458
f9efbf3a
AJ
13459 [BZ #13179]
13460 * sunrpc/netname.c (netname2host): Fix logic.
13461
bf582445
AJ
13462 [BZ #6779]
13463 [BZ #6783]
13464 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13465 correctly.
13466 * math/w_remainder.c (__remainder): Likewise.
13467 * math/w_remainderf.c (__remainderf): Likewise.
13468 * math/libm-test.inc (remainder_test): Add test cases.
13469
48693bea
AK
134702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13471
13472 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13473 sdiv_qrnnd.
13474
42622229
LD
134752011-10-07 Ulrich Drepper <drepper@gmail.com>
13476
13477 * string/test-memcmp.c: Avoid unncessary #defines.
13478 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13479
093ecf92
LD
134802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13481
13482 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13483 Use new sse2 version for core i3 - i7 as it's faster
13484 than sse42 version.
13485 (bit_Prefer_PMINUB_for_stringop): New.
13486 * sysdeps/x86_64/rawmemchr.S: Update.
13487 Replace with faster SSE2 version.
13488 * sysdeps/x86_64/memrchr.S: New file.
13489 * sysdeps/x86_64/memchr.S: Update.
13490 Replace with faster SSE2 version.
13491
fde56e5c
MP
134922011-09-12 Marek Polacek <mpolacek@redhat.com>
13493
13494 * elf/dl-load.c (lose): Add cast to avoid warning.
13495
21fd49a9
UD
134962011-10-07 Ulrich Drepper <drepper@gmail.com>
13497
5a06e643
UD
13498 * po/ca.po: Update from translation team.
13499
684ae515
UD
13500 * inet/getnetgrent_r.c: Hook up nscd.
13501 * nscd/Makefile (routines): Add nscd_netgroup.
13502 (nscd-modules): Add netgroupcache.
13503 (CFLAGS-netgroupcache.c): Define.
13504 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13505 (cache_search): Add const to second parameter.
13506 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13507 INNETGR.
13508 (dbs): Add netgrdb entry.
13509 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13510 (verify_persistent_db): Handle netgrdb.
13511 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13512 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13513 GETFDNETGR.
13514 (netgroup_response_header): Define.
13515 (innetgroup_response_header): Define.
13516 (datahead): Add netgroup_response_header and innetgroup_response_header
13517 elements.
13518 * nscd/nscd.conf: Add entries for netgroup cache.
13519 * nscd/nscd.h (dbtype): Add netgrdb.
13520 (_PATH_NSCD_NETGROUP_DB): Define.
13521 (netgroup_iov_disabled): Declare.
13522 (xmalloc, xcalloc, xrealloc): Move declarations here.
13523 (cache_search): Adjust prototype.
13524 Add netgroup-related prototypes.
13525 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13526 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13527 (__nscd_innetgr): Declare.
13528 * nscd/selinux.c (perms): Use access_vector_t as element type and
13529 add netgroup-related initializers.
13530 * nscd/netgroupcache.c: New file.
13531 * nscd/nscd_netgroup.c: New file.
13532 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13533 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13534 For four parameters use innetgr.
13535 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13536 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13537 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13538 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13539
21fd49a9
UD
13540 * nscd/connections.c (register_traced_file): Don't register file
13541 for disabled databases.
13542
054c0457
UD
135432011-10-06 Ulrich Drepper <drepper@gmail.com>
13544
32b63198
UD
13545 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13546
054c0457
UD
13547 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13548 from tree and freeing node.
13549
64031225
JO
135502011-09-25 Jiri Olsa <jolsa@redhat.com>
13551
13552 * nss/nsswitch.c (__nss_database_lookup): Handle
13553 nss_parse_service_list out of memory case.
13554
0490345c
JO
135552011-09-15 Jiri Olsa <jolsa@redhat.com>
13556
13557 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13558 out of memory case.
13559
3a62d00d
AS
135602011-10-04 Andreas Schwab <schwab@redhat.com>
13561
13562 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13563 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13564 pass it down.
13565 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13566 elf_machine_rela, elf_machine_lazy_rel.
13567 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13568 (ELF_DYNAMIC_DO_REL): Likewise.
13569 (ELF_DYNAMIC_DO_RELA): Likewise.
13570 (ELF_DYNAMIC_RELOCATE): Likewise.
13571 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13572 to ELF_DYNAMIC_DO_REL.
13573 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13574 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13575 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13576 elf_machine_rela.
13577 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13578 skip_ifunc, don't call ifunc function if non-zero.
13579 (elf_machine_rela): Likewise.
13580 (elf_machine_lazy_rel): Likewise.
13581 (elf_machine_lazy_rela): Likewise.
13582 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13583 (elf_machine_lazy_rel): Likewise.
13584 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13585 Likewise.
13586 (elf_machine_lazy_rel): Likewise.
13587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13588 Likewise.
13589 (elf_machine_lazy_rel): Likewise.
13590 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13591 (elf_machine_lazy_rel): Likewise.
13592 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13593 (elf_machine_lazy_rel): Likewise.
13594 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13595 (elf_machine_lazy_rel): Likewise.
13596 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13597 (elf_machine_lazy_rel): Likewise.
13598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13599 (elf_machine_lazy_rel): Likewise.
13600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13601 (elf_machine_lazy_rel): Likewise.
13602
68577918
UD
136032011-09-28 Ulrich Drepper <drepper@gmail.com>
13604
13605 * nss/nss_files/files-init.c (_nss_files_init): Use static
13606 initialization for all the *_traced_file variables.
13607
68822d74
AS
136082011-09-28 Andreas Schwab <schwab@redhat.com>
13609
13610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13611
2056100b
RM
136122011-09-27 Roland McGrath <roland@hack.frob.com>
13613
13614 [BZ #13226]
13615 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13616
32c76b63
AS
136172011-09-27 Andreas Schwab <schwab@redhat.com>
13618
13619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13620 Reread the line before reparsing it.
13621
bf972c9d
AS
136222011-09-26 Andreas Schwab <schwab@redhat.com>
13623
13624 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13625
e057a1b5
JM
136262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13627 Maxim Kuvyrkov <maxim@codesourcery.com>
13628 Joseph Myers <joseph@codesourcery.com>
13629
13630 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13631 if needed for __stack_chk_guard.
13632
bc7e1c36
RM
136332011-09-19 Roland McGrath <roland@hack.frob.com>
13634
ecb1482f
RM
13635 * sysdeps/posix/spawni.c (script_execute): Always define it.
13636 It will be optimized away if unused.
13637 (maybe_script_execute): New function.
13638 (__spawni): Call it.
13639
bc7e1c36
RM
13640 * Makerules: Don't include tls.make.
13641 (config-tls): Always set to thread.
13642 * tls.make.c: File removed.
13643
1c3b002b
MF
136442011-09-19 Mike Frysinger <vapier@gentoo.org>
13645
13646 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13647 * config.make.in (CPPFLAGS-config): New substituted variable.
13648
2840865d
UD
136492011-09-15 Ulrich Drepper <drepper@gmail.com>
13650
88738eb6
UD
13651 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13652
cbf645a6 13653 [BZ #13192]
2840865d
UD
13654 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13655 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13656
b402e91a
RM
136572011-09-15 Roland McGrath <roland@hack.frob.com>
13658
13659 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13660 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13662 (CALL_FAIL): Likewise.
13663 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13664 (CALL_FAIL): Macro removed.
13665 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13666
4c1a1f71
UD
136672011-09-15 Ulrich Drepper <drepper@gmail.com>
13668
13669 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13670 for __FINITE_MATH_ONLY__ == 1.
13671
edc121be
AS
136722011-09-15 Andreas Schwab <schwab@redhat.com>
13673
13674 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13675 __ieee754_sqrt instead of sqrt.
13676 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13677 __ieee754_sqrtf instead of sqrtf.
13678 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13679 __floorf instead of floorf.
13680 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13681 __floorf, __truncf instead of floorf, truncf.
13682
cd205654
UD
136832011-09-14 Ulrich Drepper <drepper@gmail.com>
13684
ee4d0315
UD
13685 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13686
cd205654
UD
13687 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13688 __extern_always_inline.
13689 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13690 32-bit.
13691
48b67d71
AS
136922011-09-14 Andreas Schwab <schwab@redhat.com>
13693
13694 * elf/rtld.c (dl_main): Also relocate in dependency order when
13695 doing symbol dependency testing.
13696
1ae12c75
AS
136972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13698
13699 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13700 Always define `refsym'.
13701
995a80df
AS
137022011-09-13 Andreas Schwab <schwab@redhat.com>
13703
e529793b
AS
13704 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13705 (__FD_ELT): Renamed from __FDELT.
13706 * misc/bits/select2.h (__FD_ELT): Likewise.
13707 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13708 __FD_MASK instead of __FDELT, __FDMASK.
13709 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13710 Likewise.
13711 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13712 Likewise.
13713
52d4fef8
AS
13714 * elf/Makefile (gen-ldd): Fix pattern.
13715
995a80df
AS
13716 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13717 (init_tls): Likewise.
13718
8682f8b0
UD
137192011-09-12 Ulrich Drepper <drepper@gmail.com>
13720
13721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13722
de82006d
AS
137232011-09-12 Andreas Schwab <schwab@redhat.com>
13724
a7c8e6a1
AS
13725 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13726 `struct cmsghdr *' instead of `void *'.
13727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13728 Likewise.
13729
0f31fe77
AS
137302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13731
13732 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13733 if non-absolute.
13734 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13735 ldd_rewrite_script.
0f31fe77 13736
32b4c839
UD
137372011-09-11 Ulrich Drepper <drepper@gmail.com>
13738
83cd1420
UD
13739 * configure.in: Remove --with-tls option.
13740 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13741 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13742 out in case it is missing.
13743 * sysdeps/ia64/elf/configure.in: Likewise.
13744 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13745 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13746 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13747 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13748 * sysdeps/sh/elf/configure.in: Likewise.
13749 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13750 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13751 * sysdeps/x86_64/elf/configure.in: Likewise.
13752 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13753 * sysdeps/mach/hurd/tls.h: Likewise.
13754
633f745d
UD
13755 [BZ #13067]
13756 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13757
f318beb8
UD
13758 [BZ #13090]
13759 * configure.in: Fix use of AC_INIT.
13760
32b4c839
UD
13761 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13762
3ce1f295
UD
137632011-09-10 Ulrich Drepper <drepper@gmail.com>
13764
bb016596
UD
13765 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13766 __set_errno.
8e58439c
UD
13767 * malloc/hooks.c: Likewise.
13768
aebae053 13769 [BZ #11929]
02d46fc4
UD
13770 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13771 variables statically.
13772 (narenas): Initialize.
13773 (list_lock): Initialize.
bb016596
UD
13774 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13775 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13776 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13777 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13778 Add initializers to main_arena and mp_.
13779 (malloc_state): Remove pagesize member. Change all users to use
13780 GLRO(dl_pagesize).
13781
13782 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13783 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13784 is always initialized.
13785
22a89187
UD
13786 * malloc/malloc.c: Removed unused configurations and dead code.
13787 * malloc/arena.c: Likewise.
13788 * malloc/hooks.c: Likewise.
02d46fc4 13789 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13790
d063d164
UD
13791 * include/tls.h: Removed. USE___THREAD must always be defined.
13792 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13793 * elf/dl-libc.c: Likewise.
13794 * elf/dl-tsd.c: Likewise.
13795 * include/errno.h: Likewise.
13796 * include/netdb.h: Likewise.
13797 * include/resolv.h: Likewise.
13798 * inet/herrno-loc.c: Likewise.
13799 * inet/herrno.c: Likewise.
13800 * malloc/arena.c: Likewise.
13801 * malloc/hooks.c: Likewise.
13802 * malloc/malloc.c: Likewise.
13803 * resolv/res-state.c: Likewise.
13804 * resolv/res_libc.c: Likewise.
13805 * sysdeps/i386/dl-machine.h: Likewise.
13806 * sysdeps/ia64/dl-machine.h: Likewise.
13807 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13808 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13809 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13810 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13811 * sysdeps/sh/dl-machine.h: Likewise.
13812 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13813 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13814 * sysdeps/unix/i386/sysdep.S: Likewise.
13815 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13816 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13821 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13825 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13826 * sysdeps/x86_64/dl-machine.h: Likewise.
13827 * tls.make.c: Likewise.
13828
3ce1f295
UD
13829 * configure.in: Remove --with-__thread option. Make tests for
13830 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13831 tls_model attribute fail if no support is available. Remove
13832 USE_IN_LIBIO.
13833 * Makeconfig: Adjust for dropped configure option. All features are
13834 now mandatory.
13835 * Makerules: Likewise.
13836 * Versions.def: Likewise.
13837 * argp/argp-fmtstream.c: Likewise.
13838 * argp/argp-fmtstream.h: Likewise.
13839 * argp/argp-help.c: Likewise.
13840 * assert/assert.c: Likewise.
13841 * config.h.in: Likewise.
13842 * config.make.in: Likewise.
13843 * configure: Likewise.
13844 * configure.in: Likewise.
13845 * csu/Versions: Likewise.
13846 * csu/init.c: Likewise.
13847 * elf/tst-audit2.c: Likewise.
13848 * elf/tst-tls10.c: Likewise.
13849 * elf/tst-tls10.h: Likewise.
13850 * elf/tst-tls11.c: Likewise.
13851 * elf/tst-tls12.c: Likewise.
13852 * elf/tst-tls14.c: Likewise.
13853 * elf/tst-tlsmod11.c: Likewise.
13854 * elf/tst-tlsmod12.c: Likewise.
13855 * elf/tst-tlsmod13.c: Likewise.
13856 * elf/tst-tlsmod13a.c: Likewise.
13857 * elf/tst-tlsmod14a.c: Likewise.
13858 * elf/tst-tlsmod15b.c: Likewise.
13859 * elf/tst-tlsmod16a.c: Likewise.
13860 * elf/tst-tlsmod16b.c: Likewise.
13861 * elf/tst-tlsmod7.c: Likewise.
13862 * elf/tst-tlsmod8.c: Likewise.
13863 * elf/tst-tlsmod9.c: Likewise.
13864 * gmon/gmon.c: Likewise.
13865 * grp/fgetgrent_r.c: Likewise.
13866 * grp/putgrent.c: Likewise.
13867 * hurd/fopenport.c: Likewise.
13868 * include/libc-symbols.h: Likewise.
13869 * include/tls.h: Likewise.
13870 * intl/gettextP.h: Likewise.
13871 * intl/loadinfo.h: Likewise.
13872 * locale/global-locale.c: Likewise.
13873 * locale/localeinfo.h: Likewise.
13874 * mach/devstream.c: Likewise.
13875 * malloc/arena.c: Likewise.
13876 * malloc/set-freeres.c: Likewise.
13877 * misc/err.c: Likewise.
13878 * misc/getttyent.c: Likewise.
13879 * misc/mntent_r.c: Likewise.
13880 * posix/getopt.c: Likewise.
13881 * posix/wordexp.c: Likewise.
13882 * pwd/fgetpwent_r.c: Likewise.
13883 * resolv/Versions: Likewise.
13884 * resolv/res_hconf.c: Likewise.
13885 * shadow/fgetspent_r.c: Likewise.
13886 * shadow/putspent.c: Likewise.
13887 * stdio-common/printf_fphex.c: Likewise.
13888 * stdio-common/tmpfile.c: Likewise.
13889 * stdlib/abort.c: Likewise.
13890 * stdlib/fmtmsg.c: Likewise.
13891 * sunrpc/auth_unix.c: Likewise.
13892 * sunrpc/clnt_perr.c: Likewise.
13893 * sunrpc/clnt_tcp.c: Likewise.
13894 * sunrpc/clnt_udp.c: Likewise.
13895 * sunrpc/clnt_unix.c: Likewise.
13896 * sunrpc/openchild.c: Likewise.
13897 * sunrpc/svc_simple.c: Likewise.
13898 * sunrpc/svc_tcp.c: Likewise.
13899 * sunrpc/svc_udp.c: Likewise.
13900 * sunrpc/svc_unix.c: Likewise.
13901 * sunrpc/xdr.c: Likewise.
13902 * sunrpc/xdr_array.c: Likewise.
13903 * sunrpc/xdr_rec.c: Likewise.
13904 * sunrpc/xdr_ref.c: Likewise.
13905 * sunrpc/xdr_stdio.c: Likewise.
13906
1248c1c4
PB
139072011-09-09 Ulrich Drepper <drepper@gmail.com>
13908
13909 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13910
139112011-07-03 Andreas Jaeger <aj@suse.de>
13912
13913 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13914 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13915 regenerate with gen-libm-tests.pl.
13916
139172010-05-12 Petr Baudis <pasky@suse.cz>
13918
13919 [BZ #11589]
13920 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13921 around j0() zero points by switching to j1().
13922 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13925 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13926
f22e1074
UD
139272011-09-09 Ulrich Drepper <drepper@gmail.com>
13928
f19009c1
UD
13929 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13930 instead of 0.
13931 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13932 instead of 0. .
13933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13934 Patch in part by Pavel Roskin <proski@gnu.org>.
13935
3f8cc204
UD
13936 [BZ #13138]
13937 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13938 realloc.
13939 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13940 Free memory block if necessary.
13941
f22e1074
UD
13942 [BZ #12847]
13943 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13944 be NULL. Don't lock in this case.
13945
0a2349f9
RM
139462011-09-09 Roland McGrath <roland@hack.frob.com>
13947
13948 * elf/elf.h (ELFOSABI_GNU): New macro.
13949 (ELFOSABI_LINUX): Define to that.
13950
f3cdd467
DZ
139512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13952
13953 * string/strncat.c (strncat): Undef the symbol in case it has been
13954 defined in bits/string.h.
13955
74718d13
UD
139562011-09-09 Ulrich Drepper <drepper@gmail.com>
13957
633e9e0f
UD
13958 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13959
0a2349f9 13960 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13961 link map.
13962
f9924780
AJ
139632011-08-17 Andreas Jaeger <aj@suse.de>
13964
13965 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13966
7f5517aa
PP
139672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13968 Ian Lance Taylor <iant@google.com>
13969
13970 * math/libm-test.inc (lround_test): New testcase.
13971 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13972
762011fe
UD
139732011-09-08 Ulrich Drepper <drepper@gmail.com>
13974
92963737
UD
13975 * Makefile: Remove support for automatic cvs check-ins.
13976 * Makerules: Likewise.
13977 * config.make.in: Likewise.
13978 * configure.in: Likewise.
13979 * intl/Makefile: Likewise.
13980 * locale/Makefile: Likewise.
13981 * po/Makefile: Likewise.
13982 * posix/Makefile: Likewise.
13983 * sysdeps/gnu/Makefile: Likewise.
13984 * sysdeps/mach/hurd/Makefile: Likewise.
13985 * sysdeps/sparc/sparc32/Makefile: Likewise.
13986
b0727fd8
JS
13987 [BZ #13118]
13988 * posix/Makefile (bug-regex32-ENV): Define.
13989 Patch by John Stanley <jpsinthemix@verizon.net>.
13990
a0f33f99
UD
13991 * misc/Makefile (headers): Add bits/select2.h.
13992 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13993 * misc/bits/select2.h: New file.
13994 * include/bits/select2.h: New file.
13995 * debug/Makefile (routines): Add fdelt_chk.
13996 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13997 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13998 FD_ISSET.
13999 * debug/fdelt_chk.c: New file.
14000
762011fe
UD
14001 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14002 * wcsmbs/test-wmemcmp.c: Likewise.
14003 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14004 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14005
140062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14007
14008 * string/Makefile (strop-tests): Add memcmp.
14009 * string/test-wmemcmp.c: New file.
14010 * string/test-memcmp.c: Add wmemcmp support.
14011
7f513ec8
RM
140122011-09-08 Roland McGrath <roland@hack.frob.com>
14013
0442afb4
RM
14014 [BZ #13153]
14015 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14016 2011-07-19 change.
14017
7f513ec8
RM
14018 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14019 garbage value in a __mach_port_mod_refs call in the cases of the
14020 task-self and thread-self ports.
14021
a12b2239
ST
140222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14023
14024 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14025
610f9ab4
AS
140262011-09-08 Andreas Schwab <schwab@redhat.com>
14027
7f513ec8 14028 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14029
48882a1a
LD
140302011-09-07 Ulrich Drepper <drepper@gmail.com>
14031
b49865be
UD
14032 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14033
fdc86bc9
UD
14034 * elf/dl-libc.c (dlerror_run): Pass back error code from
14035 dl_catch_error.
14036
c966526a
UD
14037 [BZ #13123]
14038 * elf/dl-load.c (lose): Free l_origin if it is valid.
14039
48882a1a
LD
14040 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14041 names.
14042 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14045 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14046 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14047 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14048
77a2a8b4
AZ
140492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14050
14051 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14052 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14053 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14054 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14055 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14056 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14057 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14058 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14059 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14060 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14061
24f579d8
AM
140622011-08-15 Alan Modra <amodra@gmail.com>
14063
14064 [BZ #13092]
14065 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14066 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14067 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14068 ppc_mcount to static-only-routines.
14069 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14070 __mcount_internal.
14071 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14072 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14073
3d4837df
UD
140742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14075
14076 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14077 for finite and infinity parameters.
14078
22700377
WS
140792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14080
14081 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14082 and add nop instructions for throughput optimization.
14083 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14084
5025581e
WS
140852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14086
14087 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14088 aligned copy for power7 with vector-scalar instructions.
14089 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14090
08a300c9
L
140912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14092
14093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14094 AVX check.
14095
59178ef9
AS
140962011-09-07 Andreas Schwab <schwab@redhat.com>
14097
14098 [BZ #13144]
14099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14100 last change.
14101
e38ba7ab
UD
141022011-09-07 Ulrich Drepper <drepper@gmail.com>
14103
14104 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14105 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14106 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14107 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14108 clock_gettime.
14109
d53a73ac
UD
141102011-09-06 Ulrich Drepper <drepper@gmail.com>
14111
fc8bffcc
UD
14112 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14113 Forgot to demangle the pointer.
14114
ceaa0c5d
UD
14115 * sysdeps/i386/sysdep.h: Define atom_text_section.
14116 * sysdeps/x86_64/sysdep.h: Likewise.
14117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14118 section with atom_text_section.
14119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14120 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14121 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14122 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14123 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14124
a77d3c17
UD
14125 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14127 already be defined. Change to take two parameters and don't assign
14128 result to variable. Adjust all users.
14129 Define INTERNAL_GETTIME if not already defined.
14130 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14131 call.
14132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14133 HAVE_CLOCK_GETTIME_VSYSCALL.
14134 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14135
d53a73ac
UD
14136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14137 gettimeofday vsyscall, just use time.
14138
a8f84144
AS
141392011-09-06 Andreas Schwab <schwab@redhat.com>
14140
14141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14142 <errno.h>.
14143
ef606249
UD
141442011-09-06 Ulrich Drepper <drepper@gmail.com>
14145
14146 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14147 syscall on x86-64.
14148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14149 syscall.
14150 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14151 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14152 syscall if possible.
14153
6585cb60
UD
141542011-09-05 Ulrich Drepper <drepper@gmail.com>
14155
14156 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14157 e_ident. Don't pass to find_mapsXX.
14158 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14159
a5f524e4
LD
141602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14161
14162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14163 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14164 * sysdeps/x86_64/multiarch/strchr.S: Update.
14165 Check bit_slow_BSF bit.
14166 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14167 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14168 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14169
554881ef
UD
141702011-09-05 Ulrich Drepper <drepper@gmail.com>
14171
d96de963
UD
14172 [BZ #13134]
14173 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14174 before glibc 2.15.
14175 (tryshell): Define.
14176 (__spawni): Change last parameter to be flag. Test
14177 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14178 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14179 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14180 * posix/spawni.c: Likewise.
14181 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14182 * posix/spawnp.c: Likewise. Change normal version to use
14183 SPAWN_XFLAGS_USE_PATH.
14184 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14185 SPAWN_XFLAGS_TRY_SHELL.
14186
d48e5868
UD
14187 [BZ #13150]
14188 * posix/glob.h: Remove gcc 1.x support.
14189
554881ef
UD
14190 [BZ #13068]
14191 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14192
693fb948
LD
141932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14194
14195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14196 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14197 strrchr-sse2-bsf
14198 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14199 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14200 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14201 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14202 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14203 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14204
1b48c537
UD
142052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14206
49d42c37
UD
14207 * sysdeps/x86_64/wcscmp.S: New file.
14208
1b48c537
UD
14209 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14210 wcscmp-c wcscmp-sse2
14211 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14212 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14213 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14214 * wcsmbs/wcscmp.c: Allow renaming.
14215
15c95c5d
DM
142162011-09-05 David S. Miller <davem@davemloft.net>
14217
14218 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14219 stack slot, rather than the struct return pointer slot.
14220 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14221 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14223 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14224
2f0ad8f3
UD
142252011-09-05 Ulrich Drepper <drepper@gmail.com>
14226
d88ae418
UD
14227 * po/ja.po: Update from translation team.
14228
2f0ad8f3
UD
14229 [BZ #13144]
14230 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14231 kernel in 64-bit binaries.
14232
5f4318d1
DM
142332011-09-01 David S. Miller <davem@davemloft.net>
14234
14235 * elf/elf.h (HWCAP_SPARC_*): Move to..
14236 * sysdeps/sparc/sysdep.h: this new file and add new values.
14237 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14238 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14239 _DL_HWCAP_COUNT to 24.
14240 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14241 entries.
14242 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14243 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14244 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14246 instead of magic constants.
14247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14248
3ba57516
DM
142492011-08-31 David S. Miller <davem@davemloft.net>
14250
14251 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14253 Reimplement to do errno handling inline.
14254 (SYSCALL_ERROR_HANDLER): New macro.
14255 (__SYSCALL_STRING): Do not do errno handling in asm.
14256 (__CLONE_SYSCALL_STRING): Delete.
14257 (__INTERNAL_SYSCALL_STRING): Delete.
14258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14259 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14260 (PSEUDO): Reimplement to do errno handling inline.
14261 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14262 (SYSCALL_ERROR_HANDLER): New macro.
14263 (__SYSCALL_STRING): Do not do errno handling in asm.
14264 (__CLONE_SYSCALL_STRING): Delete.
14265 (__INTERNAL_SYSCALL_STRING): Delete.
14266 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14267 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14268 i386.
14269 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14270 (inline_syscall*): Add 'err' argument.
14271 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14272 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14273 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14274 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14275
14276 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14277 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14278
2bc17433
AS
142792011-08-30 Andreas Schwab <schwab@redhat.com>
14280
14281 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14282
fbeb5f4d
JO
142832011-08-29 Jiri Olsa <jolsa@redhat.com>
14284
14285 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14286 directive.
14287
ad69cc26
DM
142882011-08-24 David S. Miller <davem@davemloft.net>
14289
14290 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14291
39dd69df
AS
142922011-08-24 Andreas Schwab <schwab@redhat.com>
14293
14294 * elf/Makefile: Add rules to build and run unload8 test.
14295 * elf/unload8.c: New file.
14296 * elf/unload8mod1.c: New file.
14297 * elf/unload8mod1x.c: New file.
14298 * elf/unload8mod2.c: New file.
14299 * elf/unload8mod3.c: New file.
14300
14301 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14302 it wasn't used.
14303
2c0b250a
DM
143042011-08-23 David S. Miller <davem@davemloft.net>
14305
14306 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14307 subtract stack bias.
14308 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14309 %sp not %fp in calculations.
14310 (_JMPBUF_UNWINDS_ADJ): Likewise.
14311
22044b48
DM
14312 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14313 (aio_suspend): Call it to force an exception region around the
14314 AIO_MISC_WAIT() invocation.
14315
2cae4995
AS
143162011-08-23 Andreas Schwab <schwab@redhat.com>
14317
14318 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14319 backslash.
14320
873a772e
AJ
143212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14322
14323 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14324 protection macro.
14325 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14326 and <dl-machine.h>.
14327 (Elf64_FuncDesc): Remove.
14328
25ad0df1
DM
143292011-08-22 David S. Miller <davem@davemloft.net>
14330
14331 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14332 sigaltstack check, add missing cfi directives.
14333 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14334 missing cfi directives, and sigaltstack handling.
14335
e888bcbe
AS
143362011-08-16 Andreas Schwab <schwab@redhat.com>
14337
14338 [BZ #11724]
14339 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14340 object is seen twice.
14341 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14342
14343 * elf/Makefile (distribute): Add tst-initorder2.c.
14344 (tests): Add tst-initorder2.
14345 (modules-names): Add tst-initorder2a tst-initorder2b
14346 tst-initorder2c tst-initorder2d. Add rules to build them.
14347 ($(objpfx)tst-initorder2.out): New rule.
14348 * elf/tst-initorder2.c: New file.
14349 * elf/tst-initorder2.exp: New file.
14350
87162f46
AS
143512011-08-22 Andreas Schwab <schwab@redhat.com>
14352
70538b7f
AS
14353 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14354
f55ffe58
AS
14355 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14356 dependencies back to end of function.
14357
87162f46
AS
14358 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14359 $(elfobjdir)/ld.so.
14360
91b392a4
UD
143612011-08-21 Ulrich Drepper <drepper@gmail.com>
14362
14363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14364 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14366 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14367 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14368 of __vdso_gettimeofday.
14369 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14370 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14371 attribute_hidden.
14372 (_libc_vdso_platform_setup): Remove initialization of
14373 __vdso_gettimeofday and __vdso_time.
14374
5c43483f
UD
143752011-08-20 Ulrich Drepper <drepper@gmail.com>
14376
775a77e7
UD
14377 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14378 and fgetc_unlocked.
14379 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14380 getc_unlocked.
89f447ed 14381
49c74ba9
UD
14382 * elf/dl-open.c (add_to_global): Report additions to the global scope
14383 for LD_DEBUG=scopes.
14384 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14385 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14386
5c43483f
UD
14387 [BZ #13114]
14388 * stdio-common/Makefile (tests): Add bug24.
14389 * stdio-common/bug24.c: New file.
14390
a101b025
AJ
143912011-08-19 Andreas Jaeger <aj@suse.de>
14392
14393 [BZ #13114]
14394 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14395 non-existant file when using close-on-exec mode.
14396
c88f1766
UD
143972011-08-20 Ulrich Drepper <drepper@gmail.com>
14398
0276a718
UD
14399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14400 the very first instruction.
14401
c88f1766
UD
14402 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14403 the CFI state in the end.
14404 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14405 inclusion of dl-trampoline.h.
14406 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14407
51ccffa0
AS
144082011-08-19 Andreas Schwab <schwab@redhat.com>
14409
94d7165f
AS
14410 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14411 expectations for long double.
14412
51ccffa0
AS
14413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14414 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14415
fd708658 144162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14417
14418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14419 artificual limit depends upon the system page size.
14420
44f0a71e
UD
144212011-08-17 Ulrich Drepper <drepper@gmail.com>
14422
14423 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14424 * resolv/Makefile: Define CFLAGS-libresolv.
14425
8de79a24
AS
144262011-08-17 Andreas Schwab <schwab@redhat.com>
14427
14428 * nss/makedb.c (compute_tables): Make variables used in nested
14429 function static.
14430
27724598
UD
144312011-08-17 Ulrich Drepper <drepper@gmail.com>
14432
c5305d88
UD
14433 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14434 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14435 if buffer was too small.
14436
27724598
UD
14437 * elf/pldd.c (main): Attach to all threads in the process.
14438 Rewrite /proc handling to use *at functions.
14439
076fe015
UD
144402011-08-16 Ulrich Drepper <drepper@gmail.com>
14441
174baab3
UD
14442 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14443 specifies first scope to show.
14444 (dl_open_worker): Update callers. Move printing scope of new
14445 object to before the relocation.
44f0a71e 14446 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14447 * sysdeps/generic/ldsodefs.h: Update declaration.
14448
076fe015
UD
14449 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14450 string for the scope number.
14451
a60df2c3
UD
144522011-08-14 Ulrich Drepper <drepper@gmail.com>
14453
14454 * nscd/servicescache.c (cache_addserv): Make sure written is always
14455 initialized.
14456
5e4287d1
RM
144572011-08-14 Roland McGrath <roland@hack.frob.com>
14458
85ae0589
RM
14459 * sysdeps/i386/i486/bits/atomic.h
14460 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14461 statement expression, so as to suppress "set but not used" warning.
14462 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14463
69f63097
RM
14464 * string/strncat.c (STRNCAT): Use prototype definition.
14465
675456ef
RM
14466 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14467 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14468 -Iprograms here.
14469 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14470 (localedef-modules): Add localedef.
14471 (locale-modules): Add locale.
14472
5e4287d1
RM
14473 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14474 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14475 to avoid a warning.
14476
9c96ff23
DM
144772011-08-14 David S. Miller <davem@davemloft.net>
14478
14479 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14480 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14481
f9ddf089
UD
144822011-08-13 Ulrich Drepper <drepper@gmail.com>
14483
44f0a71e 14484 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14485 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14486 * elf/rtld.c (dl_main): Set l_name of vDSO.
14487 Call _dl_show_scope when DL_DEBUG_SCOPES.
14488 (process_dl_debug): Recognize scopes flag and also set it for all.
14489 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14490 Declare _dl_show_scope.
14491
1dc27704
UD
14492 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14493 (do_dlopen): Pass caller_dlopen to dl_open.
14494 (__libc_dlopen_mode): Initialize caller_dlopen.
14495
f9ddf089
UD
14496 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14497 of libc. Make tolower call locale-independent. Optimize a bit by
14498 using isdigit instead of isalnum.
14499 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14500
9ac533d3
UD
145012011-08-12 Ulrich Drepper <drepper@gmail.com>
14502
14503 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14504 was a dependency or dynamically loaded.
14505
89edf2e9
UD
145062011-08-11 Ulrich Drepper <drepper@gmail.com>
14507
8e999d29
UD
14508 * intl/l10nflist.c: Allow architecture-specific pop function.
14509 * sysdeps/x86_64/l10nflist.c: New file.
14510
89edf2e9
UD
14511 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14512 classification.
14513
14d96785
AS
145142011-08-10 Andreas Schwab <schwab@redhat.com>
14515
14516 * include/dirent.h: Add libc_hidden_proto for scandirat and
14517 scandirat64. Don't declare __scandirat64.
14518 * dirent/scandirat.c: Add libc_hidden_def.
14519 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14520 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14521
6761ac04
DM
145222011-08-10 David S. Miller <davem@davemloft.net>
14523
14524 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14525 enum.
14526 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14529
c55fbd1e
UD
145302011-08-09 Ulrich Drepper <drepper@gmail.com>
14531
14532 * Versions.def [libc]: Add GLIBC_2.15.
14533 * dirent/Makefile (routines): Add scandirat and scandirat64.
14534 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14535 GLIBC_2.15.
14536 * dirent/dirent.h: Declare scandirat and scandirat64.
14537 * dirent/scandirat.c: New file.
14538 * dirent/scandirat64.c: New file.
14539 * sysdeps/wordsize-64/scandirat.c: New file.
14540 * sysdeps/wordsize-64/scandirat64.c: New file.
14541 * dirent/opendir.c: Define opendirat.
14542 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14543 using scandirat.
14544 * dirent/scandir64.c: Adjust for scandir.c change.
14545 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14546 __scandirat64, and __scandir_cancel_handler.
14547 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14548 additional parameter and use openat instead of open (outside of ld.so).
14549 Add new __opendir as wrapper around __opendirat.
14550 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14551 here without requiring old scandirat implementation.
14552
879165f2
UD
145532011-08-08 Ulrich Drepper <drepper@gmail.com>
14554
14555 * dirent/scandir.c (cancel_handler): Renamed to
14556 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14557 defined. Adjust users.
14558 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14559 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14560
cb7e923b
UD
145612011-08-04 Ulrich Drepper <drepper@gmail.com>
14562
16292edd
UD
14563 * string/test-string.h (IMPL): Use __STRING to expand name and then
14564 stringify it.
14565
cb7e923b
UD
14566 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14567 of cleanups.
14568
cff82933
LD
145692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14570
14571 * string/Makefile: Update.
14572 (strop-tests): Append strncat.
14573 * string/test-wcscmp.c: New file.
14574 New comprehensive test for wcscmp.
14575 * string/test-strcmp.c: Update.
14576 (WIDE): New define.
14577
9be9bfcc
AS
145782011-07-22 Andreas Schwab <schwab@redhat.com>
14579
14580 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14581 line.
14582
2e96f1c7
AS
145832011-07-26 Andreas Schwab <schwab@redhat.com>
14584
14585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14586 encoding to ACE if AI_IDN.
14587
85188888
JJ
145882011-08-01 Jakub Jelinek <jakub@redhat.com>
14589
14590 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14591 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14592
5fa16e9b
LD
145932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14594
14595 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14596 Fix overflow bug in strncat.
14597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14598
14599 * string/test-strncat.c: Update.
14600 Add new tests for checking overflow bugs.
14601
146022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14603
14604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14605 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14606 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14607 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14609 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14610 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14611 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14612 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14613
14614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14615 (USE_AS_STRCAT): Define.
14616 Add strcat and strncat support.
14617 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14618
8c1a459f
AS
146192011-07-25 Andreas Schwab <schwab@redhat.com>
14620
14621 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14622 __n bigger than INT_MAX+1.
14623 (__strncmp_g): Likewise.
14624
bba33c28
UD
146252011-07-23 Ulrich Drepper <drepper@gmail.com>
14626
798be72d
UD
14627 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14628 * libio/stido.h: Likewise.
14629
8accd4dc
UD
14630 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14631 (AF_NFC): Define.
14632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14633 (AF_NFC): Define.
14634
cbff0d96
UD
14635 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14638 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14639 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14640
9191c04a
UD
14641 [BZ #13021]
14642 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14643 installed.
14644
bba33c28
UD
14645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14646 typo.
14647 (_dl_x86_64_save_sse): Likewise.
14648
90f139dd
UD
146492011-07-22 Ulrich Drepper <drepper@gmail.com>
14650
1aae088a
UD
14651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14652 OSXSAVE.
14653 (_dl_x86_64_save_sse): Likewise.
14654
8e2045f5
UD
14655 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14656
90f139dd
UD
14657 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14658
1d002f25
AS
146592011-07-21 Andreas Schwab <schwab@redhat.com>
14660
14661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14662 change.
14663 (_dl_x86_64_save_sse): Use correct AVX check.
14664
21137f89
UD
146652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14666
14667 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14668 bug in strncpy/strncat.
14669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14670
a65c0b7a
UD
146712011-07-21 Ulrich Drepper <drepper@gmail.com>
14672
14673 * string/tester.c (test_strcat): Add tests for different alignments
14674 of source and destination.
14675 (test_strncat): Likewise.
14676
6986b98a
UD
146772011-07-20 Ulrich Drepper <drepper@gmail.com>
14678
90bb2039
UD
14679 [BZ #12852]
14680 * posix/glob.c (glob): Check passed in values before using them in
14681 expressions to avoid some overflows.
14682 (glob_in_dir): Likewise.
14683
5644ef54
UD
14684 [BZ #13007]
14685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14686 check for AVX enablement so that we don't crash with old kernels and
14687 new hardware.
14688 * elf/tst-audit4.c: Add same checks here.
14689 * elf/tst-audit6.c: Likewise.
14690
14691 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14692
bfc9dc9b
AS
146932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14694
14695 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14696
702e64bb
UD
146972011-07-20 Ulrich Drepper <drepper@gmail.com>
14698
14699 * po/cs.po: Update from translation team.
14700 * po/bg.po: Likewise.
14701
295e904f
MP
147022011-07-12 Marek Polacek <mpolacek@redhat.com>
14703
14704 * misc/sys/cdefs.h: Add support for const attribute.
14705 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14706 to gnu_dev_{major,minor,makedev} functions.
14707
3ff94596
MP
147082011-07-20 Marek Polacek <mpolacek@redhat.com>
14709
14710 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14711
28b59fca
AS
147122011-07-20 Andreas Schwab <schwab@redhat.com>
14713
14714 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14715 strlen results.
14716
19df733e
AK
147172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14718
14719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14720 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14721 register in order to avoid conflicts with the soft frame pointer
14722 being held in r11 when necessary.
14723 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14724 (INTERNAL_VSYSCALL_NCS): Likewise.
14725
c8835729
MP
147262011-07-14 Marek Polacek <mpolacek@redhat.com>
14727
14728 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14729 * elf/dl-fini.c (_dl_fini): Adjust caller.
14730 * elf/dl-close.c (_dl_close_worker): Likewise.
14731 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14732
b902330c
MP
147332011-07-15 Marek Polacek <mpolacek@redhat.com>
14734
8991e135
MP
14735 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14736 "aux_cache->nlibs < 0".
14737
b902330c
MP
14738 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14739 in the reload-count case.
14740
99710781
LD
147412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14742
14743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14744 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14745 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14746 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14747 * sysdeps/x86_64/multiarch/strcat.S: New file.
14748 * sysdeps/x86_64/multiarch/strncat.S: New file.
14749 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14750 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14751 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14752 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14754 (USE_AS_STRCAT): Define.
14755 Add strcat and strncat support.
14756 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14757 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14758 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14759 * string/strncat.c: Update.
14760 (USE_AS_STRNCAT): Define.
14761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14762 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14763 and i7.
14764 * sysdeps/x86_64/multiarch/init-arch.h
14765 (bit_Prefer_PMINUB_for_stringop): New.
14766 (index_Prefer_PMINUB_for_stringop): Likewise.
14767 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14768 bit_Prefer_PMINUB_for_stringop.
14769
7dc6bd90
UD
147702011-07-19 Ulrich Drepper <drepper@gmail.com>
14771
14772 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14773 buffer64.
14774 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14775 of casting of buffer.
14776 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14777 buffer32 and buffer64.
14778 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14779 writes instead of casting of buffer.
14780 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14781 buffer32.
14782 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14783 casting of buffer.
14784
e0e72284
AS
147852011-07-19 Andreas Schwab <schwab@redhat.com>
14786
14787 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14788
feb1eb0b
UD
147892011-07-19 Ulrich Drepper <drepper@gmail.com>
14790
14791 * nscd/nscd.c (termination_handler): Don't do anything for a database
14792 if it has not yet been initialized.
14793
298711ff
UD
147942011-07-18 Ulrich Drepper <drepper@gmail.com>
14795
14796 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14797
147982011-07-15 Marek Polacek <mpolacek@redhat.com>
14799
14800 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14801
f9d68389
UD
148022011-07-18 Ulrich Drepper <drepper@gmail.com>
14803
14804 * po/nl.po: Update from translation team.
14805 * po/sv.po: Likewise.
14806
db290cf5
RM
148072011-07-16 Roland McGrath <roland@hack.frob.com>
14808
14809 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14810 now disallowed by GCC.
5c550700 14811
fd5e21c7
RM
14812 * configure.in (use-default-link): Default to yes if a test -shared
14813 link meets our qualifications.
14814 * configure: Regenerated.
14815
5c550700
RM
14816 * config.make.in (output-format): New variable.
14817 * configure.in: Check for ld --print-output-format support.
14818 * configure: Regenerated.
14819 * Makerules ($(common-objpfx)format.lds)
14820 [$(output-format) != unknown]: Just use $(output-format),
14821 instead of the linker-script munging.
14822
9fa2c032
RM
148232011-07-14 Roland McGrath <roland@hack.frob.com>
14824
a6928d51
RM
14825 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14826 of $(common-objpfx)shlib.lds.
14827 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14828
661607b3
RM
14829 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14830 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14831
9fa2c032
RM
14832 * configure.in (-z relro check): Adjust test code to add a large
14833 writable data section after it.
14834 * configure: Regenerated.
14835
defe9061
RM
148362011-07-11 Roland McGrath <roland@hack.frob.com>
14837
14838 * configure.in (-z relro check): Fix test code to make the variable
14839 truly const.
14840 * configure: Regenerated.
14841
319b9ad4
UD
148422011-07-11 Ulrich Drepper <drepper@gmail.com>
14843
14844 * nscd/nscd.h (struct traced_file): Define.
14845 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14846 elements. Add traced_files.
14847 (inotify_fd): Declare.
14848 (register_traced_file): Declare.
14849 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14850 (inotify_fd): Export.
14851 (resolv_conf_descr): Remove.
14852 (nscd_init): Move inotify descriptor creation to main.
14853 Don't register files for notification here.
14854 (register_traced_file): New function.
14855 (invalidate_cache): Don't use reset_res to determine whether to call
14856 res_init, go through the list of registered files.
14857 (main_loop_poll): The inotify descriptors are now stored in the
14858 structures for the traced files.
14859 (main_loop_epoll): Likewise
14860 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14861 to __nss_disable_nscd.
14862 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14863 for a database anymore. Check the records for all the registered
14864 files instead.
14865 * nss/Makefile (libnss_files-routines): Add files-init.
14866 (libnss_db-routines): Add db-init.
14867 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14868 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14869 * nss/nss_db/db-init.c: New file.
14870 * nss/nss_files/files-init.c: New file.
14871 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14872 __nss_lookup_function.
14873 (__nss_lookup_function): Call nss_load_library.
14874 (nss_load_all_libraries): New function.
14875 (__nss_disable_nscd): Take parameter with callback function for files
14876 to register. Set is_nscd. Load all the DSOs for the NSS modules
14877 used for the cached services.
14878 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14879 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14880 options for features to all the files in nscd.
14881
14882 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14883
23bee3e8
RM
148842011-07-10 Roland McGrath <roland@hack.frob.com>
14885
14886 * csu/elf-init.c (__libc_csu_init): Comment typo.
14887
46a5b7f0
UD
148882011-07-09 Ulrich Drepper <drepper@gmail.com>
14889
14890 * po/pl.po: Update from translation team.
14891 * po/ja.po: Likewise.
14892 * po/ru.po: Likewise.
14893 * po/ko.po: Likewise.
14894 * po/fr.po: Likewise.
14895
d30cf5bb
RM
148962011-07-09 Roland McGrath <roland@hack.frob.com>
14897
113ddea4
RM
14898 * configure.in (.ctors/.dtors header and trailer check):
14899 Use an empirical test on a built program.
14900 * configure: Regenerated.
14901
574920b4
RM
14902 * configure.in (-z relro check): Use an empirical test on a built DSO.
14903 Detect, but do not require, on ia64.
14904 * configure: Regenerated.
14905
d30cf5bb
RM
14906 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14907 Update tests that use readelf to use $READELF instead.
14908 * configure: Regenerated.
14909
8538fdb3
UD
149102011-07-08 Ulrich Drepper <drepper@gmail.com>
14911
14912 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14913 if the result is not used.
14914
04d08991
AJ
149152011-07-05 Andreas Jaeger <aj@suse.de>
14916
14917 [BZ#9696]
14918 * stdlib/tst-strtod.c: Add testcase.
14919
de283087
AD
149202011-07-07 Ulrich Drepper <drepper@gmail.com>
14921
4e5f31c8 14922 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14923 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14924 The latter has a higher limit. Take additional parameter to pass to
14925 the new function.
14926 (__pathconf): Pass file to __statfs_link_max.
14927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14928 __statfs_link_max.
14929 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14930 __statfs_link_max.
14931
de283087
AD
14932 [BZ #12868]
14933 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14934 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14935 Handle Lustre.
14936 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14937 (__statfs_filesize_max): Likewise.
14938 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14939
c75fa153
AJ
149402011-07-05 Andreas Jaeger <aj@suse.de>
14941
14942 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14943
1a544854
UD
149442011-07-06 Marek Polacek <mpolacek@redhat.com>
14945
14946 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14947 `status' variable.
14948 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14949 Likewise.
14950
6f0eec67
UD
149512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14952
14953 * Makefile (strop-tests): Add strncat.
14954 * string/test-strncat.c: New file.
14955
aae30307
UD
149562011-06-30 Marek Polacek <mpolacek@redhat.com>
14957
14958 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14959
c0cfb5eb
UD
149602011-06-21 Andreas Jaeger <aj@suse.de>
14961
14962 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14963 Copy rule from iconvdata/Makefile.
14964
01636b21
UD
149652011-07-06 Ulrich Drepper <drepper@gmail.com>
14966
14967 [BZ #12922]
14968 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14969 but no long options are defined, just return 'W'.
14970
9895c8bc
UD
149712011-06-22 Marek Polacek <mpolacek@redhat.com>
14972
14973 [BZ #9696]
14974 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14975
5d4cf042
UD
149762011-07-06 Ulrich Drepper <drepper@gmail.com>
14977
14978 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14979 netgroups to read.
960e5535 14980 (innetgr): Likewise.
5d4cf042 14981
751eb97e
RM
149822011-07-05 Roland McGrath <roland@hack.frob.com>
14983
14984 * config.make.in (install_root): Default to $(DESTDIR).
14985
f15f1e45
UD
149862011-07-05 Ulrich Drepper <drepper@gmail.com>
14987
14988 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14989
4e34ac6a
RM
149902011-07-02 Roland McGrath <roland@hack.frob.com>
14991
5e9b6af4
RM
14992 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14993
84f9ea0f
RM
14994 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14995 containing directory rather than embedding absolute directory names.
14996
ea5ee9f7
RM
14997 * scripts/check-local-headers.sh: Rewritten using awk.
14998 Match by word, not by line. Print error messages for matches.
14999 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15000
1b74661a
RM
15001 * Makerules [shlib-lds-flags empty]:
15002 ($(common-objpfx)libc_pic.opts): New target.
15003 ($(common-objpfx)libc_pic.os.clean): New target.
15004 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15005
15006 * config.make.in (OBJCOPY): New variable.
15007 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15008 * configure: Regenerated.
15009
f781ef40
RM
15010 * config.make.in (use-default-link): New variable.
15011 * configure.in (use_default_link): Grok --with-default-link to set it.
15012 * configure: Regenerated.
15013 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15014 (shlib-lds, shlib-lds-flags): Define to empty.
15015
2d4fa81e
RM
15016 * Makerules (shlib-lds): New variable.
15017 (shlib-lds-flags): New variable.
15018 (build-shlib, build-moduile, build-module-asneeded): Use it.
15019 ($(common-objpfx)libc.so): Use $(shlib-lds).
15020 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15021 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15022
31fffa6b
RM
15023 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15024 DT_FLAGS/DT_FLAGS_1 with zero flags.
15025
4e34ac6a
RM
15026 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15027 linker script munging.
15028
fcfc776b
UD
150292011-07-02 Ulrich Drepper <drepper@gmail.com>
15030
15031 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15032 as 128-bit value.
15033 * crypt/sha512.c (sha512_process_block): Perform total addition using
15034 128-bit if possible.
15035 (__sha512_finish_ctx): Likewise.
15036 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15037 as 64-bit value.
15038 * crypt/sha256.c (SWAP64): Define.
15039 (sha256_process_block): Perform total addition using 64-bit if
15040 possible.
15041 (__sha256_finish_ctx): Likewise.
15042
99231d9a
UD
150432011-07-01 Ulrich Drepper <drepper@gmail.com>
15044
15045 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15047 * nscd/hstcache.c (cache_addhst): Likewise.
15048 * nscd/grpcache.c (cache_addgr): Likewise.
15049 * nscd/aicache.c (addhstaiX): Likewise
15050 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15051
445b4a53
TK
150522011-07-01 Thorsten Kukuk <kukuk@suse.de>
15053
15054 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15056 * nscd/hstcache.c (cache_addhst): Likewise.
15057 * nscd/grpcache.c (cache_addgr): Likewise.
15058 * nscd/aicache.c (addhstaiX): Likewise
15059
6d4d8e8e
AS
150602011-07-01 Andreas Schwab <schwab@redhat.com>
15061
15062 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15063 domain only when needed.
15064
89f654c5
AS
150652011-06-30 Andreas Schwab <schwab@redhat.com>
15066
15067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15068 is always restored.
15069
cf3b23ff
UD
150702011-06-29 Ulrich Drepper <drepper@gmail.com>
15071
15072 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15073 are re-adding the entry.
15074 * nscd/servicescache.c (cache_addserv): Likewise.
15075
751626f9
AJ
150762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15077
15078 * sysdeps/generic/dl-irel.h: fix protection against multiple
15079 inclusions.
15080 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15081
9113ea1f
UD
150822011-06-28 Ulrich Drepper <drepper@gmail.com>
15083
5c0b8d90
UD
15084 [BZ #12935]
15085 * malloc/memusage.sh: Fix quoting in message.
15086 * debug/xtrace.sh: Likewise.
15087
9113ea1f
UD
15088 * configure.in: Remove support for --experimental-malloc option, make
15089 it the default.
15090 * config.make.in: Likewise.
15091 * malloc/Makefile: Likewise.
15092
a4172181
AS
150932011-06-27 Andreas Schwab <schwab@redhat.com>
15094
15095 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15096 two-byte characters.
15097
78a7eee7
RM
150982011-06-27 Roland McGrath <roland@hack.frob.com>
15099
62bede13
RM
15100 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15101 AC_CACHE_CHECK invocation.
15102 * configure: Regenerated.
15103
78a7eee7
RM
15104 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15105
5ce33a62
UD
151062011-06-27 Ulrich Drepper <drepper@gmail.com>
15107
034807a9
UD
15108 [BZ #12350]
15109 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15110 bit from old_res_options.
15111
4902da17
UD
15112 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15113
5ce33a62
UD
15114 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15115 value type for setfct.
15116
c2344f56
L
151172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15118
15119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15120 __gettimeofday instead of gettimeofday.
15121
68468076
UD
151222011-06-26 Ulrich Drepper <drepper@gmail.com>
15123
15124 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15125
acb0d739
L
151262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15127
15128 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15129
15130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15131 info.
15132
8912479f
L
151332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15134
15135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15136 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15137 strcpy-sse2-unaligned strncpy-sse2-unaligned
15138 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15139 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15140 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15141 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15142 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15144 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15145 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15146 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15147 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15148 (STRCPY): Support SSE2 and SSSE3 versions.
15149
d5495a11
UD
151502011-06-24 Ulrich Drepper <drepper@gmail.com>
15151
15152 [BZ #12874]
15153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15154 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15155 kernels which artificially limit size of requests.
15156
0b1cbaae
L
151572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15158
15159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15160 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15161 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15162 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15163 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15164 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15165 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15166 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15169 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15170 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15171 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15172 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15173 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15175 Enable unaligned load optimization for Intel Core i3, i5 and i7
15176 processors.
15177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15178 Define.
15179 (index_Fast_Unaligned_Load): Define.
15180 (HAS_FAST_UNALIGNED_LOAD): Define.
15181
07f494a0
MP
151822011-06-23 Marek Polacek <mpolacek@redhat.com>
15183
15184 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15185
fa3fc0fe
UD
151862011-06-22 Ulrich Drepper <drepper@gmail.com>
15187
15188 [BZ #12907]
15189 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15190 until it is clear that the information is realy needed.
15191 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15192
e12df166
AS
151932011-06-22 Andreas Schwab <schwab@redhat.com>
15194
15195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15196
852eb34d
UD
151972011-06-22 Ulrich Drepper <drepper@gmail.com>
15198
84e2a551
UD
15199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15200 /sys/devices/system/cpu/online if it is usable.
15201
852eb34d
UD
15202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15203 reading the information from the /proc filesystem to once a second.
15204
6e502e19
UD
152052011-06-21 Andreas Jaeger <aj@suse.de>
15206
15207 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15208 NULL after inclusion of kernel headers.
15209
75d39ff2
UD
152102011-06-21 Ulrich Drepper <drepper@gmail.com>
15211
51f9aa6a
UD
15212 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15213 calls to internal_setent.
15214
c0244a9d
UD
15215 [BZ #12885]
15216 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15217 addresses using gethostbyname4_r ignore IPv4 addresses.
15218
c5e3c2ae
UD
15219 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15220 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15221
75d39ff2
UD
15222 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15223
42675c6f
DM
152242011-06-20 David S. Miller <davem@davemloft.net>
15225
15226 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15227 inclusions.
15228 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15229
15230 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15231 (elf_irel): Use it.
15232 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15233 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15234 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15235 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15236 * sysdeps/x86_64/dl-irel.h: Likewise.
15237
15238 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15239 * elf/dl-sym.c: Likewise.
15240
57912a71
UD
152412011-06-15 Ulrich Drepper <drepper@gmail.com>
15242
15243 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15244 need to dereference resplen2.
15245
ee22793d
AS
152462011-06-14 Andreas Schwab <schwab@redhat.com>
15247
15248 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15249
a9e836b0
UD
152502011-06-15 Ulrich Drepper <drepper@gmail.com>
15251
77fb9117
UD
15252 * Makeconfig: Define vardbdir and inst_vardbdir.
15253 * nss/Makefile: Add rules to install db-Makefile.
15254
40c1b22c
UD
15255 * nss/nss_db/db-XXX.c: Cleanup.
15256
9f2da732
UD
15257 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15258 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15259 GLIBC_PRIVATE.
15260 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15261 * nss/makedb.c: Implement -g option to specify that value strings
15262 are generated and should not be added to table iterated over for
15263 get*ent calls.
15264 * nss/nss_db/db-initgroups.c: New file.
15265
82e9a1f7
UD
15266 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15267 interface.
15268
c41af17e
UD
15269 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15270 (internal_getgrouplist): Adjust to name change.
15271 Update use_initgroups_entry if this is not the first call.
15272 * nss/databases.def: Add initgroups entry.
15273
a9e836b0
UD
15274 * nss/makedb.c (compute_tables): Check result of multiple hash table
15275 sizes to minimize maximum chain length.
15276
2666d441
UD
152772011-06-14 Ulrich Drepper <drepper@gmail.com>
15278
15279 * Versions.def: Add entry for libnss_db.
15280 * shlib-versions: Likewise.
15281 * nss/Makefile: Add rules to build libnss_db.
15282 * nss/Versions: Add libnss_db information. Organize libnss_files
15283 entries better.
15284 * nss/db-Makefile: Add gshadow support. Change rules for the new
15285 makedb progra. Some minor improvements to generate smaller files.
15286 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15287 here from...
15288 * nss/makedb.c: ...here.
15289 Improve database format to be smaller and require less memory at
15290 runtime.
15291 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15292 db anymore.
15293 * nss/nss_db/db-netgrp.c: Likewise.
15294 * nss/nss_db/db-open.c: Likewise.
15295 * nss/nss_files/flies-XXX.x: Adjust comments.
15296 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15297 * nss/nss_files/files-grp.c: Likewise.
15298 * nss/nss_files/files-hosts.c: Likewise.
15299 * nss/nss_files/files-network.c: Likewise.
15300 * nss/nss_files/files-proto.c: Likewise.
15301 * nss/nss_files/files-pwd.c: Likewise.
15302 * nss/nss_files/files-rpc.c: Likewise.
15303 * nss/nss_files/files-service.c: Likewise.
15304 * nss/nss_files/files-sgrp.c: Likewise.
15305 * nss/nss_files/files-spwd.c: Likewise.
15306 * nss/nss_db/db-alias.c: Removed.
15307 * nss/nss_db/dummy-db.h: Removed.
15308
9ee76b5a
UD
153092011-06-02 Ulrich Drepper <drepper@gmail.com>
15310
15311 * nss/makedb.c: Rewritten to not use database library.
15312 * nss/Makefile: Update to build new makedb program.
15313
c71ca1f8
AJ
153142011-06-14 Andreas Jaeger <aj@suse.de>
15315
15316 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15317 memset declaration.
15318
3154bfb8
UD
153192011-06-10 Andreas Schwab <schwab@redhat.com>
15320
15321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15322 tmpbuf.
15323
b350afab
RM
153242011-06-10 Roland McGrath <roland@hack.frob.com>
15325
decd4e50
RM
15326 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15327 * elf/Makefile ($(objpfx)ld.so): Likewise.
15328
5615eaf2
RM
15329 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15330 Don't list ld.so twice in dependencies.
15331
15332 * posix/bug-regex31.c: Include <stdlib.h>.
15333
15334 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15335
15336 * nis/nss_compat/compat-spwd.c
15337 (getspent_next_nss_netgr): Remove unused variable.
15338 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15339
15340 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15341 nonmembers" output to use the right array.
15342
15343 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15344
15345 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15346
15347 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15348 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15349 * catgets/gencat.c (read_input_file): Likewise.
15350 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15351
15352 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15353 variable definition inside #if's controlling its use.
15354
15355 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15356
15357 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15358
15359 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15360
15361 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15362 unreachable code.
15363
15364 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15365
b68e08db
RM
15366 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15367 * configure: Regenerated.
15368
b350afab
RM
15369 * Makerules: Revert last change.
15370 * elf/Makefile: Likewise.
15371
28368601
RM
153722011-06-09 Roland McGrath <roland@hack.frob.com>
15373
15374 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15375 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15376 (reloc-link): Likewise.
15377
11988f8f
UD
153782011-06-09 Ulrich Drepper <drepper@gmail.com>
15379
15380 * elf/Makefile: Add rules to build pldd.
15381 * elf/pldd.c: New file.
15382 * elf/pldd-xx.c: New file.
15383
e80fab37
UD
153842011-06-07 Ulrich Drepper <drepper@gmail.com>
15385
15386 * version.h: Update for 2.15 development version.
15387
9b849836
DM
153882011-06-07 David S. Miller <davem@davemloft.net>
15389
15390 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15391 ifuncs.
15392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15393 elf_machine_lazy_rel): Likewise.
15394 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15396 elf_machine_lazy_rel): Likewise.
15397 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15398 dl_hwcap via passed in argument.
15399 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15400 Likewise.
15401
5a31b283
AK
154022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15403
15404 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15405
069e52f8
RM
154062011-06-06 Roland McGrath <roland@hack.frob.com>
15407
15408 [BZ #12849]
15409 * manual/fdl-1.1.texi: New file, verbatim from:
15410 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15411 * manual/lgpl-2.1.texi: New file, verbatim from:
15412 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15413 * manual/Makefile (licenses): New variable, list those new file names.
15414 (texis): Use it.
15415 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15416
15417 * manual/fdl.texi: File removed.
15418 * manual/lesser.texi: File removed.
15419 * manual/libc.texinfo (Copying, Documentation License):
15420 Use new @include file names, put @appendix directive before @include.
15421
f16846a5
JJ
154222011-06-04 Jakub Jelinek <jakub@redhat.com>
15423
15424 [BZ #12841]
15425 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15426 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15427 (mq_open): Add __NTH.
15428
3d29045b
L
154292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15430
15431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15432 Assume Intel Core i3/i5/i7 processor if AVX is available.
15433
8c297311
UD
154342011-05-31 Ulrich Drepper <drepper@gmail.com>
15435
15436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15437 typo.
15438
c8fc0c91
UD
154392011-05-31 Andreas Schwab <schwab@redhat.com>
15440
15441 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15442 memory. Use alloca_account. Fix memory leak when retrying.
15443
5b27a807
UD
154442011-05-31 Ulrich Drepper <drepper@gmail.com>
15445
356f8bc6
UD
15446 * version.h (RELEASE): Bump for 2.14 release.
15447 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15448
5b27a807
UD
15449 * config.make.in (RANLIB): Remove entry.
15450
01f16ab0
UD
154512011-05-30 Ulrich Drepper <drepper@gmail.com>
15452
41fce8bd
UD
15453 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15454 (libc.pot): Work around missing support for .ksh extension in xgettext.
15455
4769ae77
UD
15456 [BZ #12684]
15457 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15458 if both request failed.
15459 (send_dg): In case of server errors clear resplen or *resplen2.
15460
6b1e7d19
UD
15461 [BZ #12454]
15462 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15463 when there are multiple maps.
15464 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15465 (_dl_fini): Remove test here.
15466
01f16ab0
UD
15467 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15468
b1ebd700
UD
154692011-05-29 Ulrich Drepper <drepper@gmail.com>
15470
7ae22829
UD
15471 [BZ #12350]
15472 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15473 bit from old_res_options.
15474 (gaih_inet): Likewise.
15475
553149f6 15476 [BZ #11099]
18a84741 15477 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15478 as signed.
15479
652ffab1
UD
15480 * resolv/res_init.c (res_setoptions): Make the code more compact.
15481
16985fd0
UD
15482 [BZ #11558]
15483 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15484 set RES_USEVC.
15485
0464f746
UD
15486 [BZ #11634]
15487 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15488
7d17596c
UD
15489 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15490
cf6bbbd7
UD
15491 [BZ #11781]
15492 * malloc/malloc.h: Declare malloc hook variables as volatile.
15493
13f1ab36
UD
15494 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15495 in last patch.
15496
b1ebd700
UD
15497 [BZ #11799]
15498 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15499 raise in the comment.
80e2212d
UD
15500 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15502 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15503
ce67228d
UD
155042011-05-28 Ulrich Drepper <drepper@gmail.com>
15505
8887a920
UD
15506 [BZ #12811]
15507 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15508 grow the buffers more if it already has to be sufficient.
15509 (build_wcs_upper_buffer): Likewise.
15510 * posix/regexec.c (check_matching): Likewise.
15511 (clean_state_log_if_needed): Likewise.
15512 (extend_buffers): Don't enlarge buffers beyond size of the input
15513 buffer.
15514 Patches mostly by Emil Wojak <emil@wojak.eu>.
15515 * posix/bug-regex32.c: New file.
15516 * posix/Makefile (tests): Add bug-regex32.
15517
4f031072
UD
15518 * locale/findlocale.c (_nl_find_locale): Return right away if
15519 _nl_explode_name failed.
15520 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15521
d0478f0c
UD
15522 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15523
de81b246
UD
15524 * debug/xtrace.sh: Unify messages.
15525 * malloc/memusage.sh: Likewise.
15526
c738465a
UD
15527 [BZ #12813]
15528 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15529 time symbol from vDSO. Substitute with vsyscall if not available.
15530 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15531 __vdso_time.
15532
f1f929d7
UD
15533 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15534 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15535 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15536 Add sendmmsg and internal_sendmmsg.
15537 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15538 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15539 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15540
ce67228d
UD
15541 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15542 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15544
e57420c6
UD
155452011-05-27 Ulrich Drepper <drepper@gmail.com>
15546
a8509ca5
UD
15547 [BZ #12813]
15548 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15549 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15550 available.
15551 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15552 __vdso_getcpu.
15553
e57420c6
UD
15554 [BZ #12814]
15555 * iconvdata/Makefile (tests): Add bug-iconv9.
15556 * iconvdata/bug-iconv9.c: New file.
15557
4d07db15
AS
155582011-05-27 Andreas Schwab <schwab@redhat.com>
15559
15560 [BZ #12814]
15561 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15562
ea486f69
JJ
155632011-05-25 Jakub Jelinek <jakub@redhat.com>
15564
15565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15566 (struct user_regs_struct): Change intcs field back to cs.
15567
6f038433
UD
155682011-05-25 Ulrich Drepper <drepper@gmail.com>
15569
15570 * po/ja.po: Update from translation team.
15571
67f86a25
UD
155722011-05-23 Ulrich Drepper <drepper@gmail.com>
15573
15574 [BZ #12795]
15575 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15576 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15577
def7fbd6
AS
155782011-05-20 Andreas Schwab <schwab@redhat.com>
15579
15580 * stdlib/longlong.h: Update from GCC.
15581
f50ef8f1
AS
155822011-05-23 Andreas Schwab <schwab@redhat.com>
15583
15584 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15585 parameter name.
15586 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15587 Add parameter name.
15588 (__sysconf): Pass it down.
15589
de7ce8f1
UD
155902011-05-22 Ulrich Drepper <drepper@gmail.com>
15591
f2962a71
UD
15592 [BZ #12671]
15593 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15594 some situations.
15595 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15596 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15597 add in in __libc_use_alloca calls. Adjust callers.
15598 (glob): Use malloc in some situations.
15599
de7ce8f1
UD
15600 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15601 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15602 pltexit.
15603
aec84f53
UD
156042011-05-21 Ulrich Drepper <drepper@gmail.com>
15605
05bb4a68
UD
15606 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15607 and CLOCK_BOOTTIME_ALARM.
15608
7ea72f99
UD
15609 [BZ #12782]
15610 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15611 is returned.
15612
7e4afad5
UD
15613 * string/_strerror.c (__strerror_r): Print negative errors as signed
15614 numbers.
15615
8e211fec
UD
15616 [BZ #12777]
15617 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15618 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15619 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15620
f7d82dc9
UD
15621 * configure.in: Fix typo in redirection and correct removal of test
15622 files in two cases.
15623
cc9e536d
UD
15624 [BZ #12788]
15625 * locale/setlocale.c (new_composite_name): Fix test to check for
15626 identical name of all categories.
15627
aec84f53
UD
15628 [BZ #12792]
15629 * libio/filedoalloc.c (local_isatty): New function.
15630 (_IO_file_doallocate): Use local_isatty.
15631 * stdio-common/perror.c (perror): In case a new stream is used
15632 forward the stream error.
15633 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15634 error flag.
15635
78e64fdc
RT
156362011-05-20 Ulrich Drepper <drepper@gmail.com>
15637
34a9094f
UD
15638 [BZ #11869]
15639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15640 alloca.
15641 * include/alloca.h (extend_alloca_account): Define.
15642
78e64fdc
RT
15643 [BZ #11857]
15644 * posix/regex.h: Fix comments with documentation of user-accessible
15645 fields after compilation and describe correct free'ing of pattern
15646 after re_compile_pattern.
15647 Patch by Reuben Thomas <rrt@sc3d.org>.
15648
457bddfc
RA
156492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15650
15651 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15652 and -mno-altivec to prevent the compiler from using Altivec and/or
15653 VSX instructions when the corresponding registers are not available.
15654
a4527b51
AS
156552011-05-19 Andreas Schwab <schwab@redhat.com>
15656
15657 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15658
ed690b2f
UD
156592011-05-19 Ulrich Drepper <drepper@gmail.com>
15660
15661 * libio/freopen.c (freopen): Use __dup2, not dup2.
15662 * libio/freopen64.c (freopen64): Likewise.
15663
8db73634
L
156642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15665
15666 [BZ #12775]
15667 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15668 * math/Makefile (tests): Add test-powl.
15669 (CFLAGS-test-powl.c): Define.
15670 * math/test-powl.c: New file.
15671
0a197a9d
L
156722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15673
15674 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15675
ee30c380
UD
156762011-05-17 Ulrich Drepper <drepper@gmail.com>
15677
15678 [BZ #11837]
15679 * iconvdata/gb18030.c: Update to GB18020-2005.
15680
6ce75379
UD
156812011-05-16 Ulrich Drepper <drepper@gmail.com>
15682
a4b89fd8
AR
15683 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15684 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15685 Patch by Aharon Robbins <arnold@skeeve.com>.
15686
ea389b12
UD
15687 [BZ #11892]
15688 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15689 on the stack.
15690
68a3f91f
UD
15691 [BZ #11895]
15692 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15693 through underflows.
15694
15cc7dd1
UD
15695 [BZ #12766]
15696 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15697 point to strings before performing equality test for error_one_per_line
15698 mode.
15699
f3799213
UD
15700 [BZ #11697]
15701 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15702
d79a9c94
UD
15703 [BZ #11820]
15704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15705 (struct user_fpregs_struct): Avoid __uint*_t types.
15706
56e5eb46
UD
15707 [BZ #6420]
15708 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15709 symbol info. Use it instead of calling _dl_addr locally.
15710 (lock_and_info): New function.
15711 (tr_freehook): Call lock_and_info and pass symbol info as additional
15712 parameter to tr_where.
15713 (tr_mallochook): Likewise.
15714 (tr_reallochook): Likewise.
15715 (tr_memalignhook): Likewise.
15716
6ce75379
UD
15717 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15718 used and couldn't be at all thread-safe.
15719
f8a3b5bf
UD
157202011-05-15 Ulrich Drepper <drepper@gmail.com>
15721
94b7cc37
UD
15722 * libio/freopen.c (freopen): Don't close old file descriptor
15723 before the new one is opened. Instead dup the new file descriptor
15724 to the old one after the new stream is created.
15725 * libio/freopen64.c (freopen64): Likewise.
15726 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15727 * libio/fileops.c (_IO_new_file_close_it): Handle new
15728 _IO_FLAGS2_NOCLOSE flag.
15729 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15730 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15731 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15732 _IO_FLAGS2_NOCLOSE flag.
15733 * include/unistd.h: Add hidden_proto for dup3.
15734 Define __have_dup3.
15735 * io/dup3.c: Define hidden symbol.
15736 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15737
bd25564e
UD
15738 [BZ #7101]
15739 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15740 when an incomplete long option is used.
15741 * posix/tst-getopt_long1.c: New file.
15742 * posix/Makefile (tests): Add tst-getopt_long1.
15743
c84cfef4
UD
15744 [BZ #10138]
15745 * scripts/config.guess: Update from autoconf-2.68.
15746 * scripts/config.sub: Likewise.
15747
3b85df27
UD
15748 [BZ #10157]
15749 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15750 tests into ...
15751 (has_cpuclock): ...this. New function.
15752 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15753 macro here based on has_cpuclock code.
15754
15a856b1
UD
15755 [BZ #10149]
15756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15757 First byte (not low byte) is now always NUL.
15758 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15759
05f399e6
UD
15760 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15761 Use non-cancelable interfaces.
15762
10a52685 15763 [BZ #9809]
94ecc67d
UD
15764 * locale/iso-639.def: Add entry for Sorani.
15765
f8a3b5bf
UD
15766 [BZ #11901]
15767 * include/stdlib.h: Move include protection to the right place.
15768 Define abort_msg_s. Declare __abort_msg with it.
15769 * stdlib/abort.c (__abort_msg): Adjust type.
15770 * assert/assert.c (__assert_fail_base): New function. Majority
15771 of code from __assert_fail. Allocate memory for __abort_msg with
15772 mmap.
15773 (__assert_fail): Now call __assert_fail_base.
15774 * assert/assert-perr.c: Remove bulk of implementation. Use
15775 __assert_fail_base.
15776 * include/assert.hL Declare __assert_fail_base.
15777 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15778 mmap.
15779 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15780
1af4e298
UD
157812011-05-14 Ulrich Drepper <drepper@gmail.com>
15782
f8a3b5bf 15783 [BZ #11952]
d26dfc60
MG
15784 [BZ #12453]
15785 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15786 until all modules are registered in the DTV.
15787 * elf/Makefile: Add rules to build and run tst-tls19.
15788 * elf/tst-tls19.c: New file.
15789 * elf/tst-tls19mod1.c: New file.
15790 * elf/tst-tls19mod2.c: New file.
15791 * elf/tst-tls19mod3.c: New file.
15792 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15793
2fc54d6f
UD
15794 [BZ #12083]
15795 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15796 correctly.
15797
98d76b46
UD
15798 [BZ #12601]
15799 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15800 two-byte sequence errors.
15801 * iconvdata/Makefile (tests): Add bug-iconv8.
15802 * iconvdata/bug-iconv8.c: New file.
15803
da3c19ef
UD
15804 [BZ #12626]
15805 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15806 buf2 definition.
15807
ca408c15
UD
15808 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15809
d6f67f7d
UD
15810 [BZ #12432]
15811 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15812 (dummy_getcfa): New function.
15813 (init): Get _Unwind_GetCFA address, use dummy if not found.
15814 (backtrace_helper): In recursion check, also check whether CFA changes.
15815 (__backtrace): Completely initialize arg.
15816
1af4e298 15817 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15818 storing incomplete byte sequence in state object. Avoid testing for
15819 guaranteed too small input if we know there is enough data available.
1af4e298 15820
da62f81b
AS
158212011-05-11 Andreas Schwab <schwab@redhat.com>
15822
15823 * Makeconfig (+link-pie): Indent.
15824 * Rules (binaries-pie): Define if $(have-fpie) and
15825 $(build-shared).
15826 (binaries-shared): Also filter out $(binaries-pie).
15827 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15828 * nscd/Makefile (others-pie): Add nscd.
15829 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15830 ($(objpfx)nscd): Remove command override.
15831 * login/Makefile (others-pie): Add pt_chown.
15832 ($(objpfx)pt_chown): Remove command override.
15833 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15834 remove command overrides.
15835
fcabc0f8
UD
158362011-05-13 Ulrich Drepper <drepper@gmail.com>
15837
20030ae6
UD
15838 * libio/tst_putwc.c: Fix error messages.
15839
fcabc0f8
UD
15840 [BZ #12724]
15841 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15842 currently writing and seek to current position when not.
15843 * libio/Makefile (tests): Add bug-fclose1.
15844 * libio/bug-fclose1.c: New file.
15845
320a5dc0
PB
158462011-05-12 Ulrich Drepper <drepper@gmail.com>
15847
15848 [BZ #12511]
15849 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15850 don't set DF_1_NODELETE here.
15851 (do_lookup_x): When entering new entry test for copy relocation
15852 and if necessary set DF_1_NODELETE flag.
15853 * elf/tst-unique4.cc: New file.
15854 * elf/tst-unique4.h: New file.
15855 * elf/tst-unique4lib.cc: New file.
15856 * elf/Makefile: Add rules to build and run tst-unique4.
15857 Patch by Piotr Bury <pbury@goahead.com>.
15858
22836f52
UD
158592011-05-11 Ulrich Drepper <drepper@gmail.com>
15860
f574184a
UD
15861 [BZ #12052]
15862 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15863
e1fb097f
UD
15864 [BZ #12625]
15865 * misc/mntent_r.c (addmntent): Flush the stream after the output
15866
22836f52
UD
15867 [BZ #12393]
15868 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15869 (is_trusted_path_normalize): Skip initial colon. Append slash
15870 to empty buffer. Duplicate is_trusted_path code but allow
15871 constructed patch to be prefix.
15872 (is_dst): Allow $ORIGIN followed by /.
15873 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15874 Correct testing of result of is_trusted_path_normalize
15875 (decompose_rpath): Fix warning.
15876
7b3b0b2a
UD
158772011-05-10 Ulrich Drepper <drepper@gmail.com>
15878
15879 [BZ #11257]
15880 * grp/initgroups.c (internal_getgrouplist): When we found the service
15881 list through the initgroups entry in nsswitch.conf do not always
15882 continue on a successful lookup. Don't always use the
eac80ce2 15883 __nss_group_database value if it is set.
7b3b0b2a
UD
15884 * nss/nsswitch.conf (initgroups): Change action for successful db
15885 lookup to continue for compatibility.
15886
2a81eaa5
UD
158872011-05-09 Ulrich Drepper <drepper@gmail.com>
15888
be97a69e
UD
15889 [BZ #11532]
15890 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15891 and CP774 modules.
15892 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15893 and CP774 modules.
15894 * iconvdata/tst-tables.sh: Likewise.
15895 * iconvdata/cp770.c: New file.
15896 * iconvdata/cp771.c: New file.
15897 * iconvdata/cp772.c: New file.
15898 * iconvdata/cp773.c: New file.
15899 * iconvdata/cp774.c: New file.
15900 * iconvdata/testdata/CP770: New file.
15901 * iconvdata/testdata/CP770..UTF8: New file.
15902 * iconvdata/testdata/CP771: New file.
15903 * iconvdata/testdata/CP771..UTF8: New file.
15904 * iconvdata/testdata/CP772: New file.
15905 * iconvdata/testdata/CP772..UTF8: New file.
15906 * iconvdata/testdata/CP773: New file.
15907 * iconvdata/testdata/CP773..UTF8: New file.
15908 * iconvdata/testdata/CP774: New file.
15909 * iconvdata/testdata/CP774..UTF8: New file.
15910
15911 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15912 END CHARMAP line.
15913 * iconvdata/gen-8bit-gap.sh: Likewise.
15914 * iconvdata/gen-8bit.sh: Likewise.
15915
c1e9e399
UD
15916 * locale/iso-639.def: Add ary entry.
15917
24c55fb3 15918 [BZ #11258]
96b4b1b0
UD
15919 * locale/C-translit.h.in: Add U20A1 transliteration.
15920
bdc2f971
KB
15921 [BZ #12178]
15922 * locale/iso-639.def: Add wae entry.
15923 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15924
2952b117
UD
15925 [BZ #12545]
15926 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15927 for n.
15928
2a81eaa5
UD
15929 [BZ #12711]
15930 * locale/C-translit.h.in: Add entry for U20B9.
15931 Patch by pravin.d.s@gmail.com.
15932
28377d1b
UD
159332011-05-08 Ulrich Drepper <drepper@gmail.com>
15934
7fb90fb8
UD
15935 [BZ #12713]
15936 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15937 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15938 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15939 in rtld. Use *stat64.
7fb90fb8 15940 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15941 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15942 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15943 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15944 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15945 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15946 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15947 __fstatat64 macros.
7fb90fb8
UD
15948 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15949 * dirent/rewinddir.c: Add libc_hidden_def.
15950 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15951 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15952
28377d1b
UD
15953 * include/dirent.h (__alloc_dir): Add flags parameter.
15954 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15955 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15956 __alloc_dir.
15957 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15958 from fdopendir if O_CLOEXEC is already set.
15959
66bdbaa4
AM
159602011-03-15 Alan Modra <amodra@gmail.com>
15961
15962 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15963 l_tls_firstbyte_offset non-zero. Save padding offset in
15964 l_tls_firstbyte_offset for later use.
15965 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15966 freeing static tls block.
15967
95721191
JN
159682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15969
15970 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15971 where #ifdef was intended. The intent is to prevent ARG_MAX from
15972 being defined by the kernel headers.
15973
f87dfb1f
UD
159742011-05-07 Ulrich Drepper <drepper@gmail.com>
15975
15976 [BZ #12734]
15977 * resolv/resolv.h: Define RES_NOTLDQUERY.
15978 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15979 no-tld-query and set RES_NOTLDQUERY.
15980 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15981 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15982 modern BIND to search name as TLD unless forbidden.
15983
47c3cd7a
UD
159842011-05-07 Petr Baudis <pasky@suse.cz>
15985 Ulrich Drepper <drepper@gmail.com>
15986
15987 [BZ #12393]
15988 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15989 (is_trusted_path): ...to here.
c1e9ea35 15990 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15991 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15992 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15993
8a35c912
PP
159942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15995
15996 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15997 __BEGIN/__END_DECLS.
15998
acd41f47
UD
159992011-05-06 Ulrich Drepper <drepper@gmail.com>
16000
16001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16002 NSS_STATUS_NOTFOUND if no record was found.
16003
597df647
AS
160042011-05-05 Andreas Schwab <schwab@redhat.com>
16005
16006 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16007 (headers-not-in-tirpc): Remove rpc/netdb.h
16008 * resolv/netdb.h: Revert last change.
16009
b9af1301
PP
160102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16011
16012 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16013 circular dependency between libgcc.a and libc.a.
16014
4e34d5f5
AS
160152011-05-05 Andreas Schwab <schwab@redhat.com>
16016
16017 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16018 * nis/Makefile: Don't install rpcsvc/*.
16019 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16020 instead of <rpc/types.h>.
16021 (MAXHOSTNAMELEN): Define.
16022
00ee369c
AS
160232011-05-03 Andreas Schwab <schwab@redhat.com>
16024
16025 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16026
0b592a30
MB
160272011-04-28 Maciej Babinski <mbabinski@google.com>
16028
16029 [BZ #12714]
16030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16031 gethostbyname4_r when IPv6 results are possible.
16032
6e04cbbe
UD
160332011-05-02 Ulrich Drepper <drepper@gmail.com>
16034
16035 [BZ #12723]
16036 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16037 _PC_PIPE_BUF handling.
16038
e4ecafe0
BH
160392011-04-30 Bruno Haible <bruno@clisp.org>
16040
16041 [BZ #12717]
16042 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16043 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16044 to 'int'.
16045 * inet/getnameinfo.c (getnameinfo): Likewise.
16046
125ee683
UD
160472011-04-29 Ulrich Drepper <drepper@gmail.com>
16048
16049 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16050 to groups setting in database lookup.
16051 * nss/nsswitch.conf: Add initgroups entry.
16052
b722481a
EB
160532011-04-22 Ulrich Drepper <drepper@gmail.com>
16054
16055 [BZ #12685]
16056 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16057 mode string.
16058 Patch by Eric Blake <eblake@redhat.com>.
16059
4df46dbd
L
160602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16061
16062 * sunrpc/Makefile (need-export-routines): Add svc_run.
16063 (routines): Remove svc_run.
16064 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16065 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16066 * sunrpc/svc_run.c (svc_run): Likewise.
16067 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16068
e84142d2
UD
160692011-04-21 Ulrich Drepper <drepper@gmail.com>
16070
16071 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16072 problem in reallocation in last patch.
16073
877175d8
UD
160742011-04-20 Ulrich Drepper <drepper@gmail.com>
16075
16076 * sunrpc/Makefile: Move inclusion of Rules.
16077
ab8eed78
UD
160782011-04-19 Ulrich Drepper <drepper@gmail.com>
16079
16080 * nss/nss_files/files-initgroups.c: New file.
16081 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16082 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16083 _nss_files_initgroups_dyn.
16084
e3d8f584
RS
160852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16086
16087 * elf/elf.h (R_ARM_IRELATIVE): Define.
16088
af190f45
UD
160892011-04-19 Ulrich Drepper <drepper@gmail.com>
16090
16091 * po/ru.po: Update from translation team.
16092
53cf59ef
UD
160932011-04-17 Ulrich Drepper <drepper@gmail.com>
16094
16095 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16096 dependencies.
16097
4c559bcd
MF
160982011-02-06 Mike Frysinger <vapier@gentoo.org>
16099
16100 [BZ #12653]
16101 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16102 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16104 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16105 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16106
4420675c
AS
161072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16108
16109 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16110 differing bytes.
16111 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16114
75ea32ab
UD
161152011-04-17 Ulrich Drepper <drepper@gmail.com>
16116
16117 [BZ #12420]
16118 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16119 storing it.
16120 * stdlib/bug-getcontext.c: New file.
16121 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16122
27390476
AK
161232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16124
16125 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16126 instructions into .machine "z9-109".
16127 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16128 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16129
10442705
AK
161302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16131
16132 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16133 between environment variables and auxiliary vector.
16134
7b57bfe5
UD
161352011-04-16 Ulrich Drepper <drepper@gmail.com>
16136
16137 * Makefile: Add rules to build linkobj/libc.so.
16138 * include/libc-symbols.h: Define libc_hidden_nolink.
16139 * include/rpc/auth.h: Mark functions which are to be hidden.
16140 * include/rpc/auth_des.h: Likewise.
16141 * include/rpc/auth_unix.h: Likewise.
16142 * include/rpc/clnt.h: Likewise.
16143 * include/rpc/des_crypt.h: Likewise.
16144 * include/rpc/key_prot.h: Likewise.
16145 * include/rpc/pmap_clnt.h: Likewise.
16146 * include/rpc/pmap_prot.h: Likewise.
16147 * include/rpc/pmap_rmt.h: Likewise.
16148 * include/rpc/rpc_msg.h: Likewise.
16149 * include/rpc/svc.h: Likewise.
16150 * include/rpc/svc_auth.h: Likewise.
16151 * include/rpc/xdr.h: Likewise.
16152 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16153 * nss/Makefile: Likewise.
16154 * sunrpc/Makefile: Don't install headers. Build library with normal
16155 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16156 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16157 for the compat linking library. Remove use of INTDEF/INTUSE.
16158 * sunrpc/auth_none.c: Likewise.
16159 * sunrpc/auth_unix.c: Likewise.
16160 * sunrpc/authdes_prot.c: Likewise.
16161 * sunrpc/authuxprot.c: Likewise.
16162 * sunrpc/clnt_gen.c: Likewise.
16163 * sunrpc/clnt_perr.c: Likewise.
16164 * sunrpc/clnt_raw.c: Likewise.
16165 * sunrpc/clnt_simp.c: Likewise.
16166 * sunrpc/clnt_tcp.c: Likewise.
16167 * sunrpc/clnt_udp.c: Likewise.
16168 * sunrpc/clnt_unix.c: Likewise.
16169 * sunrpc/des_crypt.c: Likewise.
16170 * sunrpc/des_soft.c: Likewise.
16171 * sunrpc/get_myaddr.c: Likewise.
16172 * sunrpc/key_call.c: Likewise.
16173 * sunrpc/key_prot.c: Likewise.
16174 * sunrpc/netname.c: Likewise.
16175 * sunrpc/pm_getmaps.c: Likewise.
16176 * sunrpc/pm_getport.c: Likewise.
16177 * sunrpc/pmap_clnt.c: Likewise.
16178 * sunrpc/pmap_prot.c: Likewise.
16179 * sunrpc/pmap_prot2.c: Likewise.
16180 * sunrpc/pmap_rmt.c: Likewise.
16181 * sunrpc/publickey.c: Likewise.
16182 * sunrpc/rpc_cmsg.c: Likewise.
16183 * sunrpc/rpc_common.c: Likewise.
16184 * sunrpc/rpc_dtable.c: Likewise.
16185 * sunrpc/rpc_prot.c: Likewise.
16186 * sunrpc/rpc_thread.c: Likewise.
16187 * sunrpc/rtime.c: Likewise.
16188 * sunrpc/svc.c: Likewise.
16189 * sunrpc/svc_auth.c: Likewise.
16190 * sunrpc/svc_authux.c: Likewise.
16191 * sunrpc/svc_raw.c: Likewise.
16192 * sunrpc/svc_run.c: Likewise.
16193 * sunrpc/svc_simple.c: Likewise.
16194 * sunrpc/svc_tcp.c: Likewise.
16195 * sunrpc/svc_udp.c: Likewise.
16196 * sunrpc/svc_unix.c: Likewise.
16197 * sunrpc/svcauth_des.c: Likewise.
16198 * sunrpc/xcrypt.c: Likewise.
16199 * sunrpc/xdr.c: Likewise.
16200 * sunrpc/xdr_array.c: Likewise.
16201 * sunrpc/xdr_float.c: Likewise.
16202 * sunrpc/xdr_intXX_t.c: Likewise.
16203 * sunrpc/xdr_mem.c: Likewise.
16204 * sunrpc/xdr_rec.c: Likewise.
16205 * sunrpc/xdr_ref.c: Likewise.
16206 * sunrpc/xdr_sizeof.c: Likewise.
16207 * sunrpc/xdr_stdio.c: Likewise.
16208
e6c61494
UD
162092011-04-10 Ulrich Drepper <drepper@gmail.com>
16210
16211 [BZ #12650]
16212 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16213 * sysdeps/ia64/dl-tls.h: Likewise.
16214 * sysdeps/powerpc/dl-tls.h: Likewise.
16215 * sysdeps/s390/dl-tls.h: Likewise.
16216 * sysdeps/sh/dl-tls.h: Likewise.
16217 * sysdeps/sparc/dl-tls.h: Likewise.
16218 * sysdeps/x86_64/dl-tls.h: Likewise.
16219 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16220
34fe483e
AS
162212011-03-14 Andreas Schwab <schwab@redhat.com>
16222
16223 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16224 rpath element also skip the following colon.
16225 (expand_dynamic_string_token): Add is_path parameter and pass
16226 down to DL_DST_REQUIRED and _dl_dst_substitute.
16227 (decompose_rpath): Call expand_dynamic_string_token with
16228 non-zero is_path. Ignore empty rpaths.
16229 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16230 with zero is_path.
16231
f12a32e6
AS
162322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16233
16234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16235 Make cancelable.
16236
38a7d692
UD
162372011-04-09 Ulrich Drepper <drepper@gmail.com>
16238
16239 [BZ #12655]
16240 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16241 Patch by Filipe David Manana <fdmanana@apache.org>.
16242
e451d22b
AS
162432011-04-07 Andreas Schwab <schwab@redhat.com>
16244
16245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16246 Maintain aligned stack.
16247 (CHECK_RSP): Remove unused macro.
16248
dedc7c7b
UD
162492011-04-03 Ulrich Drepper <drepper@gmail.com>
16250
16251 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16252 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16253
94521213
UD
162542011-04-02 Ulrich Drepper <drepper@gmail.com>
16255
16256 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16257
8cb700c0 16258 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16259
0354e355
L
162602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16261
16262 [BZ #12518]
16263 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16264 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16265 * sysdeps/x86_64/memmove.c: New file.
16266 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16267 (memcpy): Renamed to ...
16268 (__new_memcpy): This.
16269 (memcpy): Provide GLIBC_2_14 memcpy.
16270 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16271 (memcpy): Provide GLIBC_2_2_5 memcpy.
16272
8593482f
UD
162732011-04-01 Ulrich Drepper <drepper@gmail.com>
16274
16275 [BZ #12631]
16276 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16277
81a5726b
AS
162782011-03-30 Andreas Schwab <schwab@redhat.com>
16279
16280 * misc/syncfs.c: New file.
16281 * misc/Makefile (routines): Add syncfs.
16282 * posix/unistd.h: Declare syncfs.
16283 * sysdeps/unix/syscalls.list: Add syncfs.
16284
00e5419f
AS
162852011-04-01 Andreas Schwab <schwab@redhat.com>
16286
16287 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16288 open_by_handle_at.
16289 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16290 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16292 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16294 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16296
748876bf
UD
162972011-04-01 Ulrich Drepper <drepper@gmail.com>
16298
658e451d
UD
16299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16300 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16301 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16303 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16305 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16306
748876bf
UD
16307 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16308 sync_file_range.c with -fexceptions.
16309 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16310 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16311 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16312 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16313 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16314 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16316 sync_file_range as cancellation point
16317 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16318 now a wrapper around __call_sync_file_range with cancellation handling.
16319 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16320 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16321 function name to __call_sync_file_range.
16322 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16323 Add call_sync_file_range.
748876bf 16324
6e63d5e1
AS
163252011-04-01 Andreas Schwab <schwab@redhat.com>
16326
16327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16328 bits/timex.h.
6e63d5e1 16329
46998f74
UD
163302011-04-01 Ulrich Drepper <drepper@gmail.com>
16331
4c1423ed
UD
16332 * iconv/iconv.h: Fix typo in comment.
16333 * io/fcntl.h: Likewise.
16334 * libio/stdio.h: Likewise.
16335 * posix/spawn.h: Likewise.
16336 * posix/unistd.h: Likewise.
16337 * stdlib/stdlib.h: Likewise.
16338 * time/time.h: Likewise.
16339 * wcsmbs/wchar.h: Likewise.
16340
158648c0
UD
16341 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16342 open_by_handle): Add.
16343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16344 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16345 Augment a few comments.
16346 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16348 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16351 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16352 open_by_handle.
16353
46998f74
UD
16354 * io/fcntl.h (AT_EMPTY_PATH): Define.
16355
83fe108b
UD
163562011-03-30 Ulrich Drepper <drepper@gmail.com>
16357
16358 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16359 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16360 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16361 to...
16362 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16363 * Versions.def: Add GLIBC_2.14.
16364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16365 Export.
83fe108b 16366
bb242059
UD
163672011-03-22 Ulrich Drepper <drepper@gmail.com>
16368
16369 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16370 round counter.
16371 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16372
c97a1282
L
163732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16374
16375 [BZ #12597]
16376 * string/test-strncmp.c (do_page_test): New function.
16377 (check2): Likewise.
16378 (test_main): Call check2.
16379 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16380
2a115601
UD
163812011-03-20 Ulrich Drepper <drepper@gmail.com>
16382
16383 [BZ #12587]
16384 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16385 Handle cache information in CPU leaf 4.
16386 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16387
8126d904
UD
163882011-03-18 Ulrich Drepper <drepper@gmail.com>
16389
042c49c6 16390 [BZ #12583]
8126d904
UD
16391 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16392 character representation.
16393 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16394
ccfe366e
RA
163952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16396
16397 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16398 END(__isnan) to END(__isnanf) to match function entry point/label
16399 EALIGN(__isnanf,...).
16400
c6e13027
JJ
164012011-03-10 Jakub Jelinek <jakub@redhat.com>
16402
16403 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16404
33f85a3f
UD
164052011-03-10 Ulrich Drepper <drepper@gmail.com>
16406
028478fa
UD
16407 [BZ #12510]
16408 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16409 copy from the symbol referenced in the relocation to initialize the
16410 used variable.
16411 Patch by Piotr Bury <pbury@goahead.com>.
16412 * elf/Makefile: Add rules to build and tst-unique3.
16413 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16414 * elf/tst-unique3.cc: New file.
16415 * elf/tst-unique3.h: New file.
16416 * elf/tst-unique3lib.cc: New file.
16417 * elf/tst-unique3lib2.cc: New file.
16418
33f85a3f
UD
16419 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16420
03592fc7
MF
164212011-03-10 Mike Frysinger <vapier@gentoo.org>
16422
16423 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16424 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16425 to _start.
03592fc7 16426
6a5ee102
UD
164272011-03-06 Ulrich Drepper <drepper@gmail.com>
16428
16429 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16430 to-be-loaded object along a path to loader is ld.so.
16431
7e4ba49c
HJ
164322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16433 Ulrich Drepper <drepper@gmail.com>
16434
16435 * sysdeps/x86_64/memset.S: After aligning destination, code
16436 branches to different locations depending on the value of
16437 misalignment, when multiarch is enabled. Fix this.
16438
164392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16440
16441 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16442 Set _x86_64_preferred_memory_instruction for AMD processsors.
16443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16444 Set bit_Prefer_SSE_for_memop for AMD processors.
16445
13a804de
UD
164462011-03-04 Ulrich Drepper <drepper@gmail.com>
16447
16448 * libio/fmemopen.c (fmemopen): Optimize a bit.
16449
9d25c392
AS
164502011-03-03 Andreas Schwab <schwab@redhat.com>
16451
16452 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16453
a5543c6a
RM
164542011-03-03 Roland McGrath <roland@redhat.com>
16455
16456 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16457
012d35f7
DM
164582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16459
7e4ba49c 16460 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16461 __bzero_ultra1 instead of __memset_ultra1.
16462
4bff6e01
AS
164632011-02-23 Andreas Schwab <schwab@redhat.com>
16464 Ulrich Drepper <drepper@gmail.com>
16465
16466 [BZ #12509]
16467 * include/link.h (struct link_map): Add l_orig_initfini.
16468 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16469 returning unsuccessfully.
16470 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16471 close of a file loaded at startup, restore the original l_initfini
16472 list.
16473 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16474 list, store the pointer.
16475 * elf/Makefile ($(objpfx)noload-mem): New rule.
16476 (noload-ENV): Define.
16477 (tests): Add $(objpfx)noload-mem.
16478 * elf/noload.c: Include <memcheck.h>.
16479 (main): Call mtrace. Close all opened handles.
16480
f2092faf
AS
164812011-02-17 Andreas Schwab <schwab@redhat.com>
16482
16483 [BZ #12454]
16484 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16485 dependencies are missing.
16486
6c8a2e88
ST
164872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16488
f2092faf 16489 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16490 Hurd needs munmap.
16491 * sysdeps/mach/hurd/ifreq.h: New file.
16492
84a42118
PB
164932011-01-27 Petr Baudis <pasky@suse.cz>
16494 Ulrich Drepper <drepper@gmail.com>
16495
071f805e 16496 [BZ 12445]#
84a42118
PB
16497 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16498 to extend_alloca().
16499 * stdio-common/bug23.c: New file.
16500 * stdio-common/Makefile (tests): Add bug23.
16501
e23fe25b
AS
165022010-09-28 Andreas Schwab <schwab@redhat.com>
16503 Ulrich Drepper <drepper@gmail.com>
16504
16505 [BZ #12489]
16506 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16507 before performing relro protection. At old place add assertion
16508 to make sure nothing changed.
16509
d3f02e10
NS
165102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16511 Glauber de Oliveira Costa <glommer@gmail.com>
16512
16513 * elf/elf.h: Add new ARM TLS relocs.
16514
d55fd7a5
RA
165152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16516
16517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16518 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16519 cast from r3.
16520 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16521 'tests' variable.
16522 * sysdeps/wordsize-64/tst-writev.c: New file.
16523
2206397e
RA
165242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16525
16526 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16527 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16528 insns in _dl_start to prevent a TOC reference before relocs are
16529 resolved.
16530
e9433893
UD
165312011-02-15 Ulrich Drepper <drepper@gmail.com>
16532
16533 [BZ #12469]
16534 * Makeconfig: Remove RANLIB definition.
16535 * Makerules: Don't use RANLIB.
16536 * aclocal.m4: Remove ranlib test.
16537 * configure.in: No need to check for ranlib.
16538 * elf/rtld-Rules: Don't use RANLIB.
16539
f75286c6
ST
165402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16541
8e31c82d
ST
16542 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16543 protection macro.
16544 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16545 inclusion protection macro.
16546
f75286c6
ST
16547 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16548 SIGRTMIN and SIGRTMAX and print information in that case only when
16549 SIGRTMIN is defined.
16550
c1d0e639
JJ
165512011-02-11 Jakub Jelinek <jakub@redhat.com>
16552
16553 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16554 arginfo fn returning -1.
16555
16556 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16557 and thousands string is zero terminated.
16558
edf9294e
AS
165592011-02-03 Andreas Schwab <schwab@redhat.com>
16560
16561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16562 sysdeps/unix/sysv/linux/bits/socket.h.
16563
2b7e92df
ST
165642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16565
edf9294e
AS
16566 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16567 (__CPU_COUNT): Remove old macros.
16568 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16569 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16570 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16571 (__sched_cpualloc, __sched_cpufree): Add declarations.
16572
a4c7ea7b
UD
165732011-02-05 Ulrich Drepper <drepper@gmail.com>
16574
16575 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16576 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16577 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16578 (readdhstai): Return value of addhstaiX call.
16579 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16580 (addgrbyX): Return value returned by cache_addgr.
16581 (readdgrbyname): Return value returned by addgrbyX.
16582 (readdgrbygid): Likewise.
16583 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16584 (addpwbyX): Return value returned by cache_addpw.
16585 (readdpwbyname): Return value returned by addhstbyX.
16586 (readdpwbyuid): Likewise.
16587 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16588 (addservbyX): Return value returned by cache_addserv.
16589 (readdservbyname): Return value returned by addservbyX:
16590 (readdservbyport): Likewise.
16591 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16592 (addhstbyX): Return value returned by cache_addhst.
16593 (readdhstbyname): Return value returned by addhstbyX.
16594 (readdhstbyaddr): Likewise.
16595 (readdhstbynamev6): Likewise.
16596 (readdhstbyaddrv6): Likewise.
16597 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16598 (readdinitgroups): Return value returned by addinitgroupsX.
16599 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16600 (prune_cache): Keep track of timeout value of re-added entries.
16601 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16602 * nscd/nscd.h: Adjust prototypes of readd* functions.
16603
a0bf67cc
RM
166042011-02-04 Roland McGrath <roland@redhat.com>
16605
16606 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16607 (nis_stats): Likewise.
16608 * nis/nis_modify.c (nis_modify): Likewise.
16609 * nis/nis_remove.c (nis_remove): Likewise.
16610 * nis/nis_add.c (nis_add): Likewise.
16611
16612 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16613
16614 * posix/fnmatch_loop.c: Add some consts.
16615
16616 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16617
435b95eb
L
166182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16619
16620 [BZ #12460]
16621 * config.make.in (config-cflags-novzeroupper): Define.
16622 * configure.in: Substitute libc_cv_cc_novzeroupper.
16623 * elf/Makefile (AVX-CFLAGS): Define.
16624 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16625 (CFLAGS-tst-auditmod4a.c): Likewise.
16626 (CFLAGS-tst-auditmod4b.c): Likewise.
16627 (CFLAGS-tst-auditmod6b.c): Likewise.
16628 (CFLAGS-tst-auditmod6c.c): Likewise.
16629 (CFLAGS-tst-auditmod7b.c): Likewise.
16630 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16631
8517b15e
UD
166322011-02-02 Ulrich Drepper <drepper@gmail.com>
16633
16634 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16635 function to the callback.
16636 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16637
10a656fe
AS
166382011-02-02 Andreas Schwab <schwab@redhat.com>
16639
16640 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16641 of errno.
16642
968dad0a
UD
166432011-01-19 Ulrich Drepper <drepper@gmail.com>
16644
9f94d2ea 16645 [BZ #11724]
968dad0a
UD
16646 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16647 of constructors.
16648 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16649 of destructors.
16650 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16651
16652 [BZ #11724]
16653 * elf/Makefile: Add rules to build and run new test.
16654 * elf/tst-initorder.c: New file.
16655 * elf/tst-initorder.exp: New file.
16656 * elf/tst-initordera1.c: New file.
16657 * elf/tst-initordera2.c: New file.
16658 * elf/tst-initordera3.c: New file.
16659 * elf/tst-initordera4.c: New file.
16660 * elf/tst-initorderb1.c: New file.
16661 * elf/tst-initorderb2.c: New file.
16662 * elf/tst-order-a1.c: New file.
16663 * elf/tst-order-a2.c: New file.
16664 * elf/tst-order-a3.c: New file.
16665 * elf/tst-order-a4.c: New file.
16666 * elf/tst-order-b1.c: New file.
16667 * elf/tst-order-b2.c: New file.
16668 * elf/tst-order-main.c: New file.
16669 New test case by George Gensure <werkt0@gmail.com>.
16670
86e92359
UD
166712010-10-01 Andreas Schwab <schwab@redhat.com>
16672
16673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16674 decoding ACE if AI_CANONIDN.
16675
5d5732b0
UD
166762011-01-18 Ulrich Drepper <drepper@gmail.com>
16677
16678 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16679
a77e8cbc
UD
166802011-01-17 Ulrich Drepper <drepper@gmail.com>
16681
6392473f
UD
16682 * version.h (RELEASE): Bump for 2.13 release.
16683 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16684
620a0529
UD
16685 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16686
18ba70a5
UD
16687 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16688 MADV_NOHUGEPAGE.
32465c3e
UD
16689 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16692 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16695
c0dafcf1
UD
16696 * posix/getconf.c: Update copyright year.
16697 * catgets/gencat.c: Likewise.
16698 * csu/version.c: Likewise.
16699 * debug/catchsegv.sh: Likewise.
16700 * debug/xtrace.sh: Likewise.
16701 * elf/ldconfig.c: Likewise.
16702 * elf/ldd.bash.in: Likewise.
16703 * elf/sprof.c (print_version): Likewise.
16704 * iconv/iconv_prog.c: Likewise.
16705 * iconv/iconvconfig.c: Likewise.
16706 * locale/programs/locale.c: Likewise.
16707 * locale/programs/localedef.c: Likewise.
16708 * malloc/memusage.sh: Likewise.
16709 * malloc/mtrace.pl: Likewise.
16710 * nscd/nscd.c (print_version): Likewise.
16711 * nss/getent.c: Likewise.
16712
a77e8cbc
UD
16713 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16714 PF_CAIF, and PF_ALG.
16715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16716
77e8bddf
AS
167172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16718
1f20b93a
AS
16719 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16720 (modules-names): Use them.
16721 (ifunc-test-modules, ifunc-pie-tests): Define.
16722 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16723 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16724 (test-extras): Likewise.
16725 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16726 $(compile-command.c).
16727 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16728 (all-built-dso): Define.
16729 (check-textrel.out, check-execstack.out): Depend on it.
16730
77e8bddf
AS
16731 * configure.in: Don't override --enable-multi-arch.
16732
bc425b33
UD
167332011-01-15 Ulrich Drepper <drepper@gmail.com>
16734
16735 [BZ #6812]
16736 * nscd/hstcache.c (tryagain): Define.
16737 (cache_addhst): Return tryagain not notfound for temporary errors.
16738 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16739 failed.
16740
794c3ad3
UD
167412011-01-14 Ulrich Drepper <drepper@gmail.com>
16742
70181fdd
UD
16743 [BZ #10563]
16744 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16745 to make the syscall.
16746 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16747
794c3ad3
UD
16748 [BZ #12378]
16749 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16750 and fall back to matching as normal character if the string ends before
16751 the matching ']' is found. This is what POSIX requires.
16752 * posix/testfnm.c: Adjust test result.
16753 * posix/globtest.sh: Adjust test result. Add new test.
16754 * posix/tst-fnmatch.input: Likewise.
16755 * posix/tst-fnmatch2.c: Add new test.
16756
68dc9497
AS
167572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16758
16759 * elf/Makefile (check-execstack): Revert last change. Depend on
16760 check-execstack.h.
16761 (check-execstack.h): New target.
16762 (generated): Add check-execstack.h.
16763 * elf/check-execstack.c: Include "check-execstack.h".
16764 (main): Revert last change.
16765 (handle_file): Return zero if GNU_STACK is absent and
16766 DEFAULT_STACK_PERMS doesn't include PF_X.
16767
451f001b
UD
167682011-01-13 Ulrich Drepper <drepper@gmail.com>
16769
cfa28e56
UD
16770 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16771 in child fails because the descriptor is already closed.
8cf8ce17
UD
16772 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16773 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16774 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16775
1086d70d
UD
16776 [BZ #12397]
16777 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16778 syscall.
16779
451f001b
UD
16780 [BZ #10484]
16781 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16782 temporary buffer used to handle multi lookups locally.
a85b5cb4 16783 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16784
08769175
UD
167852011-01-12 Ulrich Drepper <drepper@gmail.com>
16786
16787 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16788 loader is ld.so.
16789
5e49c52e
UD
167902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16791
16792 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16793 alignment for SSE2.
16794
60522a5f
UD
167952011-01-12 Ulrich Drepper <drepper@gmail.com>
16796
16797 [BZ #12394]
16798 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16799 characters. When rounding increased number of integer digits recompute
16800 number of groups.
16801 * stdio-common/tst-grouping.c: New file.
16802 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16803
f257bbd7
UD
168042011-01-09 Ulrich Drepper <drepper@gmail.com>
16805
16806 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16807 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16808
16809 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16810 void.
16811 * bits/select.h: Likewise.
16812
fa9c15cb
UD
168132011-01-08 Ulrich Drepper <drepper@gmail.com>
16814
16815 * po/ja.po: Update from translation team.
16816
16c2895f
DM
168172011-01-04 David S. Miller <davem@sunset.davemloft.net>
16818
16819 [BZ #11155]
16820 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16821 implementation just like for lxstat, fxstatat, et al.
16822
2543fef2
JM
168232010-12-27 Jim Meyering <meyering@redhat.com>
16824
16825 [BZ #12348]
16826 * posix/regexec.c (build_trtable): Return failure indication upon
16827 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16828
98727dbe
UD
168292010-12-25 Ulrich Drepper <drepper@gmail.com>
16830
5bd6dc5c
UD
16831 [BZ #12201]
16832 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16833 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16834 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16835 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16836
97983464
UD
16837 [BZ #12207]
16838 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16839
98727dbe
UD
16840 [BZ #12204]
16841 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16842 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16843
4a531bb0
L
168442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16845
16846 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16847 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16848 script has SORT_BY_INIT_PRIORITY.
16849 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16850 NO_CTORS_DTORS_SECTIONS is defined.
16851 * elf/soinit.c: Likewise.
16852 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16853 NO_CTORS_DTORS_SECTIONS is defined.
16854 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16855 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16856 * sysdeps/sh/init-first.c: Likewise.
16857 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16858
07eb4b71
UD
168592010-12-24 Ulrich Drepper <drepper@gmail.com>
16860
16861 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16862 always use the slow path.
16863
30950a5f
RA
168642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16865
16866 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16867 similar rule which adds the sysdep directories to the header search in
16868 order to pick up the correct platform stackinfo.h.
16869 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16870 perform test if it is, otherwise return successfully without testing.
16871 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16872 DEFAULT_STACK_PERMS define in stackinfo.h.
16873 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16874 defined in stackinfo.h.
16875 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16876 DEFAULT_STACK_PERMS defined in stackinfo.h.
16877 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16878 * sysdeps/ia64/stackinfo.h: Likewise.
16879 * sysdeps/s390/stackinfo.h: Likewise.
16880 * sysdeps/sh/stackinfo.h: Likewise.
16881 * sysdeps/sparc/stackinfo.h: Likewise.
16882 * sysdeps/x86_64/stackinfo.h: Likewise.
16883 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16884 PF_X for powerpc64. Retain PF_X for powerpc32.
16885
db753e2c
UD
168862010-12-19 Ulrich Drepper <drepper@gmail.com>
16887
14b697f7
UD
16888 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16889 accurately.
db753e2c
UD
16890 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16891 GETDENTS_64BIT_ALIGNED.
16892
28300719
UD
168932010-12-14 Ulrich Drepper <dreper@gmail.com>
16894
14b697f7 16895 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16896
4f197237
AS
168972010-12-10 Andreas Schwab <schwab@redhat.com>
16898
dbb0472f
AS
16899 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16900 _GNU_SOURCE.
16901
4f197237
AS
16902 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16903 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16904 Remove __restrict.
16905 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16906 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16907
fb88ac72
UD
169082010-12-09 Ulrich Drepper <drepper@gmail.com>
16909
16910 [BZ #11655]
16911 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16912 are initialized.
16913
42acbb92
JJ
169142010-12-09 Jakub Jelinek <jakub@redhat.com>
16915
16916 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16917
c038d98d
UD
169182010-12-03 Ulrich Drepper <drepper@gmail.com>
16919
16920 * po/it.po: Update from translation team.
16921
3a4a2499
L
169222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16923
16924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16925 unused codes.
16926
1e24cf6e
UD
169272010-11-30 Ulrich Drepper <drepper@gmail.com>
16928
16929 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16930
a7690819
AS
169312010-11-24 Andreas Schwab <schwab@redhat.com>
16932
16933 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16934 specially.
16935 (gaih_getanswer_slice): Likewise.
16936
3bf8d1b1
JJ
169372010-10-20 Jakub Jelinek <jakub@redhat.com>
16938
16939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16940
6db52fbb
PB
169412010-05-31 Petr Baudis <pasky@suse.cz>
16942
16943 [BZ #11149]
16944 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16945 silently even in the chroot mode.
16946
eaca7569
UD
169472010-11-22 Ulrich Drepper <drepper@gmail.com>
16948
16949 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16950 last patch a bit. Pretty printing
16951
3056dcdb
UD
169522010-05-31 Petr Baudis <pasky@suse.cz>
16953
16954 [BZ #10085]
16955 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16956 initialization of skip_initgroups_dyn.
16957
cf7c9078
UD
169582010-11-19 Ulrich Drepper <drepper@gmail.com>
16959
16960 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16961 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16962
a1fb5e3e
UD
169632010-11-16 Ulrich Drepper <drepper@gmail.com>
16964
16965 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16966
3540d66b
AS
169672010-11-11 Andreas Schwab <schwab@redhat.com>
16968
16969 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16970 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16971 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16972 ($(objpfx)tst-fnmatch-mem): New rule.
16973 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16974 * posix/tst-fnmatch.c (main): Call mtrace.
16975
13b69574
L
169762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16977
16978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16979 Support Intel processor model 6 and model 0x2c.
16980
da93d214
LM
169812010-11-10 Luis Machado <luisgpm@br.ibm.com>
16982
16983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16984 signed comparison.
16985
8ca52c6e
L
169862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16987
16988 [BZ #12205]
16989 * string/test-strncasecmp.c (check_result): New function.
16990 (do_one_test): Use it.
16991 (check1): New function.
16992 (test_main): Use it.
16993 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16994 Support strcasecmp and strncasecmp.
16995
69da074d
UD
169962010-11-08 Ulrich Drepper <drepper@gmail.com>
16997
16998 [BZ #12194]
16999 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17000 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17001
ff02d528
L
170022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17003
17004 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17005 IFUNC support.
17006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17007 memset-x86-64.
17008 * sysdeps/x86_64/multiarch/bzero.S: New file.
17009 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17010 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17011 * sysdeps/x86_64/multiarch/memset.S: New file.
17012 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17014 Set bit_Prefer_SSE_for_memop for Intel processors.
17015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17016 Define.
17017 (index_Prefer_SSE_for_memop): Define.
17018 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17019
344d0b54
LM
170202010-11-04 Luis Machado <luisgpm@br.ibm.com>
17021
17022 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17023 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17024
c0dde15b
UD
170252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17026
17027 [BZ #12191]
17028 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17029 (__x86_64_raw_data_cache_size_half): Likewise.
17030 (__x86_64_raw_shared_cache_size): Likewise.
17031 (__x86_64_raw_shared_cache_size_half): Likewise.
17032
17033 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17034 (__x86_64_raw_data_cache_size_half): Likewise.
17035 (__x86_64_raw_shared_cache_size): Likewise.
17036 (__x86_64_raw_shared_cache_size_half): Likewise.
17037 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17038 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17039 and __x86_64_raw_shared_cache_size_half. Round
17040 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17041 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17042 to multiple of 256 bytes.
17043
0e516e0e
MS
170442010-11-03 Ulrich Drepper <drepper@gmail.com>
17045
17046 [BZ #12167]
17047 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17048 of inacessible symlinks. Verify result of symlink before returning it.
17049 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17050 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17051
0e012e87
ER
170522010-10-28 Erich Ritz <erichritz@gmail.com>
17053
17054 * math/math.h (isinf): Fix typo in comment.
17055
de0ff7bc
UD
170562010-11-01 Ulrich Drepper <drepper@gmail.com>
17057
17058 * po/da.po: Update from translation team.
17059
fa41c84d
UD
170602010-10-26 Ulrich Drepper <drepper@gmail.com>
17061
17062 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17063 is added to the list.
17064
f0967738
AK
170652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17066 Ulrich Drepper <drepper@gmail.com>
17067
17068 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17069 the global list here. Move code to...
17070 (_dl_add_to_namespace_list): ...here. New function.
17071 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17072 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17073 * elf/dl-load.c (lose): Don't remove the element from the list.
17074 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17075 (_dl_map_object): Likewise.
17076
170772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17078
17079 [BZ #12159]
17080 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17081 into all bytes of SSE register.
17082 Patch by Richard Li <richardpku@gmail.com>.
17083
f0967738 170842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17085
17086 [BZ #12140]
17087 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17088 perturbing.
17089
d0b9e94f
MB
170902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17091
17092 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17093 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17094 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17095 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17097 submachine.
17098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17099
8e9f92e9
AS
171002010-10-22 Andreas Schwab <schwab@redhat.com>
17101
17102 * include/dlfcn.h (__RTLD_SECURE): Define.
17103 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17104 mode & __RTLD_SECURE instead.
17105 (open_path): Rename preloaded parameter to secure.
17106 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17107 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17108 * elf/dl-deps.c (openaux): Likewise.
17109 * elf/rtld.c (struct map_args): Remove is_preloaded.
17110 (map_doit): Don't use it.
17111 (dl_main): Likewise.
17112 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17113 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17114
bc96fbda
AS
171152010-09-09 Andreas Schwab <schwab@redhat.com>
17116
17117 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17118 (sysd-rules-targets): Remove duplicates.
17119 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17120 rtld-%.$o dependency.
17121
22cd1c9b
AS
171222010-10-18 Andreas Schwab <schwab@redhat.com>
17123
17124 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17125 _dl_map_object do it.
17126
18edac48
UD
171272010-10-19 Ulrich Drepper <drepper@gmail.com>
17128
17129 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17130 fast fma builtins, define the macros in the C99 standard.
17131 (FP_FAST_FMAF): Likewise.
17132 (FP_FAST_FMAL): Likewise.
17133 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17134
17135 * bits/mathdef.h: Update copyright year.
17136 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17137
d2050124
MM
171382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17139
17140 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17141 builtins, define the macros in the C99 standard.
17142 (FP_FAST_FMAF): Likewise.
17143 (FP_FAST_FMAL): Likewise.
17144 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17145 multiply/add.
17146 (FP_FAST_FMAF): Likewise.
17147
475facd1
JJ
171482010-10-15 Jakub Jelinek <jakub@redhat.com>
17149
17150 [BZ #3268]
17151 * math/libm-test.inc (fma_test): Some new testcases.
17152 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17153 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17154 y and infinite z. Do multiplication by C already in long double.
17155 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17157 y and infinite z. Do bitwise or of inexact bit into u.d.
17158 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17159 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17160 * sysdeps/i386/fpu/s_fma.S: Removed.
17161 * sysdeps/i386/fpu/s_fmal.S: Removed.
17162
7c08a05c
JJ
171632010-10-16 Jakub Jelinek <jakub@redhat.com>
17164
17165 [BZ #3268]
17166 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17168 computation is not scheduled after fetestexcept. Fix value
17169 of minimum denormal long double.
17170
f3f7372d
JJ
171712010-10-14 Jakub Jelinek <jakub@redhat.com>
17172
17173 [BZ #3268]
17174 * math/libm-test.inc (fma_test): Add some more tests.
17175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17176 correctly.
17177
14d43591
AS
171782010-10-15 Andreas Schwab <schwab@redhat.com>
17179
17180 * scripts/data/localplt-s390-linux-gnu.data: New file.
17181 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17182
5e908464
JJ
171832010-10-13 Jakub Jelinek <jakub@redhat.com>
17184
17185 [BZ #3268]
17186 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17187 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17188 instead of dbl-64.
17189 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17190 inlines.
17191 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17193 if one of x and y is very large and the other is subnormal.
17194 * sysdeps/s390/fpu/s_fmaf.c: New file.
17195 * sysdeps/s390/fpu/s_fma.c: New file.
17196 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17197 * sysdeps/powerpc/fpu/s_fma.S: New file.
17198 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17199 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17200 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17201
172022010-10-12 Jakub Jelinek <jakub@redhat.com>
17203
17204 [BZ #3268]
17205 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17206 fma tests.
17207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17208 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17209 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17210 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17211 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17212 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17214
b833d51f
UD
172152010-10-12 Ulrich Drepper <drepper@redhat.com>
17216
17217 [BZ #12078]
17218 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17219 * posix/bug-regex31.input: Add test case.
17220
1751705d
UD
172212010-10-11 Ulrich Drepper <drepper@gmail.com>
17222
e9b9cbf5
UD
17223 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17224 * posix/bug-regex31.input: New file.
17225
17226 [BZ #12078]
17227 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17228 (parse_sub_exp): Fix last change, use postorder.
17229
ef06edbe
UD
17230 * posix/bug-regex31.c: New file.
17231 * posix/Makefile: Add rules to build and run bug-regex31.
17232
a129c80d
UD
17233 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17234
17235 [BZ #12078]
17236 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17237
b76b818e
UD
17238 [BZ #12108]
17239 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17240 to have entries in sys_siglist.
17241
1751705d
UD
17242 [BZ #12093]
17243 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17244 be NULL.
17245
9ff8d36f
JJ
172462010-10-07 Jakub Jelinek <jakub@redhat.com>
17247
17248 [BZ #3268]
17249 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17250 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17251 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17252 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17253 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17254 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17255 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17256 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17257 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17258 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17259 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17260 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17261 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17262 * math/ftestexcept.c (fetestexcept): Likewise.
17263 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17264 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17265 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17266 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17267 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17268 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17270
af325969
UD
172712010-10-11 Ulrich Drepper <drepper@gmail.com>
17272
c579b202 17273 [BZ #12107]
af325969
UD
17274 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17275 newline.
17276
67a67b95
UD
172772010-10-06 Ulrich Drepper <drepper@gmail.com>
17278
17279 * string/bug-strstr1.c: New file.
17280 * string/Makefile: Add rules to build and run bug-strstr1.
17281
5fb308bc
EB
172822010-10-05 Eric Blake <eblake@redhat.com>
17283
17284 [BZ #12092]
17285 * string/str-two-way.h (two_way_long_needle): Always clear memory
17286 when skipping input due to the shift table.
17287
45db99c7
UD
172882010-10-03 Ulrich Drepper <drepper@gmail.com>
17289
3b111893
UD
17290 [BZ #12005]
17291 * malloc/mcheck.c: Handle large requests.
17292
45db99c7
UD
17293 [BZ #12077]
17294 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17295 for strncmp and strncasecmp.
17296 * string/stratcliff.c: Add tests for strcmp and strncmp.
17297 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17298
cf7a1eb8
NI
172992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17300
17301 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17302 __set_fpscr.
17303
6484ba5e
AJ
173042010-09-30 Andreas Jaeger <aj@suse.de>
17305
17306 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17307 (CGROUP_SUPER_MAGIC): Define.
17308 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17309 Handle btrfs and cgroup file systems.
17310 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17311 Likewise.
17312
91c42559
LM
173132010-09-27 Luis Machado <luisgpm@br.ibm.com>
17314
17315 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17316 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17317
87a97932
AK
173182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17319
17320 [BZ #12067]
17321 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17322 trying to locate the ELF header.
17323
c21cc9bc
AS
173242010-09-27 Andreas Schwab <schwab@redhat.com>
17325
17326 [BZ #11611]
17327 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17328 Mask out sign-bit copies when constructing f_fsid.
17329
315970f6
PB
173302010-09-24 Petr Baudis <pasky@suse.cz>
17331
17332 * debug/stack_chk_fail_local.c: Add missing licence exception.
17333 * debug/warning-nop.c: Likewise.
17334
1ac7a2c7
JM
173352010-09-15 Joseph Myers <joseph@codesourcery.com>
17336
17337 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17338 implementing getdents64 using getdents syscall, set d_type if
17339 __ASSUME_GETDENTS32_D_TYPE.
17340
56801c50
AS
173412010-09-16 Andreas Schwab <schwab@redhat.com>
17342
17343 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17344 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17345
dda51327
UD
173462010-09-21 Ulrich Drepper <drepper@redhat.com>
17347
17348 [BZ #12037]
17349 * posix/unistd.h: Undo change of feature selection for ftruncate from
17350 2010-01-11.
17351
8ffcee4a
UD
173522010-09-20 Ulrich Drepper <drepper@redhat.com>
17353
a545ecd9 17354 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17355 detection.
17356
e24f0a8b
AS
173572010-09-20 Andreas Schwab <schwab@redhat.com>
17358
17359 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17360 fanotify_mark.
17361 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17362
7291c56f
AS
173632010-09-14 Andreas Schwab <schwab@redhat.com>
17364
17365 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17366 variables after CHECK_SP call.
17367 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17368
bc5fb037
AS
173692010-09-13 Andreas Schwab <schwab@redhat.com>
17370 Ulrich Drepper <drepper@redhat.com>
17371
17372 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17373 re-relocationg ld.so.
17374 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17375 _dl_init_paths call.
17376 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17377 here anymore.
17378
e66e7419
UD
173792010-09-14 Ulrich Drepper <drepper@redhat.com>
17380
17381 * resolv/res_init.c (__res_vinit): Count the default server we added.
17382
c044aa75
CLT
173832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17384 Ulrich Drepper <drepper@redhat.com>
17385
17386 [BZ #11968]
17387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17388 (____longjmp_chk): Use %ebx for saving value across system call.
17389 Add unwind info.
17390
32cf4069
AS
173912010-09-06 Andreas Schwab <schwab@redhat.com>
17392
17393 * manual/Makefile: Don't mix pattern rules with normal rules.
17394
817328ee
AS
173952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17396
17397 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17398 operation.
17399 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17400 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17401 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17402 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17404 Likewise.
17405
29fddf61
UD
174062010-09-04 Ulrich Drepper <drepper@redhat.com>
17407
17408 [BZ #11979]
17409 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17410 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17411
0959ffc9
UD
174122010-09-02 Ulrich Drepper <drepper@redhat.com>
17413
17414 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17415 * sysdeps/x86_64/addmul_1.S: Likewise.
17416 * sysdeps/x86_64/lshift.S: Likewise.
17417 * sysdeps/x86_64/mul_1.S: Likewise.
17418 * sysdeps/x86_64/rshift.S: Likewise.
17419 * sysdeps/x86_64/sub_n.S: Likewise.
17420 * sysdeps/x86_64/submul_1.S: Likewise.
17421
ece29840
ST
174222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17423
0959ffc9
UD
17424 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17425 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17426 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17427 * bits/sched.h [__need_schedparam]
ece29840 17428 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17429 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17430 (__defined_schedparam): Define to 1.
ece29840
ST
17431 (__sched_param): New structure, identical to sched_param.
17432 (__need_schedparam): Undefine.
17433
e53a31fe
MF
174342010-08-31 Mike Frysinger <vapier@gentoo.org>
17435
fdc0c10d
MF
17436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17437 (epoll_create1): Declare.
17438
e53a31fe
MF
17439 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17440
a726d796
AS
174412010-08-31 Andreas Schwab <schwab@redhat.com>
17442
17443 [BZ #7066]
17444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17445 shifting retval into place.
17446
2f3e3dc7
UD
174472010-09-01 Ulrich Drepper <drepper@redhat.com>
17448
f2933da9
UD
17449 * nis/rpcsvc/nis.h: Update copyright notice.
17450 * nis/rpcsvc/nis.x: Likewise.
17451 * nis/rpcsvc/nis_callback.h: Likewise.
17452 * nis/rpcsvc/nis_callback.x: Likewise.
17453 * nis/rpcsvc/nis_object.x: Likewise.
17454 * nis/rpcsvc/nis_tags.h: Likewise.
17455 * nis/rpcsvc/yp.h: Likewise.
17456 * nis/rpcsvc/yp.x: Likewise.
17457 * nis/rpcsvc/ypupd.h: Likewise.
17458 * nis/yp_xdr.c: Likewise.
17459 * nis/ypupdate_xdr.c: Likewise.
17460
2f3e3dc7
UD
17461 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17462 mainly the body of pmap_getport. Add parameters to specify timeouts.
17463 (pmap_getport): Use __libc_rpc_getport.
17464 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17465 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17466 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17467
f3dcc2f9
AS
174682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17469
17470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17471 fanotify_mark.
17472
6d34eb5b
RM
174732010-08-27 Roland McGrath <roland@redhat.com>
17474
17475 * sysdeps/i386/i686/multiarch/Makefile
17476 (CFLAGS-varshift.c): New variable.
17477
9ea3de11
UD
174782010-08-27 Ulrich Drepper <drepper@redhat.com>
17479
c96d23fc
UD
17480 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17481 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17482
9ea3de11
UD
17483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17484
17485 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17486
623aac7f
L
174872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17488
17489 * sysdeps/x86_64/strlen.S: Unroll the loop.
17490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17491 strlen-sse2 strlen-sse2-bsf.
17492 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17493 __strlen_no_bsf if bit_Slow_BSF is set.
17494 (__strlen_sse42): Removed.
17495 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17496 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17497
8b2b7715
RM
174982010-08-25 Roland McGrath <roland@redhat.com>
17499
17500 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17501 * sysdeps/x86_64/multiarch/varshift.c: New file.
17502 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17503 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17504 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17505 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17506
e73015f2
L
175072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17508
17509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17510 strlen-sse2 strlen-sse2-bsf.
17511 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17512 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17513 (__strlen_sse2): Removed.
17514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17517 bit_Slow_BSF for Atom.
17518 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17519 (index_Slow_BSF): Define.
17520 (HAS_SLOW_BSF): Define.
17521
df24a73e
UD
175222010-08-25 Ulrich Drepper <drepper@redhat.com>
17523
17524 [BZ #10851]
17525 * resolv/res_init.c (__res_vinit): When no server address at all
17526 is given default to loopback.
17527
f2ac4868
RM
175282010-08-24 Roland McGrath <roland@redhat.com>
17529
09055553
RM
17530 * configure.in: Remove config-name.h generation.
17531 * configure: Regenerated.
17532 * config-name.in: File removed.
17533 * scripts/config-uname.sh: New file.
17534 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17535 ($(objdir)config-name.h): New target.
17536
f2ac4868
RM
17537 * sunrpc/rpc_parse.h: Avoid nested comment.
17538
73f27d5e
RH
175392010-08-24 Richard Henderson <rth@redhat.com>
17540 Ulrich Drepper <drepper@redhat.com>
17541 H.J. Lu <hongjiu.lu@intel.com>
17542
17543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17545 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17546 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17547 _mm_alignr_epi8 with _mm_loadu_si128.
17548 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17549 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17550 (__m128i_shift_right): Removed.
17551 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17552 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17553 * sysdeps/x86_64/multiarch/varshift.h: New file.
17554 * sysdeps/x86_64/multiarch/varshift.S: New file.
17555
84b9230c
MF
175562010-08-21 Mike Frysinger <vapier@gentoo.org>
17557
17558 * configure.in: Move assembler checks to before sysdep dir checking.
17559
9bbd0ddc
PB
175602010-08-20 Petr Baudis <pasky@suse.cz>
17561
17562 * LICENSES: Sync the sunrpc license.
17563
9da4bb31
UD
175642010-08-19 Ulrich Drepper <drepper@redhat.com>
17565
a7ab6ec8
UD
17566 * sunrpc/auth_des.c: Update copyright notice once again.
17567 * sunrpc/auth_none.c: Likewise.
17568 * sunrpc/auth_unix.c: Likewise.
17569 * sunrpc/authdes_prot.c: Likewise.
17570 * sunrpc/authuxprot.c: Likewise.
17571 * sunrpc/bindrsvprt.c: Likewise.
17572 * sunrpc/clnt_gen.c: Likewise.
17573 * sunrpc/clnt_perr.c: Likewise.
17574 * sunrpc/clnt_raw.c: Likewise.
17575 * sunrpc/clnt_simp.c: Likewise.
17576 * sunrpc/clnt_tcp.c: Likewise.
17577 * sunrpc/clnt_udp.c: Likewise.
17578 * sunrpc/clnt_unix.c: Likewise.
17579 * sunrpc/des_crypt.c: Likewise.
17580 * sunrpc/des_soft.c: Likewise.
17581 * sunrpc/get_myaddr.c: Likewise.
17582 * sunrpc/getrpcport.c: Likewise.
17583 * sunrpc/key_call.c: Likewise.
17584 * sunrpc/key_prot.c: Likewise.
17585 * sunrpc/openchild.c: Likewise.
17586 * sunrpc/pm_getmaps.c: Likewise.
17587 * sunrpc/pm_getport.c: Likewise.
17588 * sunrpc/pmap_clnt.c: Likewise.
17589 * sunrpc/pmap_prot.c: Likewise.
17590 * sunrpc/pmap_prot2.c: Likewise.
17591 * sunrpc/pmap_rmt.c: Likewise.
17592 * sunrpc/rpc/auth.h: Likewise.
17593 * sunrpc/rpc/auth_unix.h: Likewise.
17594 * sunrpc/rpc/clnt.h: Likewise.
17595 * sunrpc/rpc/des_crypt.h: Likewise.
17596 * sunrpc/rpc/key_prot.h: Likewise.
17597 * sunrpc/rpc/netdb.h: Likewise.
17598 * sunrpc/rpc/pmap_clnt.h: Likewise.
17599 * sunrpc/rpc/pmap_prot.h: Likewise.
17600 * sunrpc/rpc/pmap_rmt.h: Likewise.
17601 * sunrpc/rpc/rpc.h: Likewise.
17602 * sunrpc/rpc/rpc_des.h: Likewise.
17603 * sunrpc/rpc/rpc_msg.h: Likewise.
17604 * sunrpc/rpc/svc.h: Likewise.
17605 * sunrpc/rpc/svc_auth.h: Likewise.
17606 * sunrpc/rpc/types.h: Likewise.
17607 * sunrpc/rpc/xdr.h: Likewise.
17608 * sunrpc/rpc_clntout.c: Likewise.
17609 * sunrpc/rpc_cmsg.c: Likewise.
17610 * sunrpc/rpc_common.c: Likewise.
17611 * sunrpc/rpc_cout.c: Likewise.
17612 * sunrpc/rpc_dtable.c: Likewise.
17613 * sunrpc/rpc_hout.c: Likewise.
17614 * sunrpc/rpc_main.c: Likewise.
17615 * sunrpc/rpc_parse.c: Likewise.
17616 * sunrpc/rpc_parse.h: Likewise.
17617 * sunrpc/rpc_prot.c: Likewise.
17618 * sunrpc/rpc_sample.c: Likewise.
17619 * sunrpc/rpc_scan.c: Likewise.
17620 * sunrpc/rpc_scan.h: Likewise.
17621 * sunrpc/rpc_svcout.c: Likewise.
17622 * sunrpc/rpc_tblout.c: Likewise.
17623 * sunrpc/rpc_util.c: Likewise.
17624 * sunrpc/rpc_util.h: Likewise.
17625 * sunrpc/rpcinfo.c: Likewise.
17626 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17627 * sunrpc/rpcsvc/key_prot.x: Likewise.
17628 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17629 * sunrpc/rpcsvc/mount.x: Likewise.
17630 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17631 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17632 * sunrpc/rpcsvc/rex.x: Likewise.
17633 * sunrpc/rpcsvc/rstat.x: Likewise.
17634 * sunrpc/rpcsvc/rusers.x: Likewise.
17635 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17636 * sunrpc/rpcsvc/spray.x: Likewise.
17637 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17638 * sunrpc/rtime.c: Likewise.
17639 * sunrpc/svc.c: Likewise.
17640 * sunrpc/svc_auth.c: Likewise.
17641 * sunrpc/svc_authux.c: Likewise.
17642 * sunrpc/svc_raw.c: Likewise.
17643 * sunrpc/svc_run.c: Likewise.
17644 * sunrpc/svc_simple.c: Likewise.
17645 * sunrpc/svc_tcp.c: Likewise.
17646 * sunrpc/svc_udp.c: Likewise.
17647 * sunrpc/svc_unix.c: Likewise.
17648 * sunrpc/svcauth_des.c: Likewise.
17649 * sunrpc/xcrypt.c: Likewise.
17650 * sunrpc/xdr.c: Likewise.
17651 * sunrpc/xdr_array.c: Likewise.
17652 * sunrpc/xdr_float.c: Likewise.
17653 * sunrpc/xdr_mem.c: Likewise.
17654 * sunrpc/xdr_rec.c: Likewise.
17655 * sunrpc/xdr_ref.c: Likewise.
17656 * sunrpc/xdr_sizeof.c: Likewise.
17657 * sunrpc/xdr_stdio.c: Likewise.
17658
9da4bb31
UD
17659 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17660 handling.
17661
bdaa77bc
AS
176622010-08-19 Andreas Schwab <schwab@redhat.com>
17663
17664 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17665
fe2f79db
LM
176662010-08-19 Luis Machado <luisgpm@br.ibm.com>
17667
17668 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17669 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17670 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17671 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17672 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17673 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17674 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17675 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17676 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17677 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17678 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17679 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17680 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17681 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17682
b9b42ee0
AB
176832010-07-26 Anton Blanchard <anton@samba.org>
17684
17685 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17686 * malloc/arena.c (heap_trim): Likewise.
17687
1c06ba31
UD
176882010-08-16 Ulrich Drepper <drepper@redhat.com>
17689
17690 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17691 here. Not...
17692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17693 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17694
f8392f40
L
176952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17696
17697 * sysdeps/i386/elf/Makefile: New file.
17698
3162f12e
AS
176992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17700
17701 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17702 from fanotify_init.
17703 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17705
28c90b2c
UD
177062010-08-15 Ulrich Drepper <drepper@redhat.com>
17707
17708 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17709 of strncasecmp_l.
1feccb6c 17710 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17711
ca6bb004
UD
177122010-08-14 Ulrich Drepper <drepper@redhat.com>
17713
e9f82e0d
UD
17714 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17715 strncase_l-nonascii.
17716 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17717 Add strncase_l-ssse3.
17718 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17719 * sysdeps/x86_64/strcmp.S: Likewise.
17720 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17721 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17722 * sysdeps/x86_64/strncase.S: New file.
17723 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17724 * sysdeps/x86_64/strncase_l.S: New file.
17725 * string/Makefile (strop-tests): Add strncasecmp.
17726 * string/test-strncasecmp.c: New file.
17727
17728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17729 warning.
17730
ca6bb004
UD
17731 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17732 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17733
052fa7b3
AS
177342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17735
17736 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17737
962dba78
UD
177382010-08-12 Ulrich Drepper <drepper@redhat.com>
17739
17740 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17741 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17742 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17743
bebff237
AM
177442010-05-01 Alan Modra <amodra@gmail.com>
17745
17746 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17747 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17748 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17749 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17750 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17751 tidying. Don't tail-call __sigjmp_save for static lib.
17752 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17753 save location.
17754 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17755 (CALL_MCOUNT): Add eh info, and nop after bl.
17756 (TAIL_CALL_SYSCALL_ERROR): New macro.
17757 (PSEUDO_RET): Use it.
17758 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17759 Correct save location of integer regs and cr.
17760 (_dl_profile_resolve): Correct cr save location. Delete nops
17761 after bl when SHARED. Reduce cfi size a little by better
17762 placement of cfi directives.
17763 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17764 make a stack frame. Instead use parm save area as a temp.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17766 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17768 Don't make a stack frame for parent, use parm save area.
17769 Increase child stack frame to 112 bytes. Don't save unused reg,
17770 and adjust reg usage. Set up cfi on error recovery and
17771 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17773 (__makecontext): Add dummy nop after jump to exit.
17774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17775 Use correct parm save area and cr save, reduce stack frame.
17776 Correct cfi for possible PSEUDO_RET frame setup.
17777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17778 Branch to local label emitted by PSEUDO_RET rather than
17779 __syscall_error.
17780
02637374
AS
177812010-08-12 Andreas Schwab <schwab@redhat.com>
17782
17783 [BZ #11904]
17784 * locale/programs/locale.c (print_assignment): New function.
17785 (show_locale_vars): Use it.
17786
c3e2f19b
UD
177872010-08-11 Ulrich Drepper <drepper@redhat.com>
17788
3cdaa6ad
UD
17789 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17790 field.
17791 (struct statfs64): Likewise.
17792 (_STATFS_F_FLAGS): Define.
17793 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17794 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17795 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17796 (ST_VALID): Define locally.
17797 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17798 __statvfs_getflags, use the provided value.
17799 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17800 __ASSUME_STATFS_F_FLAGS.
17801
754f7da3
UD
17802 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17803
10b3bedc
UD
17804 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17805 Add sys/fanotify.h.
17806 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17807 fanotify_mask for GLIBC_2.13.
17808 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17809 fanotify_init and fanotify_mark.
17810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17811 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17812
c08fb0d7
UD
17813 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17814 Add prlimit.
17815 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17816 prlimit64 for GLIBC_2.13.
17817 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17818 prlimit64.
17819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17820 syscall.
17821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17822 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17823 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17824 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17826 add prlimit alias.
17827 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17828
15bac72b
UD
17829 [BZ #11903]
17830 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17831 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17832
c3e2f19b
UD
17833 * nss/Makefile: Add rules to build and run tst-nss-test1.
17834 * shlib-versions: Add entry for libnss_test1.
17835 * nss/nss_test1.c: New file.
17836 * nss/tst-nss-test1.c: New file.
17837
17838 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17839 (__nss_configure_lookup): Set appropriate entry in
17840 __nss_configure_lookup to true.
17841 * nss/nsswitch.h: Define enum with indeces of databases in
17842 databases and __nss_database_custom arrays. Declare
17843 __nss_database_custom.
17844 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17845 to avoid using nscd when custom rules are installed.
17846 * nss/getXXbyYY_r.c: Likewise.
17847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17848
17849 * nss/nss_files/files-parse.c: Whitespace fixes.
17850
f15ce4d8
UD
178512010-08-09 Ulrich Drepper <drepper@redhat.com>
17852
17853 [BZ #11883]
17854 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17855 * posix/fnmatch_loop.c: Likewise.
17856
d22e4cc9
AK
178572010-07-17 Andi Kleen <ak@linux.intel.com>
17858
17859 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17860 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17861 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17862 * Versions.def [GLIBC_2.13]: Add.
17863
805bc17d
UD
178642010-08-06 Ulrich Drepper <drepper@redhat.com>
17865
17866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17867 Also fail if tpwd after pwuid call is NULL.
17868
5a42321d
ST
178692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17870
17871 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17872 when converting to ms.
17873
fd3ebeda
ST
178742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17875
17876 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17877 EOPNOTSUPP errors with ENOTTY.
17878 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17879 EOPNOTSUPP errors with ENOTTY.
17880
73507d3a
UD
178812010-07-31 Ulrich Drepper <drepper@redhat.com>
17882
17883 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17884 Add strcasecmp_l-ssse3.
17885 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17886 strcasecmp.
17887 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17888 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17889 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17890
fe36dd02
UD
178912010-07-30 Ulrich Drepper <drepper@redhat.com>
17892
66f6765a
UD
17893 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17894
42e08a54
UD
17895 * string/Makefile (strop-tests): Add strcasecmp.
17896 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17897 strcasecmp_l-nonascii.
17898 (gen-as-const-headers): Add locale-defines.sym.
17899 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17900 * sysdeps/x86_64/strcasecmp.S: New file.
17901 * sysdeps/x86_64/strcasecmp_l.S: New file.
17902 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17903 * sysdeps/x86_64/locale-defines.sym: New file.
17904 * string/test-strcasecmp.c: New file.
17905
fe36dd02
UD
17906 * string/test-strcasestr.c: Test both ends of the range of characters.
17907 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17908
48cbc0d6
RM
179092010-07-29 Roland McGrath <roland@redhat.com>
17910
76e6d6bc 17911 [BZ #11856]
48cbc0d6
RM
17912 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17913
880113d9
UD
179142010-07-27 Ulrich Drepper <drepper@redhat.com>
17915
17916 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17917 for ld.so.
17918
deb9cabb
AS
179192010-07-27 Andreas Schwab <schwab@redhat.com>
17920
17921 * manual/memory.texi (Malloc Tunable Parameters): Document
17922 M_PERTURB.
17923
1c7570ff
RM
179242010-07-26 Roland McGrath <roland@redhat.com>
17925
17926 [BZ #11840]
17927 * configure.in (-fgnu89-inline check): Set and substitute
17928 gnu89_inline, not libc_cv_gnu89_inline.
17929 * configure: Regenerated.
17930 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17931
24fb0f88
UD
179322010-07-26 Ulrich Drepper <drepper@redhat.com>
17933
17934 * string/test-strnlen.c: New file.
17935 * string/Makefile (strop-tests): Add strnlen.
17936 * string/tester.c (test_strnlen): Add a few more test cases.
17937 * string/tst-strlen.c: Better error reporting.
17938
17939 * sysdeps/x86_64/strnlen.S: New file.
17940
8e96b93a
UD
179412010-07-24 Ulrich Drepper <drepper@redhat.com>
17942
17943 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17944 lower-latency instructions.
17945
dbc676d4
UD
179462010-07-23 Ulrich Drepper <drepper@redhat.com>
17947
17948 * string/test-strcasestr.c: New file.
17949 * string/test-strstr.c: New file.
17950 * string/Makefile (strop-tests): Add strstr and strcasestr.
17951 * string/str-two-way.h: Don't undefine MAX.
17952 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17953
f6a31e0e
AS
179542010-07-21 Andreas Schwab <schwab@redhat.com>
17955
17956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17957 strcasestr-nonascii.
17958 (CFLAGS-strcasestr-nonascii.c): Define.
17959 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17960 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17961 Remove unused attribute.
17962
5dbc3b6c
RM
179632010-07-20 Roland McGrath <roland@redhat.com>
17964
17965 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17966 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17967 ld.so.cache was broken. With it, there is no way to disable dsocaps
17968 like LD_HWCAP_MASK can disable hwcaps.
17969
23d101d8
EPM
179702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17971
17972 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17973
cc9f2e47
UD
179742010-07-16 Ulrich Drepper <drepper@redhat.com>
17975
17976 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17977 call in strcasestr.
17978 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17979 __strcasestr_sse42_nonascii.
17980 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17981 strcasestr-nonascii.c.
17982 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17983
77c1b069
LM
179842010-06-15 Luis Machado <luisgpm@br.ibm.com>
17985
17986 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17988 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17989 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17990
440566c3
UD
179912010-07-09 Ulrich Drepper <drepper@redhat.com>
17992
17993 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17994 fcntl.
17995
5be9d05d
AS
179962010-07-06 Andreas Schwab <schwab@redhat.com>
17997
c30b7ee2 17998 [BZ #11577]
5be9d05d
AS
17999 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18000 dl_signal_cerror.
18001
8a492a67
UD
180022010-07-06 Ulrich Drepper <drepper@redhat.com>
18003
18004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18005 _PC_PIPE_BUF using F_GETPIPE_SZ.
18006
713df3d5
RM
180072010-07-05 Roland McGrath <roland@redhat.com>
18008
18009 * manual/arith.texi (Rounding Functions): Fix rint description
18010 implicit in round description.
18011
702e8f14
UD
180122010-07-02 Ulrich Drepper <drepper@redhat.com>
18013
18014 * elf/Makefile: Fix linking for a few tests to make recent linker
18015 happy.
18016
52ed8be9
AS
180172010-06-30 Andreas Schwab <schwab@redhat.com>
18018
18019 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18020 $(common-objpfx)libc_nonshared.a.
18021
f47c9a11
LM
180222010-06-21 Luis Machado <luisgpm@br.ibm.com>
18023
18024 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18025 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18026 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18027 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18028 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18029 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18030 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18031 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18046 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18047 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18048 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18049 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18050 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18051 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18052 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18053 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18054 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18055 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18056 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18057 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18072
6fb8cbcb
L
180732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18074
18075 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18076 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18077 * string/memmove.c (memmove): Renamed to ...
18078 (MEMMOVE): ...this. Default to memmove.
18079 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18080 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18081 (END_CHK): Define.
18082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18083 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18084 mempcpy-ssse3-back memmove-ssse3-back.
18085 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18088 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18089 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18090 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18091 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18092 * sysdeps/x86_64/multiarch/memmove.c: New file.
18093 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18094 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18095 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18096 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18097 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18099 Define.
18100 (index_Fast_Copy_Backward): Define.
18101 (HAS_ARCH_FEATURE): Define.
18102 (HAS_FAST_REP_STRING): Define.
18103 (HAS_FAST_COPY_BACKWARD): Define.
18104
4e733bac 181052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18106
18107 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18108 Restore proper fallback handling.
18109
63c4ed22
UD
181102010-06-19 Ulrich Drepper <drepper@redhat.com>
18111
ac2b484c
UD
18112 [BZ #11701]
18113 * posix/group_member.c (__group_member): Correct checking loop.
18114
63c4ed22
UD
18115 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18116 OOM in getpwuid_r correctly. Return error number when the caller
18117 should return, otherwise -1.
18118 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18119 call returning > 0 value.
18120 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18121
765ade4b
AS
181222010-06-07 Andreas Schwab <schwab@redhat.com>
18123
18124 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18125 libc_nonshared.a from targets in modules-names.
18126
80da2e09
KS
181272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18128
18129 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18130 requires it.
18131
158db122
LM
181322010-06-10 Luis Machado <luisgpm@br.ibm.com>
18133
18134 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18135 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18138
caa78cf8
AS
181392010-06-02 Andreas Schwab <schwab@redhat.com>
18140
18141 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18142
b2ef2c01
UD
181432010-06-14 Ulrich Drepper <drepper@redhat.com>
18144
18145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18146 and F_GETPIPE_SZ.
18147 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18152 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18153
fbd643b6
RM
181542010-06-14 Roland McGrath <roland@redhat.com>
18155
18156 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18157
f32f2869
JJ
181582010-06-07 Jakub Jelinek <jakub@redhat.com>
18159
18160 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18161 __REDIRECT followed by __THROW.
18162 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18163 * posix/getopt.h (getopt): Likewise.
18164
2a50c078
EPM
181652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18166
18167 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18168 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18169 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18170 in AT_FLAGS.
18171 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18172 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18173
eb5ad2eb
LM
181742010-05-28 Luis Machado <luisgpm@br.ibm.com>
18175
18176 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18177
3c88fe1e
L
181782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18179
18180 [BZ #11640]
18181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18182 Properly check family and model.
18183
d2f73151
TY
181842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18185
18186 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18187
ebd2e13d
LM
181882010-05-24 Luis Machado <luisgpm@br.ibm.com>
18189
18190 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18191
b32b8b45
UD
181922010-05-21 Ulrich Drepper <drepper@redhat.com>
18193
18194 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18195 symbol reference.
18196
9acbe24d
AS
181972010-05-19 Andreas Schwab <schwab@redhat.com>
18198
18199 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18200 symbol reference.
18201
f0ccf6ea
AS
182022010-05-21 Andreas Schwab <schwab@redhat.com>
18203
3d04ff3a
AS
18204 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18205 and internal_recvmmsg.
18206 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18207 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18208 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18209 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18210
f0ccf6ea
AS
18211 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18212 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18213 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18214
5b08ac57
AS
182152010-05-20 Andreas Schwab <schwab@redhat.com>
18216
18217 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18218
4828935d
LM
182192010-05-17 Luis Machado <luisgpm@br.ibm.com>
18220
18221 POWER7 optimizations.
18222 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18223 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18224
373d545e
UD
182252010-05-19 Ulrich Drepper <drepper@redhat.com>
18226
18227 * version.h: Update for 2.13 development version.
18228
21a2b1ae
AS
182292010-05-12 Andrew Stubbs <ams@codesourcery.com>
18230
18231 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18232 exceptions. Return 0.
18233
3f7dcb2b
RM
182342010-05-07 Roland McGrath <roland@redhat.com>
18235
18236 * elf/ldconfig.c (main): Add a const.
18237
5f24d53a 182382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18239
a160f8d8
UD
18240 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18241 (args_options): Add no-idn option.
18242 (ahosts_keys_int): Add idn_flags to ai_flags.
18243 (parse_option): Handle 'i' option to clear idn_flags.
18244
5f24d53a
UD
18245 * malloc/malloc.c (_int_free): Possible race in the most recently
18246 added check. Only act on the data if no current modification
18247 happened.
265bb1ce
UD
18248
18249See ChangeLog.17 for earlier changes.