]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove executable permissions checked in by accident
[glibc.git] / ChangeLog
CommitLineData
b3f479a8
LD
12012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2
3 [BZ #14195]
4 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5 segmentation fault for a case of two empty input strings.
6 * string/test-strncasecmp.c (check1): Renamed to...
7 (bz12205): ...this.
8 (bz14195): Add new testcase for two empty input strings and N > 0.
9 (test_main): Call new testcase, adapt for renamed function.
10
9c55864e
AJ
112012-08-15 Andreas Jaeger <aj@suse.de>
12
13 [BZ #14090]
14 * crypt/md5test2.c: New test, based on test supplied by Serge
15 Belyshev <belyshev@depni.sinp.msu.ru>.
16 * crypt/Makefile (xtests): Add md5test-giant..
17 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18
02dcb6c5
PE
192012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20
21 [BZ #14090]
22 * crypt/md5.c (md5_process_block): Don't assume the buffer
23 length is less than 2**32.
24 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25 length is less than 2**64.
26
a3f95dcc
RM
272012-08-15 Roland McGrath <roland@hack.frob.com>
28
be75d758
RM
29 * string/str-two-way.h: Include <sys/param.h>.
30 (MAX): Macro removed.
31
7312ca90
RM
32 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33 Move #define and #undef of memmove to just before and after
34 including <string.h>.
35
9a0a5486
RM
36 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38 and after including <string.h>. Move declarations of
39 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40 to before #include "string/memmove.c".
41
67cc348d
RM
42 * include/dirent.h: Declare __getdirentries.
43
a3f95dcc
RM
44 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46
ca98e171
MF
472012-08-14 Mike Frysinger <vapier@gentoo.org>
48
49 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
50 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
51 * sysdeps/i386/configure: Regenerated.
52 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53 STABS_CURRENT_FILE, and STABS_FUN.
54 (END): Remove call to STABS_FUN_END.
55 (STABS_CURRENT_FILE1): Delete.
56 (STABS_CURRENT_FILE): Likewise.
57 (STABS_FUN): Likewise.
58 (STABS_FUN_END): Likewise.
59 (STABS_FUN2): Likewise.
60 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61 * sysdeps/x86_64/configure: Regenerated.
62
5908bf46
RM
632012-08-14 Roland McGrath <roland@hack.frob.com>
64
65 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 66 * elf/dl-lookup.c: Likewise.
5908bf46 67
f2c05b9e
JM
682012-08-14 Joseph Myers <joseph@codesourcery.com>
69
70 * sysdeps/unix/sysv/linux/kernel-features.h
71 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
73 unconditionally.
74 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
75 unconditionally.
76 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
77 condition on __ASSUME_CLONE_THREAD_FLAGS.
78
e11f5155
AJ
792012-08-14 Andreas Jaeger <aj@suse.de>
80
81 * sysdeps/i386/fpu/libm-test-ulps: Update.
82
51a9ba86
MK
832012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
84
2fdd4f78
AJ
85 * include/atomic.h (atomic_exchange_and_add): Split into ...
86 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
87 New atomic macros.
51a9ba86 88
ba6cba9e
MT
892012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
90
91 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
92
42443a47
JL
932012-08-13 Jeff Law <law@redhat.com>
94
95 * manual/stdio.texi (snprintf): Clarify handling of the trailing
96 null byte in the output string.
97
121dce05
JM
982012-08-10 Joseph Myers <joseph@codesourcery.com>
99
100 * sysdeps/unix/sysv/linux/kernel-features.h
101 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
102 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
103 (__ASSUME_ARG_MAX_STACK_BASED): Define.
104 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
105 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
106 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
107 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
108
bf51f568
JL
1092012-08-09 Jeff Law <law@redhat.com>
110
111 [BZ #13939]
112 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
113 When avoid_arena is set, don't retry in the that arena. Pick the
114 next one, whatever it might be.
115 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
116 (arena_lock): Pass in new parameter to arena_get2.
117 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
118 arena_get2.
119 (__libc_malloc): Unify retrying after main arena failure with
120 __libc_memalign version.
121 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
122
f85fa270
L
1232012-08-09 H.J. Lu <hongjiu.lu@intel.com>
124
125 [BZ #14166]
126 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
127 to __redirect_strstr.
128 (__strstr_sse42): Use typeof __redirect_strstr.
129 (__strstr_ia32): Likewise.
130 (__libc_strstr): New prototype.
131 (strstr): Renamed to ...
132 (__libc_strstr): This.
133 (strstr): New strong alias of __libc_strstr.
134 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
135 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
136 __redirect_time.
137 Include <time.h>.
138 (__libc_time): New prototype.
139 (time_ifunc): Replace time with __libc_time.
140 (time): New strong alias and hidden definition of __libc_time.
141 (__GI_time): Remove strong alias.
142 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
143 Include <stddef.h>.
144 (memmove): Redefined to __redirect_memmove.
145 (__memmove_sse2): Use typeof __redirect_memmove.
146 (__memmove_ssse3): Likewise.
147 (__memmove_ssse3_back): Likewise.
148 (__libc_memmove): New prototype.
149 (memmove): Renamed to ...
150 (__libc_memmove): This.
151 (memmove): New strong alias of __libc_memmove.
152
33b4a91e
MS
1532012-08-08 Mark Salter <msalter@redhat.com>
154
155 * elf/elf.h
156 (R_MN10300_TLS_GD): Define.
157 (R_MN10300_TLS_LD): Likewise.
158 (R_MN10300_TLS_LDO): Likewise.
159 (R_MN10300_TLS_GOTIE): Likewise.
160 (R_MN10300_TLS_IE): Likewise.
161 (R_MN10300_TLS_LE): Likewise.
162 (R_MN10300_TLS_DTPMOD): Likewise.
163 (R_MN10300_TLS_DTPOFF): Likewise.
164 (R_MN10300_TLS_TPOFF): Likewise.
165 (R_MN10300_SYM_DIFF): Likewise.
166 (R_MN10300_ALIGN): Likewise.
167 (R_MN10300_NUM): Update.
168
b36137f1
JM
1692012-08-08 Joseph Myers <joseph@codesourcery.com>
170
171 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
172 Remove.
173
cdd915fd
RM
1742012-08-08 Roland McGrath <roland@hack.frob.com>
175
a2433aac
RM
176 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
177
cdd915fd
RM
178 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
179 sysdeps/unix -> sysdeps/posix move.
180 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
181
bf9b740a
AM
1822012-08-07 Allan McRae <allan@archlinux.org>
183
184 [BZ #14303]
185 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
186 (SUNOS_CPP): Likewise.
187 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
188 not found.
189 (open_input): Call CPP using execvp.
190
93df14ee
JM
1912012-08-07 Joseph Myers <joseph@codesourcery.com>
192
193 * sysdeps/unix/sysv/linux/kernel-features.h
194 (__ASSUME_PROT_GROWSUPDOWN): Remove.
195 (__ASSUME_NO_CLONE_DETACHED): Likewise.
196 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
197 (__ASSUME_WAITID_SYSCALL): Likewise.
198 * sysdeps/unix/sysv/linux/dl-execstack.c
199 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
200 code unconditional.
201 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
202 conditional code.
203 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
204 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
205 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
206 code.
207 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
208 unconditional.
209 [__ASSUME_WAITID_SYSCALL]: Likewise.
210 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
211
d34689de
RM
2122012-08-07 Roland McGrath <roland@hack.frob.com>
213
a281decc
RM
214 * sysdeps/unix/closedir.c: Renamed to ...
215 * sysdeps/posix/closedir.c: ... here.
216 * sysdeps/unix/dirfd.c: Renamed to ...
217 * sysdeps/posix/dirfd.c: ... here.
218 * sysdeps/unix/dirstream.h: Renamed to ...
219 * sysdeps/posix/dirstream.h: ... here.
220 * sysdeps/unix/fdopendir.c: Renamed to ...
221 * sysdeps/posix/fdopendir.c: ... here.
222 * sysdeps/unix/opendir.c: Renamed to ...
223 * sysdeps/posix/opendir.c: ... here.
224 * sysdeps/unix/readdir.c: Renamed to ...
225 * sysdeps/posix/readdir.c: ... here.
226 * sysdeps/unix/readdir_r.c: Renamed to ...
227 * sysdeps/posix/readdir_r.c: ... here.
228 * sysdeps/unix/rewinddir.c: Renamed to ...
229 * sysdeps/posix/rewinddir.c: ... here.
230 * sysdeps/unix/seekdir.c: Renamed to ...
231 * sysdeps/posix/seekdir.c: ... here.
232 * sysdeps/unix/telldir.c: Renamed to ...
233 * sysdeps/posix/telldir.c: ... here.
234 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
235 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
236 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
237 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
238
22895b47
RM
239 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
240 * bits/fcntl.h: ... here.
241
707a53b6
RM
242 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
243 not 0.
244 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
245 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
246 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
247 (struct flock): Move l_start, l_len to the beginning.
248 Use __pid_t for l_pid.
249 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
250 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
251 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
252 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
253 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
254 [__USE_LARGEFILE64] (struct flock64): New type.
255 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
256
f0bd3e25
RM
257 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
258 * bits/dirent.h: ... here.
259
d34689de
RM
260 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
261 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
262
6dad2c06
JM
2632012-08-07 Joseph Myers <joseph@codesourcery.com>
264
265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
266 Change from 2.6.0 to 2.6.16.
267 * sysdeps/unix/sysv/linux/configure: Regenerated.
268 * sysdeps/unix/sysv/linux/kernel-features.h
269 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
270 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
271 version.
272 (__ASSUME_UTIMES): Likewise.
273 (__ASSUME_CLONE_STOPPED): Remove.
274 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
275 architectures, not kernel version.
276 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
277 (__ASSUME_NO_CLONE_DETACHED): Likewise.
278 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
279 (__ASSUME_WAITID_SYSCALL): Likewise.
280 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
281 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
282 * README: State 2.6.16 as minimum Linux kernel version. Do not
283 refer to older versions.
284
03af9520
RM
2852012-08-06 Roland McGrath <roland@hack.frob.com>
286
8e49df1d
RM
287 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
288 Define alphasort64 as an alias.
289 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
290 Define versionsort64 as an alias.
291 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
292 Define scandir64 as an alias.
293 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
294 Define scandirat64 as an alias.
295 * dirent/alphasort64.c (alphasort64):
296 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
297 * dirent/versionsort64.c: Likewise.
298 * dirent/scandir64.c: Likewise.
299 * dirent/scandirat64.c: Likewise.
300 * sysdeps/wordsize-64/alphasort.c: File removed.
301 * sysdeps/wordsize-64/alphasort64.c: File removed.
302 * sysdeps/wordsize-64/scandir.c: File removed.
303 * sysdeps/wordsize-64/scandir64.c: File removed.
304 * sysdeps/wordsize-64/scandirat.c: File removed.
305 * sysdeps/wordsize-64/scandirat64.c: File removed.
306 * sysdeps/wordsize-64/versionsort.c: File removed.
307 * sysdeps/wordsize-64/versionsort64.c: File removed.
308 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
309 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
310 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
311 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
312 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
313 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
314 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
315 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
316
317 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
319 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
320 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
321 [defined __arch64__ || defined __sparcv9]
322 (__INO_T_MATCHES_INO64_T): New macro.
323 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
324 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
325 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
326 * sysdeps/unix/sysv/linux/bits/dirent.h
327 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
328 (_DIRENT_MATCHES_DIRENT64): New macro.
329
03af9520
RM
330 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
331 Define lockf64 as an alias.
332 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
333 Define fseeko64 as an alias.
334 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
335 Define ftello64 as an alias.
336 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
337 Define _IO_fgetpos64 and fgetpos64 as aliases.
338 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
339 Define _IO_fsetpos64 and fsetpos64 as aliases.
340 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
341 Conditionalize body on this.
342 * libio/fseeko64.c: Likewise.
343 * libio/ftello64.c: Likewise.
344 * libio/iofgetpos64.c: Likewise.
345 * libio/iofsetpos64.c: Likewise.
346 * sysdeps/wordsize-64/lockf.c: File removed.
347 * sysdeps/wordsize-64/lockf64.c: File removed.
348 * sysdeps/wordsize-64/fseeko.c: File removed.
349 * sysdeps/wordsize-64/fseeko64.c: File removed.
350 * sysdeps/wordsize-64/ftello.c: File removed.
351 * sysdeps/wordsize-64/ftello64.c: File removed.
352 * sysdeps/wordsize-64/iofgetpos.c: File removed.
353 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
354 * sysdeps/wordsize-64/iofsetpos.c: File removed.
355 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
356 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
357 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
358 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
359 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
360 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
361 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
362 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
363 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
364 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
365 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
366
367 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
369 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
370 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
371 [defined __arch64__ || defined __sparcv9]
372 (__OFF_T_MATCHES_OFF64_T): New macro.
373 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
374 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
375 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
376 (__OFF_T_MATCHES_OFF64_T): New macro.
377
c5757acd
L
3782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
379
380 * stdlib/secure-getenv.c (__secure_getenv): Replace
381 GLIBC_2_16 with GLIBC_2_17.
382
3a31811e
L
3832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
384
385 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
386 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
387
faa2bccb
DM
3882012-08-03 David S. Miller <davem@davemloft.net>
389
390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
391
85fe1997
JM
3922012-08-03 Joseph Myers <joseph@codesourcery.com>
393
394 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
395 Remove.
396 (__ASSUME_CORRECT_SI_PID): Likewise.
397 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
398 (__ASSUME_TMPFS_NAME): Likewise.
399 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
400 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
401 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
402 (HAVE_AUX_SECURE): Make definition unconditional.
403 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
404 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
405
4f75b7a0
RM
4062012-08-03 Roland McGrath <roland@hack.frob.com>
407
408 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
409 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
410 * sysdeps/mach/hurd/eloop-threshold.h: New file.
411 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
412 __eloop_threshold instead of SYMLOOP_MAX.
413
414 * sysdeps/generic/eloop-threshold.h: New file.
415 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
416 of MAXSYMLINKS.
417 * elf/chroot_canon.c (chroot_canon): Likewise.
418
7aab07e4
JM
4192012-08-03 Joseph Myers <joseph@codesourcery.com>
420
421 [BZ #13717]
422 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
423 Change to 2.6.0 everywhere.
424 * sysdeps/unix/sysv/linux/configure: Regenerated.
425 * sysdeps/unix/sysv/linux/kernel-features.h
426 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
427 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
428 kernel versions.
429 (__ASSUME_POSIX_TIMERS): Define unconditionally.
430 (__ASSUME_FUTEX_REQUEUE): Remove.
431 (__ASSUME_STATFS64): Define unconditionally.
432 (__ASSUME_AT_SECURE): Likewise.
433 (__ASSUME_CORRECT_SI_PID): Likewise.
434 (__ASSUME_TGKILL): Define without depending on kernel version for
435 i386.
436 (__ASSUME_UTIMES): Likewise.
437 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
438 kernel version.
439 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
440 (__ASSUME_TMPFS_NAME): Likewise.
441 * README: Update reference to Linux kernel versions.
442
b67e9372
MP
4432012-08-02 Marek Polacek <polacek@redhat.com>
444
445 [BZ#14150]
446 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
447 libc_cv_asm_type_prefix with %.
448 * configure: Regenerated.
d2441631
RM
449 * include/libc-symbols.h: Remove comment about
450 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
451 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
452 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
453 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
454 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
455 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
456 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
457 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
458 * elf/tst-unique2mod1.c: Likewise.
459 * elf/tst-unique1mod2.c: Likewise.
460 * elf/tst-unique1mod1.c: Likewise.
461 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
462 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
463 Replace ASM_TYPE_DIRECTIVE with .type.
464 * sysdeps/s390/s390-64/sysdep.h: Likewise.
465 * sysdeps/i386/sysdep.h: Likewise.
466 * sysdeps/x86_64/sysdep.h: Likewise.
467 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
469 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 470 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
471 * sysdeps/powerpc/powerpc32/sysdep.h:
472 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
473 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
474 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
475 * sysdeps/i386/fpu/e_powf.S: Likewise.
476 * sysdeps/i386/fpu/e_expl.S: Likewise.
477 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
478 * sysdeps/i386/fpu/e_acosh.S: Likewise.
479 * sysdeps/i386/fpu/e_pow.S: Likewise.
480 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
481 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
482 * sysdeps/i386/fpu/s_expm1.S: Likewise.
483 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
484 * sysdeps/i386/fpu/e_log2.S: Likewise.
485 * sysdeps/i386/fpu/e_log2l.S: Likewise.
486 * sysdeps/i386/fpu/e_scalb.S: Likewise.
487 * sysdeps/i386/fpu/e_powl.S: Likewise.
488 * sysdeps/i386/fpu/e_log10f.S: Likewise.
489 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
490 * sysdeps/i386/fpu/e_logl.S: Likewise.
491 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
492 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
493 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
494 * sysdeps/i386/fpu/e_log2f.S: Likewise.
495 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
496 * sysdeps/i386/fpu/e_log.S: Likewise.
497 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
498 * sysdeps/i386/fpu/e_logf.S: Likewise.
499 * sysdeps/i386/fpu/e_log10l.S: Likewise.
500 * sysdeps/i386/fpu/e_atanh.S: Likewise.
501 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
502 * sysdeps/i386/fpu/e_log10.S: Likewise.
503 * sysdeps/i386/fpu/s_frexp.S: Likewise.
504 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
505 * sysdeps/i386/fpu/s_asinh.S: Likewise.
506 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
507 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
508 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
509 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
510 * sysdeps/i386/i686/strtok.S: Likewise.
511 * sysdeps/i386/i386-mcount.S: Likewise.
512 * sysdeps/i386/strtok.S: Likewise.
513 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
514 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
515 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
516 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
517 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
518 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
519 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
520 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
521 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
522 * sysdeps/x86_64/_mcount.S: Likewise.
523 * sysdeps/x86_64/strtok.S: Likewise.
524 * sysdeps/sh/_mcount.S: Likewise.
525
2747bf9a
RM
5262012-08-01 Roland McGrath <roland@hack.frob.com>
527
528 * libio/iofopen.c: Include <fcntl.h>.
529 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
530 (_IO_fopen64, fopen64): Define as aliases.
531 * libio/iofopen64.c: Include <fcntl.h>.
532 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
533 Conditionalize body on this.
534 * sysdeps/wordsize-64/iofopen.c: File removed.
535 * sysdeps/wordsize-64/iofopen64.c: File removed.
536
3fb791b8
MP
5372012-08-01 Marek Polacek <polacek@redhat.com>
538
539 * libc/Makeconfig: Use elf in place of binfmt-subdir.
540 Use dlfcn directly instead of a variable.
541 (binfmt-subdir): Do not define.
542 (dlfcn): Likewise.
543
a9f1039f
JM
5442012-08-01 Joseph Myers <joseph@codesourcery.com>
545
23bddc06
JM
546 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
547 Remove all definitions.
548 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
549 <kernel-features.h>.
550 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
551 (miss_F_GETOWN_EX): Remove all definitions.
552 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
553 macro definition.
554 [!__ASSUME_FCNTL64]: Remove conditional code.
555 [__ASSUME_FCNTL64]: Make code unconditional.
556 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
557 <kernel-features.h>.
558 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
559 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
560 (lockf64) [__NR_fcntl64]: Make code unconditional.
561 (lockf64) [__ASSUME_FCNTL64]: Likewise.
562
a9f1039f
JM
563 * sysdeps/unix/sysv/linux/kernel-features.h
564 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
565 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
566 Make code unconditional.
567 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
568 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
570 [__NR_vfork]: Make code unconditional.
571 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
572 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
574 [__NR_vfork]: Make code unconditional.
575 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
576 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
577
09c0ee5f
RM
5782012-08-01 Roland McGrath <roland@hack.frob.com>
579
48aec5b9
RM
580 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
581 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
582
cd97c966
RM
583 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
584 Define mkstemp64 as an alias.
3f55550c
RM
585 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
586 Define mkstemps64 as an alias.
cd97c966
RM
587 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
588 Define mkostemp64 as an alias.
b8625cfc
RM
589 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
590 Define mkostemps64 as an alias.
cd97c966
RM
591 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
592 Conditionalize body on this.
593 * misc/mkostemp64.c: Likewise.
b8625cfc 594 * misc/mkostemps64.c: Likewise.
3f55550c 595 * misc/mkstemps64.c: Likewise.
cd97c966
RM
596 * sysdeps/wordsize-64/mkstemp64.c: File removed.
597 * sysdeps/wordsize-64/mkostemp64.c: File removed.
598 * sysdeps/wordsize-64/mkostemp.c: File removed.
599 * sysdeps/wordsize-64/mkstemp.c: File removed.
600 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
601 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
602 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
603 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
604
09c0ee5f
RM
605 [BZ #14138]
606 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
607 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
608 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
609 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
610
611 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
612 compat_symbol macros from <shlib-compat.h> rather than the underlying
613 default_symbol_version and symbol_version macros, so that DEFAULT
614 lines in shlib-versions are respected.
615 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
616
7e66ee51
FW
6172012-08-01 Florian Weimer <fweimer@redhat.com>
618
619 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
620 Declare with warn_unused_result.
621 (setgid, setregid, setegid, setresgid): Likewise.
622 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
623 Likewise.
624 * WUR-REPORT: Remove set*id functions.
625
d2a54255
PT
6262012-07-31 Pino Toscano <toscano.pino@tiscali.it>
627
628 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
629
7ecdb005
RM
6302012-07-31 Roland McGrath <roland@hack.frob.com>
631
789bd351
RM
632 * include/sys/socket.h (__libc_accept, __libc_accept4):
633 Add attribute_hidden.
634 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
635
40ce302d
RM
636 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
637 use of PTR_MANGLE.
638 * inet/getnetgrent_r.c (setup): Likewise.
639
7ecdb005
RM
640 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
641
e2eabb2c
DM
6422012-07-31 David S. Miller <davem@davemloft.net>
643
644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
645
d0419dbf
JM
6462012-07-31 Joseph Myers <joseph@codesourcery.com>
647
648 [BZ #13629]
649 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
650 value between 1.0 and 2.0 and smaller part has absolute value less
651 than 1.0.
652 * math/s_clog10.c (__clog10): Likewise.
653 * math/s_clog10f.c (__clog10f): Likewise.
654 * math/s_clog10l.c (__clog10l): Likewise.
655 * math/s_clogf.c (__clogf): Likewise.
656 * math/s_clogl.c (__clogl): Likewise.
657 * math/libm-test.inc (clog_test): Add more tests.
658 (clog10_test): Likewise.
659 * sysdeps/i386/fpu/libm-test-ulps: Update.
660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
661
2bc13872
FW
6622012-07-31 Florian Weimer <fweimer@redhat.com>
663
664 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
665 Exit with zero in case no suitable GID is found, and write a
666 message to standard error.
667
bea9b193
RM
6682012-07-30 Roland McGrath <roland@hack.frob.com>
669
670 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
671 rather than to 1.
672 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
673 (MAXPATHLEN): Removed.
674 (NOGROUP, NODEV): New macros.
675 (setbit, clrbit, isset, isclr): New macros.
676 (howmany, roundup, powerof2): New macros.
677 (DEV_BSIZE): New macro.
678
679 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
680 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
681
682 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
683 definition on [!__NO_LONG_DOUBLE_MATH].
684
685 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
686 PTR_MANGLE and PTR_DEMANGLE.
687
688 * socket/accept4.c (accept4): Rename to __libc_accept4.
689 Define accept4 as a weak alias.
690
691 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
692 on [_DIRENT_HAVE_D_TYPE].
693 * io/ftw.c (ftw_dir): Likewise.
694
695 * io/xmknod.c (__xmknod): Don't check PATH for being null.
696
697 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
698
699 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
700 Use the BSD numbers rather than the arbitrary ones we had.
701 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
702 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
703 (SIGXCPU, SIGXFSZ): New macros.
704 (_NSIG): Now 32.
705
706 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
707 initializer on [_LIBC_REENTRANT].
708
709 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
710 definitions inside [_POSIX_MAPPED_FILES].
711
712 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
713
714 * dirent/opendir.c: Include <fcntl.h>.
715
716 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
717 (__libc_getspecific): Likewise.
718 (__libc_key_create): Likewise.
719
720 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
721 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
722 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
723 (tmpfile64): Define as alias.
724 * sysdeps/wordsize-64/tmpfile.c: File removed.
725 * sysdeps/wordsize-64/tmpfile64.c: File removed.
726 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
727 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
728
729 * stdio-common/vfscanf.c: Include <stdbool.h>.
730 * nss/makedb.c: Likewise.
731 * stdio-common/_i18n_number.h: Likewise.
732 * argp/argp-help.c: Likewise.
733 * posix/wordexp.c: Likewise.
734 * sysdeps/posix/spawni.c: Likewise.
735 * nss/nss_files/files-initgroups.c: Likewise.
736 * stdio-common/reg-modifier.c: Include <stdlib.h>.
737 * nss/nss_files/files-initgroups.c: Likewise.
738 * nss/nss_db/db-netgrp.c: Likewise.
739 * nss/nss_db/db-initgroups.c: Likewise.
740 * io/fchmodat.c: Include <sys/stat.h>.
741
742 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
743 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
744
745 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
746 [HAVE_MMAP].
747
748 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
749 Add multiple inclusion protection.
750
e5abc686
DM
7512012-07-27 David S. Miller <davem@davemloft.net>
752
753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
754
815e6fa3
GB
7552012-07-27 Gary Benson <gbenson@redhat.com>
756
757 [BZ #14298]
758 * elf/rtld.c: Include <stap-probe.h>.
759 (dl_main): Added static probes "init_start" and "init_complete".
760 * elf/dl-load.c: Include <stap-probe.h>.
761 (lose): Take new parameter "nsid".
762 Added static probe "map_failed".
763 (_dl_map_object_from_fd): Pass namespace id to lose.
764 Added static probe "map_start".
765 (open_verify): Pass namespace id to lose.
766 * elf/dl-open.c: Include <stap-probe.h>.
767 (dl_open_worker) Added static probes "map_complete", "reloc_start"
768 and "reloc_complete".
769 * elf/dl-close.c: Include <stap-probe.h>.
770 (_dl_close_worker): Added static probes "unmap_start" and
771 "unmap_complete".
772 * elf/rtld-debugger-interface.txt: New file documenting the above.
773
9f98c16c
RM
7742012-07-26 Roland McGrath <roland@hack.frob.com>
775
776 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
777 rather than a string variable.
778 * sunrpc/rpc_main.c (h_output): Likewise.
779 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
780
f3c22df3
PT
7812012-07-26 Pino Toscano <toscano.pino@tiscali.it>
782
783 * inet/check_native.c: New file.
784
3129cfc6
JM
7852012-07-26 Joseph Myers <joseph@codesourcery.com>
786
da865e95
JM
787 [BZ #13629]
788 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
789 if larger part has absolute value 1.0.
790 * math/s_clog10.c (__clog10): Likewise.
791 * math/s_clog10f.c (__clog10f): Likewise.
792 * math/s_clog10l.c (__clog10l): Likewise.
793 * math/s_clogf.c (__clogf): Likewise.
794 * math/s_clogl.c (__clogl): Likewise.
795 * math/libm-test.inc (clog_test): Add more tests.
796 (clog10_test): Likewise.
797 * sysdeps/i386/fpu/libm-test-ulps: Update.
798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
799
3129cfc6
JM
800 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
801 (pltexit): Likewise.
802 (La_regs): Likewise.
803 (La_retval): Likewise.
804 (int_retval): Likewise.
805 Update #error for removed macros to refer only to definitions in
806 tst-audit.h.
807 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
808 macro.
809 (pltexit): Likewise.
810 (La_regs): Likewise.
811 (La_retval): Likewise.
812 (int_retval): Likewise.
813 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
814 macro.
815 (pltexit): Likewise.
816 (La_regs): Likewise.
817 (La_retval): Likewise.
818 (int_retval): Likewise.
819 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
820 macro.
821 (pltexit): Likewise.
822 (La_regs): Likewise.
823 (La_retval): Likewise.
824 (int_retval): Likewise.
825 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
826 macro.
827 (pltexit): Likewise.
828 (La_regs): Likewise.
829 (La_retval): Likewise.
830 (int_retval): Likewise.
831 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
832 macro.
833 (pltexit): Likewise.
834 (La_regs): Likewise.
835 (La_retval): Likewise.
836 (int_retval): Likewise.
837 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
838 macro.
839 (pltexit): Likewise.
840 (La_regs): Likewise.
841 (La_retval): Likewise.
842 (int_retval): Likewise.
843 * sysdeps/generic/tst-audit.h: Update comment to refer only to
844 macro definitions in tst-audit.h.
845 * sysdeps/i386/tst-audit.h: New file.
846 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
847 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
848 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
849 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
850 * sysdeps/sh/tst-audit.h: Likewise.
851 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
852 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
853 * sysdeps/x86_64/tst-audit.h: Likewise.
854
bfc07087
AJ
8552012-07-26 Andreas Jaeger <aj@suse.de>
856
b1b2aaf8
AJ
857 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
858 ptrace.
859
860 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
861 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
862 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
863 PTRACE_O_MASK.
864 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
865 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
866 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
867
bfc07087
AJ
868 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
869 value.
870
871 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
872 _sigsys.
873 (si_call_addr, si_syscall, si_arch): Define new macro.
874 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
875 _sigsys.
876 (si_call_addr, si_syscall, si_arch): Define new marcro.
877 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
878 _sigsys.
879 (si_call_addr, si_syscall, si_arch): Define new macro.
880 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
881 _sigsys.
882 (si_call_addr, si_syscall, si_arch): Define new macro.
883
89b4b02f
JM
8842012-07-25 Joseph Myers <joseph@codesourcery.com>
885
886 [BZ #13717]
887 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
888 Change to 2.4.21 where previously 2.4.1.
889 * sysdeps/unix/sysv/linux/configure: Regenerated.
890 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
891 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
892 Linux kernel version.
893 (__ASSUME_STD_AUXV): Remove.
894 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
895 kernel version.
896 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
897 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
898 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
899 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
900 (__ASSUME_NETLINK_SUPPORT): Likewise.
901 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
902 (__no_netlink_support): Remove conditional definition.
903 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
904 Remove.
905 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
906 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
907 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
908 (if_nameindex_ioctl): Remove.
909 (if_nameindex_netlink): Do not handle __no_netlink_support.
910 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
911 code.
912 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
913 Remove conditional code.
914 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
915 code.
916 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
917 unconditional.
918 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
919 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
920 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
921 Remove.
922 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
923 [!__ASSUME_STD_AUXV]: Remove conditional code.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
925 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
926 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
928 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
929 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
930 code.
931 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
933 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
934 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
935 conditional code.
936 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
938 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
939 code.
940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
941 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
942 conditional code.
943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
944 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
945 code unconditional.
946 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
947 conditional code.
948 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
949 unconditional.
950 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
951 conditional code.
952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
953 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
954 unconditional.
955 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
956 conditional code.
957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
958 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
959 code unconditional.
960 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
961 conditional code.
962 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
963 unconditional.
964 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
965 conditional code.
966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
967 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
968 code unconditional.
969 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
970 conditional code.
971 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
972 unconditional.
973 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
974 conditional code.
975
842a39cd
AS
9762012-07-25 Andreas Schwab <schwab@linux-m68k.org>
977
978 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
979 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
980 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
981 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
982 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
983 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
984 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
985 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
986 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
987 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
988 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
989 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
990 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
991 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
992 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
993 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
994 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
995 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
996 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
998 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
999 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1000 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1001
84b3fd84
FW
10022012-07-25 Florian Weimer <fweimer@redhat.com>
1003
1004 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1005 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1006 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1007 Introduce __libc_secure_getenv.
0c7936d5
FW
1008 * stdlib/Versions (2.17): Add secure_getenv
1009 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1010 * stdlib/secure-getenv.c: Rename __secure_getenv to
1011 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1012 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1013 * stdlib/tst-secure-getenv.c: New.
1014 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1015 * manual/startup.texi (Environment Access): Document
1016 secure_getenv.
84b3fd84
FW
1017 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1018 __libc_secure_getenv.
1019 * inet/ruserpass.c (ruserpass): Likewise.
1020 * malloc/mtrace.c (mtrace): Likewise.
1021 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1022 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1023 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1024 * sysdeps/posix/tempname.c: Likewise. Evaluate
1025 HAVE_SECURE_GETENV.
1026 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1027 __secure_getenv to __libc_secure_getenv.
84b3fd84 1028 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1030 Likewise.
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1032 Likewise.
1033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1035 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1040
56e49b71
JM
10412012-07-25 Joseph Myers <joseph@codesourcery.com>
1042
1043 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1044 (struct La_i86_retval): Likewise.
1045 (struct La_x86_64_regs): Likewise.
1046 (struct La_x86_64_retval): Likewise.
1047 (struct La_x32_regs): Likewise.
1048 (struct La_x32_retval): Likewise.
1049 (struct La_ppc32_regs): Likewise.
1050 (struct La_ppc32_retval): Likewise.
1051 (struct La_ppc64_regs): Likewise.
1052 (struct La_ppc64_retval): Likewise.
1053 (struct La_sh_regs): Likewise.
1054 (struct La_sh_retval): Likewise.
1055 (struct La_s390_32_regs): Likewise.
1056 (struct La_s390_32_retval): Likewise.
1057 (struct La_s390_64_regs): Likewise.
1058 (struct La_s390_64_retval): Likewise.
1059 (struct La_sparc32_regs): Likewise.
1060 (struct La_sparc32_retval): Likewise.
1061 (struct La_sparc64_regs): Likewise.
1062 (struct La_sparc64_retval): Likewise.
1063 (struct audit_ifaces): Remove architecture-specific pltenter and
1064 pltexit members.
1065 * sysdeps/i386/ldsodefs.h: New file.
1066 * sysdeps/powerpc/ldsodefs.h: Likewise.
1067 * sysdeps/s390/ldsodefs.h: Likewise.
1068 * sysdeps/sh/ldsodefs.h: Likewise.
1069 * sysdeps/sparc/ldsodefs.h: Likewise.
1070 * sysdeps/x86_64/ldsodefs.h: Likewise.
1071
354691b7
MP
10722012-07-25 Marek Polacek <polacek@redhat.com>
1073
1074 [BZ #6808]
1075 * math/libm-test.inc (yn_test): Add another test.
1076 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1077 to ERANGE when the result is +-Inf.
1078 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1079 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1080 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1081 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1082
bf9e2071
JM
10832012-07-24 Joseph Myers <joseph@codesourcery.com>
1084
1085 * conform/data/time.h-data (NULL): Use macro-constant. Require
1086 equal to 0.
1087 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1088 clock_t.
1089 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1090
57633811
TS
10912012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1092
1093 * configure.in <sysdeps resolving>: Correct printing
1094 Implies_before.
1095 * configure: Regenerate.
1096
c23c33b0
TS
10972012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1098
1099 * math/w_ilogb.c: Include <limits.h>.
1100 * math/w_ilogbl.c: Likewise.
1101
b5982523
JM
11022012-07-20 Joseph Myers <joseph@codesourcery.com>
1103
1104 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1105 va_copy. Document allowing for unavailable va_copy only as
1106 pre-C99 compatibility.
1107 * manual/string.texi (Copying and Concatenation): Use va_copy
1108 instead of __va_copy in concat example.
1109
ac4ea442
PT
11102012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1111
1112 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1113 (__sendto): Use create_address_port. Initialize APORT and deallocate
1114 it if not null.
1115
f98eafbd
PT
1116 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1117 with O_NOLINK passed to __file_name_lookup.
1118
898c7aab
PT
1119 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1120 with O_NOLINK passed to __file_name_lookup.
1121
0ced335a
PT
1122 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1123 negative N or less than NGIDS.
1124
b3404dbd
PT
1125 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1126 type to string_t. Set ERANGE as errno and return it if NAME is not big
1127 enough. Use memcpy instead of strncpy.
1128
0f48659e
JM
11292012-07-20 Joseph Myers <joseph@codesourcery.com>
1130
1131 * elf/Makefile (check-data): Remove.
1132 (localplt.data): New vpath directive.
1133 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1134 instead of $(check-data).
1135 * scripts/data/localplt-generic.data: Move to ...
1136 * sysdeps/generic/localplt.data: ... here.
1137 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1138 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1139 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1141 ... here.
1142 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1144 ... here.
1145 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1147 ... here.
1148 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1150 ... here.
1151 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1153 ... here.
1154 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1156 ... here.
1157
d37cbdaa
AZ
11582012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1159
1160 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1161 PPC32 and PPC64 files.
1162 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1163 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1164
46f85fc2
AK
11652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1166
1167 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1168 __makecontext_ret to ...
1169 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1170 ... here and call exit if uc_link is NULL. New file.
1171 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1172 __makecontext_ret.S.
1173 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1174 __makecontext_ret to ...
1175 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1176 ... here and call exit if uc_link is NULL. New file.
1177 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1178 __makecontext_ret.S.
1179
08f43f9b
AK
11802012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1181
1182 * elf/elf.h (R_390_IRELATIVE): New definition.
1183 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1184 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1185 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1186 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1187 (elf_machine_lazy_rel): Likewise.
1188 * sysdeps/s390/dl-irel.h: New file.
1189 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1190 * sysdeps/s390/s390-64/memset.S: New asm code.
1191 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1192 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1193 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1194 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1195 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1196 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1197 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1198 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1199 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1200 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1201 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1202 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1203 * sysdeps/s390/s390-32/memset.S: New asm code.
1204 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1205
3b05db33
MP
12062012-07-17 Marek Polacek <polacek@redhat.com>
1207
1208 [BZ #14349]
1209 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1210 * sysdeps/s390/s390-64/configure.in: Likewise.
1211 * sysdeps/sparc/configure.in: Likewise.
1212 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1213 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1214 * sysdeps/i386/configure.in: Likewise.
1215 * sysdeps/x86_64/configure.in: Likewise.
1216 * sysdeps/sh/configure.in: Likewise.
1217 * sysdeps/s390/s390-32/configure: Regenerated.
1218 * sysdeps/s390/s390-64/configure: Likewise.
1219 * sysdeps/x86_64/configure: Likewise.
1220 * sysdeps/sh/configure: Likewise.
1221 * sysdeps/powerpc/powerpc64/configure: Likewise.
1222 * sysdeps/powerpc/powerpc32/configure: Likewise.
1223 * sysdeps/sparc/configure: Likwise.
1224 * sysdeps/i386/configure: Likewise.
1225
a66877c6
MP
1226 * elf/dl-open.c: Comment fixes.
1227
cfc82fd8
JM
12282012-07-17 Joseph Myers <joseph@codesourcery.com>
1229
bd29910a
JM
1230 * Makefile [CXX] (check-data): Remove.
1231 [CXX] (c++-types.data): New vpath directive.
1232 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1233 vpath. Do not allow for C++ type data being missing.
1234 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1235 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1236 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1237 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1238 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1239 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1240 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1242 ... here.
1243 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1245 ... here.
1246 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1248 ... here.
1249 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1251 ... here.
1252 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1254 ... here.
1255 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1257 ... here.
1258 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1260 ... here.
1261 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1263
cfc82fd8
JM
1264 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1265 definitions to architecture-specific files.
1266 (TLS_IE): Likewise.
1267 (TLS_LD): Likewise.
1268 (TLS_GD): Likewise.
1269 * sysdeps/i386/tls-macros.h: New file.
1270 * sysdeps/powerpc/tls-macros.h: Likewise.
1271 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1272 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1273 * sysdeps/sh/tls-macros.h: Likewise.
1274 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1275 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1276 * sysdeps/x86_64/tls-macros.h: Likewise.
1277
f7db3170
TS
12782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1279
07cbfc23
TS
1280 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1281 zero value for regular exit case.
1282
f7db3170
TS
1283 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1284 (__start_context): Preserve zero value for regular exit case.
1285
dc97c227
TS
12862012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1287 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1288
1289 * manual/setjmp.texi (setcontext): Clarify normal process
1290 termination when uc_link is the null pointer.
1291 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1292 exit call.
1293
d0cd7d02
AS
12942012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1295
1296 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1297 preprocessor. Test for each exception mask separately.
1298
dd318934
AJ
12992012-07-16 Andreas Jaeger <aj@suse.de>
1300
1301 * po/ru.po: Update from translation team.
1302
8048311a
JM
13032012-07-15 Joseph Myers <joseph@codesourcery.com>
1304
1305 * conform/data/string.h-data (NULL): Use macro-constant. Require
1306 equal to 0.
1307 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1308 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1309 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1310 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1312
b637d46e
AJ
13132012-07-13 Andreas Jaeger <aj@suse.de>
1314
1315 * po/fr.po: Update from translation team.
1316
541428fe
MP
13172012-07-12 Marek Polacek <polacek@redhat.com>
1318
1319 [BZ #14173]
1320 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1321 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1322 loop condition.
1323
ec332e94
JM
13242012-07-12 Joseph Myers <joseph@codesourcery.com>
1325
1326 [BZ #13717]
1327 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1328 Change to 2.4.1 where previously 2.4.0.
1329 * sysdeps/unix/sysv/linux/configure: Regenerated.
1330 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1331 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1332 version.
1333 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1334 (__ASSUME_AT_CLKTCK): Remove.
1335 (__ASSUME_AT_PAGESIZE): Likewise.
1336 (__ASSUME_AT_XID): Likewise.
1337 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1338 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1339 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1340 unconditionally.
1341 (HAVE_AUX_PAGESIZE): Likewise.
1342 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1343 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1344 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1345
7b6e99be
JB
13462012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1347
1348 [BZ #14307]
1349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1350 the temporary buffer used to invoke __gethostbyname2_r,
1351 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1352 host_data / struct gaih_addrtuple.
1353 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1354 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1355 header file nss/nsswitch.h.
1356 * nss/nsswitch.h (global scope): Add definition of implementation
1357 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1358 resolv/nss_dns/dns-host.c).
1359
608404eb
AJ
13602012-07-11 Andreas Jaeger <aj@suse.de>
1361
1362 * po/fr.po: Update from translation team.
1363
71220aca
AJ
1364 * po/sv.po: Update from translation team
1365 * po/fr.po: Another update from translation team.
1366
28cfe843
AZ
13672012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368
1369 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1370 for subnormals or multiply small sinh result by itself.
1371 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1373
6b90f981
DM
13742012-07-11 David S. Miller <davem@davemloft.net>
1375
1376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1377
c6825772
AS
13782012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1379
1380 [BZ #14347]
1381 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1382 (INTERNAL_MARK): Shift it here.
1383
7b8e0d49
MP
13842012-07-10 Marek Polacek <polacek@redhat.com>
1385
1386 [BZ #14151]
1387 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1388 libc_cv_asm_global_directive with .globl.
1389 * configure: Regenerated.
1390 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1391 with .globl.
1392 * sysdeps/i386/configure: Regenerated.
1393 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1394 with .globl.
1395 * sysdeps/x86_64/configure: Regenerated.
1396 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1397 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1398 * elf/tst-unique2mod2.c: Likewise.
1399 * elf/tst-unique2mod1.c: Likewise.
1400 * elf/tst-unique1mod2.c: Likewise.
1401 * elf/tst-unique1mod1.c: Likewise.
1402 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1403 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1404 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1405 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1406 * sysdeps/mach/sysdep.h: Likewise.
1407 * sysdeps/i386/sysdep.h: Likewise.
1408 * sysdeps/i386/i386-mcount.S: Likewise.
1409 * sysdeps/x86_64/_mcount.S: Likewise.
1410 * sysdeps/x86_64/sysdep.h: Likewise.
1411 * sysdeps/sh/_mcount.S: Likewise.
1412 * sysdeps/sh/sysdep.h: Likewise.
1413 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1414 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1415 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1416 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1417 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1418 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1419 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1420 * locale/localeinfo.h: Likewise.
1421 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1422 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1423
6c55cda3
RM
14242012-07-09 Roland McGrath <roland@hack.frob.com>
1425
1426 [BZ #14336]
1427 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1428 system".
1429 * manual/message.texi (The Uniforum approach): Likewise.
1430 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1431 (glibc iconv Implementation): Likewise.
1432
638a572e
JM
14332012-07-09 Joseph Myers <joseph@codesourcery.com>
1434
1435 [BZ #14337]
1436 * math/s_clog.c (__clog): Avoid scaling a value down where that
1437 could result in underflow.
1438 * math/s_clog10.c (__clog10): Likewise.
1439 * math/s_clog10f.c (__clog10f): Likewise.
1440 * math/s_clog10l.c (__clog10l): Likewise.
1441 * math/s_clogf.c (__clogf): Likewise.
1442 * math/s_clogl.c (__clogl): Likewise.
1443 * math/libm-test.inc (clog_test): Add more tests.
1444 (clog10_test): Likewise.
1445 * sysdeps/i386/fpu/libm-test-ulps: Update.
1446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1447
261f4859
AS
14482012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1449
0abaf3e4
AS
1450 [BZ #14283]
1451 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1452 by 7 not 8 to examine high bit of fractional part.
1453
261f4859
AS
1454 [BZ #14042]
1455 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1456 for call to __mcount_internal.
1457 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1458 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1459 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1460
f17ac40d
JM
14612012-07-06 Joseph Myers <joseph@codesourcery.com>
1462
9ad63c23
JM
1463 [BZ #14154]
1464 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1465 approximation for values within 0x1p-13f of an odd multiple of
1466 pi/4.
1467 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1468 exception. Add more tests.
1469 * sysdeps/i386/fpu/libm-test-ulps: Update.
1470
f17ac40d
JM
1471 [BZ #6778]
1472 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1473 inputs and return -1 for them. Do not check for +Inf in case not
1474 reachable for +Inf.
1475 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1476 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1477 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1478 and return -1 for them. Do not check for +Inf in case not
1479 reachable for +Inf.
1480 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1481 define.
1482 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1483 and return -1 for them. Do not check for +Inf in case not
1484 reachable for +Inf.
1485 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1486 spurious underflow.
1487 * sysdeps/i386/fpu/libm-test-ulps: Update.
1488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1489
fb21f89b
MF
14902012-07-06 Mike Frysinger <vapier@gentoo.org>
1491
1492 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1493
cdfe2c5e
JM
14942012-07-05 Joseph Myers <joseph@codesourcery.com>
1495
1496 [BZ #14157]
1497 [BZ #14331]
1498 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1499 could result in spurious underflow. Scale down values above
1500 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1501 * math/s_csqrtf.c (__csqrtf): Likewise.
1502 * math/s_csqrtl.c (__csqrtl): Likewise.
1503 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1504 spurious underflow.
1505 * sysdeps/i386/fpu/libm-test-ulps: Update.
1506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1507
70d35b67
AS
15082012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1509
704bc459
AS
1510 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1511 xopen-msg.sed.
1512 * catgets/xopen-msg.awk: New file.
1513 * catgets/xopen-msg.sed: Removed.
1514
70d35b67
AS
1515 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1516 po2text.sed.
1517 * intl/po2test.awk: New file.
1518 * intl/po2test.sed: Removed.
1519
ca61cf32
JM
15202012-07-04 Joseph Myers <joseph@codesourcery.com>
1521
1522 [BZ #14328]
1523 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1524 or multiply small sinh result by itself.
1525 * math/s_ctanf.c (__ctanf): Likewise.
1526 * math/s_ctanh.c (__ctanh): Likewise.
1527 * math/s_ctanhf.c (__ctanhf): Likewise.
1528 * math/s_ctanhl.c (__ctanhl): Likewise.
1529 * math/s_ctanl.c (__ctanl): Likewise.
1530 * math/libm-test.inc (ctan_test_tonearest): New function.
1531 (ctan_test_towardzero): Likewise.
1532 (ctan_test_downward): Likewise.
1533 (ctan_test_upward): Likewise.
1534 (ctanh_test_tonearest): Likewise.
1535 (ctanh_test_towardzero): Likewise.
1536 (ctanh_test_downward): Likewise.
1537 (ctanh_test_upward): Likewise.
1538 (main): Call these new functions.
1539 * sysdeps/i386/fpu/libm-test-ulps: Update.
1540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1541
ca48a46a
MF
15422012-07-03 Mike Frysinger <vapier@gentoo.org>
1543
1544 * .gitignore: Delete /ports entry.
1545
9d63d37d
AJ
15462012-07-03 Andreas Jaeger <aj@suse.de>
1547
1548 * po/bg.po: Update from translation team.
1549 * po/cs.po: Likewise.
1550 * po/de.po: Likewise.
1551 * po/hr.po: Likewise.
1552 * po/nl.pl: Likewise.
1553 * po/pl.po: Likewise.
1554 * po/vi.po: Likewise.
1555
370ca3d2
JM
15562012-07-03 Joseph Myers <joseph@codesourcery.com>
1557
95f5a9a8
JM
1558 * Makeconfig [!+link] (+link-before-libc): New variable.
1559 [!+link] (+link-after-libc): Likewise.
1560 [!+link] (+link-tests): Likewise.
1561 [!+link] (+link): Define in terms of $(+link-before-libc) and
1562 $(+link-after-libc).
1563 [!+link-static] (+link-static-before-libc): New variable.
1564 [!+link-static] (+link-static-after-libc): Likewise.
1565 [!+link-static] (+link-static-tests): Likewise.
1566 [!+link-static] (+link-static): Define in terms of
1567 $(+link-static-before-libc) and $(+link-static-after-libc).
1568 [build-shared] (link-libc-before-gnulib): New variable.
1569 [build-shared] (link-libc-tests): Likewise.
1570 [build-shared] (link-libc): Define in terms of
1571 $(link-libc-before-gnulib).
1572 [!build-shared] (link-libc-tests): New variable.
1573 (link-libc-static-tests): New variable.
1574 [!gnulib] (gnulib-arch): New variable.
1575 [!gnulib] (gnulib-tests): Likewise.
1576 [!gnulib] (static-gnulib-arch): Likewise.
1577 [!gnulib] (static-gnulib-tests): Likewise.
1578 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1579 Define with "=" instead of ":=".
1580 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1581 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1582 * Rules (binaries-all-notests): New variable.
1583 (binaries-all-tests): Likewise.
1584 (binaries-static-notests): Likewise.
1585 (binaries-static-tests): Likewise.
1586 (binaries-all): Define using $(binaries-all-notests) and
1587 $(binaries-all-tests).
1588 (binaries-static): Define using $(binaries-static-notests) and
1589 $(binaries-static-tests).
1590 (binaries-shared-tests): New variable.
1591 (binaries-shared-notests): Likewise.
1592 (binaries-shared): Remove variable.
1593 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1594 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1595 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1596 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1597 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1598 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1599 * elf/Makefile (sln-modules): New variable.
1600 (extra-objs): Add $(sln-modules:=.o).
1601 (ldconfig-modules): Add static-stubs.
1602 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1603 * elf/static-stubs.c: New file.
1604
7a845b2c
JM
1605 [BZ #14283]
1606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1607 by 7 not 8 to examine high bit of fractional part. Use volatile
1608 variables when splitting into final array of floats if
1609 __FLT_EVAL_METHOD__ != 0.
1610 * math/libm-test.inc (cos_test): Add another test.
1611 (sin_test): Likewise.
1612 * sysdeps/i386/fpu/libm-test-ulps: Update.
1613
e2283f38
JM
1614 [BZ #14273]
1615 * math/libm-test.inc (cosh_test): Add more tests.
1616
370ca3d2
JM
1617 * version.h (RELEASE): Set to "development".
1618 (VERSION): Set to "2.16.90".
1619
ee9247c3
CD
16202012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1621
1622 * NEWS: Update copyright. Remove last-updated date.
1623 Mention math library bug fixes and timezone data changes.
1624 * README: Mention GNU/Hurd, x32, and HPPA support status.
1625
4648c381
TS
16262012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1627
1628 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1629
aac78a43
AJ
16302012-06-27 Andreas Jaeger <aj@suse.de>
1631
1632 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1633
ed3dbfad
AJ
16342012-06-25 Andreas Jaeger <aj@suse.de>
1635
1636 * sysdeps/s390/fpu/libm-test-ulps: Update.
1637
4d0ee855
AS
16382012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1639 Thomas Schwinge <thomas@codesourcery.com>
1640
1641 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1642 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1644 fanotify_mark.
1645
af1bce34
TS
16462012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1647
a9fa33ba
TS
1648 * sysdeps/mach/start.c: Remove file.
1649 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1650 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1651 * sysdeps/sh/init-first.c: Likewise.
1652
58f902b8
TS
1653 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1654 registers for frame unwinding purposes, add CFI directives.
1655 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1656 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1657 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1658 Likewise.
1659
1518f58b
TS
1660 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1661 __fortify_fail returning.
1662 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1663
db9b5059
TS
1664 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1665 sysdeps/sh/____longjmp_chk.S.
1666 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1667 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1668 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1669 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1670
967705fe
TS
1671 * sysdeps/sh/abort-instr.h: New file.
1672 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1673 process in case exit returns.
1674
a9def8c4
TS
1675 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1676 initialize the GOT register before use.
1677
2a649725
TS
1678 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1679 calculation of ARGC > 4.
1680
af1bce34
TS
1681 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1682 meaningful names to some local labels.
1683
d230f50a
KK
16842012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1685 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1686
1687 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1688 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1689 (__arch_compare_and_exchange_val_16_acq): Likewise.
1690 (__arch_compare_and_exchange_val_32_acq): Likewise.
1691 (atomic_exchange_and_add): Fix gUSA sequence.
1692 (atomic_add): Likewise.
1693 (atomic_add_negative): Likewise.
1694 (atomic_add_zero): Likewise.
1695 (atomic_bit_test_set): Likewise.
1696
0479b305
AS
16972012-06-22 Andreas Schwab <schwab@redhat.com>
1698
1699 [BZ #13579]
1700 * include/link.h (struct link_map): Add l_free_initfini.
1701 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1702 l_initfini.
1703 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1704 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1705 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1706 set.
1707
0e3933b9
CD
17082012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1709
1710 * configure.in: Use AC_LANG_SOURCE.
1711 * configure: Regenerate.
1712
4248b1b1
RM
17132012-06-22 Roland McGrath <roland@hack.frob.com>
1714
1715 * configure.in (libc_cv_localstatedir): New substituted variable.
1716 * configure: Regenerated.
1717 * config.make.in (localstatedir): New variable, substituted from
1718 libc_cv_localstatedir.
1719 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1720 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1721 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1722 * sysdeps/gnu/configure: Regenerated.
1723
006dd861
JL
17242012-06-21 Jeff Law <law@redhat.com>
1725
1726 [BZ #14277]
1727 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1728 free. Simplify list management for _LIBC case.
1729
79662d42
JM
17302012-06-21 Joseph Myers <joseph@codesourcery.com>
1731
b7abb4bf
JM
1732 [BZ #14273]
1733 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1734 Clear sign bit of 64-bit integer value before comparing against
1735 overflow value.
1736
79662d42
JM
1737 * sysdeps/mach/configure: Regenerated.
1738
1f150908
L
17392012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1740
1741 [BZ #14278]
1742 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1743
28363bbf
JL
17442012-06-21 Jeff Law <law@redhat.com>
1745
1746 [BZ #13882]
1747 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1748 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1749 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1750 * elf/dl-open.c (dl_open_worker): Likewise.
1751
09615db4
CD
17522012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1753
1754 * scripts/list-sources.sh: Scan PORTS for translations.
1755 * po/libc.pot: Regenerated.
1756
2174c6dd
AJ
17572012-06-21 Andreas Jaeger <aj@suse.de>
1758
1759 [BZ #12194]
1760 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1761 warning.
1762 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1763 * bits/byteswap-16.h (__bswap_16): Likewise.
1764 * bits/byteswap.h (__bswap_constant_16): Likewise.
1765
3ee947b1
L
17662012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1767
1768 [BZ #14117]
a2f34833
L
1769 * sysdeps/i386/fpu_control.h: Removed.
1770 * sysdeps/x86_64/fpu_control.h: Moved to ...
1771 * sysdeps/x86/fpu_control.h: Here.
1772
3ee947b1
L
1773 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1774 (_FPU_SETCW): Likewise.
1775
ed1825f8
L
17762012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1777
25f1282a
L
1778 [BZ #14117]
1779 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1780 * sysdeps/x86/fpu/bits/mathinline.h: This.
1781 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1782
ed1825f8
L
1783 [BZ #14050]
1784 [BZ #14117]
1785 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1786 functions if __x86_64__ is defined.
1787
36d54b74
CLT
17882012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1789
1790 * string/endian.h: Add !__ASSEMBLER__ condition for including
1791 conversion interfaces.
1792
10285c21
JM
17932012-06-15 Joseph Myers <joseph@codesourcery.com>
1794
1795 [BZ #14241]
1796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1797 of ABS(x) in calculating zero to negative powers other than odd
1798 integers.
1799 * math/libm-test.inc (pow_test): Add more tests.
1800
06c5abbd
AJ
18012012-06-15 Andreas Jaeger <aj@suse.de>
1802
1803 * manual/contrib.texi (Contributors): Update entry of Liubov
1804 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1805 Machado Filho.
1806
a3aeac40
CH
18072012-06-15 Cyril Hrubis <metan@ucw.cz>
1808
1809 * string/string.h: Add __wur to GNU version of strerror_r.
1810
49bdf4c1
L
18112012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1812
1813 [BZ #14229]
1814 * string/Makefile (tests): Add tst-strtok_r.
1815 * string/tst-strtok_r.c: New file.
1816 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1817 RAX_LP/RDX_LP on SAVE_PTR.
1818
834f9b8d
RM
18192012-06-14 Roland McGrath <roland@hack.frob.com>
1820
1821 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1822
75fa1921
JM
18232012-06-14 Joseph Myers <joseph@codesourcery.com>
1824
1825 * libm_test.inc (csqrt_test): Allow more spurious underflow
1826 exceptions.
1827 (j0_test): Likewise.
1828 (j1_test): Likewise.
1829 (y0_test): Likewise.
1830 (y1_test): Likewise.
1831
771766df
CD
18322012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1833
1834 * po/Makefile (libc.pot): Use UTF-8 charset.
1835
ceb9e56b
PP
18362012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1837
1838 [BZ #14210]
1839 Suppress sign-conversion warning from FD_SET.
1840 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1841 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1842 not unsigned long int.
1843 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1844
ddb28975
L
18452012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1846
1847 [BZ #14050]
1848 [BZ #14117]
1849 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1850 __extern_always_inline instead of __extern_inline.
1851 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1852 (__signbit): Likewise.
1853 (__signbitl): Support C++ namespace.
1854 (lrintf): New inline function.
1855 (lrint): Likewise.
1856 (llrintf): Likewise.
1857 (llrint): Likewise.
1858 (fmaxf): Likewise.
1859 (fmax): Likewise.
1860 (fminf): Likewise.
1861 (fmin): Likewise.
1862 (rint): Likewise.
1863 (rintf): Likewise.
1864 (ceil): Likewise.
1865 (ceilf): Likewise.
1866 (floor): Likewise.
1867 (floorf): Likewise.
1868 (nearbyint): Likewise.
1869 (nearbyintf): Likewise.
1870
d7b4fb26
TS
18712012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1872
1873 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1874 non-default versions.
1875
eb55f5c2
RM
18762012-06-11 Roland McGrath <roland@hack.frob.com>
1877
1878 [BZ #14218]
1879 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1880
366af02c
TS
18812012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1882
99ff6e5c
TS
1883 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1884 (FE_UPWARD, FE_DOWNWARD): Don't define.
1885 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1886 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1887
366af02c
TS
1888 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1889 reading it.
1890 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1891 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1892
793ea851
KK
18932012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1894
1895 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1896 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1897 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1898 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1899
a728a38f
L
19002012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 [BZ #14117]
c08010c7
L
1903 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1904 * sysdeps/i386/fpu/Implies: New file.
1905 * sysdeps/x86_64/fpu/Implies: Likewise.
1906 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1907 * sysdeps/x86/fpu/bits/fenv.h: This.
1908
a728a38f
L
1909 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1910 __SSE_MATH__.
1911
6e230d11
SP
19122012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1913
1914 [BZ #14134]
1915 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1916 character 0xffff that matches the last element of the
1917 conversion table.
1918
1b671feb
AZ
19192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1920
1921 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1922 fmodl commit.
1923
6043738b
AZ
19242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925
1926 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1927 values higher than 25.6283.
1928
34ae0b32
AZ
19292012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1930
1931 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1932 subnormal exponent extraction and add some __builtin_expect.
1933 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1934 Fix for subnormal mantissa calculation.
1935
1214ec8f
MF
19362012-06-04 Mike Frysinger <vapier@gentoo.org>
1937
1938 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1939 cpu2 is -1 and errno is not ENOSYS.
1940
f3d1f93c
L
19412012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1942
1943 [BZ #14117]
0e4a3cd7
L
1944 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1945 * sysdeps/x86/bits/string.h: This.
1946 * sysdeps/x86_64/bits/string.h: Removed.
1947
6704c645
L
1948 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1949 if not compiling for x86-64, but compiling for >= i486.
1950
48495318
L
1951 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1952 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1953
14adcbfc
L
1954 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1955 New macro from Linux kernel 3.4.0.
1956 (FP_XSTATE_MAGIC2): Likewise.
1957 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1958 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1959 (struct _fpx_sw_bytes): New struct.
1960 (struct _xsave_hdr): Likewise.
1961 (struct _ymmh_state): Likewise.
1962 (struct _xstate): Likewise.
1963
68e408ab
L
1964 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1965 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1966 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1967 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1968 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1969 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1970
f3d1f93c
L
1971 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1972 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1973 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1974 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1975 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1976 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1977
d9dc34cd
TMQMF
19782012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1979
1980 [BZ #13743]
1981 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1982 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1983 (sysdep_headers): Include sys/platform/ppc.h.
1984 * sysdeps/powerpc/test-gettimebase.c: Test for
1985 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1986 * manual/Makefile (appendices): Include platform.texi.
1987 * manual/contrib.texi (Contributors): Update @node pointers.
1988 * manual/maint.texi (Maintenance): Likewise.
1989 (Platform): New node.
1990 * manual/platform.texi: New file. Document the new features.
1991
4af3879c
SP
19922012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1993 Jakub Jelinek <jakub@redhat.com>
1994
1995 [BZ #14188]
1996 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1997 where __builtin_expect is unavailable.
1998
2fd6ff13
DM
19992012-06-03 David S. Miller <davem@davemloft.net>
2000
2001 * stdlib/longlong.h: Updated from GCC.
2002
173f7220
AS
20032012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2004
2005 [BZ #14042]
2006 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2007 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2008 __mcount_internal.
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2010 (GLIBC_2.16): Likewise.
2011
f34a1c6f
L
20122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2013
2014 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2015
88a4576f
JM
20162012-06-01 Joseph Myers <joseph@codesourcery.com>
2017
ea32bcdd
JM
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2019 (default-abi): New variable.
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2021 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2022 variable.
2023 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2024 Likewise.
2025 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2026 Likewise.
2027 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2028 Likewise.
2029
88a4576f
JM
2030 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2031 definition. Document in comment.
2032
402fe938
DM
20332012-06-01 David S. Miller <davem@davemloft.net>
2034
2035 * stdlib/longlong.h: Updated from GCC.
2036
3553723f
L
20372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2038
2039 [BZ #14117]
3bd872c4
L
2040 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2041 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2042 sys/debugreg.h sys/io.h here.
2043 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2044 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2045 sys/io.h.
2046 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2047 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2048 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2049 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2050 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2051 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2052
3553723f
L
2053 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2054 Define only if __x86_64__ is defined.
2055
4842e4fe
JM
20562012-06-01 Joseph Myers <joseph@codesourcery.com>
2057
c5bfe3d5
JM
2058 [BZ #14048]
2059 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2060 Use int64_t for variable i.
2061 * math/libm-test.inc (fmod_test): Add more tests.
2062
4842e4fe
JM
2063 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2064 z computation is not scheduled after fetestexcept.
2065 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2066 Use math_force_eval instead of asm to ensure calculation scheduled
2067 before exception test.
2068 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2069 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2070
efb73488
AJ
20712012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2072
2073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2074 computation is not scheduled after fetestexcept.
2075
29bcce7c
L
20762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2077
2078 [BZ #14117]
2079 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2080 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2081
73a68f94
AZ
20822012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2083
2084 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2085 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2086
67b6df78
L
20872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2088
edf2933a 2089 [BZ #14117]
ebc64a18
L
2090 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2091 <bits/wordsize.h>.
2092 (__WCHAR_MIN): Support __WORDSIZE == 64.
2093 (__WCHAR_MAX): Likewise.
2094
edf2933a
L
2095 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2096 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2097
57c6cf40
L
2098 [BZ #14183]
2099 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2100 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2101
67b6df78 2102 [BZ #14117]
8eb6281e
L
2103 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2104 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2105
aac639f4
L
2106 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2107 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2108
67b6df78
L
2109 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2110 Defined to 1 if __x86_64__ isn't defined.
2111 (_STAT_VER_LINUX_OLD): New.
2112 (st_atime): Remove duplicate.
2113 (st_mtime): Likewise.
2114 (st_ctime): Likewise.
2115
1c2cfe81
DM
21162012-05-31 David S. Miller <davem@davemloft.net>
2117
2118 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2119 entries.
2120
5be8418c
AS
21212012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2122
e7725326
AS
2123 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2124 gen-libm-test.pl.
2125
5be8418c
AS
2126 [BZ #14132]
2127 * elf/dl-reloc.c: Include <_itoa.h>.
2128 (_dl_reloc_bad_type): Remove use of INTUSE.
2129 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2130 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2131 * stdio-common/psiginfo.c (psiginfo): Likewise.
2132 * stdio-common/psignal.c (psignal): Likewise.
2133 * string/strsignal.c (strsignal): Likewise.
2134 * include/signal.h (_sys_siglist): Declare hidden proto.
2135 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2136 INTVARDEF with libc_hidden_data_def.
2137 * stdio-common/itoa-udigits.c: Likewise.
2138 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2139 (_itoa_lower_digits_internal): Remove declaration.
2140 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2141 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2142 (_sys_sigabbrev_internal): Remove aliases.
2143 (_sys_siglist): Define hidden alias.
2144
507352f1
MT
21452012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2146
2147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2148 bits/sysctl.h.
2149
42bbb1c3
L
21502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 [BZ #14117]
6bd784b6
L
2153 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2154 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2155
8bca20f0
L
2156 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2157 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2158 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2159 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2160 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2161 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2162
f9e890a9
L
2163 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2164 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2165 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2166
471101a1
L
2167 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2168 with __addr.
2169 (insw): Likewise.
2170 (insl): Likewise.
2171 (outsb): Likewise.
2172 (outsw): Likewise.
2173 (outsl): Likewise.
2174
6451c862
L
2175 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2176 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2177 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2178
a254b8c9
L
2179 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2180 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2181 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2182 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2183 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2184 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2185
b8dfdd92
L
2186 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2187 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2188
578cd270
L
2189 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2190 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2191
de662f5f
L
2192 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2193 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2194 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2195
25653439
L
2196 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2197 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2198 to ...
2199 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2200
6bad24a0
L
2201 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2202 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2203 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2204
42bbb1c3
L
2205 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2206 for x86-64.
2207 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2208
2d10d547
JM
22092012-05-31 Joseph Myers <joseph@codesourcery.com>
2210
2211 * math/math.h (M_El): Use two more decimal places.
2212 (M_LOG2El): Likewise.
2213 (M_LOG10El): Likewise.
2214 (M_LN2l): Likewise.
2215 (M_LN10l): Likewise.
2216 (M_PIl): Likewise.
2217 (M_PI_2l): Likewise.
2218 (M_PI_4l): Likewise.
2219 (M_1_PIl): Likewise.
2220 (M_2_PIl): Likewise.
2221 (M_2_SQRTPIl): Likewise.
2222 (M_SQRT2l): Likewise.
2223 (M_SQRT1_2l): Likewise.
2224
f230c29b
DM
22252012-05-31 David S. Miller <davem@davemloft.net>
2226
2227 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2228 values between float registers.
2229 * sysdeps/sparc/sparc64/memset.S: Likewise.
2230 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2231
fed806c3
MF
22322012-05-31 Mike Frysinger <vapier@gentoo.org>
2233
2234 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2235 -D_FORTIFY_SOURCE=1.
2236 (CPPFLAGS-tst-longjmp_chk.c): Define.
2237 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2238 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2239 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2240 CFLAGS-tst-wchar-h.c.
2241
30917259
MP
22422012-05-31 Marek Polacek <polacek@redhat.com>
2243
2244 [BZ #14132]
2245 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2246 __endmntent_internal): Remove declaration.
2247 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2248 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2249 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2250
1c58d5dc
DM
22512012-05-30 David S. Miller <davem@davemloft.net>
2252
2253 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2254 (___Q_simulate_exceptions): Use real FP ops rather than writing
2255 into the %fsr.
2256 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2257 Likewise.
2258
7dc00e0d
L
22592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2260
2261 [BZ #14117]
0bd53985
L
2262 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2263 * sysdeps/x86/bits/xtitypes.h: This.
2264
3a257e66
L
2265 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2266 * sysdeps/x86/bits/wordsize.h: This.
2267
62f62904
L
2268 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2269 * sysdeps/x86/bits/huge_vall.h: This.
2270
404fe9d9
L
2271 * sysdeps/i386/bits/select.h: Removed.
2272 * sysdeps/x86_64/bits/select.h: Renamed to ...
2273 * sysdeps/x86/bits/select.h: This.
2274
d48d0446
L
2275 * sysdeps/i386/bits/setjmp.h: Removed.
2276 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2277 * sysdeps/x86/bits/setjmp.h: This.
2278
7dc00e0d
L
2279 * sysdeps/i386/bits/mathdef.h: Removed.
2280 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2281 * sysdeps/x86/bits/mathdef.h: This.
2282
03277f8f
AS
22832012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2284
2285 [BZ #14132]
2286 * include/sys/socket.h (__connect_internal)
2287 (__libc_sa_len_internal): Remove declaration.
2288 (__connect, __libc_sa_len): Declare hidden_proto.
2289 (SA_LEN): Remove use of INTUSE.
2290 * socket/connect.c: Add libc_hidden_def.
2291 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2292 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2293 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2294 alias.
2295 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2296 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2297 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2298 of adding _internal alias.
2299
13764867
L
23002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2301
2302 [BZ #14117]
6bd97696
L
2303 * sysdeps/i386/bits/link.h: Removed.
2304 * sysdeps/i386/bits/linkmap.h: Likewise.
2305 * sysdeps/x86_64/bits/link.h: Renamed to ...
2306 * sysdeps/x86/bits/link.h: This.
2307 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2308 * sysdeps/x86/bits/linkmap.h: This.
2309
f726f0bb
L
2310 * sysdeps/i386/bits/endian.h: Removed.
2311 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2312 * sysdeps/x86/bits/endian.h: This.
2313
13764867
L
2314 * sysdeps/i386/bits/byteswap.h: Removed.
2315 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2316 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2317 * sysdeps/x86/bits/byteswap.h: This.
2318 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2319 * sysdeps/x86/bits/byteswap-16.h: This.
2320 * sysdeps/i386/Implies: Add x86.
2321 * sysdeps/x86_64/Implies: Likewise.
2322
ae251b0b
DM
23232012-05-30 David S. Miller <davem@davemloft.net>
2324
2325 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2326 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2327 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2328 (FP_TRAPPING_EXCEPTIONS): Define.
2329 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2330 (FP_TRAPPING_EXCEPTIONS): Define.
2331 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2332 subnormals only when inexact has been signalled or underflow
2333 exceptions are enabled.
2334 (_FP_PACK_CANONICAL): Likewise.
2335
d5c90867
L
23362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2337
2338 [BZ #14183]
2339 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2340 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2341
63f1549e
RH
23422012-05-30 Richard Henderson <rth@twiddle.net>
2343
8d8f2279
RH
2344 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2345 with #ifndef NOT_IN_libc.
2346
63f1549e
RH
2347 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2348 marked to avoid plt entry.
2349
0ab0291b
L
23502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2351
2352 [BZ #14112]
2353 * Makeconfig (default-abi): New macro.
2354 (abi-includes): Likewise.
2355 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2356 $(abi-$(default-abi)-lib-soname) for soname if defined.
2357 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2358 abi-variants.
2359 * Makefile (installed-stubs): Likewise.
2360 * include/stubs-biarch.h: Removed.
2361 * scripts/lib-names.awk: Only handle one library at a time.
2362 * scripts/soversions.awk: Remove WORDSIZE support.
2363 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2364 entries.
2365 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2366 Removed.
2367 (syscall-list-default-condition): Likewise.
2368 (syscall-list-default-condition): Likewise.
2369 (syscall-list-includes): Likewise.
2370 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2371 syscall-list-* with abi-*. Handle undefined abi-variants.
2372 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2373 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2374 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2375 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2376 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2377 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2378 Removed.
2379 (syscall-list-32-options): Likewise.
2380 (syscall-list-32-condition): Likewise.
2381 (syscall-list-64-options): Likewise.
2382 (syscall-list-64-condition): Likewise.
2383 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2384 macro.
2385 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2386 Renamed to ...
2387 (abi-*): This.
2388 (abi-64-ld-soname): New macro.
2389 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2390 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2391 Renamed to ...
2392 (abi-*): This.
2393 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2394 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2395
4da0431d
JM
23962012-05-30 Joseph Myers <joseph@codesourcery.com>
2397
3a85279c
JM
2398 * sysdeps/unix/sysv/linux/kernel-features.h
2399 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2400 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2401 include <kernel-features.h>.
2402 [!__NR_ftruncate64]: Remove conditional code.
2403 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2404 [__NR_ftruncate64]: Make code unconditional.
2405 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2406 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2407 include <kernel-features.h>.
2408 [!__NR_ftruncate64]: Remove conditional code.
2409 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2410 [__NR_ftruncate64]: Make code unconditional.
2411 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2413 include <kernel-features.h>.
2414 [!__NR_ftruncate64]: Remove conditional code.
2415 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2416 [__NR_ftruncate64]: Make code unconditional.
2417 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2419 include <kernel-features.h>.
2420 [!__NR_ftruncate64]: Remove conditional code.
2421 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2422 [__NR_ftruncate64]: Make code unconditional.
2423 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2424
4da0431d
JM
2425 * configure.in (libc_cv_fpie): Weaken to a compile test using
2426 LIBC_TRY_CC_OPTION.
2427 * configure: Regenerated.
2428
11ef492c
AK
24292012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2430
2431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2435 Refreshed.
2436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2442 Refreshed.
2443
d66ef399
DM
24442012-05-27 David S. Miller <davem@davemloft.net>
2445
2446 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2447 (___Q_zero): New.
2448 (__Q_simulate_exceptions): Return void. Change to simulate
2449 exceptions by writing into the %fsr.
2450 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2451 (__Qp_handle_exceptions): Likewise.
2452 (numbers): Delete.
2453 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2454 __Qp_handle_exceptions.
2455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2456 __Qp_handle_exceptions.
2457 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2458 as unused and give dummy FP_RND_NEAREST initializer.
2459 (FP_INHIBIT_RESULTS): Define.
2460 (___Q_simulate_exceptions): Update declaration.
2461 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2462 formatting.
2463 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2464 as unused and give dummy FP_RND_NEAREST initializer.
2465 (__Qp_handle_exceptions): Update declaration.
2466 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2467 formatting.
2468
04fb54b5
TS
24692012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2470
2471 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2472 the temporary FPU control word.
2473 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2474 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2475 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2476 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2477 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2478 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2479 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2480 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2481 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2482 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2483 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2484
3f99608f
KK
24852012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2486
2487 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2488 fields.
2489
65a4de4e
CLT
24902012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2491
2492 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2493 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2494 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2495 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2496 Likewise.
2497 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2498 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2499 Likewise.
2500
15749d40
UD
25012012-05-27 Ulrich Drepper <drepper@gmail.com>
2502
2503 * po/h.po: Update from translation team.
2504
25dbcb27
AS
25052012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2506
3d3f8e55
AS
2507 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2508
25dbcb27
AS
2509 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2510 handling of denormals.
2511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2512 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2513 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2514 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2515 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2518 Likewise.
2519
7ad47a80 25202012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2521
2522 [BZ #14152]
2523 * math/libm-test.inc (fma_test): Don't always expect underflow
2524 exception.
2525
9c6ea9fa
SP
25262012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2527
2528 [BZ #12416]
2529 * elf/tst-execstack.c: Include stackinfo.h.
2530 (do_test): Adjust test case to ensure that pthread_getattr_np
2531 behaviour remains the same after marking stack executable.
2532
a8239222
JM
25332012-05-25 Joseph Myers <joseph@codesourcery.com>
2534
2535 * sysdeps/unix/sysv/linux/kernel-features.h
2536 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2537 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2538 kernel-features.h.
2539 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2540 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2541 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2542 kernel-features.h.
2543 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2544 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2545
918b5606
L
25462012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2547
2548 * configure.in: Define the default includes to being none.
2549 * configure: Regenerated.
2550
3a097cc7
RM
25512012-05-25 Roland McGrath <roland@hack.frob.com>
2552
8422c9a5
RM
2553 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2554 * sysdeps/x86_64/setjmp.S: Likewise.
2555 * sysdeps/i386/bsd-setjmp.S: Likewise.
2556 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2557 * sysdeps/i386/setjmp.S: Likewise.
2558 * sysdeps/i386/__longjmp.S: Likewise.
2559 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2560 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2561
3a097cc7
RM
2562 * include/stap-probe.h: New file.
2563 * configure.in: Handle --enable-systemtap.
2564 * configure: Regenerated.
2565 * config.h.in (USE_STAP_PROBE): New #undef.
2566 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2567 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2568 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2569
21708942
JM
25702012-05-25 Joseph Myers <joseph@codesourcery.com>
2571
2572 [BZ #13717]
2573 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2574 to 2.4.0 where earlier.
2575 * sysdeps/unix/sysv/linux/configure: Regenerated.
2576 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2577 <kernel-features.h>.
2578 [__ASSUME_32BITUIDS]: Make code unconditional.
2579 [!__ASSUME_32BITUIDS]: Remove conditional code.
2580 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2581 <kernel-features.h>.
2582 [__ASSUME_32BITUIDS]: Make code unconditional.
2583 [!__ASSUME_32BITUIDS]: Remove conditional code.
2584 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2585 [__ASSUME_32BITUIDS]: Make code unconditional.
2586 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2587 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/i386/getgroups.c: Do not include
2600 <kernel-features.h>.
2601 [__ASSUME_32BITUIDS]: Make code unconditional.
2602 [!__ASSUME_32BITUIDS]: Remove conditional code.
2603 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2604 <kernel-features.h>.
2605 [__ASSUME_32BITUIDS]: Make code unconditional.
2606 [!__ASSUME_32BITUIDS]: Remove conditional code.
2607 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2608 <kernel-features.h>.
2609 [__ASSUME_32BITUIDS]: Make code unconditional.
2610 [!__ASSUME_32BITUIDS]: Remove conditional code.
2611 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2612 <kernel-features.h>.
2613 [__ASSUME_32BITUIDS]: Make code unconditional.
2614 [!__ASSUME_32BITUIDS]: Remove conditional code.
2615 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2616 <kernel-features.h>.
2617 [__ASSUME_32BITUIDS]: Make code unconditional.
2618 [!__ASSUME_32BITUIDS]: Remove conditional code.
2619 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2620 <kernel-features.h>.
2621 [__ASSUME_32BITUIDS]: Make code unconditional.
2622 [!__ASSUME_32BITUIDS]: Remove conditional code.
2623 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2624 <kernel-features.h>.
2625 [__ASSUME_32BITUIDS]: Make code unconditional.
2626 [!__ASSUME_32BITUIDS]: Remove conditional code.
2627 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2628 <kernel-features.h>.
2629 [__NR_setresgid] (__setresgid): Do not declare.
2630 [__ASSUME_32BITUIDS]: Make code unconditional.
2631 [!__ASSUME_32BITUIDS]: Remove conditional code.
2632 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2633 <kernel-features.h>.
2634 [__NR_setresuid] (__setresuid): Do not declare.
2635 [__ASSUME_32BITUIDS]: Make code unconditional.
2636 [!__ASSUME_32BITUIDS]: Remove conditional code.
2637 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2638 <kernel-features.h>.
2639 [__ASSUME_32BITUIDS]: Make code unconditional.
2640 [!__ASSUME_32BITUIDS]: Remove conditional code.
2641 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2642 <kernel-features.h>.
2643 [__ASSUME_32BITUIDS]: Make code unconditional.
2644 [!__ASSUME_32BITUIDS]: Remove conditional code.
2645 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2646 <kernel-features.h>.
2647 [__ASSUME_32BITUIDS]: Make code unconditional.
2648 [!__ASSUME_32BITUIDS]: Remove conditional code.
2649 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2650 <kernel-features.h>.
2651 [__ASSUME_32BITUIDS]: Make code unconditional.
2652 [!__ASSUME_32BITUIDS]: Remove conditional code.
2653 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2654 <kernel-features.h>.
2655 [__ASSUME_32BITUIDS]: Make code unconditional.
2656 [!__ASSUME_32BITUIDS]: Remove conditional code.
2657 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2658 <kernel-features.h>.
2659 [__ASSUME_32BITUIDS]: Make code unconditional.
2660 [!__ASSUME_32BITUIDS]: Remove conditional code.
2661 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2662 <kernel-features.h>.
2663 [__ASSUME_32BITUIDS]: Make code unconditional.
2664 [!__ASSUME_32BITUIDS]: Remove conditional code.
2665 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2666 <kernel-features.h>.
2667 [__ASSUME_32BITUIDS]: Make code unconditional.
2668 [!__ASSUME_32BITUIDS]: Remove conditional code.
2669 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2670 <kernel-features.h>.
2671 [__ASSUME_32BITUIDS]: Make code unconditional.
2672 [!__ASSUME_32BITUIDS]: Remove conditional code.
2673 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2674 <kernel-features.h>.
2675 [__ASSUME_32BITUIDS]: Make code unconditional.
2676 [!__ASSUME_32BITUIDS]: Remove conditional code.
2677 * sysdeps/unix/sysv/linux/kernel-features.h
2678 (__ASSUME_SETRESUID_SYSCALL): Remove.
2679 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2680 (__ASSUME_32BITUIDS): Likewise.
2681 (__ASSUME_LDT_WORKS): Likewise.
2682 (__ASSUME_O_DIRECTORY): Likewise.
2683 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2684 architecture but not kernel version.
2685 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2686 (__ASSUME_MMAP2_SYSCALL): Likewise.
2687 (__ASSUME_STAT64_SYSCALL): Likewise.
2688 (__ASSUME_IPC64): Likewise.
2689 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2690 <kernel-features.h>.
2691 [__ASSUME_32BITUIDS]: Make code unconditional.
2692 [!__ASSUME_32BITUIDS]: Remove conditional code.
2693 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2694 <kernel-features.h>.
2695 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2696 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2697 132096]: Remove conditional code.
2698 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2699 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2700 <kernel-features.h>.
2701 [__ASSUME_32BITUIDS]: Make code unconditional.
2702 [!__ASSUME_32BITUIDS]: Remove conditional code.
2703 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2704 <kernel-features.h>.
2705 [__ASSUME_32BITUIDS]: Make code unconditional.
2706 [!__ASSUME_32BITUIDS]: Remove conditional code.
2707 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2708 <kernel-features.h>.
2709 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2710 unconditional.
2711 (__setresgid): Do not declare.
2712 [__ASSUME_32BITUIDS]: Make code unconditional.
2713 [!__ASSUME_32BITUIDS]: Remove conditional code.
2714 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2715 <kernel-features.h>.
2716 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2717 unconditional.
2718 (__setresuid): Do not declare.
2719 [__ASSUME_32BITUIDS]: Make code unconditional.
2720 [!__ASSUME_32BITUIDS]: Remove conditional code.
2721 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2722 <kernel-features.h>.
2723 [__ASSUME_32BITUIDS]: Make code unconditional.
2724 [!__ASSUME_32BITUIDS]: Remove conditional code.
2725 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2726 <kernel-features.h>.
2727 [__ASSUME_32BITUIDS]: Make code unconditional.
2728 [!__ASSUME_32BITUIDS]: Remove conditional code.
2729
a386f1cc
RH
27302012-05-25 Richard Henderson <rth@twiddle.net>
2731
2732 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2733 dl_hwcap to ifunc resolver.
2734 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2735 elf_ifunc_invoke.
2736 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2737 dl_hwcap to ifunc resolver.
2738 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2739
b6550497
JM
27402012-05-24 Joseph Myers <joseph@codesourcery.com>
2741
2742 [BZ #14153]
2743 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2744 for |x| <= 2**-26, not 2**-57.
2745 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2746 exception.
2747
b0bc23a1
JL
27482012-05-24 Jeff Law <law@redhat.com>
2749
2750 * stdio-common/Makefile (tests): Add bug25.
2751 * stdio-common/bug25.c: New test.
2752
347c92e9
L
27532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2754
2755 [BZ #13576]
2756 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2757 multiple of MALLOC_ALIGNMENT in size.
2758 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2759
6bcc8b3f
JM
27602012-05-24 Joseph Myers <joseph@codesourcery.com>
2761
2762 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2763 Require >= 256.
2764 (FILENAME_MAX): Use macro-int-constant.
2765 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2766 (_IOFBF): Use macro-int-constant.
2767 (_IOLBF): Likewise.
2768 (_IONBF): Likewise.
2769 (SEEK_CUR): Likewise.
2770 (SEEK_END): Likewise.
2771 (SEEK_SET): Likewise.
2772 (TMP_MAX): Likewise.
2773 (EOF): Use macro-int-constant. Require < 0.
2774 (NULL): Use macro-constant. Require == 0.
2775 (stdin): Require type to be FILE *.
2776 (stdout): Likewise.
2777 (stderr): Likewise.
2778 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2779 macro-int-constant.
2780 (EXIT_SUCCESS): Likewise.
2781 (NULL): Use macro-constant. Require == 0.
2782 (RAND_MAX): Use macro-int-constant.
2783 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2784 [C99-based standards] (strtof): Require function.
2785 [C99-based standards] (strtold): Likewise.
2786 [C99-based standards] (strtoll): Likewise.
2787 [C99-based standards] (strtoull): Likewise.
2788 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2789 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2790 [ISO || ISO99 || ISO11] (math.h): Likewise.
2791 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2792 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2794
d18ea0c5
AS
27952012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2796
2797 [BZ #14132]
56d25bb8
AS
2798 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2799 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2800 * intl/dgettext.c (DCGETTEXT): Likewise.
2801 * intl/gettext.c (DCGETTEXT): Likewise.
2802 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2803 * posix/regex_internal.h (gettext): Likewise.
2804 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2805 Remove declaration.
2806 * include/argz.h (__argz_count_internal)
2807 (__argz_stringify_internal): Remove declaration.
2808 (__argz_count, __argz_stringify): Declare hidden proto.
2809 * intl/dcgettext.c: Remove use of INTDEF.
2810 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2811 * string/argz-stringify.c: Likewise.
2812 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2813 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2814 Declare hidden proto.
d18ea0c5
AS
2815 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2816 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2817 Declare hidden proto.
2818 * include/stdio.h (__asprintf_internal): Don't declare.
2819 (__asprintf): Don't define as macro. Declare hidden proto.
2820 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2821 (__fsetlocking): Declare hidden proto.
2822 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2823 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2824 hidden proto.
2825 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2826 (_IO_setlinebuf): Remove use of INTUSE.
2827 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2828 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2829 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2830 Remove declaration.
2831 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2832 (_IO_do_flush): Remove use of INTUSE.
2833 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2834 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2835 (_IO_adjust_column, _IO_least_wmarker)
2836 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2837 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2838 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2839 (_IO_default_doallocate, _IO_wdefault_doallocate)
2840 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2841 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2842 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2843 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2844 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2845 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2846 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2847 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2848 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2849 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2850 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2851 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2852 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2853 proto.
2854 (_IO_flush_all_internal, _IO_adjust_column_internal)
2855 (_IO_default_uflow_internal, _IO_default_finish_internal)
2856 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2857 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2858 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2859 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2860 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2861 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2862 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2863 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2864 (_IO_file_close_internal, _IO_file_close_it_internal)
2865 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2866 (_IO_file_init_internal, _IO_file_attach_internal)
2867 (_IO_file_fopen_internal, _IO_file_read_internal)
2868 (_IO_file_sync_internal, _IO_file_seek_internal)
2869 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2870 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2871 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2872 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2873 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2874 (_IO_list_all_internal, _IO_link_in_internal)
2875 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2876 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2877 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2878 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2879 (_IO_do_write_internal, _IO_padn_internal)
2880 (_IO_getline_info_internal, _IO_getline_internal)
2881 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2882 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2883 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2884 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2885 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2886 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2887 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2888 with libc_hidden_ver, remove use of INTUSE.
2889 * libio/genops.c: Likewise.
2890 * libio/freopen.c: Likewise.
2891 * libio/freopen64.c: Likewise.
2892 * libio/iofclose.c: Likewise.
2893 * libio/iofdopen.c: Likewise.
2894 * libio/iofflush.c: Likewise.
2895 * libio/iofflush_u.c: Likewise.
2896 * libio/iofgets.c: Likewise.
2897 * libio/iofgets_u.c: Likewise.
2898 * libio/iofopen.c: Likewise.
2899 * libio/iofopncook.c: Likewise.
2900 * libio/iofread.c: Likewise.
2901 * libio/iofread_u.c: Likewise.
2902 * libio/ioftell.c: Likewise.
2903 * libio/iofwrite.c: Likewise.
2904 * libio/iogetline.c: Likewise.
2905 * libio/iogets.c: Likewise.
2906 * libio/iogetwline.c: Likewise.
2907 * libio/iopadn.c: Likewise.
2908 * libio/iopopen.c: Likewise.
2909 * libio/ioseekoff.c: Likewise.
2910 * libio/ioseekpos.c: Likewise.
2911 * libio/iosetbuffer.c: Likewise.
2912 * libio/iosetvbuf.c: Likewise.
2913 * libio/ioungetc.c: Likewise.
2914 * libio/ioungetwc.c: Likewise.
2915 * libio/iovdprintf.c: Likewise.
2916 * libio/iovsprintf.c: Likewise.
2917 * libio/iovsscanf.c: Likewise.
2918 * libio/memstream.c: Likewise.
2919 * libio/obprintf.c: Likewise.
2920 * libio/oldfileops.c: Likewise.
2921 * libio/oldiofclose.c: Likewise.
2922 * libio/oldiofdopen.c: Likewise.
2923 * libio/oldiofopen.c: Likewise.
2924 * libio/oldiopopen.c: Likewise.
2925 * libio/oldstdfiles.c: Likewise.
2926 * libio/putc.c: Likewise.
2927 * libio/setbuf.c: Likewise.
2928 * libio/setlinebuf.c: Likewise.
2929 * libio/stdfiles.c: Likewise.
2930 * libio/strops.c: Likewise.
2931 * libio/vasprintf.c: Likewise.
2932 * libio/vscanf.c: Likewise.
2933 * libio/vsnprintf.c: Likewise.
2934 * libio/vswprintf.c: Likewise.
2935 * libio/wfiledoalloc.c: Likewise.
2936 * libio/wfileops.c: Likewise.
2937 * libio/wgenops.c: Likewise.
2938 * libio/wmemstream.c: Likewise.
2939 * libio/wstrops.c: Likewise.
2940 * libio/__fpurge.c: Likewise.
2941 * libio/__fsetlocking.c: Likewise.
2942 * assert/assert.c: Likewise.
2943 * debug/fgets_chk.c: Likewise.
2944 * debug/fgets_u_chk.c: Likewise.
2945 * debug/fread_chk.c: Likewise.
2946 * debug/fread_u_chk.c: Likewise.
2947 * debug/gets_chk.c: Likewise.
2948 * debug/obprintf_chk.c: Likewise.
2949 * debug/vasprintf_chk.c: Likewise.
2950 * debug/vdprintf_chk.c: Likewise.
2951 * debug/vsnprintf_chk.c: Likewise.
2952 * debug/vsprintf_chk.c: Likewise.
2953 * malloc/mtrace.c: Likewise.
2954 * misc/error.c: Likewise.
2955 * misc/syslog.c: Likewise.
2956 * stdio-common/asprintf.c: Likewise.
2957 * stdio-common/fxprintf.c: Likewise.
2958 * stdio-common/getw.c: Likewise.
2959 * stdio-common/isoc99_fscanf.c: Likewise.
2960 * stdio-common/isoc99_scanf.c: Likewise.
2961 * stdio-common/isoc99_vfscanf.c: Likewise.
2962 * stdio-common/isoc99_vscanf.c: Likewise.
2963 * stdio-common/isoc99_vsscanf.c: Likewise.
2964 * stdio-common/printf-prs.c: Likewise.
2965 * stdio-common/printf_fp.c: Likewise.
2966 * stdio-common/printf_fphex.c: Likewise.
2967 * stdio-common/printf_size.c: Likewise.
2968 * stdio-common/putw.c: Likewise.
2969 * stdio-common/scanf.c: Likewise.
2970 * stdio-common/sprintf.c: Likewise.
2971 * stdio-common/tmpfile.c: Likewise.
2972 * stdio-common/vfprintf.c: Likewise.
2973 * stdio-common/vfscanf.c: Likewise.
2974 * stdlib/strfmon_l.c: Likewise.
2975 * sunrpc/openchild.c: Likewise.
2976 * sunrpc/xdr_stdio.c: Likewise.
2977 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2978 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2979
d6c33fda
RM
29802012-05-24 Roland McGrath <roland@hack.frob.com>
2981
c1487492
RM
2982 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2983
2984 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2985 in the third column, to generate for the shared library an IFUNC
2986 that uses _dl_vdso_vsym.
2987 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2988 * Makeconfig (object-suffixes-noshared): New variable.
2989
2990 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2991 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2992 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2993 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2994
d6c33fda
RM
2995 [BZ #14132]
2996 * include/sys/time.h (__gettimeofday): Remove macro.
2997 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2998 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2999 Remove INTDEF.
3000 (__gettimeofday): Add libc_hidden_def.
3001 (gettimeofday): Add libc_hidden_weak.
3002 * sysdeps/mach/gettimeofday.c: Likewise.
3003 * sysdeps/posix/gettimeofday.c: Likewise.
3004 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3005 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3006 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3007 (__gettimeofday_internal): Remove strong_alias.
3008 (__gettimeofday): Add libc_hidden_def.
3009 (gettimeofday): Add libc_hidden_weak.
3010 * sysdeps/unix/syscalls.list (gettimeofday):
3011 Remove __gettimeofday_internal alias.
3012
b5a2bbe6
L
30132012-05-24 Daniel Jacobowitz <drow@false.org>
3014 H.J. Lu <hongjiu.lu@intel.com>
3015
3016 [BZ #12495]
3017 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3018 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3019 (largebin_index_32_big): New.
3020 (largebin_index): Use it for 16-byte alignment.
3021 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3022 correction with front_misalign.
3023
cfba4fda
L
30242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3025
7f907421
L
3026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3028 Likewise.
3029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3030 Likewise.
3031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3032 Likewise.
3033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3034 Likewise.
3035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3036 Likewise.
3037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3038 Likewise.
3039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3040 Likewise.
3041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3042 Likewise.
3043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3044 Likewise.
3045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3046 Likewise.
3047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3048 Likewise.
3049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3050 Likewise.
3051
cfba4fda
L
3052 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3053 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3054
80bad0cc
JM
30552012-05-24 Joseph Myers <joseph@codesourcery.com>
3056
7a25eb06
JM
3057 [BZ #10846]
3058 [BZ #14036]
3059 * math/libm-test.inc (exp_test): Add test from bug 14036.
3060 (pow_test): Add test from bug 10846.
3061
795405f9
JM
3062 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3063 and other flags.
3064 (special_function): Do not include flags in test name.
3065 (parse_args): Likewise.
3066 * sysdeps/i386/fpu/libm-test-ulps: Update.
3067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3068 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3069 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3071
80bad0cc
JM
3072 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3073 exceptions.
3074 * math/libm-test.inc ("Philosophy"): Update comment about
3075 exception testing.
3076 (UNDERFLOW_EXCEPTION): New macro.
3077 (UNDERFLOW_EXCEPTION_OK): Likewise.
3078 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3079 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3080 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3081 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3082 (INVALID_EXCEPTION_OK): Update value.
3083 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3084 (OVERFLOW_EXCEPTION_OK): Likewise.
3085 (IGNORE_ZERO_INF_SIGN): Likewise.
3086 (test_exceptions): Handle underflow exceptions.
3087 (acos_test): Update for underflow exception expectations.
3088 (cexp_test): Likewise.
3089 (clog_test): Likewise.
3090 (clog10_test): Likewise.
3091 (csqrt_test): Likewise.
3092 (ctan_test): Likewise.
3093 (ctanh_test): Likewise.
3094 (exp_test): Likewise.
3095 (exp10_test): Likewise.
3096 (exp2_test): Likewise.
3097 (expm1_test): Likewise.
3098 (fma_test): Likewise.
3099 (j0_test): Likewise.
3100 (jn_test): Likewise.
3101 (nexttoward_test): Likewise.
3102 (pow_test): Likewise.
3103 (scalbn_test): Likewise.
3104 (scalbln_test): Likewise.
3105 (tan_test): Likewise.
3106 (y1_test): Likewise.
3107 * sysdeps/i386/fpu/libm-test-ulps: Update.
3108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3109
9e0e3d0b
DM
31102012-05-23 David S. Miller <davem@davemloft.net>
3111
3112 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3113 (__libc_sigaction): Remove unused local variables.
3114
ccd0a08f
L
31152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3116
3117 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3118
62bdf9a6
PE
31192012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3120
f8591f80
PE
3121 mktime: avoid signed integer overflow
3122 * time/mktime.c (__mktime_internal): Do not mishandle the case
3123 where diff == INT_MIN.
3124
94c7d826
PE
3125 mktime: simplify computation of average
3126 * time/mktime.c (ranged_convert): Use new time_t_avg function
3127 instead of rolling our own (probably-slower) code.
3128
ce73d683
PE
3129 mktime: do not assume signed right shift propagates sign bit
3130 * time/mktime.c (isdst_differ): New static function.
3131 (__mktime_internal): No need to normalize tm_isdst now.
3132 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3133 tm_isdst values.
3134
72a22e59
PE
3135 mktime: merge another wrapv change from gnulib
3136 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3137 from some compilers.
3138
68605433
PE
3139 mktime: remove incorrect attempt at unusual arithmetics
3140 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3141 The code didn't really work on such machines anyway.
3142 (TYPE_MINIMUM): Assume two's complement.
3143 (twos_complement_arithmetic): Verify that long_int and time_t
3144 are two's complement (or unsigned, in the latter case).
3145
03cf7fe3
PE
3146 mktime: check signed shifts on long_int and time_t, too
3147 * time/mktime.c (SHR): Check that shifts work as desired
3148 on the types long_int and time_t too, as SHR is used on
3149 such types.
3150
f04dfbc2
PE
3151 mktime: do not assume 'long' is wide enough
3152 * time/mktime.c (verify): Move decl up.
3153 (long_int): New type.
3154 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3155 to remove assumption in the code that 'long' is wide enough to
3156 store year values. This assumption is not true on x32 and on
3157 some non-glibc platforms.
3158
62bdf9a6
PE
3159 mktime: merge wrapv change from gnulib
3160 * time/mktime.c (WRAPV): New macro.
3161 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3162 (guess_time_tm, __mktime_internal): Do not assume that signed
3163 integer overflow wraps around; modern compilers generate code
3164 where this assumption is no longer valid.
3165
5e292e4f
L
31662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3167
3168 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3169 Replace "jmp L(pseudo_end)" with "ret".
3170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3171 Likewise.
3172
8caf8c87
AJ
31732012-05-23 Andreas Jaeger <aj@suse.de>
3174
3175 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3176 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3177
1a09dc56
AJ
31782012-05-23 Andreas Jaeger <aj@suse.de>
3179 Maximilian Attems <max@stro.at>
3180
3181 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3182 New macros.
3183
1c87aba0
L
31842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3185
3186 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3187 code so that pseudo_end is just ret and the stack pointer is
3188 correct also for static library in error case.
3189
40e45bd5
JM
31902012-05-23 Joseph Myers <joseph@codesourcery.com>
3191
c2670533
JM
3192 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3193 move to syscalls.list.
3194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3198
40e45bd5
JM
3199 * manual/install.texi (Running make install): Do not mention Linux
3200 kernel version for which pt_chown is not needed.
3201 (Linux): Do not mention problems with nscd with 2.0 kernels.
3202 * INSTALL: Regenerated.
3203
be08eda5
AJ
32042012-05-23 Andreas Jaeger <aj@suse.de>
3205
3206 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3207 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3208 macro.
3209 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3211 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3213 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3214 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3215 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3216 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3217 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3218 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3219 * sysdeps/unix/sysv/linux/bits/in.h
3220 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3221
a6a056bb
RM
32222012-05-22 Roland McGrath <roland@hack.frob.com>
3223
3224 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3225 (PREPARE_VERSION): Just use assert instead, it will be elided
3226 under [NDEBUG] anyway.
3227
c9009328
L
32282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3229
3230 * sysdeps/unix/sysv/linux/Makefile: Include
3231 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3232 (sysdep_routines): Remove sysctl.
c9009328
L
3233 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3234 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3235 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3236 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3237 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3238
73338355
AJ
32392012-05-22 Andreas Jaeger <aj@suse.de>
3240
3241 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3242 that pseudo_end is just ret and the stack pointer is correct also
3243 for static library in error case.
3244
d44638b0
PP
32452012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3246
3247 [BZ #14122]
3248 * nss/nsswitch.c (defconfig_entries): New variable.
3249 (__nss_database_lookup): Don't leak defconfig entries.
3250 (nss_parse_service_list): Don't leak on error paths.
3251 (free_database_entries): New function.
3252 (free_defconfig): New function.
3253 (free_mem): Move common code to free_database_entries.
3254
31a39bd8
L
32552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3256
da0331a8
L
3257 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3258 Add arch_prctl.
3259 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3260
31a39bd8
L
3261 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3262 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3264 New macro.
3265 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3266 (INTERNAL_SYSCALL_TYPES): Likewise.
3267 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3268 (LOAD_REGS_TYPES_[1-6]): Likewise.
3269 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3270 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3271
45470df3
AZ
32722012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3273
3274 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3275 copysignl for GLIBC_2_0.
3276 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3277 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3279 logbl for GLIBC_2_0.
3280 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3281 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3282
98a61bcb
L
32832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3284
a4f6e481
L
3285 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3286 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3287
f63d5db6
L
3288 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3289 Use "neg %eax".
3290
98a61bcb
L
3291 * time/mktime.c: Update copyright years.
3292
95770f14
PE
32932012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3294
6226efbd
PE
3295 mktime: merge comment-quoting-style change from gnulib
3296 * time/mktime.c: Quote 'like this' in comments.
3297 The GNU coding standards suggest that we no longer quote `like this',
3298 as "`" and "'" are typically rendered asymmetrically nowadays.
3299 The typical gnulib style is to quote 'like this' when quoting
3300 code, and "like this" when quoting English.
3301
b99e4f78
PE
3302 * time/mktime.c (compile-command): Add "-I.".
3303
643e01e6
PE
3304 mktime: merge mktime-internal.h change from gnulib
3305 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3306
2554247d
PE
3307 mktime: merge time_r change from gnulib
3308 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3309
826dd0ab
PE
3310 mktime: merge DEBUG change from gnulib
3311 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3312 case system <time.h> has a #define.
3313
bd83aabe
PE
3314 mktime: merge <sys/types.h> change from gnulib
3315 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3316 since <time.t> is now guaranteed to define time_t.
3317
95770f14
PE
3318 mktime: merge HAVE_CONFIG_H change from gnulib
3319 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3320
5e1a27a9
L
33212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3322
0e44a77e
L
3323 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3324 Use "neg %eax".
3325
5e1a27a9
L
3326 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3327 __rlim_t cast.
3328 (struct rusage): Use anonymous union to pad each field to
3329 __syscall_slong_t.
3330
46259bec
DM
33312012-05-21 David S. Miller <davem@davemloft.net>
3332
3333 * Makefules (o-iterator): Remove .s cases.
3334 (compile-command.s): Delete.
3335 (COMPILE.s): Delete.
3336 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3337
59f0c22e
JM
33382012-05-21 Joseph Myers <joseph@codesourcery.com>
3339
3340 * configure.in (libc_cv_predef_stack_protector): Only consider
3341 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3342 * configure: Regenerated.
3343
20c07380
L
33442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3345
bbb3154b
L
3346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3347 New macro. Use R*LP on int and pointer.
3348 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3349 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3350 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3351 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3352
20c07380
L
3353 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3354 [__WORDSIZE_TIME64_COMPAT32] instead of
3355 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3356 (struct utmp): Likewise.
3357 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3358 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3359 Renamed to ...
3360 (__WORDSIZE_TIME64_COMPAT32): This.
3361 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3362 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3363 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3364 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3365 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3366 (__WORDSIZE_TIME64_COMPAT32): New macro.
3367
d8d1017e
AJ
33682012-05-21 Andreas Jaeger <aj@suse.de>
3369
3370 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3371 only if [SHARED]. Add prototype for __wcschr_ia32.
3372
6c7fb145
RM
33732012-05-21 Roland McGrath <roland@hack.frob.com>
3374
3375 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3376 of %rbp unmolested in the jmp_buf while mangling the low bits.
3377 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3378 unmolested high bits of %rbp while demangling the low bits.
3379 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3380
66274218
AJ
33812012-05-21 Andreas Jaeger <aj@suse.de>
3382
07c58f8f
AJ
3383 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3384 * sunrpc/svc_simple.c: Use it for registerrpc.
3385 * sunrpc/xcrypt.c: Use it for passwd2des.
3386
66274218
AJ
3387 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3388
61f65140
L
33892012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3390
3391 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3392 Don't define if [__SYSCALL_WORDSIZE != 32].
3393 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3394 New macro.
3395
5fefb436
AJ
33962012-05-21 Bruno Haible <bruno@clisp.org>
3397 Andreas Jaeger <aj@suse.de>
3398
3399 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3400 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3401 inptr and inend for must_buffer_ch.
3402 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3403 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3404 * stdio-common/Makefile (tests): Remove bug15.
3405 (bug15-ENV): Remove macro.
3406 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3407 anymore.
3408
d8e272ab
AJ
34092012-05-19 Andreas Jaeger <aj@suse.de>
3410 Roland McGrath <roland@hack.frob.com>
3411
3412 * manual/contrib.texi: Completely rewritten. It contains now an
3413 alphabetical list of contributors and their contributions.
3414
4a56a162
RH
34152012-05-21 Richard Henderson <rth@twiddle.net>
3416
3417 * misc/getauxval.c (__getauxval): Use unsigned long int.
3418 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3419 (getauxval): Use unsigned long int.
3420
d024d23c
L
34212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3422
3423 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3424
cbc00a03
RM
34252012-05-21 Roland McGrath <roland@hack.frob.com>
3426
3427 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3428 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3429 __alignof__ (long double).
3430
478143fa
AZ
34312012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3432
3433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3434
c7683a6d
RH
34352012-05-20 Richard Henderson <rth@twiddle.net>
3436
3437 * misc/getauxval.c: New file.
3438 * misc/sys/auxv.h: New file.
3439 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3440 (routines): Add getauxval.
3441 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3442 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3443 * elf/dl-sysdep.c (_dl_auxv): Remove.
3444 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3445 * elf/dl-support.c (_dl_auxv): New variable.
3446 (_dl_aux_init): Initialize it.
3447 * manual/startup.texi (Auxiliary Vector): New node.
3448 * sysdeps/generic/bits/hwcap.h: New file.
3449 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3450 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3451 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3452 * sysdeps/sparc/sysdep.h: ... here. Include it.
3453 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3454 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3456 Update.
c7683a6d
RH
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3465
a6f1845d
AZ
34662012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3467
3468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3469
cbcbe830
DM
34702012-05-19 David S. Miller <davem@davemloft.net>
3471
3472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3473
e0b16cc2
JM
34742012-05-19 Joseph Myers <joseph@codesourcery.com>
3475
3476 [BZ #14123]
3477 * math/s_ccosh.c: Include <float.h>
3478 (__ccosh): Avoid internal overflow calculating sinh and cosh
3479 values before multiplying by sin and cos values.
3480 * math/s_ccoshf.c: Likewise.
3481 * math/s_ccoshl.c: Likewise.
3482 * math/s_csin.c: Likewise.
3483 * math/s_csinf.c: Likewise.
3484 * math/s_csinl.c: Likewise.
3485 * math/s_csinh.c: Likewise.
3486 * math/s_csinhf.c: Likewise.
3487 * math/s_csinhl.c: Likewise.
3488 * math/libm-test.inc (ccos_test): Add more tests.
3489 (ccosh_test): Likewise.
3490 (csin_test): Likewise.
3491 (csinh_test): Likewise.
3492 * sysdeps/i386/fpu/libm-test-ulps: Update.
3493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3494
6ad13e08
L
34952012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3496
f66f0ce8
L
3497 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3498 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3499
6ad13e08
L
3500 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3501
b1d072a7
JM
35022012-05-19 Joseph Myers <joseph@codesourcery.com>
3503
3504 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3505 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3506 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3507 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3508 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3509 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3510 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3511 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3512 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3513 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3514 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3515 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3516 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3517 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3518 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3519 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3520 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3521 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3522 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3523 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3524 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3525 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3526 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3527 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3528 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3529 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3530 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3531 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3532 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3533 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3534 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3535
9eae47cb
AJ
35362012-05-18 Andreas Jaeger <aj@suse.de>
3537
3538 * csu/.gitignore: Delete.
3539
bb07f69f
L
35402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3541
3542 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3543 (timex): Use __syscall_slong_t.
3544
e6bdb741
AJ
35452012-05-18 Andreas Jaeger <aj@suse.de>
3546 Carlos O'Donell <carlos_odonell@mentor.com>
3547
3548 * manual/install.texi (Configuring and compiling): Update
3549 description about files modified in the source directory.
d6c33fda 3550 * INSTALL: Regenerated.
e6bdb741 3551
1b74487e
L
35522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3553
3554 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3555 value. Use "or" to set return value to -1.
3556 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3557 negate return value.
3558
a88b64b9
TMQMF
35592012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3560
3561 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3562 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3563 failure if the compiler has Graphite support disabled.
3564 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3565 Likewise.
3566 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3567 CFLAGS-memmove.c): Likewise.
3568 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3569 Likewise.
3570
3707636e
L
35712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3572
610b8622
L
3573 * sysdeps/x86_64/x32/_itoa.h: New file.
3574
7cd195df
L
3575 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3576 getdents system call only if kernel and user dirents have the
3577 same d_ino and d_off.
3578
94b07d20
L
3579 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3580 LLONG_MAX != LONG_MAX.
3581 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3582 (_fitoa_word): Likewise.
3583
18298070
L
3584 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3585 years.
3586 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3587 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3588 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3589
553c7ea4
L
3590 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3591 include <bits/wordsize.h>. Check __x86_64__ instead of
3592 __WORDSIZE.
3593 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3594 if __x86_64__ is defined. Use anonymous union on fpstate.
3595
3707636e
L
3596 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3597 anonymous union.
3598
b53ef01a
AS
35992012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3600
37fb1dc0
AS
3601 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3602 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3603 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3604 Refer to _rtld_local_ro instead of _rtld_global_ro.
3605 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3606 Likewise.
3607 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3608 Likewise.
3609 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3610 Likewise.
3611 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3612 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3613 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3614
b53ef01a
AS
3615 * sysdeps/powerpc/powerpc32/dl-machine.c
3616 (__elf_machine_runtime_setup) [PROF]: Don't reference
3617 _dl_prof_resolve.
3618
7a185db2
AJ
36192012-05-18 Andreas Jaeger <aj@suse.de>
3620
3621 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3622 function only available for GCCs before 3.4 since GCC 3.4
3623 introduced a builtin.
3624 (lrint): Likewise.
3625 (llrintf): Likewise.
3626 (llrint): Likewise.
3627 (fmaxf): Likewise.
3628 (fmax): Likewise.
3629 (fminf): Likewise.
3630 (fmin): Likewise.
3631 (rint): Likewise.
3632 (rintf): Likewise.
3633 (nearbyint): Likewise.
3634 (nearbyintf): Likewise.
3635 (ceil): Likewise.
3636 (ceilf): Likewise.
3637 (floor): Likewise.
3638 (floorf): Likewise.
3639
3e5aef87
L
36402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3641
428bd707
L
3642 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3643 on both fields and cast pointer to __syscall_ulong_t.
3644
3e5aef87
L
3645 * bits/types.h (__fsword_t): New type.
3646 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3647 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3648 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3649 (__FSWORD_T_TYPE): Likewise.
3650 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3651 (__FSWORD_T_TYPE): Likewise.
3652 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3653 (__FSWORD_T_TYPE): Likewise.
3654 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3655 (__FSWORD_T_TYPE): Likewise.
3656 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3657 __SWORD_TYPE with __fsword_t.
3658 (statfs64): Likewise.
3659
1ba7c3dc
DM
36602012-05-17 David S. Miller <davem@davemloft.net>
3661
3662 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3663
59910343
AJ
36642012-05-17 Andreas Jaeger <aj@suse.de>
3665
3666 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3667 warning.
3668
2e4c1e9e
L
36692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3670
3671 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3672
de7f5ce7
AJ
36732012-05-17 Andreas Jaeger <aj@suse.de>
3674
3675 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3676 when it is used.
3677
286abc3d
CM
36782012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3679
3680 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3681
477cc68e
L
36822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3683
3684 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3685 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3686
1a0994f5
CD
36872012-05-17 Andreas Jaeger <aj@suse.de>
3688 Carlos O'Donell <carlos_odonell@mentor.com>
3689
3690 [BZ #14059]
3691 * sysdeps/x86_64/multiarch/init-arch.h
3692 (bit_YMM_Usable): Rename to...
3693 (bit_AVX_Usable): ... this.
3694 (bit_FMA4_Usable): New macro.
3695 (bit_XMM_state): New macro.
3696 (bit_YMM_state): New macro.
3697 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3698 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3699 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3700 (CPUID_OSXSAVE): New macro.
3701 (CPUID_AVX): New macro.
3702 (CPUID_FMA4): New macro.
3703 (index_YMM_Usable): Rename to...
3704 (index_AVX_Usable): ... this.
3705 (HAS_AVX): Use HAS_ARCH_FEATURE.
3706 (HAS_FMA4): Likewise.
3707 (HAS_YMM_USABLE): Remove.
3708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3709 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3710 are present.
3711 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3712 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3713 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3714 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3715 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3716
0af797de
CM
37172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3718
3719 * math/libm-test.c: Support platforms without multiple rounding modes.
3720 * math/bug-nextafter.c: Support platforms without FP exceptions.
3721 * math/bug-nexttoward.c: Likewise.
3722 * math/test-fenv.c: Likewise.
3723 * math/test-misc.c: Likewise.
3724 * stdlib/bug-getcontext.c: Likewise.
3725
e39745ff
AJ
37262012-05-17 Andreas Jaeger <aj@suse.de>
3727
3728 * manual/examples/search.c (critter_cmp): Change signature to
3729 avoid warnings.
3730 * manual/string.texi (Collation Functions): Likewise.
3731
48970aba
L
37322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3733
3734 * bits/types.h: Fold copyright years.
3735 * bits/typesizes.h: Likewise.
3736 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3738 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3739 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3740 * time/time.h: Likewise.
3741
bedee953
PP
37422012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3743
3744 [BZ #208]
3745 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3746 in instead of returning them. Return void.
3747 (__libc_mallinfo): Accumulate over all arenas.
3748 (__malloc_stats): Adjust for change in int_mallinfo interface.
3749
61653dfb
RM
37502012-05-16 Roland McGrath <roland@hack.frob.com>
3751
30b99d79
RM
3752 [BZ #10375]
3753 * configure.in (NM): Add AC_CHECK_TOOL for it.
3754 (libc_extra_cflags): New substituted variable.
3755 Check for -fstack-protector being used implicitly.
3756 * configure: Regenerated.
3757 * config.make.in (config-extra-cflags): New variable,
3758 gets @libc_extra_cflags@.
3759 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3760
61653dfb
RM
3761 [BZ #10375]
3762 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3763 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3764 * configure: Regenerated.
3765 * config.make.in (CPPUNDEFS): New substituted variable.
3766 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3767 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3768 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3769
661768bb
L
37702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3771
3772 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3773 (mq_attr): Use __syscall_slong_t.
3774
d4261567
L
37752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3776
3777 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3778 Check __x86_64__ instead of __WORDSIZE.
3779 (_STAT_VER_LINUX): Likewise.
3780 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3781 __syscall_ulong_t and __syscall_slong_t.
3782 (stat64): Likewise.
3783
cf3ff365
L
37842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3785
3786 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3787
76cf3e4d
L
37882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3789
3790 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3791
a637753a
L
37922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3793
3794 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3795 __syscall_ulong_t.
3796
d5e05119
L
3797 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3798 include <bits/wordsize.h>. Check __x86_64__ instead of
3799 __WORDSIZE.
3800 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3801 defined.
3802 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3803
f62ee380
L
3804 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3805 include <bits/wordsize.h>. Check __x86_64__ instead of
3806 __WORDSIZE.
3807 (user_regs_struct): Use "__extension__ unsigned long long"
3808 instead of "unsigned long" if __x86_64__ is defined.
3809 (user): Likewise. Pad after pointer field if __ILP32__ is
3810 defined.
3811
4e124ced
JM
38122012-05-16 Joseph Myers <joseph@codesourcery.com>
3813
6a3951a0
JM
3814 * configure.in (makeinfo): Require version 4.5 or later. Allow
3815 versions 5 to 9.
3816 * configure: Regenerated.
3817 * manual/install.texi (texinfo): Increase version requirement to
3818 4.5 or later.
3819 * INSTALL: Regenerated.
3820
4e124ced
JM
3821 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3822
953ca31a
L
38232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3824
3825 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3826
617aca05
L
3827 * sysdeps/x86_64/x32/ffs.c: New file.
3828
5762f7ae
L
3829 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3830 __syscall_ulong_t.
3831 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3832 defined. Use __syscall_ulong_t.
3833 (shminfo): Use __syscall_ulong_t.
3834 (shm_info): Likewise.
3835
a26b6856
L
3836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3837 __syscall_ulong_t.
3838
cb2b9ef7
L
3839 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3840 <bits/wordsize.h>.
3841 (msgqnum_t): Use __syscall_ulong_t.
3842 (msglen_t): Likewise.
3843 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3844 __syscall_ulong_t.
3845
34683bb0
L
3846 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3847 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3848
84a68786
L
3849 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3850
48baa5f1
L
3851 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3852 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3853
180be88b
L
3854 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3855 __syscall_slong_t.
3856
5e90c8ad
L
3857 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3858 include <bits/wordsize.h>. Check __x86_64__ instead of
3859 __WORDSIZE.
3860
23dfb58b
L
3861 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3862 "unsigned long long int" if __x86_64__ is defined.
3863 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3864
ce5d54b0
L
3865 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3866 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3867 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3868
13dc9eac
L
3869 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3870 <stdint.h>.
3871 (GET_PC): Cast to uintptr_t first.
3872 (GET_FRAME): Likewise.
3873 (GET_STACK): Likewise.
3874
a7895d15
L
3875 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3876 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3877 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3878 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3879 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3880 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3881 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3882 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3883 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3884 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3885 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3886 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3887 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3888 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3889 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3890 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3891 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3892 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3893 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3894 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3895 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3896 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3897 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3898 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3899 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3900 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3901 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3902 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3903 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3904
656416c9
AS
39052012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3906
5bd66283
AS
3907 * Makerules (+depfiles): Also collect depfiles from .oS in
3908 $(extra-objs).
3909 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3910 .oS, $(libnldbl-routines)).
3911
656416c9
AS
3912 * Makerules (native-compile-mkdep-flags): Define.
3913 * sunrpc/Makefile (extra-objs): Add $(addprefix
3914 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3915 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3916 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3917 calling $(make-target-directory).
3918
a46f2169
L
39192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3920
3921 * bits/types.h (__snseconds_t): Removed.
3922 * time/time.h (struct timespec): Replace __snseconds_t with
3923 __syscall_slong_t.
3924 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3925 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3926 Likewise.
3927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3928 (__SNSECONDS_T_TYPE): Likewise.
3929 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3930 (__SNSECONDS_T_TYPE): Likewise.
3931 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3932 (__SNSECONDS_T_TYPE): Likewise.
3933
6af6528b
L
39342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3935
3936 * sysdeps/mach/hurd/bits/typesizes.h
3937 (__SYSCALL_SLONG_TYPE): New macro.
3938 (__SYSCALL_ULONG_TYPE): Likewise.
3939
de986b56
L
39402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3941
3942 * bits/types.h (__syscall_slong_t): New type.
3943 (__syscall_ulong_t): Likewise.
3944
3945 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3946 (__SYSCALL_ULONG_TYPE): Likewise.
3947 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3948 (__SYSCALL_SLONG_TYPE): Likewise.
3949 (__SYSCALL_ULONG_TYPE): Likewise.
3950 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3951 (__SYSCALL_SLONG_TYPE): Likewise.
3952 (__SYSCALL_ULONG_TYPE): Likewise.
3953 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3954 (__SYSCALL_SLONG_TYPE): Likewise.
3955 (__SYSCALL_ULONG_TYPE): Likewise.
3956
85736dc7
L
39572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3958
3959 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3960 Add sigaltstack-offsets.sym.
3961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3962 <sigaltstack-offsets.h>.
3963 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3964 longjmp_msg pointer.
3965 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3966 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3967 signal stack.
3968 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3969
cc03b296
JM
39702012-05-15 Joseph Myers <joseph@codesourcery.com>
3971
a9538892
JM
3972 * elf/stackguard-macros.h: Remove file.
3973 * sysdeps/generic/stackguard-macros.h: New file.
3974 * sysdeps/i386/stackguard-macros.h: Likewise.
3975 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3976 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3977 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3978 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3979 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3980 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3981 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3982 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3983 <elf/stackguard-macros.h>.
3984
cc03b296
JM
3985 [BZ #14109]
3986 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3987 __aligned__ in attribute.
3988 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3989 (gregset_t): Likewise.
3990
93171016
L
39912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3992
3993 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3994 * sysdeps/x86_64/64/Implies-after: Here. New file.
3995 * sysdeps/x86_64/x32/Implies-after: New file.
3996
d86813a0
L
39972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3998
3999 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4000 and access return value for _dl_profile_fixup. Use R10_LP to
4001 load frame size.
4002
2953ec75
L
40032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4004
4005 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4006
3b550e9e
L
40072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4008
4009 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4010 * sysdeps/x86_64/x32/sysdep.h: New file.
4011
eda41706
L
40122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4013
4014 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4015 * sysdeps/x86_64/setjmp.S: Likewise.
4016
9ea01d93
AZ
40172012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4018
4019 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4020 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4021 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4022 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4023 remove unused global constant.
4024
02a91938
CM
40252012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4026
4027 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4028 include of <not-cancel.h>.
4029
6540185f
RM
40302012-05-15 Roland McGrath <roland@hack.frob.com>
4031
4032 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4033
509072a0
AJ
40342012-05-15 Jeff Law <law@redhat.com>
4035 Andreas Jaeger <aj@suse.de>
4036
4037 [BZ #13594]
4038 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4039 out from...
4040 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4041 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4042 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4043 code changing __hst_map_handle.map.
4044
ba75122d
RM
40452012-05-15 Roland McGrath <roland@hack.frob.com>
4046
4047 * configure.in (sysnames): Look for Implies-before and Implies-after
4048 files.
4049 * configure: Regenerated.
4050
890d8bd8
L
40512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4052
4053 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4054 8-byte data alignment with LP_SIZE alignment.
4055
f6ee6623
L
40562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4057
4058 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4059 into R10_LP.
4060
ea2626f6
L
40612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4062
4063 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4064
085f715e
L
40652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4066
4067 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4068 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4069 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4070 Likewise.
4071 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4072
be8498fc
L
40732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4074
4075 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4076 (stackinfo_sub_sp): Likewise.
4077
70bc83b9
L
40782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4079
4080 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4081 RAX_LP.
4082
9bc0b730
L
40832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4084
4085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4086 into R*_LP.
4087
6d2850e7
L
40882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4089
4090 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4091 sizes into R*_LP.
4092
3cb84561
L
40932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4094
4095 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4096
54e2ed81
L
40972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4098
4099 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4100 into R11_LP and load __x86_64_shared_cache_size_half into
4101 R8_LP.
4102
8a17f349
L
41032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4104
4105 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4106 R8_LP.
4107
777b1eea
AZ
41082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4109
4110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4111 logb for POWER7.
4112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4113 logbf for POWER7.
4114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4115 logbl for POWER7.
4116 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4117 powerpc32/power7/fpu/s_logb.c via #include.
4118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4119 powerpc32/power7/fpu/s_logbf.c via #include.
4120 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4121 powerpc32/power7/fpu/s_logbl.c via #include.
4122
d20d4ac2
JM
41232012-05-15 Joseph Myers <joseph@codesourcery.com>
4124
4125 * README.libm: Remove file.
4126
6cdef1ab
L
41272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4128
4129 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4130 count for x32. Use R*_LP and omit operand-size suffix.
4131
0b254d8f
L
41322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4133
4134 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4135 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4136 * sysdeps/x86_64/x32/shlib-versions: New file.
4137
ceb809dc
RM
41382012-05-14 Roland McGrath <roland@hack.frob.com>
4139
4140 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4141 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4142 Use _dl_fatal_printf instead.
4143
37f1abd4
JM
41442012-05-14 Joseph Myers <joseph@codesourcery.com>
4145
4146 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4147 set if not set by the user. Do not allow for being unset.
4148 * sysdeps/unix/sysv/linux/configure: Regenerated.
4149
11de3a33
L
41502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4151
4152 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4153 the `q' suffix from lea and replace .quad with ASM_ADDR.
4154
e02f153a
L
41552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4156
4157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4158 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4159 instead of $17.
4160 (PTR_DEMANGLE): Likewise.
4161
520ae0fd
L
41622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4163
4164 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4165 (LP_OP): Likewise.
4166 (ASM_ADDR): Likewise.
4167 (RAX_LP): Likewise.
4168 (RBP_LP): Likewise.
4169 (RBX_LP): Likewise.
4170 (RCX_LP): Likewise.
4171 (RDI_LP): Likewise.
4172 (RSI_LP): Likewise.
4173 (RSP_LP): Likewise.
4174 (R8_LP): Likewise.
4175 (R9_LP): Likewise.
4176 (R10_LP): Likewise.
4177 (R10_LP): Likewise.
4178 (R11_LP): Likewise.
4179 (R12_LP): Likewise.
4180 (R13_LP): Likewise.
4181 (R14_LP): Likewise.
4182 (R15_LP): Likewise.
4183
b985be81
L
41842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4185
4186 * sysdeps/x86_64/x32/dl-machine.h: New file.
4187
6a4888ff
AJ
41882012-05-14 Andreas Jaeger <aj@suse.de>
4189
4190 * manual/Makefile (subdir): Remove export of subdir.
4191 (all): Remove target.
4192 (.PHONY): Remove all from list.
4193 (mkinstalldirs): Remove.
4194 (.PHONY): Remove installdirs from list.
4195 ($(inst_infodir)/libc.info): Use make-target-directory.
4196 (installdirs): Remove.
4197 (subdir_%): Remove.
4198 (glibc-targets): Remove.
4199 (lib): Remove.
4200 (stubs): Remove.
4201 ($(objpfx)stubs ../po/manual.pot): Remove.
4202 ($(objpfx)stamp%): Remove.
4203 (make-target-directory): Remove.
4204 (subdir_install): Remove.
4205 (routines): Remove.
4206 (aux): Remove.
4207 (sources): Remove.
4208 (objects): Remove.
4209 (headers): Remove.
4210
4211 [BZ #13750]
4212 * manual/.gitignore: Remove, it's not needed anymore.
4213 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4214 all files in it.
4215 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4216 directory.
4217 (texis): Renamed to $(objpfx)texis.
4218 (texis-path): New, contains path to generated files.
4219 (chapters.%): Use texis-path for complete path, add extra argument
4220 libc-texinfo.sh.
4221 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4222 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4223 (summary,texi, stamp-summary): Use complete path of
4224 files. Generate files in build dir.
4225 (dir-add.texi): Build in build dir.
4226 (libm-err.texi,stamp-libm-err): Likewise.
4227 (version.texi, stamp-version): Likewise.
4228 (.%c.texi): Likewise.
4229 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4230 (mostlyclean): Remove target.
4231 (realclean): Remove target.
4232 (generated): Add new variable with contents from mostlyclean and
4233 realclean, remove entries duplicated in common-mostlyclean, add
4234 stamp-libm-err and stamp-version.
4235 (generated-dirs): Add libc directory.
4236 ($(inst_infodir)/libc.info): Install files from build dir.
4237
4238 * manual/install.texi (Configuring and compiling): Adjust since
4239 the info files are not part of the tar ball anymore.
4240
7ac77294
AJ
42412012-05-14 Andreas Jaeger <aj@suse.de>
4242
4243 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4244 variable.
4245
ffb7875d
JM
42462012-05-14 Joseph Myers <joseph@codesourcery.com>
4247
4248 [BZ #13717]
4249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4250 to 2.2.0 where earlier.
4251 * sysdeps/unix/sysv/linux/configure: Regenerated.
4252 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4253 Remove conditional code.
4254 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4255 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4256 Remove conditional code.
4257 [!__NR_lchown]: Likewise.
4258 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4259 [__NR_lchown]: Likewise.
4260 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4261 comment referencing __ASSUME_LCHOWN_SYSCALL.
4262 * sysdeps/unix/sysv/linux/i386/sigaction.c
4263 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4264 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4265 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4266 Remove conditional code.
4267 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4268 (__protocol_available): Remove #if 0 code.
4269 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4270 conditional code.
4271 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4272 * sysdeps/unix/sysv/linux/kernel-features.h
4273 (__ASSUME_GETCWD_SYSCALL): Don't define.
4274 (__ASSUME_REALTIME_SIGNALS): Likewise.
4275 (__ASSUME_PREAD_SYSCALL): Likewise.
4276 (__ASSUME_PWRITE_SYSCALL): Likewise.
4277 (__ASSUME_POLL_SYSCALL): Likewise.
4278 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4279 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4280 non-SPARC.
4281 (__ASSUME_SIOCGIFNAME): Don't define.
4282 (__ASSUME_MSG_NOSIGNAL): Likewise.
4283 (__ASSUME_SENDFILE): Define unconditionally.
4284 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4285 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4286 conditional code.
4287 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4288 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4289 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4290 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4291 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4292 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4293 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4295 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4296 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4298 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4299 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4301 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4302 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4304 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4305 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4307 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4308 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4310 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4311 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4313 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4316 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4317 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4318 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4319 Remove conditional code.
4320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4321 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4322 Remove conditional code.
4323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4324 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4325 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4326 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4327 Remove conditional code.
4328 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4329 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4330 Remove conditional code.
4331 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4332 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4333 Remove conditional code.
4334 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4335 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4336 Remove conditional code.
4337 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4338 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4339 Remove conditional code.
4340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4341 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4342 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4343 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4344 * sysdeps/unix/sysv/linux/sigaction.c
4345 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4346 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4347 * sysdeps/unix/sysv/linux/sigpending.c
4348 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4349 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4350 * sysdeps/unix/sysv/linux/sigprocmask.c
4351 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4352 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4353 * sysdeps/unix/sysv/linux/sigsuspend.c
4354 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4355 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4356 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4357 (__libc_missing_rt_sigs): Remove.
4358 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4359 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4360 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4361 Remove conditional code.
4362 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4363 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4364 return 1.
4365 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4366 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4367 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4368 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4369
1bfb7291
AJ
43702012-05-14 Andreas Jaeger <aj@suse.de>
4371
caae5a81
AJ
4372 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4373 it's not used in glibc.
4374 (__coshm1): Likewise.
4375 (__acosh1p): Likewise.
4376 (__sgn): Likewise.
4377
1bfb7291
AJ
4378 * manual/string.texi (Copying and Concatenation): Add missing
4379 variable in concat example.
4380 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4381
c044d724
L
43822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4383
144c5467 4384 [BZ #14103]
c044d724
L
4385 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4386 __builtin_clzl with __builtin_clzll.
4387
2523c62b
L
43882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4389
4390 [BZ #14104]
4391 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4392 libc_freeres_ptr.
4393
d7bb4c42
LD
43942012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4395
4396 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4397 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4398 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4399 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4400
9dc4e1fb
MF
44012012-05-14 Mike Frysinger <vapier@gentoo.org>
4402
4403 * NEWS: Update ia64 info.
4404
c7df0112
AS
44052012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4406
4407 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4408 used as bcopy.
4409
dc70356c
TS
44102012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4411
4412 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4413 * sysdeps/unix/syscalls.list (dup3): Likewise.
4414 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4415 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4416
9fb1a21f
L
44172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4418
4419 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4420 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4421
4822a2a5
L
44222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4423
4424 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4425 thread pointer.
4426 (TLS_IE): Use mov/add instead of movq/addq to load thread
4427 pointer.
4428 (TLS_GD_PREFIX): New.
4429 (TLS_GD): Use it.
4430
842b81d6
DM
44312012-05-11 David S. Miller <davem@davemloft.net>
4432
4433 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4434 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4435 (_FPU_SETCW): Likewise.
4436
1cf463cd
L
44372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4438
4439 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4440 is 32-byte aligned.
4441
60cc4a18
AS
44422012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4443
4444 [BZ #11837]
4445 * iconvdata/gb18030.c: Update tables.
4446 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4447 characters specially.
4448 (BODY for TO_LOOP): Add encoding of missing ranges.
4449
febb44a4
TS
44502012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4451
4452 [BZ #13673]
4453 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4454 * sysdeps/mach/hurd/dup3.c: Likewise.
4455 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4456 * sysdeps/powerpc/memmove.c:: Likewise.
4457
0a10fb9e
L
44582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4459
4460 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4461 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4462
df8a552f
L
44632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4464
4465 * elf/elf.h (R_X86_64_RELATIVE64): New.
4466 (R_X86_64_NUM): Updated.
4467 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4468 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4469 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4470 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4471 tst-quad1pie tst-quad2pie
4472 (modules-names): Add tst-quadmod1 tst-quadmod2.
4473 ($(objpfx)tst-quad1): New dependency.
4474 ($(objpfx)tst-quad2): Likewise.
4475 ($(objpfx)tst-quad1pie): Likewise.
4476 ($(objpfx)tst-quad2pie): Likewise.
4477 * sysdeps/x86_64/tst-quad1.c: New file.
4478 * sysdeps/x86_64/tst-quad1pie.c: New file.
4479 * sysdeps/x86_64/tst-quad2.c: Likewise.
4480 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4481 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4482 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4483 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4484 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4485
f34d6f84
ST
44862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4487
f42d41d1
ST
4488 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4489 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4490 * streams/stropts.h (t_scalar_t): Define type.
4491
3c3571fc
ST
4492 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4493 (_PATH_PRESERVE): Set to "/var/lib".
4494 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4495
61f06bd3
ST
4496 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4497 instead of int.
4498
918d4d71
ST
4499 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4500 if __dir_mkfile succeeded.
4501
f34d6f84
ST
4502 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4503 checking for _hurd_dtablesize. Unlock it right after having
4504 finished _hurd_dtable allocation.
4505
10589b4a
TS
45062012-05-10 Thomas Schwinge <thomas@schwinge.name>
4507
674cdbc7
TS
4508 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4509 * sysdeps/mach/hurd/configure: Regenerated.
4510 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4511 special-casing to...
4512 * sysdeps/gnu/configure.in: ... this new file.
4513 * sysdeps/unix/sysv/linux/configure: Regenerated.
4514 * sysdeps/gnu/configure: New generated file.
4515
8e41b99f
TS
4516 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4517 for Linux: use nsec instead of usec, as well as:
4518 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4519 members of type struct timespec.
4520 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4521 New macros.
4522 (struct stat64): Likewise.
4523 (_STATBUF_ST_NSEC): New macro.
4524 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4525
10589b4a
TS
4526 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4527 __strtoul_internal rather than strtoul.
4528
63643c85
PT
45292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4530
4531 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4532 and reject them.
4533
3faebe6a
ST
45342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4535
4536 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4537 which preserves existing values.
4538 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4539
c6474b07
PT
45402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4541
4542 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4543 TIMEOUT values. Return EINVAL for NFDS values either negative or
4544 greater than FD_SETSIZE.
4545
1043890b
ST
45462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4547
4548 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4549 allocated, call __vm_protect to finish enabling the existing space, and
4550 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4551 allocate the remainder.
4552
37ed8b9b
PT
45532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4554
4555 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4556 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4557
db653660
ST
45582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4559
37ed8b9b
PT
4560 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4561 sysdeps/mach/hurd/readlink.c.
b29d4053 4562
db653660
ST
4563 * posix/tst-sysconf.c (posix_options): Only use
4564 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4565 _POSIX_SYNCHRONIZED_IO when they are defined
4566 * sysdeps/mach/hurd/bits/posix_opt.h:
4567 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4568 (_XOPEN_REALTIME): Undefine macro.
4569 (_XOPEN_REALTIME_THREADS): Undefine macro.
4570 (_XOPEN_SHM): Undefine macro.
4571 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4572 macro to -1.
4573 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4574 macro to -1.
4575 (_POSIX_ASYNC_IO): Undefine macro.
4576 (_POSIX_PRIORITIZED_IO): Undefine macro.
4577 (_POSIX_SPIN_LOCKS): Define macro to -1.
4578
ee16e894
ST
4579 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4580 SA_NODEFER, SA_RESETHAND.
4581 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4582 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4583 F_DUPFD_CLOEXEC.
4584
6103ae3b
TS
45852012-05-10 Thomas Schwinge <thomas@schwinge.name>
4586
4587 * elf/Makefile (pldd-modules): Define unconditionally.
4588
80b4e5f3
TS
45892012-05-10 Thomas Schwinge <thomas@schwinge.name>
4590
4591 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4592
edadcbd6
ST
45932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4594
4595 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4596 Return ENOENT when name is empty.
4597 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4598
80694780
TS
45992012-05-10 Thomas Schwinge <thomas@schwinge.name>
4600
1792c087
TS
4601 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4602
80694780
TS
4603 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4604
6b645f0d
ST
46052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4606
80694780
TS
4607 Fix mlock in all cases except non-readable pages.
4608 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4609 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4610
6b645f0d
ST
4611 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4612 (__mkdir): When path is `/', just fail with EEXIST.
4613 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4614
e468f8a3
TS
46152012-05-10 Thomas Schwinge <thomas@schwinge.name>
4616
4617 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4618 <sys/uio.h> (for writev).
4619 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4620 and <sys/param.h> (for MIN).
4621
a4186cff
PT
46222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4623
4624 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4625 REQUESTED_TIME. Properly set the remaining time and return EINTR
4626 if interrupted.
4627
510bbf14
TS
46282012-05-10 Thomas Schwinge <thomas@schwinge.name>
4629
4630 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4631 Depend on against $(link-rpcuserlibs).
4632
5d5722e8
ST
46332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4634
a4186cff
PT
4635 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4636 (__libc_stack_end): Do not use attribute_relro.
4637 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4638 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4639 to libthread-provided value.
a4186cff
PT
4640 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4641 attribute_relro.
5d5722e8 4642
37233df9
TS
46432012-05-10 Thomas Schwinge <thomas@schwinge.name>
4644
be971a2b
TS
4645 [BZ #3748]
4646 * bits/libc-lock.h (__libc_once_get): New macro.
4647 * sysdeps/mach/bits/libc-lock.h: Likewise.
4648 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4650 instead of using implementation details.
4651
37233df9
TS
4652 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4653 * libio/freopen.c: Likewise.
4654 * libio/freopen64.c: Likewise.
4655 * misc/syslog.c: Likewise.
4656 * nscd/connections.c: Likewise.
4657 * nscd/netgroupcache.c: Likewise.
4658 * sysdeps/posix/getcwd.c: Likewise.
4659
38de94a5
RM
46602012-05-10 Roland McGrath <roland@hack.frob.com>
4661
4662 * math/w_ilogbf.c: Add #include <limits.h>.
4663
67530489
ST
46642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4665
a4186cff 4666 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4667 path instead of returning without unlocking.
4668
67530489
ST
4669 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4670 immediate-write ioctls.
4671 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4672
5aa3a74a
TS
46732012-05-10 Thomas Schwinge <thomas@schwinge.name>
4674
18bad2ae
TS
4675 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4676 __builtin_frame_address instead of making assumptions about the
4677 location of the return address relative to DATA. Force early load of
4678 the return address.
4679 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4680 __builtin_frame_address.
4681
5aa3a74a
TS
4682 dup3 for GNU Hurd.
4683 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4684 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4685 implement dup3 and do some further code clean-ups.
4686 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4687 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4688
ecd0de9a
ST
46892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4690
cd9fa985
ST
4691 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4692
a4186cff
PT
4693 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4694 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4695 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4696 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4697 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4698 d->port.lock.
802ca5a5 4699
a4186cff
PT
4700 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4701 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4702 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4703
bcf55240
TS
47042012-05-10 Thomas Schwinge <thomas@schwinge.name>
4705
6960eb42
TS
4706 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4707 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4708 definitions.
4709
eb43375f
TS
4710 accept4 for GNU Hurd.
4711 * include/sys/socket.h (__libc_accept4): New prototype.
4712 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4713 to implement __libc_accept4.
4714 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4715 __libc_accept4.
4716 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4717
bcf55240
TS
4718 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4719 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4720 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4721 signal-defines.sym.
4722
6178c55b
ST
47232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4724
a4186cff 4725 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4726
6f080c2f
TS
47272012-05-10 Thomas Schwinge <thomas@schwinge.name>
4728
4729 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4730 assertion on O_CLOEXEC flag.
4731 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4732 * hurd/intern-fd.c: Likewise.
4733 * hurd/port2fd.c: Likewise.
4734
bcfe3a54
ST
47352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4736
4737 [BZ #3906]
4738 * bits/in.h (IPV6_PKTINFO): Define new macro.
4739 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4740
89c9aa49
AZ
47412012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4742
4743 [BZ #13954]
4744 [BZ #13955]
4745 [BZ #13956]
4746 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4748 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4749 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4750 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4751 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4752 * math/libm-test.inc (logb_test) : Additional logb tests.
4753
021db4be
AJ
47542012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4755 Andreas Jaeger <aj@suse.de>
4756
4757 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4758 * configure: Regenerated.
4759 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4760 * config.make.in (link-obsolete-rpc): New substituted variable.
4761 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4762 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4763 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4764 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4765 so that libc.a contains the symbols.
4766 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4767 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4768 * sunrpc/auth_none.c: Likewise.
4769 * sunrpc/auth_unix.c: Likewise.
4770 * sunrpc/authdes_prot.c: Likewise.
4771 * sunrpc/authuxprot.c: Likewise.
4772 * sunrpc/clnt_gen.c: Likewise.
4773 * sunrpc/clnt_perr.c: Likewise.
4774 * sunrpc/clnt_raw.c: Likewise.
4775 * sunrpc/clnt_simp.c: Likewise.
4776 * sunrpc/clnt_tcp.c: Likewise.
4777 * sunrpc/clnt_udp.c: Likewise.
4778 * sunrpc/clnt_unix.c: Likewise.
4779 * sunrpc/des_crypt.c: Likewise.
4780 * sunrpc/des_soft.c: Likewise.
4781 * sunrpc/get_myaddr.c: Likewise.
4782 * sunrpc/key_call.c: Likewise.
4783 * sunrpc/key_prot.c: Likewise.
4784 * sunrpc/netname.c: Likewise.
4785 * sunrpc/pm_getmaps.c: Likewise.
4786 * sunrpc/pm_getport.c: Likewise.
4787 * sunrpc/pmap_clnt.c: Likewise.
4788 * sunrpc/pmap_prot.c: Likewise.
4789 * sunrpc/pmap_prot2.c: Likewise.
4790 * sunrpc/pmap_rmt.c: Likewise.
4791 * sunrpc/publickey.c: Likewise.
4792 * sunrpc/rpc_cmsg.c: Likewise.
4793 * sunrpc/rpc_common.c: Likewise.
4794 * sunrpc/rpc_dtable.c: Likewise.
4795 * sunrpc/rpc_prot.c: Likewise.
4796 * sunrpc/rpc_thread.c: Likewise.
4797 * sunrpc/rtime.c: Likewise.
4798 * sunrpc/svc.c: Likewise.
4799 * sunrpc/svc_auth.c: Likewise.
4800 * sunrpc/svc_raw.c: Likewise.
4801 * sunrpc/svc_run.c: Likewise.
4802 * sunrpc/svc_tcp.c: Likewise.
4803 * sunrpc/svc_udp.c: Likewise.
4804 * sunrpc/svc_unix.c: Likewise.
4805 * sunrpc/svcauth_des.c: Likewise.
4806 * sunrpc/xcrypt.c: Likewise.
4807 * sunrpc/xdr.c: Likewise.
4808 * sunrpc/xdr_array.c: Likewise.
4809 * sunrpc/xdr_float.c: Likewise.
4810 * sunrpc/xdr_intXX_t.c: Likewise.
4811 * sunrpc/xdr_mem.c: Likewise.
4812 * sunrpc/xdr_rec.c: Likewise.
4813 * sunrpc/xdr_ref.c: Likewise.
4814 * sunrpc/xdr_sizeof.c: Likewise.
4815 * sunrpc/xdr_stdio.c: Likewise.
4816
b5c086a2
RM
48172012-05-10 Roland McGrath <roland@hack.frob.com>
4818
4819 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4820 change. Update copyright years.
4821
6d74dd09
JM
48222012-05-10 Joseph Myers <joseph@codesourcery.com>
4823
4824 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4825
28e72501
MK
48262012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4827 Joseph Myers <joseph@codesourcery.com>
4828 Paul Pluzhnikov <ppluzhnikov@google.com>
4829
4830 [BZ #14012]
4831 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4832 requiring rpcgen.
4833 [cross-compiling] (extra-libs): Likewise.
4834 [cross-compiling] (extra-libs-others): Likewise.
4835 [cross-compiling] (librpcsvc-routines): Likewise.
4836 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4837 [cross-compiling] (omit-deps): Likewise.
4838 (sunrpc-CPPFLAGS): New variable.
4839 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4840 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4841 (cross-rpcgen-objs): New variable.
4842 (extra-objs): Append $(cross-rpcgen-objs).
4843 ($(cross-rpcgen-objs)): New rule.
4844 ($(objpfx)cross-rpcgen): Likewise.
4845 (rpcgen-cmd): Define to use $(built-program-file). Expand
4846 comment.
4847 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4848 ($(objpfx)x%.stmp): Likewise.
4849 * sunrpc/proto.h [IS_IN_build] (_): Define.
4850 [IS_IN_build] (_libc_intl_domainname): Likewise.
4851
c8c59454
L
48522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4853
4854 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4855 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4856 and R_X86_64_TPOFF64.
4857
6f27cd16
JM
48582012-05-10 Joseph Myers <joseph@codesourcery.com>
4859
4860 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4861 sysdeps/unix/sysv/syscalls.list.
4862 (stime): Likewise.
4863 (utime): Likewise.
4864 * sysdeps/unix/sysv/syscalls.list: Remove file.
4865
02467e1c
PE
48662012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4867
4868 [BZ #3440]
4869 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4870 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4871 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4872 (__LC_IDENTIFICATION): Make these macros useful in #if
4873 expressions, as required by C99.
4874
da392631
AS
48752012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4876
4877 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4878 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4879 after this.
4880
8115f29b
L
48812012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4882
4883 * stdlib/longlong.h: Updated from GCC.
4884
bdd74070
AJ
48852012-05-09 Andreas Jaeger <aj@suse.de>
4886
edfe0dbe
AJ
4887 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4888 default is first entry.
4889 (run_mode): Set type.
4890 (main): Remove informal message about syslog.
4891 (options): Fix typo.
4892
bcfe3a54
ST
4893 [BZ #14053]
4894 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4895 to asm.
bcfe3a54
ST
4896 (lrint): Likewise.
4897 (llrintf): Likewise.
4898 (llrint): Likewise.
4899 (rint): Likewise.
4900 (rintf): Likewise.
4901 (nearbyint): Likewise.
4902 (nearbyintf): Likewise.
bdd74070 4903
91d8d69e
AJ
49042012-05-09 Andreas Jaeger <aj@suse.de>
4905 Pedro Alves <palves@redhat.com>
4906
4907 * nscd/nscd.c (run_mode): Use enum.
4908 (main): Cleanup coding style issue.
4909
bb90b80b
AJ
49102012-05-09 Alexandre Oliva <aoliva@redhat.com>
4911 Andreas Jaeger <aj@suse.de>
4912
bcfe3a54
ST
4913 * nscd/nscd.c (go_background): Replaced with...
4914 (run_mode): ... this.
bb90b80b 4915 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4916 (options): Add -F --foreground.
4917 (main): Implement it.
4918 (parse_opt): Parse it.
bb90b80b 4919
1a4b75a1
AJ
49202012-05-09 Andreas Jaeger <aj@suse.de>
4921
4922 [BZ #14083]
4923 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4924 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4925 -Wconversion warning.
4926 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4927 Likewise.
4928
b1cc2472
JM
49292012-05-09 Joseph Myers <joseph@codesourcery.com>
4930
4931 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4932 == 0.
4933 (LC_ALL): Use macro-int-constant.
4934 (LC_COLLATE): Likewise.
4935 (LC_CTYPE): Likewise.
4936 (LC_MESSAGES): Likewise.
4937 (LC_MONETARY): Likewise.
4938 (LC_NUMERIC): Likewise.
4939 (LC_TIME): Likewise.
4940 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4941 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4942 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4943 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4944 Specify type.
4945 [C99-based standards] (float_t): Expect type.
4946 [C99-based standards] (double_t): Expect type.
4947 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4948 type.
4949 [C99-based standards] (HUGE_VALL): Likewise.
4950 [C99-based standards] (INFINITY): Likewise.
4951 [C99-based standards] (NAN): Likewise.
4952 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4953 [C99-based standards] (FP_NAN): Likewise.
4954 [C99-based standards] (FP_NORMAL): Likewise.
4955 [C99-based standards] (FP_SUBNORMAL): Likewise.
4956 [C99-based standards] (FP_ZERO): Likewise.
4957 [C99-based standards] (FP_FAST_FMA): Use
4958 optional-macro-int-constant. Specify type. Require == 1.
4959 [C99-based standards] (FP_FAST_FMAF): Likewise.
4960 [C99-based standards] (FP_FAST_FMAL): Likewise.
4961 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4962 [C99-based standards] (FP_ILOGBNAN): Likewise.
4963 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4964 Specify type.
4965 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4966 [C99-based standards] (math_errhandling): Specify type.
4967 [ISO99 || ISO11] (signgam): Do not allow.
4968 [non-C99-based standards] (copysignf): Do not allow.
4969 [non-C99-based standards] (exp2f): Likewise.
4970 [non-C99-based standards] (log2f): Likewise.
4971 [non-C99-based standards] (modff): Allow.
4972 [non-C99-based standards] (erff): Do not allow.
4973 [non-C99-based standards] (erfcf): Likewise.
4974 [non-C99-based standards] (gammaf): Likewise.
4975 [non-C99-based standards] (hypotf): Likewise.
4976 [non-C99-based standards] (j0f): Likewise.
4977 [non-C99-based standards] (j1f): Likewise.
4978 [non-C99-based standards] (jnf): Likewise.
4979 [non-C99-based standards] (lgammaf): Likewise.
4980 [non-C99-based standards] (tgammaf): Likewise.
4981 [non-C99-based standards] (y0f): Likewise.
4982 [non-C99-based standards] (y1f): Likewise.
4983 [non-C99-based standards] (ynf): Likewise.
4984 [non-C99-based standards] (isnanf): Likewise.
4985 [non-C99-based standards] (acoshf): Likewise.
4986 [non-C99-based standards] (asinhf): Likewise.
4987 [non-C99-based standards] (atanhf): Likewise.
4988 [non-C99-based standards] (cbrtf): Likewise.
4989 [non-C99-based standards] (expm1f): Likewise.
4990 [non-C99-based standards] (ilogbf): Likewise.
4991 [non-C99-based standards] (log1pf): Likewise.
4992 [non-C99-based standards] (logbf): Likewise.
4993 [non-C99-based standards] (nextafterf): Likewise.
4994 [non-C99-based standards] (remainderf): Likewise.
4995 [non-C99-based standards] (rintf): Likewise.
4996 [non-C99-based standards] (scalbf): Likewise.
4997 [non-C99-based standards] (copysignl): Likewise.
4998 [non-C99-based standards] (exp2l): Likewise.
4999 [non-C99-based standards] (log2l): Likewise.
5000 [non-C99-based standards] (modfl): Allow.
5001 [non-C99-based standards] (erfl): Do not allow.
5002 [non-C99-based standards] (erfcl): Likewise.
5003 [non-C99-based standards] (gammal): Likewise.
5004 [non-C99-based standards] (hypotl): Likewise.
5005 [non-C99-based standards] (j0l): Likewise.
5006 [non-C99-based standards] (j1l): Likewise.
5007 [non-C99-based standards] (jnl): Likewise.
5008 [non-C99-based standards] (lgammal): Likewise.
5009 [non-C99-based standards] (tgammal): Likewise.
5010 [non-C99-based standards] (y0l): Likewise.
5011 [non-C99-based standards] (y1l): Likewise.
5012 [non-C99-based standards] (ynl): Likewise.
5013 [non-C99-based standards] (isnanl): Likewise.
5014 [non-C99-based standards] (acoshl): Likewise.
5015 [non-C99-based standards] (asinhl): Likewise.
5016 [non-C99-based standards] (atanhl): Likewise.
5017 [non-C99-based standards] (cbrtl): Likewise.
5018 [non-C99-based standards] (expm1l): Likewise.
5019 [non-C99-based standards] (ilogbl): Likewise.
5020 [non-C99-based standards] (log1pl): Likewise.
5021 [non-C99-based standards] (logbl): Likewise.
5022 [non-C99-based standards] (nextafterl): Likewise.
5023 [non-C99-based standards] (remainderl): Likewise.
5024 [non-C99-based standards] (rintl): Likewise.
5025 [non-C99-based standards] (scalbl): Likewise.
5026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5027 [non-C99-based standards] (FP_*): Do not allow.
5028 [C99-based standards] (FP_*): Change to
5029 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5030 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5031 allow.
5032 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5033 (SIG_ERR): Likewise.
5034 [X/Open-based standards] (SIG_HOLD): Likewise.
5035 (SIG_IGN): Likewise.
5036 (SIGABRT): Use macro-int-constant. Specify type. Require
5037 positive value.
5038 (SIGFPE): Likewise.
5039 (SIGILL): Likewise.
5040 (SIGINT): Likewise.
5041 (SIGSEGV): Likewise.
5042 (SIGTER): Likewise.
5043 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5044 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5045 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5046 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5047 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5048 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5049 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5051 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5052 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5053 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5054 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5055 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5056 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5057 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5058 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5059 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5060 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5061 [X/Open-based standards] (SIGTRAP): Likewise.
5062 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5063 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5064 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5065 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5066 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5067 allow.
5068
b9f1922d
IW
50692012-05-08 Ian Wienand <ianw@vmware.com>
5070
5071 [BZ #14080]
5072 * time/tzset.c (__tzset_parse_tz): Update default rules for
5073 daylight time changes in the Energy Policy Act of 2005.
5074
1db86e88
AJ
50752012-05-09 Andreas Jaeger <aj@suse.de>
5076
5077 [BZ #13983]
5078 * elf/ldconfig.c (parse_conf): Change string to make clear that
5079 ldconfig only issued a warning if ld.so.conf does not exist.
5080
dee4a4e3
DM
50812012-05-08 David S. Miller <davem@davemloft.net>
5082
ee0db190
DM
5083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5084 movxtod instead of popping the value on the stack.
5085
dee4a4e3
DM
5086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5087
6a43ec98
CD
50882012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5089
5090 * config.h.in: Add HAVE_ARM_PCS_VFP.
5091
05c2c961
RMG
50922012-05-08 Roland Mc Grath <roland@hack.frob.com>
5093
bcfe3a54
ST
5094 [BZ #13979]
5095 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5096 checking but the checks are disabled for any reason.
05c2c961 5097
4b30f61a
L
50982012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5099
5100 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5101 and ELF64_R_TYPE with ELFW(R_TYPE).
5102
eee2bc67
JM
51032012-05-08 Joseph Myers <joseph@codesourcery.com>
5104
7ea5391a
JM
5105 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5106 (ulimit): Likewise.
5107
eee2bc67
JM
5108 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5109 (settimeofday): Likewise.
5110
abb66a67
MF
51112012-05-08 Mike Frysinger <vapier@gentoo.org>
5112
5113 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5114 a struct th_u2 inside the union, and move tu_block/tu_code into
5115 a new th_u3 union of tu_block/tu_code inside of that. Move
5116 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5117 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5118 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5119 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5120 (th_stuff): Change to th_u1.tu_stuff.
5121 (th_data): Define.
5122 (th_msg): Change to th_u1.th_u2.tu_data.
5123
7f18b530
DM
51242012-05-07 David S. Miller <davem@davemloft.net>
5125
05760585
DM
5126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5127
7f18b530
DM
5128 [BZ #14074]
5129 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5130 (SETUP_PIC_REG): Use it.
5131 (SETUP_PIC_REG_LEAF): Use it.
5132
495fd99f
JM
51332012-05-07 Joseph Myers <joseph@codesourcery.com>
5134
5135 [BZ #13885]
5136 [BZ #13923]
5137 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5138 USE_AS_EXPM1L.
5139 (EXPL_FINITE): Likewise.
5140 (FLDLOG): Likewise.
5141 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5142 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5143 e_expl.S.
5144 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5145 USE_AS_EXPM1L.
5146 (EXPL_FINITE): Likewise.
5147 (FLDLOG): Likewise.
5148 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5149 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5150 e_expl.S.
5151 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5152 test of -max_value argument for long double.
5153 * sysdeps/i386/fpu/libm-test-ulps: Update.
5154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5155
6693d694
DM
51562012-05-06 David S. Miller <davem@davemloft.net>
5157
5158 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5159 quad soft-float symbols whose references which are compiler
5160 generated.
5161 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5162
6c23e11c
JM
51632012-05-06 Joseph Myers <joseph@codesourcery.com>
5164
d8b82cad
JM
5165 [BZ #13884]
5166 [BZ #13914]
5167 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5168 USE_AS_EXP10L.
5169 (EXPL_FINITE): Likewise.
5170 (FLDLOG): Likewise.
5171 (c0): Likewise.
5172 (c1): Likewise.
5173 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5174 Adjust comments for base varying.
5175 (__expl_finite): Change alias to EXPL_FINITE.
5176 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5177 e_expl.S.
5178 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5179 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5181 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5182 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5183 USE_AS_EXP10L.
5184 (EXPL_FINITE): Likewise.
5185 (FLDLOG): Likewise.
5186 (c0): Likewise.
5187 (c1): Likewise.
5188 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5189 Adjust comments for base varying.
5190 (__expl_finite): Change alias to EXPL_FINITE.
5191 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5192 tests for bugs.
5193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5194
6c23e11c
JM
5195 [BZ #14064]
5196 * math/libm-test.inc (check_float_internal): Correct ulp
5197 calculation for subnormal expected results.
5198
29ba805c
AJ
51992012-05-06 Andreas Jaeger <aj@suse.de>
5200
5201 * Makeconfig (+math-flags): New, set to -frounding-math.
5202 (+cflags): Add +math-flags so that all of glibc gets compiled with
5203 it.
5204
5205 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5206
7b17aeda
JM
52072012-05-05 Joseph Myers <joseph@codesourcery.com>
5208
5779f134
JM
5209 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5210 Disable one test.
5211
41498f4d
JM
5212 [BZ #13787]
5213 [BZ #13922]
5214 [BZ #14036]
5215 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5216 (__ieee754_expl): Allow for and saturate large arguments.
5217 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5218 (u_threshold): Likewise.
5219 (__exp): Call __ieee754_exp before checking for overflow and
5220 underflow.
5221 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5222 (u_threshold): Likewise.
5223 (__expf): Call __ieee754_expf before checking for overflow and
5224 underflow.
5225 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5226 (u_threshold): Likewise.
5227 (__expl): Call __ieee754_expl before checking for overflow and
5228 underflow.
5229 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5230 (__ieee754_expl): Allow for and saturate large arguments.
5231 * math/libm-test.inc (exp_test): Add another test. Do not allow
5232 missing overflow exception on overflow.
5233 (expm1_test): Do not allow missing overflow exception on overflow.
5234
6698b8bf
JM
5235 * sysdeps/i386/fpu/e_expl.c: Move to ...
5236 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5237 rather than using inline asm.
5238 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5239 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5240 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5241
7b17aeda
JM
5242 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5243 (nice): Likewise.
5244 (poll): Likewise.
5245 (signal): Likewise.
5246 (time): Likewise.
5247 (times): Likewise.
5248
f7c85819
JM
52492012-05-04 Joseph Myers <joseph@codesourcery.com>
5250
5251 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5252 sysdeps/unix/common/syscalls.list.
5253 (fchmod): Likewise.
5254 (fchown): Likewise.
5255 (ftruncate): Likewise.
5256 (getrusage): Likewise.
5257 (gettimeofday): Likewise.
5258 (setpgid): Likewise.
5259 (setregid): Likewise.
5260 (setreuid): Likewise.
5261 (sigaction): Likewise.
5262 (truncate): Likewise.
5263 (vhangup): Likewise.
5264 * sysdeps/unix/common/syscalls.list: Remove file.
5265 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5266 * sysdeps/unix/sysv/linux/Implies: Likewise.
5267
336270d0
L
52682012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5269
5270 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5272 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5273 Moved to ...
5274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5275 Here.
5276 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5277 to ...
5278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5279 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5280 to ...
5281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5282 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5283 to ...
5284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5285 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5286 to ...
5287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5288 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5289 to ...
5290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5291 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5292 to ...
5293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5294 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5295 to ...
5296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5297 Here.
5298 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5299 to ...
5300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5301 Here.
5302 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5303 to ...
5304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5305 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5306 Moved to ...
5307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5308 Here.
5309 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5310 to ...
5311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5312
d128e450
JM
53132012-05-04 Joseph Myers <joseph@codesourcery.com>
5314
fa8ee516
JM
5315 * sysdeps/unix/common/bits/dirent.h: Remove file.
5316 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5317
d128e450
JM
5318 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5319 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5320 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5321 * sysdeps/unix/bsd/isatty.c: Likewise.
5322 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5323 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5324 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5325
ff8faaf0 53262012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5327
62881be4 5328 [BZ #13563]
31dc8730
AZ
5329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5330 long double comparison inaccuracies.
5331 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5333
6fef930c
AS
53342012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5335
5336 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5337 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5338
8f203e6c
JM
53392012-05-04 Joseph Myers <joseph@codesourcery.com>
5340
5341 [BZ #14049]
5342 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5343 nonzero digits before rounding a hex value.
5344 * stdlib/tst-strtod.c (tests): Add another test.
5345
5197d9c2
AK
53462012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5347
5348 * sysdeps/s390/fpu/libm-test-ulps: Update.
5349
f0c1dedf
AJ
53502012-05-03 Andreas Jaeger <aj@suse.de>
5351
5352 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5353 does not get optimized out.
5354 (malloc_opt_barrier): New.
5355
a65ef2ae 53562012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5357 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5358
2b942cb7 5359 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5360 intermediate file deletion.
2b942cb7 5361 (generated): Add .symlist files.
a65ef2ae 5362
54b71e02
JM
53632012-05-03 Joseph Myers <joseph@codesourcery.com>
5364
5365 [BZ #13775]
5366 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5367 Redirect under this condition.
5368 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5369 [__USE_GNU] (__dprintf_chk): Not under this condition.
5370 [__USE_GNU] (__vdprintf_chk): Likewise.
5371 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5372 under this condition.
5373 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5374 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5375 [__USE_XOPEN2K8] (vdprintf): Likewise.
5376 [__USE_GNU] (__dprintf_chk): Not under this condition.
5377 [__USE_GNU] (__vdprintf_chk): Likewise.
5378 [__USE_GNU] (dprintf): Likewise.
5379 [__USE_GNU] (vdprintf): Likewise.
5380
d3dfcc41
RM
53812012-05-03 Roland McGrath <roland@hack.frob.com>
5382
5383 * elf/Makefile (common-generated): Set this instead of generated for
5384 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5385 $(all-built-dso)-derived lists.
5386
7ac30cc5
AJ
53872012-05-03 Andreas Jaeger <aj@suse.de>
5388
0c51e550
AJ
5389 * sysdeps/i386/fpu/libm-test-ulps: Update.
5390
7ac30cc5
AJ
5391 * FAQ: Removed.
5392 * FAQ.in: Likewise.
5393 * scripts/gen-FAQ.pl: Likewise.
5394 * manual/install.texi (Installation): Point to online location of
5395 FAQ.
5396 * Makefile (files-for-dist): Remove FAQ.
5397 (FAQ): Remove.
5398
d4c2917f
AM
53992012-05-02 Allan McRae <allan@archlinux.org>
5400
5401 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5402 (LDFLAGS-reldepmod5.so): Likewise.
5403 (LDFLAGS-reldep6mod1.so): Likewise.
5404 (LDFLAGS-reldep6mod4.so): Likewise.
5405 (LDFLAGS-reldep8mod3.so): Likewise.
5406 (LDFLAGS-unload4mod1.so): Likewise.
5407 (LDFLAGS-unload4mod2.so): Likewise.
5408 (LDFLAGS-tst-initorder): Likewise.
5409 (LDFLAGS-tst-initordera2.so): Likewise.
5410 (LDFLAGS-tst-initordera3.so): Likewise.
5411 (LDFLAGS-tst-initordera4.so): Likewise.
5412 (LDFLAGS-tst-initorderb2.so): Likewise.
5413 (LDFLAGS-noload): Likewise.
5414 (LDFLAGS-next): Likewise.
5415 (LDFLAGS-order2mod1.so): Likewise.
5416 (LDFLAGS-order2mod2.so): Likewise.
5417 (LDFLAGS-tst-initorder2): Likewise.
5418 (LDFLAGS-tst-initorder2a.so): Likewise.
5419 (LDFLAGS-tst-initorder2b.so): Likewise.
5420 (LDFLAGS-tst-initorder2c.so): Likewise.
5421 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5422
d77f993f
DM
54232012-05-02 David S. Miller <davem@davemloft.net>
5424
5425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5426
171a70b4
PP
54272012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5428
5429 [BZ #14055]
5430 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5431
0be196ad
AJ
54322012-05-02 Andreas Jaeger <aj@suse.de>
5433
5434 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5435 since we manipulate rounding mode.
5436 (CPPFLAGS-test-idouble.c): Likewise.
5437 (CPPFLAGS-test-ifloat.c): Likewise.
5438 (CFLAGS-test-ldouble.c): Likewise.
5439 (CFLAGS-test-double.c): Likewise.
5440 (CFLAGS-test-float.c): Likewise.
5441 (CFLAGS-test-misc.c): Likewise.
5442 (CFLAGS-test-test-fenv.c): Likewise.
5443
4f9d04aa
AZ
54442012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5445
2b942cb7
RM
5446 [BZ #2550]
5447 [BZ #2570]
5448 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5449 comparisons to determine direction to adjust input.
4f9d04aa 5450
82a79e7d
RM
54512012-05-01 Roland McGrath <roland@hack.frob.com>
5452
f5a01ca9
RM
5453 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5454 output to the target.
5455
90fe4186
RM
5456 * scripts/localplt.awk: New file.
5457 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5458 (check-localplt-CFLAGS): Variable removed.
5459 ($(all-built-dso:=.jmprel)): New static pattern rule.
5460 (generated): Add those targets.
5461 (localplt-built-dso): New variable.
5462 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5463
5464 * elf/check-localplt.c: File removed.
5465
82397ed6
RM
5466 * scripts/check-execstack.awk: New file.
5467 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5468 (check-execstack-CFLAGS): Variable removed.
5469 ($(objpfx)check-execstack.h): Target removed.
5470 ($(objpfx)execstack-default): New target.
5471 (generated): Add that instead of check-execstack.h.
5472 ($(all-built-dso:=.phdr)): New static pattern rule.
5473 (generated): Add those targets.
5474 * elf/check-execstack.c: File removed.
5475
82a79e7d
RM
5476 * scripts/check-textrel.awk: New file.
5477 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5478 (check-textrel-CFLAGS): Variable removed.
5479 (all-built-dso): Use := to define.o
5480 ($(all-built-dso:=.dyn)): New static pattern rule.
5481 (generated): Add those targets.
5482 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5483 * config.make.in (READELF): New substituted variable.
5484 * elf/check-textrel.c: File removed.
5485
62fde54f 54862012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5487
615605c9
JM
5488 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5489 allow.
5490 * conform/data/ctype.h-data [C99-based standards] (isblank):
5491 Expect function.
5492 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5493 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5495 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5496 Specify type. Require positive value.
5497 (EILSEQ): Likewise.
5498 (ERANGE): Likewise.
5499 [ISO || POSIX] (EILSEQ): Do not expect.
5500 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5501 Specify type. Require positive value.
5502 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5503 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5504 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5505 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5506 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5507 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5508 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5509 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5510 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5511 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5512 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5513 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5514 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5515 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5516 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5517 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5518 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5519 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5520 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5521 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5522 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5523 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5524 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5525 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5526 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5527 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5528 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5529 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5530 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5531 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5532 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5533 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5534 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5535 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5536 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5537 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5538 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5539 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5540 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5541 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5542 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5543 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5544 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5545 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5546 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5547 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5548 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5549 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5550 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5551 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5552 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5553 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5554 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5555 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5556 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5557 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5558 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5559 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5560 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5561 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5562 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5563 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5564 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5565 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5566 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5567 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5568 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5569 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5570 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5571 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5572 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5573 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5574 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5575 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5576 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5577 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5578 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5579 Require >= 2.
5580 (FLT_ROUNDS): Expect as macro, not constant.
5581 (FLT_MANT_DIG): Use macro-int-constant.
5582 (DBL_MANT_DIG): Likewise.
5583 (LDBL_MANT_DIG): Likewise.
5584 (FLT_DIG): Likewise.
5585 (DBL_DIG): Likewise.
5586 (LDBL_DIG): Likewise.
5587 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5588 (DBL_MIN_EXP): Likewise.
5589 (LDBL_MIN_EXP): Likewise.
5590 (FLT_MAX_EXP): Use macro-int-constant.
5591 (DBL_MAX_EXP): Likewise.
5592 (LDBL_MAX_EXP): Likewise.
5593 (FLT_MAX_10_EXP): Likewise.
5594 (DBL_MAX_10_EXP): Likewise.
5595 (LDBL_MAX_10_EXP): Likewise.
5596 (FLT_MAX): Use macro-constant.
5597 (DBL_MAX): Likewise.
5598 (LDBL_MAX): Likewise.
5599 (FLT_EPSILON): Use macro-constant. Give upper bound.
5600 (DBL_EPSILON): Likewise.
5601 (LDBL_EPSILON): Likewise.
5602 (FLT_MIN): Likewise.
5603 (DBL_MIN): Likewise.
5604 (LDBL_MIN): Likewise.
5605 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5606 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5607 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5608 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5609 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5610 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5611 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5612 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5613 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5614 [ISO11] (FLT_TRUE_MIN): Likewise.
5615 [ISO11] (LDBL_TRUE_MIN): Likewise.
5616 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5617 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5618 (SCHAR_MIN): Use macro-int-constant. Specify type.
5619 (SCHAR_MAX): Likewise.
5620 (UCHAR_MAX): Likewise.
5621 (CHAR_MIN): Likewise.
5622 (CHAR_MAX): Likewise.
5623 (MB_LEN_MAX): Use macro-int-constant.
5624 (SHRT_MIN): Use macro-int-constant. Specify type.
5625 (SHRT_MAX): Likewise.
5626 (USHRT_MAX): Likewise.
5627 (INT_MAX): Likewise.
5628 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5629 bound negative.
5630 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5631 bound with "U".
5632 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5633 bound with "L".
5634 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5635 bound negative. Suffix upper bound with "L".
5636 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5637 bound with "UL".
5638 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5639 Specify type.
5640 [C99-based standards] (LLONG_MAX): Likewise.
5641 [C99-based standards] (ULLONG_MAX): Likewise.
5642 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5643 == 0.
5644 [ISO11] (max_align_t): Require type.
5645 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5646
c9140a62
JM
5647 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5648 from $CFLAGS, without defining away __attribute__ calls.
5649 (checknamespace): Use $CFLAGS_namespace.
5650
9af0bf29
JM
5651 * conform/conformtest.pl (@keywords): Only include C99 keywords
5652 for standards based on C99 or C11.
5653
343222a2
JM
5654 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5655 Disable tests.
5656 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5657 UNIX98]: Likewise.
5658
661f8cf0
JM
5659 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5660 usability of symbols in #if.
5661
ee74b9cb
JM
5662 * conform/conformtest.pl: If macro or constant types start
5663 "promoted:", expect the symbol to be of the following type
5664 promoted by the integer promotions.
62fde54f 5665
aafc49b3
JM
5666 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5667 in one place. Also handle "macro-constant".
5668
fefdf574
JM
5669 * conform/conformtest.pl: Only accept expected macro values with
5670 "==". Parse all "macro" lines in one place.
5671 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5672
f2d922fe
JM
5673 * conform/conformtest.pl: Handle braced types on "constant" lines
5674 instead of handling "typed-constant".
5675 * conform/data/signal.h-data: Use "constant" instead of
5676 "typed-constant".
5677
d22956c9
JM
5678 * conform/conformtest.pl: Handle "optional-" at start of lines in
5679 one place rather than duplicating several cases. Handle each
5680 format of "macro" line with initial "optional-".
5681
028e2e38
JM
5682 * conform/conformtest.pl: Only accept expected constant or
5683 optional-constant values with "==". Parse all "constant" lines in
5684 one place. Parse all "optional-constant" lines in one place.
5685 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5686 * conform/data/fmtmsg.h-data: Likewise.
5687 * conform/data/netinet/in.h-data: Likewise.
5688 * conform/data/tar.h-data: Likewise.
5689 * conform/data/limits.h-data: Use "==" form on "constant" and
5690 "optional-constant" lines.
5691
1b8f2850
JM
5692 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5693 Use -std=c99 for XOPEN2K.
5694 (@knownproblems): Remove.
5695 (newtoken): Don't check %isknown.
5696
a05a144b
JM
5697 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5698 Do not expect macro.
5699 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5701 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5702 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5711 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5712 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5720 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5721 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5722 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5729 [XPG3] (acosh): Likewise.
5730 [XPG3] (asinh): Likewise.
5731 [XPG3] (atanh): Likewise.
5732 [XPG3] (cbrt): Likewise.
5733 [XPG3] (expm1): Likewise.
5734 [XPG3] (ilogb): Likewise.
5735 [XPG3] (log1p): Likewise.
5736 [XPG3] (logb): Likewise.
5737 [XPG3] (nextafter): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5739 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5740 [XPG3] (remainder): Likewise.
5741 [XPG3] (rint): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5749 [UNIX98 || XOPEN2K] (scalb): Expect.
5750 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5751 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5773 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5775 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5776 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5777 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5778 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5779 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5780 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5781 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5784 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5785 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5790 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5791 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5792 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5793 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5794 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5795 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5796 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5797 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5798 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5799 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5800 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5801 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5802 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5803 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5804 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5805 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5806 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5807 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5808 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5809 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5810 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5811 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5812 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5813 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5814 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5815 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5816 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5817 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5818 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5819 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5820 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5821 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5822 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5823 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5824 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5825 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5826 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5827 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5828 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5829 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5830 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5831 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5832 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5833 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5834 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5835 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5836 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5837 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5838 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5839 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5840 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5841 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5842 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5843 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5844 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5845 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5846 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5847 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5848 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5849 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5850 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5851 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5852 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5853 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5854 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5855 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5856 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5857 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5858 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5859 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5860 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5861 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5862 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5863 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5864 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5865 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5866 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5867 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5868 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5869 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5870 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5871 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5872 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5873 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5874 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5875 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5876 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5877 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5878 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5879 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5880 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5881 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5882 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5883 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5884 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5885 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5886 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5887
73c5ebe3
JM
5888 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5889 _XOPEN_SOURCE_EXTENDED for XPG4.
5890
39c33b6c
JM
5891 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5892
62fde54f
JM
5893 * Makeconfig (localtime): Remove variable.
5894 (inst_localtime-file): Likewise.
5895
0741d64c
AS
58962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5897
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5899 Update.
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5901 Update.
5902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5903 Update.
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5905 Update.
5906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5907 Update.
5908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5909 Update.
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5911 Update.
5912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5913 Update.
5914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5915 Update.
5916
7cb029ee
JM
59172012-05-01 Joseph Myers <joseph@codesourcery.com>
5918
5919 [BZ #2550]
5920 [BZ #2570]
5921 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5922 comparisons to determine direction to adjust input.
5923 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5924 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5925 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5926 Likewise.
5927 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5928 Likewise.
5929 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5930 Likewise.
5931 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5932 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5933 Likewise.
5934 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5935 Likewise.
5936 * math/libm-test.inc (nexttoward_test): Add more tests.
5937
412bd966
AS
59382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5939
5940 [BZ #14040]
5941 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5942 in version GLIBC_2.1, not GLIBC_2.0.
5943 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5944 Likewise.
5945
9568c0c2
JM
59462012-04-30 Joseph Myers <joseph@codesourcery.com>
5947
adfbc8ac
JM
5948 [BZ #13942]
5949 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5950 (1 - x) * (1 + x).
5951 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5952 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5953 * math/libm-test.inc (acos_test): Add more tests.
5954 (asin_test): Likewise.
5955 * sysdeps/i386/fpu/libm-test-ulps: Update.
5956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5957
5ba3cc69
JM
5958 [BZ #14034]
5959 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5960 of square root.
5961 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5962 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5963 * math/libm-test.inc (acos_test_tonearest): New function.
5964 (acos_test_towardzero): Likewise.
5965 (acos_test_downward): Likewise.
5966 (acos_test_upward): Likewise.
5967 (asin_test_tonearest): Likewise.
5968 (asin_test_towardzero): Likewise.
5969 (asin_test_downward): Likewise.
5970 (asin_test_upward): Likewise.
5971 (main): Call the new functions.
5972 * sysdeps/i386/fpu/libm-test-ulps: Update.
5973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5974
9568c0c2
JM
5975 [BZ #13884]
5976 [BZ #13924]
5977 * math/e_exp10.c: Include <float.h>.
5978 (__ieee754_exp10): Handle underflow here rather than multiplying
5979 large negative argument by M_LN10.
5980 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5981 of __ieee754_expf.
5982 * math/e_exp10l.c: Include <float.h>.
5983 (__ieee754_exp10l): Handle underflow here rather than multiplying
5984 large negative argument by M_LN10l.
5985 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5986 spurious overflow exception on underflow.
5987
5ac3ea17
MP
59882012-04-29 Marek Polacek <polacek@redhat.com>
5989
5990 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5991 (__fortify_function): New macro.
5992 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5993 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5994 __extern_always_inline.
5995 * libio/bits/stdio2.h: Likewise.
5996 * libio/bits/stdio.h: Likewise.
5997 * string/string.h: Likewise.
5998 * string/bits/string3.h: Likewise.
5999 * include/stdio.h: Likewise.
6000 * stdlib/bits/stdlib.h: Likewise.
6001 * stdlib/stdlib.h: Likewise.
6002 * rt/bits/mqueue2.h: Likewise.
6003 * rt/mqueue.h: Likewise.
6004 * posix/bits/unistd.h: Likewise.
6005 * posix/unistd.h: Likewise.
6006 * io/bits/poll2.h: Likewise.
6007 * io/bits/fcntl2.h: Likewise.
6008 * io/fcntl.h: Likewise.
6009 * io/sys/poll.h: Likewise.
6010 * misc/bits/syslog.h: Likewise.
6011 * misc/bits/syslog-ldbl.h: Likewise.
6012 * misc/sys/syslog.h: Likewise.
6013 * socket/bits/socket2.h: Likewise.
6014 * socket/sys/socket.h: Likewise.
6015 * debug/tst-chk1.c: Likewise.
6016 * wcsmbs/bits/wchar2.h: Likewise.
6017 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6018 * wcsmbs/wchar.h: Likewise.
6019
ecf0ebfb
AJ
60202012-04-29 Andreas Jaeger <aj@suse.de>
6021
6022 * Makerules (tests): Remove enable-check-abi protection.
6023 (check-abi-warn): Remove.
6024 (check-abi-%): Remove check-abi-warn usage.
6025
6026 * configure.in: Remove check-abi configure option.
6027 * configure: Regenerated.
6028 * config.make.in (enable-check-abi): Remove.
6029
6d5c57fa
AS
60302012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6031
24c5d07e 6032 [BZ #14033]
ded5180a
AS
6033 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6034 double functions to double *_finite functions.
6035
7e0d315d
AS
6036 [BZ #13941]
6037 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6038 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6039 LDBL_MIN_EXP.
6040 * stdio-common/Makefile (tests): Add tst-sprintf3.
6041 * stdio-common/tst-sprintf3.c: New file.
6042
6d5c57fa
AS
6043 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6044 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6045
0749ff8b
JM
60462012-04-28 Joseph Myers <joseph@codesourcery.com>
6047
6048 * conform/conformtest.pl: Remove duplicate typed-constant
6049 handling.
6050
8dbd5d7b
DM
60512012-04-28 David S. Miller <davem@davemloft.net>
6052
6053 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6054 (check-abi-%): Remove AWK script prerequisite and explicit
6055 abilist directory.
6056 (check-abi): Rewrite to just diff the symlist with the abilist.
6057 (config-tls, config-abi-config): Delete, no longer used.
6058 (update-abi-%): Remove AWK script and explicit abilist directory.
6059 (update-abi): Rewrite to simply compare and conditionally copy the
6060 symlist and the sysdep abilist file. Remove update-abi-config
6061 checks.
6062 * abilist/ld.abilist: Remove.
6063 * abilist/libBrokenLocale.abilist: Remove.
6064 * abilist/libanl.abilist: Remove.
6065 * abilist/libcrypt.abilist: Remove.
6066 * abilist/libdl.abilist: Remove.
6067 * abilist/librt.abilist: Remove.
6068 * abilist/libthread_db.abilist: Remove.
6069 * abilist/libutil.abilist: Remove.
6070 * scripts/extract-abilist.awk: Remove.
6071 * scripts/merge-abilist.awk: Remove.
6072 * sysdeps/generic/libcidn.abilist: New file.
6073 * sysdeps/generic/libnss_compat.abilist: New file.
6074 * sysdeps/generic/libnss_db.abilist: New file.
6075 * sysdeps/generic/libnss_dns.abilist: New file.
6076 * sysdeps/generic/libnss_files.abilist: New file.
6077 * sysdeps/generic/libnss_hesiod.abilist: New file.
6078 * sysdeps/generic/libnss_nis.abilist: New file.
6079 * sysdeps/generic/libnss_nisplus.abilist: New file.
6080 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6081 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6082 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6083 file.
6084 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6085 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6086 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6087 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6088 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6089 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6090 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6091 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6092 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6093 file.
6094 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6095 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6096 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6097 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6098 file.
6099 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6100 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6101 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6102 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6103 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6104 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6105 file.
6106 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6107 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6108 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6109 file.
6110 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6112 New file.
6113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6114 New file.
6115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6116 New file.
6117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6118 New file.
6119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6120 New file.
6121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6122 New file.
6123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6124 New file.
6125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6126 New file.
6127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6128 New file.
6129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6130 New file.
6131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6132 New file.
6133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6134 New file.
6135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6136 New file.
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6138 file.
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6140 New file.
6141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6142 New file.
6143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6144 file.
6145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6146 New file.
6147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6148 New file.
6149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6150 file.
6151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6152 New file.
6153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6154 New file.
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6156 New file.
6157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6158 New file.
6159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6160 New file.
6161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6162 New file.
6163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6165 file.
6166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6167 New file.
6168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6169 file.
6170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6171 file.
6172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6173 file.
6174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6175 file.
6176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6177 file.
6178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6179 New file.
6180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6181 file.
6182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6183 file.
6184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6185 New file.
6186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6187 file.
6188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6190 file.
6191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6192 New file.
6193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6194 file.
6195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6196 file.
6197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6198 file.
6199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6200 file.
6201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6202 file.
6203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6204 New file.
6205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6206 file.
6207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6208 file.
6209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6210 New file.
6211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6212 file.
6213 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6214 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6215 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6216 file.
6217 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6218 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6219 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6220 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6221 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6222 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6223 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6224 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6225 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6226 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6229 file.
6230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6231 New file.
6232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6233 file.
6234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6235 file.
6236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6237 file.
6238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6239 file.
6240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6241 file.
6242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6243 New file.
6244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6245 New file.
6246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6247 file.
6248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6249 New file.
6250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6251 file.
6252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6254 file.
6255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6256 New file.
6257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6258 file.
6259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6260 file.
6261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6262 file.
6263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6264 file.
6265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6266 file.
6267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6268 New file.
6269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6270 New file.
6271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6272 file.
6273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6274 New file.
6275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6276 file.
6277
41d73a1b
JM
62782012-04-28 Joseph Myers <joseph@codesourcery.com>
6279
6280 * conform/conformtest.pl: Fix typo in handling typed-constant from
6281 allow-header.
6282
28aeeda4
JM
62832012-04-27 Joseph Myers <joseph@codesourcery.com>
6284
adae8f5e
JM
6285 * README: Cut down references to pre-2.6 Linux kernels and
6286 Linuxthreads. Update lists of configurations in libc and ports
6287 and sort alphabetically. Say "or newer" with Linux kernel version
6288 requirements.
6289
28aeeda4
JM
6290 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6291
a462cb63
RA
62922012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6293
6294 [BZ #887]
6295 * math/libm-test.inc (logb_test_downward): New test to expose
6296 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6297 rounding mode.
6298
6ad3493e
JM
62992012-04-27 Joseph Myers <joseph@codesourcery.com>
6300
6301 [BZ #14027]
6302 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6303 to be done.
6304 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6305 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6306
2ce4f015
JM
63072012-04-26 Joseph Myers <joseph@codesourcery.com>
6308
5aeb141a
JM
6309 * sysdeps/unix/i386/brk.S: Remove file.
6310 * sysdeps/unix/i386/dl-brk.S: Likewise.
6311 * sysdeps/unix/i386/pipe.S: Likewise.
6312 * sysdeps/unix/i386/sigreturn.S: Likewise.
6313 * sysdeps/unix/i386/syscall.S: Likewise.
6314 * sysdeps/unix/i386/vfork.S: Likewise.
6315 * sysdeps/unix/i386/wait.S: Likewise.
6316
7143acae
JM
6317 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6318 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6319
2ce4f015
JM
6320 * configure.in (arm*-none*): Do not allow without
6321 --enable-hacker-mode.
6322 (netbsd*): Remove case setting base_os.
6323 (386bsd*): Likewise.
6324 (freebsd*): Likewise.
6325 (bsdi*): Likewise.
6326 (osf*): Likewise.
6327 (sunos*): Likewise.
6328 (ultrix*): Likewise.
6329 (newsos*): Likewise.
6330 (dynix*): Likewise.
6331 (*bsd*): Likewise.
6332 (sysv*): Likewise.
6333 (isc*): Likewise.
6334 (esix*): Likewise.
6335 (sco*): Likewise.
6336 (minix*): Likewise.
6337 (irix4*): Likewise.
6338 (irix6*): Likewise.
6339 (solaris[2-9]*): Likewise.
6340 (none): Likewise.
6341 * configure: Regenerated.
6342
0ac229c8
AZ
63432012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6344
6345 [BZ #11521]
6346 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6347 overflow or cancellation in calculating denominator.
6348 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6350 down expression to avoid unexpected rounding in newer GCCs.
6351 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6352
33f244f4
DM
63532012-04-26 David S. Miller <davem@davemloft.net>
6354
6355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6356 long-double compat symbols.
6357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6370
cfa1f3e8
DM
63712012-04-25 David S. Miller <davem@davemloft.net>
6372
6373 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6374 HWCAP_* values only after the memory barriers have been defined.
6375 (atomic_full_barrier): Define.
6376 (atomic_read_barrier): Define.
6377 (atomic_write_barrier): Define.
6378
6e236b92
SP
63792012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6380
6381 * shlib-versions: Add libgcc_s version information.
6382 * sysdeps/generic/libgcc_s.h: Remove.
6383 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6384 libgcc_s.h.
6385 * sysdeps/gnu/unwind-resume.c: Likewise.
6386 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6387
aab39a09
DM
63882012-04-25 David S. Miller <davem@davemloft.net>
6389
6390 * sysdeps/unix/sparc/brk.S: Delete.
6391 * sysdeps/unix/sparc/dl-brk.S: Delete.
6392 * sysdeps/unix/sparc/pipe.S: Delete.
6393 * sysdeps/unix/sparc/sysdep.S: Delete.
6394 * sysdeps/unix/sparc/sysdep.h: Delete.
6395 * sysdeps/unix/sparc/vfork.S: Delete.
6396 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6397 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6398 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6399 ret_ERRVAL, r0, r1, MOVE): Define.
6400 (JUMPTARGET): Remove.
6401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6402 sysdeps/unix/sparc/sysdep.h
6403 (ENTRY, END): Remove.
6404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6405
a3cc4f48
JM
64062012-04-25 Joseph Myers <joseph@codesourcery.com>
6407
2ed8cda2
JM
6408 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6409 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6410 -DIS_IN_build.
6411
35d76d59
JM
6412 * timezone/README: Update upstream location and email address for
6413 tzcode and tzdata.
6414 * timezone/zdump.c: Update from tzcode 2012b.
6415 * timezone/zic.c: Likewise.
6416
a3cc4f48
JM
6417 * configure.in (libc_cv_as_needed): Remove test.
6418 * configure: Regenerated.
6419 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6420 conditional definition.
6421 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6422 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6423 * config.make.in (have-as-needed): Remove variable.
6424
ceab42c3
SP
64252012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6426 Paul Pluzhnikov <ppluzhnikov@google.com>
6427
6428 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6429 strings correctly.
6430
3ce2865f
CLT
64312012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6432
6433 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6434 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6435 * sysdeps/sh/strlen.S: Likewise.
6436
f37e0d68
JM
64372012-04-24 Joseph Myers <joseph@codesourcery.com>
6438
ae186e9a
JM
6439 * sysdeps/unix/fork.S: Remove file.
6440 * sysdeps/unix/i386/fork.S: Likewise.
6441 * sysdeps/unix/sparc/fork.S: Likewise.
6442
b96914af
JM
6443 * sysdeps/unix/system.c: Remove file.
6444 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6445
f37e0d68
JM
6446 * sysdeps/unix/getegid.S: Remove file.
6447 * sysdeps/unix/geteuid.S: Likewise.
6448
87ef29ca
RM
64492012-04-24 Roland McGrath <roland@hack.frob.com>
6450
83bcd236
RM
6451 * scripts/check-localplt.awk: New file.
6452 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6453 of diff.
6454 * scripts/data/localplt-generic.data: Add a comment.
6455
87ef29ca
RM
6456 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6457 NODE when __dir_mkfile failed.
6458 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6459 Reported by Ludovic Courtès <ludo@gnu.org>.
6460
e5a6e567
AJ
64612012-04-24 Andreas Jaeger <aj@suse.de>
6462
6463 * Makerules (common-clean): Also remove gen-as-const-headers
6464 files.
6465
c1820385
JM
64662012-04-24 Joseph Myers <joseph@codesourcery.com>
6467
6468 * Makerules (native-compile): Do not change working directory for
6469 build. Use $(OUTPUT_OPTION) in command.
6470 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6471
94e02fc4
AZ
64722012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6473
6474 [BZ #13886]
6475 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6476 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6477 * math/libm-test.inc (floor_test): Add more tests.
6478 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6479
3a533ca3
JM
64802012-04-24 Joseph Myers <joseph@codesourcery.com>
6481
940ab4b3
JM
6482 * sysdeps/unix/getdents.c: Remove file.
6483 * sysdeps/unix/sysv/getdents.c: Likewise.
6484 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6485
90e037bd
JM
6486 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6487 sysdeps/unix/mman/syscalls.list.
6488 (mmap): Likewise.
6489 (mprotect): Likewise.
6490 (msync): Likewise.
6491 (munmap): Likewise.
6492 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6493 * sysdeps/unix/mman/syscalls.list: Remove.
6494 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6495
3a533ca3
JM
6496 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6497 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6498 * configure: Regenerated.
6499 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6500 $(libgcc_s_suffix).
6501 * config.make.in (libgcc_s_suffix): Remove variable.
6502
1ad743de
JM
65032012-04-23 Joseph Myers <joseph@codesourcery.com>
6504
4ad451e2
JM
6505 * sysdeps/unix/sysv/gethostname.c: Move to ...
6506 * sysdeps/posix/gethostname.c: ... here.
6507
5e37ce39
JM
6508 * sysdeps/unix/execve.S: Remove file.
6509
1ad743de
JM
6510 * sysdeps/unix/_exit.S: Remove file.
6511
4e681b5b
AJ
65122012-04-23 Andreas Jaeger <aj@suse.de>
6513
6514 [BZ #13739]
6515 * manual/Makefile: Remove make dist support, there's no
6516 need for a stand-alone documentation tar ball.
6517 (TEXI2DVI): Define always, it's not in Makeconfig.
6518 (dist): Removed.
6519 (tar-it): Removed.
6520 (edition): Removed.
6521 (glibc-doc-$(edition).tar): Removed
6522 (%.Z): Removed.
6523 (%.gz): Removed.
6524 (%.uu): Removed.
6525 (ETAGS): Remove, it's in Makeconfig.
6526 (move-if-change): Remove, it's in Makeconfig.
6527
c0baea34
PE
65282013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6529
6530 [BZ #13970]
6531 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6532 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6533 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6534 (strtod_l, strtof_l, strtold_l): Remove __wur.
6535 It is not necessarily an error to ignore strtol's return value.
6536 One can reliably look at the stored endptr to decide whether
6537 the number had valid syntax.
6538
7c0616fa
AJ
65392012-04-21 Andreas Jaeger <aj@suse.de>
6540
803cb6b7 6541 [BZ #13739]
7c0616fa
AJ
6542 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6543
b0fe253f
JM
65442012-04-21 Joseph Myers <joseph@codesourcery.com>
6545
6546 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6547 * sysdeps/unix/sysv/Versions: Remove file.
6548
8280f22d
MT
65492012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6550
6551 [BZ #13927]
6552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6553
75ce411f 65542012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6555
6556 [BZ #7064]
6557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6558 version from __vm86.
6559
097d59fa
JM
65602012-04-20 Joseph Myers <joseph@codesourcery.com>
6561
a90f3bcb
JM
6562 * sysdeps/unix/common/lxstat.c: Remove file.
6563 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6564
edc7ea78
JM
6565 * sysdeps/unix/sysv/Makefile: Remove file.
6566
cb78c221
JM
6567 * sysdeps/unix/sysv/direct.h: Remove file.
6568
efa6a45f
JM
6569 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6570 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6571 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6572 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6573 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6574 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6575 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6576
9c9f2d0c
JM
6577 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6578
4541c83b
JM
6579 * sysdeps/unix/xmknod.c: Remove file.
6580 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6581
f5d153a0
JM
6582 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6583
aa746595
JM
6584 * sysdeps/unix/sysv/i386/time.S: Remove file.
6585
cce5905e
JM
6586 * sysdeps/unix/fxstat.c: Remove file.
6587 * sysdeps/unix/xstat.c: Likewise.
6588 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6589
37fa3841
JM
6590 * sysdeps/unix/sysv/sigaction.c: Remove file.
6591
ff1962a3
JM
6592 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6593 (sysdep_headers): Remove variable.
6594 [termio.h not in sysdep_headers] (generated): Likewise.
6595 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6596 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6597 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6598 * sysdeps/unix/sysv/tcflow.c: Likewise.
6599 * sysdeps/unix/sysv/tcflush.c: Likewise.
6600 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6601 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6602 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6603 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6604 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6605
e7740d31
JM
6606 * sysdeps/unix/siglist.c: Remove file.
6607
ee06f18b
JM
6608 * sysdeps/unix/getppid.S: Remove file.
6609
097d59fa
JM
6610 * sysdeps/unix/mkdir.c: Remove file.
6611 * sysdeps/unix/rmdir.c: Likewise.
6612
ff3d51ec
AS
66132012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6614
6615 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6616 ERR_MAX value.
6617 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6618 errlist-compat value.
6619
50f81fd7
DM
66202012-04-18 David S. Miller <davem@davemloft.net>
6621
6622 * sysdeps/generic/memcopy.h (reg_char): Delete.
6623 * debug/strcat_chk.c: Use char, not reg_char.
6624 * debug/strcpy_chk.c: Likewise.
6625 * debug/strncat_chk.c: Likewise.
6626 * debug/strncpy_chk.c: Likewise.
6627 * string/memchr.c: Likewise.
6628 * string/memrchr.c: Likewise.
6629 * string/rawmemchr.c: Likewise.
6630 * string/strcat.c: Likewise.
6631 * string/strchr.c: Likewise.
6632 * string/strchrnul.c: Likewise.
6633 * string/strcmp.c: Likewise.
6634 * string/strcpy.c: Likewise.
6635 * string/strncat.c: Likewise.
6636 * string/strncmp.c: Likewise.
6637 * string/strncpy.c: Likewise.
6638
8ff41c46
WS
66392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6640
6641 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6642 __builtin_memcopy is called when src and dest ranges are known to not
6643 overlap.
6644
6b652f46
WS
66452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6646
6647 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6648 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6649 fwd_align_merge macro call.
6650 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6651 bwd_align_merge macro call.
6652 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6653
b282631e
WS
66542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6655
6656 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6657 bwd_align_merge macros.
6658 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6659 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6660 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6661
95aa737c
DM
66622012-04-18 David S. Miller <davem@davemloft.net>
6663
6664 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6665
7a99a614
AJ
66662012-04-18 Andreas Jaeger <aj@suse.de>
6667
6668 [BZ# 6794]
6669 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6670 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6671 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6672
6673 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6674 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6675 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6676
6677 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6678 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6679 Adjust for changed ldbl-128 files.
6680
6681 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6682 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6683 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6684
e5270c23
DM
66852012-04-17 David S. Miller <davem@davemloft.net>
6686
6687 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6688
fb5e92c9
AS
66892012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6690
6691 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6692 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6693 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6694 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6695 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6696 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6697
76da7265
AZ
66982012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6699
6700 [BZ #6794]
6701 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6702 * math/libm-test.inc: Add ilogb errno and exception tests.
6703 * math/w_ilogb.c: New file: ilogb wrapper.
6704 * math/w_ilogbf.c: New file: ilogbf wrapper.
6705 * math/w_ilogbl.c: New file: ilogbl wrapper.
6706 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6707 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6708 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6709 exception being thrown with 0.0 as argument.
6710 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6711 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6712 exception being thrown with 0.0 as argument.
6713 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6714 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6715 exception being thrown with 0.0 as argument.
6716 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6717 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6718 exception being thrown with 0.0 as argument.
6719 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6720 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6721 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6722 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6723 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6724 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6725 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6726 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6727 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6728
0396e69d
PB
67292012-04-17 Petr Baudis <pasky@ucw.cz>
6730
6731 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6732 with altivec.
6733
750b5926
MP
67342012-04-16 Marek Polacek <polacek@redhat.com>
6735
6736 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6737
751728a1
MP
67382012-04-16 Marek Polacek <polacek@redhat.com>
6739
6740 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6741 operands of fdivp instruction.
6742
34a27407
L
67432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6744
6745 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6746 * elf/tst-auditmod3b.c: Likewise.
6747 * elf/tst-auditmod4b.c: Likewise.
6748 * elf/tst-auditmod5b.c: Likewise.
6749 * elf/tst-auditmod6b.c: Likewise.
6750 * elf/tst-auditmod6c.c: Likewise.
6751 * elf/tst-auditmod7b.c: Likewise.
6752 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6753 * sysdeps/x86_64/preconfigure.in: Likewise.
6754 * sysdeps/x86_64/preconfigure: Regenerated.
6755
7e73e17d
L
67562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6757
6758 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6759 __ILP32__.
6760
c7a6ab72
AB
67612012-04-13 Antoine Balestrat <merkil33@gmail.com>
6762
6763 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6764 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6765
a9e8e0e0
CL
67662012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6767
6768 [BZ #13973]
6769 * locale/iso-639.def: Fix gl language name. Spotted by
6770 Yaron Shahrabani.
6771
ec98af7d
RM
67722012-04-12 Roland McGrath <roland@hack.frob.com>
6773
6774 [BZ #2074]
6775 * libio/libio.h (__io_write_fn): Update comment.
6776
247c3ede
PB
67772012-04-12 Petr Baudis <pasky@ucw.cz>
6778
6779 [BZ #2074]
6780 * stdio.texi (Hook Functions): The user provided writer function
6781 is not allowed to return -1.
6782
55939d6d
DM
67832012-04-11 David S. Miller <davem@davemloft.net>
6784
6785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6786
90020f5a
MF
67872012-04-11 Mike Frysinger <vapier@gentoo.org>
6788
6789 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6790 Add a leading slash to rtkaio.
6791
288f9098
JM
67922012-04-11 Jim Meyering <meyering@redhat.com>
6793
90020f5a
MF
6794 [BZ #11959]
6795 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6796 It is not necessarily an error to ignore fwrite's return
6797 value. One can reliably use ferror to test for errors after
6798 the fact.
288f9098 6799
4be2b570
L
68002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6801
6802 * bits/types.h (__snseconds_t): New type.
6803 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6804
6805 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6807 (__SNSECONDS_T_TYPE): Likewise.
6808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6809 (__SNSECONDS_T_TYPE): Likewise.
6810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6811 (__SNSECONDS_T_TYPE): Likewise.
6812
288f9098 68132012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6814
6815 [BZ #2636]
6816 * manual/time.texi (Processor Time): Return type of times is
6817 elapsed real time since an arbitrary point in the past.
6818 (CPU Time): Move CLK_TCK from here...
6819 (Processor Time): ...to here. Correct description.
6820 * manual/conf.texi (Constants for Sysconf): Correct description of
6821 _SC_CLK_TCK.
6822
d7dd4413
DM
68232012-04-10 David S. Miller <davem@davemloft.net>
6824
6825 [BZ #13967]
6826 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6827 where the is a gap between DT_REL(A) and DT_JMPREL.
6828
b46068fc
L
68292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6830
6831 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6832 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6833 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6834
73d65cc3
SP
68352012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6836
6837 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6838 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6839 (dl_main): Handle --inhibit-cache.
6840 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6841 _dl_inhibit_cache.
6842 * elf/dl-load.c (_dl_map_object): Use it.
6843 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6844
bcc8d661
JM
68452012-04-09 Joseph Myers <joseph@codesourcery.com>
6846
8f9a2fae
JM
6847 [BZ #13872]
6848 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6849 (__ieee754_powl): Saturate large exponents rather than testing for
6850 overflow of y*log2(x).
6851 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6852 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6853 exceptions.
6854
bcc8d661
JM
6855 [BZ #11521]
6856 * math/s_ctan.c: Include <float.h>.
6857 (__ctan): Avoid internal overflow or cancellation in calculating
6858 denominator.
6859 * math/s_ctanf.c: Likewise.
6860 * math/s_ctanl.c: Likewise.
6861 * math/s_ctanh.c: Likewise.
6862 * math/s_ctanhf.c: Likewise.
6863 * math/s_ctanhl.c: Likewise.
6864 * math/libm-test.inc (ctan_test): Add more tests.
6865 (ctanh_test): Likewise.
6866 * sysdeps/i386/fpu/libm-test-ulps: Update.
6867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6868
823fbbb4
AJ
68692012-04-09 Andreas Jaeger <aj@suse.de>
6870
03879793
AJ
6871 [BZ #6894]
6872 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6873 is an optional BSD extension.
6874
823fbbb4
AJ
6875 [BZ #10254]
6876 * manual/stdio.texi (Opening Streams): Document additional fopen
6877 parameters.
6878
8de131cb
RM
68792012-04-09 Roland McGrath <roland@hack.frob.com>
6880
6881 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6882 %eax without telling the compiler.
6883
c0ed9d7d
CD
68842012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6885
6886 [BZ # 13963]
6887 * manual/install.texi: Use sourceware.org.
6888
c483f6b4
JM
68892012-04-09 Joseph Myers <joseph@codesourcery.com>
6890
d7dd9453
JM
6891 [BZ #13873]
6892 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6893 (__ieee754_pow): Generate overflow and underflow using huge*huge
6894 and tiny*tiny rather than just returning constant infinity or zero
6895 for large exponents.
6896 * math/libm-test.inc (pow_test): Require overflow exceptions for
6897 applicable cases of large exponents.
6898
c483f6b4
JM
6899 [BZ #706]
6900 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6901 (__ieee754_pow): Use iterative multiplication algorithm only for
6902 integer exponents with absolute value below 1024. Check for odd
6903 integer exponents when using algorithm for real exponents.
6904 * math/libm-test.inc (pow_test): Add more tests.
6905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6906
d2de7579
JM
69072012-04-08 Joseph Myers <joseph@codesourcery.com>
6908
6909 [BZ #13705]
6910 * math/libm-test.inc (exp_test): Do not allow overflow exception
6911 on underflow test.
6912
f77f1232
AJ
69132012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6914
6915 [BZ #13705]
6916 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6917 instead of __kernel_standard_f.
6918
3884932b
MF
69192012-04-08 Mike Frysinger <vapier@gentoo.org>
6920
6921 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6922 * sysdeps/x86_64/memset_chk.S: Likewise.
6923
54472e9c
AJ
69242012-04-08 Andreas Jaeger <aj@suse.de>
6925
6ab0fbfc
AJ
6926 [BZ #10153]
6927 * manual/startup.texi (Environment Access): Describe return value
6928 for putenv and setenv.
6929
61efba8c
AJ
6930 [BZ #6895]
6931 * manual/filesys.texi (Directory Entries): Add description for
6932 DT_LNK.
6933
95c3f29a
AJ
6934 [BZ #6890]
6935 * manual/filesys.texi (Directory Entries): Clarify that it's file
6936 system not operating system in the description of DT_UNKNOWN.
6937
54472e9c
AJ
6938 [BZ #6578]
6939 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6940
624254b1
SC
69412012-04-08 Stephen Compall <s11@member.fsf.org>
6942
6943 [BZ #6649]
6944 * manual/llio.texi (Opening and Closing Files): Add cross
6945 reference to explain mode argument.
6946
1e4920e0
MF
69472012-04-07 Mike Frysinger <vapier@gentoo.org>
6948
6949 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6950 * sysdeps/x86_64/memset_chk.S: Likewise.
6951
5ed848f3
DM
69522012-04-07 David S. Miller <davem@davemloft.net>
6953
6954 * elf/elf.h (R_SPARC_WDISP10): Define.
6955 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6956 R_SPARC_SIZE32.
6957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6958 R_SPARC_SIZE64 and R_SPARC_H34.
6959
96154cd8
CD
69602012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6961
6962 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6963 conditions and remove no longer applicable assertion.
6964
9904dc47
L
69652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6966
6967 * bits/byteswap.h: Include <features.h>.
6968 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6969 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6970
f8887d0a
L
69712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6972
6973 * bits/byteswap.h (__bswap_16): Removed.
6974 Include <bits/byteswap-16.h> to get __bswap_16.
6975 * sysdeps/i386/bits/byteswap.h: Likewise.
6976 * sysdeps/s390/bits/byteswap.h: Likewise.
6977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6978 * bits/byteswap-16.h: New file.
6979 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6980 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6981 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6982 * string/Makefile (headers): Add bits/byteswap-16.h.
6983
62470f60
PP
69842012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6985
6986 [BZ #13895]
6987 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6988 extra indirection.
6989 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6990 * nss/tst-nss-static.c: New.
6991
4dad7bab
RM
69922012-04-06 Robert Millan <rmh@gnu.org>
6993
6994 [BZ #6486]
6995 * manual/llio.texi (File Position Primitive): lseek
6996 refers to WHENCE when it really means OFFSET.
6997
e9142a17
AJ
69982012-04-06 Andreas Jaeger <aj@suse.de>
6999
2c040eff
AJ
7000 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7001 strncmp declarations.
7002
e9142a17
AJ
7003 * abilist/libc.abilist: Add __poll and __ppoll.
7004
ff9f1c5f
DM
70052012-04-05 David S. Miller <davem@davemloft.net>
7006
dcd2ae90
DM
7007 * scripts/check-local-headers.sh: Accept a host triplet in the
7008 path matched by the exclude regexp.
7009
993eb054
DM
7010 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7011 definition.
7012 * sysdeps/powerpc/powerpc32/dl-machine.h
7013 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7014 * sysdeps/s390/s390-32/dl-machine.h
7015 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7016 * sysdeps/sparc/sparc32/dl-machine.h
7017 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7018 * sysdeps/sparc/sparc64/dl-machine.h
7019 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7020
ff9f1c5f
DM
7021 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7022 lazy binding.
48e2e132 7023 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7024 undefined symbol errors.
7025
48e2e132 7026 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7027 DT_NEEDED entries.
7028
e80d6f94
MM
70292012-04-05 Michael Matz <matz@suse.de>
7030
7031 [BZ #13592]
7032 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7033
349fa79f
AJ
70342012-04-05 Andreas Jaeger <aj@suse.de>
7035
7036 [BZ #13908]
7037 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7038 comment.
7039
f402708f
KK
70402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7041
7042 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7043 which ROUND is no valid rounding mode.
7044
2ecccfc9
KK
70452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7046
7047 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7048 read again.
7049 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7050
8a53f50f
KK
70512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7052
7053 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7054 an exception using FPU order intentionally.
7055
70562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7057
7058 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7059 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7060 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7061 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7062
d653abb7
SJ
70632012-04-05 Simon Josefsson <simon@josefsson.org>
7064
7065 [BZ #12340]
7066 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7067 EINVAL when BUFLEN is too smal.
7068
c3b1bf7d
TS
70692012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7070
7071 [BZ #13553]
7072 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7073 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7074
b1aa60f3
AJ
70752012-04-03 Andreas Jaeger <aj@suse.de>
7076
c3b1bf7d 7077 [BZ #13938]
67f60a26
AJ
7078 * manual/setjmp.texi (System V contexts): Fix sentence.
7079
b1aa60f3
AJ
7080 [BZ #13926]
7081 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7082 New macro for this case.
7083 [!__GNUC__] (__bswap_64): New inline function for this case.
7084 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7085 * bits/byteswap.h: Likewise.
7086 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7087 ull, guard with __GLIBC_HAVE_LONG_LONG.
7088
7089 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7090 __GLIBC_HAVE_LONG_LONG.
7091
7092 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7093 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7094
39c59c35
TMQMF
70952012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7096
7097 [BZ #13691]
7098 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7099 inptr and inend, rather than using last_ch.
7100
135ffda8
DM
71012012-04-02 David S. Miller <davem@davemloft.net>
7102
7103 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7104 * stdio-common/printf-parse.h (read_int): Change return type to
7105 'int', return -1 on INT_MAX overflow.
7106 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7107 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7108 overflows INT_MAX. Check for overflow of in-format-string precision
7109 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7110 SIZE_MAX not INT_MAX for integer overflow test.
7111 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7112 skip the construct in the format string but do not record anything.
7113 * stdio-common/bug22.c: Adjust to test both width/prevision
7114 INT_MAX overflow as well as total length INT_MAX overflow. Check
7115 explicitly for proper errno values.
7116
228c019e
TS
71172012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7118
302cadd3
TS
7119 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7120 CHAR_MAX.
7121 * string/test-strcmp.c [! WIDE]: Likewise.
7122 * time/tst-mktime2.c: Likewise for INT_MAX.
7123 * string/test-string.h: #include <sys/param.h> for MIN.
7124
228c019e
TS
7125 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7126 * sysdeps/i386/init-first.c (init): Likewise.
7127 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7128 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7129 * sysdeps/sh/init-first.c (init): Likewise.
7130
cfa633f5
UD
71312012-04-01 Ulrich Drepper <drepper@gmail.com>
7132
7133 * po/ru.po: Update from translation team.
d1635ef8 7134 * po/vi.po: Likewise.
cfa633f5 7135
6cd0a5ea
SP
71362012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7137
7138 * resolv/nss_dns/dns-host.c: Merge copyright years.
7139
4b43400f
LD
71402012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7141
7142 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7143 Optimize memcpy with prefetch if
7144 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7145 src, dst pointers have unequal 16 byte alignments.
7146
48c41d04
SP
71472012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7148
7149 [BZ #13928]
7150 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7151 from a CNAME entry and return the minimum ttl for the query.
7152 (gaih_getanswer_slice): Likewise.
7153
b8dc394d
JL
71542012-03-30 Jeff Law <law@redhat.com>
7155
7156 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7157 due to long keys.
7158 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7159 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7160
2f5a5ed0
JL
7161 * resolv/nss_dns/dns-host.c: Update copyright year.
7162
1d39e359
UD
71632012-03-30 Ulrich Drepper <drepper@gmail.com>
7164
c030f70c 7165 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7166 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7167
1d39e359
UD
7168 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7169 comments for sendmmsg.
7170
71712012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7172
7173 [BZ #13691]
7174 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7175 with only 1 character between 0x0041 and 0x01b0.
7176 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7177 * wcsmbs/tst-mbsnrtowcs.c: New file.
7178
20fde227
DM
71792012-03-29 David S. Miller <davem@davemloft.net>
7180
7181 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7182 small copies by hand.
7183
984a4237
JL
71842012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7185
7186 [BZ #13761]
7187 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7188 _nss_compat_initgroups_dyn): Fall back to malloc/free
7189 for large group memberships.
7190
18c9d62b
DM
71912012-03-28 David S. Miller <davem@davemloft.net>
7192
88d85d4f
DM
7193 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7194 that branches into memcpy.
7195 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7197 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7198 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7200 bits.
7201 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7202 implementation too.
7203 * sysdeps/sparc/mempcpy.S: New file.
7204
e5aa83e1
DM
7205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7206 the IFUNC routine in the libc case.
7207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7208
88570753
DM
7209 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7210 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7211 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7212 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7213 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7214 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7215 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7216 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7217
249d7567
DM
7218 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7219 loop to 256 bytes instead of 64 bytes and fix test signedness.
7220
18c9d62b
DM
7221 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7222 * sysdeps/sparc/sparc32/Makefile: rather than here...
7223 * sysdeps/sparc/sparc64/Makefile: and here.
7224
05f3d1f6
UD
72252012-03-28 Ulrich Drepper <drepper@gmail.com>
7226
7227 * malloc/mallocbug.c: Avoid warnings about unused variables.
7228
86ae07a8
JL
72292012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7230
7231 [BZ #13760]
7232 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7233 in the right place. Discard and retry query if response is
7234 larger than input buffer size.
7235
41bf21a1
JM
72362012-03-28 Joseph Myers <joseph@codesourcery.com>
7237
d6270972
JM
7238 [BZ #369]
7239 [BZ #2678]
7240 [BZ #3866]
7241 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7242 x for large integer exponent.
7243 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7244 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7245 sign of result as needed afterwards.
7246 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7247 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7248 result for underflowing pow the same as for overflow.
7249 (__kernel_standard_l): Handle powl overflow and underflow here
7250 rather than calling __kernel_standard.
7251 * math/libm-test.inc (pow_test): Add more tests.
7252
414fca03 7253 [BZ #3868]
41bf21a1
JM
7254 [BZ #13879]
7255 [BZ #13910]
7256 [BZ #13911]
7257 [BZ #13912]
7258 [BZ #13913]
7259 [BZ #13915]
7260 [BZ #13916]
7261 [BZ #13917]
7262 [BZ #13918]
7263 [BZ #13919]
7264 [BZ #13920]
7265 [BZ #13921]
7266 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7267 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7268 (__kernel_standard_l): New function.
7269 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7270 __kernel_standard.
7271 * math/w_acosl.c (__acosl): Likewise.
7272 * math/w_asinl.c (__asinl): Likewise.
7273 * math/w_atan2l.c (__atan2l): Likewise.
7274 * math/w_atanhl.c (__atanhl): Likewise.
7275 * math/w_coshl.c (__coshl): Likewise.
7276 * math/w_exp10l.c (__exp10l): Likewise.
7277 * math/w_exp2l.c (__exp2l): Likewise.
7278 * math/w_fmodl.c (__fmodl): Likewise.
7279 * math/w_hypotl.c (__hypotl): Likewise.
7280 * math/w_j0l.c (__j0l, __y0l): Likewise.
7281 * math/w_j1l.c (__j1l, __y1l): Likewise.
7282 * math/w_jnl.c (__jnl, __ynl): Likewise.
7283 * math/w_lgammal.c (__lgammal): Likewise.
7284 * math/w_log10l.c (__log10l): Likewise.
7285 * math/w_log2l.c (__log2l): Likewise.
7286 * math/w_logl.c (__logl): Likewise.
7287 * math/w_powl.c (__powl): Likewise.
7288 * math/w_remainderl.c (__remainderl): Likewise.
7289 * math/w_scalbl.c (sysv_scalbl): Likewise.
7290 * math/w_sinhl.c (__sinhl): Likewise.
7291 * math/w_sqrtl.c (__sqrtl): Likewise.
7292 * math/w_tgammal.c (__tgammal): Likewise.
7293 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7294 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7295 * math/libm-test.inc (acos_test): Add more tests.
7296 (acosh_test): Likewise.
7297 (asin_test): Likewise.
7298 (atanh_test): Likewise.
7299 (exp_test): Likewise.
7300 (exp10_test): Likewise.
7301 (exp2_test): Likewise.
7302 (expm1_test): Likewise.
7303 (lgamma_test): Likewise.
7304 (log_test): Likewise.
7305 (log10_test): Likewise.
7306 (log1p_test): Likewise.
7307 (log2_test): Likewise.
7308 (pow_test): Do not allow some spurious overflow exceptions.
7309 (sqrt_test): Add more tests.
7310 (tgamma_test): Likewise.
7311 (y0_test): Likewise.
7312 (y1_test): Likewise.
7313 (yn_test): Likewise.
7314
dd62fda6
AB
73152012-03-27 Anton Blanchard <anton@samba.org>
7316
7317 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7318 MAP_HUGETLB.
7319 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7320 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7321 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7322
1e3cdfda
AJ
73232012-03-27 David S. Miller <davem@davemloft.net>
7324
b855ab85
DM
7325 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7326
1e3cdfda
AJ
7327 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7328 have-as-vis3 check.
7329
73302012-03-27 Andreas Jaeger <aj@suse.de>
7331
7332 * sysdeps/x86_64/elf/configure.in: Moved to ...
7333 * sysdeps/x86_64/configure.in: ... here.
7334 * sysdeps/x86_64/elf/start.S: Moved to ...
7335 * sysdeps/x86_64/start.S: ... here.
7336 * sysdeps/x86_64/elf/configure: Delete.
7337
7338 * sysdeps/x86_64/configure.in: Merge contents from
7339 sysdeps/i386/configure.in (without i686 check).
7340
7341 * sysdeps/i386/elf/Versions: Merge into ...
7342 * sysdeps/i386/Versions: ... this.
7343 * sysdeps/i386/elf/Versions: Delete file.
7344 * sysdeps/i386/elf/start.S: Moved to ...
7345 * sysdeps/i386/start.S: ...here.
7346 * sysdeps/i386/elf/configure.in: Merge into...
7347 * sysdeps/i386/configure.in: ...here.
7348 * sysdeps/i386/elf/configure.in: Delete file.
7349 * sysdeps/i386/elf/configure: Delete file.
7350
7351 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7352 * debug/backtracesyms.c: ... here.
7353 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7354 * debug/backtracesymsfd.c: ... here.
7355 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7356 * sysdeps/generic/ifunc-sel.h: ... here.
7357
7358 * sysdeps/unix/i386/start.c: Delete file.
7359 * sysdeps/unix/sparc/start.c: Delete file.
7360 * sysdeps/unix/start.c: Delete file.
7361
7362 * sysdeps/sh/elf/configure.in: Moved to ...
7363 * sysdeps/sh/configure.in: ... here.
7364 * sysdeps/sh/elf/start.S: Moved to ...
7365 * sysdeps/sh/start.S: ... here.
7366 * sysdeps/sh/elf/configure: Delete file.
7367
7368 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7369 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7370 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7371 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7372 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7373 * sysdeps/powerpc/powerpc64/start.S: here.
7374 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7375 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7376 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7377 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7378 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7379
7380 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7381 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7382 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7383 * sysdeps/powerpc/powerpc32/start.S: ... here.
7384 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7385 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7386 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7387
7388 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7389 * sysdeps/powerpc/ifunc-sel.h: ... here.
7390 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7391 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7392
7393 * sysdeps/sparc/elf/configure.in: Moved to ...
7394 * sysdeps/sparc/configure.in: ... here.
7395 * sysdeps/sparc/elf/configure: Delete file.
7396 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7397 * sysdeps/sparc/sparc32/start.S: ... here.
7398 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7399 * sysdeps/sparc/sparc64/start.S: ... here.
7400 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7401 * sysdeps/sparc/sparc32/Makefile: ... this.
7402 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7403 * sysdeps/sparc/sparc64/Makefile: ... this.
7404
7405 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7406 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7407 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7408 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7409 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7410 * sysdeps/s390/s390-32/setjmp.S: ... here.
7411 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7412 * sysdeps/s390/s390-32/configure.in: ... here.
7413 * sysdeps/s390/s390-32/elf/configure: Delete file.
7414 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7415 * sysdeps/s390/s390-32/start.S: ... here.
7416
7417 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7418 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7419 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7420 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7421 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7422 * sysdeps/s390/s390-64/setjmp.S: ... here.
7423 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7424 * sysdeps/s390/s390-64/configure.in: ... here
7425 * sysdeps/s390/s390-64/elf/configure: Delete file.
7426 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7427 * sysdeps/s390/s390-64/start.S: ... here.
7428 * sysdeps/s390/s390-64/elf/configure: Delete.
7429
7430 * configure.in: Remove support for elf directories in sysdeps.
7431
7432 * configure: Regenerated.
7433 * sysdeps/i386/configure: Regenerated.
7434 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7435 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7436 * sysdeps/s390/s390-32/configure: Regenerated.
7437 * sysdeps/s390/s390-64/configure: Regenerated.
7438 * sysdeps/sh/configure: Regenerated.
7439 * sysdeps/sparc/configure: Regenerated.
7440 * sysdeps/x86_64/configure: Regenerated.
7441
a3f61311
AS
74422012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7443
c876e002
AS
7444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7445
a3f61311
AS
7446 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7447 denormal result into account.
7448
ac4c54f0
RM
74492012-03-25 Roland McGrath <roland@hack.frob.com>
7450
7451 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7452 Reported by Allan McRae <allan@archlinux.org>.
7453
6a9b9c02
JL
74542012-03-23 Jeff Law <law@redhat.com>
7455
7456 * nss/getnssent.c (__nss_getent): Fix typo.
7457
4c42a0c1
DM
74582012-03-23 David S. Miller <davem@davemloft.net>
7459
7460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7461
1532c7ac
L
74622012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7463
7464 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7465 to pad to uint64_t for each field.
7466 (dl_tls_index): Replace unsigned long with uint64_t.
7467
3ff42526
PP
74682012-03-23 Daniel Jacobowitz <dmj@google.com>
7469 Paul Pluzhnikov <ppluzhnikov@google.com>
7470
7471 [BZ #6528]
7472 * grp/Makefile (otherlibs): Don't set it.
7473 * inet/Makefile (otherlibs): Likewise.
7474 * login/Makefile (otherlibs): Likewise.
7475 * nscd/Makefile (otherlibs): Likewise.
7476 * posix/Makefile (otherlibs): Likewise.
7477 * pwd/Makefile (otherlibs): Likewise.
7478 * rt/Makefile (otherlibs): Likewise.
7479 * sunrpc/Makefile (otherlibs): Likewise.
7480 * nss/Makefile (otherlibs): Likewise.
7481 Add libnss_files to routines and static-only-routines.
7482 ($(objpfx)getent): Remove rule.
7483 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7484 static-only-routines.
7485
7c69cd14
JM
74862012-03-22 Joseph Myers <joseph@codesourcery.com>
7487
7488 [BZ #13892]
7489 * math/s_cexp.c: Include <float.h>.
7490 (__cexp): Handle exp result overflowing not necessarily
7491 overflowing both real and imaginary parts of result.
7492 * math/s_cexpf.c: Likewise.
7493 * math/s_cexpl.c: Likewise.
7494 * math/libm-test.inc (cexp_test): Add more tests.
7495 * sysdeps/i386/fpu/libm-test-ulps: Update.
7496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7497
81b035fe
L
74982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7499
7500 * include/link.h (ELFW): New macro.
7501 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7502 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7503
1da7940c
L
75042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7505
7506 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7507 with uint64_t.
7508
b749dbb9
L
75092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7510
7511 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7512 declaration.
7513 (struct La_x32_retval): Likewise.
7514
2ff87f3f
L
75152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7516
7517 * sysdeps/x86_64/preconfigure.in: New file.
7518 * sysdeps/x86_64/preconfigure: New generated file.
7519
c0df8e69
JM
75202012-03-22 Joseph Myers <joseph@codesourcery.com>
7521
48e44791
JM
7522 [BZ #13824]
7523 * math/e_exp2l.c: Include <float.h>.
7524 (__ieee754_exp2l): Handle overflow and underflow cases
7525 separately. Only pass fractional part of argument to
7526 __ieee754_expl.
7527 * math/libm-test.inc (exp2_test): Add more tests.
7528
c0df8e69
JM
7529 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7530 negating x to take absolute value.
7531 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7532 Likewise.
7533 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7534 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7535 Likewise.
7536 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7537 computing low part if x was negated.
7538 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7539
c8e43ba7
L
75402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7541
7542 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7543 la_x32_gnu_pltexit.
7544 (pltexit): Cast int_retval to ptrdiff_t.
7545 * elf/tst-auditmod3b.c: Likewise.
7546 * elf/tst-auditmod4b.c: Likewise.
7547 * elf/tst-auditmod5b.c: Likewise.
7548 * elf/tst-auditmod6b.c: Likewise.
7549 * elf/tst-auditmod6c.c: Likewise.
7550 * elf/tst-auditmod7b.c: Likewise.
7551
7552 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7553 and x32_gnu_pltexit.
7554
7555 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7556 __ELF_NATIVE_CLASS.
7557 (La_x32_regs): New macro.
7558 (La_x32_retval): Likewise.
7559 (la_x32_gnu_pltenter): New function prototype.
7560 (la_x32_gnu_pltexit): Likewise.
7561
7998fa78
AS
75622012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7563
dcb33988
AS
7564 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7565 exponent.
7566
233fc563
AS
7567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7568
7998fa78
AS
7569 * configure.in (libc_cv_cc_nofma): Check for option to disable
7570 generation of FMA instructions.
7571 * configure: Regenerate.
7572 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7573 * sysdeps/ieee754/dbl-64/Makefile: New file.
7574 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7575 Remove brandred-fma4.
7576 (CFLAGS-brandred-fma4.c): Remove.
7577 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7578 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7579 define.
7580 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7581 define.
7582
8e95c99a
L
75832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7584
7585 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7586 LLONG_MAX != LONG_MAX.
7587 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7588 (_fitoa_word): Likewise.
7589 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7590 LLONG_MAX != LONG_MAX.
7591 * stdio-common/_itowa.h: Include <_itoa.h>.
7592 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7593 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7594 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7595 only if not defined.
7596 (_ITOA_WORD_TYPE): Likewise.
7597 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7598 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7599
6f4db457
DM
76002012-03-21 David S. Miller <davem@davemloft.net>
7601
7602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7603
7785fe5a
L
76042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7605
7606 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7607 of x86_64 when setting libc_cv_slibdir, libdir and
7608 libc_cv_localedir.
7609 * sysdeps/unix/sysv/linux/configure: Regenerated.
7610
4535cd55
JM
76112012-03-21 Joseph Myers <joseph@codesourcery.com>
7612
7613 * manual/lang.texi (Old Varargs): Remove section.
7614 (How Variadic): Update menu.
7615 (va_start): Do not mention varargs.h.
7616
17228132
TS
76172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7618 Joseph Myers <joseph@codesourcery.com>
7619
7620 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7621 link test.
7622 * configure: Regenerated.
7623
8149f976
TS
76242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7625
05f3d1f6
UD
7626 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7627 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7628 conformtest.pl
8149f976 7629
1a4ac776
JM
76302012-03-21 Joseph Myers <joseph@codesourcery.com>
7631
be22ce65
JM
7632 * NOTES: Remove.
7633 * Makefile (files-for-dist): Remove NOTES.
7634 (NOTES): Remove rule.
7635 * README: Don't refer to NOTES.
7636 * manual/creature.texi: Don't include macros.texi.
7637 * manual/intro.texi (creature.texi): Remove comment referring to
7638 NOTES.
7639
40b601fb
JM
7640 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7641 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7642 * configure: Regenerated.
7643 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7644 LIBC_TRY_CC_OPTION.
7645 (libc_cv_as_i686): Likewise.
7646 (libc_cv_cc_avx): Likewise.
7647 (libc_cv_cc_sse2avx): Likewise.
7648 (libc_cv_cc_fma4): Likewise.
7649 (libc_cv_cc_novzeroupper): Likewise.
7650 * sysdeps/i386/configure: Regenerated.
7651
1a4ac776
JM
7652 [BZ #13883]
7653 * sysdeps/i386/fpu/s_cexp.S: Remove.
7654 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7655 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7656 * math/libm-test.inc (cexp_test): Add more tests.
7657 * sysdeps/i386/fpu/libm-test-ulps: Update.
7658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7659
a458e7fe
AM
76602012-03-21 Allan McRae <allan@archlinux.org>
7661
7662 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7663
0cb7efc5
JM
76642012-03-21 Joseph Myers <joseph@codesourcery.com>
7665
7666 [BZ #13871]
7667 * math/w_exp2.c: Do not include <float.h>.
7668 (o_threshold, u_threshold): Remove.
7669 (__exp2): Calculate result before checking finiteness and calling
7670 __kernel_standard.
7671 * math/w_exp2f.c: Likewise.
7672 * math/w_exp2l.c: Likewise.
7673 * math/libm-test.inc (exp2_test): Require overflow exception for
7674 1e6 input.
2460d3aa
JM
7675
7676 [BZ #3866]
7677 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7678 range of signed 64-bit integers before using fistpll. Remove
7679 checks for whether integers fit in mantissa bits.
7680 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7681 the range of signed 32-bit integers before using fistpl. Remove
7682 checks for whether integers fit in mantissa bits.
7683 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7684 (__ieee754_powl): Test for y outside the range of signed 64-bit
7685 integers before using fistpll. Reduce 64-bit values to 63-bit
7686 ones as needed.
7687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7688 divide-by-zero is raised for zero to large negative powers.
7689 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7690 (__ieee754_powl): Test for y outside the range of signed 64-bit
7691 integers before using fistpll. Reduce 64-bit values to 63-bit
7692 ones as needed.
7693 * math/libm-test.inc (pow_test): Add more tests.
7694
eb96ffb0
L
76952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7696
7697 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7698 <stdio-common/_itoa.h>.
7699 * debug/segfault.c: Likewise.
7700 * elf/dl-cache.c: Likewise.
7701 * elf/dl-minimal.c: Likewise.
7702 * elf/dl-misc.c: Likewise.
7703 * elf/dl-sysdep.c: Likewise.
7704 * elf/dl-version.c: Likewise.
7705 * elf/rtld.c: Likewise.
7706 * hurd/hurdsock.c: Likewise.
7707 * hurd/lookup-retry.c: Likewise.
7708 * malloc/malloc.c: Likewise.
7709 * malloc/mtrace.c: Likewise.
7710 * nscd/nscd_getgr_r.c: Likewise.
7711 * nscd/nscd_getpw_r.c: Likewise.
7712 * nscd/nscd_getserv_r.c: Likewise.
7713 * posix/getopt_init.c: Likewise.
7714 * posix/wordexp.c: Likewise.
7715 * stdio-common/_itoa.c: Likewise.
7716 * stdio-common/printf_fphex.c: Likewise.
7717 * stdio-common/vfprintf.c: Likewise.
7718 * string/_strerror.c: Likewise.
7719 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7720 * sysdeps/i386/i686/hp-timing.h: Likewise.
7721 * sysdeps/mach/_strerror.c: Likewise.
7722 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7723 * sysdeps/mach/hurd/sethostid.c: Likewise.
7724 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7725 * sysdeps/mach/xpg-strerror.c: Likewise.
7726 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7727 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7728 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7729 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7730 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7731 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7732 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7733 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7734 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7735 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7736 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7737 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7738 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7739 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7740 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7741 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7742 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7743 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7744 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7745 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7746 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7747
7748 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7749
7750 * stdio-common/_itoa.h: Moved to ...
7751 * sysdeps/generic/_itoa.h: Here.
7752
7753 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7754
7755 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7756 instead of "_itoa.h" and "_itowa.h".
7757 * stdio-common/vfprintf.: Likewise.
7758
d1af992d
L
77592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7760
7761 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7762 <bits/wordsize.h>.
7763 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7764 (__signbit): Likwise.
7765 (llrintf): Likwise.
7766 (llrint): Likwise.
7767
114883e0
L
77682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7769
7770 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7771 __WORDSIZE != 64.
7772
c135cc1b
JM
77732012-03-20 Joseph Myers <joseph@codesourcery.com>
7774
7775 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7776 OVERFLOW_EXCEPTION_OK.
7777 * math/libm-test.inc ("Philosophy"): Update comment about
7778 exception testing.
7779 (OVERFLOW_EXCEPTION): Define.
7780 (OVERFLOW_EXCEPTION_OK): Likewise.
7781 (INVALID_EXCEPTION_OK): Renumber.
7782 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7783 (IGNORE_ZERO_INF_SIGN): Likewise.
7784 (test_exceptions): Handle FE_OVERFLOW.
7785 (exp10_test): Expect overflow exceptions.
7786 (exp2_test): Likewise.
7787 (expm1_test): Likewise.
7788 (nextafter_test): Likewise.
7789 (pow_test): Likewise.
7790 (scalbn_test): Likewise.
7791 (scalbln_test): Likewise.
7792
95443d88
L
77932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7794
7795 * sysdeps/x86_64/bits/atomic.h
7796 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7797 64bit integer.
7798 (atomic_exchange_acq): Likewise.
7799 (__arch_exchange_and_add_body): Likewise.
7800 (__arch_add_body): Likewise.
7801 (atomic_add_negative): Likewise.
7802 (atomic_add_zero): Likewise.
7803
490df6c4
L
78042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7805
c2722551 7806 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7807 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7808
5e52b189
L
78092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7810
7811 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7812 Check __x86_64__ instead of __WORDSIZE.
7813
a9879d4c
L
78142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7815
7816 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7817
5df98260
DM
78182012-03-19 David S. Miller <davem@davemloft.net>
7819
e1497744
DM
7820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7821
5df98260
DM
7822 * sysdeps/sparc/fpu/fenv_private.h: New file.
7823 * sysdeps/sparc/fpu/math_private.h: Use it.
7824 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7825 Remove.
7826 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7827 (libc_feholdexcept_setroundl): Remove.
7828 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7829 Remove.
7830 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7831 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7832
b4c35121
L
78332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7834
7835 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7836 int64_t instead of long int.
7837 (INSERT_WORDS64): Likwise.
7838
56965fd7
L
78392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7840
7841 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7842 _Unwind_GetCFA return to _Unwind_Ptr first.
7843
83d1aec8
JM
78442012-03-19 Joseph Myers <joseph@codesourcery.com>
7845
1897ad44
JM
7846 [BZ #13629]
7847 * math/s_clog.c: Include <float.h>.
7848 (__clog): Scale large or subnormal inputs.
7849 * math/s_clogf.c: Likewise.
7850 * math/s_clogl.c: Likewise.
7851 * math/s_clog10.c: Include <float.h>.
7852 (M_LOG10_2): Define.
7853 (__clog10): Scale large or subnormal inputs.
7854 * math/s_clog10f.c: Likewise.
7855 * math/s_clog10l.c: Likewise.
7856 * math/libm-test.inc (clog_test): Add more tests.
7857 (clog10_test): Likewise.
7858 * sysdeps/i386/fpu/libm-test-ulps: Update.
7859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7860
7726d6a9
JM
7861 [BZ #11451]
7862 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7863 x and y.
7864 * math/libm-test.inc (atan2_test): Add another test.
7865
83d1aec8
JM
7866 * Makerules (common-objdir-compile): Remove.
7867 * sysdeps/unix/Makefile (config-generated): Do not add
7868 $(unix-generated) to variable.
7869 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7870 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7871 Remove rule.
7872 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7873 Likewise.
7874 [generic bits/local_lim.h] (before-compile): Do not append to
7875 variable.
7876 [generic bits/local_lim.h] (common-generated): Likewise.
7877 [generic sys/param.h] (before-compile): Do not append to variable.
7878 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7879 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7880 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7881 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7882 include.
7883 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7884 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7885 [generic sys/param.h] ($(addprefix
7886 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7887 [generic sys/param.h] (common-generated): Do not append to
7888 variable.
7889 [generic sys/param.h] (sysdep_headers): Likewise.
7890 [generic bits/errno.h] (before-compile): Do not append to
7891 variable.
7892 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7893 rule.
7894 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7895 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7896 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7897 [generic bits/errno.h] (common-generated): Do not append to
7898 variable.
7899 [generic bits/ioctls.h] (before-compile): Do not append to
7900 variable.
7901 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7902 rule.
7903 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7904 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7905 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7906 rule.
7907 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7908 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7909 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7910 [generic bits/ioctls.h] (common-generated): Do not append to
7911 variable.
7912 [generic sys/syscall.h] (syscall.h): Remove variable.
7913 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7914 rule.
7915 [generic sys/syscall.h] (before-compile): Do not append to
7916 variable.
7917 [generic sys/syscall.h] (common-generated): Likewise.
7918 * sysdeps/unix/errnos-tmpl.c: Remove file.
7919 * sysdeps/unix/errnos.awk: Likewise.
7920 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7921 * sysdeps/unix/ioctls.awk: Likewise.
7922 * sysdeps/unix/mk-local_lim.c: Likewise.
7923 * sysdeps/unix/snarf-ioctls: Likewise.
7924
4851a949
RH
79252012-03-19 Richard Henderson <rth@twiddle.net>
7926
bd37f2ee
RH
7927 * sysdeps/i386/fpu/fenv_private.h: New file.
7928 * sysdeps/i386/fpu/math_private.h: Use it.
7929 (math_opt_barrier, math_force_eval): Remove.
7930 (libc_feholdexcept_setround_53bit): Remove.
7931 (libc_feupdateenv_53bit): Remove.
7932 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7933 (math_opt_barrier, math_force_eval): Remove.
7934 (libc_feholdexcept): Remove.
7935 (libc_feholdexcept_setround): Remove.
7936 (libc_fetestexcept, libc_fesetenv): Remove.
7937 (libc_feupdateenv_test): Remove.
7938 (libc_feupdateenv, libc_feholdsetround): Remove.
7939 (libc_feresetround): Remove.
7940
d0adc922
RH
7941 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7942 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7943
0fe0f1f8
RH
7944 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7945 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7946 (libc_feupdateenv_testl): New.
7947 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7948 (libc_feupdateenv_testf): New.
7949 (libc_feupdateenv): Use libc_feupdateenv_test.
7950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7951 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7952
eb92c487
RH
7953 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7954 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7955 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7956 (libc_feresetround_noex): New.
7957 (libc_feresetround_noexf): New.
7958 (libc_feresetround_noexl): New.
7959 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7960 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7961 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7962 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7963 SET_RESTORE_ROUND.
7964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7965 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7966 (__cos): Likewise.
7967 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7968 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7969 SET_RESTORE_ROUND_NOEX.
7970 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7971 SET_RESTORE_ROUND_NOEXF.
7972 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7973 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7974 (libc_feholdsetroundf): New.
7975 (libc_feresetround, libc_feresetroundf): New.
7976
7d2e8012
RH
7977 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7978 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7979 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7980
b4dabbb4
RH
7981 * sysdeps/generic/math_private.h: Include <fenv.h>.
7982 (default_libc_feholdexcept): New.
7983 (default_libc_feholdexcept_setround): New.
7984 (default_libc_fesetenv, default_libc_feupdateenv): New.
7985 (libc_feholdexcept): Only define if undefined.
7986 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7987 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7988 (libc_feholdexcept_setroundl): Likewise.
7989 (libc_feholdexcept_setround_53bit): Likewise.
7990 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7991 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7992 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7993 (libc_feupdateenv_53bit): Likewise.
7994 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7995 (libc_feholdexcept): Convert from macro to inline function.
7996 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7997 (libc_fesetenv, libc_feupdateenv): Likewise.
7998
4851a949
RH
7999 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8000 not previously defined.
8001 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8002 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8003 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8004 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8005 * sysdeps/ieee754/flt-32/math_private.h: New file.
8006 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8007 math_private.h below SET_FLOAT_WORD.
8008 (__isnan, __isinf_ns, __finite): Remove.
8009 (__isnanf, __isinf_nsf, __finitef): Remove.
8010
e79d442e
AS
80112012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8012
8013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8014
90b80344
DM
80152012-03-17 David S. Miller <davem@davemloft.net>
8016
8017 [BZ #6471]
8018 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8019 for 2.16.
8020
edc21804
DM
80212012-03-16 David S. Miller <davem@davemloft.net>
8022
77e927af
DM
8023 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8024 warnings.
8025
374976dd
DM
8026 [BZ #6471]
8027 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8028 properly.
8029 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8030 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8031 sysdep_routines when subdir is sysvipc.
8032 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8033 __getshmlba helper.
8034
edc21804
DM
8035 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8036
473c3ef3
L
80372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8038
8039 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8040 [__LP64__].
8041
eb0f39b6
L
80422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8043
8044 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8045 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8046 (__lround): Renamed to ...
8047 (__llround): This. Replace long int with long long int.
8048 Define lround functions as aliases of llround functions.
8049 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8050
6b6cd74b
L
80512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8052
8053 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8054 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8055 adresses to uintptr_t. Replace "long int" and "unsigned long
8056 int" with "greg_t" on va_arg.
8057
f1a77b01
L
80582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8059
8060 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8061 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8062
8063 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8064 Move e_machine check before EI_CLASS check. Handle x32
8065 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8066 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8067 SKIP_EM_IA_64 and include
8068 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8069
8070 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8071 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8072 (add_system_dir): New macro.
8073
8074 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8075 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8076
11b90b9f
JM
80772012-03-16 Joseph Myers <joseph@codesourcery.com>
8078
c36e1d23
JM
8079 [BZ #2551]
8080 [BZ #2552]
8081 [BZ #2553]
8082 [BZ #2554]
8083 [BZ #2562]
8084 [BZ #2563]
8085 [BZ #2565]
8086 [BZ #2566]
8087 [BZ #2576]
8088 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8089 (y0): Likewise.
8090 * math/w_j0f.c (j0f): Likewise.
8091 (y0f): Likewise.
8092 * math/w_j0l.c (__j0l): Likewise.
8093 (__y0l): Likewise.
8094 * math/w_j1.c (j1): Likewise.
8095 (y1): Likewise.
8096 * math/w_j1f.c (j1f): Likewise.
8097 (y1f): Likewise.
8098 * math/w_j1l.c (__j1l): Likewise.
8099 (__y1l): Likewise.
8100 * math/w_jn.c (jn): Likewise.
8101 (yn): Likewise.
8102 * math/w_jnf.c (jnf): Likewise.
8103 (ynf): Likewise.
8104 * math/w_jnl.c (__jnl): Likewise.
8105 (__ynl): Likewise.
8106 * math/libm-test.inc (j0_test): Add more tests.
8107 (j1_test): Likewise.
8108 (jn_test): Likewise. Add trailing semicolon to existing test.
8109 (y0_test): Likewise.
8110 (y1_test): Likewise.
8111 * sysdeps/i386/fpu/libm-test-ulps: Update.
8112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8113
11b90b9f
JM
8114 [BZ #13851]
8115 [BZ #13854]
8116 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8117 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8118 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8119 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8120 (__tanl): Set errno for infinite argument.
8121 * sysdeps/i386/fpu/mptan.c: Remove.
8122 * sysdeps/i386/fpu/s_tan.S: Likewise.
8123 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8124 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8125 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8126 * math/libm-test.inc (tan_test): Add more tests and enable more
8127 tests for double and long double.
8128 * sysdeps/i386/fpu/libm-test-ulps: Update.
8129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8130
6a1bd2a1
JK
81312012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8132
8133 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8134 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8135
10a803e0
RM
81362012-03-16 Roland McGrath <roland@hack.frob.com>
8137
8138 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8139 * configure.in: Use it for both main tree and add-ons.
8140 * configure: Regenerated.
8141
f196c7f7
L
81422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8143
8144 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8145
8848d99d
JM
81462012-03-16 Joseph Myers <joseph@codesourcery.com>
8147
96cbe7f4
JM
8148 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8149 in comment.
8150
8848d99d
JM
8151 [BZ #13851]
8152 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8153 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8154 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8155 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8156 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8157 infinite argument.
8158 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8159 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8160 != 0 for prec == 2.
8161 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8162 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8163 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8164 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8165 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8166 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8167 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8168 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8169 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8170 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8171 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8172 * math/libm-test.inc (cos_test): Add more tests and enable more
8173 tests for long double.
8174 (sin_test): Likewise.
8175 (sincos_test): Likewise.
8176 * sysdeps/i386/fpu/libm-test-ulps: Update.
8177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8178
dd7f4703
DM
81792012-03-16 David S. Miller <davem@davemloft.net>
8180
8181 * sysdeps/sparc/fpu/math_private.h: New file.
8182
006f1daa
DM
81832012-03-15 David S. Miller <davem@davemloft.net>
8184
c0c83bc8
DM
8185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8186 file.
e6a62e18 8187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8189 file.
e6a62e18
DM
8190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8196 sysdep routines.
8197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8198
88cb87d9
DM
8199 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8200 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8201
006f1daa 8202 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8204 sparc-ifunc.h
006f1daa 8205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8207 Likewise.
8208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8209 Likewise.
006f1daa
DM
8210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8214 Likewise.
006f1daa
DM
8215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8220 Likewise.
8221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8222 Likewise.
006f1daa
DM
8223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8230 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8241 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8243 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8244 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8246 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8247
11e0098e
AS
82482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8249
8250 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8251 scaling.
8252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8253
e85b09d0
AJ
82542012-03-15 Andreas Jaeger <aj@suse.de>
8255
8256 [BZ #13852]
8257 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8258 ieee754/flt-32 implementation for sin, cos and sincos.
8259 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8260 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8261 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8262 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8263 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8264 ieee754/flt-32 implementation for tan.
8265
8266 * math/libm-test.inc (cos_test): Enable some large input tests for
8267 float as well
8268 (sin_test): Likewise.
8269 (sincos_test): Likewise.
8270 (tan_test): Add tests for large input.
8271
8272 * sysdeps/i386/fpu/libm-test-ulps: Update.
8273
81c64153
AJ
82742012-03-15 Andreas Jaeger <aj@suse.de>
8275
8276 [BZ #13658]
8277 * math/libm-test.inc (cos_test): Add more test cases.
8278 (sin_test): Likewise.
8279 (sincos_test): Likewise.
8280
7bbfa5c6
AJ
82812012-03-15 Andreas Jaeger <aj@suse.de>
8282
8283 [BZ #13837]
8284 * math/libm-test.inc (cos_test): Add a test case for large input
8285 value.
8286 (sin_test): Likewise.
8287 (sincos_test): Likewise.
8288
82892012-03-15 Andreas Jaeger <aj@suse.de>,
8290 Joseph Myers <joseph@codesourcery.com>
8291
8292 [BZ #13658]
0671f479 8293 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8294 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8295 * sysdeps/i386/fpu/branred.c: Likewise.
8296 * sysdeps/i386/fpu/dosincos.c: Likewise.
8297 * sysdeps/i386/fpu/mpa.c: Likewise.
8298 * sysdeps/i386/fpu/s_cos.S: Likewise.
8299 * sysdeps/i386/fpu/s_sin.S: Likewise.
8300 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8301 * sysdeps/i386/fpu/sincos32.c: Likewise.
8302
8303 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8304 Define.
8305 (libc_feupdateenv_53bit): Define.
8306 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8307 Define.
8308 (libc_feupdateenv_53bit): Define.
8309
8310 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8311 53 bit (without extend i386 double precision).
8312
8313 * math/libm-test.inc (sincos_test): Add tests for large input.
8314 (sin): Likewise.
8315 (cos): Likewise.
8316
8317 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8318
9cad04ea
AS
83192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8320
8321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8322
f7062b9a
DM
83232012-03-15 David S. Miller <davem@davemloft.net>
8324
8325 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8326 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8327 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8328 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8341 file.
f7062b9a 8342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8344 file.
f7062b9a 8345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8347 file.
f7062b9a 8348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8350 file.
f7062b9a
DM
8351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8353 fmin/fmax sysdep routines.
8354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8355
7bd951ff
DM
83562012-03-14 David S. Miller <davem@davemloft.net>
8357
559398ab
DM
8358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8381 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8384 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8387 routines.
8388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8389 file.
559398ab 8390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8392 file.
559398ab 8393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8395 file.
559398ab 8396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8398 file.
559398ab 8399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8401 file.
559398ab 8402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8404 file.
8405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8406 file.
8407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8408 file.
8409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8410 file.
8411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8412 New file.
8413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8414 file.
8415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8416 file.
559398ab 8417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8419 file.
559398ab 8420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8422 file.
559398ab 8423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8425 file.
559398ab 8426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8428 VIS3 routines.
559398ab
DM
8429
8430 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8431 New file.
8432
5a1c1e32
DM
8433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8434
eae47a36
DM
8435 * sysdeps/sparc/configure.in: New file.
8436 * sysdeps/sparc/configure: Generate.
8437 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8438 * configure: Regenerate.
8439 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8440 * config.make.in (have-as-vis3): New.
8441 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8442 available use -Av9d instead of -Av9a.
8443 * sysdeps/sparc/sparc64/Makefile: Likewise.
8444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8446 New file.
8447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8448 file.
8449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8450 New file.
8451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8452 file.
eae47a36
DM
8453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8458
c0c83bc8
DM
8459 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8460 fzeros/fnegs to load 0x80000000 into a float register instead of
8461 using the stack.
7bd951ff
DM
8462 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8463
bd951ccb
JM
84642012-03-14 Joseph Myers <joseph@codesourcery.com>
8465
8466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8467 bits/syscall.h.
8468 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8469 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8470 ($(inst_includedir)/bits/syscall.h): Remove rule.
8471 ($(objpfx)bits/syscall.d): Include instead of
8472 $(objpfx)syscall-list.d.
8473 (generated): Change syscall-list.h and syscall-list.d to
8474 bits/syscall.h and bits/syscall.d.
8475
bb4e6db2
RM
84762012-03-14 Roland McGrath <roland@hack.frob.com>
8477
8478 [BZ #13846]
8479 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8480
aa4a2ae1
JM
84812012-03-14 Joseph Myers <joseph@codesourcery.com>
8482
e456826d
JM
8483 [BZ #13841]
8484 * math/s_csqrt.c: Include <float.h>.
8485 (__csqrt): Scale large or subnormal inputs.
8486 * math/s_csqrtf.c: Likewise.
8487 * math/s_csqrtl.c: Likewise.
8488 * math/libm-test.inc (csqrt_test): Add more tests.
8489 * sysdeps/i386/fpu/libm-test-ulps: Update.
8490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8491
aa4a2ae1
JM
8492 [BZ #13840]
8493 * math/libm-test.inc (hypot_test): Add more tests.
8494
7c10fd35
DM
84952012-03-13 David S. Miller <davem@davemloft.net>
8496
8497 [BZ #13840]
8498 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8499 double-precision for the calculation instead of scaling.
8500
f453b98b
JM
85012012-03-13 Joseph Myers <joseph@codesourcery.com>
8502
8503 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8504 manipulate bits before adding and subtracting TWO52[sx].
8505 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8506 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8507 Likewise.
8508 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8509
09a3453f
DM
85102012-03-13 David S. Miller <davem@davemloft.net>
8511
8e59da90
DM
8512 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8513 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8515 rtld-global-offsets.h
8516 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8517
2a8ab7f2
DM
8518 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8519 large parameters.
8520
10f62770
DM
8521 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8522
5f0bdb18
DM
8523 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8524 'err' in the ifdef scope in which it is actually used.
8525
09a3453f
DM
8526 * nss/nss_db/db-init.c: Include string.h
8527
b4b2eb5e
DM
85282012-03-12 David S. Miller <davem@davemloft.net>
8529
98bb2f1c
DM
8530 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8531 masking out of the most significant byte of random value used.
8532 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8533 Fix coding style in previous change.
8534
b4b2eb5e
DM
8535 * sysdeps/unix/sysv/linux/kernel-features.h
8536 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8537 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8538 expression.
8539 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8540 later.
8541
6e226b09
DM
85422012-03-11 David S. Miller <davem@davemloft.net>
8543
a1bcbd40
DM
8544 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8545 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8546 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8547 for 'resultvar' otherwise things get truncated on 64-bit.
8548
cb9d6174
DM
8549 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8550 Fix masking out of the most significant byte of random value used.
8551
6e226b09
DM
8552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8553
058c132d
AS
85542012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8555
8556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8557
2d2cd515
DM
85582012-03-09 David S. Miller <davem@davemloft.net>
8559
8560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8561 variables with appropriate CPP guards.
8562 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8563 frame pointer, not the stack pointer. Correct layout comments. Fix test
8564 on resulting framesize and the management of the outregs buffer for pltexit.
8565 Preserve floating point return values across _dl_call_pltexit call.
8566 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8567 framesize and the management of the outregs buffer for pltexit.
8568 Preserve floating point return values across _dl_call_pltexit
8569 call.
8570 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8571 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8572 (print_exit): Fix format string for return register value.
8573
9a07f9d0
JM
85742012-03-10 Joseph Myers <joseph@codesourcery.com>
8575
8576 * sunrpc/Makefile (others): Add rpcgen.
8577 ($(objpfx)rpcgen): Remove special build rule and dependency on
8578 libc.
8579 * sunrpc/rpcgen.c: New file.
8580
547b5e30
PE
85812012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8582
c524201a
PE
8583 [BZ #13673]
8584 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8585 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8586 * sysdeps/i386/crti.S: Likewise.
8587 * sysdeps/i386/crtn.S: Likewise.
8588 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8589 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8590 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8591 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8592 * sysdeps/sh/crti.S: Likewise.
8593 * sysdeps/sh/crtn.S: Likewise.
8594 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8595
7b6235f2
PE
8596 [BZ #13673]
8597 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8598 with URL.
8599 * locale/programs/locfile-kw.gperf: Likewise.
8600 * locale/programs/charmap-kw.h: Regenerated.
8601 * locale/programs/locfile-kw.h: Likewise.
8602
547b5e30
PE
8603 [BZ #13673]
8604 * intl/plural.y: Replace FSF snail mail address with URL.
8605 * intl/plural.c: Regenerated.
8606
5f0a5dae
RH
86072012-03-09 Richard Henderson <rth@twiddle.net>
8608
8609 * include/math_private.h: Remove file.
8610 * math/math_private.h: Move file ...
8611 * sysdeps/generic/math_private.h: ... here.
8612
b8c03620
RH
8613 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8614 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8615 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8616
4e234f5d 8617 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8618 and <math_private.h>.
8619 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8620 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8621 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8622 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8623 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8633 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8634 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8638 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8640 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8641 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8643 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8644 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8646 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8649 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8651 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8653 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8661 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8707 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8708 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8709 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8710 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8711 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8712 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8713 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8714 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8715 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8716 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8718 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8719 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8720 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8721 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8722 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8723 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8724 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8725 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8726 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8727 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8728 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8729 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8730 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8731 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8732 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8733 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8734 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8735 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8736 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8737 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8738 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8739 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8740 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8741 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8742 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8743 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8744 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8745 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8746 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8747 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8748 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8749 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8750 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8751 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8752 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8753 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8754 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8755 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8756 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8757 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8758 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8759 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8760 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8761 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8762 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8763 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8764 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8765 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8766 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8767 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8768 * sysdeps/ieee754/k_standard.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8802 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8884 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8888 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8891 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8896 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8901 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8904 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8908 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8909 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8910 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8914 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8915 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8917 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8918 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8919 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8920 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8925 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8929 * sysdeps/ieee754/s_lib_version.c: Likewise.
8930 * sysdeps/ieee754/s_matherr.c: Likewise.
8931 * sysdeps/ieee754/s_signgam.c: Likewise.
8932 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8933 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8934 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8935 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8936 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8937 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8938 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8939 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8940 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8941 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8942 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8943 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8944 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8945 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8946 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8947 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8948 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8949 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8950 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8951 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8952 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8953
1991fa03
JM
89542012-03-09 Joseph Myers <joseph@codesourcery.com>
8955
8956 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8957 * sunrpc/rpc_main.c: Likewise.
8958 * sunrpc/rpc_svcout.c: Likewise.
8959
60d6f5a6
DM
89602012-03-09 David S. Miller <davem@davemloft.net>
8961
8962 * include/math_private.h: New file.
8963
4962050e
JM
89642012-03-09 Joseph Myers <joseph@codesourcery.com>
8965
02a6f887
JM
8966 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8967 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8968 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8969 from <bits/socket_type.h>.
8970 (enum __socket_type): Don't define here.
8971 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8973 bits/socket_type.h.
8974
c6e013c1
JM
8975 [BZ #13566]
8976 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8977 checking __USE_GNU.
8978
4962050e
JM
8979 * Makerules ($(inst_includedir)/%.h): New rule.
8980 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8981 (install-others): Remove variable setting.
8982 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8983
38842f45
RH
89842012-03-08 Richard Henderson <rth@twiddle.net>
8985
67bb6da6
RH
8986 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8987 from macro to inline function; merge with the
8988 !__LIBC_INTERNAL_MATH_INLINES version.
8989 (__ieee754_sqrtf): Likewise.
8990
15194b4b
RH
8991 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8992 to inline function.
8993 (__rintf, __floor, __floorf): Likewise.
8994
64e21ede
RH
8995 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8996 macro to inline function.
8997 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8998
38842f45
RH
8999 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9000 not <math/math_private.h>.
9001
c64bf5fe
DM
90022012-03-08 David S. Miller <davem@davemloft.net>
9003
9004 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9005 copyright year.
9006 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9007
82d86f28
TS
90082012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9009
9010 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9011 normalization.
9012 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9013 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9014
aea5d727
UD
90152012-03-08 Ulrich Drepper <drepper@gmail.com>
9016
9017 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9018 be defined individually, they must be defined as a block. Define
9019 S for printing a string instead of hidint the different by using a
9020 macro for adding the 'l'.
9021 * stdio-common/tst-fphex-wide.c: Adjust.
9022
70bca0a3
MP
90232012-03-07 Marek Polacek <polacek@redhat.com>
9024
9025 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9026
65b81130
MP
90272012-03-08 Marek Polacek <polacek@redhat.com>
9028
9029 [BZ #13806]
9030 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9031 * stdio-common/tst-fphex.c: Define a few macros to make the
9032 test reusable. Use them.
9033 * stdio-common/tst-fphex-wide.c: New file.
9034
07037eeb
JM
90352012-03-08 Joseph Myers <joseph@codesourcery.com>
9036
a7a93d50
JM
9037 [BZ #6911]
9038 * manual/macros.texi (gnusystems): New macro.
9039 (nongnusystems): Likewise.
9040 (gnulinuxhurdsystems): Likewise.
9041 (gnuhurdsystems): Likewise..
9042 (gnulinuxsystems): Likewise.
9043 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9044 variants of the GNU system, not "GNU system".
9045 * manual/conf.texi: Likewise.
9046 * manual/errno.texi: Likewise. Update example of errno macro
9047 expansion.
9048 * manual/filesys.texi: Likewise.
9049 (getumask): Document as specific to GNU/Hurd.
9050 * manual/install.texi: Likewise. Reword some references to
9051 GNU/Linux.
9052 * manual/intro.texi: Likewise.
9053 * manual/io.texi: Likewise.
9054 (File Name Portability): Detail which constraints are inapplicable
9055 to all GNU systems and which are only inapplicable to GNU/Hurd.
9056 * manual/job.texi: Likewise.
9057 * manual/llio.texi: Likewise.
9058 (O_NOCTTY): Document as present on GNU/Linux.
9059 * manual/maint.texi: Likewise.
9060 * manual/memory.texi: Likewise.
9061 * manual/pattern.texi: Likewise.
9062 * manual/pipe.texi: Likewise.
9063 * manual/process.texi: Likewise.
9064 * manual/resource.texi: Likewise.
9065 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9066 child on GNU/Hurd.
9067 * manual/setjmp.texi: Likewise.
9068 * manual/signal.texi: Likewise.
9069 * manual/startup.texi: Likewise.
9070 * manual/stdio.texi: Likewise.
9071 * manual/terminal.texi: Likewise.
9072 (ONLCR): Document as POSIX.
9073 (OXTABS): Document availability on GNU/Linux as XTABS.
9074 (ONOEOT): Document availability separately from other bits.
9075 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9076 * manual/time.texi: Likewise.
9077 * manual/users.texi: Likewise.
9078 * INSTALL: Regenerated.
9079 * sysdeps/gnu/errlist.c: Regenerated.
9080
07037eeb
JM
9081 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9082 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9083 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9084 puts.
9085 * configure: Regenerated.
9086
d1d3431a
JM
90872012-03-07 Joseph Myers <joseph@codesourcery.com>
9088
af6a1e37
JM
9089 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9090 default includes instead of AC_HEADER_CHECK.
9091 * sysdeps/i386/configure: Regenerated.
9092
d1d3431a
JM
9093 [BZ #10716]
9094 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9095 * math/s_cacoshf.c (__cacoshf): Likewise.
9096 * math/s_cacoshl.c (__cacoshl): Likewise.
9097 * math/s_casinh.c (__casinh): Set signs of result from argument.
9098 * math/s_casinhf.c (__casinhf): Likewise.
9099 * math/s_casinhl.c (__casinhl): Likewise.
9100 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9101 (casinh_test): Add more tests.
9102 * sysdeps/i386/fpu/libm-test-ulps: Update.
9103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9104
482ff4da
UD
91052012-03-07 Ulrich Drepper <drepper@gmail.com>
9106
872fda05
UD
9107 * po/zh_TW.po: Update from translation team.
9108
a4300c7a
UD
9109 * login/Makefile (distribute): Remove variable.
9110 * catgets/Makefile: Likewise.
9111 * mach/Makefile: Likewise.
9112 * malloc/Makefile: Likewise.
9113 * misc/Makefile: Likewise.
9114 * iconv/Makefile: Likewise.
9115 * nscd/Makefile: Likewise.
9116 * hurd/Makefile: Likewise.
9117 * manual/Makefile: Likewise.
9118 * locale/Makefile: Likewise.
9119 * intl/Makefile: Likewise.
9120 * conform/Makefile: Likewise.
9121 * nss/Makefile: Likewise.
9122 * time/Makefile: Likewise.
9123 * soft-fp/Makefile: Likewise.
9124 * dirent/Makefile: Likewise.
9125 * gmon/Makefile: Likewise.
9126 * po/Makefile: Likewise.
9127 * rt/Makefile: Likewise.
9128 * socket/Makefile: Likewise.
9129 * math/Makefile: Likewise.
9130 * signal/Makefile: Likewise.
9131 * debug/Makefile: Likewise.
9132 * elf/Makefile: Likewise.
9133 * timezone/Makefile: Likewise.
9134 * stdlib/Makefile: Likewise.
9135 * iconvdata/Makefile: Likewise.
9136 * sunrpc/Makefile: Likewise.
9137 * io/Makefile: Likewise.
9138 * argp/Makefile: Likewise.
9139 * inet/Makefile: Likewise.
9140 * hesiod/Makefile: Likewise.
9141 * grp/Makefile: Likewise.
9142 * csu/Makefile: Likewise.
9143 * wctype/Makefile: Likewise.
9144 * crypt/Makefile: Likewise.
9145 * libio/Makefile: Likewise.
9146 * string/Makefile: Likewise.
9147 * nis/Makefile: Likewise.
9148 * resolv/Makefile: Likewise.
9149 * stdio-common/Makefile: Likewise.
9150 * wcsmbs/Makefile: Likewise.
9151 * dlfcn/Makefile: Likewise.
9152 * posix/Makefile: Likewise.
9153
3b7c4e74 9154 [BZ #6959]
482ff4da
UD
9155 * timezone/Makefile: Don't install timezone files, just the programs
9156 and scripts.
9157
f72ed77d
UD
91582012-03-06 Ulrich Drepper <drepper@gmail.com>
9159
a000466f
UD
9160 * nss/databases.def: Add missing gshadow entry.
9161
f72ed77d
UD
9162 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9163
a53b7a4e
MP
91642012-03-06 Marek Polacek <polacek@redhat.com>
9165
9166 [BZ #13726]
9167 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9168 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9169 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9170 * stdio-common/tst-long-dbl-fphex.c: New file.
9171
e9258400
DM
91722012-03-06 David S. Miller <davem@davemloft.net>
9173
9174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9175 (set_obp_int): New function.
9176 (get_obp_int): New function.
9177 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9178 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9179 Avoid unused variable warnings on 'val' and use builtin_expect.
9180 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9181 __builtin_expect.
e9258400
DM
9182 (INLINE_CLONE_SYSCALL): Likewise.
9183
3bd2c723
DM
91842012-03-05 David S. Miller <davem@davemloft.net>
9185
9186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9187
bbb78d03
AS
91882012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9189
884c5db4
AS
9190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9191
bbb78d03
AS
9192 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9193 only for |x| >= 40.
9194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9195
1c9f702a 91962012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9197
9198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9199 Replace gettimeofday with __vdso_gettimeofday.
9200
7be16f82
RM
9201 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9202 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9203 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9204
9205 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9206 time with __vdso_time.
9207
ed58a00f
JM
92082012-03-05 Joseph Myers <joseph@codesourcery.com>
9209
9210 * manual/lang.texi (size_t): Note types to which size_t may be
9211 equivalent with the GNU C Library, but do not describe when
9212 differences between them are significant.
9213
30ee4ced
AJ
92142012-03-05 Andreas Jaeger <aj@suse.de>
9215
9216 * sysdeps/i386/fpu/libm-test-ulps: Update.
9217
b7cd39e8
JM
92182012-03-05 Joseph Myers <joseph@codesourcery.com>
9219
9220 [BZ #3976]
9221 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9222 (__ieee754_pow): Save and restore rounding mode and use
9223 round-to-nearest for main computations.
9224 * math/libm-test.inc (pow_test_tonearest): New function.
9225 (pow_test_towardzero): Likewise.
9226 (pow_test_downward): Likewise.
9227 (pow_test_upward): Likewise.
9228 (main): Call the new functions.
9229 * sysdeps/i386/fpu/libm-test-ulps: Update.
9230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9231
9232 [BZ #3976]
9233 * math/libm-test.inc (cosh_test_tonearest): New function.
9234 (cosh_test_towardzero): Likewise.
9235 (cosh_test_downward): Likewise.
9236 (cosh_test_upward): Likewise.
9237 (sinh_test_tonearest): Likewise.
9238 (sinh_test_towardzero): Likewise.
9239 (sinh_test_downward): Likewise.
9240 (sinh_test_upward): Likewise.
9241 (main): Call the new functions.
9242 * sysdeps/i386/fpu/libm-test-ulps: Update.
9243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9244
6c6a98c9
TV
92452012-03-05 Tom de Vries <tom@codesourcery.com>
9246
9247 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9248 default stack guard is set in last bytes.
9249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9250
21bb2d2e 92512012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9252
21bb2d2e 9253 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9254
21bb2d2e
AJ
9255 [BZ #13656]
9256 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9257 possibly allocate from heap instead of stack.
9258 * stdio-common/bug-vfprintf-nargs.c: New file.
9259 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9260
c6922934
AS
92612012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9262
9263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9264
bc957d53
MP
92652012-03-03 Marek Polacek <polacek@redhat.com>
9266
9267 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9268 * math/math_private.h: Likewise.
9269 * stdlib/tst-strtod.c: Likewise.
9270 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9271 * sysdeps/x86_64/bits/atomic.h: Likewise.
9272
6358490d
DM
92732012-03-02 David S. Miller <davem@davemloft.net>
9274
9275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9279 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9280 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9281 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9282 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9283
01ae168d
RM
92842012-03-02 Roland McGrath <roland@hack.frob.com>
9285
d9a17c07
RM
9286 [BZ #13792]
9287 * manual/examples/README: New file, says the example source files
9288 can be used under GPL>=2.
9289 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9290 line containing just "*/".
9291 * manual/examples/add.c: Add copyright header (GPL>=2).
9292 * manual/examples/argp-ex1.c: Likewise.
9293 * manual/examples/argp-ex2.c: Likewise.
9294 * manual/examples/argp-ex3.c: Likewise.
9295 * manual/examples/argp-ex4.c: Likewise.
9296 * manual/examples/atexit.c: Likewise.
9297 * manual/examples/db.c: Likewise.
9298 * manual/examples/dir.c: Likewise.
9299 * manual/examples/dir2.c: Likewise.
9300 * manual/examples/execinfo.c: Likewise.
9301 * manual/examples/filecli.c: Likewise.
9302 * manual/examples/filesrv.c: Likewise.
9303 * manual/examples/fmtmsgexpl.c: Likewise.
9304 * manual/examples/genpass.c: Likewise.
9305 * manual/examples/inetcli.c: Likewise.
9306 * manual/examples/inetsrv.c: Likewise.
9307 * manual/examples/isockad.c: Likewise.
9308 * manual/examples/longopt.c: Likewise.
9309 * manual/examples/memopen.c: Likewise.
9310 * manual/examples/memstrm.c: Likewise.
9311 * manual/examples/mkfsock.c: Likewise.
9312 * manual/examples/mkisock.c: Likewise.
9313 * manual/examples/mygetpass.c: Likewise.
9314 * manual/examples/pipe.c: Likewise.
9315 * manual/examples/popen.c: Likewise.
9316 * manual/examples/rprintf.c: Likewise.
9317 * manual/examples/search.c: Likewise.
9318 * manual/examples/select.c: Likewise.
9319 * manual/examples/setjmp.c: Likewise.
9320 * manual/examples/sigh1.c: Likewise.
9321 * manual/examples/sigusr.c: Likewise.
9322 * manual/examples/stpcpy.c: Likewise.
9323 * manual/examples/strdupa.c: Likewise.
9324 * manual/examples/strftim.c: Likewise.
9325 * manual/examples/strncat.c: Likewise.
9326 * manual/examples/subopt.c: Likewise.
9327 * manual/examples/swapcontext.c: Likewise.
9328 * manual/examples/termios.c: Likewise.
9329 * manual/examples/testopt.c: Likewise.
9330 * manual/examples/testpass.c: Likewise.
9331 * manual/examples/timeval_subtract.c: Likewise.
9332
01ae168d
RM
9333 [BZ #13792]
9334 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9335 function to ...
9336 * manual/timeval_subtract.c.texi: ... here, new file.
9337
49efa33d
DM
93382012-03-02 David S. Miller <davem@davemloft.net>
9339
9340 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9341
28afd92d
JM
93422012-03-02 Joseph Myers <joseph@codesourcery.com>
9343
804360ed
JM
9344 [BZ #3976]
9345 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9346 (__sin): Save and restore rounding mode and use round-to-nearest
9347 for all computations.
9348 (__cos): Save and restore rounding mode and use round-to-nearest
9349 for all computations.
9350 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9351 <fenv.h>.
9352 (tan): Save and restore rounding mode and use round-to-nearest for
9353 all computations.
9354 * math/libm-test.inc (cos_test_tonearest): New function.
9355 (cos_test_towardzero): Likewise.
9356 (cos_test_downward): Likewise.
9357 (cos_test_upward): Likewise.
9358 (sin_test_tonearest): Likewise.
9359 (sin_test_towardzero): Likewise.
9360 (sin_test_downward): Likewise.
9361 (sin_test_upward): Likewise.
9362 (tan_test_tonearest): Likewise.
9363 (tan_test_towardzero): Likewise.
9364 (tan_test_downward): Likewise.
9365 (tan_test_upward): Likewise.
9366 (main): Call the new functions.
9367 * sysdeps/i386/fpu/libm-test-ulps: Update.
9368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9369
a6d06d7b
JM
9370 [BZ #10135]
9371 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9372 small n, then large n, before computing and testing k+n.
9373 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9374 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9375 Likewise.
9376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9377 Likewise.
9378 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9379 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9380 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9381 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9382 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9383 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9384 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9385 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9386 * math/libm-test.inc (scalbn_test): Add more tests.
9387 (scalbln_test): Likewise.
9388
07e12bb3
JM
9389 * manual/filesys.texi (mode_t): Describe constraints on size and
9390 signedness, not exact equivalence to a particular type.
9391 (ino_t): Likewise.
9392 (ino64_t): Likewise.
9393 (dev_t): Likewise.
9394 (nlink_t): Likewise.
9395 (blkcnt_t): Likewise.
9396 (blkcnt64_t): Likewise.
9397 * manual/llio.texi (off_t): Likewise.
9398
28afd92d
JM
9399 [BZ #3976]
9400 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9401 (__ieee754_exp): Save and restore rounding mode and use
9402 round-to-nearest for all computations.
9403 * math/libm-test.inc (exp_test_tonearest): New function.
9404 (exp_test_towardzero): Likewise.
9405 (exp_test_downward): Likewise.
9406 (exp_test_upward): Likewise.
9407 (main): Call the new functions.
9408 * sysdeps/i386/fpu/libm-test-ulps: Update.
9409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9410
b1eeb65d
CD
94112012-03-01 Chris Demetriou <cgd@google.com>
9412
9413 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9414 have predictable order.
9415
53362a4b
DM
94162012-03-01 David S. Miller <davem@davemloft.net>
9417
3c969083
DM
9418 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9419
759707de
DM
9420 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9421 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9422 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9423 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9424
dfdb8ff2
DM
9425 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9426 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9427 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9429 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9430 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9431 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9432 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9433 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9434
ead89f96
DM
9435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9436
7f66bd07
DM
9437 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9438 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9439 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9440
53362a4b
DM
9441 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9442 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9443 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9444 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9445 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9446 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9447 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9448 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9449 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9450 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9451 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9452 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9454 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9455 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9456 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9457 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9458 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9459 * sysdeps/sparc/elf/configure: Regenerated.
9460
7b1902cb
JM
94612012-03-01 Joseph Myers <joseph@codesourcery.com>
9462
bec039bc
JM
9463 * configure.in (AS, LD): Require binutils 2.20 or later.
9464 * configure: Regenerated.
9465 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9466 as required minimum version.
9467 * INSTALL: Regenerated.
9468
7b1902cb
JM
9469 [BZ #2541]
9470 [BZ #4108]
9471 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9472 before squaring exponent.
9473 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9474 bottom long double and 27 bits of top long double before squaring
9475 exponent.
9476 * math/libm-test.inc (erfc_test): Add more tests.
9477 * sysdeps/i386/fpu/libm-test-ulps: Update.
9478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9480
f775c276
KT
94812012-03-01 Kai Tietz <ktietz@redhat.com>
9482
9483 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9484 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9485 containing bit-fields.
9486 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9487 * soft-fp/single.h (_FP_UNION_S): Likewise.
9488 * soft-fp/double.h (_FP_UNION_D): Likewise.
9489
5b8a4d4a
JM
94902012-02-29 Joseph Myers <joseph@codesourcery.com>
9491
0bab47b6
JM
9492 [BZ #13786]
9493 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9494 not include ../strcmp.S.
9495 [USE_AS_STRNCASECMP_L]: Likewise.
9496 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9497 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9498 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9499 (__strncasecmp_l_ia32): Define as alias to
9500 __strncasecmp_l_nonascii.
9501
0fcad3e2
JM
9502 [BZ #5794]
9503 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9504 * sysdeps/i386/fpu/libm-test-ulps: Update.
9505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9506
5b8a4d4a
JM
9507 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9509
8fdceb2e
JL
95102012-02-29 Jeff Law <law@redhat.com>
9511
9512 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9513 out of bounds read.
9514
1f393a11
MP
95152012-02-29 Marek Polacek <polacek@redhat.com>
9516
9517 [BZ #13706]
9518 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9519 * elf/Makefile: Add rules to run tst-unused-dep.out.
9520
8847f037
DM
95212012-02-28 David S. Miller <davem@davemloft.net>
9522
9523 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9524 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9525 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9526 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9527 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9528 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9529
169d7f11
JM
95302012-02-29 Joseph Myers <joseph@codesourcery.com>
9531
9532 * math/libm-test.inc (llround_test): Move one test from
9533 lround_test. Use TEST_f_L in moved test.
9534 (lround_test): Move misplaced test to llround_test. Add testcase
9535 from bug 2561.
9536
39adf059
UD
95372012-02-28 Ulrich Drepper <drepper@gmail.com>
9538
9539 * sysdeps/x86_64/fpu/e_expf.S: New file.
9540 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9541
71b5d1c5
SB
95422012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9543
9544 [BZ #13637]
9545 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9546 of remain_len that may cause incomplete multi-byte character and
9547 false match.
9548 * posix/bug-regex33.c: New file.
9549 * posix/Makefile (tests): Add bug-regex33.
9550
1f77f049
JM
95512012-02-28 Joseph Myers <joseph@codesourcery.com>
9552
9553 * manual/macros.texi: New file.
9554 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9555 * manual/libc.texinfo: Include macros.texi.
9556 * manual/creatute.texi: Likewise.
9557 * manual/install.texi: Likewise.
9558 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9559 @glibcadj{} in references to the GNU C Library.
9560 * manual/charset.texi: Likewise.
9561 * manual/conf.texi: Likewise.
9562 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9563 when not using those macros.
9564 * manual/creature.texi: Likewise.
9565 * manual/crypt.texi: Likewise.
9566 * manual/errno.texi: Likewise.
9567 * manual/filesys.texi: Likewise.
9568 * manual/header.texi: Likewise.
9569 * manual/install.texi: Likewise.
9570 * manual/intro.texi: Likewise.
9571 * manual/io.texi: Likewise.
9572 * manual/job.texi: Likewise.
9573 * manual/lang.texi: Likewise.
9574 * manual/libc.texiinfo: Likewise.
9575 * manual/llio.texi: Likewise.
9576 * manual/locale.texi: Likewise.
9577 * manual/maint.texi: Likewise.
9578 * manual/math.texi: Likewise.
9579 * manual/memory.texi: Likewise.
9580 * manual/message.texi: Likewise.
9581 * manual/nss.texi: Likewise.
9582 * manual/pattern.texi: Likewise.
9583 * manual/process.texi: Likewise.
9584 * manual/resource.texi: Likewise.
9585 * manual/search.texi: Likewise.
9586 * manual/setjmp.texi: Likewise.
9587 * manual/signal.texi: Likewise.
9588 * manual/socket.texi: Likewise.
9589 * manual/startup.texi: Likewise.
9590 * manual/stdio.texi: Likewise.
9591 * manual/string.texi: Likewise.
9592 * manual/sysinfo.texi: Likewise.
9593 * manual/syslog.texi: Likewise.
9594 * manual/terminal.texi: Likewise.
9595 * manual/time.texi: Likewise.
9596 * manual/users.texi: Likewise.
9597 * INSTALL: Regenerated.
9598 * NOTES: Regenerated.
d40c5d54 9599 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9600
450bf206
AS
96012012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9602
9603 * include/dirent.h: Include <dirstream.h> before
9604 <dirent/dirent.h>.
9605
741a235b
DM
96062012-02-28 David S. Miller <davem@davemloft.net>
9607
9608 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9609 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9610 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9611 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9612
d6b5aa58
DM
96132012-02-27 David S. Miller <davem@davemloft.net>
9614
1aff59a3
DM
9615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9617 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9618 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9619
d6b5aa58
DM
9620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9621 frame pointer instead of stack pointer relative arg slot.
9622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9623 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9624 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9625
433f48bf
CD
96262012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9627
9628 [BZ #3992]
9629 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9630
d674b76d
DM
96312012-02-27 David S. Miller <davem@davemloft.net>
9632
9633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9637 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9638 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9639 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9640 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9641
0e7727f7
JM
96422012-02-27 Joseph Myers <joseph@codesourcery.com>
9643
9644 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9645 later. Allow versions 5-9.
43be4ca2 9646 * configure: Regenerated.
0e7727f7
JM
9647 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9648 required minimum version and 4.6 as recommended version. Do not
9649 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9650 * INSTALL: Regenerated.
0e7727f7 9651
a78bc654
DM
96522012-02-27 David S. Miller <davem@davemloft.net>
9653
428d5830
DM
9654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9658 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9659 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9660 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9661 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9662
a78bc654
DM
9663 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9664 manipulate bits before adding and subtracting TWO112[sx].
9665 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9666
4579f81c
RM
96672012-02-27 Roland McGrath <roland@hack.frob.com>
9668
36c8acb4
RM
9669 [BZ #13775]
9670 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9671 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9672 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9673 being in POSIX, because they are in 1003.1-2008.
9674
84ad622b
RM
9675 * rt/tst-aio.c: Include <fcntl.h>.
9676 * rt/tst-aio7.c: Likewise.
9677 * rt/tst-aio64.c: Likewise.
9678
4579f81c
RM
9679 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9680
abd923db
JM
96812012-02-27 Joseph Myers <joseph@codesourcery.com>
9682
9683 * manual/install.texi (--with-headers): Describe headers as
9684 interface headers, not private headers.
9685 (Specific advice for GNU/Linux systems): Describe use of headers
9686 from "make headers_install", not private headers from older
9687 kernels.
43be4ca2 9688 * INSTALL: Regenerated.
abd923db
JM
9689 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9690 Change to 2.6.19.
9691 * sysdeps/unix/sysv/linux/configure: Regenerated.
9692
6664049b
JM
9693 * manual/llio.texi (fclean): Remove documentation.
9694
bb8b6697
JM
9695 * manual/Makefile (libc-texi-generated): New variable. Include
9696 version.texi.
9697 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9698 $(libc-texi-generated), not duplicated list of files.
9699 (version.texi, stamp-version): New rules.
9700 (realclean): Remove $(libc-texi-generated), not individual files
9701 from that list. Do not remove dir-add.texinfo.
9702 * manual/libc.texinfo: Comment out uses of edition numbers and
9703 references to printed manual. Remove last-updated dates.
9704 (EDITION): Comment out.
9705 (ISBN): Likewise.
9706 (VERSION, UPDATED): Remove.
9707 (version.texi): Include.
9708
12e5c3b9
AS
97092012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9710
9711 * sysdeps/posix/spawni.c: Include <signal.h>.
9712 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9713 * sysdeps/pthread/aio_fsync.c: Likewise.
9714
4efeffc1 97152012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9716
ba63ba08
UD
9717 * conform/Makefile (tests): Run only when not cross-compiling and
9718 when fast-check is not defined.
9719
d94a4670
UD
9720 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9721 * conform/data/limits.h-data: Fixes for POSIX2008.
9722 * conform/run-conformtest.sh: Run all tests.
9723 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9724 headers.
9725 * include/bits/dlfcn.h: Likewise.
9726 * include/langinfo.h: Likewise.
9727 * include/monetary.h: Likewise.
9728 * include/sys/poll.h: Likewise.
9729
9730 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9731 for __USE_GNU.
9732 * posix/spawn.h: Define __need_sigset_t.
9733 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9734 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9735 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9736 to get sigevent_t only.
9737 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9738 only for __USE_GNU.
9739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9740 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9741 process_vm_writev only for __USE_GNU.
9742 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9743
9744 * conform/Makefile: For now ignore errors from run-conformtest.
9745 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9746 POSIX to avoid namespace pollution. Don't prepend headers.
9747 * conform/data/aio.h-data: Fixes for POSIX testing.
9748 * conform/data/fcntl.h-data: Likewise.
9749 * conform/data/glob.h-data: Likewise.
9750 * conform/data/grp.h-data: Likewise.
9751 * conform/data/pthread.h-data: Likewise.
9752 * conform/data/pwd.h-data: Likewise.
9753 * conform/data/signal.h-data: Likewise.
9754 * conform/data/spawn.h-data: Likewise.
9755 * conform/data/stdio.h-data: Likewise.
9756 * conform/data/stdlib.h-data: Likewise.
9757 * conform/data/stropts.h-data: Likewise.
9758 * conform/data/sys/mman.h-data: Likewise.
9759 * conform/data/sys/stat.h-data: Likewise.
9760 * conform/data/sys/types.h-data: Likewise.
9761 * conform/data/sys/wait.h-data: Likewise.
9762 * conform/data/time.h-data: Likewise.
9763 * conform/data/unistd.h-data: Likewise.
9764 * conform/data/utime.h-data: Likewise.
9765
9766 * io/sys/stat.h: fchmod was always in POSIX.
9767 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9768 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9769 * rt/aio.h: Define __need_timespec before including <time.h>.
9770 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9771 struct. Add forward declaration of pthread_attr_t and use it in
9772 sigevent.
9773 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9774 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9775 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9776 always remove CLK_TCK definition.
9777
c20105c3
AS
97782012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9779
9780 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9781
7a270350
UD
97822012-02-25 Ulrich Drepper <drepper@gmail.com>
9783
31341567
UD
9784 * conform/run-conformtest.sh: New file.
9785 * conform/Makefile: Run run-conformtest for tests.
9786 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9787 support.
9788
9789 * conform/data/uchar.h-data: New file.
9790 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9791 * conform/data/arpa/inet.h-data: Likewise.
9792 * conform/data/assert.h-data: Likewise.
9793 * conform/data/complex.h-data: Likewise.
9794 * conform/data/cpio.h-data: Likewise.
9795 * conform/data/ctype.h-data: Likewise.
9796 * conform/data/dirent.h-data: Likewise.
9797 * conform/data/dlfcn.h-data: Likewise.
9798 * conform/data/errno.h-data: Likewise.
9799 * conform/data/fcntl.h-data: Likewise.
9800 * conform/data/float.h-data: Likewise.
9801 * conform/data/fmtmsg.h-data: Likewise.
9802 * conform/data/fnmatch.h-data: Likewise.
9803 * conform/data/ftw.h-data: Likewise.
9804 * conform/data/glob.h-data: Likewise.
9805 * conform/data/grp.h-data: Likewise.
9806 * conform/data/iconv.h-data: Likewise.
9807 * conform/data/inttypes.h-data: Likewise.
9808 * conform/data/langinfo.h-data: Likewise.
9809 * conform/data/libgen.h-data: Likewise.
9810 * conform/data/limits.h-data: Likewise.
9811 * conform/data/locale.h-data: Likewise.
9812 * conform/data/math.h-data: Likewise.
9813 * conform/data/monetary.h-data: Likewise.
9814 * conform/data/mqueue.h-data: Likewise.
9815 * conform/data/ndbm.h-data: Likewise.
9816 * conform/data/net/if.h-data: Likewise.
9817 * conform/data/netdb.h-data: Likewise.
9818 * conform/data/netinet/in.h-data: Likewise.
9819 * conform/data/nl_types.h-data: Likewise.
9820 * conform/data/poll.h-data: Likewise.
9821 * conform/data/pthread.h-data: Likewise.
9822 * conform/data/pwd.h-data: Likewise.
9823 * conform/data/regex.h-data: Likewise.
9824 * conform/data/sched.h-data: Likewise.
9825 * conform/data/search.h-data: Likewise.
9826 * conform/data/semaphore.h-data: Likewise.
9827 * conform/data/setjmp.h-data: Likewise.
9828 * conform/data/signal.h-data: Likewise.
9829 * conform/data/spawn.h-data: Likewise.
9830 * conform/data/stdarg.h-data: Likewise.
9831 * conform/data/stdio.h-data: Likewise.
9832 * conform/data/stdlib.h-data: Likewise.
9833 * conform/data/string.h-data: Likewise.
9834 * conform/data/strings.h-data: Likewise.
9835 * conform/data/stropts.h-data: Likewise.
9836 * conform/data/sys/ipc.h-data: Likewise.
9837 * conform/data/sys/mman.h-data: Likewise.
9838 * conform/data/sys/msg.h-data: Likewise.
9839 * conform/data/sys/resource.h-data: Likewise.
9840 * conform/data/sys/select.h-data: Likewise.
9841 * conform/data/sys/sem.h-data: Likewise.
9842 * conform/data/sys/shm.h-data: Likewise.
9843 * conform/data/sys/socket.h-data: Likewise.
9844 * conform/data/sys/stat.h-data: Likewise.
9845 * conform/data/sys/statvfs.h-data: Likewise.
9846 * conform/data/sys/time.h-data: Likewise.
9847 * conform/data/sys/timeb.h-data: Likewise.
9848 * conform/data/sys/times.h-data: Likewise.
9849 * conform/data/sys/types.h-data: Likewise.
9850 * conform/data/sys/uio.h-data: Likewise.
9851 * conform/data/sys/un.h-data: Likewise.
9852 * conform/data/sys/utsname.h-data: Likewise.
9853 * conform/data/sys/wait.h-data: Likewise.
9854 * conform/data/syslog.h-data: Likewise.
9855 * conform/data/tar.h-data: Likewise.
9856 * conform/data/termios.h-data: Likewise.
9857 * conform/data/utime.h-data: Likewise.
9858 * conform/data/utmpx.h-data: Likewise.
9859 * conform/data/varargs.h-data: Likewise.
9860 * conform/data/wchar.h-data: Likewise.
9861 * conform/data/wctype.h-data: Likewise.
9862 * conform/data/wordexp.h-data: Likewise.
9863
9864 * include/stropts.h: New file.
9865 * include/uchar.h: New file.
9866 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9867 * include/assert.h: Likewise.
9868 * include/ctype.h: Likewise.
9869 * include/dirent.h: Likewise.
9870 * include/dlfcn.h: Likewise.
9871 * include/fcntl.h: Likewise.
9872 * include/fnmatch.h: Likewise.
9873 * include/glob.h: Likewise.
9874 * include/grp.h: Likewise.
9875 * include/libio.h: Likewise.
9876 * include/locale.h: Likewise.
9877 * include/math.h: Likewise.
9878 * include/net/if.h: Likewise.
9879 * include/netdb.h: Likewise.
9880 * include/netinet/in.h: Likewise.
9881 * include/pthread.h: Likewise.
9882 * include/pwd.h: Likewise.
9883 * include/regex.h: Likewise.
9884 * include/sched.h: Likewise.
9885 * include/search.h: Likewise.
9886 * include/setjmp.h: Likewise.
9887 * include/signal.h: Likewise.
9888 * include/stdio.h: Likewise.
9889 * include/stdlib.h: Likewise.
9890 * include/string.h: Likewise.
9891 * include/sys/cdefs.h: Likewise.
9892 * include/sys/mman.h: Likewise.
9893 * include/sys/msg.h: Likewise.
9894 * include/sys/resource.h: Likewise.
9895 * include/sys/select.h: Likewise.
9896 * include/sys/socket.h: Likewise.
9897 * include/sys/stat.h: Likewise.
9898 * include/sys/statvfs.h: Likewise.
9899 * include/sys/time.h: Likewise.
9900 * include/sys/times.h: Likewise.
9901 * include/sys/uio.h: Likewise.
9902 * include/sys/utsname.h: Likewise.
9903 * include/sys/wait.h: Likewise.
9904 * include/termios.h: Likewise.
9905 * include/time.h: Likewise.
9906 * include/ulimit.h: Likewise.
9907 * include/unistd.h: Likewise.
9908 * include/utime.h: Likewise.
9909 * include/wchar.h: Likewise.
9910 * include/wctype.h: Likewise.
9911 * include/wordexp.h: Likewise.
9912
9913 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9914
7a270350
UD
9915 * time/time.h: TIME_UTC must be a macro.
9916 Make timespec_get available for ISO C11 only as well.
9917
7724defc
UD
99182012-02-24 Ulrich Drepper <drepper@gmail.com>
9919
9920 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9921 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9922
6b1d1d46
JM
99232012-02-24 Joseph Myers <joseph@codesourcery.com>
9924
9925 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9926
0f8bbd69
JM
99272012-02-24 Joseph Myers <joseph@codesourcery.com>
9928
9929 * manual/texinfo.tex: Update to version 2012-01-19.16.
9930
66ab80bc
JM
99312012-02-24 Joseph Myers <joseph@codesourcery.com>
9932
9933 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9934
74981cc5
RM
99352012-02-24 Roland McGrath <roland@hack.frob.com>
9936
ee968201
RM
9937 [BZ #13738]
9938 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9939 * manual/fdl-1.3.texi: New file.
9940 * manual/fdl-1.1.texi: File removed.
9941
74981cc5
RM
9942 [BZ #13738]
9943 * manual/libc.texinfo (FDL_VERSION): New @set.
9944 Use it for mention of FDL in cover text.
9945 (Documentation License): Use it in @include file name.
9946
7bb764bc
JM
99472012-02-22 Joseph Myers <joseph@codesourcery.com>
9948 Roland McGrath <roland@hack.frob.com>
9949
9950 [BZ #5461]
9951 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9952 not LONG_LONG_MAX and LONG_LONG_MIN.
9953 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9954 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9955 name.
9956 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9957
6cbeae47
JM
99582012-02-22 Joseph Myers <joseph@codesourcery.com>
9959
9960 [BZ #2547]
9961 [BZ #11365]
9962 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9963 manipulate bits before adding and subtracting TWO23[sx].
9964 * math/libm-test.inc (nearbyint_test): Add more tests.
9965
fe45ce09
JM
99662012-02-22 Joseph Myers <joseph@codesourcery.com>
9967
9968 [BZ #2548]
9969 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9970 bits before adding and subtracting TWO23[sx].
9971 * math/libm-test.inc (rint_test): Add more tests.
9972 (rint_test_tonearest): Likewise.
9973 (rint_test_towardzero): Likewise.
9974 (rint_test_downward): Likewise.
9975 (rint_test_upward: Likewise.
9976
ff3b3d82
JM
99772012-02-22 Joseph Myers <joseph@codesourcery.com>
9978
9979 [BZ #10110]
9980 * include/stdc-predef.h: New file. Extracted from features.h.
9981 * include/features.h: Include stdc-predef.h.
9982 * Makefile (headers): Add stdc-predef.h.
9983 * CONFORMANCE (Compiler limitations): Update.
9984
ef0aab35
JM
99852012-02-22 Joseph Myers <joseph@codesourcery.com>
9986
9987 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9988
58639409
DM
99892012-02-21 David S. Miller <davem@davemloft.net>
9990
9991 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9992 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9993
c0e70b25
DM
99942012-02-20 David S. Miller <davem@davemloft.net>
9995
9996 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9997 using a normal save/restore sequence, rather than allocating a
9998 dummy stack frame just to store a frame pointer and restore.
9999 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10000
fb06851d
JM
100012012-02-21 Joseph Myers <joseph@codesourcery.com>
10002
10003 * manual/install.texi: Fix stray word in line-wrapped comment.
10004
7a8b71c3
DM
100052012-02-20 David S. Miller <davem@davemloft.net>
10006
d510c123
DM
10007 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10008 both binutils and gcc support GOTDATA.
10009
0722d7c2
DM
10010 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10011 "rd %pc" in the PIC register setup sequences.
10012
3d2b3019
DM
10013 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10014 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10015 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10016 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10017 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10018 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10019 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10020 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10021 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10022 (SYSCALL_ERROR_HANDLER): Likewise.
10023 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10024 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10026 (SYSCALL_ERROR_HANDLER): Likewise.
10027
c80098a9
DM
10028 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10029 (HAVE_GCC_GOTDATA): New.
10030 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10031 relocation support in both binutils and gcc.
10032 * sysdeps/sparc/elf/configure: Regenerate.
10033
3a2545a0
DM
10034 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10035 * sysdeps/sparc/sparc32/elf/configure: Delete.
10036 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10037 * sysdeps/sparc/sparc64/elf/configure: Delete.
10038 * sysdeps/sparc/elf/configure.in: New file.
10039 * sysdeps/sparc/elf/configure: Generate.
10040
7a8b71c3
DM
10041 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10042 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10043 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10044 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10045 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10046
f1e86fca
JM
100472012-02-21 Joseph Myers <joseph@codesourcery.com>
10048
10049 * manual/install.texi: Do not mention specific glibc version
10050 numbers.
10051 * manual/libc.texinfo (VERSION, UPDATED): Update.
10052 (@copying): Use @copyright{} and range of years.
10053
0e7dfaef
JM
100542012-02-21 Joseph Myers <joseph@codesourcery.com>
10055
10056 [BZ #13695]
10057 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10058 [crti.S not in sysdirs] (generated): Do not append.
10059 [crti.S not in sysdirs] (omit-deps): Likewise.
10060 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10061 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10062 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10063 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10064 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10065 Likewise.
10066 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10067 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10068 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10069 * csu/defs.awk: Remove file.
10070 * sysdeps/generic/initfini.c: Likewise.
10071 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10072 variable.
10073 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10074 Likewise.
10075
599af3ca
JM
100762012-02-20 Joseph Myers <joseph@codesourcery.com>
10077
10078 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10079 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10080 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10081 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10082 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10083 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10084 <bits/epoll.h>.
10085 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10086 (__EPOLL_PACKED): Define to empty if not defined by
10087 <bits/epoll.h>.
10088 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10090 bits/epoll.h.
10091
0e499750
JM
100922012-02-20 Joseph Myers <joseph@codesourcery.com>
10093
10094 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10095 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10096 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10097 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10098 <bits/timerfd.h>.
10099 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10101 bits/timerfd.h.
10102
5ad91f6e
JM
101032012-02-20 Joseph Myers <joseph@codesourcery.com>
10104
10105 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10106 in C locale.
10107 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10108 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10109 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10111
06b99b02
AJ
101122012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10113
10114 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10115 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10116
7638c0fd
AS
101172012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10118
10119 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10120 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10121 defined.
10122 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10123 Likewise.
10124 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10125 entry for 2.16.
10126
92221550
AJ
101272012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10128
10129 * math/w_acos.c: Use non-signaling floating-point comparisons.
10130 * math/w_acosf.c: Likewise.
10131 * math/w_acosh.c: Likewise.
10132 * math/w_acoshf.c: Likewise.
10133 * math/w_acoshl.c: Likewise.
10134 * math/w_acosl.c: Likewise.
10135 * math/w_asin.c: Likewise.
10136 * math/w_asinf.c: Likewise.
10137 * math/w_asinl.c: Likewise.
10138 * math/w_atanh.c: Likewise.
10139 * math/w_atanhf.c: Likewise.
10140 * math/w_atanhl.c: Likewise.
10141 * math/w_exp2.c: Likewise.
10142 * math/w_exp2f.c: Likewise.
10143 * math/w_exp2l.c: Likewise.
10144 * math/w_j0.c: Likewise.
10145 * math/w_j0f.c: Likewise.
10146 * math/w_j0l.c: Likewise.
10147 * math/w_j1.c: Likewise.
10148 * math/w_j1f.c: Likewise.
10149 * math/w_j1l.c: Likewise.
10150 * math/w_jn.c: Likewise.
10151 * math/w_jnf.c: Likewise.
10152 * math/w_log.c: Likewise.
10153 * math/w_log10.c: Likewise.
10154 * math/w_log10f.c: Likewise.
10155 * math/w_log10l.c: Likewise.
10156 * math/w_log2.c: Likewise.
10157 * math/w_log2f.c: Likewise.
10158 * math/w_log2l.c: Likewise.
10159 * math/w_logf.c: Likewise.
10160 * math/w_logl.c: Likewise.
10161 * math/w_sqrt.c: Likewise.
10162 * math/w_sqrtf.c: Likewise.
10163 * math/w_sqrtl.c: Likewise.
10164 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10166 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10167 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10168 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10169
ebaf36eb
JM
101702012-02-19 Joseph Myers <joseph@codesourcery.com>
10171
10172 [BZ #9739]
10173 * manual/string.texi (strnlen): Use correct parameter name in
10174 equivalent expression.
10175
71c254a6
JM
101762012-02-19 Joseph Myers <joseph@codesourcery.com>
10177
10178 [BZ #11174]
10179 * manual/users.texi (seteuid): Consistently use neweuid for
10180 argument name.
10181
16d2c631
JM
101822012-02-19 Joseph Myers <joseph@codesourcery.com>
10183
10184 [BZ #13704]
10185 * manual/nss.texi (Services in the NSS configuration): Correct
10186 list of services in example configuration file.
10187
cd837b09
NB
101882012-02-19 Nick Bowler <nbowler@draconx.ca>
10189
10190 [BZ #11322]
10191 * manual/arith.texi: Remove statements about negative zero
10192 behaving identically to zero.
10193
02c4bbad
JM
101942012-02-18 Joseph Myers <joseph@codesourcery.com>
10195
10196 [BZ #5993]
10197 * manual/install.texi: Do not document upgrading from libc5.
10198
366842e7
JM
101992012-02-18 Joseph Myers <joseph@codesourcery.com>
10200
10201 [BZ #4596]
10202 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10203
dd54084d
DM
102042012-02-18 David S. Miller <davem@davemloft.net>
10205
10206 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10207 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10208 %o7 across the call.
10209 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10210 instead.
10211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10212 SETUP_PIC_REG_LEAF.
10213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10214 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10215 * sysdeps/sparc/crtn.S: Likewise.
10216
2bcc53a3
UD
102172012-02-17 Ulrich Drepper <drepper@gmail.com>
10218
10219 * aout/Makefile: Remove.
10220
09c093b5
RK
102212012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10222
10223 [BZ #13058]
10224 * manual/examples/argp-ex1.c (main): Format definition in GNU
10225 style.
10226 * manual/examples/argp-ex2.c (main): Likewise.
10227 * manual/examples/argp-ex3.c (main): Likewise.
10228 * manual/examples/argp-ex4.c (main): Likewise.
10229 * manual/examples/longopt.c (main): Use new-style prototype
10230 definition.
10231 * manual/examples/strncat.c (main): Specify return type and use
10232 (void) for arguments.
10233 * manual/examples/subopt.c (main): Use char **argv argument.
10234
2ee633a2
JM
102352012-02-17 Joseph Myers <joseph@codesourcery.com>
10236
10237 [BZ #5077]
10238 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10239 rounding modes.
10240
0520adde
FB
102412012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10242
10243 [BZ #6907]
10244 * manual/string.texi (strchr): Change when strchrnul is
10245 recommended.
10246
3f4081cd
DGM
102472012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10248
10249 [BZ #174]
10250 * manual/locale.texi (setlocale): Document LOCPATH.
10251
d1b10e78
JM
102522012-02-17 Joseph Myers <joseph@codesourcery.com>
10253
10254 [BZ #10210]
10255 * manual/process.texi (execle): Move @dots{} before last argument.
10256
79c6869c
PB
102572012-02-17 Paul Bolle <pebolle@tiscali.nl>
10258
10259 [BZ #12047]
10260 * manual/charset.texi (Generic Charset Conversion): Fix typo
10261 (LC_TYPE -> LC_CTYPE).
10262
cc6e48bc
NB
102632012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10264
10265 [BZ #5805]
10266 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10267 (scalbnf): Likewise.
10268 (scalbnl): Likewise.
10269 (scalbln): Likewise.
10270 (scalblnf): Likewise.
10271 (scalblnl): Likewise.
10272 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10273 (vwarnx): Likewise.
10274 (verr): Likewise.
10275 (verrx): Likewise.
10276 * manual/filesys.texi (telldir): Use braces around return type.
10277 * manual/llio.texi (mmap): Add space after comma.
10278 (mmap64): Likewise.
10279 * manual/math.texi (jn): Use @var{} on parameter names.
10280 (jnf): Likewise.
10281 (jnl): Likewise.
10282 (yn): Likewise.
10283 (ynf): Likewise.
10284 (ynl): Likewise.
10285 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10286 line.
10287 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10288 "...".
10289 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10290 (sched_get_priority_max): Likewise.
10291 * manual/signal.texi (sigvec): Add space after comma.
10292 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10293 names.
10294 (if_indextoname): Likewise.
10295 (if_freenameindex): Likewise.
10296 (sendto): Use ',' instead of '.' in prototype.
10297 * manual/startup.texi (syscall): Use @dots{} instead of literal
10298 "...".
10299 * manual/stdio.texi (__fpending): Separate initial words of
10300 paragraph from @deftypefun line.
10301 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10302 "...".
10303 (vsyslog): Use @var{} on parameter names.
10304 * manual/terminal.texi (stty): Use @var{} on parameter names.
10305 * manual/users.texi (getutmp): Use @var{} on parameter names.
10306 (getutmpx): Likewise.
10307
5b23062f
JM
103082012-02-17 Joseph Myers <joseph@codesourcery.com>
10309
10310 [BZ #6884]
10311 * manual/stdio.texi (fopen): Fix typos in description of
10312 ",ccs=STRING".
10313
8dee4833
AJ
103142012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10315
10316 [BZ #4026]
10317 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10318 get clock_id definition.
10319
9078ce93
TS
103202012-02-17 Thomas Schwinge <thomas@schwinge.name>
10321
10322 [BZ #4822]
10323 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10324 (madvise): Cast every argument to void on its own.
10325
3835c55f
JM
103262012-02-17 Joseph Myers <joseph@codesourcery.com>
10327
10328 [BZ #9902]
10329 * manual/startup.texi (Exit Status): Fix typo.
10330
35c47e37
JM
103312012-02-17 Joseph Myers <joseph@codesourcery.com>
10332
10333 [BZ #10140]
10334 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10335 * manual/examples/argp-ex2.c: Likewise.
10336 * manual/examples/argp-ex3.c: Likewise.
10337
e3b69ca7
RH
103382012-02-16 Richard Henderson <rth@redhat.com>
10339
10340 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10341 * sysdeps/s390/s390-32/initfini.c: Remove.
10342 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10343 * sysdeps/s390/s390-64/initfini.c: Remove.
10344
df83af67
KK
103452012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10346
10347 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10348 compiler output for sysdeps/generic/initfini.c.
10349 * sysdeps/sh/elf/initfini.c: Remove file.
10350
f63f3380
DM
103512012-02-16 David S. Miller <davem@davemloft.net>
10352
fb59b3a4
DM
10353 [BZ #11494]
10354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10355
f63f3380
DM
10356 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10357 * sysdeps/sparc/crti.S: New file.
10358 * sysdeps/sparc/crtn.S: New file.
10359 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10360 * sysdeps/sparc/sparc64/Makefile: Likewise.
10361
df6a4a4a
MF
103622012-02-15 Mike Frysinger <vapier@gentoo.org>
10363
6dd8f3dc 10364 [BZ #3335]
df6a4a4a
MF
10365 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10366
1cac7236
RM
103672012-02-15 Roland McGrath <roland@hack.frob.com>
10368
d2c736f8
RM
10369 [BZ #4822]
10370 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10371
1cac7236
RM
10372 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10373 (write, read, close): Likewise.
10374 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10375
8e475601
JM
103762012-02-15 Joseph Myers <joseph@codesourcery.com>
10377
10378 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10379 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10380 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10381 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10382 <bits/signalfd.h>.
10383 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10385 bits/signalfd.h.
10386
ed656b40
MP
103872012-02-14 Marek Polacek <polacek@redhat.com>
10388
10389 * sysdeps/x86_64/crti.S: New file.
10390 * sysdeps/x86_64/crtn.S: New file.
10391 * sysdeps/x86_64/elf/initfini.c: Remove file.
10392
2a979d3a
JM
103932012-02-13 Joseph Myers <joseph@codesourcery.com>
10394
10395 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10396 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10397 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10398 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10399 <bits/inotify.h>.
10400 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10402 bits/inotify.h.
10403
2a418ac3
JM
104042012-02-13 Joseph Myers <joseph@codesourcery.com>
10405
10406 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10407 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10408 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10409 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10410 <bits/eventfd.h>.
10411 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10413 bits/eventfd.h.
10414
fb779be7
TS
104152012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10416
e19e83c5
RM
10417 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10418 __feraiseexcept instead of feraiseexcept.
7c35ffed 10419
fb779be7
TS
10420 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10421 nanosleep invocations.
10422 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10423 strings, and add error checking for a nanosleep invocations.
10424
59ba27a6
PE
104252012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10426
10427 Replace FSF snail mail address with URLs, as per GNU coding standards.
10428 Most of the snail mail addresses were wrong anyway, and omitting
10429 them makes the source code easier to maintain. Almost all of the
10430 changes are to license notices and to locale LC_IDENTIFICATION
10431 addresses, except for this one:
10432 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10433 not its snail mail address.
10434
57b957eb
RH
104352012-02-09 Richard Henderson <rth@twiddle.net>
10436
af850b1c
RH
10437 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10438 of kernel-features.h.
10439
57b957eb
RH
10440 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10441
6b73181a
MP
104422012-02-08 Marek Polacek <polacek@redhat.com>
10443
10444 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10445 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10446 * sysdeps/gnu/_G_config.h: Likewise.
10447 * sysdeps/generic/_G_config.h: Likewise.
10448
26ecc33a
AS
104492012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10450
6c6dbc63
AS
10451 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10452 tests.
10453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10454
e216c012
AS
10455 * sysdeps/powerpc/powerpc32/crti.S: New file.
10456 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10457 * sysdeps/powerpc/powerpc64/crti.S: New file.
10458 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10459
26ecc33a
AS
10460 * Makeconfig (have-initfini): Don't set.
10461 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10462 * configure.in (nopic_initfini): Don't substitute.
10463 * config.h.in (HAVE_INITFINI): Don't #undef.
10464 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10465 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10466
3add8e13
JM
104672012-02-08 Joseph Myers <joseph@codesourcery.com>
10468
10469 Support crti.S and crtn.S provided directly by architectures.
10470 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10471 [crti.S in sysdirs] (omit-deps): Likewise.
10472 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10473 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10474 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10475 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10476 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10477 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10478 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10479 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10480 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10481 compiler output for sysdeps/generic/initfini.c.
10482 * sysdeps/i386/elf/Makefile: Remove file.
10483 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10484
a22f12b4
MP
104852012-02-07 Marek Polacek <polacek@redhat.com>
10486
10487 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10488 * sysdeps/gnu/_G_config.h: Likewise.
10489 * sysdeps/mach/hurd/_G_config.h: Likewise.
10490
148cf100
MP
104912012-02-07 Marek Polacek <polacek@redhat.com>
10492
10493 * math/Makefile (tests): Add tst-CMPLX2.
10494 * math/tst-CMPLX2.c: New file.
10495
cfdc0dd7
AS
104962012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10497
84ba42c4
AS
10498 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10499
cfdc0dd7
AS
10500 * math/libm-test.inc (jn_test): Add missing L suffix.
10501
622c86f4
MP
105022012-02-06 Marek Polacek <polacek@redhat.com>
10503
10504 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10505 * sysdeps/i386/fpu/e_powf.S: Likewise.
10506 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10507 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10508 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10509 * sysdeps/i386/fpu/e_pow.S: Likewise.
10510 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10511 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10512 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10513 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10514 * sysdeps/i386/fpu/e_log2.S: Likewise.
10515 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10516 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10517 * sysdeps/i386/fpu/e_powl.S: Likewise.
10518 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10519 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10520 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10521 * sysdeps/i386/fpu/e_logl.S: Likewise.
10522 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10523 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10524 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10525 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10526 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10527 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10528 * sysdeps/i386/fpu/e_log.S: Likewise.
10529 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10530 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10531 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10532 * sysdeps/i386/fpu/e_logf.S: Likewise.
10533 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10534 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10535 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10536 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10537 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10538 * sysdeps/i386/fpu/e_log10.S: Likewise.
10539 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10540 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10541 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10542 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10543 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10544 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10545 * sysdeps/i386/asm-syntax.h: Likewise.
10546 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10548 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10549 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10550 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10551 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10552 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10553 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10554 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10555 * sysdeps/powerpc/sysdep.h: Likewise.
10556 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10557 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10558
d4a54ac6
JM
105592012-02-06 Joseph Myers <joseph@codesourcery.com>
10560
10561 [BZ #411]
10562 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10563
314054ea
JM
105642012-02-06 Joseph Myers <joseph@codesourcery.com>
10565
10566 * sysdeps/i386/sysdep.h: Include <features.h>.
10567 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10568 version.
10569
d8e0ca50
JM
105702012-02-05 Joseph Myers <joseph@codesourcery.com>
10571
10572 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10573 Define.
10574 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10575 LOAD_PIC_REG_STR.
10576
b1da7dd9
JM
105772012-02-03 Joseph Myers <joseph@codesourcery.com>
10578
10579 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10580 (SETUP_PIC_REG): Use GET_PC_THUNK.
10581 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10582 macro.
10583
9a1d9254
JM
105842012-02-03 Joseph Myers <joseph@codesourcery.com>
10585
10586 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10587 for non-PIC compilation.
10588 (SETUP_PIC_REG): Add .p2align directive.
10589 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10590 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10591 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10592 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10593 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10594 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10595 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10596 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10597 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10598 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10599 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10600 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10601 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10602 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10603 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10604 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10605 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10606 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10607 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10608 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10609 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10610 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10611 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10612 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10613 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10615 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10616 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10617 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10618 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10619 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10620 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10621 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10622 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10623 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10624 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10625 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10626 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10627 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10628 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10629 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10630
65dc3b75
JM
106312012-02-03 Joseph Myers <joseph@codesourcery.com>
10632
10633 * math/tst-CMPLX.c: Include <stdio.h>.
10634
d55bf177
JM
106352012-01-31 Joseph Myers <joseph@codesourcery.com>
10636
10637 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10638 float.
10639 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10640 * sysdeps/sparc/bits/mathdef.h: Likewise.
10641
69db4f8f
MP
106422012-01-31 Marek Polacek <polacek@redhat.com>
10643
10644 * libio/libio.h: Don't define _PARAMS.
10645 * locale/programs/config.h: Don't define PARAMS.
10646 * stdlib/strtol_l.c: Likewise.
10647 (__strtol_l): Remove PARAMS from the prototype.
10648
41b81892
UD
106492012-01-31 Ulrich Drepper <drepper@gmail.com>
10650
3b49edc0
UD
10651 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10652 names. Just use the correct names. Remove unnecessary wrapper
10653 functions.
10654 * malloc/arena.c: Likewise.
10655 * malloc/hooks.c: Likewise.
10656
41b81892
UD
10657 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10658 ARENA_TEST says not to. Simplify test for creation of a new arena.
10659 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10660
27a25b6e
UD
106612012-01-30 Ulrich Drepper <drepper@gmail.com>
10662
10663 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10664 into tail calls.
10665 (update_get_addr): New function.
10666 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10667 GET_ADDR_MODULE parameter.
10668
c8a89e7d
JM
106692012-01-30 Joseph Myers <joseph@codesourcery.com>
10670
10671 * crypt/cert.c: Remove __STDC__ conditionals.
10672 * crypt/crypt-entry.c: Likewise.
10673 * crypt/crypt_util.c: Likewise.
10674 * libio/filedoalloc.c: Likewise.
10675 * libio/fileops.c: Likewise.
10676 * libio/genops.c: Likewise.
10677 * libio/iofclose.c: Likewise.
10678 * libio/iofdopen.c: Likewise.
10679 * libio/iofopen.c: Likewise.
10680 * libio/iofopen64.c: Likewise.
10681 * libio/iogetdelim.c: Likewise.
10682 * libio/iopopen.c: Likewise.
10683 * libio/obprintf.c: Likewise.
10684 * libio/oldfileops.c: Likewise.
10685 * libio/oldiofclose.c: Likewise.
10686 * libio/oldiofdopen.c: Likewise.
10687 * libio/oldiofopen.c: Likewise.
10688 * libio/oldiopopen.c: Likewise.
10689 * libio/wfiledoalloc.c: Likewise.
10690 * libio/wgenops.c: Likewise.
10691 * locale/programs/xmalloc.c: Likewise.
10692 * misc/syslog.c: Likewise.
10693 * stdio-common/xbug.c: Likewise.
10694 * string/memchr.c: Likewise.
10695 * string/memcmp.c: Likewise.
10696 * string/memrchr.c: Likewise.
10697 * string/rawmemchr.c: Likewise.
10698 * sysdeps/posix/getcwd.c: Likewise.
10699 * time/strftime_l.c: Likewise.
10700
3b100462
JM
107012012-01-30 Joseph Myers <joseph@codesourcery.com>
10702
10703 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10704 * config.make.in (config-cflags-sse2avx): Define.
10705 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10706 Fix typo.
10707
607998af
CM
107082012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10709
10710 * scripts/config.guess: Update from upstream config git repository.
10711 * scripts/config.sub: Likewise.
10712
3601428f
CM
107132012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10714
3ac8b282
CM
10715 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10716 (EM_NUM): Update.
10717 (R_TILEPRO_*, R_TILEGX_*): New macros.
10718
e034841e
CM
10719 * scripts/firstversions.awk: Fix bug in version range handling.
10720
540d7568
CM
10721 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10722
3601428f
CM
10723 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10724
463de862
CM
10725 * include/sys/epoll.h: New file.
10726 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10727 libc_hidden_def.
10728
73139a76
UD
107292012-01-28 Ulrich Drepper <drepper@gmail.com>
10730
96bc5b45
UD
10731 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10732 Avoid unnecessary __WORDSIZE == 64 test.
10733 (fmaxf): Use VEX format if possible.
10734 (fmax): Likewise.
10735 (fminf): Likewise.
10736 (fmin): Likewise.
10737
56f6f6a2
UD
10738 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10739 * math/math_private.h: Remove libc_fegetround* and
10740 libc_fesetround*.
10741 * sysdeps/i386/configure.in: Check for -msse2avx.
10742 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10743 also if SSE2AVX is defined.
10744 Remove libc_fegetround* and libc_fesetround*.
10745 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10746 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10747 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10748 of HAS_YMM_USABLE.
10749 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10750 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10751 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10752 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10753 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10754
73139a76
UD
10755 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10756
d73f93a4
AZ
107572012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10758
10759 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10760 size is not set.
10761 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10762
6ee65ed6
UD
107632012-01-27 Ulrich Drepper <drepper@gmail.com>
10764
10765 [BZ #13618]
10766 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10767 relocation.
10768 * Makeconfig (libm): Define.
10769 * elf/Makefile: Add rules to build and run tst-relsort1.
10770 * elf/tst-relsort1.c: New file.
10771 * elf/tst-relsort1mod1.c: New file.
10772 * elf/tst-relsort1mod2.c: New file.
10773
8db21882
JM
107742012-01-27 Joseph Myers <joseph@codesourcery.com>
10775
10776 * math/s_ldexp.c: Remove __STDC__ conditionals.
10777 * math/s_ldexpf.c: Likewise.
10778 * math/s_ldexpl.c: Likewise.
10779 * math/s_nextafter.c: Likewise.
10780 * math/s_nexttowardf.c: Likewise.
10781 * math/s_significand.c: Likewise.
10782 * math/s_significandf.c: Likewise.
10783 * math/s_significandl.c: Likewise.
10784 * math/w_jnl.c: Likewise.
10785 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10786 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10787 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10788 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10789 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10802 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10804 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10805 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10806 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10807 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10808 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10809 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10810 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10811 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10812 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10813 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10814 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10815 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10816 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10817 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10818 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10819 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10820 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10821 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10822 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10823 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10824 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10825 * sysdeps/ieee754/k_standard.c: Likewise.
10826 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10828 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10829 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10830 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10831 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10833 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10834 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10835 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10836 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10838 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10839 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10840 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10841 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10845 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10847 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10848 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10849 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10850 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10851 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10857 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10858 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10861 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10862 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10863 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10864 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10865 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10866 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10868 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10870 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10871 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10873 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10874 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10875 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10876 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10877 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10878 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10879 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10880 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10881 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10882 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10883 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10884 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10885 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10886 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10887 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10888 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10889 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10890 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10891 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10892 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10893 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10894 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10895 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10896 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10897 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10898 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10899 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10900 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10901 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10902 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10903 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10904 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10905 * sysdeps/ieee754/s_matherr.c: Likewise.
10906 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10907 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10910
965a54a4
JM
109112012-01-26 Joseph Myers <joseph@codesourcery.com>
10912
10913 * crypt/md5.h: Remove __STDC__ conditionals.
10914 * libio/libioP.h: Likewise.
10915 * locale/programs/config.h: Likewise.
10916 * sysdeps/generic/sysdep.h: Likewise.
10917 * sysdeps/i386/asm-syntax.h: Likewise.
10918 * sysdeps/s390/asm-syntax.h: Likewise.
10919 * sysdeps/unix/sysdep.h: Likewise.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10922
7071ad79
JM
109232012-01-26 Joseph Myers <joseph@codesourcery.com>
10924
10925 * libio/libio.h: Remove __STDC__ conditionals.
10926 * malloc/obstack.h: Likewise.
10927 * math/complex.h: Likewise.
10928 * math/math.h: Likewise.
10929 * sysdeps/generic/_G_config.h: Likewise.
10930 * sysdeps/gnu/_G_config.h: Likewise.
10931 * sysdeps/mach/hurd/_G_config.h: Likewise.
10932 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10933 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10934 * sysdeps/sparc/bits/mathdef.h: Likewise.
10935
afc5ed09
UD
109362012-01-26 Ulrich Drepper <drepper@gmail.com>
10937
10938 [BZ #13583]
10939 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10940 Clean up HAS_* macros.
afc5ed09 10941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10942 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10943 possible.
10944 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10945 HAS_AVX.
10946 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10947 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10948 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10949 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10950 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10951
bdb6de1d
JM
109522012-01-25 Joseph Myers <joseph@codesourcery.com>
10953
10954 * elf/tst-unique3.cc (gets): Remove declaration.
10955 * elf/tst-unique3lib.cc (gets): Likewise.
10956 * elf/tst-unique3lib2.cc (gets): Likewise.
10957 * elf/tst-unique4.cc (gets): Likewise.
10958
b15549e6
UD
109592012-01-24 Ulrich Drepper <drepper@gmail.com>
10960
10961 * include/stdio.h: Add C++ protection. Add gets declarations and
10962 definitions.
10963 * debug/tst-chk1.c: Don't declare gets here.
10964 * stdio-common/tst-gets.c: Likewise.
10965
a037381f
JM
109662012-01-24 Joseph Myers <joseph@codesourcery.com>
10967
10968 * posix/glob: Remove directory.
10969
f1d4aa75
JM
109702012-01-24 Joseph Myers <joseph@codesourcery.com>
10971
10972 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10973
81c0c964
PT
109742012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10975
10976 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10977 of the non-standard EPFNOSUPPORT.
10978
0ea698ae
ST
109792011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10980
10981 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10982 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10983 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10984
d220b117
UD
109852012-01-21 Ulrich Drepper <drepper@gmail.com>
10986
10987 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10988
3e1aa84e
UD
109892012-01-20 Ulrich Drepper <drepper@gmail.com>
10990
10991 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10992 transient errors.
10993 * nscd/grpcache.c (cache_addgr): Likewise.
10994 * nscd/hstcache.c (cache_addhst): Likewise.
10995 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10996 * nscd/pwdcache.c (cache_addpw): Likewise.
10997 * nscd/servicescache.c (cache_addserv): Likewise.
10998
400aa020
UD
109992012-01-16 Ulrich Drepper <drepper@gmail.com>
11000
d77e7869
UD
11001 * malloc/malloc.c: Various cleanups.
11002 * malloc/hooks.c: Likewise.
11003
400aa020
UD
11004 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11005 * stdlib/bug-fmtmsg1.c: New file.
11006
11007 * stdlib/fmtmsg.c (init): Add missing unlock.
11008 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11009
e0a309cf
MP
110102012-01-12 Marek Polacek <polacek@redhat.com>
11011
11012 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11013 and _GNU_SOURCE.
11014
929d11c7
WS
110152012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11016
11017 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11018 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11019 macro to ensure uniqueness of label name.
11020 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11021 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11022
41d0e869
UD
110232012-01-11 Ulrich Drepper <drepper@gmail.com>
11024
0cc5ed3b
UD
11025 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11026
41d0e869
UD
11027 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11028 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11029 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11031
a47a831a
UD
110322012-01-10 Ulrich Drepper <drepper@gmail.com>
11033
daa891c0
UD
11034 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11035
11036 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11037 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11038 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11039
e58ef0f2
UD
11040 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11041
a47a831a 11042 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11043 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11044 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11046
11047 * math/bits/math-finite.h: Add ldexp support.
11048
a0bfc9c7
MP
110492012-01-10 Marek Polacek <polacek@redhat.com>
11050
11051 * locale/programs/localedef.h (show_archive_content): Add noreturn
11052 attribute.
11053
d6e97a1d
UD
110542012-01-09 Ulrich Drepper <drepper@gmail.com>
11055
11056 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11057
d5835c26
UD
110582012-01-08 Ulrich Drepper <drepper@gmail.com>
11059
e5f484c6
UD
11060 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11061
d5835c26
UD
11062 * io/Makefile (headers): Add bits/poll2.h.
11063
d1f741e9
WS
110642011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11065
11066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11067 typo #include statement.
11068
ec09c1c4
UD
110692012-01-08 Ulrich Drepper <drepper@gmail.com>
11070
11071 * include/sys/cdefs.h: Define __attribute_alloc_size.
11072 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11073 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11074 * elf/pldd.c: Likewise.
11075 * iconv/iconv_charmap.c: Likewise.
11076 * iconv/iconvconfig.c: Likewise.
11077 * iconv/strtab.c: Likewise.
11078 * locale/programs/locale.c: Likewise.
11079 * locale/programs/localedef.h: Likewise.
11080 * locale/programs/simple-hash.c: Likewise.
11081 * nscd/nscd.h: Likewise.
11082 * nss/makedb.c: Likewise.
11083 * sysdeps/generic/ldconfig.h: Likewise.
11084 * locale/programs/localedef.c: Remove xmalloc prototype.
11085 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11086
20b38e03
PP
110872012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11088
11089 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11090 appropriate.
11091
a0da5fe1
UD
110922012-01-08 Ulrich Drepper <drepper@gmail.com>
11093
1d5a644a 11094 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11095 * math/tst-CMPLX.c: New file.
1d5a644a 11096
8784a6db
UD
11097 * math/complex.h (CMPLXL): Fix typo.
11098
d9a216c0
UD
11099 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11100 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11101 GLIBC_2.16.
11102 * debug/tst-chk1.c: Add poll and ppoll tests.
11103 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11104 * include/sys/poll.h: Add hidden proto for ppoll.
11105 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11106 * sysdeps/mach/hurd/ppoll.c: Likewise.
11107 * io/ppoll.c: Likewise.
11108 * debug/poll_chk.c: New file.
11109 * debug/ppoll_chk.c: New file.
11110 * include/bits/poll2.h: New file.
11111 * io/bits/poll2.h: New file.
11112
ac097f5c
UD
11113 [BZ #1350]
11114 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11115
2119dcfa
UD
11116 * configure.in: static is always set to yes. Remove.
11117 * config.make.in: Don't set build-static.
11118 * Makeconfig: Remove use of build-static.
11119 * dlfcn/Makefile: Likewise.
11120 * elf/Makefile: Likewise.
11121 * math/Makefile: Likewise.
11122 * misc/Makefile: Likewise.
11123 * nptl/Makefile: Likewise.
11124 * sysdeps/mach/hurd/Makefile: Likewise.
11125
121766a9
UD
11126 * configure.in: PWD_P is not used anymore.
11127 * config.make.in: Remove PWD_P entry.
11128
51a1d39c 11129 * configure.in: Remove last remnants of RANLIB.
8720d066 11130 No need to check for signed size_t anymore.
215f4bdc
UD
11131 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11132 and IA-64.
3857022a 11133 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11134 * aclocal.m4: Likewise.
11135
d3ed7225
UD
11136 * wcsmbs/mbrtoc16.c: Implement using towc function.
11137 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11138 * wcsmbs/wcsmbsload.c: Likewise.
11139 * iconv/gconv_simple.c: Likewise.
11140 * iconv/gconv_int.h: Likewise.
11141 * iconv/gconv_builtin.h: Likewise.
11142 * iconv/iconv_prog.c: Remove CHAR16 handling.
11143
11144 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11145
11146 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11147
a0da5fe1
UD
11148 * configure.in: Remove --with-elf and --enable-bounded options.
11149 Dont set base_machine for ia64. More non-ELF conditions removed.
11150 Remove testing and setting of leading underscore information.
11151 * config.make.in (build-bounded): Set to no.
11152 * config.h.in: Remove NO_UNDERSCORES entry.
11153 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11154 them.
11155 * csu/start.c: Remove !NO_UNDERSCORE code.
11156 * locale/localeinfo.h: Likewise.
11157 * sysdeps/generic/machine-gmon.h: Likewise.
11158 * sysdeps/generic/sysdep.h: Likewise.
11159 * sysdeps/i386/sysdep.h: Likewise.
11160 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11161 * sysdeps/mach/sysdep.h: Likewise.
11162 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11163 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11164 * sysdeps/sh/sysdep.h: Likewise.
11165 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11166 * sysdeps/unix/i386/sysdep.S: Likewise.
11167 * sysdeps/unix/sparc/start.c: Likewise.
11168 * sysdeps/unix/sparc/sysdep.S: Likewise.
11169 * sysdeps/unix/sparc/sysdep.h: Likewise.
11170 * sysdeps/unix/start.c: Likewise.
11171 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11172 * sysdeps/x86_64/sysdep.h: Likewise.
11173
df78418a
UD
111742012-01-07 Ulrich Drepper <drepper@gmail.com>
11175
a784e502
UD
11176 [BZ #13553]
11177 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11178 for non-gcc.
11179 * argp/argp-fmtstream.h: Use const instead __const.
11180 * argp/argp.h: Likewise.
11181 * assert/assert.h: Likewise.
11182 * bits/fenv.h: Likewise.
11183 * bits/sched.h: Likewise.
11184 * bits/sigset.h: Likewise.
11185 * bits/sigthread.h: Likewise.
11186 * catgets/nl_types.h: Likewise.
11187 * conform/data/pthread.h-data: Likewise.
11188 * crypt/crypt-private.h: Likewise.
11189 * crypt/crypt.h: Likewise.
11190 * crypt/crypt_util.c: Likewise.
11191 * ctype/ctype.h: Likewise.
11192 * debug/execinfo.h: Likewise.
11193 * debug/mbsnrtowcs_chk.c: Likewise.
11194 * debug/mbsrtowcs_chk.c: Likewise.
11195 * debug/wcsnrtombs_chk.c: Likewise.
11196 * debug/wcsrtombs_chk.c: Likewise.
11197 * debug/wcstombs_chk.c: Likewise.
11198 * dirent/dirent.h: Likewise.
11199 * dlfcn/dlfcn.h: Likewise.
11200 * elf/neededtest4.c: Likewise.
11201 * grp/grp.h: Likewise.
11202 * gshadow/gshadow.h: Likewise.
11203 * iconv/gconv.h: Likewise.
11204 * iconv/gconv_int.h: Likewise.
11205 * iconv/gconv_simple.c: Likewise.
11206 * iconv/iconv.h: Likewise.
11207 * iconv/loop.c: Likewise.
11208 * iconv/skeleton.c: Likewise.
11209 * include/aio.h: Likewise.
11210 * include/aliases.h: Likewise.
11211 * include/argz.h: Likewise.
11212 * include/arpa/inet.h: Likewise.
11213 * include/assert.h: Likewise.
11214 * include/dirent.h: Likewise.
11215 * include/dlfcn.h: Likewise.
11216 * include/execinfo.h: Likewise.
11217 * include/fcntl.h: Likewise.
11218 * include/fenv.h: Likewise.
11219 * include/glob.h: Likewise.
11220 * include/grp.h: Likewise.
11221 * include/libintl.h: Likewise.
11222 * include/mntent.h: Likewise.
11223 * include/netdb.h: Likewise.
11224 * include/pwd.h: Likewise.
11225 * include/rpc/netdb.h: Likewise.
11226 * include/sched.h: Likewise.
11227 * include/search.h: Likewise.
11228 * include/shadow.h: Likewise.
11229 * include/signal.h: Likewise.
11230 * include/stdio.h: Likewise.
11231 * include/stdlib.h: Likewise.
11232 * include/string.h: Likewise.
11233 * include/sys/socket.h: Likewise.
11234 * include/sys/stat.h: Likewise.
11235 * include/sys/statfs.h: Likewise.
11236 * include/sys/statvfs.h: Likewise.
11237 * include/sys/syslog.h: Likewise.
11238 * include/sys/time.h: Likewise.
11239 * include/sys/uio.h: Likewise.
11240 * include/time.h: Likewise.
11241 * include/unistd.h: Likewise.
11242 * include/utmp.h: Likewise.
11243 * include/wchar.h: Likewise.
11244 * include/wctype.h: Likewise.
11245 * inet/aliases.h: Likewise.
11246 * inet/arpa/inet.h: Likewise.
11247 * inet/netinet/ether.h: Likewise.
11248 * inet/netinet/in.h: Likewise.
11249 * intl/libintl.h: Likewise.
11250 * io/bits/fcntl2.h: Likewise.
11251 * io/fcntl.h: Likewise.
11252 * io/ftw.h: Likewise.
11253 * io/sys/poll.h: Likewise.
11254 * io/sys/stat.h: Likewise.
11255 * io/sys/statfs.h: Likewise.
11256 * io/sys/statvfs.h: Likewise.
11257 * io/utime.h: Likewise.
11258 * libio/bits/stdio.h: Likewise.
11259 * libio/bits/stdio2.h: Likewise.
11260 * libio/libio.h: Likewise.
11261 * libio/libioP.h: Likewise.
11262 * libio/stdio.h: Likewise.
11263 * locale/lc-ctype.c: Likewise.
11264 * locale/locale.h: Likewise.
11265 * login/utmp.h: Likewise.
11266 * malloc/arena.c: Likewise.
11267 * malloc/malloc.c: Likewise.
11268 * malloc/malloc.h: Likewise.
11269 * malloc/mcheck.c: Likewise.
11270 * malloc/mtrace.c: Likewise.
11271 * math/bits/mathcalls.h: Likewise.
11272 * math/fenv.h: Likewise.
11273 * math/math_private.h: Likewise.
11274 * misc/bits/error.h: Likewise.
11275 * misc/bits/syslog.h: Likewise.
11276 * misc/err.h: Likewise.
11277 * misc/error.h: Likewise.
11278 * misc/fstab.h: Likewise.
11279 * misc/mntent.h: Likewise.
11280 * misc/regexp.h: Likewise.
11281 * misc/search.h: Likewise.
11282 * misc/sgtty.h: Likewise.
11283 * misc/sys/mman.h: Likewise.
11284 * misc/sys/syslog.h: Likewise.
11285 * misc/sys/uio.h: Likewise.
11286 * misc/sys/xattr.h: Likewise.
11287 * misc/ttyent.h: Likewise.
11288 * nis/rpcsvc/ypclnt.h: Likewise.
11289 * nss/nss.h: Likewise.
11290 * posix/bits/unistd.h: Likewise.
11291 * posix/fnmatch.h: Likewise.
11292 * posix/glob.h: Likewise.
11293 * posix/sched.h: Likewise.
11294 * posix/spawn.h: Likewise.
11295 * posix/sys/wait.h: Likewise.
11296 * posix/unistd.h: Likewise.
11297 * posix/wordexp.h: Likewise.
11298 * pwd/pwd.h: Likewise.
11299 * resolv/netdb.h: Likewise.
11300 * resource/sys/resource.h: Likewise.
11301 * rt/aio.h: Likewise.
11302 * rt/bits/mqueue2.h: Likewise.
11303 * rt/mqueue.h: Likewise.
11304 * shadow/shadow.h: Likewise.
11305 * signal/signal.h: Likewise.
11306 * socket/send.c: Likewise.
11307 * socket/sendto.c: Likewise.
11308 * socket/sys/socket.h: Likewise.
11309 * stdio-common/printf.h: Likewise.
11310 * stdlib/bits/stdlib.h: Likewise.
11311 * stdlib/fmtmsg.h: Likewise.
11312 * stdlib/monetary.h: Likewise.
11313 * stdlib/stdlib.h: Likewise.
11314 * stdlib/ucontext.h: Likewise.
11315 * streams/stropts.h: Likewise.
11316 * string/argz.h: Likewise.
11317 * string/bits/string2.h: Likewise.
11318 * string/string.h: Likewise.
11319 * string/strings.h: Likewise.
11320 * sunrpc/rpc/auth.h: Likewise.
11321 * sunrpc/rpc/auth_des.h: Likewise.
11322 * sunrpc/rpc/clnt.h: Likewise.
11323 * sunrpc/rpc/netdb.h: Likewise.
11324 * sunrpc/rpc/pmap_clnt.h: Likewise.
11325 * sunrpc/rpc/xdr.h: Likewise.
11326 * sysdeps/generic/inttypes.h: Likewise.
11327 * sysdeps/generic/net/if.h: Likewise.
11328 * sysdeps/generic/sys/swap.h: Likewise.
11329 * sysdeps/gnu/net/if.h: Likewise.
11330 * sysdeps/gnu/utmpx.h: Likewise.
11331 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11332 * sysdeps/i386/i486/bits/string.h: Likewise.
11333 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11334 * sysdeps/s390/bits/string.h: Likewise.
11335 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11336 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11337 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11338 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11339 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11340 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11341 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11342 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11343 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11344 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11345 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11346 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11347 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11348 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11349 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11350 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11351 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11353 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11354 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11355 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11356 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11357 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11358 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11359 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11360 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11361 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11362 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11363 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11364 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11365 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11366 * sysvipc/sys/ipc.h: Likewise.
11367 * sysvipc/sys/msg.h: Likewise.
11368 * sysvipc/sys/sem.h: Likewise.
11369 * sysvipc/sys/shm.h: Likewise.
11370 * termios/termios.h: Likewise.
11371 * time/sys/time.h: Likewise.
11372 * time/time.h: Likewise.
11373 * wcsmbs/bits/wchar2.h: Likewise.
11374 * wcsmbs/uchar.h: Likewise.
11375 * wcsmbs/wchar.h: Likewise.
11376 * wctype/wctype.h: Likewise.
11377
0269750c
UD
11378 [BZ #13551]
11379 * Makeconfig: Remove all but ELF support including AIX support.
11380 * Makerules: Likewise.
11381 * config.h.in: Likewise.
11382 * config.make.in: Likewise.
11383 * configure: Likewise.
11384 * configure.in: Likewise.
11385 * csu/Makefile: Likewise.
11386 * csu/version.c: Likewise.
11387 * debug/Makefile: Likewise.
11388 * dlfcn/Makefile: Likewise.
11389 * elf/Makefile: Likewise.
11390 * extra-lib.mk: Likewise.
11391 * iconv/Makefile: Likewise.
11392 * include/libc-symbols.h: Likewise.
11393 * include/shlib-compat.h: Likewise.
11394 * resolv/Makefile: Likewise.
11395 * resolv/res_libc.c: Likewise.
11396 * rt/Makefile: Likewise.
11397 * sysdeps/i386/asm-syntax.h: Likewise.
11398 * sysdeps/i386/sysdep.h: Likewise.
11399 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11400 * sysdeps/mach/sysdep.h: Likewise.
11401 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11402 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11403 * sysdeps/s390/asm-syntax.h: Likewise.
11404 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11405 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11406 * sysdeps/sh/sysdep.h: Likewise.
11407 * sysdeps/unix/sparc/sysdep.h: Likewise.
11408 * sysdeps/wordsize-32/divdi3.c: Likewise.
11409 * sysdeps/x86_64/sysdep.h: Likewise.
11410
00bbd29b
UD
11411 * argp/Versions: Remove _argp_unlock_xxx.
11412
11413 [BZ #13559]
11414 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11415 * abilist/libBrokenLocale.abilist: Likewise.
11416 * abilist/libanl.abilist: Likewise.
11417 * abilist/libc.abilist: Likewise.
11418 * abilist/libcrypt.abilist: Likewise.
11419 * abilist/libdl.abilist: Likewise.
11420 * abilist/libm.abilist: Likewise.
11421 * abilist/libnsl.abilist: Likewise.
11422 * abilist/libpthread.abilist: Likewise.
11423 * abilist/libresolv.abilist: Likewise.
11424 * abilist/librt.abilist: Likewise.
11425 * abilist/libthread_db.abilist: Likewise.
11426 * abilist/libutil.abilist: Likewise.
11427 * abilist/libnss_db.abilist: New file.
11428
11429 * scripts/abilist.awk: Add support for indirect functions.
11430
a2693a0e
UD
11431 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11432
3f05895f
UD
11433 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11434
ecb6fb48
UD
11435 * shlib-versions: Remove entries for ports architectures.
11436
664f8cb9
UD
11437 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11438 files in ports.
11439 * elf/stackguard-macros.h: Remove support for IA-64.
11440 * elf/tst-auditmod1.c: Likewise.
11441 * sysdeps/generic/ldsodefs.h: Likewise.
11442
7ae81d88
UD
11443 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11444 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11445 configure files.
11446
bdeba135
UD
11447 [BZ #13552]
11448 * configure.in: Remove --enable-omitfp support.
11449 * FAQ.in: Adjust.
11450 * config.make.in: Likewise.
11451 * Makeconfig: Likewise.
11452 * manual/install.texi: Likewise.
11453
d75a0a62
UD
11454 In case anyone cares, the IA-64 architecture could move to ports.
11455 * sysdeps/ia64/*: Removed.
11456 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11457 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11458
dcc9756b
UD
11459 [BZ #13555]
11460 * configure.in: Remove entries for unsupported architectures.
11461
d3761ebc 11462 [BZ #13533]
9954432e
UD
11463 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11464 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11465 routines.
11466 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11467 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11468 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11469 fall back to using wcrtomb.
11470 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11471 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11472 renaming.
11473 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11474 * wcsmbs/tst-c16c32-1.c: New file.
11475
11476 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11477 local variable.
11478
c3a87236
UD
11479 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11480
28926a1b
UD
11481 * elf/tst-unique3.cc: Add explicit declaration of gets.
11482 * elf/tst-unique3lib.cc: Likewise.
11483 * elf/tst-unique3lib2.cc: Likewise.
11484 * elf/tst-unique4.cc: Likewise.
11485
df78418a
UD
11486 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11487
8ecd6b2a
JM
114882012-01-06 Joseph Myers <joseph@codesourcery.com>
11489
11490 [BZ #13566]
11491 * assert/assert.h (static_assert): Don't define for C++.
11492 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11493 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11494
9f115170
UD
114952012-01-03 Ulrich Drepper <drepper@gmail.com>
11496
5e0d0300
UD
11497 * iconv/loop.c (single loop): Fix assertion in storing of
11498 remaining bytes.
11499
9f115170
UD
11500 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11501
81fb02b0
UD
115022012-01-01 Ulrich Drepper <drepper@gmail.com>
11503
11504 * posix/getconf.c: Update copyright year.
11505 * nss/getent.c: Likewise.
a316c1f6 11506 * nss/makedb.c: Likewise.
81fb02b0
UD
11507 * iconv/iconvconfig.c: Likewise.
11508 * iconv/iconv_prog.c: Likewise.
11509 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11510 * elf/pldd.c: Likewise.
11511 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11512 * catgets/gencat.c: Likewise.
11513 * csu/version.c: Likewise.
11514 * elf/ldd.bash.in: Likewise.
11515 * elf/sprof.c (print_version): Likewise.
11516 * locale/programs/locale.c: Likewise.
11517 * locale/programs/localedef.c: Likewise.
a316c1f6 11518 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11519 * nscd/nscd.c (print_version): Likewise.
11520 * debug/xtrace.sh: Likewise.
11521 * malloc/memusage.sh: Likewise.
11522 * malloc/mtrace.pl: Likewise.
11523 * debug/catchsegv.sh: Likewise.
11524
2ba92745
JJ
115252011-12-30 Jakub Jelinek <jakub@redhat.com>
11526
11527 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11528 pure attribute.
11529
dadebdae
UD
115302011-12-24 Ulrich Drepper <drepper@gmail.com>
11531
d3761ebc 11532 [BZ #13533]
db6af3eb
UD
11533 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11534 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11535 transformations.
11536 * iconv/gconv_int.h: Likewise.
11537 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11538 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11539 from libc for GLIBC_2.16.
11540 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11541 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11542 * wcsmbs/uchar.h: Really define mbstate_t.
11543 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11544 * wcsmbs/c16rtomb.c: New file.
11545 * wcsmbs/mbrtoc16.c: New file.
11546 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11547 for C/POSIX locale.
11548 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11549 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11550
dadebdae
UD
11551 * wcsmbs/wchar.h: Add missing __restrict.
11552
67371b56
UD
115532011-12-23 Ulrich Drepper <drepper@gmail.com>
11554
74033a25
UD
11555 [BZ #13532]
11556 * time/Makefile (routines): Add timespec_get.
11557 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11558 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11559 timespec for ISO C11.
11560 * time/timespec_get.c: New file.
11561 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11562 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11563
380d7e87
UD
11564 [BZ #13531]
11565 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11566 * stdlib/stdlib.h: Declare aligned_alloc.
11567 * Versions.def: Add GLIBC_2.16 for libc.
11568 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11569
4e9e7a35
UD
11570 [BZ 13527]
11571 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11572 ISO C11.
11573
380d7e87 11574 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11575 code.
11576
03a71829
UD
11577 [BZ #13528]
11578 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11579
839e283e
UD
11580 [BZ #13529]
11581 * assert/assert.h (static_assert): Define.
11582
ce5294e2 11583 * version.h: Update for 2.16 development version.
90fa7312 11584
8d44e150 11585 [BZ #13526]
d7809905
UD
11586 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11587 _ISOC11_SOURCE.
11588
c0da14cd
UD
11589 * version.h (RELEASE): Bump for 2.15 release.
11590 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11591
530a3249
MP
11592 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11593 Patch by Marek Polacek <mpolacek@redhat.com>.
11594
67371b56
UD
11595 * bits/byteswap.h: Protect long long constants with __extension__.
11596 * sysdeps/i386/bits/byteswap.h: Likewise.
11597 * sysdeps/ia64/bits/byteswap.h: Likewise.
11598 * sysdeps/s390/bits/byteswap.h: Likewise.
11599 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11600
15db4de1
LD
116012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11602
11603 [BZ #13540]
bbe315ea
LD
11604 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11605 destination buffer.
15db4de1
LD
11606 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11607
2b2596b1
MP
116082011-12-23 Marek Polacek <polacek@redhat.com>
11609
11610 * elf/dl-addr.c (determine_info): Add inline keyword.
11611 * elf/tst-auditmod4b.c (check_avx): Likewise.
11612 * elf/tst-auditmod6b.c (check_avx): Likewise.
11613 * elf/tst-auditmod6c.c (check_avx): Likewise.
11614 * elf/tst-auditmod7b.c (check_avx): Likewise.
11615
70c6c246
UD
116162011-12-23 Ulrich Drepper <drepper@gmail.com>
11617
11618 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11619 !__SSE_MATH__.
11620
c044cf14
LD
116212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11622
15db4de1 11623 [BZ #13540]
c044cf14
LD
11624 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11625 processing for last bytes.
11626
6b13d9d9
BH
116272011-08-06 Bruno Haible <bruno@clisp.org>
11628
d455f537
BH
11629 [BZ #13061]
11630 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11631 U+0385, not to U+1FEE.
11632
6b13d9d9
BH
11633 [BZ #13062]
11634 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11635 entry for U+00A5 U+0301.
11636
db910efd
UD
116372011-12-22 Ulrich Drepper <drepper@gmail.com>
11638
27deeafc
UD
11639 [BZ #13166]
11640 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11641 buffer for the output is too small.
11642
aed9d171
UD
11643 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11644 optimization.
11645
db910efd
UD
11646 [BZ #13185]
11647 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11648 SSE flags if possible.
11649
2bd779ae
LD
116502011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11651
e7f9dac3 11652 [BZ #13540]
2bd779ae
LD
11653 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11654 processing for last bytes.
11655
154bfc16
JM
116562011-12-22 Joseph Myers <joseph@codesourcery.com>
11657
11658 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11659 (syscall-list-default-options, syscall-list-default-condition)
11660 (syscall-list-includes): Define.
11661 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11662 list of ABIs and options and #if conditions for each ABI. Do not
11663 handle common syscalls between ABIs specially.
11664 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11665 Remove.
11666 (syscall-list-variants, syscall-list-32bit-options)
11667 (syscall-list-32bit-condition, syscall-list-64bit-options)
11668 (syscall-list-64bit-condition): Define.
11669 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11670 (syscall-list-variants, syscall-list-32bit-options)
11671 (syscall-list-32bit-condition, syscall-list-64bit-options)
11672 (syscall-list-64bit-condition): Define.
11673 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11674 Remove.
11675 (syscall-list-variants, syscall-list-32bit-options)
11676 (syscall-list-32bit-condition, syscall-list-64bit-options)
11677 (syscall-list-64bit-condition): Define.
11678 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11679 Remove.
11680 (syscall-list-variants, syscall-list-32bit-options)
11681 (syscall-list-32bit-condition, syscall-list-64bit-options)
11682 (syscall-list-64bit-condition): Define.
11683
21eaf3a5
UD
116842011-12-22 Ulrich Drepper <drepper@gmail.com>
11685
16c6f992
UD
11686 * locale/iso-639.def: Add brx entry.
11687
41043168
UD
11688 [BZ #13328]
11689 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11690 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11691
21eaf3a5
UD
11692 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11693 __feraiseexcept_renamed.
11694
e3a851a2
UD
116952011-12-21 Ulrich Drepper <drepper@gmail.com>
11696
4920765e
UD
11697 [BZ #13538]
11698 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11699 EPOLLET with unsigned values.
11700 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11702
e3a851a2
UD
11703 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11704 to large cancellation.
11705 * math/s_cacoshf.c: Likewise.
11706 * math/s_cacoshl.c: Likewise.
11707
b27e24b8
RK
117082011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11709
11710 [BZ #13305]
aebefeee 11711 [BZ #12786]
b27e24b8
RK
11712 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11713 * math/s_cacoshf.c: Likewise.
11714 * math/s_cacoshl.c: Likewise.
11715
ee190f67
UD
117162011-12-21 Ulrich Drepper <drepper@gmail.com>
11717
11718 [BZ #13439]
11719 * iconv/gconv.h: Define __GCONV_SWAP.
11720 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11721 * iconvdata/utf-16.c: Likewise.
11722 * iconvdata/utf-32.c: Likewise.
11723
707f25df
AS
117242011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11725
11726 [BZ #13524]
11727 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11728 numerator after shifting it by one limb.
11729
d2daaa1e
RÁE
117302011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11731
11732 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11733 under [__USE_EXTERN_INLINES].
11734
a4647e72
UD
117352011-12-17 Ulrich Drepper <drepper@gmail.com>
11736
11737 [BZ #13446]
11738 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11739
f0b264f1
AZ
117402011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11741
11742 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11743 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11744 optimized code.
11745 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11746 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11747 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11748 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11749 for strncasecmp/strncasecmp_l compilation.
11750 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11751 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11752
8ef4f244
MP
117532011-12-08 Marek Polacek <mpolacek@redhat.com>
11754
11755 [BZ #13484]
11756 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11757 of __asm__.
11758
97ac2654
UD
117592011-12-17 Ulrich Drepper <drepper@gmail.com>
11760
11761 [BZ #13506]
11762 * time/tzfile.c (__tzfile_read): Check values from file header.
11763
91d2a845
WS
117642011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11765
11766 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11767 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11768 * powerpc/powerpc32/dl-start.S: Likewise.
11769 * powerpc/powerpc32/elf/start.S: Likewise.
11770 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11771 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11772 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11773 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11774 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11775 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11776 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11777 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11778 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11779 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11780 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11781 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11782 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11783 * powerpc/powerpc32/memset.S: Likewise.
11784 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11785 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11786 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11787 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11788 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11789 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11790 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11791 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11792 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11793 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11794 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11795 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11796 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11797
a1267ba1
AZ
117982011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11799
11800 * math/libm-test.inc: Added more nearbyint tests.
11801 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11802 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11803 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11804 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11805
ad8ac1bd
RL
118062011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11807
11808 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11809 FD_CLOEXEC.
11810
1d3e4b61
UD
118112011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11812
11813 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11814 Add wcscpy-ssse3 wcscpy-c.
11815 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11816 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11817 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11818 * sysdeps/x86_64/wcschr.S: New file.
11819 * sysdeps/x86_64/wcsrchr.S: New file.
11820 * string/test-strcmp.c: Remove checking of wcscmp function for
11821 wrong alignments.
11822 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11823 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11824 wcsrchr-sse2 wcsrchr-c.
11825 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11826 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11827 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11828 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11829 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11830 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11831 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11832 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11833 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11834 * wcsmbc/wcschr.c (WCSCHR): New macro.
11835
5b330a2d
UD
118362011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11837
11838 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11839 * wcsmbs/test-wcsrchr.c: New file.
11840 * string/test-strrchr.c: Add wcsrchr support.
11841 (WIDE): New macro.
11842 * wcsmbs/test-wcscpy.c: New file.
11843 * string/test-strcpy.c: Add wcscpy support.
11844 (WIDE): New macro.
26428b7c 11845
f039c043
UD
118462011-12-10 Ulrich Drepper <drepper@gmail.com>
11847
11848 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11849 the inner loop.
11850
850fb039
AS
118512011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11852
11853 [BZ #13472]
11854 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11855
4efbd5cb
UD
118562011-12-04 Ulrich Drepper <drepper@gmail.com>
11857
52ff5dd0 11858 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11859 Minor optimizations.
52ff5dd0 11860
4efbd5cb
UD
11861 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11862 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11863 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11864
8a426e12
UD
118652011-12-03 Ulrich Drepper <drepper@gmail.com>
11866
aff2453d
UD
11867 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11868 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11869 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11870 for gcc to avoid warnings.
11871 * inet/Makefile (tests): Add tst-checks.
11872 * inet/tst-checks.c: New file.
11873
11874 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11875 warning.
11876
11877 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11878 __wmemcmp_sse2.
11879
11880 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11881 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11882
8a426e12
UD
11883 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11884
9bea3473
UD
118852011-12-02 Ulrich Drepper <drepper@gmail.com>
11886
3a965496
UD
11887 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11888 problem.
11889
9bea3473
UD
11890 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11891
f101631b
UD
118922011-11-29 Joseph Myers <joseph@codesourcery.com>
11893
11894 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11895 conditional on GCC version.
11896 (__arch_compare_and_exchange_val_8_acq)
11897 (__arch_compare_and_exchange_val_16_acq)
11898 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11899 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11900 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11901
a98275aa
UD
119022011-12-02 Joseph Myers <joseph@codesourcery.com>
11903
11904 * sysdeps/sh/backtrace.c: New file.
11905
d4cc29a2
AS
119062011-12-02 Andreas Schwab <schwab@redhat.com>
11907
11908 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11909 parenthesis.
11910
6257af2d
AS
119112011-12-01 Andreas Schwab <schwab@redhat.com>
11912
11913 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11914 falling back to utime.
11915
b5f44c1a
AS
119162011-11-30 Andreas Schwab <schwab@redhat.com>
11917
11918 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11919 expectations for float.
11920
f3a6cc0a
AS
119212011-11-29 Andreas Schwab <schwab@redhat.com>
11922
11923 * locale/weight.h (findidx): Add parameter len.
11924 * locale/weightwc.h (findidx): Likewise.
11925 * posix/fnmatch_loop.c (FCT): Adjust caller.
11926 * posix/regcomp.c (build_equiv_class): Likewise.
11927 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11928 * posix/regexec.c (check_node_accept_bytes): Likewise.
11929 * string/strcoll_l.c (STRCOLL): Likewise.
11930 * string/strxfrm_l.c (STRXFRM): Likewise.
11931
9d65ea3a
UD
119322011-11-17 Ulrich Drepper <drepper@gmail.com>
11933
11934 * Makefile.in: Remove CVSOPT handling.
11935 * configure.in: Remove use of AC_REVISION.
11936 * iconvdata/Makefile (distribute): No need to filter out CVS.
11937 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11938 handling.
11939
5583a086
AS
119402011-11-16 Andreas Schwab <schwab@redhat.com>
11941
11942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11943 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11944 [USE_AS_STRNCASECMP_L]: Likewise.
11945 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11946 NO_TLS_DIRECT_SEG_REFS.
11947 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11948 Fix argument offsets for non-PIC.
11949 [USE_AS_STRNCASECMP_L]: Likewise.
11950 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11951 NO_TLS_DIRECT_SEG_REFS.
11952
d62a8200
UD
119532011-11-15 Ulrich Drepper <drepper@gmail.com>
11954
9d65ea3a 11955 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11956 O_CLOEXEC.
11957 * locale/loadlocale.c (_nl_load_locale): Likewise.
11958
09f93bd3
AS
119592011-11-15 Andreas Schwab <schwab@redhat.com>
11960
446514f9
AS
11961 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11962 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11963 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11964 (SYSCALL_GETTIME): Set errno on error.
11965
09f93bd3
AS
11966 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11967 count references to noai6ai_cached.
11968
312be3f9
UD
119692011-11-15 Ulrich Drepper <drepper@gmail.com>
11970
11971 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11972
11973 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11974 FD_CLOEXEC for /proc/self/maps.
11975
11976 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11977 FD_CLOEXEC for /proc/meminfo.
11978
11979 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11980 gai.conf.
11981
11982 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11983 FD_CLOEXEC for given file.
11984
11985 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11986
11987 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11988 FD_CLOEXEC for /etc/hosts.
11989 (_gethtent): Likewise.
11990
11991 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11992
11993 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11994 cancellation and set FD_CLOEXEC for /etc/netgroup.
11995
11996 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11997 reading /etc/publickey.
11998
11999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12000 allow cancellation when reading /etc/group.
12001
12002 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12003 cancellation.
12004 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12005
12006 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12007 when using data file.
12008
12009 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12010
12011 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12012 (write_nis_obj): Use "c" and "e" in fopen.
12013
12014 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12015
12016 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12017
12018 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12019
12020 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12021
12022 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12023 locale.alias.
12024
12025 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12026
12027 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12028
12029 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12030
12031 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12032 file parsing and set FD_CLOEXEC.
12033
82af0fa8
UD
120342011-11-14 Ulrich Drepper <drepper@gmail.com>
12035
12036 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12037
a5fb313c
AS
120382011-11-14 Andreas Schwab <schwab@redhat.com>
12039
12040 * malloc/arena.c (arena_get2): Don't call reused_arena when
12041 _int_new_arena failed.
12042
6abf3465
UD
120432011-11-14 Ulrich Drepper <drepper@gmail.com>
12044
12045 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12046 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12047 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12048 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12049 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12050 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12051 to compile strcasecmp and strncasecmp.
12052 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12053 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12054
12055 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12056
76e3966e
UD
120572011-11-13 Ulrich Drepper <drepper@gmail.com>
12058
12059 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12060 locale-defines.sym to gen-as-const-headers.
12061 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12062 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12064 to compile strcasecmp and strncasecmp.
12065 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12066 strcasecmp_l and strncasecmp_l.
12067 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12068 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12069 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12070 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12071 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12072 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12073 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12074 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12075 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12076 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12077 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12078
ab26144e
UD
120792011-11-12 Ulrich Drepper <drepper@gmail.com>
12080
7edb22ef
UD
12081 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12082 result of SYSDEP_GETTIME_CPU to retval.
12083 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12084 parameter list to macro. Remove trailing semicolon. Adjust users.
12085
9694fc44
UD
12086 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12087 variable.
12088
8ad89ef8
UD
12089 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12090 mantissa words.
12091 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12092
0c822ef9
UD
12093 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12094 from unused variable.
12095
874e0564
UD
12096 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12097 DWARF definitions.
12098 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12099 for assembling.
12100
3a2edc79
UD
12101 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12102 over namespaces.
12103
f3c2577f
UD
12104 * sunrpc/rpc_prot.c (rejected): Fix case value.
12105
294ce126
UD
12106 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12107 unsigned long long int to avoid warnings in shift.
12108
5e2b63c6
UD
12109 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12110 of use of trans.
12111 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12112 variable tmp.
12113
e7f4b08e
UD
12114 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12115 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12116 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12117
ab26144e
UD
12118 * nis/nis_table.c (nis_list): Use variable of correct type for
12119 result of __follow_path call.
12120
8a6d5255
AZ
121212011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12122
12123 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12124 of math functions ceil, trunc, floor, round, and sqrt, when
12125 avaliable on the platform.
12126 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12127 name clash.
12128 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12129 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12130 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12131
aaddc98c
MP
121322011-10-30 Marek Polacek <mpolacek@redhat.com>
12133
12134 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12135 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12136
95b7042b
RM
121372011-11-11 Roland McGrath <roland@hack.frob.com>
12138
12139 * include/unistd.h: Fix __readlink return type.
12140 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12141
57769839
UD
121422011-11-11 Ulrich Drepper <drepper@gmail.com>
12143
12144 * stdlib/ucontext.h: Undo last change for makecontext.
12145
edc5984d
AS
121462011-11-11 Andreas Schwab <schwab@redhat.com>
12147
98591e58
AS
12148 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12149
edc5984d
AS
12150 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12151 * setjmp/setjmp.h: Mark functions as non-leaf.
12152 * setjmp/bits/setjmp2.h: Likewise.
12153 * stdlib/ucontext.h: Likewise.
12154
77cdc054
AS
121552011-11-10 Andreas Schwab <schwab@redhat.com>
12156
12157 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12158 (reused_arena): Don't check arena limit.
12159 (arena_get2): Atomically check arena limit.
12160
fe72eebd
UD
121612011-11-08 Ulrich Drepper <drepper@gmail.com>
12162
5f078c32
UD
12163 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12164 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12165
fe72eebd
UD
12166 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12167 instructions.
12168
ae1bc2fa
AS
121692011-11-07 Andreas Schwab <schwab@redhat.com>
12170
7583a88d
AS
12171 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12172 handler when locking.
12173
ae1bc2fa
AS
12174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12175 Fix size of allocated buffer.
12176
10fb0bfa
AS
121772011-11-04 Andreas Schwab <schwab@redhat.com>
12178
998832a4
AS
12179 [BZ #10103]
12180 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12181 declarations for long double functions.
12182 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12183
10fb0bfa
AS
12184 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12185
3d7ba52b
AS
121862011-11-03 Andreas Schwab <schwab@redhat.com>
12187
a9ae54a1
AS
12188 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12189 installed.
12190
3d7ba52b
AS
12191 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12192 is disabled.
12193
bc8db248
ST
121942011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12195
12196 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12197
45b96dd6
AS
121982011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12199
647776f6
AS
12200 * include/alloca.h (stackinfo_alloca_round): Define.
12201 (extend_alloca): Use it.
12202 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12203 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12204 here.
12205
d91a8b93
AS
12206 * scripts/check-local-headers.sh: Ignore libaudit.h.
12207
45b96dd6
AS
12208 * nscd/Makefile (extra-objs): Make recursively expanded.
12209
432d41ce
UD
122102011-11-01 Ulrich Drepper <drepper@gmail.com>
12211
34372fc6
UD
12212 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12213 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12214
fadb59f8
UD
12215 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12216 * posix/tst-rfc3484-2.c: Likewise.
12217 * posix/tst-rfc3484-3.c: Likewise.
12218
78239589
UD
12219 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12220 process_vm_writev.
12221 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12222 process_vm_writev.
12223 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12224 process_vm_writev from libc using GLIBC_2.15 version.
12225
432d41ce
UD
12226 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12227
02f9c6cf
PP
122282011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12229
12230 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12231 stack usage.
12232
3a2c0242
UD
122332011-10-31 Ulrich Drepper <drepper@gmail.com>
12234
f4ec4833
UD
12235 [BZ #13367]
12236 * nss/getent.c (initgroups_keys): Show error message in case no group
12237 names are given.
12238
3a2c0242
UD
12239 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12240 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12241 __bump_nl_timestamp.
12242 * nscd/connections (nscd_init): When host database is served open
12243 netlink socket and request notification about configuration changes.
12244 (main_loop_poll): Track netlink file descriptor and bump timestamp
12245 in case data becomes available.
12246 (main_loop_epoll): Likewise.
12247 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12248 (database_pers_head): Add extra_data fileds.
12249 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12250 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12251 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12252 Adjust caller.
12253 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12254 in6ai data, call __free_in6ai.
12255 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12256 Add -DHAVE_NETLINK.
12257 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12258 interface information. Reuse previous data if netlink timestamp
12259 is not changed.
12260 (__bump_nl_timestamp): New function.
12261 (__free_in6ai): New function.
12262
636064eb
UD
122632011-10-30 Ulrich Drepper <drepper@gmail.com>
12264
12265 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12266 close_not_cancel_no_status here.
12267 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12268
9beb2334
UD
122692011-10-29 Ulrich Drepper <drepper@gmail.com>
12270
6ef76f3b
UD
12271 [BZ #13276]
12272 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12273 return value.
12274
0ffc4f3e 12275 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12276 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12277 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12278
cb95113e
UD
122792011-07-03 Andreas Jaeger <aj@suse.de>
12280
12281 [BZ #10709]
12282 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12283 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12284 * math/libm-test.inc (sin_test): Add test case.
12285
a1b560ff
UD
122862011-10-29 Ulrich Drepper <drepper@gmail.com>
12287
c9aaface
UD
12288 [BZ #13337]
12289 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12290 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12291
d272e7f1
UD
12292 * elf/chroot_canon.c (chroot_canon): Cleanups.
12293
1bc33071
UD
12294 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12295
1760874d
TJ
12296 [BZ #13335]
12297 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12298 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12299
51d91b18
UD
12300 * string/test-strchr.c: Make usable for strchrnul testing.
12301 * string/test-strchrnul.c: New file.
12302 * string/Makefile (strop-tests): Add strchrnul.
12303
a1b560ff 12304 * po/it.po: Update from translation team.
b611fb81 12305 * po/es.po: Likewise.
a1b560ff 12306
a5b81e1f
UD
123072011-10-28 Ulrich Drepper <drepper@gmail.com>
12308
fd52bc6d
UD
12309 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12310 the three constants needed as parameters. Drop the others.
12311 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12312 __m128i_strloadu_tolower.
52e4b9eb
UD
12313 Create and initialize variable zero and use it in all the places
12314 where _mm_setzero_si128 was used.
fd52bc6d 12315
a5b81e1f
UD
12316 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12317 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12318 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12319 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12320 anymore.
12321 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12322 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12323 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12324 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12325 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12326 __mpranred, __mptan.
12327 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12328 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12329 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12330 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12331 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12332 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12333 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12334 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12335 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12336
b4343346
AS
123372011-10-28 Andreas Schwab <schwab@redhat.com>
12338
0c92d8a8
AS
12339 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12340 redefine if SHARED.
12341 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12342
b4343346
AS
12343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12344 wide char related routines to wcsmbs subdir.
12345
3871f58f
AS
123462011-10-27 Andreas Schwab <schwab@redhat.com>
12347
12348 [BZ #13344]
12349 * misc/sys/cdefs.h (__THROWNL): Define.
12350 * posix/unistd.h: Use __THREADNL instead of __THREAD
12351 for memory synchronization functions.
12352
94d44d9f
RM
123532011-10-26 Roland McGrath <roland@hack.frob.com>
12354
21b64b15 12355 [BZ #13349]
94d44d9f
RM
12356 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12357 doesn't exist.
12358 * manual/stdio.texi (Obstack Streams): Node removed.
12359
f6ce9294
AS
123602011-10-26 Andreas Schwab <schwab@redhat.com>
12361
80479147
AS
12362 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12363 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12364 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12365
f6ce9294
AS
12366 * math/math_private.h (math_force_eval): Allow non-addressable
12367 arguments.
12368 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12369
618280a1
UD
123702011-10-25 Ulrich Drepper <drepper@gmail.com>
12371
e0016b11
UD
12372 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12373 file is not needed.
12374
12375 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12377 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12378 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12379 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12380 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12381 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12382 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12383 Add AVX variants.
12384 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12385 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12386 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12387 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12388 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12389 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12390 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12391 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12392 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12393 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12394 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12395 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12396 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12397 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12398 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12399 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12400 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12401 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12402 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12403
12404 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12405 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12406
618280a1
UD
12407 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12408 place. Use VEX encoding when compiling for AVX.
12409
37822576
AS
124102011-10-25 Andreas Schwab <schwab@redhat.com>
12411
1f1e1947
AS
12412 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12413 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12414
37822576
AS
12415 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12416
31ea014d
UD
124172011-10-25 Ulrich Drepper <drepper@gmail.com>
12418
d7826aa1 12419 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12420 useless if() expression.
d7826aa1
UD
12421 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12430 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12431 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12432 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12433 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12434 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12435 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12436 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12437 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12439 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12440
31ea014d
UD
12441 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12442
16437fec
AS
124432011-10-25 Andreas Schwab <schwab@redhat.com>
12444
12445 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12446 condition.
12447 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12448
31d3cc00
UD
124492011-10-25 Ulrich Drepper <drepper@gmail.com>
12450
12451 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12452 .text section. Avoid duplicate constants.
12453 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12454 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12455 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12457 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12461 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12462 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12463 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12464 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12465 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12466 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12467 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12468 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12470 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12471 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12472 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12473 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12474 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12475 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12476 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12477 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12478 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12479 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12480 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12481 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12482 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12483 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12484 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12485 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12486 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12487 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12488 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12489 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12490 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12491 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12492 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12493 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12495 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12496 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12497 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12498
58985aa9
UD
124992011-10-24 Ulrich Drepper <drepper@gmail.com>
12500
202c9deb
UD
12501 * sysdeps/x86_64/dla.h: Move to ...
12502 * sysdeps/x86_64/fpu/dla.h: ...here.
12503 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12504 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12505
af968f62
UD
12506 * config.make.in: Add have-mfma4 entry.
12507 * configure.in: Substitute libc_cv_cc_fma4.
12508 * math/Makefile (dbl-only-routines): Add sincostab.
12509 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12510 Use __sincostab not sincos.
12511 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12512 name is a macro.
12513 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12515 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12517 using __copysign.
12518 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12519 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12520 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12521 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12522 and __inv.
12523 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12524 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12525 __copysign.
12526 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12527 define aliases when function name is a macro.
12528 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12529 sysdeps/ieee754/dbl-64/sincos.tbl.
12530 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12531 fma4-enabled routines.
12532 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12533 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12534 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12535 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12536 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12537 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12538 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12539 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12540 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12541 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12542 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12543 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12544 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12545 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12546 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12547 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12548 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12549 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12550 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12551 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12552 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12553 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12554 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12555 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12556 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12557 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12558 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12559 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12560 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12561 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12562
58985aa9
UD
12563 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12564 rename.
12565 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12571 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12572 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12573
a201fbcf
AS
125742011-10-24 Andreas Schwab <schwab@redhat.com>
12575
12576 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12577
fc2ee42a
LD
125782011-10-23 Ulrich Drepper <drepper@gmail.com>
12579
bb3129bd
UD
12580 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12581
0275fff8
UD
12582 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12583 prediction.
12584 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12585
2fa2ae85
UD
12586 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12587 Remove unused variable magic_bits.
12588 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12589
fc2ee42a
LD
12590 * string/strnlen.c: Define and use STRNLEN macro.
12591 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12592 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12593 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12594 * wcsmbs/wcslen.c: Define and use WCSLEN.
12595 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12596 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12597 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12598 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12599 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12600 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12601 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12602
ce7dd29f
LD
126032011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12604
12605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12606 strnlen-sse2-no-bsf.
12607 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12608 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12609 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12610 Add strnlen support.
12611 (USE_AS_STRNLEN): New macro.
12612 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12613 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12614 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12615 * sysdeps/x86_64/wcslen.S: New file.
12616
979c70a3
MZ
126172011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12618
12619 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12620 XMM-moves are used for copying on small sizes.
12621
2d09f82f
LD
126222011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12623
12624 * wcsmbs/Makefile (strop-tests): Add wcschr.
12625 * wcsmbs/test-wcschr.c: New file.
12626 * string/test-strchr.c: Update.
12627 Add wcschr support.
12628 (WIDE): New macro.
12629
619fccca
LD
126302011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12631
2d09f82f 12632 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12633 * wcsmbs/test-wcslen.c: New file.
12634 * string/test-strlen.c: Update.
12635 Add wcslen support.
12636 (WIDE): New macro.
12637
09f699ea
UD
126382011-10-23 Ulrich Drepper <drepper@gmail.com>
12639
12640 * po/it.po: Update from translation team.
12641
95584d3b
LD
126422011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12643
12644 * sysdeps/x86_64/wcscmp.S: Update.
12645 Fix wrong comparison semantics.
12646 wcscmp shall use signed comparison not unsigned.
12647 Don't use substraction to avoid overflow bug.
12648 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12649 * wcsmbc/wcscmp.c: Likewise.
12650 * string/test-strcmp.c: Likewise.
12651 Add new tests to check cases with negative values.
12652
c8b3296b
UD
126532011-10-23 Ulrich Drepper <drepper@gmail.com>
12654
12655 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12656 * sysdeps/x86_64/dla.h: ...here. New file.
12657 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12662 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12664 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12665 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12666
246ad57a
AS
126672011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12668
12669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12670 __ynl_finite aliases.
12671
a1a87169
UD
126722011-10-22 Ulrich Drepper <drepper@gmail.com>
12673
0d355eb7
UD
12674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12675
a1a87169
UD
12676 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12677 define DLA_FMA.
12678 [DLA_FMA] (EMULV): Use DLA_FMA.
12679 [DLA_FMA] (MUL12): Use EMULV.
12680 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12681 that are not needed.
12682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12689
ee2aafe0
AS
126902011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12691
12692 * math/s_nan.c: Undef __nan.
12693 * math/s_nanf.c: Undef __nanf.
12694 * math/s_nanl.c: Undef __nanl.
12695 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12696 "math_private.h".
12697
bc62c2fb
UD
126982011-10-22 Ulrich Drepper <drepper@gmail.com>
12699
77425c63
UD
12700 * math/s_catan.c: Add branch predictions.
12701 * math/s_catanf.c: Likewise.
12702 * math/s_catanh.c: Likewise.
12703 * math/s_catanhf.c: Likewise.
12704 * math/s_catanhl.c: Likewise.
12705 * math/s_catanl.c: Likewise.
12706 * math/s_cexp.c: Likewise.
12707 * math/s_cexpf.c: Likewise.
12708 * math/s_cexpl.c: Likewise.
12709 * math/s_clog.c: Likewise.
12710 * math/s_clog10.c: Likewise.
12711 * math/s_clog10f.c: Likewise.
12712 * math/s_clog10l.c: Likewise.
12713 * math/s_clogf.c: Likewise.
12714 * math/s_clogl.c: Likewise.
12715 * math/s_csqrt.c: Likewise.
12716 * math/s_csqrtf.c: Likewise.
12717 * math/s_csqrtl.c: Likewise.
12718 * math/s_ctanf.c: Likewise.
12719 * math/s_ctanh.c: Likewise.
12720 * math/s_ctanhf.c: Likewise.
12721 * math/s_ctanhl.c: Likewise.
12722 * math/s_ctanl.c: Likewise.
12723
bc62c2fb
UD
12724 * math/math_private.h: Define __nan, __nanf, __nanl.
12725 * math/s_cacosh.c: Include <math_private.h>.
12726 * math/s_cacoshl.c: Likewise.
12727 * math/s_casinh.c: Likewise.
12728 * math/s_casinhf.c: Likewise.
12729 * math/s_casinhl.c: Likewise.
12730 * math/s_ccos.c: Rely entire on ccosh.
12731 * math/s_ccosf.c: Rely entire on ccoshf.
12732 * math/s_ccosl.c: Rely entirely on ccoshl.
12733 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12734 Remove tests for FE_INVALID.
12735 * math/s_ccoshf.c: Likewise.
12736 * math/s_ccoshl.c: Likewise.
12737 * math/s_csin.c: Likewise.
12738 * math/s_csinf.c: Likewise.
12739 * math/s_csinh.c Likewise.
12740 * math/s_csinhf.c: Likewise.
12741 * math/s_csinhl.c: Likewise.
12742 * math/s_csinl.c: Likewise.
12743 * math/s_ctan.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12745 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12746 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12747
8ec250a4
UD
127482011-10-21 Ulrich Drepper <drepper@gmail.com>
12749
c196fed8
UD
12750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12751 compilation problems.
12752
8ec250a4
UD
12753 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12754 __builtin_expect.
12755
8d4f46c6
UD
127562011-10-20 Ulrich Drepper <drepper@gmail.com>
12757
ed72b654
UD
12758 * sysdeps/i386/configure.in: Test for -mfma4 option.
12759 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12760 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12761 COMMON_CPUID_INDEX_80000001.
12762 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12763 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12764 use it if FMA3 is not supported.
12765 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12766
8d4f46c6
UD
12767 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12768 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12769
d45c60c2
AS
127702011-10-20 Andreas Schwab <schwab@redhat.com>
12771
12772 [BZ #12892]
12773 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12774 it would create a cycle with a link time dependency.
12775
d9a4d2ab
UD
127762011-10-19 Ulrich Drepper <drepper@gmail.com>
12777
855d1560
UD
12778 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12779 instruction.
12780 * string/Makefile (strop-tests): Add rawmemchr.
12781 * string/test-rawmemchr.c: New file.
12782
d9a4d2ab
UD
12783 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12784 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12785 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12786 when compiling str{,n}casecmp and when AVX is available. Hook up
12787 new optimized code in initializers.
12788
8f3b1ffe
AS
127892011-10-19 Andreas Schwab <schwab@redhat.com>
12790
12791 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12792 __feraiseexcept instead of feraiseexcept.
12793
d38f1dba
UD
127942011-10-18 Ulrich Drepper <drepper@gmail.com>
12795
d9a8d0ab
UD
12796 * math/math_private.h: Define defaults for libc_fetestexcept and
12797 libc_feupdateenv.
12798 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12799 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12800 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12801 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12802 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12803 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12804 libc_fetestexcept and libc_feupdateenv.
12805
4855e3dd
UD
12806 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12807 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12808 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12809 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12810 libc_feholdexcept_setround.
12811
581d30e3
UD
12812 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12813 Add s_nearbyint-c and s_nearbyintf-c.
12814 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12815 nearbyintf inlines.
12816 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12817 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12818 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12819 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12820
d38f1dba
UD
12821 * math/math_private.h: Define defaults for libc_fegetround,
12822 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12823 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12824 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12825 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12826 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12827 standard functions.
12828 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12829 Remove comments and hacks for old compiler versions.
12830 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12831 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12832 libc_feholdexceptl.
12833
caa6c9d8
AS
128342011-10-18 Andreas Schwab <schwab@redhat.com>
12835
12836 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12837 (__feraiseexcept_renamed): Add __NTH.
12838 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12839 namespace violations.
12840
97c066e6
UD
128412011-10-17 Ulrich Drepper <drepper@gmail.com>
12842
99ce7b04
UD
12843 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12844
1004d182
UD
12845 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12846
228a984d
UD
12847 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12848 recently added interfaces.
12849 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12850
c8553a6a
UD
12851 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12852 about macro parameter expansion.
12853
ed22dcf6
UD
12854 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12855 __NO_MATH_INLINES is defined. Cleanups.
12856
12857 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12858 and __floorf is target has SSE4.1.
12859 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12860 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12861 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12862 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12863
b171c137
UD
12864 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12865 name.
12866 (floorf): Likewise.
12867
97c066e6
UD
12868 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12869
629f62ef
AS
128702011-10-17 Andreas Schwab <schwab@redhat.com>
12871
49a43d80
AS
12872 * misc/sys/cdefs.h: Fix last change.
12873
629f62ef
AS
12874 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12875 database lookup.
12876
e453f6cd
UD
128772011-10-16 Ulrich Drepper <drepper@gmail.com>
12878
aa78043a
UD
12879 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12880
ad0f5cad
UD
12881 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12882 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12887 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12888 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12889 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12890 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12891 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12892 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12893 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12894 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12895 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12896 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12897 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12898 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12899 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12900 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12901 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12902 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12903
12904 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12905 ceil, ceilf, floor, floorf.
12906
12907 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12908 Perform IRELATIVE relocations last.
12909
e453f6cd
UD
12910 * elf/do-rel.h: Add another parameter nrelative, replacing the
12911 local variable with the same name. Change name of the function
12912 to end in Rel or Rela (uppercase).
12913 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12914 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12915 elf_dynamic_do_##reloc function.
12916
fd5bdc09
UD
129172011-10-15 Ulrich Drepper <drepper@gmail.com>
12918
79b195b5
UD
12919 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12920 is sufficient, at least on modern CPUs.
12921
d4a28569
UD
12922 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12923
b61099b5
UD
12924 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12925 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12926
bcf01e6d
UD
12927 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12928 __expl_finite.
12929 * math/bits/math-finite.h: Add entries for exp.
12930 * math/e_expl.c: Add __*_finite alias.
12931 * sysdeps/i386/fpu/e_exp.S: Likewise.
12932 * sysdeps/i386/fpu/e_expf.S: Likewise.
12933 * sysdeps/i386/fpu/e_expl.c: Likewise.
12934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12935 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12936 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12938 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12939 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12940 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12941
ba1a0d59
UD
12942 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12943 is sufficient, at least on modern CPUs.
12944
fd5bdc09
UD
12945 * ctype/ctype-info.c (__ctype_init): Define.
12946 * include/ctype.h (__ctype_init): Declare.
12947 (__ctype_b_loc): The variable is always initialized.
12948 (__ctype_toupper_loc): Likewise.
12949 (__ctype_tolower_loc): Likewise.
12950 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12951 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12952
7872cfb0
AS
129532011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12954
b468825a
AS
12955 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12956
7872cfb0
AS
12957 * configure.in: Also look in $cxxmachine/include for C++ system
12958 headers.
12959
be13f7bf
LD
129602011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12961
12962 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12963 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12964 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12965 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12966 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12967 (USE_AS_WMEMCMP): New macro.
12968 Fixing indents.
12969 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12970 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12971 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12972 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12974 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12975 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12976 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12977 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12978 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12979 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12980 (USE_AS_WMEMCMP): New macro.
12981 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12982 * sysdeps/string/test-memcmp.c: Update.
12983 Fix simple_wmemcmp.
12984 Add new tests.
12985 * wcsmbs/wmemcmp.c: Update.
12986 (WMEMCMP): New macro.
12987 Fix overflow bug.
12988
556a2007
AJ
129892011-10-12 Andreas Jaeger <aj@suse.de>
12990
12991 [BZ #13268]
12992 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12993
538faaa7
UD
129942011-10-15 Ulrich Drepper <drepper@gmail.com>
12995
ab6737ff
UD
12996 * libio/iofwide.c (do_length): Avoid warning.
12997
538faaa7
UD
12998 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12999
396a21b1
UD
130002011-10-14 Ulrich Drepper <drepper@gmail.com>
13001
cdf2901f
UD
13002 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13003
38ad40ce
UD
13004 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13005 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13006 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13007 * sysdeps/i386/i686/fpu/e_log.S: New file.
13008 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13009 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13010
396a21b1
UD
13011 * ctype/ctype.h: Add support for inlined isXXX functions when
13012 compiling C++ code.
13013
6b1f68c9
AS
130142011-10-14 Andreas Schwab <schwab@redhat.com>
13015
349290c0
AS
13016 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13017
6b1f68c9
AS
13018 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13019
f2282d42
RM
130202011-10-13 Roland McGrath <roland@hack.frob.com>
13021
13022 [BZ #13291]
13023 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13024
5298ffa8
AS
130252011-10-13 Andreas Schwab <schwab@redhat.com>
13026
714fad23
AS
13027 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13028 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13029 feraiseexcept.
13030
81dcc7fb
AS
13031 * sysdeps/x86_64/memrchr.S: Check for zero size.
13032
5298ffa8
AS
13033 * string/stratcliff.c: Add memrchr tests.
13034
951fbcec
LD
130352011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13036
13037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13038 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13039 rawmemchr-sse2 rawmemchr-sse2-bsf.
13040 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13041 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13042 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13043 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13044 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13045 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13046 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13047 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13048 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13049 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13050 * string/memrchr.c (MEMRCHR): New macro.
13051
0ac5ae23
UD
130522011-10-12 Ulrich Drepper <drepper@gmail.com>
13053
13054 Add integration with gcc's -ffinite-math-only and optimize wrapper
13055 functions in libm.
13056 * Versions.def: Define GLIBC_2.15 version for libm.
13057 * math/Makefile (headers): Add bits/math-finite.h.
13058 * math/bits/math-finite.h: New file.
13059 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13060 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13061 * math/e_acoshl.c: Add __*_finite alias.
13062 * math/e_acosl.c: Likewise.
13063 * math/e_asinl.c: Likewise.
13064 * math/e_atan2l.c: Likewise.
13065 * math/e_atanhl.c: Likewise.
13066 * math/e_coshl.c: Likewise.
13067 * math/e_exp10.c: Likewise.
13068 * math/e_exp10f.c: Likewise.
13069 * math/e_exp10l.c: Likewise.
13070 * math/e_exp2l.c: Likewise.
13071 * math/e_fmodl.c: Likewise.
13072 * math/e_gammal_r.c: Likewise.
13073 * math/e_hypotl.c: Likewise.
13074 * math/e_j0l.c: Likewise.
13075 * math/e_j1l.c: Likewise.
13076 * math/e_jnl.c: Likewise.
13077 * math/e_lgammal_r.c: Likewise.
13078 * math/e_log10l.c: Likewise.
13079 * math/e_log2l.c: Likewise.
13080 * math/e_logl.c: Likewise.
13081 * math/e_powl.c: Likewise.
13082 * math/e_sinhl.c: Likewise.
13083 * math/e_sqrtl.c: Likewise.
13084 * math/e_scalb.c: Completely rewritten and optimized.
13085 * math/e_scalbf.c: Likewise.
13086 * math/e_scalbl.c: Likewise.
13087 * math/w_acos.c: Likewise.
13088 * math/w_acosf.c: Likewise.
13089 * math/w_acosl.c: Likewise.
13090 * math/w_acosh.c: Likewise.
13091 * math/w_acoshf.c: Likewise.
13092 * math/w_acoshl.c: Likewise.
13093 * math/w_asin.c: Likewise.
13094 * math/w_asinf.c: Likewise.
13095 * math/w_asinl.c: Likewise.
13096 * math/w_atan2.c: Likewise.
13097 * math/w_atan2f.c: Likewise.
13098 * math/w_atan2l.c: Likewise.
13099 * math/w_atanh.c: Likewise.
13100 * math/w_atanhf.c: Likewise.
13101 * math/w_atanhl.c: Likewise.
13102 * math/w_exp10.c: Likewise.
13103 * math/w_exp10f.c: Likewise.
13104 * math/w_exp10l.c: Likewise.
13105 * math/w_fmod.c: Likewise.
13106 * math/w_fmodf.c: Likewise.
13107 * math/w_fmodl.c: Likewise.
13108 * math/w_j0.c: Likewise.
13109 * math/w_j0f.c: Likewise.
13110 * math/w_j0l.c: Likewise.
13111 * math/w_j1.c: Likewise.
13112 * math/w_j1f.c: Likewise.
13113 * math/w_j1l.c: Likewise.
13114 * math/w_jn.c: Likewise.
13115 * math/w_jnf.c: Likewise.
13116 * math/w_log.c: Likewise.
13117 * math/w_logf.c: Likewise.
13118 * math/w_logl.c: Likewise.
13119 * math/w_log10.c: Likewise.
13120 * math/w_log10f.c: Likewise.
13121 * math/w_log10l.c: Likewise.
13122 * math/w_log2.c: Likewise.
13123 * math/w_log2f.c: Likewise.
13124 * math/w_log2l.c: Likewise.
13125 * math/w_pow.c: Likewise.
13126 * math/w_powf.c: Likewise.
13127 * math/w_powl.c: Likewise.
13128 * math/w_remainder.c: Likewise.
13129 * math/w_remainderf.c: Likewise.
13130 * math/w_remainderl.c: Likewise.
13131 * math/w_scalb.c: Likewise.
13132 * math/w_scalbf.c: Likewise.
13133 * math/w_scalbl.c: Likewise.
13134 * math/w_sqrt.c: Likewise.
13135 * math/w_sqrtf.c: Likewise.
13136 * math/w_sqrtl.c: Likewise.
13137 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13138 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13139 used.
13140 * math/math_private.h: Declare __kernel_standard_f.
13141 * math/w_cosh.c: Remove cruft and optimize a bit.
13142 * math/w_coshf.c: Likewise.
13143 * math/w_coshl.c: Likewise.
13144 * math/w_exp2.c: Likewise.
13145 * math/w_exp2f.c: Likewise.
13146 * math/w_exp2l.c: Likewise.
13147 * math/w_hypot.c: Likewise.
13148 * math/w_hypotf.c: Likewise.
13149 * math/w_hypotl.c: Likewise.
13150 * math/w_lgamma.c: Likewise.
13151 * math/w_lgamma_r.c: Likewise.
13152 * math/w_lgammaf.c: Likewise.
13153 * math/w_lgammaf_r.c: Likewise.
13154 * math/w_lgammal.c: Likewise.
13155 * math/w_lgammal_r.c: Likewise.
13156 * math/w_sinh.c: Likewise.
13157 * math/w_sinhf.c: Likewise.
13158 * math/w_sinhl.c: Likewise.
13159 * math/w_tgamma.c: Likewise.
13160 * math/w_tgammaf.c: Likewise.
13161 * math/w_tgammal.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13163 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13164 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13165 Minor optimizations. Pretty printing. Remove cruft.
13166 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13167 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13168 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13169 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13170 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13171 * sysdeps/i386/fpu/e_asin.S: Likewise.
13172 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13173 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13174 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13175 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13176 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13177 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13178 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13179 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13180 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13181 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13182 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13183 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13184 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13185 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13186 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13187 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13188 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13189 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13190 * sysdeps/i386/fpu/e_log.S: Likewise.
13191 * sysdeps/i386/fpu/e_log10.S: Likewise.
13192 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13193 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13194 * sysdeps/i386/fpu/e_log2.S: Likewise.
13195 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13196 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13197 * sysdeps/i386/fpu/e_logf.S: Likewise.
13198 * sysdeps/i386/fpu/e_logl.S: Likewise.
13199 * sysdeps/i386/fpu/e_pow.S: Likewise.
13200 * sysdeps/i386/fpu/e_powf.S: Likewise.
13201 * sysdeps/i386/fpu/e_powl.S: Likewise.
13202 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13203 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13204 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13205 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13206 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13207 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13208 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13209 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13210 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13216 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13217 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13232 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13233 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13234 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13235 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13236 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13237 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13238 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13239 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13240 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13241 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13242 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13243 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13244 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13245 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13246 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13247 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13248 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13249 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13250 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13251 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13252 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13253 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13255 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13256 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13257 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13258 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13259 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13260 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13261 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13263 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13264 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13265 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13266 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13267 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13268 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13269 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13270 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13272 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13273 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13277 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13279 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13280 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13281 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13282 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13283 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13289 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13291 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13294 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13296 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13297 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13299 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13300 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13301 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13302 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13303 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13304 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13305 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13306 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13307 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13308 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13309 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13310 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13311 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13312 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13313 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13314 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13315 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13316 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13317 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13318 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13319 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13320 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13321 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13322 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13323 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13324 (__isnanf): Likewise.
13325 (__isinf_ns): Likewise.
13326 (__isinf_nsf): Likewise.
13327 (__finite): Likewise.
13328 (__finitef): Likewise.
13329 (__ieee754_sqrt): Define as macro.
13330 (__ieee754_sqrtf): Define as macro.
13331 (__ieee754_sqrtl): Define as macro.
13332 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13333 inlined copy.
13334 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13335 __FINITE_MATH_ONLY__ consistent.
13336 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13337
12cc2fcd
AS
133382011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13339
a843a204
AS
13340 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13341 of rawmemchr.
13342
12cc2fcd
AS
13343 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13344
c853acd5
UD
133452011-10-09 Ulrich Drepper <drepper@gmail.com>
13346
13347 * po/ja.po: Update from translation team.
13348
c658d255
RM
133492011-10-08 Roland McGrath <roland@hack.frob.com>
13350
110946e4
RM
13351 * locale/programs/locarchive.c (prepare_address_space): New function.
13352 (create_archive, enlarge_archive, open_archive): Use it.
13353
50604220
RM
13354 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13355 inside [SHARED], where it is used.
13356
c658d255
RM
13357 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13358
13359 * nss/getent.c (netgroup_keys): Remove unused variable.
13360 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13361
6a621eb7
UD
133622011-10-08 Ulrich Drepper <drepper@gmail.com>
13363
7edb55ce
UD
13364 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13365 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13367 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13368 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13369 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13370 * math/Makefile (libm-calls): Add s_isinf_ns.
13371 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13372 * math/multc3.c: Likewise.
13373 * math/s_casin.c: Likewise.
13374 * math/s_casinf.c: Likewise.
13375 * math/s_casinl.c: Likewise.
13376 * math/s_ccos.c: Likewise.
13377 * math/s_ccosf.c: Likewise.
13378 * math/s_ccosl.c: Likewise.
13379 * math/s_ctan.c: Likewise.
13380 * math/s_ctanf.c: Likewise.
13381 * math/s_ctanh.c: Likewise.
13382 * math/s_ctanhf.c: Likewise.
13383 * math/s_ctanhl.c: Likewise.
13384 * math/s_ctanl.c: Likewise.
13385 * math/w_fmod.c: Likewise.
13386 * math/w_fmodf.c: Likewise.
13387 * math/w_fmodl.c: Likewise.
13388 * math/w_remainder.c: Likewise.
13389 * math/w_remainderf.c: Likewise.
13390 * math/w_remainderl.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13392 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13395 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13396 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13397 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13398 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13399
187da0ae
UD
13400 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13401 of the number.
13402 * stdio-common/printf_fphex.c: Likewise.
13403 * stdio-common/printf_size.c: Likewise.
13404
9277c064
UD
13405 * math/e_exp10.c: Include math_private.h using <...> not "...".
13406 * math/e_exp10f.c: Likewise.
13407 * math/e_exp10l.c: Likewise.
13408 * math/e_exp2l.c: Likewise.
13409 * math/e_j0l.c: Likewise.
13410 * math/e_j1l.c: Likewise.
13411 * math/e_jnl.c: Likewise.
13412 * math/e_lgammal_r.c: Likewise.
13413 * math/e_rem_pio2l.c: Likewise.
13414 * math/e_scalb.c: Likewise.
13415 * math/e_scalbf.c: Likewise.
13416 * math/e_scalbl.c: Likewise.
13417 * math/k_cosl.c: Likewise.
13418 * math/k_sinl.c: Likewise.
13419 * math/k_tanl.c: Likewise.
13420 * math/s_cacoshf.c: Likewise.
13421 * math/s_catan.c: Likewise.
13422 * math/s_catanf.c: Likewise.
13423 * math/s_catanh.c: Likewise.
13424 * math/s_catanhf.c: Likewise.
13425 * math/s_catanhl.c: Likewise.
13426 * math/s_catanl.c: Likewise.
13427 * math/s_ccosh.c: Likewise.
13428 * math/s_ccoshf.c: Likewise.
13429 * math/s_ccoshl.c: Likewise.
13430 * math/s_cexp.c: Likewise.
13431 * math/s_cexpf.c: Likewise.
13432 * math/s_cexpl.c: Likewise.
13433 * math/s_clog.c: Likewise.
13434 * math/s_clog10.c: Likewise.
13435 * math/s_clog10f.c: Likewise.
13436 * math/s_clog10l.c: Likewise.
13437 * math/s_clogf.c: Likewise.
13438 * math/s_clogl.c: Likewise.
13439 * math/s_csin.c: Likewise.
13440 * math/s_csinf.c: Likewise.
13441 * math/s_csinh.c: Likewise.
13442 * math/s_csinhf.c: Likewise.
13443 * math/s_csinhl.c: Likewise.
13444 * math/s_csinl.c: Likewise.
13445 * math/s_csqrt.c: Likewise.
13446 * math/s_csqrtf.c: Likewise.
13447 * math/s_csqrtl.c: Likewise.
13448 * math/s_ctan.c: Likewise.
13449 * math/s_ctanf.c: Likewise.
13450 * math/s_ctanh.c: Likewise.
13451 * math/s_ctanhf.c: Likewise.
13452 * math/s_ctanhl.c: Likewise.
13453 * math/s_ctanl.c: Likewise.
13454 * math/s_ldexp.c: Likewise.
13455 * math/s_ldexpf.c: Likewise.
13456 * math/s_ldexpl.c: Likewise.
13457 * math/s_significand.c: Likewise.
13458 * math/s_significandf.c: Likewise.
13459 * math/s_significandl.c: Likewise.
13460 * math/w_acos.c: Likewise.
13461 * math/w_acosf.c: Likewise.
13462 * math/w_acosh.c: Likewise.
13463 * math/w_acoshf.c: Likewise.
13464 * math/w_acoshl.c: Likewise.
13465 * math/w_acosl.c: Likewise.
13466 * math/w_asin.c: Likewise.
13467 * math/w_asinf.c: Likewise.
13468 * math/w_asinl.c: Likewise.
13469 * math/w_atan2.c: Likewise.
13470 * math/w_atan2f.c: Likewise.
13471 * math/w_atan2l.c: Likewise.
13472 * math/w_atanh.c: Likewise.
13473 * math/w_atanhf.c: Likewise.
13474 * math/w_atanhl.c: Likewise.
13475 * math/w_cosh.c: Likewise.
13476 * math/w_coshf.c: Likewise.
13477 * math/w_coshl.c: Likewise.
13478 * math/w_dremf.c: Likewise.
13479 * math/w_exp10.c: Likewise.
13480 * math/w_exp10f.c: Likewise.
13481 * math/w_exp10l.c: Likewise.
13482 * math/w_exp2.c: Likewise.
13483 * math/w_exp2f.c: Likewise.
13484 * math/w_fmod.c: Likewise.
13485 * math/w_fmodf.c: Likewise.
13486 * math/w_fmodl.c: Likewise.
13487 * math/w_hypot.c: Likewise.
13488 * math/w_hypotf.c: Likewise.
13489 * math/w_hypotl.c: Likewise.
13490 * math/w_j0.c: Likewise.
13491 * math/w_j0f.c: Likewise.
13492 * math/w_j0l.c: Likewise.
13493 * math/w_j1.c: Likewise.
13494 * math/w_j1f.c: Likewise.
13495 * math/w_j1l.c: Likewise.
13496 * math/w_jn.c: Likewise.
13497 * math/w_jnf.c: Likewise.
13498 * math/w_jnl.c: Likewise.
13499 * math/w_lgamma.c: Likewise.
13500 * math/w_lgamma_r.c: Likewise.
13501 * math/w_lgammaf.c: Likewise.
13502 * math/w_lgammaf_r.c: Likewise.
13503 * math/w_lgammal.c: Likewise.
13504 * math/w_lgammal_r.c: Likewise.
13505 * math/w_log.c: Likewise.
13506 * math/w_log10.c: Likewise.
13507 * math/w_log10f.c: Likewise.
13508 * math/w_log10l.c: Likewise.
13509 * math/w_log2.c: Likewise.
13510 * math/w_log2f.c: Likewise.
13511 * math/w_log2l.c: Likewise.
13512 * math/w_logf.c: Likewise.
13513 * math/w_logl.c: Likewise.
13514 * math/w_pow.c: Likewise.
13515 * math/w_powf.c: Likewise.
13516 * math/w_powl.c: Likewise.
13517 * math/w_remainder.c: Likewise.
13518 * math/w_remainderf.c: Likewise.
13519 * math/w_remainderl.c: Likewise.
13520 * math/w_scalb.c: Likewise.
13521 * math/w_scalbf.c: Likewise.
13522 * math/w_scalbl.c: Likewise.
13523 * math/w_sinh.c: Likewise.
13524 * math/w_sinhf.c: Likewise.
13525 * math/w_sinhl.c: Likewise.
13526 * math/w_sqrt.c: Likewise.
13527 * math/w_sqrtf.c: Likewise.
13528 * math/w_sqrtl.c: Likewise.
13529 * math/w_tgamma.c: Likewise.
13530 * math/w_tgammaf.c: Likewise.
13531 * math/w_tgammal.c: Likewise.
13532
6a621eb7
UD
13533 * po/ja.po: Update from translation team.
13534
bf582445
AJ
135352011-09-29 Andreas Jaeger <aj@suse.de>
13536
f9efbf3a
AJ
13537 [BZ #13179]
13538 * sunrpc/netname.c (netname2host): Fix logic.
13539
bf582445
AJ
13540 [BZ #6779]
13541 [BZ #6783]
13542 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13543 correctly.
13544 * math/w_remainder.c (__remainder): Likewise.
13545 * math/w_remainderf.c (__remainderf): Likewise.
13546 * math/libm-test.inc (remainder_test): Add test cases.
13547
48693bea
AK
135482011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13549
13550 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13551 sdiv_qrnnd.
13552
42622229
LD
135532011-10-07 Ulrich Drepper <drepper@gmail.com>
13554
13555 * string/test-memcmp.c: Avoid unncessary #defines.
13556 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13557
093ecf92
LD
135582011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13559
13560 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13561 Use new sse2 version for core i3 - i7 as it's faster
13562 than sse42 version.
13563 (bit_Prefer_PMINUB_for_stringop): New.
13564 * sysdeps/x86_64/rawmemchr.S: Update.
13565 Replace with faster SSE2 version.
13566 * sysdeps/x86_64/memrchr.S: New file.
13567 * sysdeps/x86_64/memchr.S: Update.
13568 Replace with faster SSE2 version.
13569
fde56e5c
MP
135702011-09-12 Marek Polacek <mpolacek@redhat.com>
13571
13572 * elf/dl-load.c (lose): Add cast to avoid warning.
13573
21fd49a9
UD
135742011-10-07 Ulrich Drepper <drepper@gmail.com>
13575
5a06e643
UD
13576 * po/ca.po: Update from translation team.
13577
684ae515
UD
13578 * inet/getnetgrent_r.c: Hook up nscd.
13579 * nscd/Makefile (routines): Add nscd_netgroup.
13580 (nscd-modules): Add netgroupcache.
13581 (CFLAGS-netgroupcache.c): Define.
13582 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13583 (cache_search): Add const to second parameter.
13584 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13585 INNETGR.
13586 (dbs): Add netgrdb entry.
13587 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13588 (verify_persistent_db): Handle netgrdb.
13589 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13590 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13591 GETFDNETGR.
13592 (netgroup_response_header): Define.
13593 (innetgroup_response_header): Define.
13594 (datahead): Add netgroup_response_header and innetgroup_response_header
13595 elements.
13596 * nscd/nscd.conf: Add entries for netgroup cache.
13597 * nscd/nscd.h (dbtype): Add netgrdb.
13598 (_PATH_NSCD_NETGROUP_DB): Define.
13599 (netgroup_iov_disabled): Declare.
13600 (xmalloc, xcalloc, xrealloc): Move declarations here.
13601 (cache_search): Adjust prototype.
13602 Add netgroup-related prototypes.
13603 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13604 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13605 (__nscd_innetgr): Declare.
13606 * nscd/selinux.c (perms): Use access_vector_t as element type and
13607 add netgroup-related initializers.
13608 * nscd/netgroupcache.c: New file.
13609 * nscd/nscd_netgroup.c: New file.
13610 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13611 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13612 For four parameters use innetgr.
13613 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13614 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13615 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13616 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13617
21fd49a9
UD
13618 * nscd/connections.c (register_traced_file): Don't register file
13619 for disabled databases.
13620
054c0457
UD
136212011-10-06 Ulrich Drepper <drepper@gmail.com>
13622
32b63198
UD
13623 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13624
054c0457
UD
13625 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13626 from tree and freeing node.
13627
64031225
JO
136282011-09-25 Jiri Olsa <jolsa@redhat.com>
13629
13630 * nss/nsswitch.c (__nss_database_lookup): Handle
13631 nss_parse_service_list out of memory case.
13632
0490345c
JO
136332011-09-15 Jiri Olsa <jolsa@redhat.com>
13634
13635 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13636 out of memory case.
13637
3a62d00d
AS
136382011-10-04 Andreas Schwab <schwab@redhat.com>
13639
13640 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13641 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13642 pass it down.
13643 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13644 elf_machine_rela, elf_machine_lazy_rel.
13645 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13646 (ELF_DYNAMIC_DO_REL): Likewise.
13647 (ELF_DYNAMIC_DO_RELA): Likewise.
13648 (ELF_DYNAMIC_RELOCATE): Likewise.
13649 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13650 to ELF_DYNAMIC_DO_REL.
13651 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13652 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13653 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13654 elf_machine_rela.
13655 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13656 skip_ifunc, don't call ifunc function if non-zero.
13657 (elf_machine_rela): Likewise.
13658 (elf_machine_lazy_rel): Likewise.
13659 (elf_machine_lazy_rela): Likewise.
13660 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13661 (elf_machine_lazy_rel): Likewise.
13662 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13663 Likewise.
13664 (elf_machine_lazy_rel): Likewise.
13665 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13666 Likewise.
13667 (elf_machine_lazy_rel): Likewise.
13668 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13669 (elf_machine_lazy_rel): Likewise.
13670 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13671 (elf_machine_lazy_rel): Likewise.
13672 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13673 (elf_machine_lazy_rel): Likewise.
13674 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13675 (elf_machine_lazy_rel): Likewise.
13676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13677 (elf_machine_lazy_rel): Likewise.
13678 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13679 (elf_machine_lazy_rel): Likewise.
13680
68577918
UD
136812011-09-28 Ulrich Drepper <drepper@gmail.com>
13682
13683 * nss/nss_files/files-init.c (_nss_files_init): Use static
13684 initialization for all the *_traced_file variables.
13685
68822d74
AS
136862011-09-28 Andreas Schwab <schwab@redhat.com>
13687
13688 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13689
2056100b
RM
136902011-09-27 Roland McGrath <roland@hack.frob.com>
13691
13692 [BZ #13226]
13693 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13694
32c76b63
AS
136952011-09-27 Andreas Schwab <schwab@redhat.com>
13696
13697 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13698 Reread the line before reparsing it.
13699
bf972c9d
AS
137002011-09-26 Andreas Schwab <schwab@redhat.com>
13701
13702 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13703
e057a1b5
JM
137042011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13705 Maxim Kuvyrkov <maxim@codesourcery.com>
13706 Joseph Myers <joseph@codesourcery.com>
13707
13708 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13709 if needed for __stack_chk_guard.
13710
bc7e1c36
RM
137112011-09-19 Roland McGrath <roland@hack.frob.com>
13712
ecb1482f
RM
13713 * sysdeps/posix/spawni.c (script_execute): Always define it.
13714 It will be optimized away if unused.
13715 (maybe_script_execute): New function.
13716 (__spawni): Call it.
13717
bc7e1c36
RM
13718 * Makerules: Don't include tls.make.
13719 (config-tls): Always set to thread.
13720 * tls.make.c: File removed.
13721
1c3b002b
MF
137222011-09-19 Mike Frysinger <vapier@gentoo.org>
13723
13724 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13725 * config.make.in (CPPFLAGS-config): New substituted variable.
13726
2840865d
UD
137272011-09-15 Ulrich Drepper <drepper@gmail.com>
13728
88738eb6
UD
13729 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13730
cbf645a6 13731 [BZ #13192]
2840865d
UD
13732 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13733 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13734
b402e91a
RM
137352011-09-15 Roland McGrath <roland@hack.frob.com>
13736
13737 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13738 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13740 (CALL_FAIL): Likewise.
13741 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13742 (CALL_FAIL): Macro removed.
13743 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13744
4c1a1f71
UD
137452011-09-15 Ulrich Drepper <drepper@gmail.com>
13746
13747 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13748 for __FINITE_MATH_ONLY__ == 1.
13749
edc121be
AS
137502011-09-15 Andreas Schwab <schwab@redhat.com>
13751
13752 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13753 __ieee754_sqrt instead of sqrt.
13754 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13755 __ieee754_sqrtf instead of sqrtf.
13756 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13757 __floorf instead of floorf.
13758 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13759 __floorf, __truncf instead of floorf, truncf.
13760
cd205654
UD
137612011-09-14 Ulrich Drepper <drepper@gmail.com>
13762
ee4d0315
UD
13763 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13764
cd205654
UD
13765 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13766 __extern_always_inline.
13767 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13768 32-bit.
13769
48b67d71
AS
137702011-09-14 Andreas Schwab <schwab@redhat.com>
13771
13772 * elf/rtld.c (dl_main): Also relocate in dependency order when
13773 doing symbol dependency testing.
13774
1ae12c75
AS
137752011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13776
13777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13778 Always define `refsym'.
13779
995a80df
AS
137802011-09-13 Andreas Schwab <schwab@redhat.com>
13781
e529793b
AS
13782 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13783 (__FD_ELT): Renamed from __FDELT.
13784 * misc/bits/select2.h (__FD_ELT): Likewise.
13785 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13786 __FD_MASK instead of __FDELT, __FDMASK.
13787 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13788 Likewise.
13789 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13790 Likewise.
13791
52d4fef8
AS
13792 * elf/Makefile (gen-ldd): Fix pattern.
13793
995a80df
AS
13794 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13795 (init_tls): Likewise.
13796
8682f8b0
UD
137972011-09-12 Ulrich Drepper <drepper@gmail.com>
13798
13799 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13800
de82006d
AS
138012011-09-12 Andreas Schwab <schwab@redhat.com>
13802
a7c8e6a1
AS
13803 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13804 `struct cmsghdr *' instead of `void *'.
13805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13806 Likewise.
13807
0f31fe77
AS
138082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13809
13810 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13811 if non-absolute.
13812 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13813 ldd_rewrite_script.
0f31fe77 13814
32b4c839
UD
138152011-09-11 Ulrich Drepper <drepper@gmail.com>
13816
83cd1420
UD
13817 * configure.in: Remove --with-tls option.
13818 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13819 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13820 out in case it is missing.
13821 * sysdeps/ia64/elf/configure.in: Likewise.
13822 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13823 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13824 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13825 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13826 * sysdeps/sh/elf/configure.in: Likewise.
13827 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13828 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13829 * sysdeps/x86_64/elf/configure.in: Likewise.
13830 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13831 * sysdeps/mach/hurd/tls.h: Likewise.
13832
633f745d
UD
13833 [BZ #13067]
13834 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13835
f318beb8
UD
13836 [BZ #13090]
13837 * configure.in: Fix use of AC_INIT.
13838
32b4c839
UD
13839 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13840
3ce1f295
UD
138412011-09-10 Ulrich Drepper <drepper@gmail.com>
13842
bb016596
UD
13843 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13844 __set_errno.
8e58439c
UD
13845 * malloc/hooks.c: Likewise.
13846
aebae053 13847 [BZ #11929]
02d46fc4
UD
13848 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13849 variables statically.
13850 (narenas): Initialize.
13851 (list_lock): Initialize.
bb016596
UD
13852 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13853 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13854 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13855 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13856 Add initializers to main_arena and mp_.
13857 (malloc_state): Remove pagesize member. Change all users to use
13858 GLRO(dl_pagesize).
13859
13860 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13861 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13862 is always initialized.
13863
22a89187
UD
13864 * malloc/malloc.c: Removed unused configurations and dead code.
13865 * malloc/arena.c: Likewise.
13866 * malloc/hooks.c: Likewise.
02d46fc4 13867 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13868
d063d164
UD
13869 * include/tls.h: Removed. USE___THREAD must always be defined.
13870 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13871 * elf/dl-libc.c: Likewise.
13872 * elf/dl-tsd.c: Likewise.
13873 * include/errno.h: Likewise.
13874 * include/netdb.h: Likewise.
13875 * include/resolv.h: Likewise.
13876 * inet/herrno-loc.c: Likewise.
13877 * inet/herrno.c: Likewise.
13878 * malloc/arena.c: Likewise.
13879 * malloc/hooks.c: Likewise.
13880 * malloc/malloc.c: Likewise.
13881 * resolv/res-state.c: Likewise.
13882 * resolv/res_libc.c: Likewise.
13883 * sysdeps/i386/dl-machine.h: Likewise.
13884 * sysdeps/ia64/dl-machine.h: Likewise.
13885 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13886 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13887 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13888 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13889 * sysdeps/sh/dl-machine.h: Likewise.
13890 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13891 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13892 * sysdeps/unix/i386/sysdep.S: Likewise.
13893 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13894 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13896 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13898 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13899 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13900 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13901 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13903 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13904 * sysdeps/x86_64/dl-machine.h: Likewise.
13905 * tls.make.c: Likewise.
13906
3ce1f295
UD
13907 * configure.in: Remove --with-__thread option. Make tests for
13908 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13909 tls_model attribute fail if no support is available. Remove
13910 USE_IN_LIBIO.
13911 * Makeconfig: Adjust for dropped configure option. All features are
13912 now mandatory.
13913 * Makerules: Likewise.
13914 * Versions.def: Likewise.
13915 * argp/argp-fmtstream.c: Likewise.
13916 * argp/argp-fmtstream.h: Likewise.
13917 * argp/argp-help.c: Likewise.
13918 * assert/assert.c: Likewise.
13919 * config.h.in: Likewise.
13920 * config.make.in: Likewise.
13921 * configure: Likewise.
13922 * configure.in: Likewise.
13923 * csu/Versions: Likewise.
13924 * csu/init.c: Likewise.
13925 * elf/tst-audit2.c: Likewise.
13926 * elf/tst-tls10.c: Likewise.
13927 * elf/tst-tls10.h: Likewise.
13928 * elf/tst-tls11.c: Likewise.
13929 * elf/tst-tls12.c: Likewise.
13930 * elf/tst-tls14.c: Likewise.
13931 * elf/tst-tlsmod11.c: Likewise.
13932 * elf/tst-tlsmod12.c: Likewise.
13933 * elf/tst-tlsmod13.c: Likewise.
13934 * elf/tst-tlsmod13a.c: Likewise.
13935 * elf/tst-tlsmod14a.c: Likewise.
13936 * elf/tst-tlsmod15b.c: Likewise.
13937 * elf/tst-tlsmod16a.c: Likewise.
13938 * elf/tst-tlsmod16b.c: Likewise.
13939 * elf/tst-tlsmod7.c: Likewise.
13940 * elf/tst-tlsmod8.c: Likewise.
13941 * elf/tst-tlsmod9.c: Likewise.
13942 * gmon/gmon.c: Likewise.
13943 * grp/fgetgrent_r.c: Likewise.
13944 * grp/putgrent.c: Likewise.
13945 * hurd/fopenport.c: Likewise.
13946 * include/libc-symbols.h: Likewise.
13947 * include/tls.h: Likewise.
13948 * intl/gettextP.h: Likewise.
13949 * intl/loadinfo.h: Likewise.
13950 * locale/global-locale.c: Likewise.
13951 * locale/localeinfo.h: Likewise.
13952 * mach/devstream.c: Likewise.
13953 * malloc/arena.c: Likewise.
13954 * malloc/set-freeres.c: Likewise.
13955 * misc/err.c: Likewise.
13956 * misc/getttyent.c: Likewise.
13957 * misc/mntent_r.c: Likewise.
13958 * posix/getopt.c: Likewise.
13959 * posix/wordexp.c: Likewise.
13960 * pwd/fgetpwent_r.c: Likewise.
13961 * resolv/Versions: Likewise.
13962 * resolv/res_hconf.c: Likewise.
13963 * shadow/fgetspent_r.c: Likewise.
13964 * shadow/putspent.c: Likewise.
13965 * stdio-common/printf_fphex.c: Likewise.
13966 * stdio-common/tmpfile.c: Likewise.
13967 * stdlib/abort.c: Likewise.
13968 * stdlib/fmtmsg.c: Likewise.
13969 * sunrpc/auth_unix.c: Likewise.
13970 * sunrpc/clnt_perr.c: Likewise.
13971 * sunrpc/clnt_tcp.c: Likewise.
13972 * sunrpc/clnt_udp.c: Likewise.
13973 * sunrpc/clnt_unix.c: Likewise.
13974 * sunrpc/openchild.c: Likewise.
13975 * sunrpc/svc_simple.c: Likewise.
13976 * sunrpc/svc_tcp.c: Likewise.
13977 * sunrpc/svc_udp.c: Likewise.
13978 * sunrpc/svc_unix.c: Likewise.
13979 * sunrpc/xdr.c: Likewise.
13980 * sunrpc/xdr_array.c: Likewise.
13981 * sunrpc/xdr_rec.c: Likewise.
13982 * sunrpc/xdr_ref.c: Likewise.
13983 * sunrpc/xdr_stdio.c: Likewise.
13984
1248c1c4
PB
139852011-09-09 Ulrich Drepper <drepper@gmail.com>
13986
13987 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13988
139892011-07-03 Andreas Jaeger <aj@suse.de>
13990
13991 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13992 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13993 regenerate with gen-libm-tests.pl.
13994
139952010-05-12 Petr Baudis <pasky@suse.cz>
13996
13997 [BZ #11589]
13998 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13999 around j0() zero points by switching to j1().
14000 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14001 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14004
f22e1074
UD
140052011-09-09 Ulrich Drepper <drepper@gmail.com>
14006
f19009c1
UD
14007 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14008 instead of 0.
14009 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14010 instead of 0. .
14011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14012 Patch in part by Pavel Roskin <proski@gnu.org>.
14013
3f8cc204
UD
14014 [BZ #13138]
14015 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14016 realloc.
14017 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14018 Free memory block if necessary.
14019
f22e1074
UD
14020 [BZ #12847]
14021 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14022 be NULL. Don't lock in this case.
14023
0a2349f9
RM
140242011-09-09 Roland McGrath <roland@hack.frob.com>
14025
14026 * elf/elf.h (ELFOSABI_GNU): New macro.
14027 (ELFOSABI_LINUX): Define to that.
14028
f3cdd467
DZ
140292011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14030
14031 * string/strncat.c (strncat): Undef the symbol in case it has been
14032 defined in bits/string.h.
14033
74718d13
UD
140342011-09-09 Ulrich Drepper <drepper@gmail.com>
14035
633e9e0f
UD
14036 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14037
0a2349f9 14038 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14039 link map.
14040
f9924780
AJ
140412011-08-17 Andreas Jaeger <aj@suse.de>
14042
14043 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14044
7f5517aa
PP
140452011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14046 Ian Lance Taylor <iant@google.com>
14047
14048 * math/libm-test.inc (lround_test): New testcase.
14049 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14050
762011fe
UD
140512011-09-08 Ulrich Drepper <drepper@gmail.com>
14052
92963737
UD
14053 * Makefile: Remove support for automatic cvs check-ins.
14054 * Makerules: Likewise.
14055 * config.make.in: Likewise.
14056 * configure.in: Likewise.
14057 * intl/Makefile: Likewise.
14058 * locale/Makefile: Likewise.
14059 * po/Makefile: Likewise.
14060 * posix/Makefile: Likewise.
14061 * sysdeps/gnu/Makefile: Likewise.
14062 * sysdeps/mach/hurd/Makefile: Likewise.
14063 * sysdeps/sparc/sparc32/Makefile: Likewise.
14064
b0727fd8
JS
14065 [BZ #13118]
14066 * posix/Makefile (bug-regex32-ENV): Define.
14067 Patch by John Stanley <jpsinthemix@verizon.net>.
14068
a0f33f99
UD
14069 * misc/Makefile (headers): Add bits/select2.h.
14070 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14071 * misc/bits/select2.h: New file.
14072 * include/bits/select2.h: New file.
14073 * debug/Makefile (routines): Add fdelt_chk.
14074 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14075 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14076 FD_ISSET.
14077 * debug/fdelt_chk.c: New file.
14078
762011fe
UD
14079 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14080 * wcsmbs/test-wmemcmp.c: Likewise.
14081 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14082 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14083
140842011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14085
14086 * string/Makefile (strop-tests): Add memcmp.
14087 * string/test-wmemcmp.c: New file.
14088 * string/test-memcmp.c: Add wmemcmp support.
14089
7f513ec8
RM
140902011-09-08 Roland McGrath <roland@hack.frob.com>
14091
0442afb4
RM
14092 [BZ #13153]
14093 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14094 2011-07-19 change.
14095
7f513ec8
RM
14096 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14097 garbage value in a __mach_port_mod_refs call in the cases of the
14098 task-self and thread-self ports.
14099
a12b2239
ST
141002011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14101
14102 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14103
610f9ab4
AS
141042011-09-08 Andreas Schwab <schwab@redhat.com>
14105
7f513ec8 14106 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14107
48882a1a
LD
141082011-09-07 Ulrich Drepper <drepper@gmail.com>
14109
b49865be
UD
14110 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14111
fdc86bc9
UD
14112 * elf/dl-libc.c (dlerror_run): Pass back error code from
14113 dl_catch_error.
14114
c966526a
UD
14115 [BZ #13123]
14116 * elf/dl-load.c (lose): Free l_origin if it is valid.
14117
48882a1a
LD
14118 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14119 names.
14120 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14121 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14122 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14123 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14124 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14125 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14126
77a2a8b4
AZ
141272011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14128
14129 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14130 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14131 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14132 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14133 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14134 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14135 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14136 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14137 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14138 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14139
24f579d8
AM
141402011-08-15 Alan Modra <amodra@gmail.com>
14141
14142 [BZ #13092]
14143 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14144 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14145 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14146 ppc_mcount to static-only-routines.
14147 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14148 __mcount_internal.
14149 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14150 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14151
3d4837df
UD
141522011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14153
14154 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14155 for finite and infinity parameters.
14156
22700377
WS
141572011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14158
14159 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14160 and add nop instructions for throughput optimization.
14161 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14162
5025581e
WS
141632011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14164
14165 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14166 aligned copy for power7 with vector-scalar instructions.
14167 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14168
08a300c9
L
141692011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14170
14171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14172 AVX check.
14173
59178ef9
AS
141742011-09-07 Andreas Schwab <schwab@redhat.com>
14175
14176 [BZ #13144]
14177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14178 last change.
14179
e38ba7ab
UD
141802011-09-07 Ulrich Drepper <drepper@gmail.com>
14181
14182 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14183 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14184 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14185 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14186 clock_gettime.
14187
d53a73ac
UD
141882011-09-06 Ulrich Drepper <drepper@gmail.com>
14189
fc8bffcc
UD
14190 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14191 Forgot to demangle the pointer.
14192
ceaa0c5d
UD
14193 * sysdeps/i386/sysdep.h: Define atom_text_section.
14194 * sysdeps/x86_64/sysdep.h: Likewise.
14195 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14196 section with atom_text_section.
14197 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14198 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14199 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14200 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14201 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14202
a77d3c17
UD
14203 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14204 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14205 already be defined. Change to take two parameters and don't assign
14206 result to variable. Adjust all users.
14207 Define INTERNAL_GETTIME if not already defined.
14208 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14209 call.
14210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14211 HAVE_CLOCK_GETTIME_VSYSCALL.
14212 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14213
d53a73ac
UD
14214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14215 gettimeofday vsyscall, just use time.
14216
a8f84144
AS
142172011-09-06 Andreas Schwab <schwab@redhat.com>
14218
14219 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14220 <errno.h>.
14221
ef606249
UD
142222011-09-06 Ulrich Drepper <drepper@gmail.com>
14223
14224 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14225 syscall on x86-64.
14226 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14227 syscall.
14228 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14229 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14230 syscall if possible.
14231
6585cb60
UD
142322011-09-05 Ulrich Drepper <drepper@gmail.com>
14233
14234 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14235 e_ident. Don't pass to find_mapsXX.
14236 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14237
a5f524e4
LD
142382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14239
14240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14241 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14242 * sysdeps/x86_64/multiarch/strchr.S: Update.
14243 Check bit_slow_BSF bit.
14244 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14245 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14246 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14247
554881ef
UD
142482011-09-05 Ulrich Drepper <drepper@gmail.com>
14249
d96de963
UD
14250 [BZ #13134]
14251 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14252 before glibc 2.15.
14253 (tryshell): Define.
14254 (__spawni): Change last parameter to be flag. Test
14255 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14256 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14257 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14258 * posix/spawni.c: Likewise.
14259 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14260 * posix/spawnp.c: Likewise. Change normal version to use
14261 SPAWN_XFLAGS_USE_PATH.
14262 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14263 SPAWN_XFLAGS_TRY_SHELL.
14264
d48e5868
UD
14265 [BZ #13150]
14266 * posix/glob.h: Remove gcc 1.x support.
14267
554881ef
UD
14268 [BZ #13068]
14269 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14270
693fb948
LD
142712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14272
14273 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14274 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14275 strrchr-sse2-bsf
14276 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14277 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14278 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14279 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14280 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14281 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14282
1b48c537
UD
142832011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14284
49d42c37
UD
14285 * sysdeps/x86_64/wcscmp.S: New file.
14286
1b48c537
UD
14287 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14288 wcscmp-c wcscmp-sse2
14289 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14290 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14291 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14292 * wcsmbs/wcscmp.c: Allow renaming.
14293
15c95c5d
DM
142942011-09-05 David S. Miller <davem@davemloft.net>
14295
14296 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14297 stack slot, rather than the struct return pointer slot.
14298 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14299 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14301 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14302
2f0ad8f3
UD
143032011-09-05 Ulrich Drepper <drepper@gmail.com>
14304
d88ae418
UD
14305 * po/ja.po: Update from translation team.
14306
2f0ad8f3
UD
14307 [BZ #13144]
14308 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14309 kernel in 64-bit binaries.
14310
5f4318d1
DM
143112011-09-01 David S. Miller <davem@davemloft.net>
14312
14313 * elf/elf.h (HWCAP_SPARC_*): Move to..
14314 * sysdeps/sparc/sysdep.h: this new file and add new values.
14315 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14316 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14317 _DL_HWCAP_COUNT to 24.
14318 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14319 entries.
14320 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14321 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14322 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14324 instead of magic constants.
14325 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14326
3ba57516
DM
143272011-08-31 David S. Miller <davem@davemloft.net>
14328
14329 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14331 Reimplement to do errno handling inline.
14332 (SYSCALL_ERROR_HANDLER): New macro.
14333 (__SYSCALL_STRING): Do not do errno handling in asm.
14334 (__CLONE_SYSCALL_STRING): Delete.
14335 (__INTERNAL_SYSCALL_STRING): Delete.
14336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14337 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14338 (PSEUDO): Reimplement to do errno handling inline.
14339 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14340 (SYSCALL_ERROR_HANDLER): New macro.
14341 (__SYSCALL_STRING): Do not do errno handling in asm.
14342 (__CLONE_SYSCALL_STRING): Delete.
14343 (__INTERNAL_SYSCALL_STRING): Delete.
14344 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14345 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14346 i386.
14347 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14348 (inline_syscall*): Add 'err' argument.
14349 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14350 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14351 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14352 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14353
14354 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14355 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14356
2bc17433
AS
143572011-08-30 Andreas Schwab <schwab@redhat.com>
14358
14359 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14360
fbeb5f4d
JO
143612011-08-29 Jiri Olsa <jolsa@redhat.com>
14362
14363 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14364 directive.
14365
ad69cc26
DM
143662011-08-24 David S. Miller <davem@davemloft.net>
14367
14368 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14369
39dd69df
AS
143702011-08-24 Andreas Schwab <schwab@redhat.com>
14371
14372 * elf/Makefile: Add rules to build and run unload8 test.
14373 * elf/unload8.c: New file.
14374 * elf/unload8mod1.c: New file.
14375 * elf/unload8mod1x.c: New file.
14376 * elf/unload8mod2.c: New file.
14377 * elf/unload8mod3.c: New file.
14378
14379 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14380 it wasn't used.
14381
2c0b250a
DM
143822011-08-23 David S. Miller <davem@davemloft.net>
14383
14384 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14385 subtract stack bias.
14386 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14387 %sp not %fp in calculations.
14388 (_JMPBUF_UNWINDS_ADJ): Likewise.
14389
22044b48
DM
14390 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14391 (aio_suspend): Call it to force an exception region around the
14392 AIO_MISC_WAIT() invocation.
14393
2cae4995
AS
143942011-08-23 Andreas Schwab <schwab@redhat.com>
14395
14396 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14397 backslash.
14398
873a772e
AJ
143992011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14400
14401 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14402 protection macro.
14403 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14404 and <dl-machine.h>.
14405 (Elf64_FuncDesc): Remove.
14406
25ad0df1
DM
144072011-08-22 David S. Miller <davem@davemloft.net>
14408
14409 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14410 sigaltstack check, add missing cfi directives.
14411 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14412 missing cfi directives, and sigaltstack handling.
14413
e888bcbe
AS
144142011-08-16 Andreas Schwab <schwab@redhat.com>
14415
14416 [BZ #11724]
14417 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14418 object is seen twice.
14419 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14420
14421 * elf/Makefile (distribute): Add tst-initorder2.c.
14422 (tests): Add tst-initorder2.
14423 (modules-names): Add tst-initorder2a tst-initorder2b
14424 tst-initorder2c tst-initorder2d. Add rules to build them.
14425 ($(objpfx)tst-initorder2.out): New rule.
14426 * elf/tst-initorder2.c: New file.
14427 * elf/tst-initorder2.exp: New file.
14428
87162f46
AS
144292011-08-22 Andreas Schwab <schwab@redhat.com>
14430
70538b7f
AS
14431 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14432
f55ffe58
AS
14433 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14434 dependencies back to end of function.
14435
87162f46
AS
14436 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14437 $(elfobjdir)/ld.so.
14438
91b392a4
UD
144392011-08-21 Ulrich Drepper <drepper@gmail.com>
14440
14441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14442 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14444 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14445 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14446 of __vdso_gettimeofday.
14447 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14448 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14449 attribute_hidden.
14450 (_libc_vdso_platform_setup): Remove initialization of
14451 __vdso_gettimeofday and __vdso_time.
14452
5c43483f
UD
144532011-08-20 Ulrich Drepper <drepper@gmail.com>
14454
775a77e7
UD
14455 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14456 and fgetc_unlocked.
14457 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14458 getc_unlocked.
89f447ed 14459
49c74ba9
UD
14460 * elf/dl-open.c (add_to_global): Report additions to the global scope
14461 for LD_DEBUG=scopes.
14462 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14463 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14464
5c43483f
UD
14465 [BZ #13114]
14466 * stdio-common/Makefile (tests): Add bug24.
14467 * stdio-common/bug24.c: New file.
14468
a101b025
AJ
144692011-08-19 Andreas Jaeger <aj@suse.de>
14470
14471 [BZ #13114]
14472 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14473 non-existant file when using close-on-exec mode.
14474
c88f1766
UD
144752011-08-20 Ulrich Drepper <drepper@gmail.com>
14476
0276a718
UD
14477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14478 the very first instruction.
14479
c88f1766
UD
14480 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14481 the CFI state in the end.
14482 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14483 inclusion of dl-trampoline.h.
14484 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14485
51ccffa0
AS
144862011-08-19 Andreas Schwab <schwab@redhat.com>
14487
94d7165f
AS
14488 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14489 expectations for long double.
14490
51ccffa0
AS
14491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14492 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14493
fd708658 144942011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14495
14496 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14497 artificual limit depends upon the system page size.
14498
44f0a71e
UD
144992011-08-17 Ulrich Drepper <drepper@gmail.com>
14500
14501 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14502 * resolv/Makefile: Define CFLAGS-libresolv.
14503
8de79a24
AS
145042011-08-17 Andreas Schwab <schwab@redhat.com>
14505
14506 * nss/makedb.c (compute_tables): Make variables used in nested
14507 function static.
14508
27724598
UD
145092011-08-17 Ulrich Drepper <drepper@gmail.com>
14510
c5305d88
UD
14511 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14512 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14513 if buffer was too small.
14514
27724598
UD
14515 * elf/pldd.c (main): Attach to all threads in the process.
14516 Rewrite /proc handling to use *at functions.
14517
076fe015
UD
145182011-08-16 Ulrich Drepper <drepper@gmail.com>
14519
174baab3
UD
14520 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14521 specifies first scope to show.
14522 (dl_open_worker): Update callers. Move printing scope of new
14523 object to before the relocation.
44f0a71e 14524 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14525 * sysdeps/generic/ldsodefs.h: Update declaration.
14526
076fe015
UD
14527 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14528 string for the scope number.
14529
a60df2c3
UD
145302011-08-14 Ulrich Drepper <drepper@gmail.com>
14531
14532 * nscd/servicescache.c (cache_addserv): Make sure written is always
14533 initialized.
14534
5e4287d1
RM
145352011-08-14 Roland McGrath <roland@hack.frob.com>
14536
85ae0589
RM
14537 * sysdeps/i386/i486/bits/atomic.h
14538 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14539 statement expression, so as to suppress "set but not used" warning.
14540 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14541
69f63097
RM
14542 * string/strncat.c (STRNCAT): Use prototype definition.
14543
675456ef
RM
14544 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14545 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14546 -Iprograms here.
14547 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14548 (localedef-modules): Add localedef.
14549 (locale-modules): Add locale.
14550
5e4287d1
RM
14551 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14552 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14553 to avoid a warning.
14554
9c96ff23
DM
145552011-08-14 David S. Miller <davem@davemloft.net>
14556
14557 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14558 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14559
f9ddf089
UD
145602011-08-13 Ulrich Drepper <drepper@gmail.com>
14561
44f0a71e 14562 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14563 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14564 * elf/rtld.c (dl_main): Set l_name of vDSO.
14565 Call _dl_show_scope when DL_DEBUG_SCOPES.
14566 (process_dl_debug): Recognize scopes flag and also set it for all.
14567 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14568 Declare _dl_show_scope.
14569
1dc27704
UD
14570 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14571 (do_dlopen): Pass caller_dlopen to dl_open.
14572 (__libc_dlopen_mode): Initialize caller_dlopen.
14573
f9ddf089
UD
14574 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14575 of libc. Make tolower call locale-independent. Optimize a bit by
14576 using isdigit instead of isalnum.
14577 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14578
9ac533d3
UD
145792011-08-12 Ulrich Drepper <drepper@gmail.com>
14580
14581 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14582 was a dependency or dynamically loaded.
14583
89edf2e9
UD
145842011-08-11 Ulrich Drepper <drepper@gmail.com>
14585
8e999d29
UD
14586 * intl/l10nflist.c: Allow architecture-specific pop function.
14587 * sysdeps/x86_64/l10nflist.c: New file.
14588
89edf2e9
UD
14589 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14590 classification.
14591
14d96785
AS
145922011-08-10 Andreas Schwab <schwab@redhat.com>
14593
14594 * include/dirent.h: Add libc_hidden_proto for scandirat and
14595 scandirat64. Don't declare __scandirat64.
14596 * dirent/scandirat.c: Add libc_hidden_def.
14597 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14598 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14599
6761ac04
DM
146002011-08-10 David S. Miller <davem@davemloft.net>
14601
14602 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14603 enum.
14604 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14605 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14606 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14607
c55fbd1e
UD
146082011-08-09 Ulrich Drepper <drepper@gmail.com>
14609
14610 * Versions.def [libc]: Add GLIBC_2.15.
14611 * dirent/Makefile (routines): Add scandirat and scandirat64.
14612 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14613 GLIBC_2.15.
14614 * dirent/dirent.h: Declare scandirat and scandirat64.
14615 * dirent/scandirat.c: New file.
14616 * dirent/scandirat64.c: New file.
14617 * sysdeps/wordsize-64/scandirat.c: New file.
14618 * sysdeps/wordsize-64/scandirat64.c: New file.
14619 * dirent/opendir.c: Define opendirat.
14620 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14621 using scandirat.
14622 * dirent/scandir64.c: Adjust for scandir.c change.
14623 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14624 __scandirat64, and __scandir_cancel_handler.
14625 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14626 additional parameter and use openat instead of open (outside of ld.so).
14627 Add new __opendir as wrapper around __opendirat.
14628 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14629 here without requiring old scandirat implementation.
14630
879165f2
UD
146312011-08-08 Ulrich Drepper <drepper@gmail.com>
14632
14633 * dirent/scandir.c (cancel_handler): Renamed to
14634 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14635 defined. Adjust users.
14636 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14637 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14638
cb7e923b
UD
146392011-08-04 Ulrich Drepper <drepper@gmail.com>
14640
16292edd
UD
14641 * string/test-string.h (IMPL): Use __STRING to expand name and then
14642 stringify it.
14643
cb7e923b
UD
14644 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14645 of cleanups.
14646
cff82933
LD
146472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14648
14649 * string/Makefile: Update.
14650 (strop-tests): Append strncat.
14651 * string/test-wcscmp.c: New file.
14652 New comprehensive test for wcscmp.
14653 * string/test-strcmp.c: Update.
14654 (WIDE): New define.
14655
9be9bfcc
AS
146562011-07-22 Andreas Schwab <schwab@redhat.com>
14657
14658 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14659 line.
14660
2e96f1c7
AS
146612011-07-26 Andreas Schwab <schwab@redhat.com>
14662
14663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14664 encoding to ACE if AI_IDN.
14665
85188888
JJ
146662011-08-01 Jakub Jelinek <jakub@redhat.com>
14667
14668 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14669 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14670
5fa16e9b
LD
146712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14672
14673 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14674 Fix overflow bug in strncat.
14675 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14676
14677 * string/test-strncat.c: Update.
14678 Add new tests for checking overflow bugs.
14679
146802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14681
14682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14683 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14684 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14685 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14686 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14687 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14688 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14689 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14690 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14691
14692 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14693 (USE_AS_STRCAT): Define.
14694 Add strcat and strncat support.
14695 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14696
8c1a459f
AS
146972011-07-25 Andreas Schwab <schwab@redhat.com>
14698
14699 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14700 __n bigger than INT_MAX+1.
14701 (__strncmp_g): Likewise.
14702
bba33c28
UD
147032011-07-23 Ulrich Drepper <drepper@gmail.com>
14704
798be72d
UD
14705 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14706 * libio/stido.h: Likewise.
14707
8accd4dc
UD
14708 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14709 (AF_NFC): Define.
14710 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14711 (AF_NFC): Define.
14712
cbff0d96
UD
14713 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14715 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14716 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14717 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14718
9191c04a
UD
14719 [BZ #13021]
14720 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14721 installed.
14722
bba33c28
UD
14723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14724 typo.
14725 (_dl_x86_64_save_sse): Likewise.
14726
90f139dd
UD
147272011-07-22 Ulrich Drepper <drepper@gmail.com>
14728
1aae088a
UD
14729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14730 OSXSAVE.
14731 (_dl_x86_64_save_sse): Likewise.
14732
8e2045f5
UD
14733 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14734
90f139dd
UD
14735 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14736
1d002f25
AS
147372011-07-21 Andreas Schwab <schwab@redhat.com>
14738
14739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14740 change.
14741 (_dl_x86_64_save_sse): Use correct AVX check.
14742
21137f89
UD
147432011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14744
14745 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14746 bug in strncpy/strncat.
14747 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14748
a65c0b7a
UD
147492011-07-21 Ulrich Drepper <drepper@gmail.com>
14750
14751 * string/tester.c (test_strcat): Add tests for different alignments
14752 of source and destination.
14753 (test_strncat): Likewise.
14754
6986b98a
UD
147552011-07-20 Ulrich Drepper <drepper@gmail.com>
14756
90bb2039
UD
14757 [BZ #12852]
14758 * posix/glob.c (glob): Check passed in values before using them in
14759 expressions to avoid some overflows.
14760 (glob_in_dir): Likewise.
14761
5644ef54
UD
14762 [BZ #13007]
14763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14764 check for AVX enablement so that we don't crash with old kernels and
14765 new hardware.
14766 * elf/tst-audit4.c: Add same checks here.
14767 * elf/tst-audit6.c: Likewise.
14768
14769 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14770
bfc9dc9b
AS
147712011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14772
14773 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14774
702e64bb
UD
147752011-07-20 Ulrich Drepper <drepper@gmail.com>
14776
14777 * po/cs.po: Update from translation team.
14778 * po/bg.po: Likewise.
14779
295e904f
MP
147802011-07-12 Marek Polacek <mpolacek@redhat.com>
14781
14782 * misc/sys/cdefs.h: Add support for const attribute.
14783 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14784 to gnu_dev_{major,minor,makedev} functions.
14785
3ff94596
MP
147862011-07-20 Marek Polacek <mpolacek@redhat.com>
14787
14788 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14789
28b59fca
AS
147902011-07-20 Andreas Schwab <schwab@redhat.com>
14791
14792 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14793 strlen results.
14794
19df733e
AK
147952011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14796
14797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14798 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14799 register in order to avoid conflicts with the soft frame pointer
14800 being held in r11 when necessary.
14801 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14802 (INTERNAL_VSYSCALL_NCS): Likewise.
14803
c8835729
MP
148042011-07-14 Marek Polacek <mpolacek@redhat.com>
14805
14806 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14807 * elf/dl-fini.c (_dl_fini): Adjust caller.
14808 * elf/dl-close.c (_dl_close_worker): Likewise.
14809 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14810
b902330c
MP
148112011-07-15 Marek Polacek <mpolacek@redhat.com>
14812
8991e135
MP
14813 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14814 "aux_cache->nlibs < 0".
14815
b902330c
MP
14816 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14817 in the reload-count case.
14818
99710781
LD
148192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14820
14821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14822 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14823 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14824 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14825 * sysdeps/x86_64/multiarch/strcat.S: New file.
14826 * sysdeps/x86_64/multiarch/strncat.S: New file.
14827 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14828 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14829 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14830 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14831 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14832 (USE_AS_STRCAT): Define.
14833 Add strcat and strncat support.
14834 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14835 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14836 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14837 * string/strncat.c: Update.
14838 (USE_AS_STRNCAT): Define.
14839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14840 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14841 and i7.
14842 * sysdeps/x86_64/multiarch/init-arch.h
14843 (bit_Prefer_PMINUB_for_stringop): New.
14844 (index_Prefer_PMINUB_for_stringop): Likewise.
14845 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14846 bit_Prefer_PMINUB_for_stringop.
14847
7dc6bd90
UD
148482011-07-19 Ulrich Drepper <drepper@gmail.com>
14849
14850 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14851 buffer64.
14852 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14853 of casting of buffer.
14854 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14855 buffer32 and buffer64.
14856 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14857 writes instead of casting of buffer.
14858 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14859 buffer32.
14860 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14861 casting of buffer.
14862
e0e72284
AS
148632011-07-19 Andreas Schwab <schwab@redhat.com>
14864
14865 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14866
feb1eb0b
UD
148672011-07-19 Ulrich Drepper <drepper@gmail.com>
14868
14869 * nscd/nscd.c (termination_handler): Don't do anything for a database
14870 if it has not yet been initialized.
14871
298711ff
UD
148722011-07-18 Ulrich Drepper <drepper@gmail.com>
14873
14874 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14875
148762011-07-15 Marek Polacek <mpolacek@redhat.com>
14877
14878 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14879
f9d68389
UD
148802011-07-18 Ulrich Drepper <drepper@gmail.com>
14881
14882 * po/nl.po: Update from translation team.
14883 * po/sv.po: Likewise.
14884
db290cf5
RM
148852011-07-16 Roland McGrath <roland@hack.frob.com>
14886
14887 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14888 now disallowed by GCC.
5c550700 14889
fd5e21c7
RM
14890 * configure.in (use-default-link): Default to yes if a test -shared
14891 link meets our qualifications.
14892 * configure: Regenerated.
14893
5c550700
RM
14894 * config.make.in (output-format): New variable.
14895 * configure.in: Check for ld --print-output-format support.
14896 * configure: Regenerated.
14897 * Makerules ($(common-objpfx)format.lds)
14898 [$(output-format) != unknown]: Just use $(output-format),
14899 instead of the linker-script munging.
14900
9fa2c032
RM
149012011-07-14 Roland McGrath <roland@hack.frob.com>
14902
a6928d51
RM
14903 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14904 of $(common-objpfx)shlib.lds.
14905 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14906
661607b3
RM
14907 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14908 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14909
9fa2c032
RM
14910 * configure.in (-z relro check): Adjust test code to add a large
14911 writable data section after it.
14912 * configure: Regenerated.
14913
defe9061
RM
149142011-07-11 Roland McGrath <roland@hack.frob.com>
14915
14916 * configure.in (-z relro check): Fix test code to make the variable
14917 truly const.
14918 * configure: Regenerated.
14919
319b9ad4
UD
149202011-07-11 Ulrich Drepper <drepper@gmail.com>
14921
14922 * nscd/nscd.h (struct traced_file): Define.
14923 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14924 elements. Add traced_files.
14925 (inotify_fd): Declare.
14926 (register_traced_file): Declare.
14927 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14928 (inotify_fd): Export.
14929 (resolv_conf_descr): Remove.
14930 (nscd_init): Move inotify descriptor creation to main.
14931 Don't register files for notification here.
14932 (register_traced_file): New function.
14933 (invalidate_cache): Don't use reset_res to determine whether to call
14934 res_init, go through the list of registered files.
14935 (main_loop_poll): The inotify descriptors are now stored in the
14936 structures for the traced files.
14937 (main_loop_epoll): Likewise
14938 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14939 to __nss_disable_nscd.
14940 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14941 for a database anymore. Check the records for all the registered
14942 files instead.
14943 * nss/Makefile (libnss_files-routines): Add files-init.
14944 (libnss_db-routines): Add db-init.
14945 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14946 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14947 * nss/nss_db/db-init.c: New file.
14948 * nss/nss_files/files-init.c: New file.
14949 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14950 __nss_lookup_function.
14951 (__nss_lookup_function): Call nss_load_library.
14952 (nss_load_all_libraries): New function.
14953 (__nss_disable_nscd): Take parameter with callback function for files
14954 to register. Set is_nscd. Load all the DSOs for the NSS modules
14955 used for the cached services.
14956 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14957 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14958 options for features to all the files in nscd.
14959
14960 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14961
23bee3e8
RM
149622011-07-10 Roland McGrath <roland@hack.frob.com>
14963
14964 * csu/elf-init.c (__libc_csu_init): Comment typo.
14965
46a5b7f0
UD
149662011-07-09 Ulrich Drepper <drepper@gmail.com>
14967
14968 * po/pl.po: Update from translation team.
14969 * po/ja.po: Likewise.
14970 * po/ru.po: Likewise.
14971 * po/ko.po: Likewise.
14972 * po/fr.po: Likewise.
14973
d30cf5bb
RM
149742011-07-09 Roland McGrath <roland@hack.frob.com>
14975
113ddea4
RM
14976 * configure.in (.ctors/.dtors header and trailer check):
14977 Use an empirical test on a built program.
14978 * configure: Regenerated.
14979
574920b4
RM
14980 * configure.in (-z relro check): Use an empirical test on a built DSO.
14981 Detect, but do not require, on ia64.
14982 * configure: Regenerated.
14983
d30cf5bb
RM
14984 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14985 Update tests that use readelf to use $READELF instead.
14986 * configure: Regenerated.
14987
8538fdb3
UD
149882011-07-08 Ulrich Drepper <drepper@gmail.com>
14989
14990 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14991 if the result is not used.
14992
04d08991
AJ
149932011-07-05 Andreas Jaeger <aj@suse.de>
14994
14995 [BZ#9696]
14996 * stdlib/tst-strtod.c: Add testcase.
14997
de283087
AD
149982011-07-07 Ulrich Drepper <drepper@gmail.com>
14999
4e5f31c8 15000 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15001 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15002 The latter has a higher limit. Take additional parameter to pass to
15003 the new function.
15004 (__pathconf): Pass file to __statfs_link_max.
15005 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15006 __statfs_link_max.
15007 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15008 __statfs_link_max.
15009
de283087
AD
15010 [BZ #12868]
15011 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15012 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15013 Handle Lustre.
15014 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15015 (__statfs_filesize_max): Likewise.
15016 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15017
c75fa153
AJ
150182011-07-05 Andreas Jaeger <aj@suse.de>
15019
15020 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15021
1a544854
UD
150222011-07-06 Marek Polacek <mpolacek@redhat.com>
15023
15024 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15025 `status' variable.
15026 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15027 Likewise.
15028
6f0eec67
UD
150292011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15030
15031 * Makefile (strop-tests): Add strncat.
15032 * string/test-strncat.c: New file.
15033
aae30307
UD
150342011-06-30 Marek Polacek <mpolacek@redhat.com>
15035
15036 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15037
c0cfb5eb
UD
150382011-06-21 Andreas Jaeger <aj@suse.de>
15039
15040 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15041 Copy rule from iconvdata/Makefile.
15042
01636b21
UD
150432011-07-06 Ulrich Drepper <drepper@gmail.com>
15044
15045 [BZ #12922]
15046 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15047 but no long options are defined, just return 'W'.
15048
9895c8bc
UD
150492011-06-22 Marek Polacek <mpolacek@redhat.com>
15050
15051 [BZ #9696]
15052 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15053
5d4cf042
UD
150542011-07-06 Ulrich Drepper <drepper@gmail.com>
15055
15056 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15057 netgroups to read.
960e5535 15058 (innetgr): Likewise.
5d4cf042 15059
751eb97e
RM
150602011-07-05 Roland McGrath <roland@hack.frob.com>
15061
15062 * config.make.in (install_root): Default to $(DESTDIR).
15063
f15f1e45
UD
150642011-07-05 Ulrich Drepper <drepper@gmail.com>
15065
15066 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15067
4e34ac6a
RM
150682011-07-02 Roland McGrath <roland@hack.frob.com>
15069
5e9b6af4
RM
15070 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15071
84f9ea0f
RM
15072 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15073 containing directory rather than embedding absolute directory names.
15074
ea5ee9f7
RM
15075 * scripts/check-local-headers.sh: Rewritten using awk.
15076 Match by word, not by line. Print error messages for matches.
15077 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15078
1b74661a
RM
15079 * Makerules [shlib-lds-flags empty]:
15080 ($(common-objpfx)libc_pic.opts): New target.
15081 ($(common-objpfx)libc_pic.os.clean): New target.
15082 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15083
15084 * config.make.in (OBJCOPY): New variable.
15085 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15086 * configure: Regenerated.
15087
f781ef40
RM
15088 * config.make.in (use-default-link): New variable.
15089 * configure.in (use_default_link): Grok --with-default-link to set it.
15090 * configure: Regenerated.
15091 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15092 (shlib-lds, shlib-lds-flags): Define to empty.
15093
2d4fa81e
RM
15094 * Makerules (shlib-lds): New variable.
15095 (shlib-lds-flags): New variable.
15096 (build-shlib, build-moduile, build-module-asneeded): Use it.
15097 ($(common-objpfx)libc.so): Use $(shlib-lds).
15098 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15099 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15100
31fffa6b
RM
15101 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15102 DT_FLAGS/DT_FLAGS_1 with zero flags.
15103
4e34ac6a
RM
15104 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15105 linker script munging.
15106
fcfc776b
UD
151072011-07-02 Ulrich Drepper <drepper@gmail.com>
15108
15109 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15110 as 128-bit value.
15111 * crypt/sha512.c (sha512_process_block): Perform total addition using
15112 128-bit if possible.
15113 (__sha512_finish_ctx): Likewise.
15114 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15115 as 64-bit value.
15116 * crypt/sha256.c (SWAP64): Define.
15117 (sha256_process_block): Perform total addition using 64-bit if
15118 possible.
15119 (__sha256_finish_ctx): Likewise.
15120
99231d9a
UD
151212011-07-01 Ulrich Drepper <drepper@gmail.com>
15122
15123 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15124 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15125 * nscd/hstcache.c (cache_addhst): Likewise.
15126 * nscd/grpcache.c (cache_addgr): Likewise.
15127 * nscd/aicache.c (addhstaiX): Likewise
15128 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15129
445b4a53
TK
151302011-07-01 Thorsten Kukuk <kukuk@suse.de>
15131
15132 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15134 * nscd/hstcache.c (cache_addhst): Likewise.
15135 * nscd/grpcache.c (cache_addgr): Likewise.
15136 * nscd/aicache.c (addhstaiX): Likewise
15137
6d4d8e8e
AS
151382011-07-01 Andreas Schwab <schwab@redhat.com>
15139
15140 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15141 domain only when needed.
15142
89f654c5
AS
151432011-06-30 Andreas Schwab <schwab@redhat.com>
15144
15145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15146 is always restored.
15147
cf3b23ff
UD
151482011-06-29 Ulrich Drepper <drepper@gmail.com>
15149
15150 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15151 are re-adding the entry.
15152 * nscd/servicescache.c (cache_addserv): Likewise.
15153
751626f9
AJ
151542011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15155
15156 * sysdeps/generic/dl-irel.h: fix protection against multiple
15157 inclusions.
15158 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15159
9113ea1f
UD
151602011-06-28 Ulrich Drepper <drepper@gmail.com>
15161
5c0b8d90
UD
15162 [BZ #12935]
15163 * malloc/memusage.sh: Fix quoting in message.
15164 * debug/xtrace.sh: Likewise.
15165
9113ea1f
UD
15166 * configure.in: Remove support for --experimental-malloc option, make
15167 it the default.
15168 * config.make.in: Likewise.
15169 * malloc/Makefile: Likewise.
15170
a4172181
AS
151712011-06-27 Andreas Schwab <schwab@redhat.com>
15172
15173 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15174 two-byte characters.
15175
78a7eee7
RM
151762011-06-27 Roland McGrath <roland@hack.frob.com>
15177
62bede13
RM
15178 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15179 AC_CACHE_CHECK invocation.
15180 * configure: Regenerated.
15181
78a7eee7
RM
15182 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15183
5ce33a62
UD
151842011-06-27 Ulrich Drepper <drepper@gmail.com>
15185
034807a9
UD
15186 [BZ #12350]
15187 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15188 bit from old_res_options.
15189
4902da17
UD
15190 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15191
5ce33a62
UD
15192 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15193 value type for setfct.
15194
c2344f56
L
151952011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15196
15197 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15198 __gettimeofday instead of gettimeofday.
15199
68468076
UD
152002011-06-26 Ulrich Drepper <drepper@gmail.com>
15201
15202 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15203
acb0d739
L
152042011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15205
15206 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15207
15208 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15209 info.
15210
8912479f
L
152112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15212
15213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15214 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15215 strcpy-sse2-unaligned strncpy-sse2-unaligned
15216 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15217 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15218 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15219 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15220 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15223 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15224 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15225 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15226 (STRCPY): Support SSE2 and SSSE3 versions.
15227
d5495a11
UD
152282011-06-24 Ulrich Drepper <drepper@gmail.com>
15229
15230 [BZ #12874]
15231 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15232 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15233 kernels which artificially limit size of requests.
15234
0b1cbaae
L
152352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15236
15237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15238 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15239 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15240 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15241 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15242 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15243 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15244 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15245 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15246 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15247 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15248 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15249 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15250 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15251 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15253 Enable unaligned load optimization for Intel Core i3, i5 and i7
15254 processors.
15255 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15256 Define.
15257 (index_Fast_Unaligned_Load): Define.
15258 (HAS_FAST_UNALIGNED_LOAD): Define.
15259
07f494a0
MP
152602011-06-23 Marek Polacek <mpolacek@redhat.com>
15261
15262 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15263
fa3fc0fe
UD
152642011-06-22 Ulrich Drepper <drepper@gmail.com>
15265
15266 [BZ #12907]
15267 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15268 until it is clear that the information is realy needed.
15269 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15270
e12df166
AS
152712011-06-22 Andreas Schwab <schwab@redhat.com>
15272
15273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15274
852eb34d
UD
152752011-06-22 Ulrich Drepper <drepper@gmail.com>
15276
84e2a551
UD
15277 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15278 /sys/devices/system/cpu/online if it is usable.
15279
852eb34d
UD
15280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15281 reading the information from the /proc filesystem to once a second.
15282
6e502e19
UD
152832011-06-21 Andreas Jaeger <aj@suse.de>
15284
15285 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15286 NULL after inclusion of kernel headers.
15287
75d39ff2
UD
152882011-06-21 Ulrich Drepper <drepper@gmail.com>
15289
51f9aa6a
UD
15290 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15291 calls to internal_setent.
15292
c0244a9d
UD
15293 [BZ #12885]
15294 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15295 addresses using gethostbyname4_r ignore IPv4 addresses.
15296
c5e3c2ae
UD
15297 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15298 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15299
75d39ff2
UD
15300 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15301
42675c6f
DM
153022011-06-20 David S. Miller <davem@davemloft.net>
15303
15304 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15305 inclusions.
15306 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15307
15308 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15309 (elf_irel): Use it.
15310 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15311 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15312 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15313 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15314 * sysdeps/x86_64/dl-irel.h: Likewise.
15315
15316 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15317 * elf/dl-sym.c: Likewise.
15318
57912a71
UD
153192011-06-15 Ulrich Drepper <drepper@gmail.com>
15320
15321 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15322 need to dereference resplen2.
15323
ee22793d
AS
153242011-06-14 Andreas Schwab <schwab@redhat.com>
15325
15326 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15327
a9e836b0
UD
153282011-06-15 Ulrich Drepper <drepper@gmail.com>
15329
77fb9117
UD
15330 * Makeconfig: Define vardbdir and inst_vardbdir.
15331 * nss/Makefile: Add rules to install db-Makefile.
15332
40c1b22c
UD
15333 * nss/nss_db/db-XXX.c: Cleanup.
15334
9f2da732
UD
15335 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15336 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15337 GLIBC_PRIVATE.
15338 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15339 * nss/makedb.c: Implement -g option to specify that value strings
15340 are generated and should not be added to table iterated over for
15341 get*ent calls.
15342 * nss/nss_db/db-initgroups.c: New file.
15343
82e9a1f7
UD
15344 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15345 interface.
15346
c41af17e
UD
15347 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15348 (internal_getgrouplist): Adjust to name change.
15349 Update use_initgroups_entry if this is not the first call.
15350 * nss/databases.def: Add initgroups entry.
15351
a9e836b0
UD
15352 * nss/makedb.c (compute_tables): Check result of multiple hash table
15353 sizes to minimize maximum chain length.
15354
2666d441
UD
153552011-06-14 Ulrich Drepper <drepper@gmail.com>
15356
15357 * Versions.def: Add entry for libnss_db.
15358 * shlib-versions: Likewise.
15359 * nss/Makefile: Add rules to build libnss_db.
15360 * nss/Versions: Add libnss_db information. Organize libnss_files
15361 entries better.
15362 * nss/db-Makefile: Add gshadow support. Change rules for the new
15363 makedb progra. Some minor improvements to generate smaller files.
15364 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15365 here from...
15366 * nss/makedb.c: ...here.
15367 Improve database format to be smaller and require less memory at
15368 runtime.
15369 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15370 db anymore.
15371 * nss/nss_db/db-netgrp.c: Likewise.
15372 * nss/nss_db/db-open.c: Likewise.
15373 * nss/nss_files/flies-XXX.x: Adjust comments.
15374 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15375 * nss/nss_files/files-grp.c: Likewise.
15376 * nss/nss_files/files-hosts.c: Likewise.
15377 * nss/nss_files/files-network.c: Likewise.
15378 * nss/nss_files/files-proto.c: Likewise.
15379 * nss/nss_files/files-pwd.c: Likewise.
15380 * nss/nss_files/files-rpc.c: Likewise.
15381 * nss/nss_files/files-service.c: Likewise.
15382 * nss/nss_files/files-sgrp.c: Likewise.
15383 * nss/nss_files/files-spwd.c: Likewise.
15384 * nss/nss_db/db-alias.c: Removed.
15385 * nss/nss_db/dummy-db.h: Removed.
15386
9ee76b5a
UD
153872011-06-02 Ulrich Drepper <drepper@gmail.com>
15388
15389 * nss/makedb.c: Rewritten to not use database library.
15390 * nss/Makefile: Update to build new makedb program.
15391
c71ca1f8
AJ
153922011-06-14 Andreas Jaeger <aj@suse.de>
15393
15394 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15395 memset declaration.
15396
3154bfb8
UD
153972011-06-10 Andreas Schwab <schwab@redhat.com>
15398
15399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15400 tmpbuf.
15401
b350afab
RM
154022011-06-10 Roland McGrath <roland@hack.frob.com>
15403
decd4e50
RM
15404 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15405 * elf/Makefile ($(objpfx)ld.so): Likewise.
15406
5615eaf2
RM
15407 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15408 Don't list ld.so twice in dependencies.
15409
15410 * posix/bug-regex31.c: Include <stdlib.h>.
15411
15412 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15413
15414 * nis/nss_compat/compat-spwd.c
15415 (getspent_next_nss_netgr): Remove unused variable.
15416 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15417
15418 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15419 nonmembers" output to use the right array.
15420
15421 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15422
15423 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15424
15425 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15426 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15427 * catgets/gencat.c (read_input_file): Likewise.
15428 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15429
15430 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15431 variable definition inside #if's controlling its use.
15432
15433 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15434
15435 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15436
15437 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15438
15439 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15440 unreachable code.
15441
15442 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15443
b68e08db
RM
15444 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15445 * configure: Regenerated.
15446
b350afab
RM
15447 * Makerules: Revert last change.
15448 * elf/Makefile: Likewise.
15449
28368601
RM
154502011-06-09 Roland McGrath <roland@hack.frob.com>
15451
15452 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15453 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15454 (reloc-link): Likewise.
15455
11988f8f
UD
154562011-06-09 Ulrich Drepper <drepper@gmail.com>
15457
15458 * elf/Makefile: Add rules to build pldd.
15459 * elf/pldd.c: New file.
15460 * elf/pldd-xx.c: New file.
15461
e80fab37
UD
154622011-06-07 Ulrich Drepper <drepper@gmail.com>
15463
15464 * version.h: Update for 2.15 development version.
15465
9b849836
DM
154662011-06-07 David S. Miller <davem@davemloft.net>
15467
15468 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15469 ifuncs.
15470 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15471 elf_machine_lazy_rel): Likewise.
15472 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15474 elf_machine_lazy_rel): Likewise.
15475 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15476 dl_hwcap via passed in argument.
15477 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15478 Likewise.
15479
5a31b283
AK
154802011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15481
15482 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15483
069e52f8
RM
154842011-06-06 Roland McGrath <roland@hack.frob.com>
15485
15486 [BZ #12849]
15487 * manual/fdl-1.1.texi: New file, verbatim from:
15488 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15489 * manual/lgpl-2.1.texi: New file, verbatim from:
15490 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15491 * manual/Makefile (licenses): New variable, list those new file names.
15492 (texis): Use it.
15493 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15494
15495 * manual/fdl.texi: File removed.
15496 * manual/lesser.texi: File removed.
15497 * manual/libc.texinfo (Copying, Documentation License):
15498 Use new @include file names, put @appendix directive before @include.
15499
f16846a5
JJ
155002011-06-04 Jakub Jelinek <jakub@redhat.com>
15501
15502 [BZ #12841]
15503 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15504 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15505 (mq_open): Add __NTH.
15506
3d29045b
L
155072011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15508
15509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15510 Assume Intel Core i3/i5/i7 processor if AVX is available.
15511
8c297311
UD
155122011-05-31 Ulrich Drepper <drepper@gmail.com>
15513
15514 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15515 typo.
15516
c8fc0c91
UD
155172011-05-31 Andreas Schwab <schwab@redhat.com>
15518
15519 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15520 memory. Use alloca_account. Fix memory leak when retrying.
15521
5b27a807
UD
155222011-05-31 Ulrich Drepper <drepper@gmail.com>
15523
356f8bc6
UD
15524 * version.h (RELEASE): Bump for 2.14 release.
15525 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15526
5b27a807
UD
15527 * config.make.in (RANLIB): Remove entry.
15528
01f16ab0
UD
155292011-05-30 Ulrich Drepper <drepper@gmail.com>
15530
41fce8bd
UD
15531 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15532 (libc.pot): Work around missing support for .ksh extension in xgettext.
15533
4769ae77
UD
15534 [BZ #12684]
15535 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15536 if both request failed.
15537 (send_dg): In case of server errors clear resplen or *resplen2.
15538
6b1e7d19
UD
15539 [BZ #12454]
15540 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15541 when there are multiple maps.
15542 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15543 (_dl_fini): Remove test here.
15544
01f16ab0
UD
15545 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15546
b1ebd700
UD
155472011-05-29 Ulrich Drepper <drepper@gmail.com>
15548
7ae22829
UD
15549 [BZ #12350]
15550 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15551 bit from old_res_options.
15552 (gaih_inet): Likewise.
15553
553149f6 15554 [BZ #11099]
18a84741 15555 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15556 as signed.
15557
652ffab1
UD
15558 * resolv/res_init.c (res_setoptions): Make the code more compact.
15559
16985fd0
UD
15560 [BZ #11558]
15561 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15562 set RES_USEVC.
15563
0464f746
UD
15564 [BZ #11634]
15565 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15566
7d17596c
UD
15567 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15568
cf6bbbd7
UD
15569 [BZ #11781]
15570 * malloc/malloc.h: Declare malloc hook variables as volatile.
15571
13f1ab36
UD
15572 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15573 in last patch.
15574
b1ebd700
UD
15575 [BZ #11799]
15576 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15577 raise in the comment.
80e2212d
UD
15578 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15579 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15580 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15581
ce67228d
UD
155822011-05-28 Ulrich Drepper <drepper@gmail.com>
15583
8887a920
UD
15584 [BZ #12811]
15585 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15586 grow the buffers more if it already has to be sufficient.
15587 (build_wcs_upper_buffer): Likewise.
15588 * posix/regexec.c (check_matching): Likewise.
15589 (clean_state_log_if_needed): Likewise.
15590 (extend_buffers): Don't enlarge buffers beyond size of the input
15591 buffer.
15592 Patches mostly by Emil Wojak <emil@wojak.eu>.
15593 * posix/bug-regex32.c: New file.
15594 * posix/Makefile (tests): Add bug-regex32.
15595
4f031072
UD
15596 * locale/findlocale.c (_nl_find_locale): Return right away if
15597 _nl_explode_name failed.
15598 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15599
d0478f0c
UD
15600 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15601
de81b246
UD
15602 * debug/xtrace.sh: Unify messages.
15603 * malloc/memusage.sh: Likewise.
15604
c738465a
UD
15605 [BZ #12813]
15606 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15607 time symbol from vDSO. Substitute with vsyscall if not available.
15608 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15609 __vdso_time.
15610
f1f929d7
UD
15611 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15612 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15613 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15614 Add sendmmsg and internal_sendmmsg.
15615 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15616 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15617 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15618
ce67228d
UD
15619 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15620 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15621 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15622
e57420c6
UD
156232011-05-27 Ulrich Drepper <drepper@gmail.com>
15624
a8509ca5
UD
15625 [BZ #12813]
15626 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15627 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15628 available.
15629 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15630 __vdso_getcpu.
15631
e57420c6
UD
15632 [BZ #12814]
15633 * iconvdata/Makefile (tests): Add bug-iconv9.
15634 * iconvdata/bug-iconv9.c: New file.
15635
4d07db15
AS
156362011-05-27 Andreas Schwab <schwab@redhat.com>
15637
15638 [BZ #12814]
15639 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15640
ea486f69
JJ
156412011-05-25 Jakub Jelinek <jakub@redhat.com>
15642
15643 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15644 (struct user_regs_struct): Change intcs field back to cs.
15645
6f038433
UD
156462011-05-25 Ulrich Drepper <drepper@gmail.com>
15647
15648 * po/ja.po: Update from translation team.
15649
67f86a25
UD
156502011-05-23 Ulrich Drepper <drepper@gmail.com>
15651
15652 [BZ #12795]
15653 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15654 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15655
def7fbd6
AS
156562011-05-20 Andreas Schwab <schwab@redhat.com>
15657
15658 * stdlib/longlong.h: Update from GCC.
15659
f50ef8f1
AS
156602011-05-23 Andreas Schwab <schwab@redhat.com>
15661
15662 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15663 parameter name.
15664 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15665 Add parameter name.
15666 (__sysconf): Pass it down.
15667
de7ce8f1
UD
156682011-05-22 Ulrich Drepper <drepper@gmail.com>
15669
f2962a71
UD
15670 [BZ #12671]
15671 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15672 some situations.
15673 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15674 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15675 add in in __libc_use_alloca calls. Adjust callers.
15676 (glob): Use malloc in some situations.
15677
de7ce8f1
UD
15678 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15679 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15680 pltexit.
15681
aec84f53
UD
156822011-05-21 Ulrich Drepper <drepper@gmail.com>
15683
05bb4a68
UD
15684 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15685 and CLOCK_BOOTTIME_ALARM.
15686
7ea72f99
UD
15687 [BZ #12782]
15688 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15689 is returned.
15690
7e4afad5
UD
15691 * string/_strerror.c (__strerror_r): Print negative errors as signed
15692 numbers.
15693
8e211fec
UD
15694 [BZ #12777]
15695 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15696 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15697 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15698
f7d82dc9
UD
15699 * configure.in: Fix typo in redirection and correct removal of test
15700 files in two cases.
15701
cc9e536d
UD
15702 [BZ #12788]
15703 * locale/setlocale.c (new_composite_name): Fix test to check for
15704 identical name of all categories.
15705
aec84f53
UD
15706 [BZ #12792]
15707 * libio/filedoalloc.c (local_isatty): New function.
15708 (_IO_file_doallocate): Use local_isatty.
15709 * stdio-common/perror.c (perror): In case a new stream is used
15710 forward the stream error.
15711 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15712 error flag.
15713
78e64fdc
RT
157142011-05-20 Ulrich Drepper <drepper@gmail.com>
15715
34a9094f
UD
15716 [BZ #11869]
15717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15718 alloca.
15719 * include/alloca.h (extend_alloca_account): Define.
15720
78e64fdc
RT
15721 [BZ #11857]
15722 * posix/regex.h: Fix comments with documentation of user-accessible
15723 fields after compilation and describe correct free'ing of pattern
15724 after re_compile_pattern.
15725 Patch by Reuben Thomas <rrt@sc3d.org>.
15726
457bddfc
RA
157272011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15728
15729 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15730 and -mno-altivec to prevent the compiler from using Altivec and/or
15731 VSX instructions when the corresponding registers are not available.
15732
a4527b51
AS
157332011-05-19 Andreas Schwab <schwab@redhat.com>
15734
15735 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15736
ed690b2f
UD
157372011-05-19 Ulrich Drepper <drepper@gmail.com>
15738
15739 * libio/freopen.c (freopen): Use __dup2, not dup2.
15740 * libio/freopen64.c (freopen64): Likewise.
15741
8db73634
L
157422011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15743
15744 [BZ #12775]
15745 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15746 * math/Makefile (tests): Add test-powl.
15747 (CFLAGS-test-powl.c): Define.
15748 * math/test-powl.c: New file.
15749
0a197a9d
L
157502011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15751
15752 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15753
ee30c380
UD
157542011-05-17 Ulrich Drepper <drepper@gmail.com>
15755
15756 [BZ #11837]
15757 * iconvdata/gb18030.c: Update to GB18020-2005.
15758
6ce75379
UD
157592011-05-16 Ulrich Drepper <drepper@gmail.com>
15760
a4b89fd8
AR
15761 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15762 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15763 Patch by Aharon Robbins <arnold@skeeve.com>.
15764
ea389b12
UD
15765 [BZ #11892]
15766 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15767 on the stack.
15768
68a3f91f
UD
15769 [BZ #11895]
15770 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15771 through underflows.
15772
15cc7dd1
UD
15773 [BZ #12766]
15774 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15775 point to strings before performing equality test for error_one_per_line
15776 mode.
15777
f3799213
UD
15778 [BZ #11697]
15779 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15780
d79a9c94
UD
15781 [BZ #11820]
15782 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15783 (struct user_fpregs_struct): Avoid __uint*_t types.
15784
56e5eb46
UD
15785 [BZ #6420]
15786 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15787 symbol info. Use it instead of calling _dl_addr locally.
15788 (lock_and_info): New function.
15789 (tr_freehook): Call lock_and_info and pass symbol info as additional
15790 parameter to tr_where.
15791 (tr_mallochook): Likewise.
15792 (tr_reallochook): Likewise.
15793 (tr_memalignhook): Likewise.
15794
6ce75379
UD
15795 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15796 used and couldn't be at all thread-safe.
15797
f8a3b5bf
UD
157982011-05-15 Ulrich Drepper <drepper@gmail.com>
15799
94b7cc37
UD
15800 * libio/freopen.c (freopen): Don't close old file descriptor
15801 before the new one is opened. Instead dup the new file descriptor
15802 to the old one after the new stream is created.
15803 * libio/freopen64.c (freopen64): Likewise.
15804 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15805 * libio/fileops.c (_IO_new_file_close_it): Handle new
15806 _IO_FLAGS2_NOCLOSE flag.
15807 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15808 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15809 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15810 _IO_FLAGS2_NOCLOSE flag.
15811 * include/unistd.h: Add hidden_proto for dup3.
15812 Define __have_dup3.
15813 * io/dup3.c: Define hidden symbol.
15814 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15815
bd25564e
UD
15816 [BZ #7101]
15817 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15818 when an incomplete long option is used.
15819 * posix/tst-getopt_long1.c: New file.
15820 * posix/Makefile (tests): Add tst-getopt_long1.
15821
c84cfef4
UD
15822 [BZ #10138]
15823 * scripts/config.guess: Update from autoconf-2.68.
15824 * scripts/config.sub: Likewise.
15825
3b85df27
UD
15826 [BZ #10157]
15827 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15828 tests into ...
15829 (has_cpuclock): ...this. New function.
15830 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15831 macro here based on has_cpuclock code.
15832
15a856b1
UD
15833 [BZ #10149]
15834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15835 First byte (not low byte) is now always NUL.
15836 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15837
05f399e6
UD
15838 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15839 Use non-cancelable interfaces.
15840
10a52685 15841 [BZ #9809]
94ecc67d
UD
15842 * locale/iso-639.def: Add entry for Sorani.
15843
f8a3b5bf
UD
15844 [BZ #11901]
15845 * include/stdlib.h: Move include protection to the right place.
15846 Define abort_msg_s. Declare __abort_msg with it.
15847 * stdlib/abort.c (__abort_msg): Adjust type.
15848 * assert/assert.c (__assert_fail_base): New function. Majority
15849 of code from __assert_fail. Allocate memory for __abort_msg with
15850 mmap.
15851 (__assert_fail): Now call __assert_fail_base.
15852 * assert/assert-perr.c: Remove bulk of implementation. Use
15853 __assert_fail_base.
15854 * include/assert.hL Declare __assert_fail_base.
15855 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15856 mmap.
15857 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15858
1af4e298
UD
158592011-05-14 Ulrich Drepper <drepper@gmail.com>
15860
f8a3b5bf 15861 [BZ #11952]
d26dfc60
MG
15862 [BZ #12453]
15863 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15864 until all modules are registered in the DTV.
15865 * elf/Makefile: Add rules to build and run tst-tls19.
15866 * elf/tst-tls19.c: New file.
15867 * elf/tst-tls19mod1.c: New file.
15868 * elf/tst-tls19mod2.c: New file.
15869 * elf/tst-tls19mod3.c: New file.
15870 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15871
2fc54d6f
UD
15872 [BZ #12083]
15873 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15874 correctly.
15875
98d76b46
UD
15876 [BZ #12601]
15877 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15878 two-byte sequence errors.
15879 * iconvdata/Makefile (tests): Add bug-iconv8.
15880 * iconvdata/bug-iconv8.c: New file.
15881
da3c19ef
UD
15882 [BZ #12626]
15883 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15884 buf2 definition.
15885
ca408c15
UD
15886 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15887
d6f67f7d
UD
15888 [BZ #12432]
15889 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15890 (dummy_getcfa): New function.
15891 (init): Get _Unwind_GetCFA address, use dummy if not found.
15892 (backtrace_helper): In recursion check, also check whether CFA changes.
15893 (__backtrace): Completely initialize arg.
15894
1af4e298 15895 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15896 storing incomplete byte sequence in state object. Avoid testing for
15897 guaranteed too small input if we know there is enough data available.
1af4e298 15898
da62f81b
AS
158992011-05-11 Andreas Schwab <schwab@redhat.com>
15900
15901 * Makeconfig (+link-pie): Indent.
15902 * Rules (binaries-pie): Define if $(have-fpie) and
15903 $(build-shared).
15904 (binaries-shared): Also filter out $(binaries-pie).
15905 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15906 * nscd/Makefile (others-pie): Add nscd.
15907 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15908 ($(objpfx)nscd): Remove command override.
15909 * login/Makefile (others-pie): Add pt_chown.
15910 ($(objpfx)pt_chown): Remove command override.
15911 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15912 remove command overrides.
15913
fcabc0f8
UD
159142011-05-13 Ulrich Drepper <drepper@gmail.com>
15915
20030ae6
UD
15916 * libio/tst_putwc.c: Fix error messages.
15917
fcabc0f8
UD
15918 [BZ #12724]
15919 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15920 currently writing and seek to current position when not.
15921 * libio/Makefile (tests): Add bug-fclose1.
15922 * libio/bug-fclose1.c: New file.
15923
320a5dc0
PB
159242011-05-12 Ulrich Drepper <drepper@gmail.com>
15925
15926 [BZ #12511]
15927 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15928 don't set DF_1_NODELETE here.
15929 (do_lookup_x): When entering new entry test for copy relocation
15930 and if necessary set DF_1_NODELETE flag.
15931 * elf/tst-unique4.cc: New file.
15932 * elf/tst-unique4.h: New file.
15933 * elf/tst-unique4lib.cc: New file.
15934 * elf/Makefile: Add rules to build and run tst-unique4.
15935 Patch by Piotr Bury <pbury@goahead.com>.
15936
22836f52
UD
159372011-05-11 Ulrich Drepper <drepper@gmail.com>
15938
f574184a
UD
15939 [BZ #12052]
15940 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15941
e1fb097f
UD
15942 [BZ #12625]
15943 * misc/mntent_r.c (addmntent): Flush the stream after the output
15944
22836f52
UD
15945 [BZ #12393]
15946 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15947 (is_trusted_path_normalize): Skip initial colon. Append slash
15948 to empty buffer. Duplicate is_trusted_path code but allow
15949 constructed patch to be prefix.
15950 (is_dst): Allow $ORIGIN followed by /.
15951 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15952 Correct testing of result of is_trusted_path_normalize
15953 (decompose_rpath): Fix warning.
15954
7b3b0b2a
UD
159552011-05-10 Ulrich Drepper <drepper@gmail.com>
15956
15957 [BZ #11257]
15958 * grp/initgroups.c (internal_getgrouplist): When we found the service
15959 list through the initgroups entry in nsswitch.conf do not always
15960 continue on a successful lookup. Don't always use the
eac80ce2 15961 __nss_group_database value if it is set.
7b3b0b2a
UD
15962 * nss/nsswitch.conf (initgroups): Change action for successful db
15963 lookup to continue for compatibility.
15964
2a81eaa5
UD
159652011-05-09 Ulrich Drepper <drepper@gmail.com>
15966
be97a69e
UD
15967 [BZ #11532]
15968 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15969 and CP774 modules.
15970 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15971 and CP774 modules.
15972 * iconvdata/tst-tables.sh: Likewise.
15973 * iconvdata/cp770.c: New file.
15974 * iconvdata/cp771.c: New file.
15975 * iconvdata/cp772.c: New file.
15976 * iconvdata/cp773.c: New file.
15977 * iconvdata/cp774.c: New file.
15978 * iconvdata/testdata/CP770: New file.
15979 * iconvdata/testdata/CP770..UTF8: New file.
15980 * iconvdata/testdata/CP771: New file.
15981 * iconvdata/testdata/CP771..UTF8: New file.
15982 * iconvdata/testdata/CP772: New file.
15983 * iconvdata/testdata/CP772..UTF8: New file.
15984 * iconvdata/testdata/CP773: New file.
15985 * iconvdata/testdata/CP773..UTF8: New file.
15986 * iconvdata/testdata/CP774: New file.
15987 * iconvdata/testdata/CP774..UTF8: New file.
15988
15989 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15990 END CHARMAP line.
15991 * iconvdata/gen-8bit-gap.sh: Likewise.
15992 * iconvdata/gen-8bit.sh: Likewise.
15993
c1e9e399
UD
15994 * locale/iso-639.def: Add ary entry.
15995
24c55fb3 15996 [BZ #11258]
96b4b1b0
UD
15997 * locale/C-translit.h.in: Add U20A1 transliteration.
15998
bdc2f971
KB
15999 [BZ #12178]
16000 * locale/iso-639.def: Add wae entry.
16001 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16002
2952b117
UD
16003 [BZ #12545]
16004 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16005 for n.
16006
2a81eaa5
UD
16007 [BZ #12711]
16008 * locale/C-translit.h.in: Add entry for U20B9.
16009 Patch by pravin.d.s@gmail.com.
16010
28377d1b
UD
160112011-05-08 Ulrich Drepper <drepper@gmail.com>
16012
7fb90fb8
UD
16013 [BZ #12713]
16014 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16015 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16016 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16017 in rtld. Use *stat64.
7fb90fb8 16018 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16019 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16020 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16021 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16022 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16023 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16024 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16025 __fstatat64 macros.
7fb90fb8
UD
16026 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16027 * dirent/rewinddir.c: Add libc_hidden_def.
16028 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16029 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16030
28377d1b
UD
16031 * include/dirent.h (__alloc_dir): Add flags parameter.
16032 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16033 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16034 __alloc_dir.
16035 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16036 from fdopendir if O_CLOEXEC is already set.
16037
66bdbaa4
AM
160382011-03-15 Alan Modra <amodra@gmail.com>
16039
16040 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16041 l_tls_firstbyte_offset non-zero. Save padding offset in
16042 l_tls_firstbyte_offset for later use.
16043 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16044 freeing static tls block.
16045
95721191
JN
160462011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16047
16048 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16049 where #ifdef was intended. The intent is to prevent ARG_MAX from
16050 being defined by the kernel headers.
16051
f87dfb1f
UD
160522011-05-07 Ulrich Drepper <drepper@gmail.com>
16053
16054 [BZ #12734]
16055 * resolv/resolv.h: Define RES_NOTLDQUERY.
16056 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16057 no-tld-query and set RES_NOTLDQUERY.
16058 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16059 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16060 modern BIND to search name as TLD unless forbidden.
16061
47c3cd7a
UD
160622011-05-07 Petr Baudis <pasky@suse.cz>
16063 Ulrich Drepper <drepper@gmail.com>
16064
16065 [BZ #12393]
16066 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16067 (is_trusted_path): ...to here.
c1e9ea35 16068 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16069 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16070 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16071
8a35c912
PP
160722011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16073
16074 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16075 __BEGIN/__END_DECLS.
16076
acd41f47
UD
160772011-05-06 Ulrich Drepper <drepper@gmail.com>
16078
16079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16080 NSS_STATUS_NOTFOUND if no record was found.
16081
597df647
AS
160822011-05-05 Andreas Schwab <schwab@redhat.com>
16083
16084 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16085 (headers-not-in-tirpc): Remove rpc/netdb.h
16086 * resolv/netdb.h: Revert last change.
16087
b9af1301
PP
160882011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16089
16090 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16091 circular dependency between libgcc.a and libc.a.
16092
4e34d5f5
AS
160932011-05-05 Andreas Schwab <schwab@redhat.com>
16094
16095 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16096 * nis/Makefile: Don't install rpcsvc/*.
16097 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16098 instead of <rpc/types.h>.
16099 (MAXHOSTNAMELEN): Define.
16100
00ee369c
AS
161012011-05-03 Andreas Schwab <schwab@redhat.com>
16102
16103 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16104
0b592a30
MB
161052011-04-28 Maciej Babinski <mbabinski@google.com>
16106
16107 [BZ #12714]
16108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16109 gethostbyname4_r when IPv6 results are possible.
16110
6e04cbbe
UD
161112011-05-02 Ulrich Drepper <drepper@gmail.com>
16112
16113 [BZ #12723]
16114 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16115 _PC_PIPE_BUF handling.
16116
e4ecafe0
BH
161172011-04-30 Bruno Haible <bruno@clisp.org>
16118
16119 [BZ #12717]
16120 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16121 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16122 to 'int'.
16123 * inet/getnameinfo.c (getnameinfo): Likewise.
16124
125ee683
UD
161252011-04-29 Ulrich Drepper <drepper@gmail.com>
16126
16127 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16128 to groups setting in database lookup.
16129 * nss/nsswitch.conf: Add initgroups entry.
16130
b722481a
EB
161312011-04-22 Ulrich Drepper <drepper@gmail.com>
16132
16133 [BZ #12685]
16134 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16135 mode string.
16136 Patch by Eric Blake <eblake@redhat.com>.
16137
4df46dbd
L
161382011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16139
16140 * sunrpc/Makefile (need-export-routines): Add svc_run.
16141 (routines): Remove svc_run.
16142 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16143 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16144 * sunrpc/svc_run.c (svc_run): Likewise.
16145 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16146
e84142d2
UD
161472011-04-21 Ulrich Drepper <drepper@gmail.com>
16148
16149 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16150 problem in reallocation in last patch.
16151
877175d8
UD
161522011-04-20 Ulrich Drepper <drepper@gmail.com>
16153
16154 * sunrpc/Makefile: Move inclusion of Rules.
16155
ab8eed78
UD
161562011-04-19 Ulrich Drepper <drepper@gmail.com>
16157
16158 * nss/nss_files/files-initgroups.c: New file.
16159 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16160 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16161 _nss_files_initgroups_dyn.
16162
e3d8f584
RS
161632011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16164
16165 * elf/elf.h (R_ARM_IRELATIVE): Define.
16166
af190f45
UD
161672011-04-19 Ulrich Drepper <drepper@gmail.com>
16168
16169 * po/ru.po: Update from translation team.
16170
53cf59ef
UD
161712011-04-17 Ulrich Drepper <drepper@gmail.com>
16172
16173 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16174 dependencies.
16175
4c559bcd
MF
161762011-02-06 Mike Frysinger <vapier@gentoo.org>
16177
16178 [BZ #12653]
16179 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16180 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16181 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16182 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16183 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16184
4420675c
AS
161852011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16186
16187 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16188 differing bytes.
16189 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16191 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16192
75ea32ab
UD
161932011-04-17 Ulrich Drepper <drepper@gmail.com>
16194
16195 [BZ #12420]
16196 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16197 storing it.
16198 * stdlib/bug-getcontext.c: New file.
16199 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16200
27390476
AK
162012011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16202
16203 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16204 instructions into .machine "z9-109".
16205 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16206 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16207
10442705
AK
162082011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16209
16210 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16211 between environment variables and auxiliary vector.
16212
7b57bfe5
UD
162132011-04-16 Ulrich Drepper <drepper@gmail.com>
16214
16215 * Makefile: Add rules to build linkobj/libc.so.
16216 * include/libc-symbols.h: Define libc_hidden_nolink.
16217 * include/rpc/auth.h: Mark functions which are to be hidden.
16218 * include/rpc/auth_des.h: Likewise.
16219 * include/rpc/auth_unix.h: Likewise.
16220 * include/rpc/clnt.h: Likewise.
16221 * include/rpc/des_crypt.h: Likewise.
16222 * include/rpc/key_prot.h: Likewise.
16223 * include/rpc/pmap_clnt.h: Likewise.
16224 * include/rpc/pmap_prot.h: Likewise.
16225 * include/rpc/pmap_rmt.h: Likewise.
16226 * include/rpc/rpc_msg.h: Likewise.
16227 * include/rpc/svc.h: Likewise.
16228 * include/rpc/svc_auth.h: Likewise.
16229 * include/rpc/xdr.h: Likewise.
16230 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16231 * nss/Makefile: Likewise.
16232 * sunrpc/Makefile: Don't install headers. Build library with normal
16233 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16234 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16235 for the compat linking library. Remove use of INTDEF/INTUSE.
16236 * sunrpc/auth_none.c: Likewise.
16237 * sunrpc/auth_unix.c: Likewise.
16238 * sunrpc/authdes_prot.c: Likewise.
16239 * sunrpc/authuxprot.c: Likewise.
16240 * sunrpc/clnt_gen.c: Likewise.
16241 * sunrpc/clnt_perr.c: Likewise.
16242 * sunrpc/clnt_raw.c: Likewise.
16243 * sunrpc/clnt_simp.c: Likewise.
16244 * sunrpc/clnt_tcp.c: Likewise.
16245 * sunrpc/clnt_udp.c: Likewise.
16246 * sunrpc/clnt_unix.c: Likewise.
16247 * sunrpc/des_crypt.c: Likewise.
16248 * sunrpc/des_soft.c: Likewise.
16249 * sunrpc/get_myaddr.c: Likewise.
16250 * sunrpc/key_call.c: Likewise.
16251 * sunrpc/key_prot.c: Likewise.
16252 * sunrpc/netname.c: Likewise.
16253 * sunrpc/pm_getmaps.c: Likewise.
16254 * sunrpc/pm_getport.c: Likewise.
16255 * sunrpc/pmap_clnt.c: Likewise.
16256 * sunrpc/pmap_prot.c: Likewise.
16257 * sunrpc/pmap_prot2.c: Likewise.
16258 * sunrpc/pmap_rmt.c: Likewise.
16259 * sunrpc/publickey.c: Likewise.
16260 * sunrpc/rpc_cmsg.c: Likewise.
16261 * sunrpc/rpc_common.c: Likewise.
16262 * sunrpc/rpc_dtable.c: Likewise.
16263 * sunrpc/rpc_prot.c: Likewise.
16264 * sunrpc/rpc_thread.c: Likewise.
16265 * sunrpc/rtime.c: Likewise.
16266 * sunrpc/svc.c: Likewise.
16267 * sunrpc/svc_auth.c: Likewise.
16268 * sunrpc/svc_authux.c: Likewise.
16269 * sunrpc/svc_raw.c: Likewise.
16270 * sunrpc/svc_run.c: Likewise.
16271 * sunrpc/svc_simple.c: Likewise.
16272 * sunrpc/svc_tcp.c: Likewise.
16273 * sunrpc/svc_udp.c: Likewise.
16274 * sunrpc/svc_unix.c: Likewise.
16275 * sunrpc/svcauth_des.c: Likewise.
16276 * sunrpc/xcrypt.c: Likewise.
16277 * sunrpc/xdr.c: Likewise.
16278 * sunrpc/xdr_array.c: Likewise.
16279 * sunrpc/xdr_float.c: Likewise.
16280 * sunrpc/xdr_intXX_t.c: Likewise.
16281 * sunrpc/xdr_mem.c: Likewise.
16282 * sunrpc/xdr_rec.c: Likewise.
16283 * sunrpc/xdr_ref.c: Likewise.
16284 * sunrpc/xdr_sizeof.c: Likewise.
16285 * sunrpc/xdr_stdio.c: Likewise.
16286
e6c61494
UD
162872011-04-10 Ulrich Drepper <drepper@gmail.com>
16288
16289 [BZ #12650]
16290 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16291 * sysdeps/ia64/dl-tls.h: Likewise.
16292 * sysdeps/powerpc/dl-tls.h: Likewise.
16293 * sysdeps/s390/dl-tls.h: Likewise.
16294 * sysdeps/sh/dl-tls.h: Likewise.
16295 * sysdeps/sparc/dl-tls.h: Likewise.
16296 * sysdeps/x86_64/dl-tls.h: Likewise.
16297 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16298
34fe483e
AS
162992011-03-14 Andreas Schwab <schwab@redhat.com>
16300
16301 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16302 rpath element also skip the following colon.
16303 (expand_dynamic_string_token): Add is_path parameter and pass
16304 down to DL_DST_REQUIRED and _dl_dst_substitute.
16305 (decompose_rpath): Call expand_dynamic_string_token with
16306 non-zero is_path. Ignore empty rpaths.
16307 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16308 with zero is_path.
16309
f12a32e6
AS
163102011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16311
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16313 Make cancelable.
16314
38a7d692
UD
163152011-04-09 Ulrich Drepper <drepper@gmail.com>
16316
16317 [BZ #12655]
16318 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16319 Patch by Filipe David Manana <fdmanana@apache.org>.
16320
e451d22b
AS
163212011-04-07 Andreas Schwab <schwab@redhat.com>
16322
16323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16324 Maintain aligned stack.
16325 (CHECK_RSP): Remove unused macro.
16326
dedc7c7b
UD
163272011-04-03 Ulrich Drepper <drepper@gmail.com>
16328
16329 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16330 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16331
94521213
UD
163322011-04-02 Ulrich Drepper <drepper@gmail.com>
16333
16334 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16335
8cb700c0 16336 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16337
0354e355
L
163382011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16339
16340 [BZ #12518]
16341 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16342 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16343 * sysdeps/x86_64/memmove.c: New file.
16344 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16345 (memcpy): Renamed to ...
16346 (__new_memcpy): This.
16347 (memcpy): Provide GLIBC_2_14 memcpy.
16348 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16349 (memcpy): Provide GLIBC_2_2_5 memcpy.
16350
8593482f
UD
163512011-04-01 Ulrich Drepper <drepper@gmail.com>
16352
16353 [BZ #12631]
16354 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16355
81a5726b
AS
163562011-03-30 Andreas Schwab <schwab@redhat.com>
16357
16358 * misc/syncfs.c: New file.
16359 * misc/Makefile (routines): Add syncfs.
16360 * posix/unistd.h: Declare syncfs.
16361 * sysdeps/unix/syscalls.list: Add syncfs.
16362
00e5419f
AS
163632011-04-01 Andreas Schwab <schwab@redhat.com>
16364
16365 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16366 open_by_handle_at.
16367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16368 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16370 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16372 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16374
748876bf
UD
163752011-04-01 Ulrich Drepper <drepper@gmail.com>
16376
658e451d
UD
16377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16378 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16379 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16380 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16381 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16383 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16384
748876bf
UD
16385 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16386 sync_file_range.c with -fexceptions.
16387 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16388 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16389 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16390 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16391 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16392 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16394 sync_file_range as cancellation point
16395 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16396 now a wrapper around __call_sync_file_range with cancellation handling.
16397 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16398 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16399 function name to __call_sync_file_range.
16400 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16401 Add call_sync_file_range.
748876bf 16402
6e63d5e1
AS
164032011-04-01 Andreas Schwab <schwab@redhat.com>
16404
16405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16406 bits/timex.h.
6e63d5e1 16407
46998f74
UD
164082011-04-01 Ulrich Drepper <drepper@gmail.com>
16409
4c1423ed
UD
16410 * iconv/iconv.h: Fix typo in comment.
16411 * io/fcntl.h: Likewise.
16412 * libio/stdio.h: Likewise.
16413 * posix/spawn.h: Likewise.
16414 * posix/unistd.h: Likewise.
16415 * stdlib/stdlib.h: Likewise.
16416 * time/time.h: Likewise.
16417 * wcsmbs/wchar.h: Likewise.
16418
158648c0
UD
16419 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16420 open_by_handle): Add.
16421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16422 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16423 Augment a few comments.
16424 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16425 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16426 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16428 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16429 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16430 open_by_handle.
16431
46998f74
UD
16432 * io/fcntl.h (AT_EMPTY_PATH): Define.
16433
83fe108b
UD
164342011-03-30 Ulrich Drepper <drepper@gmail.com>
16435
16436 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16437 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16438 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16439 to...
16440 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16441 * Versions.def: Add GLIBC_2.14.
16442 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16443 Export.
83fe108b 16444
bb242059
UD
164452011-03-22 Ulrich Drepper <drepper@gmail.com>
16446
16447 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16448 round counter.
16449 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16450
c97a1282
L
164512011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16452
16453 [BZ #12597]
16454 * string/test-strncmp.c (do_page_test): New function.
16455 (check2): Likewise.
16456 (test_main): Call check2.
16457 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16458
2a115601
UD
164592011-03-20 Ulrich Drepper <drepper@gmail.com>
16460
16461 [BZ #12587]
16462 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16463 Handle cache information in CPU leaf 4.
16464 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16465
8126d904
UD
164662011-03-18 Ulrich Drepper <drepper@gmail.com>
16467
042c49c6 16468 [BZ #12583]
8126d904
UD
16469 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16470 character representation.
16471 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16472
ccfe366e
RA
164732011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16474
16475 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16476 END(__isnan) to END(__isnanf) to match function entry point/label
16477 EALIGN(__isnanf,...).
16478
c6e13027
JJ
164792011-03-10 Jakub Jelinek <jakub@redhat.com>
16480
16481 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16482
33f85a3f
UD
164832011-03-10 Ulrich Drepper <drepper@gmail.com>
16484
028478fa
UD
16485 [BZ #12510]
16486 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16487 copy from the symbol referenced in the relocation to initialize the
16488 used variable.
16489 Patch by Piotr Bury <pbury@goahead.com>.
16490 * elf/Makefile: Add rules to build and tst-unique3.
16491 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16492 * elf/tst-unique3.cc: New file.
16493 * elf/tst-unique3.h: New file.
16494 * elf/tst-unique3lib.cc: New file.
16495 * elf/tst-unique3lib2.cc: New file.
16496
33f85a3f
UD
16497 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16498
03592fc7
MF
164992011-03-10 Mike Frysinger <vapier@gentoo.org>
16500
16501 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16502 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16503 to _start.
03592fc7 16504
6a5ee102
UD
165052011-03-06 Ulrich Drepper <drepper@gmail.com>
16506
16507 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16508 to-be-loaded object along a path to loader is ld.so.
16509
7e4ba49c
HJ
165102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16511 Ulrich Drepper <drepper@gmail.com>
16512
16513 * sysdeps/x86_64/memset.S: After aligning destination, code
16514 branches to different locations depending on the value of
16515 misalignment, when multiarch is enabled. Fix this.
16516
165172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16518
16519 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16520 Set _x86_64_preferred_memory_instruction for AMD processsors.
16521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16522 Set bit_Prefer_SSE_for_memop for AMD processors.
16523
13a804de
UD
165242011-03-04 Ulrich Drepper <drepper@gmail.com>
16525
16526 * libio/fmemopen.c (fmemopen): Optimize a bit.
16527
9d25c392
AS
165282011-03-03 Andreas Schwab <schwab@redhat.com>
16529
16530 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16531
a5543c6a
RM
165322011-03-03 Roland McGrath <roland@redhat.com>
16533
16534 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16535
012d35f7
DM
165362011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16537
7e4ba49c 16538 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16539 __bzero_ultra1 instead of __memset_ultra1.
16540
4bff6e01
AS
165412011-02-23 Andreas Schwab <schwab@redhat.com>
16542 Ulrich Drepper <drepper@gmail.com>
16543
16544 [BZ #12509]
16545 * include/link.h (struct link_map): Add l_orig_initfini.
16546 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16547 returning unsuccessfully.
16548 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16549 close of a file loaded at startup, restore the original l_initfini
16550 list.
16551 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16552 list, store the pointer.
16553 * elf/Makefile ($(objpfx)noload-mem): New rule.
16554 (noload-ENV): Define.
16555 (tests): Add $(objpfx)noload-mem.
16556 * elf/noload.c: Include <memcheck.h>.
16557 (main): Call mtrace. Close all opened handles.
16558
f2092faf
AS
165592011-02-17 Andreas Schwab <schwab@redhat.com>
16560
16561 [BZ #12454]
16562 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16563 dependencies are missing.
16564
6c8a2e88
ST
165652011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16566
f2092faf 16567 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16568 Hurd needs munmap.
16569 * sysdeps/mach/hurd/ifreq.h: New file.
16570
84a42118
PB
165712011-01-27 Petr Baudis <pasky@suse.cz>
16572 Ulrich Drepper <drepper@gmail.com>
16573
071f805e 16574 [BZ 12445]#
84a42118
PB
16575 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16576 to extend_alloca().
16577 * stdio-common/bug23.c: New file.
16578 * stdio-common/Makefile (tests): Add bug23.
16579
e23fe25b
AS
165802010-09-28 Andreas Schwab <schwab@redhat.com>
16581 Ulrich Drepper <drepper@gmail.com>
16582
16583 [BZ #12489]
16584 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16585 before performing relro protection. At old place add assertion
16586 to make sure nothing changed.
16587
d3f02e10
NS
165882011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16589 Glauber de Oliveira Costa <glommer@gmail.com>
16590
16591 * elf/elf.h: Add new ARM TLS relocs.
16592
d55fd7a5
RA
165932011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16594
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16596 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16597 cast from r3.
16598 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16599 'tests' variable.
16600 * sysdeps/wordsize-64/tst-writev.c: New file.
16601
2206397e
RA
166022011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16603
16604 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16605 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16606 insns in _dl_start to prevent a TOC reference before relocs are
16607 resolved.
16608
e9433893
UD
166092011-02-15 Ulrich Drepper <drepper@gmail.com>
16610
16611 [BZ #12469]
16612 * Makeconfig: Remove RANLIB definition.
16613 * Makerules: Don't use RANLIB.
16614 * aclocal.m4: Remove ranlib test.
16615 * configure.in: No need to check for ranlib.
16616 * elf/rtld-Rules: Don't use RANLIB.
16617
f75286c6
ST
166182011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16619
8e31c82d
ST
16620 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16621 protection macro.
16622 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16623 inclusion protection macro.
16624
f75286c6
ST
16625 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16626 SIGRTMIN and SIGRTMAX and print information in that case only when
16627 SIGRTMIN is defined.
16628
c1d0e639
JJ
166292011-02-11 Jakub Jelinek <jakub@redhat.com>
16630
16631 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16632 arginfo fn returning -1.
16633
16634 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16635 and thousands string is zero terminated.
16636
edf9294e
AS
166372011-02-03 Andreas Schwab <schwab@redhat.com>
16638
16639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16640 sysdeps/unix/sysv/linux/bits/socket.h.
16641
2b7e92df
ST
166422011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16643
edf9294e
AS
16644 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16645 (__CPU_COUNT): Remove old macros.
16646 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16647 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16648 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16649 (__sched_cpualloc, __sched_cpufree): Add declarations.
16650
a4c7ea7b
UD
166512011-02-05 Ulrich Drepper <drepper@gmail.com>
16652
16653 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16654 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16655 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16656 (readdhstai): Return value of addhstaiX call.
16657 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16658 (addgrbyX): Return value returned by cache_addgr.
16659 (readdgrbyname): Return value returned by addgrbyX.
16660 (readdgrbygid): Likewise.
16661 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16662 (addpwbyX): Return value returned by cache_addpw.
16663 (readdpwbyname): Return value returned by addhstbyX.
16664 (readdpwbyuid): Likewise.
16665 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16666 (addservbyX): Return value returned by cache_addserv.
16667 (readdservbyname): Return value returned by addservbyX:
16668 (readdservbyport): Likewise.
16669 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16670 (addhstbyX): Return value returned by cache_addhst.
16671 (readdhstbyname): Return value returned by addhstbyX.
16672 (readdhstbyaddr): Likewise.
16673 (readdhstbynamev6): Likewise.
16674 (readdhstbyaddrv6): Likewise.
16675 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16676 (readdinitgroups): Return value returned by addinitgroupsX.
16677 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16678 (prune_cache): Keep track of timeout value of re-added entries.
16679 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16680 * nscd/nscd.h: Adjust prototypes of readd* functions.
16681
a0bf67cc
RM
166822011-02-04 Roland McGrath <roland@redhat.com>
16683
16684 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16685 (nis_stats): Likewise.
16686 * nis/nis_modify.c (nis_modify): Likewise.
16687 * nis/nis_remove.c (nis_remove): Likewise.
16688 * nis/nis_add.c (nis_add): Likewise.
16689
16690 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16691
16692 * posix/fnmatch_loop.c: Add some consts.
16693
16694 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16695
435b95eb
L
166962011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16697
16698 [BZ #12460]
16699 * config.make.in (config-cflags-novzeroupper): Define.
16700 * configure.in: Substitute libc_cv_cc_novzeroupper.
16701 * elf/Makefile (AVX-CFLAGS): Define.
16702 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16703 (CFLAGS-tst-auditmod4a.c): Likewise.
16704 (CFLAGS-tst-auditmod4b.c): Likewise.
16705 (CFLAGS-tst-auditmod6b.c): Likewise.
16706 (CFLAGS-tst-auditmod6c.c): Likewise.
16707 (CFLAGS-tst-auditmod7b.c): Likewise.
16708 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16709
8517b15e
UD
167102011-02-02 Ulrich Drepper <drepper@gmail.com>
16711
16712 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16713 function to the callback.
16714 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16715
10a656fe
AS
167162011-02-02 Andreas Schwab <schwab@redhat.com>
16717
16718 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16719 of errno.
16720
968dad0a
UD
167212011-01-19 Ulrich Drepper <drepper@gmail.com>
16722
9f94d2ea 16723 [BZ #11724]
968dad0a
UD
16724 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16725 of constructors.
16726 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16727 of destructors.
16728 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16729
16730 [BZ #11724]
16731 * elf/Makefile: Add rules to build and run new test.
16732 * elf/tst-initorder.c: New file.
16733 * elf/tst-initorder.exp: New file.
16734 * elf/tst-initordera1.c: New file.
16735 * elf/tst-initordera2.c: New file.
16736 * elf/tst-initordera3.c: New file.
16737 * elf/tst-initordera4.c: New file.
16738 * elf/tst-initorderb1.c: New file.
16739 * elf/tst-initorderb2.c: New file.
16740 * elf/tst-order-a1.c: New file.
16741 * elf/tst-order-a2.c: New file.
16742 * elf/tst-order-a3.c: New file.
16743 * elf/tst-order-a4.c: New file.
16744 * elf/tst-order-b1.c: New file.
16745 * elf/tst-order-b2.c: New file.
16746 * elf/tst-order-main.c: New file.
16747 New test case by George Gensure <werkt0@gmail.com>.
16748
86e92359
UD
167492010-10-01 Andreas Schwab <schwab@redhat.com>
16750
16751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16752 decoding ACE if AI_CANONIDN.
16753
5d5732b0
UD
167542011-01-18 Ulrich Drepper <drepper@gmail.com>
16755
16756 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16757
a77e8cbc
UD
167582011-01-17 Ulrich Drepper <drepper@gmail.com>
16759
6392473f
UD
16760 * version.h (RELEASE): Bump for 2.13 release.
16761 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16762
620a0529
UD
16763 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16764
18ba70a5
UD
16765 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16766 MADV_NOHUGEPAGE.
32465c3e
UD
16767 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16768 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16770 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16772 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16773
c0dafcf1
UD
16774 * posix/getconf.c: Update copyright year.
16775 * catgets/gencat.c: Likewise.
16776 * csu/version.c: Likewise.
16777 * debug/catchsegv.sh: Likewise.
16778 * debug/xtrace.sh: Likewise.
16779 * elf/ldconfig.c: Likewise.
16780 * elf/ldd.bash.in: Likewise.
16781 * elf/sprof.c (print_version): Likewise.
16782 * iconv/iconv_prog.c: Likewise.
16783 * iconv/iconvconfig.c: Likewise.
16784 * locale/programs/locale.c: Likewise.
16785 * locale/programs/localedef.c: Likewise.
16786 * malloc/memusage.sh: Likewise.
16787 * malloc/mtrace.pl: Likewise.
16788 * nscd/nscd.c (print_version): Likewise.
16789 * nss/getent.c: Likewise.
16790
a77e8cbc
UD
16791 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16792 PF_CAIF, and PF_ALG.
16793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16794
77e8bddf
AS
167952011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16796
1f20b93a
AS
16797 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16798 (modules-names): Use them.
16799 (ifunc-test-modules, ifunc-pie-tests): Define.
16800 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16801 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16802 (test-extras): Likewise.
16803 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16804 $(compile-command.c).
16805 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16806 (all-built-dso): Define.
16807 (check-textrel.out, check-execstack.out): Depend on it.
16808
77e8bddf
AS
16809 * configure.in: Don't override --enable-multi-arch.
16810
bc425b33
UD
168112011-01-15 Ulrich Drepper <drepper@gmail.com>
16812
16813 [BZ #6812]
16814 * nscd/hstcache.c (tryagain): Define.
16815 (cache_addhst): Return tryagain not notfound for temporary errors.
16816 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16817 failed.
16818
794c3ad3
UD
168192011-01-14 Ulrich Drepper <drepper@gmail.com>
16820
70181fdd
UD
16821 [BZ #10563]
16822 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16823 to make the syscall.
16824 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16825
794c3ad3
UD
16826 [BZ #12378]
16827 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16828 and fall back to matching as normal character if the string ends before
16829 the matching ']' is found. This is what POSIX requires.
16830 * posix/testfnm.c: Adjust test result.
16831 * posix/globtest.sh: Adjust test result. Add new test.
16832 * posix/tst-fnmatch.input: Likewise.
16833 * posix/tst-fnmatch2.c: Add new test.
16834
68dc9497
AS
168352010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16836
16837 * elf/Makefile (check-execstack): Revert last change. Depend on
16838 check-execstack.h.
16839 (check-execstack.h): New target.
16840 (generated): Add check-execstack.h.
16841 * elf/check-execstack.c: Include "check-execstack.h".
16842 (main): Revert last change.
16843 (handle_file): Return zero if GNU_STACK is absent and
16844 DEFAULT_STACK_PERMS doesn't include PF_X.
16845
451f001b
UD
168462011-01-13 Ulrich Drepper <drepper@gmail.com>
16847
cfa28e56
UD
16848 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16849 in child fails because the descriptor is already closed.
8cf8ce17
UD
16850 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16851 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16852 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16853
1086d70d
UD
16854 [BZ #12397]
16855 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16856 syscall.
16857
451f001b
UD
16858 [BZ #10484]
16859 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16860 temporary buffer used to handle multi lookups locally.
a85b5cb4 16861 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16862
08769175
UD
168632011-01-12 Ulrich Drepper <drepper@gmail.com>
16864
16865 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16866 loader is ld.so.
16867
5e49c52e
UD
168682011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16869
16870 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16871 alignment for SSE2.
16872
60522a5f
UD
168732011-01-12 Ulrich Drepper <drepper@gmail.com>
16874
16875 [BZ #12394]
16876 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16877 characters. When rounding increased number of integer digits recompute
16878 number of groups.
16879 * stdio-common/tst-grouping.c: New file.
16880 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16881
f257bbd7
UD
168822011-01-09 Ulrich Drepper <drepper@gmail.com>
16883
16884 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16885 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16886
16887 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16888 void.
16889 * bits/select.h: Likewise.
16890
fa9c15cb
UD
168912011-01-08 Ulrich Drepper <drepper@gmail.com>
16892
16893 * po/ja.po: Update from translation team.
16894
16c2895f
DM
168952011-01-04 David S. Miller <davem@sunset.davemloft.net>
16896
16897 [BZ #11155]
16898 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16899 implementation just like for lxstat, fxstatat, et al.
16900
2543fef2
JM
169012010-12-27 Jim Meyering <meyering@redhat.com>
16902
16903 [BZ #12348]
16904 * posix/regexec.c (build_trtable): Return failure indication upon
16905 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16906
98727dbe
UD
169072010-12-25 Ulrich Drepper <drepper@gmail.com>
16908
5bd6dc5c
UD
16909 [BZ #12201]
16910 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16911 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16912 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16913 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16914
97983464
UD
16915 [BZ #12207]
16916 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16917
98727dbe
UD
16918 [BZ #12204]
16919 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16920 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16921
4a531bb0
L
169222010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16923
16924 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16925 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16926 script has SORT_BY_INIT_PRIORITY.
16927 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16928 NO_CTORS_DTORS_SECTIONS is defined.
16929 * elf/soinit.c: Likewise.
16930 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16931 NO_CTORS_DTORS_SECTIONS is defined.
16932 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16933 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16934 * sysdeps/sh/init-first.c: Likewise.
16935 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16936
07eb4b71
UD
169372010-12-24 Ulrich Drepper <drepper@gmail.com>
16938
16939 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16940 always use the slow path.
16941
30950a5f
RA
169422010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16943
16944 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16945 similar rule which adds the sysdep directories to the header search in
16946 order to pick up the correct platform stackinfo.h.
16947 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16948 perform test if it is, otherwise return successfully without testing.
16949 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16950 DEFAULT_STACK_PERMS define in stackinfo.h.
16951 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16952 defined in stackinfo.h.
16953 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16954 DEFAULT_STACK_PERMS defined in stackinfo.h.
16955 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16956 * sysdeps/ia64/stackinfo.h: Likewise.
16957 * sysdeps/s390/stackinfo.h: Likewise.
16958 * sysdeps/sh/stackinfo.h: Likewise.
16959 * sysdeps/sparc/stackinfo.h: Likewise.
16960 * sysdeps/x86_64/stackinfo.h: Likewise.
16961 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16962 PF_X for powerpc64. Retain PF_X for powerpc32.
16963
db753e2c
UD
169642010-12-19 Ulrich Drepper <drepper@gmail.com>
16965
14b697f7
UD
16966 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16967 accurately.
db753e2c
UD
16968 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16969 GETDENTS_64BIT_ALIGNED.
16970
28300719
UD
169712010-12-14 Ulrich Drepper <dreper@gmail.com>
16972
14b697f7 16973 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16974
4f197237
AS
169752010-12-10 Andreas Schwab <schwab@redhat.com>
16976
dbb0472f
AS
16977 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16978 _GNU_SOURCE.
16979
4f197237
AS
16980 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16981 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16982 Remove __restrict.
16983 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16984 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16985
fb88ac72
UD
169862010-12-09 Ulrich Drepper <drepper@gmail.com>
16987
16988 [BZ #11655]
16989 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16990 are initialized.
16991
42acbb92
JJ
169922010-12-09 Jakub Jelinek <jakub@redhat.com>
16993
16994 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16995
c038d98d
UD
169962010-12-03 Ulrich Drepper <drepper@gmail.com>
16997
16998 * po/it.po: Update from translation team.
16999
3a4a2499
L
170002010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17001
17002 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17003 unused codes.
17004
1e24cf6e
UD
170052010-11-30 Ulrich Drepper <drepper@gmail.com>
17006
17007 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17008
a7690819
AS
170092010-11-24 Andreas Schwab <schwab@redhat.com>
17010
17011 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17012 specially.
17013 (gaih_getanswer_slice): Likewise.
17014
3bf8d1b1
JJ
170152010-10-20 Jakub Jelinek <jakub@redhat.com>
17016
17017 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17018
6db52fbb
PB
170192010-05-31 Petr Baudis <pasky@suse.cz>
17020
17021 [BZ #11149]
17022 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17023 silently even in the chroot mode.
17024
eaca7569
UD
170252010-11-22 Ulrich Drepper <drepper@gmail.com>
17026
17027 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17028 last patch a bit. Pretty printing
17029
3056dcdb
UD
170302010-05-31 Petr Baudis <pasky@suse.cz>
17031
17032 [BZ #10085]
17033 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17034 initialization of skip_initgroups_dyn.
17035
cf7c9078
UD
170362010-11-19 Ulrich Drepper <drepper@gmail.com>
17037
17038 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17039 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17040
a1fb5e3e
UD
170412010-11-16 Ulrich Drepper <drepper@gmail.com>
17042
17043 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17044
3540d66b
AS
170452010-11-11 Andreas Schwab <schwab@redhat.com>
17046
17047 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17048 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17049 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17050 ($(objpfx)tst-fnmatch-mem): New rule.
17051 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17052 * posix/tst-fnmatch.c (main): Call mtrace.
17053
13b69574
L
170542010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17055
17056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17057 Support Intel processor model 6 and model 0x2c.
17058
da93d214
LM
170592010-11-10 Luis Machado <luisgpm@br.ibm.com>
17060
17061 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17062 signed comparison.
17063
8ca52c6e
L
170642010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17065
17066 [BZ #12205]
17067 * string/test-strncasecmp.c (check_result): New function.
17068 (do_one_test): Use it.
17069 (check1): New function.
17070 (test_main): Use it.
17071 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17072 Support strcasecmp and strncasecmp.
17073
69da074d
UD
170742010-11-08 Ulrich Drepper <drepper@gmail.com>
17075
17076 [BZ #12194]
17077 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17078 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17079
ff02d528
L
170802010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17081
17082 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17083 IFUNC support.
17084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17085 memset-x86-64.
17086 * sysdeps/x86_64/multiarch/bzero.S: New file.
17087 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17088 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17089 * sysdeps/x86_64/multiarch/memset.S: New file.
17090 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17092 Set bit_Prefer_SSE_for_memop for Intel processors.
17093 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17094 Define.
17095 (index_Prefer_SSE_for_memop): Define.
17096 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17097
344d0b54
LM
170982010-11-04 Luis Machado <luisgpm@br.ibm.com>
17099
17100 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17101 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17102
c0dde15b
UD
171032010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17104
17105 [BZ #12191]
17106 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17107 (__x86_64_raw_data_cache_size_half): Likewise.
17108 (__x86_64_raw_shared_cache_size): Likewise.
17109 (__x86_64_raw_shared_cache_size_half): Likewise.
17110
17111 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17112 (__x86_64_raw_data_cache_size_half): Likewise.
17113 (__x86_64_raw_shared_cache_size): Likewise.
17114 (__x86_64_raw_shared_cache_size_half): Likewise.
17115 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17116 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17117 and __x86_64_raw_shared_cache_size_half. Round
17118 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17119 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17120 to multiple of 256 bytes.
17121
0e516e0e
MS
171222010-11-03 Ulrich Drepper <drepper@gmail.com>
17123
17124 [BZ #12167]
17125 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17126 of inacessible symlinks. Verify result of symlink before returning it.
17127 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17128 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17129
0e012e87
ER
171302010-10-28 Erich Ritz <erichritz@gmail.com>
17131
17132 * math/math.h (isinf): Fix typo in comment.
17133
de0ff7bc
UD
171342010-11-01 Ulrich Drepper <drepper@gmail.com>
17135
17136 * po/da.po: Update from translation team.
17137
fa41c84d
UD
171382010-10-26 Ulrich Drepper <drepper@gmail.com>
17139
17140 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17141 is added to the list.
17142
f0967738
AK
171432010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17144 Ulrich Drepper <drepper@gmail.com>
17145
17146 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17147 the global list here. Move code to...
17148 (_dl_add_to_namespace_list): ...here. New function.
17149 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17150 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17151 * elf/dl-load.c (lose): Don't remove the element from the list.
17152 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17153 (_dl_map_object): Likewise.
17154
171552010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17156
17157 [BZ #12159]
17158 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17159 into all bytes of SSE register.
17160 Patch by Richard Li <richardpku@gmail.com>.
17161
f0967738 171622010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17163
17164 [BZ #12140]
17165 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17166 perturbing.
17167
d0b9e94f
MB
171682010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17169
17170 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17171 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17172 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17173 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17175 submachine.
17176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17177
8e9f92e9
AS
171782010-10-22 Andreas Schwab <schwab@redhat.com>
17179
17180 * include/dlfcn.h (__RTLD_SECURE): Define.
17181 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17182 mode & __RTLD_SECURE instead.
17183 (open_path): Rename preloaded parameter to secure.
17184 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17185 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17186 * elf/dl-deps.c (openaux): Likewise.
17187 * elf/rtld.c (struct map_args): Remove is_preloaded.
17188 (map_doit): Don't use it.
17189 (dl_main): Likewise.
17190 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17191 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17192
bc96fbda
AS
171932010-09-09 Andreas Schwab <schwab@redhat.com>
17194
17195 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17196 (sysd-rules-targets): Remove duplicates.
17197 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17198 rtld-%.$o dependency.
17199
22cd1c9b
AS
172002010-10-18 Andreas Schwab <schwab@redhat.com>
17201
17202 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17203 _dl_map_object do it.
17204
18edac48
UD
172052010-10-19 Ulrich Drepper <drepper@gmail.com>
17206
17207 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17208 fast fma builtins, define the macros in the C99 standard.
17209 (FP_FAST_FMAF): Likewise.
17210 (FP_FAST_FMAL): Likewise.
17211 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17212
17213 * bits/mathdef.h: Update copyright year.
17214 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17215
d2050124
MM
172162010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17217
17218 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17219 builtins, define the macros in the C99 standard.
17220 (FP_FAST_FMAF): Likewise.
17221 (FP_FAST_FMAL): Likewise.
17222 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17223 multiply/add.
17224 (FP_FAST_FMAF): Likewise.
17225
475facd1
JJ
172262010-10-15 Jakub Jelinek <jakub@redhat.com>
17227
17228 [BZ #3268]
17229 * math/libm-test.inc (fma_test): Some new testcases.
17230 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17231 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17232 y and infinite z. Do multiplication by C already in long double.
17233 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17235 y and infinite z. Do bitwise or of inexact bit into u.d.
17236 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17237 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17238 * sysdeps/i386/fpu/s_fma.S: Removed.
17239 * sysdeps/i386/fpu/s_fmal.S: Removed.
17240
7c08a05c
JJ
172412010-10-16 Jakub Jelinek <jakub@redhat.com>
17242
17243 [BZ #3268]
17244 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17246 computation is not scheduled after fetestexcept. Fix value
17247 of minimum denormal long double.
17248
f3f7372d
JJ
172492010-10-14 Jakub Jelinek <jakub@redhat.com>
17250
17251 [BZ #3268]
17252 * math/libm-test.inc (fma_test): Add some more tests.
17253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17254 correctly.
17255
14d43591
AS
172562010-10-15 Andreas Schwab <schwab@redhat.com>
17257
17258 * scripts/data/localplt-s390-linux-gnu.data: New file.
17259 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17260
5e908464
JJ
172612010-10-13 Jakub Jelinek <jakub@redhat.com>
17262
17263 [BZ #3268]
17264 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17265 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17266 instead of dbl-64.
17267 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17268 inlines.
17269 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17271 if one of x and y is very large and the other is subnormal.
17272 * sysdeps/s390/fpu/s_fmaf.c: New file.
17273 * sysdeps/s390/fpu/s_fma.c: New file.
17274 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17275 * sysdeps/powerpc/fpu/s_fma.S: New file.
17276 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17277 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17278 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17279
172802010-10-12 Jakub Jelinek <jakub@redhat.com>
17281
17282 [BZ #3268]
17283 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17284 fma tests.
17285 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17286 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17287 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17288 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17289 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17290 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17292
b833d51f
UD
172932010-10-12 Ulrich Drepper <drepper@redhat.com>
17294
17295 [BZ #12078]
17296 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17297 * posix/bug-regex31.input: Add test case.
17298
1751705d
UD
172992010-10-11 Ulrich Drepper <drepper@gmail.com>
17300
e9b9cbf5
UD
17301 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17302 * posix/bug-regex31.input: New file.
17303
17304 [BZ #12078]
17305 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17306 (parse_sub_exp): Fix last change, use postorder.
17307
ef06edbe
UD
17308 * posix/bug-regex31.c: New file.
17309 * posix/Makefile: Add rules to build and run bug-regex31.
17310
a129c80d
UD
17311 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17312
17313 [BZ #12078]
17314 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17315
b76b818e
UD
17316 [BZ #12108]
17317 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17318 to have entries in sys_siglist.
17319
1751705d
UD
17320 [BZ #12093]
17321 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17322 be NULL.
17323
9ff8d36f
JJ
173242010-10-07 Jakub Jelinek <jakub@redhat.com>
17325
17326 [BZ #3268]
17327 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17328 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17329 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17330 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17331 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17332 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17333 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17334 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17335 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17336 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17337 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17338 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17339 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17340 * math/ftestexcept.c (fetestexcept): Likewise.
17341 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17342 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17343 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17344 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17345 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17346 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17347 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17348
af325969
UD
173492010-10-11 Ulrich Drepper <drepper@gmail.com>
17350
c579b202 17351 [BZ #12107]
af325969
UD
17352 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17353 newline.
17354
67a67b95
UD
173552010-10-06 Ulrich Drepper <drepper@gmail.com>
17356
17357 * string/bug-strstr1.c: New file.
17358 * string/Makefile: Add rules to build and run bug-strstr1.
17359
5fb308bc
EB
173602010-10-05 Eric Blake <eblake@redhat.com>
17361
17362 [BZ #12092]
17363 * string/str-two-way.h (two_way_long_needle): Always clear memory
17364 when skipping input due to the shift table.
17365
45db99c7
UD
173662010-10-03 Ulrich Drepper <drepper@gmail.com>
17367
3b111893
UD
17368 [BZ #12005]
17369 * malloc/mcheck.c: Handle large requests.
17370
45db99c7
UD
17371 [BZ #12077]
17372 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17373 for strncmp and strncasecmp.
17374 * string/stratcliff.c: Add tests for strcmp and strncmp.
17375 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17376
cf7a1eb8
NI
173772010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17378
17379 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17380 __set_fpscr.
17381
6484ba5e
AJ
173822010-09-30 Andreas Jaeger <aj@suse.de>
17383
17384 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17385 (CGROUP_SUPER_MAGIC): Define.
17386 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17387 Handle btrfs and cgroup file systems.
17388 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17389 Likewise.
17390
91c42559
LM
173912010-09-27 Luis Machado <luisgpm@br.ibm.com>
17392
17393 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17394 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17395
87a97932
AK
173962010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17397
17398 [BZ #12067]
17399 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17400 trying to locate the ELF header.
17401
c21cc9bc
AS
174022010-09-27 Andreas Schwab <schwab@redhat.com>
17403
17404 [BZ #11611]
17405 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17406 Mask out sign-bit copies when constructing f_fsid.
17407
315970f6
PB
174082010-09-24 Petr Baudis <pasky@suse.cz>
17409
17410 * debug/stack_chk_fail_local.c: Add missing licence exception.
17411 * debug/warning-nop.c: Likewise.
17412
1ac7a2c7
JM
174132010-09-15 Joseph Myers <joseph@codesourcery.com>
17414
17415 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17416 implementing getdents64 using getdents syscall, set d_type if
17417 __ASSUME_GETDENTS32_D_TYPE.
17418
56801c50
AS
174192010-09-16 Andreas Schwab <schwab@redhat.com>
17420
17421 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17422 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17423
dda51327
UD
174242010-09-21 Ulrich Drepper <drepper@redhat.com>
17425
17426 [BZ #12037]
17427 * posix/unistd.h: Undo change of feature selection for ftruncate from
17428 2010-01-11.
17429
8ffcee4a
UD
174302010-09-20 Ulrich Drepper <drepper@redhat.com>
17431
a545ecd9 17432 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17433 detection.
17434
e24f0a8b
AS
174352010-09-20 Andreas Schwab <schwab@redhat.com>
17436
17437 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17438 fanotify_mark.
17439 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17440
7291c56f
AS
174412010-09-14 Andreas Schwab <schwab@redhat.com>
17442
17443 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17444 variables after CHECK_SP call.
17445 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17446
bc5fb037
AS
174472010-09-13 Andreas Schwab <schwab@redhat.com>
17448 Ulrich Drepper <drepper@redhat.com>
17449
17450 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17451 re-relocationg ld.so.
17452 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17453 _dl_init_paths call.
17454 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17455 here anymore.
17456
e66e7419
UD
174572010-09-14 Ulrich Drepper <drepper@redhat.com>
17458
17459 * resolv/res_init.c (__res_vinit): Count the default server we added.
17460
c044aa75
CLT
174612010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17462 Ulrich Drepper <drepper@redhat.com>
17463
17464 [BZ #11968]
17465 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17466 (____longjmp_chk): Use %ebx for saving value across system call.
17467 Add unwind info.
17468
32cf4069
AS
174692010-09-06 Andreas Schwab <schwab@redhat.com>
17470
17471 * manual/Makefile: Don't mix pattern rules with normal rules.
17472
817328ee
AS
174732010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17474
17475 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17476 operation.
17477 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17478 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17479 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17480 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17482 Likewise.
17483
29fddf61
UD
174842010-09-04 Ulrich Drepper <drepper@redhat.com>
17485
17486 [BZ #11979]
17487 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17488 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17489
0959ffc9
UD
174902010-09-02 Ulrich Drepper <drepper@redhat.com>
17491
17492 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17493 * sysdeps/x86_64/addmul_1.S: Likewise.
17494 * sysdeps/x86_64/lshift.S: Likewise.
17495 * sysdeps/x86_64/mul_1.S: Likewise.
17496 * sysdeps/x86_64/rshift.S: Likewise.
17497 * sysdeps/x86_64/sub_n.S: Likewise.
17498 * sysdeps/x86_64/submul_1.S: Likewise.
17499
ece29840
ST
175002010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17501
0959ffc9
UD
17502 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17503 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17504 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17505 * bits/sched.h [__need_schedparam]
ece29840 17506 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17507 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17508 (__defined_schedparam): Define to 1.
ece29840
ST
17509 (__sched_param): New structure, identical to sched_param.
17510 (__need_schedparam): Undefine.
17511
e53a31fe
MF
175122010-08-31 Mike Frysinger <vapier@gentoo.org>
17513
fdc0c10d
MF
17514 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17515 (epoll_create1): Declare.
17516
e53a31fe
MF
17517 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17518
a726d796
AS
175192010-08-31 Andreas Schwab <schwab@redhat.com>
17520
17521 [BZ #7066]
17522 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17523 shifting retval into place.
17524
2f3e3dc7
UD
175252010-09-01 Ulrich Drepper <drepper@redhat.com>
17526
f2933da9
UD
17527 * nis/rpcsvc/nis.h: Update copyright notice.
17528 * nis/rpcsvc/nis.x: Likewise.
17529 * nis/rpcsvc/nis_callback.h: Likewise.
17530 * nis/rpcsvc/nis_callback.x: Likewise.
17531 * nis/rpcsvc/nis_object.x: Likewise.
17532 * nis/rpcsvc/nis_tags.h: Likewise.
17533 * nis/rpcsvc/yp.h: Likewise.
17534 * nis/rpcsvc/yp.x: Likewise.
17535 * nis/rpcsvc/ypupd.h: Likewise.
17536 * nis/yp_xdr.c: Likewise.
17537 * nis/ypupdate_xdr.c: Likewise.
17538
2f3e3dc7
UD
17539 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17540 mainly the body of pmap_getport. Add parameters to specify timeouts.
17541 (pmap_getport): Use __libc_rpc_getport.
17542 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17543 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17544 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17545
f3dcc2f9
AS
175462010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17547
17548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17549 fanotify_mark.
17550
6d34eb5b
RM
175512010-08-27 Roland McGrath <roland@redhat.com>
17552
17553 * sysdeps/i386/i686/multiarch/Makefile
17554 (CFLAGS-varshift.c): New variable.
17555
9ea3de11
UD
175562010-08-27 Ulrich Drepper <drepper@redhat.com>
17557
c96d23fc
UD
17558 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17559 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17560
9ea3de11
UD
17561 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17562
17563 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17564
623aac7f
L
175652010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17566
17567 * sysdeps/x86_64/strlen.S: Unroll the loop.
17568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17569 strlen-sse2 strlen-sse2-bsf.
17570 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17571 __strlen_no_bsf if bit_Slow_BSF is set.
17572 (__strlen_sse42): Removed.
17573 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17574 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17575
8b2b7715
RM
175762010-08-25 Roland McGrath <roland@redhat.com>
17577
17578 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17579 * sysdeps/x86_64/multiarch/varshift.c: New file.
17580 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17581 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17582 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17583 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17584
e73015f2
L
175852010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17586
17587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17588 strlen-sse2 strlen-sse2-bsf.
17589 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17590 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17591 (__strlen_sse2): Removed.
17592 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17593 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17595 bit_Slow_BSF for Atom.
17596 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17597 (index_Slow_BSF): Define.
17598 (HAS_SLOW_BSF): Define.
17599
df24a73e
UD
176002010-08-25 Ulrich Drepper <drepper@redhat.com>
17601
17602 [BZ #10851]
17603 * resolv/res_init.c (__res_vinit): When no server address at all
17604 is given default to loopback.
17605
f2ac4868
RM
176062010-08-24 Roland McGrath <roland@redhat.com>
17607
09055553
RM
17608 * configure.in: Remove config-name.h generation.
17609 * configure: Regenerated.
17610 * config-name.in: File removed.
17611 * scripts/config-uname.sh: New file.
17612 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17613 ($(objdir)config-name.h): New target.
17614
f2ac4868
RM
17615 * sunrpc/rpc_parse.h: Avoid nested comment.
17616
73f27d5e
RH
176172010-08-24 Richard Henderson <rth@redhat.com>
17618 Ulrich Drepper <drepper@redhat.com>
17619 H.J. Lu <hongjiu.lu@intel.com>
17620
17621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17623 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17624 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17625 _mm_alignr_epi8 with _mm_loadu_si128.
17626 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17627 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17628 (__m128i_shift_right): Removed.
17629 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17630 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17631 * sysdeps/x86_64/multiarch/varshift.h: New file.
17632 * sysdeps/x86_64/multiarch/varshift.S: New file.
17633
84b9230c
MF
176342010-08-21 Mike Frysinger <vapier@gentoo.org>
17635
17636 * configure.in: Move assembler checks to before sysdep dir checking.
17637
9bbd0ddc
PB
176382010-08-20 Petr Baudis <pasky@suse.cz>
17639
17640 * LICENSES: Sync the sunrpc license.
17641
9da4bb31
UD
176422010-08-19 Ulrich Drepper <drepper@redhat.com>
17643
a7ab6ec8
UD
17644 * sunrpc/auth_des.c: Update copyright notice once again.
17645 * sunrpc/auth_none.c: Likewise.
17646 * sunrpc/auth_unix.c: Likewise.
17647 * sunrpc/authdes_prot.c: Likewise.
17648 * sunrpc/authuxprot.c: Likewise.
17649 * sunrpc/bindrsvprt.c: Likewise.
17650 * sunrpc/clnt_gen.c: Likewise.
17651 * sunrpc/clnt_perr.c: Likewise.
17652 * sunrpc/clnt_raw.c: Likewise.
17653 * sunrpc/clnt_simp.c: Likewise.
17654 * sunrpc/clnt_tcp.c: Likewise.
17655 * sunrpc/clnt_udp.c: Likewise.
17656 * sunrpc/clnt_unix.c: Likewise.
17657 * sunrpc/des_crypt.c: Likewise.
17658 * sunrpc/des_soft.c: Likewise.
17659 * sunrpc/get_myaddr.c: Likewise.
17660 * sunrpc/getrpcport.c: Likewise.
17661 * sunrpc/key_call.c: Likewise.
17662 * sunrpc/key_prot.c: Likewise.
17663 * sunrpc/openchild.c: Likewise.
17664 * sunrpc/pm_getmaps.c: Likewise.
17665 * sunrpc/pm_getport.c: Likewise.
17666 * sunrpc/pmap_clnt.c: Likewise.
17667 * sunrpc/pmap_prot.c: Likewise.
17668 * sunrpc/pmap_prot2.c: Likewise.
17669 * sunrpc/pmap_rmt.c: Likewise.
17670 * sunrpc/rpc/auth.h: Likewise.
17671 * sunrpc/rpc/auth_unix.h: Likewise.
17672 * sunrpc/rpc/clnt.h: Likewise.
17673 * sunrpc/rpc/des_crypt.h: Likewise.
17674 * sunrpc/rpc/key_prot.h: Likewise.
17675 * sunrpc/rpc/netdb.h: Likewise.
17676 * sunrpc/rpc/pmap_clnt.h: Likewise.
17677 * sunrpc/rpc/pmap_prot.h: Likewise.
17678 * sunrpc/rpc/pmap_rmt.h: Likewise.
17679 * sunrpc/rpc/rpc.h: Likewise.
17680 * sunrpc/rpc/rpc_des.h: Likewise.
17681 * sunrpc/rpc/rpc_msg.h: Likewise.
17682 * sunrpc/rpc/svc.h: Likewise.
17683 * sunrpc/rpc/svc_auth.h: Likewise.
17684 * sunrpc/rpc/types.h: Likewise.
17685 * sunrpc/rpc/xdr.h: Likewise.
17686 * sunrpc/rpc_clntout.c: Likewise.
17687 * sunrpc/rpc_cmsg.c: Likewise.
17688 * sunrpc/rpc_common.c: Likewise.
17689 * sunrpc/rpc_cout.c: Likewise.
17690 * sunrpc/rpc_dtable.c: Likewise.
17691 * sunrpc/rpc_hout.c: Likewise.
17692 * sunrpc/rpc_main.c: Likewise.
17693 * sunrpc/rpc_parse.c: Likewise.
17694 * sunrpc/rpc_parse.h: Likewise.
17695 * sunrpc/rpc_prot.c: Likewise.
17696 * sunrpc/rpc_sample.c: Likewise.
17697 * sunrpc/rpc_scan.c: Likewise.
17698 * sunrpc/rpc_scan.h: Likewise.
17699 * sunrpc/rpc_svcout.c: Likewise.
17700 * sunrpc/rpc_tblout.c: Likewise.
17701 * sunrpc/rpc_util.c: Likewise.
17702 * sunrpc/rpc_util.h: Likewise.
17703 * sunrpc/rpcinfo.c: Likewise.
17704 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17705 * sunrpc/rpcsvc/key_prot.x: Likewise.
17706 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17707 * sunrpc/rpcsvc/mount.x: Likewise.
17708 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17709 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17710 * sunrpc/rpcsvc/rex.x: Likewise.
17711 * sunrpc/rpcsvc/rstat.x: Likewise.
17712 * sunrpc/rpcsvc/rusers.x: Likewise.
17713 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17714 * sunrpc/rpcsvc/spray.x: Likewise.
17715 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17716 * sunrpc/rtime.c: Likewise.
17717 * sunrpc/svc.c: Likewise.
17718 * sunrpc/svc_auth.c: Likewise.
17719 * sunrpc/svc_authux.c: Likewise.
17720 * sunrpc/svc_raw.c: Likewise.
17721 * sunrpc/svc_run.c: Likewise.
17722 * sunrpc/svc_simple.c: Likewise.
17723 * sunrpc/svc_tcp.c: Likewise.
17724 * sunrpc/svc_udp.c: Likewise.
17725 * sunrpc/svc_unix.c: Likewise.
17726 * sunrpc/svcauth_des.c: Likewise.
17727 * sunrpc/xcrypt.c: Likewise.
17728 * sunrpc/xdr.c: Likewise.
17729 * sunrpc/xdr_array.c: Likewise.
17730 * sunrpc/xdr_float.c: Likewise.
17731 * sunrpc/xdr_mem.c: Likewise.
17732 * sunrpc/xdr_rec.c: Likewise.
17733 * sunrpc/xdr_ref.c: Likewise.
17734 * sunrpc/xdr_sizeof.c: Likewise.
17735 * sunrpc/xdr_stdio.c: Likewise.
17736
9da4bb31
UD
17737 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17738 handling.
17739
bdaa77bc
AS
177402010-08-19 Andreas Schwab <schwab@redhat.com>
17741
17742 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17743
fe2f79db
LM
177442010-08-19 Luis Machado <luisgpm@br.ibm.com>
17745
17746 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17747 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17748 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17749 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17750 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17751 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17752 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17753 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17754 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17755 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17756 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17757 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17758 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17759 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17760
b9b42ee0
AB
177612010-07-26 Anton Blanchard <anton@samba.org>
17762
17763 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17764 * malloc/arena.c (heap_trim): Likewise.
17765
1c06ba31
UD
177662010-08-16 Ulrich Drepper <drepper@redhat.com>
17767
17768 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17769 here. Not...
17770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17771 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17772
f8392f40
L
177732010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17774
17775 * sysdeps/i386/elf/Makefile: New file.
17776
3162f12e
AS
177772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17778
17779 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17780 from fanotify_init.
17781 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17782 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17783
28c90b2c
UD
177842010-08-15 Ulrich Drepper <drepper@redhat.com>
17785
17786 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17787 of strncasecmp_l.
1feccb6c 17788 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17789
ca6bb004
UD
177902010-08-14 Ulrich Drepper <drepper@redhat.com>
17791
e9f82e0d
UD
17792 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17793 strncase_l-nonascii.
17794 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17795 Add strncase_l-ssse3.
17796 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17797 * sysdeps/x86_64/strcmp.S: Likewise.
17798 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17799 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17800 * sysdeps/x86_64/strncase.S: New file.
17801 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17802 * sysdeps/x86_64/strncase_l.S: New file.
17803 * string/Makefile (strop-tests): Add strncasecmp.
17804 * string/test-strncasecmp.c: New file.
17805
17806 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17807 warning.
17808
ca6bb004
UD
17809 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17810 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17811
052fa7b3
AS
178122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17813
17814 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17815
962dba78
UD
178162010-08-12 Ulrich Drepper <drepper@redhat.com>
17817
17818 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17819 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17820 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17821
bebff237
AM
178222010-05-01 Alan Modra <amodra@gmail.com>
17823
17824 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17825 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17826 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17827 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17828 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17829 tidying. Don't tail-call __sigjmp_save for static lib.
17830 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17831 save location.
17832 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17833 (CALL_MCOUNT): Add eh info, and nop after bl.
17834 (TAIL_CALL_SYSCALL_ERROR): New macro.
17835 (PSEUDO_RET): Use it.
17836 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17837 Correct save location of integer regs and cr.
17838 (_dl_profile_resolve): Correct cr save location. Delete nops
17839 after bl when SHARED. Reduce cfi size a little by better
17840 placement of cfi directives.
17841 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17842 make a stack frame. Instead use parm save area as a temp.
17843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17844 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17846 Don't make a stack frame for parent, use parm save area.
17847 Increase child stack frame to 112 bytes. Don't save unused reg,
17848 and adjust reg usage. Set up cfi on error recovery and
17849 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17851 (__makecontext): Add dummy nop after jump to exit.
17852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17853 Use correct parm save area and cr save, reduce stack frame.
17854 Correct cfi for possible PSEUDO_RET frame setup.
17855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17856 Branch to local label emitted by PSEUDO_RET rather than
17857 __syscall_error.
17858
02637374
AS
178592010-08-12 Andreas Schwab <schwab@redhat.com>
17860
17861 [BZ #11904]
17862 * locale/programs/locale.c (print_assignment): New function.
17863 (show_locale_vars): Use it.
17864
c3e2f19b
UD
178652010-08-11 Ulrich Drepper <drepper@redhat.com>
17866
3cdaa6ad
UD
17867 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17868 field.
17869 (struct statfs64): Likewise.
17870 (_STATFS_F_FLAGS): Define.
17871 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17872 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17873 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17874 (ST_VALID): Define locally.
17875 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17876 __statvfs_getflags, use the provided value.
17877 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17878 __ASSUME_STATFS_F_FLAGS.
17879
754f7da3
UD
17880 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17881
10b3bedc
UD
17882 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17883 Add sys/fanotify.h.
17884 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17885 fanotify_mask for GLIBC_2.13.
17886 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17887 fanotify_init and fanotify_mark.
17888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17889 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17890
c08fb0d7
UD
17891 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17892 Add prlimit.
17893 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17894 prlimit64 for GLIBC_2.13.
17895 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17896 prlimit64.
17897 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17898 syscall.
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17900 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17901 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17902 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17903 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17904 add prlimit alias.
17905 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17906
15bac72b
UD
17907 [BZ #11903]
17908 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17909 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17910
c3e2f19b
UD
17911 * nss/Makefile: Add rules to build and run tst-nss-test1.
17912 * shlib-versions: Add entry for libnss_test1.
17913 * nss/nss_test1.c: New file.
17914 * nss/tst-nss-test1.c: New file.
17915
17916 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17917 (__nss_configure_lookup): Set appropriate entry in
17918 __nss_configure_lookup to true.
17919 * nss/nsswitch.h: Define enum with indeces of databases in
17920 databases and __nss_database_custom arrays. Declare
17921 __nss_database_custom.
17922 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17923 to avoid using nscd when custom rules are installed.
17924 * nss/getXXbyYY_r.c: Likewise.
17925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17926
17927 * nss/nss_files/files-parse.c: Whitespace fixes.
17928
f15ce4d8
UD
179292010-08-09 Ulrich Drepper <drepper@redhat.com>
17930
17931 [BZ #11883]
17932 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17933 * posix/fnmatch_loop.c: Likewise.
17934
d22e4cc9
AK
179352010-07-17 Andi Kleen <ak@linux.intel.com>
17936
17937 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17938 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17939 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17940 * Versions.def [GLIBC_2.13]: Add.
17941
805bc17d
UD
179422010-08-06 Ulrich Drepper <drepper@redhat.com>
17943
17944 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17945 Also fail if tpwd after pwuid call is NULL.
17946
5a42321d
ST
179472010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17948
17949 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17950 when converting to ms.
17951
fd3ebeda
ST
179522010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17953
17954 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17955 EOPNOTSUPP errors with ENOTTY.
17956 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17957 EOPNOTSUPP errors with ENOTTY.
17958
73507d3a
UD
179592010-07-31 Ulrich Drepper <drepper@redhat.com>
17960
17961 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17962 Add strcasecmp_l-ssse3.
17963 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17964 strcasecmp.
17965 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17966 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17967 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17968
fe36dd02
UD
179692010-07-30 Ulrich Drepper <drepper@redhat.com>
17970
66f6765a
UD
17971 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17972
42e08a54
UD
17973 * string/Makefile (strop-tests): Add strcasecmp.
17974 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17975 strcasecmp_l-nonascii.
17976 (gen-as-const-headers): Add locale-defines.sym.
17977 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17978 * sysdeps/x86_64/strcasecmp.S: New file.
17979 * sysdeps/x86_64/strcasecmp_l.S: New file.
17980 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17981 * sysdeps/x86_64/locale-defines.sym: New file.
17982 * string/test-strcasecmp.c: New file.
17983
fe36dd02
UD
17984 * string/test-strcasestr.c: Test both ends of the range of characters.
17985 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17986
48cbc0d6
RM
179872010-07-29 Roland McGrath <roland@redhat.com>
17988
76e6d6bc 17989 [BZ #11856]
48cbc0d6
RM
17990 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17991
880113d9
UD
179922010-07-27 Ulrich Drepper <drepper@redhat.com>
17993
17994 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17995 for ld.so.
17996
deb9cabb
AS
179972010-07-27 Andreas Schwab <schwab@redhat.com>
17998
17999 * manual/memory.texi (Malloc Tunable Parameters): Document
18000 M_PERTURB.
18001
1c7570ff
RM
180022010-07-26 Roland McGrath <roland@redhat.com>
18003
18004 [BZ #11840]
18005 * configure.in (-fgnu89-inline check): Set and substitute
18006 gnu89_inline, not libc_cv_gnu89_inline.
18007 * configure: Regenerated.
18008 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18009
24fb0f88
UD
180102010-07-26 Ulrich Drepper <drepper@redhat.com>
18011
18012 * string/test-strnlen.c: New file.
18013 * string/Makefile (strop-tests): Add strnlen.
18014 * string/tester.c (test_strnlen): Add a few more test cases.
18015 * string/tst-strlen.c: Better error reporting.
18016
18017 * sysdeps/x86_64/strnlen.S: New file.
18018
8e96b93a
UD
180192010-07-24 Ulrich Drepper <drepper@redhat.com>
18020
18021 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18022 lower-latency instructions.
18023
dbc676d4
UD
180242010-07-23 Ulrich Drepper <drepper@redhat.com>
18025
18026 * string/test-strcasestr.c: New file.
18027 * string/test-strstr.c: New file.
18028 * string/Makefile (strop-tests): Add strstr and strcasestr.
18029 * string/str-two-way.h: Don't undefine MAX.
18030 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18031
f6a31e0e
AS
180322010-07-21 Andreas Schwab <schwab@redhat.com>
18033
18034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18035 strcasestr-nonascii.
18036 (CFLAGS-strcasestr-nonascii.c): Define.
18037 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18038 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18039 Remove unused attribute.
18040
5dbc3b6c
RM
180412010-07-20 Roland McGrath <roland@redhat.com>
18042
18043 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18044 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18045 ld.so.cache was broken. With it, there is no way to disable dsocaps
18046 like LD_HWCAP_MASK can disable hwcaps.
18047
23d101d8
EPM
180482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18049
18050 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18051
cc9f2e47
UD
180522010-07-16 Ulrich Drepper <drepper@redhat.com>
18053
18054 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18055 call in strcasestr.
18056 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18057 __strcasestr_sse42_nonascii.
18058 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18059 strcasestr-nonascii.c.
18060 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18061
77c1b069
LM
180622010-06-15 Luis Machado <luisgpm@br.ibm.com>
18063
18064 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18065 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18066 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18067 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18068
440566c3
UD
180692010-07-09 Ulrich Drepper <drepper@redhat.com>
18070
18071 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18072 fcntl.
18073
5be9d05d
AS
180742010-07-06 Andreas Schwab <schwab@redhat.com>
18075
c30b7ee2 18076 [BZ #11577]
5be9d05d
AS
18077 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18078 dl_signal_cerror.
18079
8a492a67
UD
180802010-07-06 Ulrich Drepper <drepper@redhat.com>
18081
18082 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18083 _PC_PIPE_BUF using F_GETPIPE_SZ.
18084
713df3d5
RM
180852010-07-05 Roland McGrath <roland@redhat.com>
18086
18087 * manual/arith.texi (Rounding Functions): Fix rint description
18088 implicit in round description.
18089
702e8f14
UD
180902010-07-02 Ulrich Drepper <drepper@redhat.com>
18091
18092 * elf/Makefile: Fix linking for a few tests to make recent linker
18093 happy.
18094
52ed8be9
AS
180952010-06-30 Andreas Schwab <schwab@redhat.com>
18096
18097 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18098 $(common-objpfx)libc_nonshared.a.
18099
f47c9a11
LM
181002010-06-21 Luis Machado <luisgpm@br.ibm.com>
18101
18102 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18103 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18104 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18105 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18106 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18107 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18108 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18109 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18124 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18125 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18126 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18127 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18128 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18129 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18130 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18131 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18132 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18133 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18134 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18135 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18150
6fb8cbcb
L
181512010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18152
18153 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18154 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18155 * string/memmove.c (memmove): Renamed to ...
18156 (MEMMOVE): ...this. Default to memmove.
18157 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18158 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18159 (END_CHK): Define.
18160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18161 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18162 mempcpy-ssse3-back memmove-ssse3-back.
18163 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18164 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18165 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18166 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18167 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18168 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18169 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18170 * sysdeps/x86_64/multiarch/memmove.c: New file.
18171 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18172 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18173 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18174 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18175 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18176 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18177 Define.
18178 (index_Fast_Copy_Backward): Define.
18179 (HAS_ARCH_FEATURE): Define.
18180 (HAS_FAST_REP_STRING): Define.
18181 (HAS_FAST_COPY_BACKWARD): Define.
18182
4e733bac 181832010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18184
18185 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18186 Restore proper fallback handling.
18187
63c4ed22
UD
181882010-06-19 Ulrich Drepper <drepper@redhat.com>
18189
ac2b484c
UD
18190 [BZ #11701]
18191 * posix/group_member.c (__group_member): Correct checking loop.
18192
63c4ed22
UD
18193 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18194 OOM in getpwuid_r correctly. Return error number when the caller
18195 should return, otherwise -1.
18196 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18197 call returning > 0 value.
18198 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18199
765ade4b
AS
182002010-06-07 Andreas Schwab <schwab@redhat.com>
18201
18202 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18203 libc_nonshared.a from targets in modules-names.
18204
80da2e09
KS
182052010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18206
18207 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18208 requires it.
18209
158db122
LM
182102010-06-10 Luis Machado <luisgpm@br.ibm.com>
18211
18212 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18213 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18214 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18215 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18216
caa78cf8
AS
182172010-06-02 Andreas Schwab <schwab@redhat.com>
18218
18219 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18220
b2ef2c01
UD
182212010-06-14 Ulrich Drepper <drepper@redhat.com>
18222
18223 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18224 and F_GETPIPE_SZ.
18225 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18229 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18230 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18231
fbd643b6
RM
182322010-06-14 Roland McGrath <roland@redhat.com>
18233
18234 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18235
f32f2869
JJ
182362010-06-07 Jakub Jelinek <jakub@redhat.com>
18237
18238 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18239 __REDIRECT followed by __THROW.
18240 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18241 * posix/getopt.h (getopt): Likewise.
18242
2a50c078
EPM
182432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18244
18245 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18246 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18247 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18248 in AT_FLAGS.
18249 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18250 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18251
eb5ad2eb
LM
182522010-05-28 Luis Machado <luisgpm@br.ibm.com>
18253
18254 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18255
3c88fe1e
L
182562010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18257
18258 [BZ #11640]
18259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18260 Properly check family and model.
18261
d2f73151
TY
182622010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18263
18264 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18265
ebd2e13d
LM
182662010-05-24 Luis Machado <luisgpm@br.ibm.com>
18267
18268 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18269
b32b8b45
UD
182702010-05-21 Ulrich Drepper <drepper@redhat.com>
18271
18272 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18273 symbol reference.
18274
9acbe24d
AS
182752010-05-19 Andreas Schwab <schwab@redhat.com>
18276
18277 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18278 symbol reference.
18279
f0ccf6ea
AS
182802010-05-21 Andreas Schwab <schwab@redhat.com>
18281
3d04ff3a
AS
18282 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18283 and internal_recvmmsg.
18284 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18285 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18286 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18287 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18288
f0ccf6ea
AS
18289 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18290 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18291 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18292
5b08ac57
AS
182932010-05-20 Andreas Schwab <schwab@redhat.com>
18294
18295 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18296
4828935d
LM
182972010-05-17 Luis Machado <luisgpm@br.ibm.com>
18298
18299 POWER7 optimizations.
18300 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18301 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18302
373d545e
UD
183032010-05-19 Ulrich Drepper <drepper@redhat.com>
18304
18305 * version.h: Update for 2.13 development version.
18306
21a2b1ae
AS
183072010-05-12 Andrew Stubbs <ams@codesourcery.com>
18308
18309 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18310 exceptions. Return 0.
18311
3f7dcb2b
RM
183122010-05-07 Roland McGrath <roland@redhat.com>
18313
18314 * elf/ldconfig.c (main): Add a const.
18315
5f24d53a 183162010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18317
a160f8d8
UD
18318 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18319 (args_options): Add no-idn option.
18320 (ahosts_keys_int): Add idn_flags to ai_flags.
18321 (parse_option): Handle 'i' option to clear idn_flags.
18322
5f24d53a
UD
18323 * malloc/malloc.c (_int_free): Possible race in the most recently
18324 added check. Only act on the data if no current modification
18325 happened.
265bb1ce
UD
18326
18327See ChangeLog.17 for earlier changes.
This page took 2.311018 seconds and 5 git commands to generate.