]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Clean up x86_64/multiarch/strstr-c.c include order.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a3f95dcc
RM
12012-08-15 Roland McGrath <roland@hack.frob.com>
2
7312ca90
RM
3 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4 Move #define and #undef of memmove to just before and after
5 including <string.h>.
6
9a0a5486
RM
7 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9 and after including <string.h>. Move declarations of
10 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
11 to before #include "string/memmove.c".
12
67cc348d
RM
13 * include/dirent.h: Declare __getdirentries.
14
a3f95dcc
RM
15 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17
ca98e171
MF
182012-08-14 Mike Frysinger <vapier@gentoo.org>
19
20 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22 * sysdeps/i386/configure: Regenerated.
23 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24 STABS_CURRENT_FILE, and STABS_FUN.
25 (END): Remove call to STABS_FUN_END.
26 (STABS_CURRENT_FILE1): Delete.
27 (STABS_CURRENT_FILE): Likewise.
28 (STABS_FUN): Likewise.
29 (STABS_FUN_END): Likewise.
30 (STABS_FUN2): Likewise.
31 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32 * sysdeps/x86_64/configure: Regenerated.
33
5908bf46
RM
342012-08-14 Roland McGrath <roland@hack.frob.com>
35
36 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37 * elf/dl-lookup.c: Likewise.
5908bf46 38
f2c05b9e
JM
392012-08-14 Joseph Myers <joseph@codesourcery.com>
40
41 * sysdeps/unix/sysv/linux/kernel-features.h
42 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44 unconditionally.
45 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46 unconditionally.
47 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48 condition on __ASSUME_CLONE_THREAD_FLAGS.
49
e11f5155
AJ
502012-08-14 Andreas Jaeger <aj@suse.de>
51
52 * sysdeps/i386/fpu/libm-test-ulps: Update.
53
51a9ba86
MK
542012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
55
2fdd4f78
AJ
56 * include/atomic.h (atomic_exchange_and_add): Split into ...
57 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58 New atomic macros.
51a9ba86 59
ba6cba9e
MT
602012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
61
62 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63
42443a47
JL
642012-08-13 Jeff Law <law@redhat.com>
65
66 * manual/stdio.texi (snprintf): Clarify handling of the trailing
67 null byte in the output string.
68
121dce05
JM
692012-08-10 Joseph Myers <joseph@codesourcery.com>
70
71 * sysdeps/unix/sysv/linux/kernel-features.h
72 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
73 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
74 (__ASSUME_ARG_MAX_STACK_BASED): Define.
75 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
77 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
78 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
79
bf51f568
JL
802012-08-09 Jeff Law <law@redhat.com>
81
82 [BZ #13939]
83 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
84 When avoid_arena is set, don't retry in the that arena. Pick the
85 next one, whatever it might be.
86 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
87 (arena_lock): Pass in new parameter to arena_get2.
88 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
89 arena_get2.
90 (__libc_malloc): Unify retrying after main arena failure with
91 __libc_memalign version.
92 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
93
f85fa270
L
942012-08-09 H.J. Lu <hongjiu.lu@intel.com>
95
96 [BZ #14166]
97 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
98 to __redirect_strstr.
99 (__strstr_sse42): Use typeof __redirect_strstr.
100 (__strstr_ia32): Likewise.
101 (__libc_strstr): New prototype.
102 (strstr): Renamed to ...
103 (__libc_strstr): This.
104 (strstr): New strong alias of __libc_strstr.
105 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
106 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
107 __redirect_time.
108 Include <time.h>.
109 (__libc_time): New prototype.
110 (time_ifunc): Replace time with __libc_time.
111 (time): New strong alias and hidden definition of __libc_time.
112 (__GI_time): Remove strong alias.
113 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
114 Include <stddef.h>.
115 (memmove): Redefined to __redirect_memmove.
116 (__memmove_sse2): Use typeof __redirect_memmove.
117 (__memmove_ssse3): Likewise.
118 (__memmove_ssse3_back): Likewise.
119 (__libc_memmove): New prototype.
120 (memmove): Renamed to ...
121 (__libc_memmove): This.
122 (memmove): New strong alias of __libc_memmove.
123
33b4a91e
MS
1242012-08-08 Mark Salter <msalter@redhat.com>
125
126 * elf/elf.h
127 (R_MN10300_TLS_GD): Define.
128 (R_MN10300_TLS_LD): Likewise.
129 (R_MN10300_TLS_LDO): Likewise.
130 (R_MN10300_TLS_GOTIE): Likewise.
131 (R_MN10300_TLS_IE): Likewise.
132 (R_MN10300_TLS_LE): Likewise.
133 (R_MN10300_TLS_DTPMOD): Likewise.
134 (R_MN10300_TLS_DTPOFF): Likewise.
135 (R_MN10300_TLS_TPOFF): Likewise.
136 (R_MN10300_SYM_DIFF): Likewise.
137 (R_MN10300_ALIGN): Likewise.
138 (R_MN10300_NUM): Update.
139
b36137f1
JM
1402012-08-08 Joseph Myers <joseph@codesourcery.com>
141
142 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
143 Remove.
144
cdd915fd
RM
1452012-08-08 Roland McGrath <roland@hack.frob.com>
146
a2433aac
RM
147 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
148
cdd915fd
RM
149 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
150 sysdeps/unix -> sysdeps/posix move.
151 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
152
bf9b740a
AM
1532012-08-07 Allan McRae <allan@archlinux.org>
154
155 [BZ #14303]
156 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
157 (SUNOS_CPP): Likewise.
158 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
159 not found.
160 (open_input): Call CPP using execvp.
161
93df14ee
JM
1622012-08-07 Joseph Myers <joseph@codesourcery.com>
163
164 * sysdeps/unix/sysv/linux/kernel-features.h
165 (__ASSUME_PROT_GROWSUPDOWN): Remove.
166 (__ASSUME_NO_CLONE_DETACHED): Likewise.
167 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
168 (__ASSUME_WAITID_SYSCALL): Likewise.
169 * sysdeps/unix/sysv/linux/dl-execstack.c
170 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
171 code unconditional.
172 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
173 conditional code.
174 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
175 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
176 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
177 code.
178 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
179 unconditional.
180 [__ASSUME_WAITID_SYSCALL]: Likewise.
181 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
182
d34689de
RM
1832012-08-07 Roland McGrath <roland@hack.frob.com>
184
a281decc
RM
185 * sysdeps/unix/closedir.c: Renamed to ...
186 * sysdeps/posix/closedir.c: ... here.
187 * sysdeps/unix/dirfd.c: Renamed to ...
188 * sysdeps/posix/dirfd.c: ... here.
189 * sysdeps/unix/dirstream.h: Renamed to ...
190 * sysdeps/posix/dirstream.h: ... here.
191 * sysdeps/unix/fdopendir.c: Renamed to ...
192 * sysdeps/posix/fdopendir.c: ... here.
193 * sysdeps/unix/opendir.c: Renamed to ...
194 * sysdeps/posix/opendir.c: ... here.
195 * sysdeps/unix/readdir.c: Renamed to ...
196 * sysdeps/posix/readdir.c: ... here.
197 * sysdeps/unix/readdir_r.c: Renamed to ...
198 * sysdeps/posix/readdir_r.c: ... here.
199 * sysdeps/unix/rewinddir.c: Renamed to ...
200 * sysdeps/posix/rewinddir.c: ... here.
201 * sysdeps/unix/seekdir.c: Renamed to ...
202 * sysdeps/posix/seekdir.c: ... here.
203 * sysdeps/unix/telldir.c: Renamed to ...
204 * sysdeps/posix/telldir.c: ... here.
205 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
206 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
207 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
208 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
209
22895b47
RM
210 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
211 * bits/fcntl.h: ... here.
212
707a53b6
RM
213 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
214 not 0.
215 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
216 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
217 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
218 (struct flock): Move l_start, l_len to the beginning.
219 Use __pid_t for l_pid.
220 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
221 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
222 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
223 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
224 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
225 [__USE_LARGEFILE64] (struct flock64): New type.
226 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
227
f0bd3e25
RM
228 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
229 * bits/dirent.h: ... here.
230
d34689de
RM
231 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
232 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
233
6dad2c06
JM
2342012-08-07 Joseph Myers <joseph@codesourcery.com>
235
236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
237 Change from 2.6.0 to 2.6.16.
238 * sysdeps/unix/sysv/linux/configure: Regenerated.
239 * sysdeps/unix/sysv/linux/kernel-features.h
240 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
241 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
242 version.
243 (__ASSUME_UTIMES): Likewise.
244 (__ASSUME_CLONE_STOPPED): Remove.
245 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
246 architectures, not kernel version.
247 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
248 (__ASSUME_NO_CLONE_DETACHED): Likewise.
249 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
250 (__ASSUME_WAITID_SYSCALL): Likewise.
251 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
252 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
253 * README: State 2.6.16 as minimum Linux kernel version. Do not
254 refer to older versions.
255
03af9520
RM
2562012-08-06 Roland McGrath <roland@hack.frob.com>
257
8e49df1d
RM
258 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
259 Define alphasort64 as an alias.
260 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
261 Define versionsort64 as an alias.
262 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
263 Define scandir64 as an alias.
264 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
265 Define scandirat64 as an alias.
266 * dirent/alphasort64.c (alphasort64):
267 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
268 * dirent/versionsort64.c: Likewise.
269 * dirent/scandir64.c: Likewise.
270 * dirent/scandirat64.c: Likewise.
271 * sysdeps/wordsize-64/alphasort.c: File removed.
272 * sysdeps/wordsize-64/alphasort64.c: File removed.
273 * sysdeps/wordsize-64/scandir.c: File removed.
274 * sysdeps/wordsize-64/scandir64.c: File removed.
275 * sysdeps/wordsize-64/scandirat.c: File removed.
276 * sysdeps/wordsize-64/scandirat64.c: File removed.
277 * sysdeps/wordsize-64/versionsort.c: File removed.
278 * sysdeps/wordsize-64/versionsort64.c: File removed.
279 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
280 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
281 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
282 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
283 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
284 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
285 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
286 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
287
288 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
290 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
292 [defined __arch64__ || defined __sparcv9]
293 (__INO_T_MATCHES_INO64_T): New macro.
294 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
295 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
296 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
297 * sysdeps/unix/sysv/linux/bits/dirent.h
298 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
299 (_DIRENT_MATCHES_DIRENT64): New macro.
300
03af9520
RM
301 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
302 Define lockf64 as an alias.
303 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
304 Define fseeko64 as an alias.
305 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
306 Define ftello64 as an alias.
307 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
308 Define _IO_fgetpos64 and fgetpos64 as aliases.
309 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
310 Define _IO_fsetpos64 and fsetpos64 as aliases.
311 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
312 Conditionalize body on this.
313 * libio/fseeko64.c: Likewise.
314 * libio/ftello64.c: Likewise.
315 * libio/iofgetpos64.c: Likewise.
316 * libio/iofsetpos64.c: Likewise.
317 * sysdeps/wordsize-64/lockf.c: File removed.
318 * sysdeps/wordsize-64/lockf64.c: File removed.
319 * sysdeps/wordsize-64/fseeko.c: File removed.
320 * sysdeps/wordsize-64/fseeko64.c: File removed.
321 * sysdeps/wordsize-64/ftello.c: File removed.
322 * sysdeps/wordsize-64/ftello64.c: File removed.
323 * sysdeps/wordsize-64/iofgetpos.c: File removed.
324 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
325 * sysdeps/wordsize-64/iofsetpos.c: File removed.
326 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
327 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
328 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
329 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
330 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
331 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
332 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
333 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
334 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
335 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
336 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
337
338 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
340 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
342 [defined __arch64__ || defined __sparcv9]
343 (__OFF_T_MATCHES_OFF64_T): New macro.
344 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
345 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
347 (__OFF_T_MATCHES_OFF64_T): New macro.
348
c5757acd
L
3492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
350
351 * stdlib/secure-getenv.c (__secure_getenv): Replace
352 GLIBC_2_16 with GLIBC_2_17.
353
3a31811e
L
3542012-08-06 H.J. Lu <hongjiu.lu@intel.com>
355
356 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
357 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
358
faa2bccb
DM
3592012-08-03 David S. Miller <davem@davemloft.net>
360
361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
362
85fe1997
JM
3632012-08-03 Joseph Myers <joseph@codesourcery.com>
364
365 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
366 Remove.
367 (__ASSUME_CORRECT_SI_PID): Likewise.
368 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
369 (__ASSUME_TMPFS_NAME): Likewise.
370 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
371 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
372 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
373 (HAVE_AUX_SECURE): Make definition unconditional.
374 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
375 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
376
4f75b7a0
RM
3772012-08-03 Roland McGrath <roland@hack.frob.com>
378
379 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
380 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
381 * sysdeps/mach/hurd/eloop-threshold.h: New file.
382 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
383 __eloop_threshold instead of SYMLOOP_MAX.
384
385 * sysdeps/generic/eloop-threshold.h: New file.
386 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
387 of MAXSYMLINKS.
388 * elf/chroot_canon.c (chroot_canon): Likewise.
389
7aab07e4
JM
3902012-08-03 Joseph Myers <joseph@codesourcery.com>
391
392 [BZ #13717]
393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
394 Change to 2.6.0 everywhere.
395 * sysdeps/unix/sysv/linux/configure: Regenerated.
396 * sysdeps/unix/sysv/linux/kernel-features.h
397 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
398 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
399 kernel versions.
400 (__ASSUME_POSIX_TIMERS): Define unconditionally.
401 (__ASSUME_FUTEX_REQUEUE): Remove.
402 (__ASSUME_STATFS64): Define unconditionally.
403 (__ASSUME_AT_SECURE): Likewise.
404 (__ASSUME_CORRECT_SI_PID): Likewise.
405 (__ASSUME_TGKILL): Define without depending on kernel version for
406 i386.
407 (__ASSUME_UTIMES): Likewise.
408 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
409 kernel version.
410 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
411 (__ASSUME_TMPFS_NAME): Likewise.
412 * README: Update reference to Linux kernel versions.
413
b67e9372
MP
4142012-08-02 Marek Polacek <polacek@redhat.com>
415
416 [BZ#14150]
417 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
418 libc_cv_asm_type_prefix with %.
419 * configure: Regenerated.
d2441631
RM
420 * include/libc-symbols.h: Remove comment about
421 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
422 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
423 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
424 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
425 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
426 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
427 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
428 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
429 * elf/tst-unique2mod1.c: Likewise.
430 * elf/tst-unique1mod2.c: Likewise.
431 * elf/tst-unique1mod1.c: Likewise.
432 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
433 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
434 Replace ASM_TYPE_DIRECTIVE with .type.
435 * sysdeps/s390/s390-64/sysdep.h: Likewise.
436 * sysdeps/i386/sysdep.h: Likewise.
437 * sysdeps/x86_64/sysdep.h: Likewise.
438 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
440 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 441 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
442 * sysdeps/powerpc/powerpc32/sysdep.h:
443 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
444 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
445 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
446 * sysdeps/i386/fpu/e_powf.S: Likewise.
447 * sysdeps/i386/fpu/e_expl.S: Likewise.
448 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
449 * sysdeps/i386/fpu/e_acosh.S: Likewise.
450 * sysdeps/i386/fpu/e_pow.S: Likewise.
451 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
452 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
453 * sysdeps/i386/fpu/s_expm1.S: Likewise.
454 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
455 * sysdeps/i386/fpu/e_log2.S: Likewise.
456 * sysdeps/i386/fpu/e_log2l.S: Likewise.
457 * sysdeps/i386/fpu/e_scalb.S: Likewise.
458 * sysdeps/i386/fpu/e_powl.S: Likewise.
459 * sysdeps/i386/fpu/e_log10f.S: Likewise.
460 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
461 * sysdeps/i386/fpu/e_logl.S: Likewise.
462 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
463 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
464 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
465 * sysdeps/i386/fpu/e_log2f.S: Likewise.
466 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
467 * sysdeps/i386/fpu/e_log.S: Likewise.
468 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
469 * sysdeps/i386/fpu/e_logf.S: Likewise.
470 * sysdeps/i386/fpu/e_log10l.S: Likewise.
471 * sysdeps/i386/fpu/e_atanh.S: Likewise.
472 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
473 * sysdeps/i386/fpu/e_log10.S: Likewise.
474 * sysdeps/i386/fpu/s_frexp.S: Likewise.
475 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
476 * sysdeps/i386/fpu/s_asinh.S: Likewise.
477 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
478 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
479 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
480 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
481 * sysdeps/i386/i686/strtok.S: Likewise.
482 * sysdeps/i386/i386-mcount.S: Likewise.
483 * sysdeps/i386/strtok.S: Likewise.
484 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
485 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
486 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
487 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
488 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
489 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
490 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
491 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
492 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
493 * sysdeps/x86_64/_mcount.S: Likewise.
494 * sysdeps/x86_64/strtok.S: Likewise.
495 * sysdeps/sh/_mcount.S: Likewise.
496
2747bf9a
RM
4972012-08-01 Roland McGrath <roland@hack.frob.com>
498
499 * libio/iofopen.c: Include <fcntl.h>.
500 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
501 (_IO_fopen64, fopen64): Define as aliases.
502 * libio/iofopen64.c: Include <fcntl.h>.
503 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
504 Conditionalize body on this.
505 * sysdeps/wordsize-64/iofopen.c: File removed.
506 * sysdeps/wordsize-64/iofopen64.c: File removed.
507
3fb791b8
MP
5082012-08-01 Marek Polacek <polacek@redhat.com>
509
510 * libc/Makeconfig: Use elf in place of binfmt-subdir.
511 Use dlfcn directly instead of a variable.
512 (binfmt-subdir): Do not define.
513 (dlfcn): Likewise.
514
a9f1039f
JM
5152012-08-01 Joseph Myers <joseph@codesourcery.com>
516
23bddc06
JM
517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
518 Remove all definitions.
519 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
520 <kernel-features.h>.
521 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
522 (miss_F_GETOWN_EX): Remove all definitions.
523 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
524 macro definition.
525 [!__ASSUME_FCNTL64]: Remove conditional code.
526 [__ASSUME_FCNTL64]: Make code unconditional.
527 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
528 <kernel-features.h>.
529 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
530 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
531 (lockf64) [__NR_fcntl64]: Make code unconditional.
532 (lockf64) [__ASSUME_FCNTL64]: Likewise.
533
a9f1039f
JM
534 * sysdeps/unix/sysv/linux/kernel-features.h
535 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
536 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
537 Make code unconditional.
538 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
539 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
541 [__NR_vfork]: Make code unconditional.
542 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
543 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
545 [__NR_vfork]: Make code unconditional.
546 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
547 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
548
09c0ee5f
RM
5492012-08-01 Roland McGrath <roland@hack.frob.com>
550
48aec5b9
RM
551 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
552 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
553
cd97c966
RM
554 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
555 Define mkstemp64 as an alias.
3f55550c
RM
556 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
557 Define mkstemps64 as an alias.
cd97c966
RM
558 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
559 Define mkostemp64 as an alias.
b8625cfc
RM
560 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
561 Define mkostemps64 as an alias.
cd97c966
RM
562 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
563 Conditionalize body on this.
564 * misc/mkostemp64.c: Likewise.
b8625cfc 565 * misc/mkostemps64.c: Likewise.
3f55550c 566 * misc/mkstemps64.c: Likewise.
cd97c966
RM
567 * sysdeps/wordsize-64/mkstemp64.c: File removed.
568 * sysdeps/wordsize-64/mkostemp64.c: File removed.
569 * sysdeps/wordsize-64/mkostemp.c: File removed.
570 * sysdeps/wordsize-64/mkstemp.c: File removed.
571 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
572 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
573 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
574 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
575
09c0ee5f
RM
576 [BZ #14138]
577 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
578 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
579 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
580 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
581
582 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
583 compat_symbol macros from <shlib-compat.h> rather than the underlying
584 default_symbol_version and symbol_version macros, so that DEFAULT
585 lines in shlib-versions are respected.
586 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
587
7e66ee51
FW
5882012-08-01 Florian Weimer <fweimer@redhat.com>
589
590 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
591 Declare with warn_unused_result.
592 (setgid, setregid, setegid, setresgid): Likewise.
593 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
594 Likewise.
595 * WUR-REPORT: Remove set*id functions.
596
d2a54255
PT
5972012-07-31 Pino Toscano <toscano.pino@tiscali.it>
598
599 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
600
7ecdb005
RM
6012012-07-31 Roland McGrath <roland@hack.frob.com>
602
789bd351
RM
603 * include/sys/socket.h (__libc_accept, __libc_accept4):
604 Add attribute_hidden.
605 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
606
40ce302d
RM
607 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
608 use of PTR_MANGLE.
609 * inet/getnetgrent_r.c (setup): Likewise.
610
7ecdb005
RM
611 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
612
e2eabb2c
DM
6132012-07-31 David S. Miller <davem@davemloft.net>
614
615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
616
d0419dbf
JM
6172012-07-31 Joseph Myers <joseph@codesourcery.com>
618
619 [BZ #13629]
620 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
621 value between 1.0 and 2.0 and smaller part has absolute value less
622 than 1.0.
623 * math/s_clog10.c (__clog10): Likewise.
624 * math/s_clog10f.c (__clog10f): Likewise.
625 * math/s_clog10l.c (__clog10l): Likewise.
626 * math/s_clogf.c (__clogf): Likewise.
627 * math/s_clogl.c (__clogl): Likewise.
628 * math/libm-test.inc (clog_test): Add more tests.
629 (clog10_test): Likewise.
630 * sysdeps/i386/fpu/libm-test-ulps: Update.
631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
632
2bc13872
FW
6332012-07-31 Florian Weimer <fweimer@redhat.com>
634
635 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
636 Exit with zero in case no suitable GID is found, and write a
637 message to standard error.
638
bea9b193
RM
6392012-07-30 Roland McGrath <roland@hack.frob.com>
640
641 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
642 rather than to 1.
643 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
644 (MAXPATHLEN): Removed.
645 (NOGROUP, NODEV): New macros.
646 (setbit, clrbit, isset, isclr): New macros.
647 (howmany, roundup, powerof2): New macros.
648 (DEV_BSIZE): New macro.
649
650 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
651 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
652
653 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
654 definition on [!__NO_LONG_DOUBLE_MATH].
655
656 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
657 PTR_MANGLE and PTR_DEMANGLE.
658
659 * socket/accept4.c (accept4): Rename to __libc_accept4.
660 Define accept4 as a weak alias.
661
662 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
663 on [_DIRENT_HAVE_D_TYPE].
664 * io/ftw.c (ftw_dir): Likewise.
665
666 * io/xmknod.c (__xmknod): Don't check PATH for being null.
667
668 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
669
670 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
671 Use the BSD numbers rather than the arbitrary ones we had.
672 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
673 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
674 (SIGXCPU, SIGXFSZ): New macros.
675 (_NSIG): Now 32.
676
677 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
678 initializer on [_LIBC_REENTRANT].
679
680 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
681 definitions inside [_POSIX_MAPPED_FILES].
682
683 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
684
685 * dirent/opendir.c: Include <fcntl.h>.
686
687 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
688 (__libc_getspecific): Likewise.
689 (__libc_key_create): Likewise.
690
691 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
692 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
693 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
694 (tmpfile64): Define as alias.
695 * sysdeps/wordsize-64/tmpfile.c: File removed.
696 * sysdeps/wordsize-64/tmpfile64.c: File removed.
697 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
698 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
699
700 * stdio-common/vfscanf.c: Include <stdbool.h>.
701 * nss/makedb.c: Likewise.
702 * stdio-common/_i18n_number.h: Likewise.
703 * argp/argp-help.c: Likewise.
704 * posix/wordexp.c: Likewise.
705 * sysdeps/posix/spawni.c: Likewise.
706 * nss/nss_files/files-initgroups.c: Likewise.
707 * stdio-common/reg-modifier.c: Include <stdlib.h>.
708 * nss/nss_files/files-initgroups.c: Likewise.
709 * nss/nss_db/db-netgrp.c: Likewise.
710 * nss/nss_db/db-initgroups.c: Likewise.
711 * io/fchmodat.c: Include <sys/stat.h>.
712
713 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
714 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
715
716 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
717 [HAVE_MMAP].
718
719 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
720 Add multiple inclusion protection.
721
e5abc686
DM
7222012-07-27 David S. Miller <davem@davemloft.net>
723
724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
725
815e6fa3
GB
7262012-07-27 Gary Benson <gbenson@redhat.com>
727
728 [BZ #14298]
729 * elf/rtld.c: Include <stap-probe.h>.
730 (dl_main): Added static probes "init_start" and "init_complete".
731 * elf/dl-load.c: Include <stap-probe.h>.
732 (lose): Take new parameter "nsid".
733 Added static probe "map_failed".
734 (_dl_map_object_from_fd): Pass namespace id to lose.
735 Added static probe "map_start".
736 (open_verify): Pass namespace id to lose.
737 * elf/dl-open.c: Include <stap-probe.h>.
738 (dl_open_worker) Added static probes "map_complete", "reloc_start"
739 and "reloc_complete".
740 * elf/dl-close.c: Include <stap-probe.h>.
741 (_dl_close_worker): Added static probes "unmap_start" and
742 "unmap_complete".
743 * elf/rtld-debugger-interface.txt: New file documenting the above.
744
9f98c16c
RM
7452012-07-26 Roland McGrath <roland@hack.frob.com>
746
747 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
748 rather than a string variable.
749 * sunrpc/rpc_main.c (h_output): Likewise.
750 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
751
f3c22df3
PT
7522012-07-26 Pino Toscano <toscano.pino@tiscali.it>
753
754 * inet/check_native.c: New file.
755
3129cfc6
JM
7562012-07-26 Joseph Myers <joseph@codesourcery.com>
757
da865e95
JM
758 [BZ #13629]
759 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
760 if larger part has absolute value 1.0.
761 * math/s_clog10.c (__clog10): Likewise.
762 * math/s_clog10f.c (__clog10f): Likewise.
763 * math/s_clog10l.c (__clog10l): Likewise.
764 * math/s_clogf.c (__clogf): Likewise.
765 * math/s_clogl.c (__clogl): Likewise.
766 * math/libm-test.inc (clog_test): Add more tests.
767 (clog10_test): Likewise.
768 * sysdeps/i386/fpu/libm-test-ulps: Update.
769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
770
3129cfc6
JM
771 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
772 (pltexit): Likewise.
773 (La_regs): Likewise.
774 (La_retval): Likewise.
775 (int_retval): Likewise.
776 Update #error for removed macros to refer only to definitions in
777 tst-audit.h.
778 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
779 macro.
780 (pltexit): Likewise.
781 (La_regs): Likewise.
782 (La_retval): Likewise.
783 (int_retval): Likewise.
784 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
785 macro.
786 (pltexit): Likewise.
787 (La_regs): Likewise.
788 (La_retval): Likewise.
789 (int_retval): Likewise.
790 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
791 macro.
792 (pltexit): Likewise.
793 (La_regs): Likewise.
794 (La_retval): Likewise.
795 (int_retval): Likewise.
796 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
797 macro.
798 (pltexit): Likewise.
799 (La_regs): Likewise.
800 (La_retval): Likewise.
801 (int_retval): Likewise.
802 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
803 macro.
804 (pltexit): Likewise.
805 (La_regs): Likewise.
806 (La_retval): Likewise.
807 (int_retval): Likewise.
808 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
809 macro.
810 (pltexit): Likewise.
811 (La_regs): Likewise.
812 (La_retval): Likewise.
813 (int_retval): Likewise.
814 * sysdeps/generic/tst-audit.h: Update comment to refer only to
815 macro definitions in tst-audit.h.
816 * sysdeps/i386/tst-audit.h: New file.
817 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
818 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
819 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
820 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
821 * sysdeps/sh/tst-audit.h: Likewise.
822 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
823 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
824 * sysdeps/x86_64/tst-audit.h: Likewise.
825
bfc07087
AJ
8262012-07-26 Andreas Jaeger <aj@suse.de>
827
b1b2aaf8
AJ
828 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
829 ptrace.
830
831 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
832 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
833 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
834 PTRACE_O_MASK.
835 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
836 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
837 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
838
bfc07087
AJ
839 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
840 value.
841
842 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
843 _sigsys.
844 (si_call_addr, si_syscall, si_arch): Define new macro.
845 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
846 _sigsys.
847 (si_call_addr, si_syscall, si_arch): Define new marcro.
848 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
849 _sigsys.
850 (si_call_addr, si_syscall, si_arch): Define new macro.
851 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
852 _sigsys.
853 (si_call_addr, si_syscall, si_arch): Define new macro.
854
89b4b02f
JM
8552012-07-25 Joseph Myers <joseph@codesourcery.com>
856
857 [BZ #13717]
858 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
859 Change to 2.4.21 where previously 2.4.1.
860 * sysdeps/unix/sysv/linux/configure: Regenerated.
861 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
862 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
863 Linux kernel version.
864 (__ASSUME_STD_AUXV): Remove.
865 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
866 kernel version.
867 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
868 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
869 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
870 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
871 (__ASSUME_NETLINK_SUPPORT): Likewise.
872 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
873 (__no_netlink_support): Remove conditional definition.
874 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
875 Remove.
876 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
877 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
878 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
879 (if_nameindex_ioctl): Remove.
880 (if_nameindex_netlink): Do not handle __no_netlink_support.
881 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
882 code.
883 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
884 Remove conditional code.
885 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
886 code.
887 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
888 unconditional.
889 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
890 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
891 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
892 Remove.
893 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
894 [!__ASSUME_STD_AUXV]: Remove conditional code.
895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
896 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
897 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
899 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
900 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
901 code.
902 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
904 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
905 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
906 conditional code.
907 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
909 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
910 code.
911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
912 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
913 conditional code.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
915 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
916 code unconditional.
917 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
918 conditional code.
919 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
920 unconditional.
921 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
922 conditional code.
923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
924 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
925 unconditional.
926 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
927 conditional code.
928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
929 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
930 code unconditional.
931 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
932 conditional code.
933 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
934 unconditional.
935 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
936 conditional code.
937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
938 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
939 code unconditional.
940 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
941 conditional code.
942 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
943 unconditional.
944 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
945 conditional code.
946
842a39cd
AS
9472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
948
949 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
950 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
951 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
952 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
953 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
954 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
955 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
956 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
957 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
958 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
959 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
960 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
961 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
962 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
963 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
964 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
965 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
966 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
967 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
969 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
970 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
971 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
972
84b3fd84
FW
9732012-07-25 Florian Weimer <fweimer@redhat.com>
974
975 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
976 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
977 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
978 Introduce __libc_secure_getenv.
0c7936d5
FW
979 * stdlib/Versions (2.17): Add secure_getenv
980 (GLIBC_PRIVATE): Add __libc_secure_getenv.
981 * stdlib/secure-getenv.c: Rename __secure_getenv to
982 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
983 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
984 * stdlib/tst-secure-getenv.c: New.
985 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
986 * manual/startup.texi (Environment Access): Document
987 secure_getenv.
84b3fd84
FW
988 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
989 __libc_secure_getenv.
990 * inet/ruserpass.c (ruserpass): Likewise.
991 * malloc/mtrace.c (mtrace): Likewise.
992 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 993 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
994 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
995 * sysdeps/posix/tempname.c: Likewise. Evaluate
996 HAVE_SECURE_GETENV.
997 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 998 __secure_getenv to __libc_secure_getenv.
84b3fd84 999 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1001 Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1003 Likewise.
1004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1006 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1011
56e49b71
JM
10122012-07-25 Joseph Myers <joseph@codesourcery.com>
1013
1014 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1015 (struct La_i86_retval): Likewise.
1016 (struct La_x86_64_regs): Likewise.
1017 (struct La_x86_64_retval): Likewise.
1018 (struct La_x32_regs): Likewise.
1019 (struct La_x32_retval): Likewise.
1020 (struct La_ppc32_regs): Likewise.
1021 (struct La_ppc32_retval): Likewise.
1022 (struct La_ppc64_regs): Likewise.
1023 (struct La_ppc64_retval): Likewise.
1024 (struct La_sh_regs): Likewise.
1025 (struct La_sh_retval): Likewise.
1026 (struct La_s390_32_regs): Likewise.
1027 (struct La_s390_32_retval): Likewise.
1028 (struct La_s390_64_regs): Likewise.
1029 (struct La_s390_64_retval): Likewise.
1030 (struct La_sparc32_regs): Likewise.
1031 (struct La_sparc32_retval): Likewise.
1032 (struct La_sparc64_regs): Likewise.
1033 (struct La_sparc64_retval): Likewise.
1034 (struct audit_ifaces): Remove architecture-specific pltenter and
1035 pltexit members.
1036 * sysdeps/i386/ldsodefs.h: New file.
1037 * sysdeps/powerpc/ldsodefs.h: Likewise.
1038 * sysdeps/s390/ldsodefs.h: Likewise.
1039 * sysdeps/sh/ldsodefs.h: Likewise.
1040 * sysdeps/sparc/ldsodefs.h: Likewise.
1041 * sysdeps/x86_64/ldsodefs.h: Likewise.
1042
354691b7
MP
10432012-07-25 Marek Polacek <polacek@redhat.com>
1044
1045 [BZ #6808]
1046 * math/libm-test.inc (yn_test): Add another test.
1047 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1048 to ERANGE when the result is +-Inf.
1049 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1050 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1051 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1052 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1053
bf9e2071
JM
10542012-07-24 Joseph Myers <joseph@codesourcery.com>
1055
1056 * conform/data/time.h-data (NULL): Use macro-constant. Require
1057 equal to 0.
1058 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1059 clock_t.
1060 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1061
57633811
TS
10622012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1063
1064 * configure.in <sysdeps resolving>: Correct printing
1065 Implies_before.
1066 * configure: Regenerate.
1067
c23c33b0
TS
10682012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1069
1070 * math/w_ilogb.c: Include <limits.h>.
1071 * math/w_ilogbl.c: Likewise.
1072
b5982523
JM
10732012-07-20 Joseph Myers <joseph@codesourcery.com>
1074
1075 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1076 va_copy. Document allowing for unavailable va_copy only as
1077 pre-C99 compatibility.
1078 * manual/string.texi (Copying and Concatenation): Use va_copy
1079 instead of __va_copy in concat example.
1080
ac4ea442
PT
10812012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1082
1083 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1084 (__sendto): Use create_address_port. Initialize APORT and deallocate
1085 it if not null.
1086
f98eafbd
PT
1087 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1088 with O_NOLINK passed to __file_name_lookup.
1089
898c7aab
PT
1090 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1091 with O_NOLINK passed to __file_name_lookup.
1092
0ced335a
PT
1093 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1094 negative N or less than NGIDS.
1095
b3404dbd
PT
1096 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1097 type to string_t. Set ERANGE as errno and return it if NAME is not big
1098 enough. Use memcpy instead of strncpy.
1099
0f48659e
JM
11002012-07-20 Joseph Myers <joseph@codesourcery.com>
1101
1102 * elf/Makefile (check-data): Remove.
1103 (localplt.data): New vpath directive.
1104 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1105 instead of $(check-data).
1106 * scripts/data/localplt-generic.data: Move to ...
1107 * sysdeps/generic/localplt.data: ... here.
1108 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1109 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1110 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1112 ... here.
1113 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1115 ... here.
1116 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1118 ... here.
1119 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1121 ... here.
1122 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1124 ... here.
1125 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1127 ... here.
1128
d37cbdaa
AZ
11292012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1130
1131 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1132 PPC32 and PPC64 files.
1133 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1134 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1135
46f85fc2
AK
11362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1137
1138 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1139 __makecontext_ret to ...
1140 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1141 ... here and call exit if uc_link is NULL. New file.
1142 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1143 __makecontext_ret.S.
1144 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1145 __makecontext_ret to ...
1146 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1147 ... here and call exit if uc_link is NULL. New file.
1148 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1149 __makecontext_ret.S.
1150
08f43f9b
AK
11512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1152
1153 * elf/elf.h (R_390_IRELATIVE): New definition.
1154 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1155 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1156 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1157 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1158 (elf_machine_lazy_rel): Likewise.
1159 * sysdeps/s390/dl-irel.h: New file.
1160 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1161 * sysdeps/s390/s390-64/memset.S: New asm code.
1162 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1163 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1164 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1165 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1166 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1167 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1168 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1169 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1170 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1171 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1172 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1173 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1174 * sysdeps/s390/s390-32/memset.S: New asm code.
1175 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1176
3b05db33
MP
11772012-07-17 Marek Polacek <polacek@redhat.com>
1178
1179 [BZ #14349]
1180 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1181 * sysdeps/s390/s390-64/configure.in: Likewise.
1182 * sysdeps/sparc/configure.in: Likewise.
1183 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1184 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1185 * sysdeps/i386/configure.in: Likewise.
1186 * sysdeps/x86_64/configure.in: Likewise.
1187 * sysdeps/sh/configure.in: Likewise.
1188 * sysdeps/s390/s390-32/configure: Regenerated.
1189 * sysdeps/s390/s390-64/configure: Likewise.
1190 * sysdeps/x86_64/configure: Likewise.
1191 * sysdeps/sh/configure: Likewise.
1192 * sysdeps/powerpc/powerpc64/configure: Likewise.
1193 * sysdeps/powerpc/powerpc32/configure: Likewise.
1194 * sysdeps/sparc/configure: Likwise.
1195 * sysdeps/i386/configure: Likewise.
1196
a66877c6
MP
1197 * elf/dl-open.c: Comment fixes.
1198
cfc82fd8
JM
11992012-07-17 Joseph Myers <joseph@codesourcery.com>
1200
bd29910a
JM
1201 * Makefile [CXX] (check-data): Remove.
1202 [CXX] (c++-types.data): New vpath directive.
1203 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1204 vpath. Do not allow for C++ type data being missing.
1205 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1206 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1207 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1208 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1209 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1210 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1211 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1213 ... here.
1214 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1216 ... here.
1217 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1219 ... here.
1220 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1222 ... here.
1223 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1225 ... here.
1226 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1228 ... here.
1229 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1231 ... here.
1232 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1234
cfc82fd8
JM
1235 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1236 definitions to architecture-specific files.
1237 (TLS_IE): Likewise.
1238 (TLS_LD): Likewise.
1239 (TLS_GD): Likewise.
1240 * sysdeps/i386/tls-macros.h: New file.
1241 * sysdeps/powerpc/tls-macros.h: Likewise.
1242 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1243 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1244 * sysdeps/sh/tls-macros.h: Likewise.
1245 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1246 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1247 * sysdeps/x86_64/tls-macros.h: Likewise.
1248
f7db3170
TS
12492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1250
07cbfc23
TS
1251 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1252 zero value for regular exit case.
1253
f7db3170
TS
1254 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1255 (__start_context): Preserve zero value for regular exit case.
1256
dc97c227
TS
12572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1258 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1259
1260 * manual/setjmp.texi (setcontext): Clarify normal process
1261 termination when uc_link is the null pointer.
1262 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1263 exit call.
1264
d0cd7d02
AS
12652012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1266
1267 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1268 preprocessor. Test for each exception mask separately.
1269
dd318934
AJ
12702012-07-16 Andreas Jaeger <aj@suse.de>
1271
1272 * po/ru.po: Update from translation team.
1273
8048311a
JM
12742012-07-15 Joseph Myers <joseph@codesourcery.com>
1275
1276 * conform/data/string.h-data (NULL): Use macro-constant. Require
1277 equal to 0.
1278 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1279 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1280 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1281 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1282 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1283
b637d46e
AJ
12842012-07-13 Andreas Jaeger <aj@suse.de>
1285
1286 * po/fr.po: Update from translation team.
1287
541428fe
MP
12882012-07-12 Marek Polacek <polacek@redhat.com>
1289
1290 [BZ #14173]
1291 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1292 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1293 loop condition.
1294
ec332e94
JM
12952012-07-12 Joseph Myers <joseph@codesourcery.com>
1296
1297 [BZ #13717]
1298 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1299 Change to 2.4.1 where previously 2.4.0.
1300 * sysdeps/unix/sysv/linux/configure: Regenerated.
1301 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1302 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1303 version.
1304 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1305 (__ASSUME_AT_CLKTCK): Remove.
1306 (__ASSUME_AT_PAGESIZE): Likewise.
1307 (__ASSUME_AT_XID): Likewise.
1308 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1309 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1310 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1311 unconditionally.
1312 (HAVE_AUX_PAGESIZE): Likewise.
1313 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1314 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1315 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1316
7b6e99be
JB
13172012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1318
1319 [BZ #14307]
1320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1321 the temporary buffer used to invoke __gethostbyname2_r,
1322 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1323 host_data / struct gaih_addrtuple.
1324 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1325 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1326 header file nss/nsswitch.h.
1327 * nss/nsswitch.h (global scope): Add definition of implementation
1328 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1329 resolv/nss_dns/dns-host.c).
1330
608404eb
AJ
13312012-07-11 Andreas Jaeger <aj@suse.de>
1332
1333 * po/fr.po: Update from translation team.
1334
71220aca
AJ
1335 * po/sv.po: Update from translation team
1336 * po/fr.po: Another update from translation team.
1337
28cfe843
AZ
13382012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1339
1340 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1341 for subnormals or multiply small sinh result by itself.
1342 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1344
6b90f981
DM
13452012-07-11 David S. Miller <davem@davemloft.net>
1346
1347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1348
c6825772
AS
13492012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1350
1351 [BZ #14347]
1352 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1353 (INTERNAL_MARK): Shift it here.
1354
7b8e0d49
MP
13552012-07-10 Marek Polacek <polacek@redhat.com>
1356
1357 [BZ #14151]
1358 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1359 libc_cv_asm_global_directive with .globl.
1360 * configure: Regenerated.
1361 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1362 with .globl.
1363 * sysdeps/i386/configure: Regenerated.
1364 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1365 with .globl.
1366 * sysdeps/x86_64/configure: Regenerated.
1367 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1368 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1369 * elf/tst-unique2mod2.c: Likewise.
1370 * elf/tst-unique2mod1.c: Likewise.
1371 * elf/tst-unique1mod2.c: Likewise.
1372 * elf/tst-unique1mod1.c: Likewise.
1373 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1374 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1375 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1376 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1377 * sysdeps/mach/sysdep.h: Likewise.
1378 * sysdeps/i386/sysdep.h: Likewise.
1379 * sysdeps/i386/i386-mcount.S: Likewise.
1380 * sysdeps/x86_64/_mcount.S: Likewise.
1381 * sysdeps/x86_64/sysdep.h: Likewise.
1382 * sysdeps/sh/_mcount.S: Likewise.
1383 * sysdeps/sh/sysdep.h: Likewise.
1384 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1385 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1386 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1387 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1388 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1389 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1390 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1391 * locale/localeinfo.h: Likewise.
1392 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1393 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1394
6c55cda3
RM
13952012-07-09 Roland McGrath <roland@hack.frob.com>
1396
1397 [BZ #14336]
1398 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1399 system".
1400 * manual/message.texi (The Uniforum approach): Likewise.
1401 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1402 (glibc iconv Implementation): Likewise.
1403
638a572e
JM
14042012-07-09 Joseph Myers <joseph@codesourcery.com>
1405
1406 [BZ #14337]
1407 * math/s_clog.c (__clog): Avoid scaling a value down where that
1408 could result in underflow.
1409 * math/s_clog10.c (__clog10): Likewise.
1410 * math/s_clog10f.c (__clog10f): Likewise.
1411 * math/s_clog10l.c (__clog10l): Likewise.
1412 * math/s_clogf.c (__clogf): Likewise.
1413 * math/s_clogl.c (__clogl): Likewise.
1414 * math/libm-test.inc (clog_test): Add more tests.
1415 (clog10_test): Likewise.
1416 * sysdeps/i386/fpu/libm-test-ulps: Update.
1417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1418
261f4859
AS
14192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1420
0abaf3e4
AS
1421 [BZ #14283]
1422 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1423 by 7 not 8 to examine high bit of fractional part.
1424
261f4859
AS
1425 [BZ #14042]
1426 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1427 for call to __mcount_internal.
1428 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1429 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1430 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1431
f17ac40d
JM
14322012-07-06 Joseph Myers <joseph@codesourcery.com>
1433
9ad63c23
JM
1434 [BZ #14154]
1435 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1436 approximation for values within 0x1p-13f of an odd multiple of
1437 pi/4.
1438 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1439 exception. Add more tests.
1440 * sysdeps/i386/fpu/libm-test-ulps: Update.
1441
f17ac40d
JM
1442 [BZ #6778]
1443 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1444 inputs and return -1 for them. Do not check for +Inf in case not
1445 reachable for +Inf.
1446 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1447 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1448 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1449 and return -1 for them. Do not check for +Inf in case not
1450 reachable for +Inf.
1451 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1452 define.
1453 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1454 and return -1 for them. Do not check for +Inf in case not
1455 reachable for +Inf.
1456 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1457 spurious underflow.
1458 * sysdeps/i386/fpu/libm-test-ulps: Update.
1459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1460
fb21f89b
MF
14612012-07-06 Mike Frysinger <vapier@gentoo.org>
1462
1463 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1464
cdfe2c5e
JM
14652012-07-05 Joseph Myers <joseph@codesourcery.com>
1466
1467 [BZ #14157]
1468 [BZ #14331]
1469 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1470 could result in spurious underflow. Scale down values above
1471 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1472 * math/s_csqrtf.c (__csqrtf): Likewise.
1473 * math/s_csqrtl.c (__csqrtl): Likewise.
1474 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1475 spurious underflow.
1476 * sysdeps/i386/fpu/libm-test-ulps: Update.
1477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1478
70d35b67
AS
14792012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1480
704bc459
AS
1481 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1482 xopen-msg.sed.
1483 * catgets/xopen-msg.awk: New file.
1484 * catgets/xopen-msg.sed: Removed.
1485
70d35b67
AS
1486 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1487 po2text.sed.
1488 * intl/po2test.awk: New file.
1489 * intl/po2test.sed: Removed.
1490
ca61cf32
JM
14912012-07-04 Joseph Myers <joseph@codesourcery.com>
1492
1493 [BZ #14328]
1494 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1495 or multiply small sinh result by itself.
1496 * math/s_ctanf.c (__ctanf): Likewise.
1497 * math/s_ctanh.c (__ctanh): Likewise.
1498 * math/s_ctanhf.c (__ctanhf): Likewise.
1499 * math/s_ctanhl.c (__ctanhl): Likewise.
1500 * math/s_ctanl.c (__ctanl): Likewise.
1501 * math/libm-test.inc (ctan_test_tonearest): New function.
1502 (ctan_test_towardzero): Likewise.
1503 (ctan_test_downward): Likewise.
1504 (ctan_test_upward): Likewise.
1505 (ctanh_test_tonearest): Likewise.
1506 (ctanh_test_towardzero): Likewise.
1507 (ctanh_test_downward): Likewise.
1508 (ctanh_test_upward): Likewise.
1509 (main): Call these new functions.
1510 * sysdeps/i386/fpu/libm-test-ulps: Update.
1511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1512
ca48a46a
MF
15132012-07-03 Mike Frysinger <vapier@gentoo.org>
1514
1515 * .gitignore: Delete /ports entry.
1516
9d63d37d
AJ
15172012-07-03 Andreas Jaeger <aj@suse.de>
1518
1519 * po/bg.po: Update from translation team.
1520 * po/cs.po: Likewise.
1521 * po/de.po: Likewise.
1522 * po/hr.po: Likewise.
1523 * po/nl.pl: Likewise.
1524 * po/pl.po: Likewise.
1525 * po/vi.po: Likewise.
1526
370ca3d2
JM
15272012-07-03 Joseph Myers <joseph@codesourcery.com>
1528
95f5a9a8
JM
1529 * Makeconfig [!+link] (+link-before-libc): New variable.
1530 [!+link] (+link-after-libc): Likewise.
1531 [!+link] (+link-tests): Likewise.
1532 [!+link] (+link): Define in terms of $(+link-before-libc) and
1533 $(+link-after-libc).
1534 [!+link-static] (+link-static-before-libc): New variable.
1535 [!+link-static] (+link-static-after-libc): Likewise.
1536 [!+link-static] (+link-static-tests): Likewise.
1537 [!+link-static] (+link-static): Define in terms of
1538 $(+link-static-before-libc) and $(+link-static-after-libc).
1539 [build-shared] (link-libc-before-gnulib): New variable.
1540 [build-shared] (link-libc-tests): Likewise.
1541 [build-shared] (link-libc): Define in terms of
1542 $(link-libc-before-gnulib).
1543 [!build-shared] (link-libc-tests): New variable.
1544 (link-libc-static-tests): New variable.
1545 [!gnulib] (gnulib-arch): New variable.
1546 [!gnulib] (gnulib-tests): Likewise.
1547 [!gnulib] (static-gnulib-arch): Likewise.
1548 [!gnulib] (static-gnulib-tests): Likewise.
1549 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1550 Define with "=" instead of ":=".
1551 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1552 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1553 * Rules (binaries-all-notests): New variable.
1554 (binaries-all-tests): Likewise.
1555 (binaries-static-notests): Likewise.
1556 (binaries-static-tests): Likewise.
1557 (binaries-all): Define using $(binaries-all-notests) and
1558 $(binaries-all-tests).
1559 (binaries-static): Define using $(binaries-static-notests) and
1560 $(binaries-static-tests).
1561 (binaries-shared-tests): New variable.
1562 (binaries-shared-notests): Likewise.
1563 (binaries-shared): Remove variable.
1564 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1565 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1566 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1567 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1568 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1569 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1570 * elf/Makefile (sln-modules): New variable.
1571 (extra-objs): Add $(sln-modules:=.o).
1572 (ldconfig-modules): Add static-stubs.
1573 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1574 * elf/static-stubs.c: New file.
1575
7a845b2c
JM
1576 [BZ #14283]
1577 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1578 by 7 not 8 to examine high bit of fractional part. Use volatile
1579 variables when splitting into final array of floats if
1580 __FLT_EVAL_METHOD__ != 0.
1581 * math/libm-test.inc (cos_test): Add another test.
1582 (sin_test): Likewise.
1583 * sysdeps/i386/fpu/libm-test-ulps: Update.
1584
e2283f38
JM
1585 [BZ #14273]
1586 * math/libm-test.inc (cosh_test): Add more tests.
1587
370ca3d2
JM
1588 * version.h (RELEASE): Set to "development".
1589 (VERSION): Set to "2.16.90".
1590
ee9247c3
CD
15912012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1592
1593 * NEWS: Update copyright. Remove last-updated date.
1594 Mention math library bug fixes and timezone data changes.
1595 * README: Mention GNU/Hurd, x32, and HPPA support status.
1596
4648c381
TS
15972012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1598
1599 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1600
aac78a43
AJ
16012012-06-27 Andreas Jaeger <aj@suse.de>
1602
1603 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1604
ed3dbfad
AJ
16052012-06-25 Andreas Jaeger <aj@suse.de>
1606
1607 * sysdeps/s390/fpu/libm-test-ulps: Update.
1608
4d0ee855
AS
16092012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1610 Thomas Schwinge <thomas@codesourcery.com>
1611
1612 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1613 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1614 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1615 fanotify_mark.
1616
af1bce34
TS
16172012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1618
a9fa33ba
TS
1619 * sysdeps/mach/start.c: Remove file.
1620 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1621 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1622 * sysdeps/sh/init-first.c: Likewise.
1623
58f902b8
TS
1624 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1625 registers for frame unwinding purposes, add CFI directives.
1626 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1627 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1628 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1629 Likewise.
1630
1518f58b
TS
1631 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1632 __fortify_fail returning.
1633 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1634
db9b5059
TS
1635 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1636 sysdeps/sh/____longjmp_chk.S.
1637 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1638 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1639 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1640 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1641
967705fe
TS
1642 * sysdeps/sh/abort-instr.h: New file.
1643 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1644 process in case exit returns.
1645
a9def8c4
TS
1646 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1647 initialize the GOT register before use.
1648
2a649725
TS
1649 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1650 calculation of ARGC > 4.
1651
af1bce34
TS
1652 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1653 meaningful names to some local labels.
1654
d230f50a
KK
16552012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1656 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1657
1658 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1659 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1660 (__arch_compare_and_exchange_val_16_acq): Likewise.
1661 (__arch_compare_and_exchange_val_32_acq): Likewise.
1662 (atomic_exchange_and_add): Fix gUSA sequence.
1663 (atomic_add): Likewise.
1664 (atomic_add_negative): Likewise.
1665 (atomic_add_zero): Likewise.
1666 (atomic_bit_test_set): Likewise.
1667
0479b305
AS
16682012-06-22 Andreas Schwab <schwab@redhat.com>
1669
1670 [BZ #13579]
1671 * include/link.h (struct link_map): Add l_free_initfini.
1672 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1673 l_initfini.
1674 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1675 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1676 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1677 set.
1678
0e3933b9
CD
16792012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1680
1681 * configure.in: Use AC_LANG_SOURCE.
1682 * configure: Regenerate.
1683
4248b1b1
RM
16842012-06-22 Roland McGrath <roland@hack.frob.com>
1685
1686 * configure.in (libc_cv_localstatedir): New substituted variable.
1687 * configure: Regenerated.
1688 * config.make.in (localstatedir): New variable, substituted from
1689 libc_cv_localstatedir.
1690 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1691 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1692 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1693 * sysdeps/gnu/configure: Regenerated.
1694
006dd861
JL
16952012-06-21 Jeff Law <law@redhat.com>
1696
1697 [BZ #14277]
1698 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1699 free. Simplify list management for _LIBC case.
1700
79662d42
JM
17012012-06-21 Joseph Myers <joseph@codesourcery.com>
1702
b7abb4bf
JM
1703 [BZ #14273]
1704 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1705 Clear sign bit of 64-bit integer value before comparing against
1706 overflow value.
1707
79662d42
JM
1708 * sysdeps/mach/configure: Regenerated.
1709
1f150908
L
17102012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1711
1712 [BZ #14278]
1713 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1714
28363bbf
JL
17152012-06-21 Jeff Law <law@redhat.com>
1716
1717 [BZ #13882]
1718 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1719 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1720 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1721 * elf/dl-open.c (dl_open_worker): Likewise.
1722
09615db4
CD
17232012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1724
1725 * scripts/list-sources.sh: Scan PORTS for translations.
1726 * po/libc.pot: Regenerated.
1727
2174c6dd
AJ
17282012-06-21 Andreas Jaeger <aj@suse.de>
1729
1730 [BZ #12194]
1731 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1732 warning.
1733 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1734 * bits/byteswap-16.h (__bswap_16): Likewise.
1735 * bits/byteswap.h (__bswap_constant_16): Likewise.
1736
3ee947b1
L
17372012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1738
1739 [BZ #14117]
a2f34833
L
1740 * sysdeps/i386/fpu_control.h: Removed.
1741 * sysdeps/x86_64/fpu_control.h: Moved to ...
1742 * sysdeps/x86/fpu_control.h: Here.
1743
3ee947b1
L
1744 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1745 (_FPU_SETCW): Likewise.
1746
ed1825f8
L
17472012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1748
25f1282a
L
1749 [BZ #14117]
1750 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1751 * sysdeps/x86/fpu/bits/mathinline.h: This.
1752 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1753
ed1825f8
L
1754 [BZ #14050]
1755 [BZ #14117]
1756 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1757 functions if __x86_64__ is defined.
1758
36d54b74
CLT
17592012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1760
1761 * string/endian.h: Add !__ASSEMBLER__ condition for including
1762 conversion interfaces.
1763
10285c21
JM
17642012-06-15 Joseph Myers <joseph@codesourcery.com>
1765
1766 [BZ #14241]
1767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1768 of ABS(x) in calculating zero to negative powers other than odd
1769 integers.
1770 * math/libm-test.inc (pow_test): Add more tests.
1771
06c5abbd
AJ
17722012-06-15 Andreas Jaeger <aj@suse.de>
1773
1774 * manual/contrib.texi (Contributors): Update entry of Liubov
1775 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1776 Machado Filho.
1777
a3aeac40
CH
17782012-06-15 Cyril Hrubis <metan@ucw.cz>
1779
1780 * string/string.h: Add __wur to GNU version of strerror_r.
1781
49bdf4c1
L
17822012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1783
1784 [BZ #14229]
1785 * string/Makefile (tests): Add tst-strtok_r.
1786 * string/tst-strtok_r.c: New file.
1787 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1788 RAX_LP/RDX_LP on SAVE_PTR.
1789
834f9b8d
RM
17902012-06-14 Roland McGrath <roland@hack.frob.com>
1791
1792 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1793
75fa1921
JM
17942012-06-14 Joseph Myers <joseph@codesourcery.com>
1795
1796 * libm_test.inc (csqrt_test): Allow more spurious underflow
1797 exceptions.
1798 (j0_test): Likewise.
1799 (j1_test): Likewise.
1800 (y0_test): Likewise.
1801 (y1_test): Likewise.
1802
771766df
CD
18032012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1804
1805 * po/Makefile (libc.pot): Use UTF-8 charset.
1806
ceb9e56b
PP
18072012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1808
1809 [BZ #14210]
1810 Suppress sign-conversion warning from FD_SET.
1811 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1812 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1813 not unsigned long int.
1814 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1815
ddb28975
L
18162012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1817
1818 [BZ #14050]
1819 [BZ #14117]
1820 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1821 __extern_always_inline instead of __extern_inline.
1822 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1823 (__signbit): Likewise.
1824 (__signbitl): Support C++ namespace.
1825 (lrintf): New inline function.
1826 (lrint): Likewise.
1827 (llrintf): Likewise.
1828 (llrint): Likewise.
1829 (fmaxf): Likewise.
1830 (fmax): Likewise.
1831 (fminf): Likewise.
1832 (fmin): Likewise.
1833 (rint): Likewise.
1834 (rintf): Likewise.
1835 (ceil): Likewise.
1836 (ceilf): Likewise.
1837 (floor): Likewise.
1838 (floorf): Likewise.
1839 (nearbyint): Likewise.
1840 (nearbyintf): Likewise.
1841
d7b4fb26
TS
18422012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1843
1844 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1845 non-default versions.
1846
eb55f5c2
RM
18472012-06-11 Roland McGrath <roland@hack.frob.com>
1848
1849 [BZ #14218]
1850 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1851
366af02c
TS
18522012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1853
99ff6e5c
TS
1854 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1855 (FE_UPWARD, FE_DOWNWARD): Don't define.
1856 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1857 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1858
366af02c
TS
1859 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1860 reading it.
1861 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1862 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1863
793ea851
KK
18642012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1865
1866 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1867 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1868 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1869 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1870
a728a38f
L
18712012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1872
1873 [BZ #14117]
c08010c7
L
1874 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1875 * sysdeps/i386/fpu/Implies: New file.
1876 * sysdeps/x86_64/fpu/Implies: Likewise.
1877 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1878 * sysdeps/x86/fpu/bits/fenv.h: This.
1879
a728a38f
L
1880 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1881 __SSE_MATH__.
1882
6e230d11
SP
18832012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1884
1885 [BZ #14134]
1886 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1887 character 0xffff that matches the last element of the
1888 conversion table.
1889
1b671feb
AZ
18902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1891
1892 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1893 fmodl commit.
1894
6043738b
AZ
18952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1896
1897 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1898 values higher than 25.6283.
1899
34ae0b32
AZ
19002012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1901
1902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1903 subnormal exponent extraction and add some __builtin_expect.
1904 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1905 Fix for subnormal mantissa calculation.
1906
1214ec8f
MF
19072012-06-04 Mike Frysinger <vapier@gentoo.org>
1908
1909 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1910 cpu2 is -1 and errno is not ENOSYS.
1911
f3d1f93c
L
19122012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1913
1914 [BZ #14117]
0e4a3cd7
L
1915 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1916 * sysdeps/x86/bits/string.h: This.
1917 * sysdeps/x86_64/bits/string.h: Removed.
1918
6704c645
L
1919 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1920 if not compiling for x86-64, but compiling for >= i486.
1921
48495318
L
1922 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1923 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1924
14adcbfc
L
1925 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1926 New macro from Linux kernel 3.4.0.
1927 (FP_XSTATE_MAGIC2): Likewise.
1928 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1929 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1930 (struct _fpx_sw_bytes): New struct.
1931 (struct _xsave_hdr): Likewise.
1932 (struct _ymmh_state): Likewise.
1933 (struct _xstate): Likewise.
1934
68e408ab
L
1935 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1936 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1937 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1938 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1939 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1940 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1941
f3d1f93c
L
1942 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1943 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1944 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1945 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1946 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1947 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1948
d9dc34cd
TMQMF
19492012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1950
1951 [BZ #13743]
1952 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1953 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1954 (sysdep_headers): Include sys/platform/ppc.h.
1955 * sysdeps/powerpc/test-gettimebase.c: Test for
1956 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1957 * manual/Makefile (appendices): Include platform.texi.
1958 * manual/contrib.texi (Contributors): Update @node pointers.
1959 * manual/maint.texi (Maintenance): Likewise.
1960 (Platform): New node.
1961 * manual/platform.texi: New file. Document the new features.
1962
4af3879c
SP
19632012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1964 Jakub Jelinek <jakub@redhat.com>
1965
1966 [BZ #14188]
1967 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1968 where __builtin_expect is unavailable.
1969
2fd6ff13
DM
19702012-06-03 David S. Miller <davem@davemloft.net>
1971
1972 * stdlib/longlong.h: Updated from GCC.
1973
173f7220
AS
19742012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1975
1976 [BZ #14042]
1977 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1978 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1979 __mcount_internal.
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1981 (GLIBC_2.16): Likewise.
1982
f34a1c6f
L
19832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1984
1985 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1986
88a4576f
JM
19872012-06-01 Joseph Myers <joseph@codesourcery.com>
1988
ea32bcdd
JM
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1990 (default-abi): New variable.
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1992 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1993 variable.
1994 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1995 Likewise.
1996 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1997 Likewise.
1998 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1999 Likewise.
2000
88a4576f
JM
2001 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2002 definition. Document in comment.
2003
402fe938
DM
20042012-06-01 David S. Miller <davem@davemloft.net>
2005
2006 * stdlib/longlong.h: Updated from GCC.
2007
3553723f
L
20082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2009
2010 [BZ #14117]
3bd872c4
L
2011 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2012 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2013 sys/debugreg.h sys/io.h here.
2014 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2015 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2016 sys/io.h.
2017 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2018 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2019 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2020 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2021 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2022 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2023
3553723f
L
2024 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2025 Define only if __x86_64__ is defined.
2026
4842e4fe
JM
20272012-06-01 Joseph Myers <joseph@codesourcery.com>
2028
c5bfe3d5
JM
2029 [BZ #14048]
2030 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2031 Use int64_t for variable i.
2032 * math/libm-test.inc (fmod_test): Add more tests.
2033
4842e4fe
JM
2034 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2035 z computation is not scheduled after fetestexcept.
2036 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2037 Use math_force_eval instead of asm to ensure calculation scheduled
2038 before exception test.
2039 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2040 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2041
efb73488
AJ
20422012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2043
2044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2045 computation is not scheduled after fetestexcept.
2046
29bcce7c
L
20472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 [BZ #14117]
2050 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2051 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2052
73a68f94
AZ
20532012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2054
2055 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2056 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2057
67b6df78
L
20582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2059
edf2933a 2060 [BZ #14117]
ebc64a18
L
2061 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2062 <bits/wordsize.h>.
2063 (__WCHAR_MIN): Support __WORDSIZE == 64.
2064 (__WCHAR_MAX): Likewise.
2065
edf2933a
L
2066 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2067 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2068
57c6cf40
L
2069 [BZ #14183]
2070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2071 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2072
67b6df78 2073 [BZ #14117]
8eb6281e
L
2074 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2075 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2076
aac639f4
L
2077 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2078 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2079
67b6df78
L
2080 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2081 Defined to 1 if __x86_64__ isn't defined.
2082 (_STAT_VER_LINUX_OLD): New.
2083 (st_atime): Remove duplicate.
2084 (st_mtime): Likewise.
2085 (st_ctime): Likewise.
2086
1c2cfe81
DM
20872012-05-31 David S. Miller <davem@davemloft.net>
2088
2089 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2090 entries.
2091
5be8418c
AS
20922012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2093
e7725326
AS
2094 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2095 gen-libm-test.pl.
2096
5be8418c
AS
2097 [BZ #14132]
2098 * elf/dl-reloc.c: Include <_itoa.h>.
2099 (_dl_reloc_bad_type): Remove use of INTUSE.
2100 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2101 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2102 * stdio-common/psiginfo.c (psiginfo): Likewise.
2103 * stdio-common/psignal.c (psignal): Likewise.
2104 * string/strsignal.c (strsignal): Likewise.
2105 * include/signal.h (_sys_siglist): Declare hidden proto.
2106 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2107 INTVARDEF with libc_hidden_data_def.
2108 * stdio-common/itoa-udigits.c: Likewise.
2109 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2110 (_itoa_lower_digits_internal): Remove declaration.
2111 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2112 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2113 (_sys_sigabbrev_internal): Remove aliases.
2114 (_sys_siglist): Define hidden alias.
2115
507352f1
MT
21162012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2117
2118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2119 bits/sysctl.h.
2120
42bbb1c3
L
21212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2122
2123 [BZ #14117]
6bd784b6
L
2124 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2125 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2126
8bca20f0
L
2127 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2128 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2129 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2130 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2131 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2132 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2133
f9e890a9
L
2134 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2135 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2136 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2137
471101a1
L
2138 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2139 with __addr.
2140 (insw): Likewise.
2141 (insl): Likewise.
2142 (outsb): Likewise.
2143 (outsw): Likewise.
2144 (outsl): Likewise.
2145
6451c862
L
2146 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2147 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2148 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2149
a254b8c9
L
2150 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2151 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2152 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2153 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2154 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2155 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2156
b8dfdd92
L
2157 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2158 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2159
578cd270
L
2160 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2161 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2162
de662f5f
L
2163 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2164 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2165 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2166
25653439
L
2167 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2168 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2169 to ...
2170 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2171
6bad24a0
L
2172 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2173 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2174 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2175
42bbb1c3
L
2176 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2177 for x86-64.
2178 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2179
2d10d547
JM
21802012-05-31 Joseph Myers <joseph@codesourcery.com>
2181
2182 * math/math.h (M_El): Use two more decimal places.
2183 (M_LOG2El): Likewise.
2184 (M_LOG10El): Likewise.
2185 (M_LN2l): Likewise.
2186 (M_LN10l): Likewise.
2187 (M_PIl): Likewise.
2188 (M_PI_2l): Likewise.
2189 (M_PI_4l): Likewise.
2190 (M_1_PIl): Likewise.
2191 (M_2_PIl): Likewise.
2192 (M_2_SQRTPIl): Likewise.
2193 (M_SQRT2l): Likewise.
2194 (M_SQRT1_2l): Likewise.
2195
f230c29b
DM
21962012-05-31 David S. Miller <davem@davemloft.net>
2197
2198 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2199 values between float registers.
2200 * sysdeps/sparc/sparc64/memset.S: Likewise.
2201 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2202
fed806c3
MF
22032012-05-31 Mike Frysinger <vapier@gentoo.org>
2204
2205 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2206 -D_FORTIFY_SOURCE=1.
2207 (CPPFLAGS-tst-longjmp_chk.c): Define.
2208 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2209 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2210 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2211 CFLAGS-tst-wchar-h.c.
2212
30917259
MP
22132012-05-31 Marek Polacek <polacek@redhat.com>
2214
2215 [BZ #14132]
2216 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2217 __endmntent_internal): Remove declaration.
2218 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2219 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2220 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2221
1c58d5dc
DM
22222012-05-30 David S. Miller <davem@davemloft.net>
2223
2224 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2225 (___Q_simulate_exceptions): Use real FP ops rather than writing
2226 into the %fsr.
2227 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2228 Likewise.
2229
7dc00e0d
L
22302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2231
2232 [BZ #14117]
0bd53985
L
2233 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2234 * sysdeps/x86/bits/xtitypes.h: This.
2235
3a257e66
L
2236 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2237 * sysdeps/x86/bits/wordsize.h: This.
2238
62f62904
L
2239 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2240 * sysdeps/x86/bits/huge_vall.h: This.
2241
404fe9d9
L
2242 * sysdeps/i386/bits/select.h: Removed.
2243 * sysdeps/x86_64/bits/select.h: Renamed to ...
2244 * sysdeps/x86/bits/select.h: This.
2245
d48d0446
L
2246 * sysdeps/i386/bits/setjmp.h: Removed.
2247 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2248 * sysdeps/x86/bits/setjmp.h: This.
2249
7dc00e0d
L
2250 * sysdeps/i386/bits/mathdef.h: Removed.
2251 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2252 * sysdeps/x86/bits/mathdef.h: This.
2253
03277f8f
AS
22542012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2255
2256 [BZ #14132]
2257 * include/sys/socket.h (__connect_internal)
2258 (__libc_sa_len_internal): Remove declaration.
2259 (__connect, __libc_sa_len): Declare hidden_proto.
2260 (SA_LEN): Remove use of INTUSE.
2261 * socket/connect.c: Add libc_hidden_def.
2262 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2263 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2264 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2265 alias.
2266 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2267 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2268 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2269 of adding _internal alias.
2270
13764867
L
22712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2272
2273 [BZ #14117]
6bd97696
L
2274 * sysdeps/i386/bits/link.h: Removed.
2275 * sysdeps/i386/bits/linkmap.h: Likewise.
2276 * sysdeps/x86_64/bits/link.h: Renamed to ...
2277 * sysdeps/x86/bits/link.h: This.
2278 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2279 * sysdeps/x86/bits/linkmap.h: This.
2280
f726f0bb
L
2281 * sysdeps/i386/bits/endian.h: Removed.
2282 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2283 * sysdeps/x86/bits/endian.h: This.
2284
13764867
L
2285 * sysdeps/i386/bits/byteswap.h: Removed.
2286 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2287 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2288 * sysdeps/x86/bits/byteswap.h: This.
2289 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2290 * sysdeps/x86/bits/byteswap-16.h: This.
2291 * sysdeps/i386/Implies: Add x86.
2292 * sysdeps/x86_64/Implies: Likewise.
2293
ae251b0b
DM
22942012-05-30 David S. Miller <davem@davemloft.net>
2295
2296 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2297 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2298 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2299 (FP_TRAPPING_EXCEPTIONS): Define.
2300 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2301 (FP_TRAPPING_EXCEPTIONS): Define.
2302 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2303 subnormals only when inexact has been signalled or underflow
2304 exceptions are enabled.
2305 (_FP_PACK_CANONICAL): Likewise.
2306
d5c90867
L
23072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2308
2309 [BZ #14183]
2310 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2311 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2312
63f1549e
RH
23132012-05-30 Richard Henderson <rth@twiddle.net>
2314
8d8f2279
RH
2315 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2316 with #ifndef NOT_IN_libc.
2317
63f1549e
RH
2318 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2319 marked to avoid plt entry.
2320
0ab0291b
L
23212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2322
2323 [BZ #14112]
2324 * Makeconfig (default-abi): New macro.
2325 (abi-includes): Likewise.
2326 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2327 $(abi-$(default-abi)-lib-soname) for soname if defined.
2328 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2329 abi-variants.
2330 * Makefile (installed-stubs): Likewise.
2331 * include/stubs-biarch.h: Removed.
2332 * scripts/lib-names.awk: Only handle one library at a time.
2333 * scripts/soversions.awk: Remove WORDSIZE support.
2334 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2335 entries.
2336 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2337 Removed.
2338 (syscall-list-default-condition): Likewise.
2339 (syscall-list-default-condition): Likewise.
2340 (syscall-list-includes): Likewise.
2341 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2342 syscall-list-* with abi-*. Handle undefined abi-variants.
2343 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2344 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2345 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2346 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2347 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2348 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2349 Removed.
2350 (syscall-list-32-options): Likewise.
2351 (syscall-list-32-condition): Likewise.
2352 (syscall-list-64-options): Likewise.
2353 (syscall-list-64-condition): Likewise.
2354 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2355 macro.
2356 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2357 Renamed to ...
2358 (abi-*): This.
2359 (abi-64-ld-soname): New macro.
2360 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2361 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2362 Renamed to ...
2363 (abi-*): This.
2364 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2365 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2366
4da0431d
JM
23672012-05-30 Joseph Myers <joseph@codesourcery.com>
2368
3a85279c
JM
2369 * sysdeps/unix/sysv/linux/kernel-features.h
2370 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2371 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2372 include <kernel-features.h>.
2373 [!__NR_ftruncate64]: Remove conditional code.
2374 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2375 [__NR_ftruncate64]: Make code unconditional.
2376 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2377 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2378 include <kernel-features.h>.
2379 [!__NR_ftruncate64]: Remove conditional code.
2380 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2381 [__NR_ftruncate64]: Make code unconditional.
2382 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2384 include <kernel-features.h>.
2385 [!__NR_ftruncate64]: Remove conditional code.
2386 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2387 [__NR_ftruncate64]: Make code unconditional.
2388 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2390 include <kernel-features.h>.
2391 [!__NR_ftruncate64]: Remove conditional code.
2392 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2393 [__NR_ftruncate64]: Make code unconditional.
2394 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2395
4da0431d
JM
2396 * configure.in (libc_cv_fpie): Weaken to a compile test using
2397 LIBC_TRY_CC_OPTION.
2398 * configure: Regenerated.
2399
11ef492c
AK
24002012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2401
2402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2406 Refreshed.
2407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2413 Refreshed.
2414
d66ef399
DM
24152012-05-27 David S. Miller <davem@davemloft.net>
2416
2417 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2418 (___Q_zero): New.
2419 (__Q_simulate_exceptions): Return void. Change to simulate
2420 exceptions by writing into the %fsr.
2421 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2422 (__Qp_handle_exceptions): Likewise.
2423 (numbers): Delete.
2424 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2425 __Qp_handle_exceptions.
2426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2427 __Qp_handle_exceptions.
2428 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2429 as unused and give dummy FP_RND_NEAREST initializer.
2430 (FP_INHIBIT_RESULTS): Define.
2431 (___Q_simulate_exceptions): Update declaration.
2432 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2433 formatting.
2434 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2435 as unused and give dummy FP_RND_NEAREST initializer.
2436 (__Qp_handle_exceptions): Update declaration.
2437 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2438 formatting.
2439
04fb54b5
TS
24402012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2441
2442 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2443 the temporary FPU control word.
2444 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2445 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2446 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2447 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2448 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2449 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2450 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2451 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2452 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2453 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2454 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2455
3f99608f
KK
24562012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2457
2458 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2459 fields.
2460
65a4de4e
CLT
24612012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2462
2463 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2464 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2465 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2466 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2467 Likewise.
2468 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2469 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2470 Likewise.
2471
15749d40
UD
24722012-05-27 Ulrich Drepper <drepper@gmail.com>
2473
2474 * po/h.po: Update from translation team.
2475
25dbcb27
AS
24762012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2477
3d3f8e55
AS
2478 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2479
25dbcb27
AS
2480 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2481 handling of denormals.
2482 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2483 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2484 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2485 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2486 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2489 Likewise.
2490
7ad47a80 24912012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2492
2493 [BZ #14152]
2494 * math/libm-test.inc (fma_test): Don't always expect underflow
2495 exception.
2496
9c6ea9fa
SP
24972012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2498
2499 [BZ #12416]
2500 * elf/tst-execstack.c: Include stackinfo.h.
2501 (do_test): Adjust test case to ensure that pthread_getattr_np
2502 behaviour remains the same after marking stack executable.
2503
a8239222
JM
25042012-05-25 Joseph Myers <joseph@codesourcery.com>
2505
2506 * sysdeps/unix/sysv/linux/kernel-features.h
2507 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2508 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2509 kernel-features.h.
2510 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2511 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2512 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2513 kernel-features.h.
2514 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2515 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2516
918b5606
L
25172012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2518
2519 * configure.in: Define the default includes to being none.
2520 * configure: Regenerated.
2521
3a097cc7
RM
25222012-05-25 Roland McGrath <roland@hack.frob.com>
2523
8422c9a5
RM
2524 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2525 * sysdeps/x86_64/setjmp.S: Likewise.
2526 * sysdeps/i386/bsd-setjmp.S: Likewise.
2527 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2528 * sysdeps/i386/setjmp.S: Likewise.
2529 * sysdeps/i386/__longjmp.S: Likewise.
2530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2531 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2532
3a097cc7
RM
2533 * include/stap-probe.h: New file.
2534 * configure.in: Handle --enable-systemtap.
2535 * configure: Regenerated.
2536 * config.h.in (USE_STAP_PROBE): New #undef.
2537 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2538 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2539 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2540
21708942
JM
25412012-05-25 Joseph Myers <joseph@codesourcery.com>
2542
2543 [BZ #13717]
2544 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2545 to 2.4.0 where earlier.
2546 * sysdeps/unix/sysv/linux/configure: Regenerated.
2547 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2548 <kernel-features.h>.
2549 [__ASSUME_32BITUIDS]: Make code unconditional.
2550 [!__ASSUME_32BITUIDS]: Remove conditional code.
2551 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2552 <kernel-features.h>.
2553 [__ASSUME_32BITUIDS]: Make code unconditional.
2554 [!__ASSUME_32BITUIDS]: Remove conditional code.
2555 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2556 [__ASSUME_32BITUIDS]: Make code unconditional.
2557 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2558 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2559 <kernel-features.h>.
2560 [__ASSUME_32BITUIDS]: Make code unconditional.
2561 [!__ASSUME_32BITUIDS]: Remove conditional code.
2562 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2563 <kernel-features.h>.
2564 [__ASSUME_32BITUIDS]: Make code unconditional.
2565 [!__ASSUME_32BITUIDS]: Remove conditional code.
2566 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2567 <kernel-features.h>.
2568 [__ASSUME_32BITUIDS]: Make code unconditional.
2569 [!__ASSUME_32BITUIDS]: Remove conditional code.
2570 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2571 <kernel-features.h>.
2572 [__ASSUME_32BITUIDS]: Make code unconditional.
2573 [!__ASSUME_32BITUIDS]: Remove conditional code.
2574 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2575 <kernel-features.h>.
2576 [__ASSUME_32BITUIDS]: Make code unconditional.
2577 [!__ASSUME_32BITUIDS]: Remove conditional code.
2578 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2579 <kernel-features.h>.
2580 [__ASSUME_32BITUIDS]: Make code unconditional.
2581 [!__ASSUME_32BITUIDS]: Remove conditional code.
2582 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2583 <kernel-features.h>.
2584 [__ASSUME_32BITUIDS]: Make code unconditional.
2585 [!__ASSUME_32BITUIDS]: Remove conditional code.
2586 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2587 <kernel-features.h>.
2588 [__ASSUME_32BITUIDS]: Make code unconditional.
2589 [!__ASSUME_32BITUIDS]: Remove conditional code.
2590 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2591 <kernel-features.h>.
2592 [__ASSUME_32BITUIDS]: Make code unconditional.
2593 [!__ASSUME_32BITUIDS]: Remove conditional code.
2594 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2595 <kernel-features.h>.
2596 [__ASSUME_32BITUIDS]: Make code unconditional.
2597 [!__ASSUME_32BITUIDS]: Remove conditional code.
2598 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2599 <kernel-features.h>.
2600 [__NR_setresgid] (__setresgid): Do not declare.
2601 [__ASSUME_32BITUIDS]: Make code unconditional.
2602 [!__ASSUME_32BITUIDS]: Remove conditional code.
2603 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2604 <kernel-features.h>.
2605 [__NR_setresuid] (__setresuid): Do not declare.
2606 [__ASSUME_32BITUIDS]: Make code unconditional.
2607 [!__ASSUME_32BITUIDS]: Remove conditional code.
2608 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2609 <kernel-features.h>.
2610 [__ASSUME_32BITUIDS]: Make code unconditional.
2611 [!__ASSUME_32BITUIDS]: Remove conditional code.
2612 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2613 <kernel-features.h>.
2614 [__ASSUME_32BITUIDS]: Make code unconditional.
2615 [!__ASSUME_32BITUIDS]: Remove conditional code.
2616 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2617 <kernel-features.h>.
2618 [__ASSUME_32BITUIDS]: Make code unconditional.
2619 [!__ASSUME_32BITUIDS]: Remove conditional code.
2620 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2621 <kernel-features.h>.
2622 [__ASSUME_32BITUIDS]: Make code unconditional.
2623 [!__ASSUME_32BITUIDS]: Remove conditional code.
2624 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2625 <kernel-features.h>.
2626 [__ASSUME_32BITUIDS]: Make code unconditional.
2627 [!__ASSUME_32BITUIDS]: Remove conditional code.
2628 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2629 <kernel-features.h>.
2630 [__ASSUME_32BITUIDS]: Make code unconditional.
2631 [!__ASSUME_32BITUIDS]: Remove conditional code.
2632 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2633 <kernel-features.h>.
2634 [__ASSUME_32BITUIDS]: Make code unconditional.
2635 [!__ASSUME_32BITUIDS]: Remove conditional code.
2636 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2637 <kernel-features.h>.
2638 [__ASSUME_32BITUIDS]: Make code unconditional.
2639 [!__ASSUME_32BITUIDS]: Remove conditional code.
2640 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2641 <kernel-features.h>.
2642 [__ASSUME_32BITUIDS]: Make code unconditional.
2643 [!__ASSUME_32BITUIDS]: Remove conditional code.
2644 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2645 <kernel-features.h>.
2646 [__ASSUME_32BITUIDS]: Make code unconditional.
2647 [!__ASSUME_32BITUIDS]: Remove conditional code.
2648 * sysdeps/unix/sysv/linux/kernel-features.h
2649 (__ASSUME_SETRESUID_SYSCALL): Remove.
2650 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2651 (__ASSUME_32BITUIDS): Likewise.
2652 (__ASSUME_LDT_WORKS): Likewise.
2653 (__ASSUME_O_DIRECTORY): Likewise.
2654 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2655 architecture but not kernel version.
2656 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2657 (__ASSUME_MMAP2_SYSCALL): Likewise.
2658 (__ASSUME_STAT64_SYSCALL): Likewise.
2659 (__ASSUME_IPC64): Likewise.
2660 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2661 <kernel-features.h>.
2662 [__ASSUME_32BITUIDS]: Make code unconditional.
2663 [!__ASSUME_32BITUIDS]: Remove conditional code.
2664 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2665 <kernel-features.h>.
2666 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2667 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2668 132096]: Remove conditional code.
2669 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2670 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2671 <kernel-features.h>.
2672 [__ASSUME_32BITUIDS]: Make code unconditional.
2673 [!__ASSUME_32BITUIDS]: Remove conditional code.
2674 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2675 <kernel-features.h>.
2676 [__ASSUME_32BITUIDS]: Make code unconditional.
2677 [!__ASSUME_32BITUIDS]: Remove conditional code.
2678 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2679 <kernel-features.h>.
2680 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2681 unconditional.
2682 (__setresgid): Do not declare.
2683 [__ASSUME_32BITUIDS]: Make code unconditional.
2684 [!__ASSUME_32BITUIDS]: Remove conditional code.
2685 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2686 <kernel-features.h>.
2687 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2688 unconditional.
2689 (__setresuid): Do not declare.
2690 [__ASSUME_32BITUIDS]: Make code unconditional.
2691 [!__ASSUME_32BITUIDS]: Remove conditional code.
2692 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2693 <kernel-features.h>.
2694 [__ASSUME_32BITUIDS]: Make code unconditional.
2695 [!__ASSUME_32BITUIDS]: Remove conditional code.
2696 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2697 <kernel-features.h>.
2698 [__ASSUME_32BITUIDS]: Make code unconditional.
2699 [!__ASSUME_32BITUIDS]: Remove conditional code.
2700
a386f1cc
RH
27012012-05-25 Richard Henderson <rth@twiddle.net>
2702
2703 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2704 dl_hwcap to ifunc resolver.
2705 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2706 elf_ifunc_invoke.
2707 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2708 dl_hwcap to ifunc resolver.
2709 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2710
b6550497
JM
27112012-05-24 Joseph Myers <joseph@codesourcery.com>
2712
2713 [BZ #14153]
2714 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2715 for |x| <= 2**-26, not 2**-57.
2716 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2717 exception.
2718
b0bc23a1
JL
27192012-05-24 Jeff Law <law@redhat.com>
2720
2721 * stdio-common/Makefile (tests): Add bug25.
2722 * stdio-common/bug25.c: New test.
2723
347c92e9
L
27242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2725
2726 [BZ #13576]
2727 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2728 multiple of MALLOC_ALIGNMENT in size.
2729 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2730
6bcc8b3f
JM
27312012-05-24 Joseph Myers <joseph@codesourcery.com>
2732
2733 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2734 Require >= 256.
2735 (FILENAME_MAX): Use macro-int-constant.
2736 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2737 (_IOFBF): Use macro-int-constant.
2738 (_IOLBF): Likewise.
2739 (_IONBF): Likewise.
2740 (SEEK_CUR): Likewise.
2741 (SEEK_END): Likewise.
2742 (SEEK_SET): Likewise.
2743 (TMP_MAX): Likewise.
2744 (EOF): Use macro-int-constant. Require < 0.
2745 (NULL): Use macro-constant. Require == 0.
2746 (stdin): Require type to be FILE *.
2747 (stdout): Likewise.
2748 (stderr): Likewise.
2749 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2750 macro-int-constant.
2751 (EXIT_SUCCESS): Likewise.
2752 (NULL): Use macro-constant. Require == 0.
2753 (RAND_MAX): Use macro-int-constant.
2754 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2755 [C99-based standards] (strtof): Require function.
2756 [C99-based standards] (strtold): Likewise.
2757 [C99-based standards] (strtoll): Likewise.
2758 [C99-based standards] (strtoull): Likewise.
2759 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2760 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2761 [ISO || ISO99 || ISO11] (math.h): Likewise.
2762 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2763 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2764 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2765
d18ea0c5
AS
27662012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2767
2768 [BZ #14132]
56d25bb8
AS
2769 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2770 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2771 * intl/dgettext.c (DCGETTEXT): Likewise.
2772 * intl/gettext.c (DCGETTEXT): Likewise.
2773 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2774 * posix/regex_internal.h (gettext): Likewise.
2775 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2776 Remove declaration.
2777 * include/argz.h (__argz_count_internal)
2778 (__argz_stringify_internal): Remove declaration.
2779 (__argz_count, __argz_stringify): Declare hidden proto.
2780 * intl/dcgettext.c: Remove use of INTDEF.
2781 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2782 * string/argz-stringify.c: Likewise.
2783 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2784 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2785 Declare hidden proto.
d18ea0c5
AS
2786 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2787 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2788 Declare hidden proto.
2789 * include/stdio.h (__asprintf_internal): Don't declare.
2790 (__asprintf): Don't define as macro. Declare hidden proto.
2791 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2792 (__fsetlocking): Declare hidden proto.
2793 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2794 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2795 hidden proto.
2796 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2797 (_IO_setlinebuf): Remove use of INTUSE.
2798 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2799 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2800 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2801 Remove declaration.
2802 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2803 (_IO_do_flush): Remove use of INTUSE.
2804 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2805 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2806 (_IO_adjust_column, _IO_least_wmarker)
2807 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2808 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2809 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2810 (_IO_default_doallocate, _IO_wdefault_doallocate)
2811 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2812 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2813 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2814 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2815 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2816 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2817 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2818 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2819 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2820 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2821 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2822 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2823 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2824 proto.
2825 (_IO_flush_all_internal, _IO_adjust_column_internal)
2826 (_IO_default_uflow_internal, _IO_default_finish_internal)
2827 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2828 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2829 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2830 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2831 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2832 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2833 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2834 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2835 (_IO_file_close_internal, _IO_file_close_it_internal)
2836 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2837 (_IO_file_init_internal, _IO_file_attach_internal)
2838 (_IO_file_fopen_internal, _IO_file_read_internal)
2839 (_IO_file_sync_internal, _IO_file_seek_internal)
2840 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2841 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2842 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2843 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2844 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2845 (_IO_list_all_internal, _IO_link_in_internal)
2846 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2847 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2848 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2849 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2850 (_IO_do_write_internal, _IO_padn_internal)
2851 (_IO_getline_info_internal, _IO_getline_internal)
2852 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2853 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2854 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2855 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2856 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2857 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2858 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2859 with libc_hidden_ver, remove use of INTUSE.
2860 * libio/genops.c: Likewise.
2861 * libio/freopen.c: Likewise.
2862 * libio/freopen64.c: Likewise.
2863 * libio/iofclose.c: Likewise.
2864 * libio/iofdopen.c: Likewise.
2865 * libio/iofflush.c: Likewise.
2866 * libio/iofflush_u.c: Likewise.
2867 * libio/iofgets.c: Likewise.
2868 * libio/iofgets_u.c: Likewise.
2869 * libio/iofopen.c: Likewise.
2870 * libio/iofopncook.c: Likewise.
2871 * libio/iofread.c: Likewise.
2872 * libio/iofread_u.c: Likewise.
2873 * libio/ioftell.c: Likewise.
2874 * libio/iofwrite.c: Likewise.
2875 * libio/iogetline.c: Likewise.
2876 * libio/iogets.c: Likewise.
2877 * libio/iogetwline.c: Likewise.
2878 * libio/iopadn.c: Likewise.
2879 * libio/iopopen.c: Likewise.
2880 * libio/ioseekoff.c: Likewise.
2881 * libio/ioseekpos.c: Likewise.
2882 * libio/iosetbuffer.c: Likewise.
2883 * libio/iosetvbuf.c: Likewise.
2884 * libio/ioungetc.c: Likewise.
2885 * libio/ioungetwc.c: Likewise.
2886 * libio/iovdprintf.c: Likewise.
2887 * libio/iovsprintf.c: Likewise.
2888 * libio/iovsscanf.c: Likewise.
2889 * libio/memstream.c: Likewise.
2890 * libio/obprintf.c: Likewise.
2891 * libio/oldfileops.c: Likewise.
2892 * libio/oldiofclose.c: Likewise.
2893 * libio/oldiofdopen.c: Likewise.
2894 * libio/oldiofopen.c: Likewise.
2895 * libio/oldiopopen.c: Likewise.
2896 * libio/oldstdfiles.c: Likewise.
2897 * libio/putc.c: Likewise.
2898 * libio/setbuf.c: Likewise.
2899 * libio/setlinebuf.c: Likewise.
2900 * libio/stdfiles.c: Likewise.
2901 * libio/strops.c: Likewise.
2902 * libio/vasprintf.c: Likewise.
2903 * libio/vscanf.c: Likewise.
2904 * libio/vsnprintf.c: Likewise.
2905 * libio/vswprintf.c: Likewise.
2906 * libio/wfiledoalloc.c: Likewise.
2907 * libio/wfileops.c: Likewise.
2908 * libio/wgenops.c: Likewise.
2909 * libio/wmemstream.c: Likewise.
2910 * libio/wstrops.c: Likewise.
2911 * libio/__fpurge.c: Likewise.
2912 * libio/__fsetlocking.c: Likewise.
2913 * assert/assert.c: Likewise.
2914 * debug/fgets_chk.c: Likewise.
2915 * debug/fgets_u_chk.c: Likewise.
2916 * debug/fread_chk.c: Likewise.
2917 * debug/fread_u_chk.c: Likewise.
2918 * debug/gets_chk.c: Likewise.
2919 * debug/obprintf_chk.c: Likewise.
2920 * debug/vasprintf_chk.c: Likewise.
2921 * debug/vdprintf_chk.c: Likewise.
2922 * debug/vsnprintf_chk.c: Likewise.
2923 * debug/vsprintf_chk.c: Likewise.
2924 * malloc/mtrace.c: Likewise.
2925 * misc/error.c: Likewise.
2926 * misc/syslog.c: Likewise.
2927 * stdio-common/asprintf.c: Likewise.
2928 * stdio-common/fxprintf.c: Likewise.
2929 * stdio-common/getw.c: Likewise.
2930 * stdio-common/isoc99_fscanf.c: Likewise.
2931 * stdio-common/isoc99_scanf.c: Likewise.
2932 * stdio-common/isoc99_vfscanf.c: Likewise.
2933 * stdio-common/isoc99_vscanf.c: Likewise.
2934 * stdio-common/isoc99_vsscanf.c: Likewise.
2935 * stdio-common/printf-prs.c: Likewise.
2936 * stdio-common/printf_fp.c: Likewise.
2937 * stdio-common/printf_fphex.c: Likewise.
2938 * stdio-common/printf_size.c: Likewise.
2939 * stdio-common/putw.c: Likewise.
2940 * stdio-common/scanf.c: Likewise.
2941 * stdio-common/sprintf.c: Likewise.
2942 * stdio-common/tmpfile.c: Likewise.
2943 * stdio-common/vfprintf.c: Likewise.
2944 * stdio-common/vfscanf.c: Likewise.
2945 * stdlib/strfmon_l.c: Likewise.
2946 * sunrpc/openchild.c: Likewise.
2947 * sunrpc/xdr_stdio.c: Likewise.
2948 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2949 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2950
d6c33fda
RM
29512012-05-24 Roland McGrath <roland@hack.frob.com>
2952
c1487492
RM
2953 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2954
2955 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2956 in the third column, to generate for the shared library an IFUNC
2957 that uses _dl_vdso_vsym.
2958 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2959 * Makeconfig (object-suffixes-noshared): New variable.
2960
2961 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2962 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2963 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2964 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2965
d6c33fda
RM
2966 [BZ #14132]
2967 * include/sys/time.h (__gettimeofday): Remove macro.
2968 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2969 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2970 Remove INTDEF.
2971 (__gettimeofday): Add libc_hidden_def.
2972 (gettimeofday): Add libc_hidden_weak.
2973 * sysdeps/mach/gettimeofday.c: Likewise.
2974 * sysdeps/posix/gettimeofday.c: Likewise.
2975 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2976 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2977 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2978 (__gettimeofday_internal): Remove strong_alias.
2979 (__gettimeofday): Add libc_hidden_def.
2980 (gettimeofday): Add libc_hidden_weak.
2981 * sysdeps/unix/syscalls.list (gettimeofday):
2982 Remove __gettimeofday_internal alias.
2983
b5a2bbe6
L
29842012-05-24 Daniel Jacobowitz <drow@false.org>
2985 H.J. Lu <hongjiu.lu@intel.com>
2986
2987 [BZ #12495]
2988 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2989 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2990 (largebin_index_32_big): New.
2991 (largebin_index): Use it for 16-byte alignment.
2992 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2993 correction with front_misalign.
2994
cfba4fda
L
29952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2996
7f907421
L
2997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2999 Likewise.
3000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3001 Likewise.
3002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3003 Likewise.
3004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3005 Likewise.
3006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3007 Likewise.
3008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3009 Likewise.
3010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3011 Likewise.
3012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3013 Likewise.
3014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3015 Likewise.
3016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3017 Likewise.
3018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3019 Likewise.
3020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3021 Likewise.
3022
cfba4fda
L
3023 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3024 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3025
80bad0cc
JM
30262012-05-24 Joseph Myers <joseph@codesourcery.com>
3027
7a25eb06
JM
3028 [BZ #10846]
3029 [BZ #14036]
3030 * math/libm-test.inc (exp_test): Add test from bug 14036.
3031 (pow_test): Add test from bug 10846.
3032
795405f9
JM
3033 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3034 and other flags.
3035 (special_function): Do not include flags in test name.
3036 (parse_args): Likewise.
3037 * sysdeps/i386/fpu/libm-test-ulps: Update.
3038 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3039 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3040 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3042
80bad0cc
JM
3043 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3044 exceptions.
3045 * math/libm-test.inc ("Philosophy"): Update comment about
3046 exception testing.
3047 (UNDERFLOW_EXCEPTION): New macro.
3048 (UNDERFLOW_EXCEPTION_OK): Likewise.
3049 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3050 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3051 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3052 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3053 (INVALID_EXCEPTION_OK): Update value.
3054 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3055 (OVERFLOW_EXCEPTION_OK): Likewise.
3056 (IGNORE_ZERO_INF_SIGN): Likewise.
3057 (test_exceptions): Handle underflow exceptions.
3058 (acos_test): Update for underflow exception expectations.
3059 (cexp_test): Likewise.
3060 (clog_test): Likewise.
3061 (clog10_test): Likewise.
3062 (csqrt_test): Likewise.
3063 (ctan_test): Likewise.
3064 (ctanh_test): Likewise.
3065 (exp_test): Likewise.
3066 (exp10_test): Likewise.
3067 (exp2_test): Likewise.
3068 (expm1_test): Likewise.
3069 (fma_test): Likewise.
3070 (j0_test): Likewise.
3071 (jn_test): Likewise.
3072 (nexttoward_test): Likewise.
3073 (pow_test): Likewise.
3074 (scalbn_test): Likewise.
3075 (scalbln_test): Likewise.
3076 (tan_test): Likewise.
3077 (y1_test): Likewise.
3078 * sysdeps/i386/fpu/libm-test-ulps: Update.
3079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3080
9e0e3d0b
DM
30812012-05-23 David S. Miller <davem@davemloft.net>
3082
3083 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3084 (__libc_sigaction): Remove unused local variables.
3085
ccd0a08f
L
30862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3087
3088 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3089
62bdf9a6
PE
30902012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3091
f8591f80
PE
3092 mktime: avoid signed integer overflow
3093 * time/mktime.c (__mktime_internal): Do not mishandle the case
3094 where diff == INT_MIN.
3095
94c7d826
PE
3096 mktime: simplify computation of average
3097 * time/mktime.c (ranged_convert): Use new time_t_avg function
3098 instead of rolling our own (probably-slower) code.
3099
ce73d683
PE
3100 mktime: do not assume signed right shift propagates sign bit
3101 * time/mktime.c (isdst_differ): New static function.
3102 (__mktime_internal): No need to normalize tm_isdst now.
3103 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3104 tm_isdst values.
3105
72a22e59
PE
3106 mktime: merge another wrapv change from gnulib
3107 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3108 from some compilers.
3109
68605433
PE
3110 mktime: remove incorrect attempt at unusual arithmetics
3111 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3112 The code didn't really work on such machines anyway.
3113 (TYPE_MINIMUM): Assume two's complement.
3114 (twos_complement_arithmetic): Verify that long_int and time_t
3115 are two's complement (or unsigned, in the latter case).
3116
03cf7fe3
PE
3117 mktime: check signed shifts on long_int and time_t, too
3118 * time/mktime.c (SHR): Check that shifts work as desired
3119 on the types long_int and time_t too, as SHR is used on
3120 such types.
3121
f04dfbc2
PE
3122 mktime: do not assume 'long' is wide enough
3123 * time/mktime.c (verify): Move decl up.
3124 (long_int): New type.
3125 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3126 to remove assumption in the code that 'long' is wide enough to
3127 store year values. This assumption is not true on x32 and on
3128 some non-glibc platforms.
3129
62bdf9a6
PE
3130 mktime: merge wrapv change from gnulib
3131 * time/mktime.c (WRAPV): New macro.
3132 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3133 (guess_time_tm, __mktime_internal): Do not assume that signed
3134 integer overflow wraps around; modern compilers generate code
3135 where this assumption is no longer valid.
3136
5e292e4f
L
31372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3138
3139 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3140 Replace "jmp L(pseudo_end)" with "ret".
3141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3142 Likewise.
3143
8caf8c87
AJ
31442012-05-23 Andreas Jaeger <aj@suse.de>
3145
3146 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3147 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3148
1a09dc56
AJ
31492012-05-23 Andreas Jaeger <aj@suse.de>
3150 Maximilian Attems <max@stro.at>
3151
3152 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3153 New macros.
3154
1c87aba0
L
31552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3156
3157 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3158 code so that pseudo_end is just ret and the stack pointer is
3159 correct also for static library in error case.
3160
40e45bd5
JM
31612012-05-23 Joseph Myers <joseph@codesourcery.com>
3162
c2670533
JM
3163 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3164 move to syscalls.list.
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3169
40e45bd5
JM
3170 * manual/install.texi (Running make install): Do not mention Linux
3171 kernel version for which pt_chown is not needed.
3172 (Linux): Do not mention problems with nscd with 2.0 kernels.
3173 * INSTALL: Regenerated.
3174
be08eda5
AJ
31752012-05-23 Andreas Jaeger <aj@suse.de>
3176
3177 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3178 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3179 macro.
3180 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3181 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3182 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3183 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3184 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3185 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3186 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3187 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3188 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3189 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3190 * sysdeps/unix/sysv/linux/bits/in.h
3191 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3192
a6a056bb
RM
31932012-05-22 Roland McGrath <roland@hack.frob.com>
3194
3195 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3196 (PREPARE_VERSION): Just use assert instead, it will be elided
3197 under [NDEBUG] anyway.
3198
c9009328
L
31992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3200
3201 * sysdeps/unix/sysv/linux/Makefile: Include
3202 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3203 (sysdep_routines): Remove sysctl.
c9009328
L
3204 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3205 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3206 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3207 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3208 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3209
73338355
AJ
32102012-05-22 Andreas Jaeger <aj@suse.de>
3211
3212 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3213 that pseudo_end is just ret and the stack pointer is correct also
3214 for static library in error case.
3215
d44638b0
PP
32162012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3217
3218 [BZ #14122]
3219 * nss/nsswitch.c (defconfig_entries): New variable.
3220 (__nss_database_lookup): Don't leak defconfig entries.
3221 (nss_parse_service_list): Don't leak on error paths.
3222 (free_database_entries): New function.
3223 (free_defconfig): New function.
3224 (free_mem): Move common code to free_database_entries.
3225
31a39bd8
L
32262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3227
da0331a8
L
3228 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3229 Add arch_prctl.
3230 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3231
31a39bd8
L
3232 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3233 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3235 New macro.
3236 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3237 (INTERNAL_SYSCALL_TYPES): Likewise.
3238 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3239 (LOAD_REGS_TYPES_[1-6]): Likewise.
3240 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3241 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3242
45470df3
AZ
32432012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3244
3245 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3246 copysignl for GLIBC_2_0.
3247 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3248 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3249 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3250 logbl for GLIBC_2_0.
3251 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3252 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3253
98a61bcb
L
32542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3255
a4f6e481
L
3256 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3257 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3258
f63d5db6
L
3259 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3260 Use "neg %eax".
3261
98a61bcb
L
3262 * time/mktime.c: Update copyright years.
3263
95770f14
PE
32642012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3265
6226efbd
PE
3266 mktime: merge comment-quoting-style change from gnulib
3267 * time/mktime.c: Quote 'like this' in comments.
3268 The GNU coding standards suggest that we no longer quote `like this',
3269 as "`" and "'" are typically rendered asymmetrically nowadays.
3270 The typical gnulib style is to quote 'like this' when quoting
3271 code, and "like this" when quoting English.
3272
b99e4f78
PE
3273 * time/mktime.c (compile-command): Add "-I.".
3274
643e01e6
PE
3275 mktime: merge mktime-internal.h change from gnulib
3276 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3277
2554247d
PE
3278 mktime: merge time_r change from gnulib
3279 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3280
826dd0ab
PE
3281 mktime: merge DEBUG change from gnulib
3282 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3283 case system <time.h> has a #define.
3284
bd83aabe
PE
3285 mktime: merge <sys/types.h> change from gnulib
3286 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3287 since <time.t> is now guaranteed to define time_t.
3288
95770f14
PE
3289 mktime: merge HAVE_CONFIG_H change from gnulib
3290 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3291
5e1a27a9
L
32922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3293
0e44a77e
L
3294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3295 Use "neg %eax".
3296
5e1a27a9
L
3297 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3298 __rlim_t cast.
3299 (struct rusage): Use anonymous union to pad each field to
3300 __syscall_slong_t.
3301
46259bec
DM
33022012-05-21 David S. Miller <davem@davemloft.net>
3303
3304 * Makefules (o-iterator): Remove .s cases.
3305 (compile-command.s): Delete.
3306 (COMPILE.s): Delete.
3307 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3308
59f0c22e
JM
33092012-05-21 Joseph Myers <joseph@codesourcery.com>
3310
3311 * configure.in (libc_cv_predef_stack_protector): Only consider
3312 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3313 * configure: Regenerated.
3314
20c07380
L
33152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3316
bbb3154b
L
3317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3318 New macro. Use R*LP on int and pointer.
3319 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3320 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3321 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3322 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3323
20c07380
L
3324 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3325 [__WORDSIZE_TIME64_COMPAT32] instead of
3326 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3327 (struct utmp): Likewise.
3328 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3329 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3330 Renamed to ...
3331 (__WORDSIZE_TIME64_COMPAT32): This.
3332 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3333 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3334 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3335 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3336 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3337 (__WORDSIZE_TIME64_COMPAT32): New macro.
3338
d8d1017e
AJ
33392012-05-21 Andreas Jaeger <aj@suse.de>
3340
3341 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3342 only if [SHARED]. Add prototype for __wcschr_ia32.
3343
6c7fb145
RM
33442012-05-21 Roland McGrath <roland@hack.frob.com>
3345
3346 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3347 of %rbp unmolested in the jmp_buf while mangling the low bits.
3348 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3349 unmolested high bits of %rbp while demangling the low bits.
3350 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3351
66274218
AJ
33522012-05-21 Andreas Jaeger <aj@suse.de>
3353
07c58f8f
AJ
3354 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3355 * sunrpc/svc_simple.c: Use it for registerrpc.
3356 * sunrpc/xcrypt.c: Use it for passwd2des.
3357
66274218
AJ
3358 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3359
61f65140
L
33602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3361
3362 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3363 Don't define if [__SYSCALL_WORDSIZE != 32].
3364 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3365 New macro.
3366
5fefb436
AJ
33672012-05-21 Bruno Haible <bruno@clisp.org>
3368 Andreas Jaeger <aj@suse.de>
3369
3370 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3371 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3372 inptr and inend for must_buffer_ch.
3373 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3374 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3375 * stdio-common/Makefile (tests): Remove bug15.
3376 (bug15-ENV): Remove macro.
3377 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3378 anymore.
3379
d8e272ab
AJ
33802012-05-19 Andreas Jaeger <aj@suse.de>
3381 Roland McGrath <roland@hack.frob.com>
3382
3383 * manual/contrib.texi: Completely rewritten. It contains now an
3384 alphabetical list of contributors and their contributions.
3385
4a56a162
RH
33862012-05-21 Richard Henderson <rth@twiddle.net>
3387
3388 * misc/getauxval.c (__getauxval): Use unsigned long int.
3389 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3390 (getauxval): Use unsigned long int.
3391
d024d23c
L
33922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3393
3394 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3395
cbc00a03
RM
33962012-05-21 Roland McGrath <roland@hack.frob.com>
3397
3398 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3399 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3400 __alignof__ (long double).
3401
478143fa
AZ
34022012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3403
3404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3405
c7683a6d
RH
34062012-05-20 Richard Henderson <rth@twiddle.net>
3407
3408 * misc/getauxval.c: New file.
3409 * misc/sys/auxv.h: New file.
3410 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3411 (routines): Add getauxval.
3412 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3413 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3414 * elf/dl-sysdep.c (_dl_auxv): Remove.
3415 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3416 * elf/dl-support.c (_dl_auxv): New variable.
3417 (_dl_aux_init): Initialize it.
3418 * manual/startup.texi (Auxiliary Vector): New node.
3419 * sysdeps/generic/bits/hwcap.h: New file.
3420 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3421 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3422 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3423 * sysdeps/sparc/sysdep.h: ... here. Include it.
3424 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3425 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3427 Update.
c7683a6d
RH
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3431 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3436
a6f1845d
AZ
34372012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3438
3439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3440
cbcbe830
DM
34412012-05-19 David S. Miller <davem@davemloft.net>
3442
3443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3444
e0b16cc2
JM
34452012-05-19 Joseph Myers <joseph@codesourcery.com>
3446
3447 [BZ #14123]
3448 * math/s_ccosh.c: Include <float.h>
3449 (__ccosh): Avoid internal overflow calculating sinh and cosh
3450 values before multiplying by sin and cos values.
3451 * math/s_ccoshf.c: Likewise.
3452 * math/s_ccoshl.c: Likewise.
3453 * math/s_csin.c: Likewise.
3454 * math/s_csinf.c: Likewise.
3455 * math/s_csinl.c: Likewise.
3456 * math/s_csinh.c: Likewise.
3457 * math/s_csinhf.c: Likewise.
3458 * math/s_csinhl.c: Likewise.
3459 * math/libm-test.inc (ccos_test): Add more tests.
3460 (ccosh_test): Likewise.
3461 (csin_test): Likewise.
3462 (csinh_test): Likewise.
3463 * sysdeps/i386/fpu/libm-test-ulps: Update.
3464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3465
6ad13e08
L
34662012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3467
f66f0ce8
L
3468 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3469 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3470
6ad13e08
L
3471 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3472
b1d072a7
JM
34732012-05-19 Joseph Myers <joseph@codesourcery.com>
3474
3475 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3476 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3477 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3478 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3479 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3480 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3481 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3482 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3483 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3484 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3485 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3486 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3487 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3488 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3489 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3490 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3491 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3492 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3493 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3494 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3495 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3496 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3497 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3498 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3499 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3500 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3501 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3502 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3503 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3504 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3505 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3506
9eae47cb
AJ
35072012-05-18 Andreas Jaeger <aj@suse.de>
3508
3509 * csu/.gitignore: Delete.
3510
bb07f69f
L
35112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3512
3513 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3514 (timex): Use __syscall_slong_t.
3515
e6bdb741
AJ
35162012-05-18 Andreas Jaeger <aj@suse.de>
3517 Carlos O'Donell <carlos_odonell@mentor.com>
3518
3519 * manual/install.texi (Configuring and compiling): Update
3520 description about files modified in the source directory.
d6c33fda 3521 * INSTALL: Regenerated.
e6bdb741 3522
1b74487e
L
35232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3524
3525 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3526 value. Use "or" to set return value to -1.
3527 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3528 negate return value.
3529
a88b64b9
TMQMF
35302012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3531
3532 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3533 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3534 failure if the compiler has Graphite support disabled.
3535 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3536 Likewise.
3537 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3538 CFLAGS-memmove.c): Likewise.
3539 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3540 Likewise.
3541
3707636e
L
35422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3543
610b8622
L
3544 * sysdeps/x86_64/x32/_itoa.h: New file.
3545
7cd195df
L
3546 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3547 getdents system call only if kernel and user dirents have the
3548 same d_ino and d_off.
3549
94b07d20
L
3550 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3551 LLONG_MAX != LONG_MAX.
3552 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3553 (_fitoa_word): Likewise.
3554
18298070
L
3555 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3556 years.
3557 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3558 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3559 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3560
553c7ea4
L
3561 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3562 include <bits/wordsize.h>. Check __x86_64__ instead of
3563 __WORDSIZE.
3564 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3565 if __x86_64__ is defined. Use anonymous union on fpstate.
3566
3707636e
L
3567 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3568 anonymous union.
3569
b53ef01a
AS
35702012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3571
37fb1dc0
AS
3572 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3573 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3574 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3575 Refer to _rtld_local_ro instead of _rtld_global_ro.
3576 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3577 Likewise.
3578 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3579 Likewise.
3580 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3581 Likewise.
3582 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3583 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3584 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3585
b53ef01a
AS
3586 * sysdeps/powerpc/powerpc32/dl-machine.c
3587 (__elf_machine_runtime_setup) [PROF]: Don't reference
3588 _dl_prof_resolve.
3589
7a185db2
AJ
35902012-05-18 Andreas Jaeger <aj@suse.de>
3591
3592 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3593 function only available for GCCs before 3.4 since GCC 3.4
3594 introduced a builtin.
3595 (lrint): Likewise.
3596 (llrintf): Likewise.
3597 (llrint): Likewise.
3598 (fmaxf): Likewise.
3599 (fmax): Likewise.
3600 (fminf): Likewise.
3601 (fmin): Likewise.
3602 (rint): Likewise.
3603 (rintf): Likewise.
3604 (nearbyint): Likewise.
3605 (nearbyintf): Likewise.
3606 (ceil): Likewise.
3607 (ceilf): Likewise.
3608 (floor): Likewise.
3609 (floorf): Likewise.
3610
3e5aef87
L
36112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3612
428bd707
L
3613 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3614 on both fields and cast pointer to __syscall_ulong_t.
3615
3e5aef87
L
3616 * bits/types.h (__fsword_t): New type.
3617 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3618 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3619 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3620 (__FSWORD_T_TYPE): Likewise.
3621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3622 (__FSWORD_T_TYPE): Likewise.
3623 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3624 (__FSWORD_T_TYPE): Likewise.
3625 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3626 (__FSWORD_T_TYPE): Likewise.
3627 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3628 __SWORD_TYPE with __fsword_t.
3629 (statfs64): Likewise.
3630
1ba7c3dc
DM
36312012-05-17 David S. Miller <davem@davemloft.net>
3632
3633 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3634
59910343
AJ
36352012-05-17 Andreas Jaeger <aj@suse.de>
3636
3637 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3638 warning.
3639
2e4c1e9e
L
36402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3641
3642 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3643
de7f5ce7
AJ
36442012-05-17 Andreas Jaeger <aj@suse.de>
3645
3646 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3647 when it is used.
3648
286abc3d
CM
36492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3650
3651 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3652
477cc68e
L
36532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3654
3655 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3656 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3657
1a0994f5
CD
36582012-05-17 Andreas Jaeger <aj@suse.de>
3659 Carlos O'Donell <carlos_odonell@mentor.com>
3660
3661 [BZ #14059]
3662 * sysdeps/x86_64/multiarch/init-arch.h
3663 (bit_YMM_Usable): Rename to...
3664 (bit_AVX_Usable): ... this.
3665 (bit_FMA4_Usable): New macro.
3666 (bit_XMM_state): New macro.
3667 (bit_YMM_state): New macro.
3668 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3669 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3670 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3671 (CPUID_OSXSAVE): New macro.
3672 (CPUID_AVX): New macro.
3673 (CPUID_FMA4): New macro.
3674 (index_YMM_Usable): Rename to...
3675 (index_AVX_Usable): ... this.
3676 (HAS_AVX): Use HAS_ARCH_FEATURE.
3677 (HAS_FMA4): Likewise.
3678 (HAS_YMM_USABLE): Remove.
3679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3680 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3681 are present.
3682 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3683 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3684 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3685 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3686 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3687
0af797de
CM
36882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3689
3690 * math/libm-test.c: Support platforms without multiple rounding modes.
3691 * math/bug-nextafter.c: Support platforms without FP exceptions.
3692 * math/bug-nexttoward.c: Likewise.
3693 * math/test-fenv.c: Likewise.
3694 * math/test-misc.c: Likewise.
3695 * stdlib/bug-getcontext.c: Likewise.
3696
e39745ff
AJ
36972012-05-17 Andreas Jaeger <aj@suse.de>
3698
3699 * manual/examples/search.c (critter_cmp): Change signature to
3700 avoid warnings.
3701 * manual/string.texi (Collation Functions): Likewise.
3702
48970aba
L
37032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3704
3705 * bits/types.h: Fold copyright years.
3706 * bits/typesizes.h: Likewise.
3707 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3708 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3709 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3711 * time/time.h: Likewise.
3712
bedee953
PP
37132012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3714
3715 [BZ #208]
3716 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3717 in instead of returning them. Return void.
3718 (__libc_mallinfo): Accumulate over all arenas.
3719 (__malloc_stats): Adjust for change in int_mallinfo interface.
3720
61653dfb
RM
37212012-05-16 Roland McGrath <roland@hack.frob.com>
3722
30b99d79
RM
3723 [BZ #10375]
3724 * configure.in (NM): Add AC_CHECK_TOOL for it.
3725 (libc_extra_cflags): New substituted variable.
3726 Check for -fstack-protector being used implicitly.
3727 * configure: Regenerated.
3728 * config.make.in (config-extra-cflags): New variable,
3729 gets @libc_extra_cflags@.
3730 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3731
61653dfb
RM
3732 [BZ #10375]
3733 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3734 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3735 * configure: Regenerated.
3736 * config.make.in (CPPUNDEFS): New substituted variable.
3737 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3738 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3739 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3740
661768bb
L
37412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3742
3743 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3744 (mq_attr): Use __syscall_slong_t.
3745
d4261567
L
37462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3747
3748 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3749 Check __x86_64__ instead of __WORDSIZE.
3750 (_STAT_VER_LINUX): Likewise.
3751 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3752 __syscall_ulong_t and __syscall_slong_t.
3753 (stat64): Likewise.
3754
cf3ff365
L
37552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3756
3757 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3758
76cf3e4d
L
37592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3760
3761 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3762
a637753a
L
37632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3764
3765 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3766 __syscall_ulong_t.
3767
d5e05119
L
3768 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3769 include <bits/wordsize.h>. Check __x86_64__ instead of
3770 __WORDSIZE.
3771 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3772 defined.
3773 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3774
f62ee380
L
3775 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3776 include <bits/wordsize.h>. Check __x86_64__ instead of
3777 __WORDSIZE.
3778 (user_regs_struct): Use "__extension__ unsigned long long"
3779 instead of "unsigned long" if __x86_64__ is defined.
3780 (user): Likewise. Pad after pointer field if __ILP32__ is
3781 defined.
3782
4e124ced
JM
37832012-05-16 Joseph Myers <joseph@codesourcery.com>
3784
6a3951a0
JM
3785 * configure.in (makeinfo): Require version 4.5 or later. Allow
3786 versions 5 to 9.
3787 * configure: Regenerated.
3788 * manual/install.texi (texinfo): Increase version requirement to
3789 4.5 or later.
3790 * INSTALL: Regenerated.
3791
4e124ced
JM
3792 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3793
953ca31a
L
37942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3795
3796 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3797
617aca05
L
3798 * sysdeps/x86_64/x32/ffs.c: New file.
3799
5762f7ae
L
3800 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3801 __syscall_ulong_t.
3802 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3803 defined. Use __syscall_ulong_t.
3804 (shminfo): Use __syscall_ulong_t.
3805 (shm_info): Likewise.
3806
a26b6856
L
3807 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3808 __syscall_ulong_t.
3809
cb2b9ef7
L
3810 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3811 <bits/wordsize.h>.
3812 (msgqnum_t): Use __syscall_ulong_t.
3813 (msglen_t): Likewise.
3814 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3815 __syscall_ulong_t.
3816
34683bb0
L
3817 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3818 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3819
84a68786
L
3820 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3821
48baa5f1
L
3822 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3823 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3824
180be88b
L
3825 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3826 __syscall_slong_t.
3827
5e90c8ad
L
3828 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3829 include <bits/wordsize.h>. Check __x86_64__ instead of
3830 __WORDSIZE.
3831
23dfb58b
L
3832 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3833 "unsigned long long int" if __x86_64__ is defined.
3834 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3835
ce5d54b0
L
3836 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3837 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3838 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3839
13dc9eac
L
3840 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3841 <stdint.h>.
3842 (GET_PC): Cast to uintptr_t first.
3843 (GET_FRAME): Likewise.
3844 (GET_STACK): Likewise.
3845
a7895d15
L
3846 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3847 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3848 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3849 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3850 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3851 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3852 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3853 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3854 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3855 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3856 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3857 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3858 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3859 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3860 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3861 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3862 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3863 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3864 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3865 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3866 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3867 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3868 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3869 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3870 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3871 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3872 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3873 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3874 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3875
656416c9
AS
38762012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3877
5bd66283
AS
3878 * Makerules (+depfiles): Also collect depfiles from .oS in
3879 $(extra-objs).
3880 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3881 .oS, $(libnldbl-routines)).
3882
656416c9
AS
3883 * Makerules (native-compile-mkdep-flags): Define.
3884 * sunrpc/Makefile (extra-objs): Add $(addprefix
3885 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3886 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3887 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3888 calling $(make-target-directory).
3889
a46f2169
L
38902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3891
3892 * bits/types.h (__snseconds_t): Removed.
3893 * time/time.h (struct timespec): Replace __snseconds_t with
3894 __syscall_slong_t.
3895 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3896 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3897 Likewise.
3898 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3899 (__SNSECONDS_T_TYPE): Likewise.
3900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3901 (__SNSECONDS_T_TYPE): Likewise.
3902 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3903 (__SNSECONDS_T_TYPE): Likewise.
3904
6af6528b
L
39052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3906
3907 * sysdeps/mach/hurd/bits/typesizes.h
3908 (__SYSCALL_SLONG_TYPE): New macro.
3909 (__SYSCALL_ULONG_TYPE): Likewise.
3910
de986b56
L
39112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3912
3913 * bits/types.h (__syscall_slong_t): New type.
3914 (__syscall_ulong_t): Likewise.
3915
3916 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3917 (__SYSCALL_ULONG_TYPE): Likewise.
3918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3919 (__SYSCALL_SLONG_TYPE): Likewise.
3920 (__SYSCALL_ULONG_TYPE): Likewise.
3921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3922 (__SYSCALL_SLONG_TYPE): Likewise.
3923 (__SYSCALL_ULONG_TYPE): Likewise.
3924 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3925 (__SYSCALL_SLONG_TYPE): Likewise.
3926 (__SYSCALL_ULONG_TYPE): Likewise.
3927
85736dc7
L
39282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3929
3930 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3931 Add sigaltstack-offsets.sym.
3932 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3933 <sigaltstack-offsets.h>.
3934 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3935 longjmp_msg pointer.
3936 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3937 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3938 signal stack.
3939 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3940
cc03b296
JM
39412012-05-15 Joseph Myers <joseph@codesourcery.com>
3942
a9538892
JM
3943 * elf/stackguard-macros.h: Remove file.
3944 * sysdeps/generic/stackguard-macros.h: New file.
3945 * sysdeps/i386/stackguard-macros.h: Likewise.
3946 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3947 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3948 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3949 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3950 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3951 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3952 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3953 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3954 <elf/stackguard-macros.h>.
3955
cc03b296
JM
3956 [BZ #14109]
3957 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3958 __aligned__ in attribute.
3959 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3960 (gregset_t): Likewise.
3961
93171016
L
39622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3963
3964 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3965 * sysdeps/x86_64/64/Implies-after: Here. New file.
3966 * sysdeps/x86_64/x32/Implies-after: New file.
3967
d86813a0
L
39682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3969
3970 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3971 and access return value for _dl_profile_fixup. Use R10_LP to
3972 load frame size.
3973
2953ec75
L
39742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3975
3976 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3977
3b550e9e
L
39782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3979
3980 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3981 * sysdeps/x86_64/x32/sysdep.h: New file.
3982
eda41706
L
39832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3984
3985 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3986 * sysdeps/x86_64/setjmp.S: Likewise.
3987
9ea01d93
AZ
39882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3989
3990 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3991 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3992 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3993 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3994 remove unused global constant.
3995
02a91938
CM
39962012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3997
3998 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3999 include of <not-cancel.h>.
4000
6540185f
RM
40012012-05-15 Roland McGrath <roland@hack.frob.com>
4002
4003 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4004
509072a0
AJ
40052012-05-15 Jeff Law <law@redhat.com>
4006 Andreas Jaeger <aj@suse.de>
4007
4008 [BZ #13594]
4009 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4010 out from...
4011 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4012 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4013 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4014 code changing __hst_map_handle.map.
4015
ba75122d
RM
40162012-05-15 Roland McGrath <roland@hack.frob.com>
4017
4018 * configure.in (sysnames): Look for Implies-before and Implies-after
4019 files.
4020 * configure: Regenerated.
4021
890d8bd8
L
40222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4023
4024 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4025 8-byte data alignment with LP_SIZE alignment.
4026
f6ee6623
L
40272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4028
4029 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4030 into R10_LP.
4031
ea2626f6
L
40322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4033
4034 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4035
085f715e
L
40362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4037
4038 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4039 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4040 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4041 Likewise.
4042 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4043
be8498fc
L
40442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4045
4046 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4047 (stackinfo_sub_sp): Likewise.
4048
70bc83b9
L
40492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4050
4051 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4052 RAX_LP.
4053
9bc0b730
L
40542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4055
4056 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4057 into R*_LP.
4058
6d2850e7
L
40592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4060
4061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4062 sizes into R*_LP.
4063
3cb84561
L
40642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4065
4066 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4067
54e2ed81
L
40682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4069
4070 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4071 into R11_LP and load __x86_64_shared_cache_size_half into
4072 R8_LP.
4073
8a17f349
L
40742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4075
4076 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4077 R8_LP.
4078
777b1eea
AZ
40792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4080
4081 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4082 logb for POWER7.
4083 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4084 logbf for POWER7.
4085 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4086 logbl for POWER7.
4087 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4088 powerpc32/power7/fpu/s_logb.c via #include.
4089 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4090 powerpc32/power7/fpu/s_logbf.c via #include.
4091 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4092 powerpc32/power7/fpu/s_logbl.c via #include.
4093
d20d4ac2
JM
40942012-05-15 Joseph Myers <joseph@codesourcery.com>
4095
4096 * README.libm: Remove file.
4097
6cdef1ab
L
40982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4099
4100 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4101 count for x32. Use R*_LP and omit operand-size suffix.
4102
0b254d8f
L
41032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4104
4105 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4106 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4107 * sysdeps/x86_64/x32/shlib-versions: New file.
4108
ceb809dc
RM
41092012-05-14 Roland McGrath <roland@hack.frob.com>
4110
4111 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4112 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4113 Use _dl_fatal_printf instead.
4114
37f1abd4
JM
41152012-05-14 Joseph Myers <joseph@codesourcery.com>
4116
4117 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4118 set if not set by the user. Do not allow for being unset.
4119 * sysdeps/unix/sysv/linux/configure: Regenerated.
4120
11de3a33
L
41212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4122
4123 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4124 the `q' suffix from lea and replace .quad with ASM_ADDR.
4125
e02f153a
L
41262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4127
4128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4129 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4130 instead of $17.
4131 (PTR_DEMANGLE): Likewise.
4132
520ae0fd
L
41332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4134
4135 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4136 (LP_OP): Likewise.
4137 (ASM_ADDR): Likewise.
4138 (RAX_LP): Likewise.
4139 (RBP_LP): Likewise.
4140 (RBX_LP): Likewise.
4141 (RCX_LP): Likewise.
4142 (RDI_LP): Likewise.
4143 (RSI_LP): Likewise.
4144 (RSP_LP): Likewise.
4145 (R8_LP): Likewise.
4146 (R9_LP): Likewise.
4147 (R10_LP): Likewise.
4148 (R10_LP): Likewise.
4149 (R11_LP): Likewise.
4150 (R12_LP): Likewise.
4151 (R13_LP): Likewise.
4152 (R14_LP): Likewise.
4153 (R15_LP): Likewise.
4154
b985be81
L
41552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4156
4157 * sysdeps/x86_64/x32/dl-machine.h: New file.
4158
6a4888ff
AJ
41592012-05-14 Andreas Jaeger <aj@suse.de>
4160
4161 * manual/Makefile (subdir): Remove export of subdir.
4162 (all): Remove target.
4163 (.PHONY): Remove all from list.
4164 (mkinstalldirs): Remove.
4165 (.PHONY): Remove installdirs from list.
4166 ($(inst_infodir)/libc.info): Use make-target-directory.
4167 (installdirs): Remove.
4168 (subdir_%): Remove.
4169 (glibc-targets): Remove.
4170 (lib): Remove.
4171 (stubs): Remove.
4172 ($(objpfx)stubs ../po/manual.pot): Remove.
4173 ($(objpfx)stamp%): Remove.
4174 (make-target-directory): Remove.
4175 (subdir_install): Remove.
4176 (routines): Remove.
4177 (aux): Remove.
4178 (sources): Remove.
4179 (objects): Remove.
4180 (headers): Remove.
4181
4182 [BZ #13750]
4183 * manual/.gitignore: Remove, it's not needed anymore.
4184 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4185 all files in it.
4186 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4187 directory.
4188 (texis): Renamed to $(objpfx)texis.
4189 (texis-path): New, contains path to generated files.
4190 (chapters.%): Use texis-path for complete path, add extra argument
4191 libc-texinfo.sh.
4192 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4193 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4194 (summary,texi, stamp-summary): Use complete path of
4195 files. Generate files in build dir.
4196 (dir-add.texi): Build in build dir.
4197 (libm-err.texi,stamp-libm-err): Likewise.
4198 (version.texi, stamp-version): Likewise.
4199 (.%c.texi): Likewise.
4200 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4201 (mostlyclean): Remove target.
4202 (realclean): Remove target.
4203 (generated): Add new variable with contents from mostlyclean and
4204 realclean, remove entries duplicated in common-mostlyclean, add
4205 stamp-libm-err and stamp-version.
4206 (generated-dirs): Add libc directory.
4207 ($(inst_infodir)/libc.info): Install files from build dir.
4208
4209 * manual/install.texi (Configuring and compiling): Adjust since
4210 the info files are not part of the tar ball anymore.
4211
7ac77294
AJ
42122012-05-14 Andreas Jaeger <aj@suse.de>
4213
4214 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4215 variable.
4216
ffb7875d
JM
42172012-05-14 Joseph Myers <joseph@codesourcery.com>
4218
4219 [BZ #13717]
4220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4221 to 2.2.0 where earlier.
4222 * sysdeps/unix/sysv/linux/configure: Regenerated.
4223 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4224 Remove conditional code.
4225 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4226 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4227 Remove conditional code.
4228 [!__NR_lchown]: Likewise.
4229 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4230 [__NR_lchown]: Likewise.
4231 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4232 comment referencing __ASSUME_LCHOWN_SYSCALL.
4233 * sysdeps/unix/sysv/linux/i386/sigaction.c
4234 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4235 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4236 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4237 Remove conditional code.
4238 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4239 (__protocol_available): Remove #if 0 code.
4240 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4241 conditional code.
4242 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4243 * sysdeps/unix/sysv/linux/kernel-features.h
4244 (__ASSUME_GETCWD_SYSCALL): Don't define.
4245 (__ASSUME_REALTIME_SIGNALS): Likewise.
4246 (__ASSUME_PREAD_SYSCALL): Likewise.
4247 (__ASSUME_PWRITE_SYSCALL): Likewise.
4248 (__ASSUME_POLL_SYSCALL): Likewise.
4249 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4250 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4251 non-SPARC.
4252 (__ASSUME_SIOCGIFNAME): Don't define.
4253 (__ASSUME_MSG_NOSIGNAL): Likewise.
4254 (__ASSUME_SENDFILE): Define unconditionally.
4255 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4256 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4257 conditional code.
4258 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4259 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4260 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4261 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4262 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4263 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4264 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4266 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4269 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4270 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4272 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4275 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4278 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4281 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4284 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4287 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4289 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4290 Remove conditional code.
4291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4292 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4293 Remove conditional code.
4294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4295 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4296 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4297 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4298 Remove conditional code.
4299 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4300 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4301 Remove conditional code.
4302 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4303 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4304 Remove conditional code.
4305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4306 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4307 Remove conditional code.
4308 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4309 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4310 Remove conditional code.
4311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4312 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4313 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4315 * sysdeps/unix/sysv/linux/sigaction.c
4316 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4317 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4318 * sysdeps/unix/sysv/linux/sigpending.c
4319 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4320 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4321 * sysdeps/unix/sysv/linux/sigprocmask.c
4322 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4323 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4324 * sysdeps/unix/sysv/linux/sigsuspend.c
4325 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4326 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4327 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4328 (__libc_missing_rt_sigs): Remove.
4329 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4330 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4331 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4332 Remove conditional code.
4333 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4334 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4335 return 1.
4336 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4337 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4338 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4339 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4340
1bfb7291
AJ
43412012-05-14 Andreas Jaeger <aj@suse.de>
4342
caae5a81
AJ
4343 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4344 it's not used in glibc.
4345 (__coshm1): Likewise.
4346 (__acosh1p): Likewise.
4347 (__sgn): Likewise.
4348
1bfb7291
AJ
4349 * manual/string.texi (Copying and Concatenation): Add missing
4350 variable in concat example.
4351 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4352
c044d724
L
43532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4354
144c5467 4355 [BZ #14103]
c044d724
L
4356 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4357 __builtin_clzl with __builtin_clzll.
4358
2523c62b
L
43592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4360
4361 [BZ #14104]
4362 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4363 libc_freeres_ptr.
4364
d7bb4c42
LD
43652012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4366
4367 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4368 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4369 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4370 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4371
9dc4e1fb
MF
43722012-05-14 Mike Frysinger <vapier@gentoo.org>
4373
4374 * NEWS: Update ia64 info.
4375
c7df0112
AS
43762012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4377
4378 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4379 used as bcopy.
4380
dc70356c
TS
43812012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4382
4383 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4384 * sysdeps/unix/syscalls.list (dup3): Likewise.
4385 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4386 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4387
9fb1a21f
L
43882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4389
4390 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4391 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4392
4822a2a5
L
43932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4394
4395 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4396 thread pointer.
4397 (TLS_IE): Use mov/add instead of movq/addq to load thread
4398 pointer.
4399 (TLS_GD_PREFIX): New.
4400 (TLS_GD): Use it.
4401
842b81d6
DM
44022012-05-11 David S. Miller <davem@davemloft.net>
4403
4404 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4405 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4406 (_FPU_SETCW): Likewise.
4407
1cf463cd
L
44082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4409
4410 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4411 is 32-byte aligned.
4412
60cc4a18
AS
44132012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4414
4415 [BZ #11837]
4416 * iconvdata/gb18030.c: Update tables.
4417 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4418 characters specially.
4419 (BODY for TO_LOOP): Add encoding of missing ranges.
4420
febb44a4
TS
44212012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4422
4423 [BZ #13673]
4424 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4425 * sysdeps/mach/hurd/dup3.c: Likewise.
4426 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4427 * sysdeps/powerpc/memmove.c:: Likewise.
4428
0a10fb9e
L
44292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4430
4431 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4432 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4433
df8a552f
L
44342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4435
4436 * elf/elf.h (R_X86_64_RELATIVE64): New.
4437 (R_X86_64_NUM): Updated.
4438 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4439 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4440 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4441 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4442 tst-quad1pie tst-quad2pie
4443 (modules-names): Add tst-quadmod1 tst-quadmod2.
4444 ($(objpfx)tst-quad1): New dependency.
4445 ($(objpfx)tst-quad2): Likewise.
4446 ($(objpfx)tst-quad1pie): Likewise.
4447 ($(objpfx)tst-quad2pie): Likewise.
4448 * sysdeps/x86_64/tst-quad1.c: New file.
4449 * sysdeps/x86_64/tst-quad1pie.c: New file.
4450 * sysdeps/x86_64/tst-quad2.c: Likewise.
4451 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4452 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4453 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4454 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4455 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4456
f34d6f84
ST
44572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4458
f42d41d1
ST
4459 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4460 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4461 * streams/stropts.h (t_scalar_t): Define type.
4462
3c3571fc
ST
4463 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4464 (_PATH_PRESERVE): Set to "/var/lib".
4465 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4466
61f06bd3
ST
4467 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4468 instead of int.
4469
918d4d71
ST
4470 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4471 if __dir_mkfile succeeded.
4472
f34d6f84
ST
4473 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4474 checking for _hurd_dtablesize. Unlock it right after having
4475 finished _hurd_dtable allocation.
4476
10589b4a
TS
44772012-05-10 Thomas Schwinge <thomas@schwinge.name>
4478
674cdbc7
TS
4479 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4480 * sysdeps/mach/hurd/configure: Regenerated.
4481 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4482 special-casing to...
4483 * sysdeps/gnu/configure.in: ... this new file.
4484 * sysdeps/unix/sysv/linux/configure: Regenerated.
4485 * sysdeps/gnu/configure: New generated file.
4486
8e41b99f
TS
4487 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4488 for Linux: use nsec instead of usec, as well as:
4489 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4490 members of type struct timespec.
4491 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4492 New macros.
4493 (struct stat64): Likewise.
4494 (_STATBUF_ST_NSEC): New macro.
4495 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4496
10589b4a
TS
4497 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4498 __strtoul_internal rather than strtoul.
4499
63643c85
PT
45002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4501
4502 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4503 and reject them.
4504
3faebe6a
ST
45052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4506
4507 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4508 which preserves existing values.
4509 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4510
c6474b07
PT
45112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4512
4513 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4514 TIMEOUT values. Return EINVAL for NFDS values either negative or
4515 greater than FD_SETSIZE.
4516
1043890b
ST
45172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4518
4519 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4520 allocated, call __vm_protect to finish enabling the existing space, and
4521 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4522 allocate the remainder.
4523
37ed8b9b
PT
45242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4525
4526 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4527 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4528
db653660
ST
45292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4530
37ed8b9b
PT
4531 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4532 sysdeps/mach/hurd/readlink.c.
b29d4053 4533
db653660
ST
4534 * posix/tst-sysconf.c (posix_options): Only use
4535 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4536 _POSIX_SYNCHRONIZED_IO when they are defined
4537 * sysdeps/mach/hurd/bits/posix_opt.h:
4538 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4539 (_XOPEN_REALTIME): Undefine macro.
4540 (_XOPEN_REALTIME_THREADS): Undefine macro.
4541 (_XOPEN_SHM): Undefine macro.
4542 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4543 macro to -1.
4544 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4545 macro to -1.
4546 (_POSIX_ASYNC_IO): Undefine macro.
4547 (_POSIX_PRIORITIZED_IO): Undefine macro.
4548 (_POSIX_SPIN_LOCKS): Define macro to -1.
4549
ee16e894
ST
4550 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4551 SA_NODEFER, SA_RESETHAND.
4552 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4553 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4554 F_DUPFD_CLOEXEC.
4555
6103ae3b
TS
45562012-05-10 Thomas Schwinge <thomas@schwinge.name>
4557
4558 * elf/Makefile (pldd-modules): Define unconditionally.
4559
80b4e5f3
TS
45602012-05-10 Thomas Schwinge <thomas@schwinge.name>
4561
4562 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4563
edadcbd6
ST
45642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4565
4566 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4567 Return ENOENT when name is empty.
4568 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4569
80694780
TS
45702012-05-10 Thomas Schwinge <thomas@schwinge.name>
4571
1792c087
TS
4572 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4573
80694780
TS
4574 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4575
6b645f0d
ST
45762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4577
80694780
TS
4578 Fix mlock in all cases except non-readable pages.
4579 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4580 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4581
6b645f0d
ST
4582 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4583 (__mkdir): When path is `/', just fail with EEXIST.
4584 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4585
e468f8a3
TS
45862012-05-10 Thomas Schwinge <thomas@schwinge.name>
4587
4588 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4589 <sys/uio.h> (for writev).
4590 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4591 and <sys/param.h> (for MIN).
4592
a4186cff
PT
45932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4594
4595 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4596 REQUESTED_TIME. Properly set the remaining time and return EINTR
4597 if interrupted.
4598
510bbf14
TS
45992012-05-10 Thomas Schwinge <thomas@schwinge.name>
4600
4601 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4602 Depend on against $(link-rpcuserlibs).
4603
5d5722e8
ST
46042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4605
a4186cff
PT
4606 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4607 (__libc_stack_end): Do not use attribute_relro.
4608 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4609 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4610 to libthread-provided value.
a4186cff
PT
4611 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4612 attribute_relro.
5d5722e8 4613
37233df9
TS
46142012-05-10 Thomas Schwinge <thomas@schwinge.name>
4615
be971a2b
TS
4616 [BZ #3748]
4617 * bits/libc-lock.h (__libc_once_get): New macro.
4618 * sysdeps/mach/bits/libc-lock.h: Likewise.
4619 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4621 instead of using implementation details.
4622
37233df9
TS
4623 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4624 * libio/freopen.c: Likewise.
4625 * libio/freopen64.c: Likewise.
4626 * misc/syslog.c: Likewise.
4627 * nscd/connections.c: Likewise.
4628 * nscd/netgroupcache.c: Likewise.
4629 * sysdeps/posix/getcwd.c: Likewise.
4630
38de94a5
RM
46312012-05-10 Roland McGrath <roland@hack.frob.com>
4632
4633 * math/w_ilogbf.c: Add #include <limits.h>.
4634
67530489
ST
46352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4636
a4186cff 4637 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4638 path instead of returning without unlocking.
4639
67530489
ST
4640 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4641 immediate-write ioctls.
4642 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4643
5aa3a74a
TS
46442012-05-10 Thomas Schwinge <thomas@schwinge.name>
4645
18bad2ae
TS
4646 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4647 __builtin_frame_address instead of making assumptions about the
4648 location of the return address relative to DATA. Force early load of
4649 the return address.
4650 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4651 __builtin_frame_address.
4652
5aa3a74a
TS
4653 dup3 for GNU Hurd.
4654 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4655 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4656 implement dup3 and do some further code clean-ups.
4657 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4658 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4659
ecd0de9a
ST
46602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4661
cd9fa985
ST
4662 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4663
a4186cff
PT
4664 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4665 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4666 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4667 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4668 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4669 d->port.lock.
802ca5a5 4670
a4186cff
PT
4671 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4672 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4673 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4674
bcf55240
TS
46752012-05-10 Thomas Schwinge <thomas@schwinge.name>
4676
6960eb42
TS
4677 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4678 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4679 definitions.
4680
eb43375f
TS
4681 accept4 for GNU Hurd.
4682 * include/sys/socket.h (__libc_accept4): New prototype.
4683 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4684 to implement __libc_accept4.
4685 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4686 __libc_accept4.
4687 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4688
bcf55240
TS
4689 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4690 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4691 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4692 signal-defines.sym.
4693
6178c55b
ST
46942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4695
a4186cff 4696 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4697
6f080c2f
TS
46982012-05-10 Thomas Schwinge <thomas@schwinge.name>
4699
4700 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4701 assertion on O_CLOEXEC flag.
4702 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4703 * hurd/intern-fd.c: Likewise.
4704 * hurd/port2fd.c: Likewise.
4705
bcfe3a54
ST
47062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4707
4708 [BZ #3906]
4709 * bits/in.h (IPV6_PKTINFO): Define new macro.
4710 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4711
89c9aa49
AZ
47122012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4713
4714 [BZ #13954]
4715 [BZ #13955]
4716 [BZ #13956]
4717 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4719 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4720 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4721 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4722 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4723 * math/libm-test.inc (logb_test) : Additional logb tests.
4724
021db4be
AJ
47252012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4726 Andreas Jaeger <aj@suse.de>
4727
4728 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4729 * configure: Regenerated.
4730 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4731 * config.make.in (link-obsolete-rpc): New substituted variable.
4732 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4733 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4734 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4735 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4736 so that libc.a contains the symbols.
4737 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4738 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4739 * sunrpc/auth_none.c: Likewise.
4740 * sunrpc/auth_unix.c: Likewise.
4741 * sunrpc/authdes_prot.c: Likewise.
4742 * sunrpc/authuxprot.c: Likewise.
4743 * sunrpc/clnt_gen.c: Likewise.
4744 * sunrpc/clnt_perr.c: Likewise.
4745 * sunrpc/clnt_raw.c: Likewise.
4746 * sunrpc/clnt_simp.c: Likewise.
4747 * sunrpc/clnt_tcp.c: Likewise.
4748 * sunrpc/clnt_udp.c: Likewise.
4749 * sunrpc/clnt_unix.c: Likewise.
4750 * sunrpc/des_crypt.c: Likewise.
4751 * sunrpc/des_soft.c: Likewise.
4752 * sunrpc/get_myaddr.c: Likewise.
4753 * sunrpc/key_call.c: Likewise.
4754 * sunrpc/key_prot.c: Likewise.
4755 * sunrpc/netname.c: Likewise.
4756 * sunrpc/pm_getmaps.c: Likewise.
4757 * sunrpc/pm_getport.c: Likewise.
4758 * sunrpc/pmap_clnt.c: Likewise.
4759 * sunrpc/pmap_prot.c: Likewise.
4760 * sunrpc/pmap_prot2.c: Likewise.
4761 * sunrpc/pmap_rmt.c: Likewise.
4762 * sunrpc/publickey.c: Likewise.
4763 * sunrpc/rpc_cmsg.c: Likewise.
4764 * sunrpc/rpc_common.c: Likewise.
4765 * sunrpc/rpc_dtable.c: Likewise.
4766 * sunrpc/rpc_prot.c: Likewise.
4767 * sunrpc/rpc_thread.c: Likewise.
4768 * sunrpc/rtime.c: Likewise.
4769 * sunrpc/svc.c: Likewise.
4770 * sunrpc/svc_auth.c: Likewise.
4771 * sunrpc/svc_raw.c: Likewise.
4772 * sunrpc/svc_run.c: Likewise.
4773 * sunrpc/svc_tcp.c: Likewise.
4774 * sunrpc/svc_udp.c: Likewise.
4775 * sunrpc/svc_unix.c: Likewise.
4776 * sunrpc/svcauth_des.c: Likewise.
4777 * sunrpc/xcrypt.c: Likewise.
4778 * sunrpc/xdr.c: Likewise.
4779 * sunrpc/xdr_array.c: Likewise.
4780 * sunrpc/xdr_float.c: Likewise.
4781 * sunrpc/xdr_intXX_t.c: Likewise.
4782 * sunrpc/xdr_mem.c: Likewise.
4783 * sunrpc/xdr_rec.c: Likewise.
4784 * sunrpc/xdr_ref.c: Likewise.
4785 * sunrpc/xdr_sizeof.c: Likewise.
4786 * sunrpc/xdr_stdio.c: Likewise.
4787
b5c086a2
RM
47882012-05-10 Roland McGrath <roland@hack.frob.com>
4789
4790 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4791 change. Update copyright years.
4792
6d74dd09
JM
47932012-05-10 Joseph Myers <joseph@codesourcery.com>
4794
4795 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4796
28e72501
MK
47972012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4798 Joseph Myers <joseph@codesourcery.com>
4799 Paul Pluzhnikov <ppluzhnikov@google.com>
4800
4801 [BZ #14012]
4802 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4803 requiring rpcgen.
4804 [cross-compiling] (extra-libs): Likewise.
4805 [cross-compiling] (extra-libs-others): Likewise.
4806 [cross-compiling] (librpcsvc-routines): Likewise.
4807 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4808 [cross-compiling] (omit-deps): Likewise.
4809 (sunrpc-CPPFLAGS): New variable.
4810 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4811 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4812 (cross-rpcgen-objs): New variable.
4813 (extra-objs): Append $(cross-rpcgen-objs).
4814 ($(cross-rpcgen-objs)): New rule.
4815 ($(objpfx)cross-rpcgen): Likewise.
4816 (rpcgen-cmd): Define to use $(built-program-file). Expand
4817 comment.
4818 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4819 ($(objpfx)x%.stmp): Likewise.
4820 * sunrpc/proto.h [IS_IN_build] (_): Define.
4821 [IS_IN_build] (_libc_intl_domainname): Likewise.
4822
c8c59454
L
48232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4824
4825 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4826 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4827 and R_X86_64_TPOFF64.
4828
6f27cd16
JM
48292012-05-10 Joseph Myers <joseph@codesourcery.com>
4830
4831 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4832 sysdeps/unix/sysv/syscalls.list.
4833 (stime): Likewise.
4834 (utime): Likewise.
4835 * sysdeps/unix/sysv/syscalls.list: Remove file.
4836
02467e1c
PE
48372012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4838
4839 [BZ #3440]
4840 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4841 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4842 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4843 (__LC_IDENTIFICATION): Make these macros useful in #if
4844 expressions, as required by C99.
4845
da392631
AS
48462012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4847
4848 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4849 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4850 after this.
4851
8115f29b
L
48522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4853
4854 * stdlib/longlong.h: Updated from GCC.
4855
bdd74070
AJ
48562012-05-09 Andreas Jaeger <aj@suse.de>
4857
edfe0dbe
AJ
4858 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4859 default is first entry.
4860 (run_mode): Set type.
4861 (main): Remove informal message about syslog.
4862 (options): Fix typo.
4863
bcfe3a54
ST
4864 [BZ #14053]
4865 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4866 to asm.
bcfe3a54
ST
4867 (lrint): Likewise.
4868 (llrintf): Likewise.
4869 (llrint): Likewise.
4870 (rint): Likewise.
4871 (rintf): Likewise.
4872 (nearbyint): Likewise.
4873 (nearbyintf): Likewise.
bdd74070 4874
91d8d69e
AJ
48752012-05-09 Andreas Jaeger <aj@suse.de>
4876 Pedro Alves <palves@redhat.com>
4877
4878 * nscd/nscd.c (run_mode): Use enum.
4879 (main): Cleanup coding style issue.
4880
bb90b80b
AJ
48812012-05-09 Alexandre Oliva <aoliva@redhat.com>
4882 Andreas Jaeger <aj@suse.de>
4883
bcfe3a54
ST
4884 * nscd/nscd.c (go_background): Replaced with...
4885 (run_mode): ... this.
bb90b80b 4886 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4887 (options): Add -F --foreground.
4888 (main): Implement it.
4889 (parse_opt): Parse it.
bb90b80b 4890
1a4b75a1
AJ
48912012-05-09 Andreas Jaeger <aj@suse.de>
4892
4893 [BZ #14083]
4894 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4895 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4896 -Wconversion warning.
4897 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4898 Likewise.
4899
b1cc2472
JM
49002012-05-09 Joseph Myers <joseph@codesourcery.com>
4901
4902 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4903 == 0.
4904 (LC_ALL): Use macro-int-constant.
4905 (LC_COLLATE): Likewise.
4906 (LC_CTYPE): Likewise.
4907 (LC_MESSAGES): Likewise.
4908 (LC_MONETARY): Likewise.
4909 (LC_NUMERIC): Likewise.
4910 (LC_TIME): Likewise.
4911 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4912 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4913 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4914 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4915 Specify type.
4916 [C99-based standards] (float_t): Expect type.
4917 [C99-based standards] (double_t): Expect type.
4918 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4919 type.
4920 [C99-based standards] (HUGE_VALL): Likewise.
4921 [C99-based standards] (INFINITY): Likewise.
4922 [C99-based standards] (NAN): Likewise.
4923 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4924 [C99-based standards] (FP_NAN): Likewise.
4925 [C99-based standards] (FP_NORMAL): Likewise.
4926 [C99-based standards] (FP_SUBNORMAL): Likewise.
4927 [C99-based standards] (FP_ZERO): Likewise.
4928 [C99-based standards] (FP_FAST_FMA): Use
4929 optional-macro-int-constant. Specify type. Require == 1.
4930 [C99-based standards] (FP_FAST_FMAF): Likewise.
4931 [C99-based standards] (FP_FAST_FMAL): Likewise.
4932 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4933 [C99-based standards] (FP_ILOGBNAN): Likewise.
4934 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4935 Specify type.
4936 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4937 [C99-based standards] (math_errhandling): Specify type.
4938 [ISO99 || ISO11] (signgam): Do not allow.
4939 [non-C99-based standards] (copysignf): Do not allow.
4940 [non-C99-based standards] (exp2f): Likewise.
4941 [non-C99-based standards] (log2f): Likewise.
4942 [non-C99-based standards] (modff): Allow.
4943 [non-C99-based standards] (erff): Do not allow.
4944 [non-C99-based standards] (erfcf): Likewise.
4945 [non-C99-based standards] (gammaf): Likewise.
4946 [non-C99-based standards] (hypotf): Likewise.
4947 [non-C99-based standards] (j0f): Likewise.
4948 [non-C99-based standards] (j1f): Likewise.
4949 [non-C99-based standards] (jnf): Likewise.
4950 [non-C99-based standards] (lgammaf): Likewise.
4951 [non-C99-based standards] (tgammaf): Likewise.
4952 [non-C99-based standards] (y0f): Likewise.
4953 [non-C99-based standards] (y1f): Likewise.
4954 [non-C99-based standards] (ynf): Likewise.
4955 [non-C99-based standards] (isnanf): Likewise.
4956 [non-C99-based standards] (acoshf): Likewise.
4957 [non-C99-based standards] (asinhf): Likewise.
4958 [non-C99-based standards] (atanhf): Likewise.
4959 [non-C99-based standards] (cbrtf): Likewise.
4960 [non-C99-based standards] (expm1f): Likewise.
4961 [non-C99-based standards] (ilogbf): Likewise.
4962 [non-C99-based standards] (log1pf): Likewise.
4963 [non-C99-based standards] (logbf): Likewise.
4964 [non-C99-based standards] (nextafterf): Likewise.
4965 [non-C99-based standards] (remainderf): Likewise.
4966 [non-C99-based standards] (rintf): Likewise.
4967 [non-C99-based standards] (scalbf): Likewise.
4968 [non-C99-based standards] (copysignl): Likewise.
4969 [non-C99-based standards] (exp2l): Likewise.
4970 [non-C99-based standards] (log2l): Likewise.
4971 [non-C99-based standards] (modfl): Allow.
4972 [non-C99-based standards] (erfl): Do not allow.
4973 [non-C99-based standards] (erfcl): Likewise.
4974 [non-C99-based standards] (gammal): Likewise.
4975 [non-C99-based standards] (hypotl): Likewise.
4976 [non-C99-based standards] (j0l): Likewise.
4977 [non-C99-based standards] (j1l): Likewise.
4978 [non-C99-based standards] (jnl): Likewise.
4979 [non-C99-based standards] (lgammal): Likewise.
4980 [non-C99-based standards] (tgammal): Likewise.
4981 [non-C99-based standards] (y0l): Likewise.
4982 [non-C99-based standards] (y1l): Likewise.
4983 [non-C99-based standards] (ynl): Likewise.
4984 [non-C99-based standards] (isnanl): Likewise.
4985 [non-C99-based standards] (acoshl): Likewise.
4986 [non-C99-based standards] (asinhl): Likewise.
4987 [non-C99-based standards] (atanhl): Likewise.
4988 [non-C99-based standards] (cbrtl): Likewise.
4989 [non-C99-based standards] (expm1l): Likewise.
4990 [non-C99-based standards] (ilogbl): Likewise.
4991 [non-C99-based standards] (log1pl): Likewise.
4992 [non-C99-based standards] (logbl): Likewise.
4993 [non-C99-based standards] (nextafterl): Likewise.
4994 [non-C99-based standards] (remainderl): Likewise.
4995 [non-C99-based standards] (rintl): Likewise.
4996 [non-C99-based standards] (scalbl): Likewise.
4997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4998 [non-C99-based standards] (FP_*): Do not allow.
4999 [C99-based standards] (FP_*): Change to
5000 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5001 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5002 allow.
5003 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5004 (SIG_ERR): Likewise.
5005 [X/Open-based standards] (SIG_HOLD): Likewise.
5006 (SIG_IGN): Likewise.
5007 (SIGABRT): Use macro-int-constant. Specify type. Require
5008 positive value.
5009 (SIGFPE): Likewise.
5010 (SIGILL): Likewise.
5011 (SIGINT): Likewise.
5012 (SIGSEGV): Likewise.
5013 (SIGTER): Likewise.
5014 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5015 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5016 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5017 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5019 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5020 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5021 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5022 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5023 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5024 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5025 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5026 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5027 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5028 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5029 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5030 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5031 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5032 [X/Open-based standards] (SIGTRAP): Likewise.
5033 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5034 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5035 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5036 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5037 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5038 allow.
5039
b9f1922d
IW
50402012-05-08 Ian Wienand <ianw@vmware.com>
5041
5042 [BZ #14080]
5043 * time/tzset.c (__tzset_parse_tz): Update default rules for
5044 daylight time changes in the Energy Policy Act of 2005.
5045
1db86e88
AJ
50462012-05-09 Andreas Jaeger <aj@suse.de>
5047
5048 [BZ #13983]
5049 * elf/ldconfig.c (parse_conf): Change string to make clear that
5050 ldconfig only issued a warning if ld.so.conf does not exist.
5051
dee4a4e3
DM
50522012-05-08 David S. Miller <davem@davemloft.net>
5053
ee0db190
DM
5054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5055 movxtod instead of popping the value on the stack.
5056
dee4a4e3
DM
5057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5058
6a43ec98
CD
50592012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5060
5061 * config.h.in: Add HAVE_ARM_PCS_VFP.
5062
05c2c961
RMG
50632012-05-08 Roland Mc Grath <roland@hack.frob.com>
5064
bcfe3a54
ST
5065 [BZ #13979]
5066 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5067 checking but the checks are disabled for any reason.
05c2c961 5068
4b30f61a
L
50692012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5070
5071 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5072 and ELF64_R_TYPE with ELFW(R_TYPE).
5073
eee2bc67
JM
50742012-05-08 Joseph Myers <joseph@codesourcery.com>
5075
7ea5391a
JM
5076 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5077 (ulimit): Likewise.
5078
eee2bc67
JM
5079 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5080 (settimeofday): Likewise.
5081
abb66a67
MF
50822012-05-08 Mike Frysinger <vapier@gentoo.org>
5083
5084 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5085 a struct th_u2 inside the union, and move tu_block/tu_code into
5086 a new th_u3 union of tu_block/tu_code inside of that. Move
5087 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5088 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5089 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5090 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5091 (th_stuff): Change to th_u1.tu_stuff.
5092 (th_data): Define.
5093 (th_msg): Change to th_u1.th_u2.tu_data.
5094
7f18b530
DM
50952012-05-07 David S. Miller <davem@davemloft.net>
5096
05760585
DM
5097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5098
7f18b530
DM
5099 [BZ #14074]
5100 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5101 (SETUP_PIC_REG): Use it.
5102 (SETUP_PIC_REG_LEAF): Use it.
5103
495fd99f
JM
51042012-05-07 Joseph Myers <joseph@codesourcery.com>
5105
5106 [BZ #13885]
5107 [BZ #13923]
5108 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5109 USE_AS_EXPM1L.
5110 (EXPL_FINITE): Likewise.
5111 (FLDLOG): Likewise.
5112 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5113 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5114 e_expl.S.
5115 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5116 USE_AS_EXPM1L.
5117 (EXPL_FINITE): Likewise.
5118 (FLDLOG): Likewise.
5119 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5120 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5121 e_expl.S.
5122 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5123 test of -max_value argument for long double.
5124 * sysdeps/i386/fpu/libm-test-ulps: Update.
5125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5126
6693d694
DM
51272012-05-06 David S. Miller <davem@davemloft.net>
5128
5129 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5130 quad soft-float symbols whose references which are compiler
5131 generated.
5132 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5133
6c23e11c
JM
51342012-05-06 Joseph Myers <joseph@codesourcery.com>
5135
d8b82cad
JM
5136 [BZ #13884]
5137 [BZ #13914]
5138 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5139 USE_AS_EXP10L.
5140 (EXPL_FINITE): Likewise.
5141 (FLDLOG): Likewise.
5142 (c0): Likewise.
5143 (c1): Likewise.
5144 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5145 Adjust comments for base varying.
5146 (__expl_finite): Change alias to EXPL_FINITE.
5147 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5148 e_expl.S.
5149 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5150 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5151 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5152 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5153 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5154 USE_AS_EXP10L.
5155 (EXPL_FINITE): Likewise.
5156 (FLDLOG): Likewise.
5157 (c0): Likewise.
5158 (c1): Likewise.
5159 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5160 Adjust comments for base varying.
5161 (__expl_finite): Change alias to EXPL_FINITE.
5162 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5163 tests for bugs.
5164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5165
6c23e11c
JM
5166 [BZ #14064]
5167 * math/libm-test.inc (check_float_internal): Correct ulp
5168 calculation for subnormal expected results.
5169
29ba805c
AJ
51702012-05-06 Andreas Jaeger <aj@suse.de>
5171
5172 * Makeconfig (+math-flags): New, set to -frounding-math.
5173 (+cflags): Add +math-flags so that all of glibc gets compiled with
5174 it.
5175
5176 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5177
7b17aeda
JM
51782012-05-05 Joseph Myers <joseph@codesourcery.com>
5179
5779f134
JM
5180 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5181 Disable one test.
5182
41498f4d
JM
5183 [BZ #13787]
5184 [BZ #13922]
5185 [BZ #14036]
5186 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5187 (__ieee754_expl): Allow for and saturate large arguments.
5188 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5189 (u_threshold): Likewise.
5190 (__exp): Call __ieee754_exp before checking for overflow and
5191 underflow.
5192 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5193 (u_threshold): Likewise.
5194 (__expf): Call __ieee754_expf before checking for overflow and
5195 underflow.
5196 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5197 (u_threshold): Likewise.
5198 (__expl): Call __ieee754_expl before checking for overflow and
5199 underflow.
5200 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5201 (__ieee754_expl): Allow for and saturate large arguments.
5202 * math/libm-test.inc (exp_test): Add another test. Do not allow
5203 missing overflow exception on overflow.
5204 (expm1_test): Do not allow missing overflow exception on overflow.
5205
6698b8bf
JM
5206 * sysdeps/i386/fpu/e_expl.c: Move to ...
5207 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5208 rather than using inline asm.
5209 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5210 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5211 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5212
7b17aeda
JM
5213 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5214 (nice): Likewise.
5215 (poll): Likewise.
5216 (signal): Likewise.
5217 (time): Likewise.
5218 (times): Likewise.
5219
f7c85819
JM
52202012-05-04 Joseph Myers <joseph@codesourcery.com>
5221
5222 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5223 sysdeps/unix/common/syscalls.list.
5224 (fchmod): Likewise.
5225 (fchown): Likewise.
5226 (ftruncate): Likewise.
5227 (getrusage): Likewise.
5228 (gettimeofday): Likewise.
5229 (setpgid): Likewise.
5230 (setregid): Likewise.
5231 (setreuid): Likewise.
5232 (sigaction): Likewise.
5233 (truncate): Likewise.
5234 (vhangup): Likewise.
5235 * sysdeps/unix/common/syscalls.list: Remove file.
5236 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5237 * sysdeps/unix/sysv/linux/Implies: Likewise.
5238
336270d0
L
52392012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5240
5241 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5243 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5244 Moved to ...
5245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5246 Here.
5247 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5248 to ...
5249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5250 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5251 to ...
5252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5253 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5254 to ...
5255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5256 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5257 to ...
5258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5259 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5260 to ...
5261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5262 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5263 to ...
5264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5265 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5266 to ...
5267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5268 Here.
5269 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5270 to ...
5271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5272 Here.
5273 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5274 to ...
5275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5276 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5277 Moved to ...
5278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5279 Here.
5280 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5281 to ...
5282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5283
d128e450
JM
52842012-05-04 Joseph Myers <joseph@codesourcery.com>
5285
fa8ee516
JM
5286 * sysdeps/unix/common/bits/dirent.h: Remove file.
5287 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5288
d128e450
JM
5289 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5290 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5291 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5292 * sysdeps/unix/bsd/isatty.c: Likewise.
5293 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5294 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5295 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5296
ff8faaf0 52972012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5298
62881be4 5299 [BZ #13563]
31dc8730
AZ
5300 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5301 long double comparison inaccuracies.
5302 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5304
6fef930c
AS
53052012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5306
5307 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5308 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5309
8f203e6c
JM
53102012-05-04 Joseph Myers <joseph@codesourcery.com>
5311
5312 [BZ #14049]
5313 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5314 nonzero digits before rounding a hex value.
5315 * stdlib/tst-strtod.c (tests): Add another test.
5316
5197d9c2
AK
53172012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5318
5319 * sysdeps/s390/fpu/libm-test-ulps: Update.
5320
f0c1dedf
AJ
53212012-05-03 Andreas Jaeger <aj@suse.de>
5322
5323 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5324 does not get optimized out.
5325 (malloc_opt_barrier): New.
5326
a65ef2ae 53272012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5328 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5329
2b942cb7 5330 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5331 intermediate file deletion.
2b942cb7 5332 (generated): Add .symlist files.
a65ef2ae 5333
54b71e02
JM
53342012-05-03 Joseph Myers <joseph@codesourcery.com>
5335
5336 [BZ #13775]
5337 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5338 Redirect under this condition.
5339 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5340 [__USE_GNU] (__dprintf_chk): Not under this condition.
5341 [__USE_GNU] (__vdprintf_chk): Likewise.
5342 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5343 under this condition.
5344 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5345 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5346 [__USE_XOPEN2K8] (vdprintf): Likewise.
5347 [__USE_GNU] (__dprintf_chk): Not under this condition.
5348 [__USE_GNU] (__vdprintf_chk): Likewise.
5349 [__USE_GNU] (dprintf): Likewise.
5350 [__USE_GNU] (vdprintf): Likewise.
5351
d3dfcc41
RM
53522012-05-03 Roland McGrath <roland@hack.frob.com>
5353
5354 * elf/Makefile (common-generated): Set this instead of generated for
5355 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5356 $(all-built-dso)-derived lists.
5357
7ac30cc5
AJ
53582012-05-03 Andreas Jaeger <aj@suse.de>
5359
0c51e550
AJ
5360 * sysdeps/i386/fpu/libm-test-ulps: Update.
5361
7ac30cc5
AJ
5362 * FAQ: Removed.
5363 * FAQ.in: Likewise.
5364 * scripts/gen-FAQ.pl: Likewise.
5365 * manual/install.texi (Installation): Point to online location of
5366 FAQ.
5367 * Makefile (files-for-dist): Remove FAQ.
5368 (FAQ): Remove.
5369
d4c2917f
AM
53702012-05-02 Allan McRae <allan@archlinux.org>
5371
5372 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5373 (LDFLAGS-reldepmod5.so): Likewise.
5374 (LDFLAGS-reldep6mod1.so): Likewise.
5375 (LDFLAGS-reldep6mod4.so): Likewise.
5376 (LDFLAGS-reldep8mod3.so): Likewise.
5377 (LDFLAGS-unload4mod1.so): Likewise.
5378 (LDFLAGS-unload4mod2.so): Likewise.
5379 (LDFLAGS-tst-initorder): Likewise.
5380 (LDFLAGS-tst-initordera2.so): Likewise.
5381 (LDFLAGS-tst-initordera3.so): Likewise.
5382 (LDFLAGS-tst-initordera4.so): Likewise.
5383 (LDFLAGS-tst-initorderb2.so): Likewise.
5384 (LDFLAGS-noload): Likewise.
5385 (LDFLAGS-next): Likewise.
5386 (LDFLAGS-order2mod1.so): Likewise.
5387 (LDFLAGS-order2mod2.so): Likewise.
5388 (LDFLAGS-tst-initorder2): Likewise.
5389 (LDFLAGS-tst-initorder2a.so): Likewise.
5390 (LDFLAGS-tst-initorder2b.so): Likewise.
5391 (LDFLAGS-tst-initorder2c.so): Likewise.
5392 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5393
d77f993f
DM
53942012-05-02 David S. Miller <davem@davemloft.net>
5395
5396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5397
171a70b4
PP
53982012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5399
5400 [BZ #14055]
5401 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5402
0be196ad
AJ
54032012-05-02 Andreas Jaeger <aj@suse.de>
5404
5405 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5406 since we manipulate rounding mode.
5407 (CPPFLAGS-test-idouble.c): Likewise.
5408 (CPPFLAGS-test-ifloat.c): Likewise.
5409 (CFLAGS-test-ldouble.c): Likewise.
5410 (CFLAGS-test-double.c): Likewise.
5411 (CFLAGS-test-float.c): Likewise.
5412 (CFLAGS-test-misc.c): Likewise.
5413 (CFLAGS-test-test-fenv.c): Likewise.
5414
4f9d04aa
AZ
54152012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5416
2b942cb7
RM
5417 [BZ #2550]
5418 [BZ #2570]
5419 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5420 comparisons to determine direction to adjust input.
4f9d04aa 5421
82a79e7d
RM
54222012-05-01 Roland McGrath <roland@hack.frob.com>
5423
f5a01ca9
RM
5424 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5425 output to the target.
5426
90fe4186
RM
5427 * scripts/localplt.awk: New file.
5428 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5429 (check-localplt-CFLAGS): Variable removed.
5430 ($(all-built-dso:=.jmprel)): New static pattern rule.
5431 (generated): Add those targets.
5432 (localplt-built-dso): New variable.
5433 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5434
5435 * elf/check-localplt.c: File removed.
5436
82397ed6
RM
5437 * scripts/check-execstack.awk: New file.
5438 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5439 (check-execstack-CFLAGS): Variable removed.
5440 ($(objpfx)check-execstack.h): Target removed.
5441 ($(objpfx)execstack-default): New target.
5442 (generated): Add that instead of check-execstack.h.
5443 ($(all-built-dso:=.phdr)): New static pattern rule.
5444 (generated): Add those targets.
5445 * elf/check-execstack.c: File removed.
5446
82a79e7d
RM
5447 * scripts/check-textrel.awk: New file.
5448 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5449 (check-textrel-CFLAGS): Variable removed.
5450 (all-built-dso): Use := to define.o
5451 ($(all-built-dso:=.dyn)): New static pattern rule.
5452 (generated): Add those targets.
5453 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5454 * config.make.in (READELF): New substituted variable.
5455 * elf/check-textrel.c: File removed.
5456
62fde54f 54572012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5458
615605c9
JM
5459 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5460 allow.
5461 * conform/data/ctype.h-data [C99-based standards] (isblank):
5462 Expect function.
5463 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5464 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5465 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5466 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5467 Specify type. Require positive value.
5468 (EILSEQ): Likewise.
5469 (ERANGE): Likewise.
5470 [ISO || POSIX] (EILSEQ): Do not expect.
5471 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5472 Specify type. Require positive value.
5473 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5474 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5475 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5476 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5477 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5478 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5479 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5480 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5481 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5482 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5483 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5484 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5485 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5486 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5487 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5488 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5489 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5490 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5491 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5492 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5493 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5494 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5495 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5496 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5497 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5498 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5499 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5500 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5501 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5502 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5503 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5504 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5505 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5506 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5507 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5508 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5509 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5510 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5511 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5512 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5513 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5514 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5515 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5516 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5517 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5518 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5519 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5520 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5521 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5522 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5523 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5524 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5525 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5526 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5527 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5528 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5529 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5530 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5531 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5532 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5533 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5534 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5535 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5536 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5537 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5538 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5539 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5540 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5541 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5542 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5543 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5544 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5545 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5546 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5547 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5548 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5549 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5550 Require >= 2.
5551 (FLT_ROUNDS): Expect as macro, not constant.
5552 (FLT_MANT_DIG): Use macro-int-constant.
5553 (DBL_MANT_DIG): Likewise.
5554 (LDBL_MANT_DIG): Likewise.
5555 (FLT_DIG): Likewise.
5556 (DBL_DIG): Likewise.
5557 (LDBL_DIG): Likewise.
5558 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5559 (DBL_MIN_EXP): Likewise.
5560 (LDBL_MIN_EXP): Likewise.
5561 (FLT_MAX_EXP): Use macro-int-constant.
5562 (DBL_MAX_EXP): Likewise.
5563 (LDBL_MAX_EXP): Likewise.
5564 (FLT_MAX_10_EXP): Likewise.
5565 (DBL_MAX_10_EXP): Likewise.
5566 (LDBL_MAX_10_EXP): Likewise.
5567 (FLT_MAX): Use macro-constant.
5568 (DBL_MAX): Likewise.
5569 (LDBL_MAX): Likewise.
5570 (FLT_EPSILON): Use macro-constant. Give upper bound.
5571 (DBL_EPSILON): Likewise.
5572 (LDBL_EPSILON): Likewise.
5573 (FLT_MIN): Likewise.
5574 (DBL_MIN): Likewise.
5575 (LDBL_MIN): Likewise.
5576 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5577 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5578 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5579 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5580 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5581 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5582 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5583 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5584 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5585 [ISO11] (FLT_TRUE_MIN): Likewise.
5586 [ISO11] (LDBL_TRUE_MIN): Likewise.
5587 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5588 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5589 (SCHAR_MIN): Use macro-int-constant. Specify type.
5590 (SCHAR_MAX): Likewise.
5591 (UCHAR_MAX): Likewise.
5592 (CHAR_MIN): Likewise.
5593 (CHAR_MAX): Likewise.
5594 (MB_LEN_MAX): Use macro-int-constant.
5595 (SHRT_MIN): Use macro-int-constant. Specify type.
5596 (SHRT_MAX): Likewise.
5597 (USHRT_MAX): Likewise.
5598 (INT_MAX): Likewise.
5599 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5600 bound negative.
5601 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5602 bound with "U".
5603 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5604 bound with "L".
5605 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5606 bound negative. Suffix upper bound with "L".
5607 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5608 bound with "UL".
5609 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5610 Specify type.
5611 [C99-based standards] (LLONG_MAX): Likewise.
5612 [C99-based standards] (ULLONG_MAX): Likewise.
5613 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5614 == 0.
5615 [ISO11] (max_align_t): Require type.
5616 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5617
c9140a62
JM
5618 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5619 from $CFLAGS, without defining away __attribute__ calls.
5620 (checknamespace): Use $CFLAGS_namespace.
5621
9af0bf29
JM
5622 * conform/conformtest.pl (@keywords): Only include C99 keywords
5623 for standards based on C99 or C11.
5624
343222a2
JM
5625 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5626 Disable tests.
5627 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5628 UNIX98]: Likewise.
5629
661f8cf0
JM
5630 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5631 usability of symbols in #if.
5632
ee74b9cb
JM
5633 * conform/conformtest.pl: If macro or constant types start
5634 "promoted:", expect the symbol to be of the following type
5635 promoted by the integer promotions.
62fde54f 5636
aafc49b3
JM
5637 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5638 in one place. Also handle "macro-constant".
5639
fefdf574
JM
5640 * conform/conformtest.pl: Only accept expected macro values with
5641 "==". Parse all "macro" lines in one place.
5642 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5643
f2d922fe
JM
5644 * conform/conformtest.pl: Handle braced types on "constant" lines
5645 instead of handling "typed-constant".
5646 * conform/data/signal.h-data: Use "constant" instead of
5647 "typed-constant".
5648
d22956c9
JM
5649 * conform/conformtest.pl: Handle "optional-" at start of lines in
5650 one place rather than duplicating several cases. Handle each
5651 format of "macro" line with initial "optional-".
5652
028e2e38
JM
5653 * conform/conformtest.pl: Only accept expected constant or
5654 optional-constant values with "==". Parse all "constant" lines in
5655 one place. Parse all "optional-constant" lines in one place.
5656 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5657 * conform/data/fmtmsg.h-data: Likewise.
5658 * conform/data/netinet/in.h-data: Likewise.
5659 * conform/data/tar.h-data: Likewise.
5660 * conform/data/limits.h-data: Use "==" form on "constant" and
5661 "optional-constant" lines.
5662
1b8f2850
JM
5663 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5664 Use -std=c99 for XOPEN2K.
5665 (@knownproblems): Remove.
5666 (newtoken): Don't check %isknown.
5667
a05a144b
JM
5668 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5669 Do not expect macro.
5670 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5672 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5673 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5682 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5683 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5700 [XPG3] (acosh): Likewise.
5701 [XPG3] (asinh): Likewise.
5702 [XPG3] (atanh): Likewise.
5703 [XPG3] (cbrt): Likewise.
5704 [XPG3] (expm1): Likewise.
5705 [XPG3] (ilogb): Likewise.
5706 [XPG3] (log1p): Likewise.
5707 [XPG3] (logb): Likewise.
5708 [XPG3] (nextafter): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5711 [XPG3] (remainder): Likewise.
5712 [XPG3] (rint): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5720 [UNIX98 || XOPEN2K] (scalb): Expect.
5721 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5722 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5730 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5731 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5735 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5736 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5737 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5739 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5740 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5741 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5773 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5775 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5776 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5777 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5778 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5779 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5780 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5781 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5784 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5785 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5790 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5791 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5792 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5793 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5794 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5795 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5796 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5797 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5798 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5799 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5800 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5801 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5802 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5803 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5804 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5805 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5806 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5807 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5808 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5809 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5810 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5811 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5812 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5813 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5814 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5815 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5816 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5817 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5818 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5819 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5820 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5821 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5822 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5823 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5824 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5825 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5826 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5827 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5828 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5829 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5830 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5831 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5832 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5833 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5834 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5835 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5836 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5837 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5838 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5839 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5840 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5841 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5842 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5843 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5844 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5845 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5846 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5847 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5848 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5849 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5850 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5851 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5852 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5853 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5854 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5855 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5856 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5857 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5858
73c5ebe3
JM
5859 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5860 _XOPEN_SOURCE_EXTENDED for XPG4.
5861
39c33b6c
JM
5862 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5863
62fde54f
JM
5864 * Makeconfig (localtime): Remove variable.
5865 (inst_localtime-file): Likewise.
5866
0741d64c
AS
58672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5868
5869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5870 Update.
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5872 Update.
5873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5874 Update.
5875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5876 Update.
5877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5878 Update.
5879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5880 Update.
5881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5882 Update.
5883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5884 Update.
5885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5886 Update.
5887
7cb029ee
JM
58882012-05-01 Joseph Myers <joseph@codesourcery.com>
5889
5890 [BZ #2550]
5891 [BZ #2570]
5892 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5893 comparisons to determine direction to adjust input.
5894 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5895 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5896 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5897 Likewise.
5898 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5899 Likewise.
5900 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5901 Likewise.
5902 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5903 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5904 Likewise.
5905 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5906 Likewise.
5907 * math/libm-test.inc (nexttoward_test): Add more tests.
5908
412bd966
AS
59092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5910
5911 [BZ #14040]
5912 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5913 in version GLIBC_2.1, not GLIBC_2.0.
5914 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5915 Likewise.
5916
9568c0c2
JM
59172012-04-30 Joseph Myers <joseph@codesourcery.com>
5918
adfbc8ac
JM
5919 [BZ #13942]
5920 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5921 (1 - x) * (1 + x).
5922 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5923 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5924 * math/libm-test.inc (acos_test): Add more tests.
5925 (asin_test): Likewise.
5926 * sysdeps/i386/fpu/libm-test-ulps: Update.
5927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5928
5ba3cc69
JM
5929 [BZ #14034]
5930 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5931 of square root.
5932 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5933 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5934 * math/libm-test.inc (acos_test_tonearest): New function.
5935 (acos_test_towardzero): Likewise.
5936 (acos_test_downward): Likewise.
5937 (acos_test_upward): Likewise.
5938 (asin_test_tonearest): Likewise.
5939 (asin_test_towardzero): Likewise.
5940 (asin_test_downward): Likewise.
5941 (asin_test_upward): Likewise.
5942 (main): Call the new functions.
5943 * sysdeps/i386/fpu/libm-test-ulps: Update.
5944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5945
9568c0c2
JM
5946 [BZ #13884]
5947 [BZ #13924]
5948 * math/e_exp10.c: Include <float.h>.
5949 (__ieee754_exp10): Handle underflow here rather than multiplying
5950 large negative argument by M_LN10.
5951 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5952 of __ieee754_expf.
5953 * math/e_exp10l.c: Include <float.h>.
5954 (__ieee754_exp10l): Handle underflow here rather than multiplying
5955 large negative argument by M_LN10l.
5956 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5957 spurious overflow exception on underflow.
5958
5ac3ea17
MP
59592012-04-29 Marek Polacek <polacek@redhat.com>
5960
5961 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5962 (__fortify_function): New macro.
5963 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5964 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5965 __extern_always_inline.
5966 * libio/bits/stdio2.h: Likewise.
5967 * libio/bits/stdio.h: Likewise.
5968 * string/string.h: Likewise.
5969 * string/bits/string3.h: Likewise.
5970 * include/stdio.h: Likewise.
5971 * stdlib/bits/stdlib.h: Likewise.
5972 * stdlib/stdlib.h: Likewise.
5973 * rt/bits/mqueue2.h: Likewise.
5974 * rt/mqueue.h: Likewise.
5975 * posix/bits/unistd.h: Likewise.
5976 * posix/unistd.h: Likewise.
5977 * io/bits/poll2.h: Likewise.
5978 * io/bits/fcntl2.h: Likewise.
5979 * io/fcntl.h: Likewise.
5980 * io/sys/poll.h: Likewise.
5981 * misc/bits/syslog.h: Likewise.
5982 * misc/bits/syslog-ldbl.h: Likewise.
5983 * misc/sys/syslog.h: Likewise.
5984 * socket/bits/socket2.h: Likewise.
5985 * socket/sys/socket.h: Likewise.
5986 * debug/tst-chk1.c: Likewise.
5987 * wcsmbs/bits/wchar2.h: Likewise.
5988 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5989 * wcsmbs/wchar.h: Likewise.
5990
ecf0ebfb
AJ
59912012-04-29 Andreas Jaeger <aj@suse.de>
5992
5993 * Makerules (tests): Remove enable-check-abi protection.
5994 (check-abi-warn): Remove.
5995 (check-abi-%): Remove check-abi-warn usage.
5996
5997 * configure.in: Remove check-abi configure option.
5998 * configure: Regenerated.
5999 * config.make.in (enable-check-abi): Remove.
6000
6d5c57fa
AS
60012012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6002
24c5d07e 6003 [BZ #14033]
ded5180a
AS
6004 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6005 double functions to double *_finite functions.
6006
7e0d315d
AS
6007 [BZ #13941]
6008 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6009 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6010 LDBL_MIN_EXP.
6011 * stdio-common/Makefile (tests): Add tst-sprintf3.
6012 * stdio-common/tst-sprintf3.c: New file.
6013
6d5c57fa
AS
6014 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6015 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6016
0749ff8b
JM
60172012-04-28 Joseph Myers <joseph@codesourcery.com>
6018
6019 * conform/conformtest.pl: Remove duplicate typed-constant
6020 handling.
6021
8dbd5d7b
DM
60222012-04-28 David S. Miller <davem@davemloft.net>
6023
6024 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6025 (check-abi-%): Remove AWK script prerequisite and explicit
6026 abilist directory.
6027 (check-abi): Rewrite to just diff the symlist with the abilist.
6028 (config-tls, config-abi-config): Delete, no longer used.
6029 (update-abi-%): Remove AWK script and explicit abilist directory.
6030 (update-abi): Rewrite to simply compare and conditionally copy the
6031 symlist and the sysdep abilist file. Remove update-abi-config
6032 checks.
6033 * abilist/ld.abilist: Remove.
6034 * abilist/libBrokenLocale.abilist: Remove.
6035 * abilist/libanl.abilist: Remove.
6036 * abilist/libcrypt.abilist: Remove.
6037 * abilist/libdl.abilist: Remove.
6038 * abilist/librt.abilist: Remove.
6039 * abilist/libthread_db.abilist: Remove.
6040 * abilist/libutil.abilist: Remove.
6041 * scripts/extract-abilist.awk: Remove.
6042 * scripts/merge-abilist.awk: Remove.
6043 * sysdeps/generic/libcidn.abilist: New file.
6044 * sysdeps/generic/libnss_compat.abilist: New file.
6045 * sysdeps/generic/libnss_db.abilist: New file.
6046 * sysdeps/generic/libnss_dns.abilist: New file.
6047 * sysdeps/generic/libnss_files.abilist: New file.
6048 * sysdeps/generic/libnss_hesiod.abilist: New file.
6049 * sysdeps/generic/libnss_nis.abilist: New file.
6050 * sysdeps/generic/libnss_nisplus.abilist: New file.
6051 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6052 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6053 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6054 file.
6055 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6056 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6057 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6058 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6059 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6060 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6061 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6062 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6063 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6064 file.
6065 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6066 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6067 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6068 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6069 file.
6070 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6071 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6072 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6073 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6074 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6075 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6076 file.
6077 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6078 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6079 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6080 file.
6081 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6083 New file.
6084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6085 New file.
6086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6087 New file.
6088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6089 New file.
6090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6091 New file.
6092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6093 New file.
6094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6095 New file.
6096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6097 New file.
6098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6099 New file.
6100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6101 New file.
6102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6103 New file.
6104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6105 New file.
6106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6107 New file.
6108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6109 file.
6110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6111 New file.
6112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6113 New file.
6114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6115 file.
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6117 New file.
6118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6119 New file.
6120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6121 file.
6122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6123 New file.
6124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6125 New file.
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6127 New file.
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6129 New file.
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6131 New file.
6132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6133 New file.
6134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6136 file.
6137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6138 New file.
6139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6140 file.
6141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6142 file.
6143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6144 file.
6145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6146 file.
6147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6148 file.
6149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6150 New file.
6151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6152 file.
6153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6154 file.
6155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6156 New file.
6157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6158 file.
6159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6161 file.
6162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6163 New file.
6164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6165 file.
6166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6167 file.
6168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6169 file.
6170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6171 file.
6172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6173 file.
6174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6175 New file.
6176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6177 file.
6178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6179 file.
6180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6181 New file.
6182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6183 file.
6184 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6185 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6186 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6187 file.
6188 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6189 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6190 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6191 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6192 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6193 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6194 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6195 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6196 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6197 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6200 file.
6201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6202 New file.
6203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6204 file.
6205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6206 file.
6207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6208 file.
6209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6210 file.
6211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6212 file.
6213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6214 New file.
6215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6216 New file.
6217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6218 file.
6219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6220 New file.
6221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6222 file.
6223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6225 file.
6226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6227 New file.
6228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6229 file.
6230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6231 file.
6232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6233 file.
6234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6235 file.
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6237 file.
6238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6239 New file.
6240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6241 New file.
6242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6243 file.
6244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6245 New file.
6246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6247 file.
6248
41d73a1b
JM
62492012-04-28 Joseph Myers <joseph@codesourcery.com>
6250
6251 * conform/conformtest.pl: Fix typo in handling typed-constant from
6252 allow-header.
6253
28aeeda4
JM
62542012-04-27 Joseph Myers <joseph@codesourcery.com>
6255
adae8f5e
JM
6256 * README: Cut down references to pre-2.6 Linux kernels and
6257 Linuxthreads. Update lists of configurations in libc and ports
6258 and sort alphabetically. Say "or newer" with Linux kernel version
6259 requirements.
6260
28aeeda4
JM
6261 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6262
a462cb63
RA
62632012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6264
6265 [BZ #887]
6266 * math/libm-test.inc (logb_test_downward): New test to expose
6267 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6268 rounding mode.
6269
6ad3493e
JM
62702012-04-27 Joseph Myers <joseph@codesourcery.com>
6271
6272 [BZ #14027]
6273 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6274 to be done.
6275 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6276 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6277
2ce4f015
JM
62782012-04-26 Joseph Myers <joseph@codesourcery.com>
6279
5aeb141a
JM
6280 * sysdeps/unix/i386/brk.S: Remove file.
6281 * sysdeps/unix/i386/dl-brk.S: Likewise.
6282 * sysdeps/unix/i386/pipe.S: Likewise.
6283 * sysdeps/unix/i386/sigreturn.S: Likewise.
6284 * sysdeps/unix/i386/syscall.S: Likewise.
6285 * sysdeps/unix/i386/vfork.S: Likewise.
6286 * sysdeps/unix/i386/wait.S: Likewise.
6287
7143acae
JM
6288 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6289 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6290
2ce4f015
JM
6291 * configure.in (arm*-none*): Do not allow without
6292 --enable-hacker-mode.
6293 (netbsd*): Remove case setting base_os.
6294 (386bsd*): Likewise.
6295 (freebsd*): Likewise.
6296 (bsdi*): Likewise.
6297 (osf*): Likewise.
6298 (sunos*): Likewise.
6299 (ultrix*): Likewise.
6300 (newsos*): Likewise.
6301 (dynix*): Likewise.
6302 (*bsd*): Likewise.
6303 (sysv*): Likewise.
6304 (isc*): Likewise.
6305 (esix*): Likewise.
6306 (sco*): Likewise.
6307 (minix*): Likewise.
6308 (irix4*): Likewise.
6309 (irix6*): Likewise.
6310 (solaris[2-9]*): Likewise.
6311 (none): Likewise.
6312 * configure: Regenerated.
6313
0ac229c8
AZ
63142012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6315
6316 [BZ #11521]
6317 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6318 overflow or cancellation in calculating denominator.
6319 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6320 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6321 down expression to avoid unexpected rounding in newer GCCs.
6322 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6323
33f244f4
DM
63242012-04-26 David S. Miller <davem@davemloft.net>
6325
6326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6327 long-double compat symbols.
6328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6341
cfa1f3e8
DM
63422012-04-25 David S. Miller <davem@davemloft.net>
6343
6344 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6345 HWCAP_* values only after the memory barriers have been defined.
6346 (atomic_full_barrier): Define.
6347 (atomic_read_barrier): Define.
6348 (atomic_write_barrier): Define.
6349
6e236b92
SP
63502012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6351
6352 * shlib-versions: Add libgcc_s version information.
6353 * sysdeps/generic/libgcc_s.h: Remove.
6354 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6355 libgcc_s.h.
6356 * sysdeps/gnu/unwind-resume.c: Likewise.
6357 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6358
aab39a09
DM
63592012-04-25 David S. Miller <davem@davemloft.net>
6360
6361 * sysdeps/unix/sparc/brk.S: Delete.
6362 * sysdeps/unix/sparc/dl-brk.S: Delete.
6363 * sysdeps/unix/sparc/pipe.S: Delete.
6364 * sysdeps/unix/sparc/sysdep.S: Delete.
6365 * sysdeps/unix/sparc/sysdep.h: Delete.
6366 * sysdeps/unix/sparc/vfork.S: Delete.
6367 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6368 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6369 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6370 ret_ERRVAL, r0, r1, MOVE): Define.
6371 (JUMPTARGET): Remove.
6372 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6373 sysdeps/unix/sparc/sysdep.h
6374 (ENTRY, END): Remove.
6375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6376
a3cc4f48
JM
63772012-04-25 Joseph Myers <joseph@codesourcery.com>
6378
2ed8cda2
JM
6379 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6380 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6381 -DIS_IN_build.
6382
35d76d59
JM
6383 * timezone/README: Update upstream location and email address for
6384 tzcode and tzdata.
6385 * timezone/zdump.c: Update from tzcode 2012b.
6386 * timezone/zic.c: Likewise.
6387
a3cc4f48
JM
6388 * configure.in (libc_cv_as_needed): Remove test.
6389 * configure: Regenerated.
6390 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6391 conditional definition.
6392 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6393 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6394 * config.make.in (have-as-needed): Remove variable.
6395
ceab42c3
SP
63962012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6397 Paul Pluzhnikov <ppluzhnikov@google.com>
6398
6399 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6400 strings correctly.
6401
3ce2865f
CLT
64022012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6403
6404 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6405 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6406 * sysdeps/sh/strlen.S: Likewise.
6407
f37e0d68
JM
64082012-04-24 Joseph Myers <joseph@codesourcery.com>
6409
ae186e9a
JM
6410 * sysdeps/unix/fork.S: Remove file.
6411 * sysdeps/unix/i386/fork.S: Likewise.
6412 * sysdeps/unix/sparc/fork.S: Likewise.
6413
b96914af
JM
6414 * sysdeps/unix/system.c: Remove file.
6415 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6416
f37e0d68
JM
6417 * sysdeps/unix/getegid.S: Remove file.
6418 * sysdeps/unix/geteuid.S: Likewise.
6419
87ef29ca
RM
64202012-04-24 Roland McGrath <roland@hack.frob.com>
6421
83bcd236
RM
6422 * scripts/check-localplt.awk: New file.
6423 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6424 of diff.
6425 * scripts/data/localplt-generic.data: Add a comment.
6426
87ef29ca
RM
6427 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6428 NODE when __dir_mkfile failed.
6429 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6430 Reported by Ludovic Courtès <ludo@gnu.org>.
6431
e5a6e567
AJ
64322012-04-24 Andreas Jaeger <aj@suse.de>
6433
6434 * Makerules (common-clean): Also remove gen-as-const-headers
6435 files.
6436
c1820385
JM
64372012-04-24 Joseph Myers <joseph@codesourcery.com>
6438
6439 * Makerules (native-compile): Do not change working directory for
6440 build. Use $(OUTPUT_OPTION) in command.
6441 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6442
94e02fc4
AZ
64432012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6444
6445 [BZ #13886]
6446 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6447 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6448 * math/libm-test.inc (floor_test): Add more tests.
6449 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6450
3a533ca3
JM
64512012-04-24 Joseph Myers <joseph@codesourcery.com>
6452
940ab4b3
JM
6453 * sysdeps/unix/getdents.c: Remove file.
6454 * sysdeps/unix/sysv/getdents.c: Likewise.
6455 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6456
90e037bd
JM
6457 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6458 sysdeps/unix/mman/syscalls.list.
6459 (mmap): Likewise.
6460 (mprotect): Likewise.
6461 (msync): Likewise.
6462 (munmap): Likewise.
6463 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6464 * sysdeps/unix/mman/syscalls.list: Remove.
6465 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6466
3a533ca3
JM
6467 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6468 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6469 * configure: Regenerated.
6470 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6471 $(libgcc_s_suffix).
6472 * config.make.in (libgcc_s_suffix): Remove variable.
6473
1ad743de
JM
64742012-04-23 Joseph Myers <joseph@codesourcery.com>
6475
4ad451e2
JM
6476 * sysdeps/unix/sysv/gethostname.c: Move to ...
6477 * sysdeps/posix/gethostname.c: ... here.
6478
5e37ce39
JM
6479 * sysdeps/unix/execve.S: Remove file.
6480
1ad743de
JM
6481 * sysdeps/unix/_exit.S: Remove file.
6482
4e681b5b
AJ
64832012-04-23 Andreas Jaeger <aj@suse.de>
6484
6485 [BZ #13739]
6486 * manual/Makefile: Remove make dist support, there's no
6487 need for a stand-alone documentation tar ball.
6488 (TEXI2DVI): Define always, it's not in Makeconfig.
6489 (dist): Removed.
6490 (tar-it): Removed.
6491 (edition): Removed.
6492 (glibc-doc-$(edition).tar): Removed
6493 (%.Z): Removed.
6494 (%.gz): Removed.
6495 (%.uu): Removed.
6496 (ETAGS): Remove, it's in Makeconfig.
6497 (move-if-change): Remove, it's in Makeconfig.
6498
c0baea34
PE
64992013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6500
6501 [BZ #13970]
6502 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6503 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6504 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6505 (strtod_l, strtof_l, strtold_l): Remove __wur.
6506 It is not necessarily an error to ignore strtol's return value.
6507 One can reliably look at the stored endptr to decide whether
6508 the number had valid syntax.
6509
7c0616fa
AJ
65102012-04-21 Andreas Jaeger <aj@suse.de>
6511
803cb6b7 6512 [BZ #13739]
7c0616fa
AJ
6513 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6514
b0fe253f
JM
65152012-04-21 Joseph Myers <joseph@codesourcery.com>
6516
6517 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6518 * sysdeps/unix/sysv/Versions: Remove file.
6519
8280f22d
MT
65202012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6521
6522 [BZ #13927]
6523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6524
75ce411f 65252012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6526
6527 [BZ #7064]
6528 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6529 version from __vm86.
6530
097d59fa
JM
65312012-04-20 Joseph Myers <joseph@codesourcery.com>
6532
a90f3bcb
JM
6533 * sysdeps/unix/common/lxstat.c: Remove file.
6534 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6535
edc7ea78
JM
6536 * sysdeps/unix/sysv/Makefile: Remove file.
6537
cb78c221
JM
6538 * sysdeps/unix/sysv/direct.h: Remove file.
6539
efa6a45f
JM
6540 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6541 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6542 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6543 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6544 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6545 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6546 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6547
9c9f2d0c
JM
6548 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6549
4541c83b
JM
6550 * sysdeps/unix/xmknod.c: Remove file.
6551 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6552
f5d153a0
JM
6553 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6554
aa746595
JM
6555 * sysdeps/unix/sysv/i386/time.S: Remove file.
6556
cce5905e
JM
6557 * sysdeps/unix/fxstat.c: Remove file.
6558 * sysdeps/unix/xstat.c: Likewise.
6559 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6560
37fa3841
JM
6561 * sysdeps/unix/sysv/sigaction.c: Remove file.
6562
ff1962a3
JM
6563 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6564 (sysdep_headers): Remove variable.
6565 [termio.h not in sysdep_headers] (generated): Likewise.
6566 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6567 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6568 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6569 * sysdeps/unix/sysv/tcflow.c: Likewise.
6570 * sysdeps/unix/sysv/tcflush.c: Likewise.
6571 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6572 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6573 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6574 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6575 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6576
e7740d31
JM
6577 * sysdeps/unix/siglist.c: Remove file.
6578
ee06f18b
JM
6579 * sysdeps/unix/getppid.S: Remove file.
6580
097d59fa
JM
6581 * sysdeps/unix/mkdir.c: Remove file.
6582 * sysdeps/unix/rmdir.c: Likewise.
6583
ff3d51ec
AS
65842012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6585
6586 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6587 ERR_MAX value.
6588 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6589 errlist-compat value.
6590
50f81fd7
DM
65912012-04-18 David S. Miller <davem@davemloft.net>
6592
6593 * sysdeps/generic/memcopy.h (reg_char): Delete.
6594 * debug/strcat_chk.c: Use char, not reg_char.
6595 * debug/strcpy_chk.c: Likewise.
6596 * debug/strncat_chk.c: Likewise.
6597 * debug/strncpy_chk.c: Likewise.
6598 * string/memchr.c: Likewise.
6599 * string/memrchr.c: Likewise.
6600 * string/rawmemchr.c: Likewise.
6601 * string/strcat.c: Likewise.
6602 * string/strchr.c: Likewise.
6603 * string/strchrnul.c: Likewise.
6604 * string/strcmp.c: Likewise.
6605 * string/strcpy.c: Likewise.
6606 * string/strncat.c: Likewise.
6607 * string/strncmp.c: Likewise.
6608 * string/strncpy.c: Likewise.
6609
8ff41c46
WS
66102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6611
6612 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6613 __builtin_memcopy is called when src and dest ranges are known to not
6614 overlap.
6615
6b652f46
WS
66162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6617
6618 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6619 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6620 fwd_align_merge macro call.
6621 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6622 bwd_align_merge macro call.
6623 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6624
b282631e
WS
66252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6626
6627 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6628 bwd_align_merge macros.
6629 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6630 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6631 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6632
95aa737c
DM
66332012-04-18 David S. Miller <davem@davemloft.net>
6634
6635 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6636
7a99a614
AJ
66372012-04-18 Andreas Jaeger <aj@suse.de>
6638
6639 [BZ# 6794]
6640 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6641 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6642 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6643
6644 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6645 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6646 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6647
6648 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6649 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6650 Adjust for changed ldbl-128 files.
6651
6652 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6653 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6654 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6655
e5270c23
DM
66562012-04-17 David S. Miller <davem@davemloft.net>
6657
6658 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6659
fb5e92c9
AS
66602012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6661
6662 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6663 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6664 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6665 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6666 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6667 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6668
76da7265
AZ
66692012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6670
6671 [BZ #6794]
6672 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6673 * math/libm-test.inc: Add ilogb errno and exception tests.
6674 * math/w_ilogb.c: New file: ilogb wrapper.
6675 * math/w_ilogbf.c: New file: ilogbf wrapper.
6676 * math/w_ilogbl.c: New file: ilogbl wrapper.
6677 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6678 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6679 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6680 exception being thrown with 0.0 as argument.
6681 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6682 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6683 exception being thrown with 0.0 as argument.
6684 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6685 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6686 exception being thrown with 0.0 as argument.
6687 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6688 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6689 exception being thrown with 0.0 as argument.
6690 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6691 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6692 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6693 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6694 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6695 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6696 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6697 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6698 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6699
0396e69d
PB
67002012-04-17 Petr Baudis <pasky@ucw.cz>
6701
6702 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6703 with altivec.
6704
750b5926
MP
67052012-04-16 Marek Polacek <polacek@redhat.com>
6706
6707 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6708
751728a1
MP
67092012-04-16 Marek Polacek <polacek@redhat.com>
6710
6711 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6712 operands of fdivp instruction.
6713
34a27407
L
67142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6715
6716 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6717 * elf/tst-auditmod3b.c: Likewise.
6718 * elf/tst-auditmod4b.c: Likewise.
6719 * elf/tst-auditmod5b.c: Likewise.
6720 * elf/tst-auditmod6b.c: Likewise.
6721 * elf/tst-auditmod6c.c: Likewise.
6722 * elf/tst-auditmod7b.c: Likewise.
6723 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6724 * sysdeps/x86_64/preconfigure.in: Likewise.
6725 * sysdeps/x86_64/preconfigure: Regenerated.
6726
7e73e17d
L
67272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6728
6729 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6730 __ILP32__.
6731
c7a6ab72
AB
67322012-04-13 Antoine Balestrat <merkil33@gmail.com>
6733
6734 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6735 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6736
a9e8e0e0
CL
67372012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6738
6739 [BZ #13973]
6740 * locale/iso-639.def: Fix gl language name. Spotted by
6741 Yaron Shahrabani.
6742
ec98af7d
RM
67432012-04-12 Roland McGrath <roland@hack.frob.com>
6744
6745 [BZ #2074]
6746 * libio/libio.h (__io_write_fn): Update comment.
6747
247c3ede
PB
67482012-04-12 Petr Baudis <pasky@ucw.cz>
6749
6750 [BZ #2074]
6751 * stdio.texi (Hook Functions): The user provided writer function
6752 is not allowed to return -1.
6753
55939d6d
DM
67542012-04-11 David S. Miller <davem@davemloft.net>
6755
6756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6757
90020f5a
MF
67582012-04-11 Mike Frysinger <vapier@gentoo.org>
6759
6760 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6761 Add a leading slash to rtkaio.
6762
288f9098
JM
67632012-04-11 Jim Meyering <meyering@redhat.com>
6764
90020f5a
MF
6765 [BZ #11959]
6766 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6767 It is not necessarily an error to ignore fwrite's return
6768 value. One can reliably use ferror to test for errors after
6769 the fact.
288f9098 6770
4be2b570
L
67712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6772
6773 * bits/types.h (__snseconds_t): New type.
6774 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6775
6776 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6777 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6778 (__SNSECONDS_T_TYPE): Likewise.
6779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6780 (__SNSECONDS_T_TYPE): Likewise.
6781 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6782 (__SNSECONDS_T_TYPE): Likewise.
6783
288f9098 67842012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6785
6786 [BZ #2636]
6787 * manual/time.texi (Processor Time): Return type of times is
6788 elapsed real time since an arbitrary point in the past.
6789 (CPU Time): Move CLK_TCK from here...
6790 (Processor Time): ...to here. Correct description.
6791 * manual/conf.texi (Constants for Sysconf): Correct description of
6792 _SC_CLK_TCK.
6793
d7dd4413
DM
67942012-04-10 David S. Miller <davem@davemloft.net>
6795
6796 [BZ #13967]
6797 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6798 where the is a gap between DT_REL(A) and DT_JMPREL.
6799
b46068fc
L
68002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6801
6802 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6803 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6804 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6805
73d65cc3
SP
68062012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6807
6808 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6809 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6810 (dl_main): Handle --inhibit-cache.
6811 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6812 _dl_inhibit_cache.
6813 * elf/dl-load.c (_dl_map_object): Use it.
6814 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6815
bcc8d661
JM
68162012-04-09 Joseph Myers <joseph@codesourcery.com>
6817
8f9a2fae
JM
6818 [BZ #13872]
6819 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6820 (__ieee754_powl): Saturate large exponents rather than testing for
6821 overflow of y*log2(x).
6822 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6823 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6824 exceptions.
6825
bcc8d661
JM
6826 [BZ #11521]
6827 * math/s_ctan.c: Include <float.h>.
6828 (__ctan): Avoid internal overflow or cancellation in calculating
6829 denominator.
6830 * math/s_ctanf.c: Likewise.
6831 * math/s_ctanl.c: Likewise.
6832 * math/s_ctanh.c: Likewise.
6833 * math/s_ctanhf.c: Likewise.
6834 * math/s_ctanhl.c: Likewise.
6835 * math/libm-test.inc (ctan_test): Add more tests.
6836 (ctanh_test): Likewise.
6837 * sysdeps/i386/fpu/libm-test-ulps: Update.
6838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6839
823fbbb4
AJ
68402012-04-09 Andreas Jaeger <aj@suse.de>
6841
03879793
AJ
6842 [BZ #6894]
6843 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6844 is an optional BSD extension.
6845
823fbbb4
AJ
6846 [BZ #10254]
6847 * manual/stdio.texi (Opening Streams): Document additional fopen
6848 parameters.
6849
8de131cb
RM
68502012-04-09 Roland McGrath <roland@hack.frob.com>
6851
6852 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6853 %eax without telling the compiler.
6854
c0ed9d7d
CD
68552012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6856
6857 [BZ # 13963]
6858 * manual/install.texi: Use sourceware.org.
6859
c483f6b4
JM
68602012-04-09 Joseph Myers <joseph@codesourcery.com>
6861
d7dd9453
JM
6862 [BZ #13873]
6863 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6864 (__ieee754_pow): Generate overflow and underflow using huge*huge
6865 and tiny*tiny rather than just returning constant infinity or zero
6866 for large exponents.
6867 * math/libm-test.inc (pow_test): Require overflow exceptions for
6868 applicable cases of large exponents.
6869
c483f6b4
JM
6870 [BZ #706]
6871 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6872 (__ieee754_pow): Use iterative multiplication algorithm only for
6873 integer exponents with absolute value below 1024. Check for odd
6874 integer exponents when using algorithm for real exponents.
6875 * math/libm-test.inc (pow_test): Add more tests.
6876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6877
d2de7579
JM
68782012-04-08 Joseph Myers <joseph@codesourcery.com>
6879
6880 [BZ #13705]
6881 * math/libm-test.inc (exp_test): Do not allow overflow exception
6882 on underflow test.
6883
f77f1232
AJ
68842012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6885
6886 [BZ #13705]
6887 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6888 instead of __kernel_standard_f.
6889
3884932b
MF
68902012-04-08 Mike Frysinger <vapier@gentoo.org>
6891
6892 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6893 * sysdeps/x86_64/memset_chk.S: Likewise.
6894
54472e9c
AJ
68952012-04-08 Andreas Jaeger <aj@suse.de>
6896
6ab0fbfc
AJ
6897 [BZ #10153]
6898 * manual/startup.texi (Environment Access): Describe return value
6899 for putenv and setenv.
6900
61efba8c
AJ
6901 [BZ #6895]
6902 * manual/filesys.texi (Directory Entries): Add description for
6903 DT_LNK.
6904
95c3f29a
AJ
6905 [BZ #6890]
6906 * manual/filesys.texi (Directory Entries): Clarify that it's file
6907 system not operating system in the description of DT_UNKNOWN.
6908
54472e9c
AJ
6909 [BZ #6578]
6910 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6911
624254b1
SC
69122012-04-08 Stephen Compall <s11@member.fsf.org>
6913
6914 [BZ #6649]
6915 * manual/llio.texi (Opening and Closing Files): Add cross
6916 reference to explain mode argument.
6917
1e4920e0
MF
69182012-04-07 Mike Frysinger <vapier@gentoo.org>
6919
6920 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6921 * sysdeps/x86_64/memset_chk.S: Likewise.
6922
5ed848f3
DM
69232012-04-07 David S. Miller <davem@davemloft.net>
6924
6925 * elf/elf.h (R_SPARC_WDISP10): Define.
6926 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6927 R_SPARC_SIZE32.
6928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6929 R_SPARC_SIZE64 and R_SPARC_H34.
6930
96154cd8
CD
69312012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6932
6933 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6934 conditions and remove no longer applicable assertion.
6935
9904dc47
L
69362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6937
6938 * bits/byteswap.h: Include <features.h>.
6939 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6940 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6941
f8887d0a
L
69422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6943
6944 * bits/byteswap.h (__bswap_16): Removed.
6945 Include <bits/byteswap-16.h> to get __bswap_16.
6946 * sysdeps/i386/bits/byteswap.h: Likewise.
6947 * sysdeps/s390/bits/byteswap.h: Likewise.
6948 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6949 * bits/byteswap-16.h: New file.
6950 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6951 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6952 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6953 * string/Makefile (headers): Add bits/byteswap-16.h.
6954
62470f60
PP
69552012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6956
6957 [BZ #13895]
6958 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6959 extra indirection.
6960 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6961 * nss/tst-nss-static.c: New.
6962
4dad7bab
RM
69632012-04-06 Robert Millan <rmh@gnu.org>
6964
6965 [BZ #6486]
6966 * manual/llio.texi (File Position Primitive): lseek
6967 refers to WHENCE when it really means OFFSET.
6968
e9142a17
AJ
69692012-04-06 Andreas Jaeger <aj@suse.de>
6970
2c040eff
AJ
6971 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6972 strncmp declarations.
6973
e9142a17
AJ
6974 * abilist/libc.abilist: Add __poll and __ppoll.
6975
ff9f1c5f
DM
69762012-04-05 David S. Miller <davem@davemloft.net>
6977
dcd2ae90
DM
6978 * scripts/check-local-headers.sh: Accept a host triplet in the
6979 path matched by the exclude regexp.
6980
993eb054
DM
6981 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6982 definition.
6983 * sysdeps/powerpc/powerpc32/dl-machine.h
6984 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6985 * sysdeps/s390/s390-32/dl-machine.h
6986 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6987 * sysdeps/sparc/sparc32/dl-machine.h
6988 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6989 * sysdeps/sparc/sparc64/dl-machine.h
6990 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6991
ff9f1c5f
DM
6992 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6993 lazy binding.
48e2e132 6994 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6995 undefined symbol errors.
6996
48e2e132 6997 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6998 DT_NEEDED entries.
6999
e80d6f94
MM
70002012-04-05 Michael Matz <matz@suse.de>
7001
7002 [BZ #13592]
7003 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7004
349fa79f
AJ
70052012-04-05 Andreas Jaeger <aj@suse.de>
7006
7007 [BZ #13908]
7008 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7009 comment.
7010
f402708f
KK
70112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7012
7013 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7014 which ROUND is no valid rounding mode.
7015
2ecccfc9
KK
70162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7017
7018 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7019 read again.
7020 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7021
8a53f50f
KK
70222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7023
7024 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7025 an exception using FPU order intentionally.
7026
70272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7028
7029 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7030 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7031 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7032 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7033
d653abb7
SJ
70342012-04-05 Simon Josefsson <simon@josefsson.org>
7035
7036 [BZ #12340]
7037 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7038 EINVAL when BUFLEN is too smal.
7039
c3b1bf7d
TS
70402012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7041
7042 [BZ #13553]
7043 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7044 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7045
b1aa60f3
AJ
70462012-04-03 Andreas Jaeger <aj@suse.de>
7047
c3b1bf7d 7048 [BZ #13938]
67f60a26
AJ
7049 * manual/setjmp.texi (System V contexts): Fix sentence.
7050
b1aa60f3
AJ
7051 [BZ #13926]
7052 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7053 New macro for this case.
7054 [!__GNUC__] (__bswap_64): New inline function for this case.
7055 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7056 * bits/byteswap.h: Likewise.
7057 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7058 ull, guard with __GLIBC_HAVE_LONG_LONG.
7059
7060 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7061 __GLIBC_HAVE_LONG_LONG.
7062
7063 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7064 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7065
39c59c35
TMQMF
70662012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7067
7068 [BZ #13691]
7069 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7070 inptr and inend, rather than using last_ch.
7071
135ffda8
DM
70722012-04-02 David S. Miller <davem@davemloft.net>
7073
7074 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7075 * stdio-common/printf-parse.h (read_int): Change return type to
7076 'int', return -1 on INT_MAX overflow.
7077 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7078 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7079 overflows INT_MAX. Check for overflow of in-format-string precision
7080 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7081 SIZE_MAX not INT_MAX for integer overflow test.
7082 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7083 skip the construct in the format string but do not record anything.
7084 * stdio-common/bug22.c: Adjust to test both width/prevision
7085 INT_MAX overflow as well as total length INT_MAX overflow. Check
7086 explicitly for proper errno values.
7087
228c019e
TS
70882012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7089
302cadd3
TS
7090 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7091 CHAR_MAX.
7092 * string/test-strcmp.c [! WIDE]: Likewise.
7093 * time/tst-mktime2.c: Likewise for INT_MAX.
7094 * string/test-string.h: #include <sys/param.h> for MIN.
7095
228c019e
TS
7096 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7097 * sysdeps/i386/init-first.c (init): Likewise.
7098 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7099 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7100 * sysdeps/sh/init-first.c (init): Likewise.
7101
cfa633f5
UD
71022012-04-01 Ulrich Drepper <drepper@gmail.com>
7103
7104 * po/ru.po: Update from translation team.
d1635ef8 7105 * po/vi.po: Likewise.
cfa633f5 7106
6cd0a5ea
SP
71072012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7108
7109 * resolv/nss_dns/dns-host.c: Merge copyright years.
7110
4b43400f
LD
71112012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7112
7113 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7114 Optimize memcpy with prefetch if
7115 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7116 src, dst pointers have unequal 16 byte alignments.
7117
48c41d04
SP
71182012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7119
7120 [BZ #13928]
7121 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7122 from a CNAME entry and return the minimum ttl for the query.
7123 (gaih_getanswer_slice): Likewise.
7124
b8dc394d
JL
71252012-03-30 Jeff Law <law@redhat.com>
7126
7127 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7128 due to long keys.
7129 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7130 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7131
2f5a5ed0
JL
7132 * resolv/nss_dns/dns-host.c: Update copyright year.
7133
1d39e359
UD
71342012-03-30 Ulrich Drepper <drepper@gmail.com>
7135
c030f70c 7136 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7137 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7138
1d39e359
UD
7139 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7140 comments for sendmmsg.
7141
71422012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7143
7144 [BZ #13691]
7145 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7146 with only 1 character between 0x0041 and 0x01b0.
7147 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7148 * wcsmbs/tst-mbsnrtowcs.c: New file.
7149
20fde227
DM
71502012-03-29 David S. Miller <davem@davemloft.net>
7151
7152 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7153 small copies by hand.
7154
984a4237
JL
71552012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7156
7157 [BZ #13761]
7158 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7159 _nss_compat_initgroups_dyn): Fall back to malloc/free
7160 for large group memberships.
7161
18c9d62b
DM
71622012-03-28 David S. Miller <davem@davemloft.net>
7163
88d85d4f
DM
7164 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7165 that branches into memcpy.
7166 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7167 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7168 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7169 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7171 bits.
7172 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7173 implementation too.
7174 * sysdeps/sparc/mempcpy.S: New file.
7175
e5aa83e1
DM
7176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7177 the IFUNC routine in the libc case.
7178 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7179
88570753
DM
7180 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7181 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7182 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7183 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7184 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7185 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7186 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7187 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7188
249d7567
DM
7189 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7190 loop to 256 bytes instead of 64 bytes and fix test signedness.
7191
18c9d62b
DM
7192 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7193 * sysdeps/sparc/sparc32/Makefile: rather than here...
7194 * sysdeps/sparc/sparc64/Makefile: and here.
7195
05f3d1f6
UD
71962012-03-28 Ulrich Drepper <drepper@gmail.com>
7197
7198 * malloc/mallocbug.c: Avoid warnings about unused variables.
7199
86ae07a8
JL
72002012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7201
7202 [BZ #13760]
7203 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7204 in the right place. Discard and retry query if response is
7205 larger than input buffer size.
7206
41bf21a1
JM
72072012-03-28 Joseph Myers <joseph@codesourcery.com>
7208
d6270972
JM
7209 [BZ #369]
7210 [BZ #2678]
7211 [BZ #3866]
7212 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7213 x for large integer exponent.
7214 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7215 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7216 sign of result as needed afterwards.
7217 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7218 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7219 result for underflowing pow the same as for overflow.
7220 (__kernel_standard_l): Handle powl overflow and underflow here
7221 rather than calling __kernel_standard.
7222 * math/libm-test.inc (pow_test): Add more tests.
7223
414fca03 7224 [BZ #3868]
41bf21a1
JM
7225 [BZ #13879]
7226 [BZ #13910]
7227 [BZ #13911]
7228 [BZ #13912]
7229 [BZ #13913]
7230 [BZ #13915]
7231 [BZ #13916]
7232 [BZ #13917]
7233 [BZ #13918]
7234 [BZ #13919]
7235 [BZ #13920]
7236 [BZ #13921]
7237 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7238 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7239 (__kernel_standard_l): New function.
7240 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7241 __kernel_standard.
7242 * math/w_acosl.c (__acosl): Likewise.
7243 * math/w_asinl.c (__asinl): Likewise.
7244 * math/w_atan2l.c (__atan2l): Likewise.
7245 * math/w_atanhl.c (__atanhl): Likewise.
7246 * math/w_coshl.c (__coshl): Likewise.
7247 * math/w_exp10l.c (__exp10l): Likewise.
7248 * math/w_exp2l.c (__exp2l): Likewise.
7249 * math/w_fmodl.c (__fmodl): Likewise.
7250 * math/w_hypotl.c (__hypotl): Likewise.
7251 * math/w_j0l.c (__j0l, __y0l): Likewise.
7252 * math/w_j1l.c (__j1l, __y1l): Likewise.
7253 * math/w_jnl.c (__jnl, __ynl): Likewise.
7254 * math/w_lgammal.c (__lgammal): Likewise.
7255 * math/w_log10l.c (__log10l): Likewise.
7256 * math/w_log2l.c (__log2l): Likewise.
7257 * math/w_logl.c (__logl): Likewise.
7258 * math/w_powl.c (__powl): Likewise.
7259 * math/w_remainderl.c (__remainderl): Likewise.
7260 * math/w_scalbl.c (sysv_scalbl): Likewise.
7261 * math/w_sinhl.c (__sinhl): Likewise.
7262 * math/w_sqrtl.c (__sqrtl): Likewise.
7263 * math/w_tgammal.c (__tgammal): Likewise.
7264 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7265 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7266 * math/libm-test.inc (acos_test): Add more tests.
7267 (acosh_test): Likewise.
7268 (asin_test): Likewise.
7269 (atanh_test): Likewise.
7270 (exp_test): Likewise.
7271 (exp10_test): Likewise.
7272 (exp2_test): Likewise.
7273 (expm1_test): Likewise.
7274 (lgamma_test): Likewise.
7275 (log_test): Likewise.
7276 (log10_test): Likewise.
7277 (log1p_test): Likewise.
7278 (log2_test): Likewise.
7279 (pow_test): Do not allow some spurious overflow exceptions.
7280 (sqrt_test): Add more tests.
7281 (tgamma_test): Likewise.
7282 (y0_test): Likewise.
7283 (y1_test): Likewise.
7284 (yn_test): Likewise.
7285
dd62fda6
AB
72862012-03-27 Anton Blanchard <anton@samba.org>
7287
7288 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7289 MAP_HUGETLB.
7290 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7291 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7293
1e3cdfda
AJ
72942012-03-27 David S. Miller <davem@davemloft.net>
7295
b855ab85
DM
7296 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7297
1e3cdfda
AJ
7298 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7299 have-as-vis3 check.
7300
73012012-03-27 Andreas Jaeger <aj@suse.de>
7302
7303 * sysdeps/x86_64/elf/configure.in: Moved to ...
7304 * sysdeps/x86_64/configure.in: ... here.
7305 * sysdeps/x86_64/elf/start.S: Moved to ...
7306 * sysdeps/x86_64/start.S: ... here.
7307 * sysdeps/x86_64/elf/configure: Delete.
7308
7309 * sysdeps/x86_64/configure.in: Merge contents from
7310 sysdeps/i386/configure.in (without i686 check).
7311
7312 * sysdeps/i386/elf/Versions: Merge into ...
7313 * sysdeps/i386/Versions: ... this.
7314 * sysdeps/i386/elf/Versions: Delete file.
7315 * sysdeps/i386/elf/start.S: Moved to ...
7316 * sysdeps/i386/start.S: ...here.
7317 * sysdeps/i386/elf/configure.in: Merge into...
7318 * sysdeps/i386/configure.in: ...here.
7319 * sysdeps/i386/elf/configure.in: Delete file.
7320 * sysdeps/i386/elf/configure: Delete file.
7321
7322 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7323 * debug/backtracesyms.c: ... here.
7324 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7325 * debug/backtracesymsfd.c: ... here.
7326 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7327 * sysdeps/generic/ifunc-sel.h: ... here.
7328
7329 * sysdeps/unix/i386/start.c: Delete file.
7330 * sysdeps/unix/sparc/start.c: Delete file.
7331 * sysdeps/unix/start.c: Delete file.
7332
7333 * sysdeps/sh/elf/configure.in: Moved to ...
7334 * sysdeps/sh/configure.in: ... here.
7335 * sysdeps/sh/elf/start.S: Moved to ...
7336 * sysdeps/sh/start.S: ... here.
7337 * sysdeps/sh/elf/configure: Delete file.
7338
7339 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7340 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7341 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7342 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7343 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7344 * sysdeps/powerpc/powerpc64/start.S: here.
7345 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7346 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7347 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7348 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7349 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7350
7351 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7352 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7353 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7354 * sysdeps/powerpc/powerpc32/start.S: ... here.
7355 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7356 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7357 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7358
7359 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7360 * sysdeps/powerpc/ifunc-sel.h: ... here.
7361 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7362 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7363
7364 * sysdeps/sparc/elf/configure.in: Moved to ...
7365 * sysdeps/sparc/configure.in: ... here.
7366 * sysdeps/sparc/elf/configure: Delete file.
7367 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7368 * sysdeps/sparc/sparc32/start.S: ... here.
7369 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7370 * sysdeps/sparc/sparc64/start.S: ... here.
7371 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7372 * sysdeps/sparc/sparc32/Makefile: ... this.
7373 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7374 * sysdeps/sparc/sparc64/Makefile: ... this.
7375
7376 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7377 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7378 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7379 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7380 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7381 * sysdeps/s390/s390-32/setjmp.S: ... here.
7382 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7383 * sysdeps/s390/s390-32/configure.in: ... here.
7384 * sysdeps/s390/s390-32/elf/configure: Delete file.
7385 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7386 * sysdeps/s390/s390-32/start.S: ... here.
7387
7388 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7389 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7390 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7391 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7392 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7393 * sysdeps/s390/s390-64/setjmp.S: ... here.
7394 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7395 * sysdeps/s390/s390-64/configure.in: ... here
7396 * sysdeps/s390/s390-64/elf/configure: Delete file.
7397 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7398 * sysdeps/s390/s390-64/start.S: ... here.
7399 * sysdeps/s390/s390-64/elf/configure: Delete.
7400
7401 * configure.in: Remove support for elf directories in sysdeps.
7402
7403 * configure: Regenerated.
7404 * sysdeps/i386/configure: Regenerated.
7405 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7406 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7407 * sysdeps/s390/s390-32/configure: Regenerated.
7408 * sysdeps/s390/s390-64/configure: Regenerated.
7409 * sysdeps/sh/configure: Regenerated.
7410 * sysdeps/sparc/configure: Regenerated.
7411 * sysdeps/x86_64/configure: Regenerated.
7412
a3f61311
AS
74132012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7414
c876e002
AS
7415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7416
a3f61311
AS
7417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7418 denormal result into account.
7419
ac4c54f0
RM
74202012-03-25 Roland McGrath <roland@hack.frob.com>
7421
7422 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7423 Reported by Allan McRae <allan@archlinux.org>.
7424
6a9b9c02
JL
74252012-03-23 Jeff Law <law@redhat.com>
7426
7427 * nss/getnssent.c (__nss_getent): Fix typo.
7428
4c42a0c1
DM
74292012-03-23 David S. Miller <davem@davemloft.net>
7430
7431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7432
1532c7ac
L
74332012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7434
7435 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7436 to pad to uint64_t for each field.
7437 (dl_tls_index): Replace unsigned long with uint64_t.
7438
3ff42526
PP
74392012-03-23 Daniel Jacobowitz <dmj@google.com>
7440 Paul Pluzhnikov <ppluzhnikov@google.com>
7441
7442 [BZ #6528]
7443 * grp/Makefile (otherlibs): Don't set it.
7444 * inet/Makefile (otherlibs): Likewise.
7445 * login/Makefile (otherlibs): Likewise.
7446 * nscd/Makefile (otherlibs): Likewise.
7447 * posix/Makefile (otherlibs): Likewise.
7448 * pwd/Makefile (otherlibs): Likewise.
7449 * rt/Makefile (otherlibs): Likewise.
7450 * sunrpc/Makefile (otherlibs): Likewise.
7451 * nss/Makefile (otherlibs): Likewise.
7452 Add libnss_files to routines and static-only-routines.
7453 ($(objpfx)getent): Remove rule.
7454 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7455 static-only-routines.
7456
7c69cd14
JM
74572012-03-22 Joseph Myers <joseph@codesourcery.com>
7458
7459 [BZ #13892]
7460 * math/s_cexp.c: Include <float.h>.
7461 (__cexp): Handle exp result overflowing not necessarily
7462 overflowing both real and imaginary parts of result.
7463 * math/s_cexpf.c: Likewise.
7464 * math/s_cexpl.c: Likewise.
7465 * math/libm-test.inc (cexp_test): Add more tests.
7466 * sysdeps/i386/fpu/libm-test-ulps: Update.
7467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7468
81b035fe
L
74692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7470
7471 * include/link.h (ELFW): New macro.
7472 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7473 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7474
1da7940c
L
74752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7476
7477 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7478 with uint64_t.
7479
b749dbb9
L
74802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7481
7482 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7483 declaration.
7484 (struct La_x32_retval): Likewise.
7485
2ff87f3f
L
74862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7487
7488 * sysdeps/x86_64/preconfigure.in: New file.
7489 * sysdeps/x86_64/preconfigure: New generated file.
7490
c0df8e69
JM
74912012-03-22 Joseph Myers <joseph@codesourcery.com>
7492
48e44791
JM
7493 [BZ #13824]
7494 * math/e_exp2l.c: Include <float.h>.
7495 (__ieee754_exp2l): Handle overflow and underflow cases
7496 separately. Only pass fractional part of argument to
7497 __ieee754_expl.
7498 * math/libm-test.inc (exp2_test): Add more tests.
7499
c0df8e69
JM
7500 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7501 negating x to take absolute value.
7502 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7503 Likewise.
7504 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7505 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7506 Likewise.
7507 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7508 computing low part if x was negated.
7509 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7510
c8e43ba7
L
75112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7512
7513 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7514 la_x32_gnu_pltexit.
7515 (pltexit): Cast int_retval to ptrdiff_t.
7516 * elf/tst-auditmod3b.c: Likewise.
7517 * elf/tst-auditmod4b.c: Likewise.
7518 * elf/tst-auditmod5b.c: Likewise.
7519 * elf/tst-auditmod6b.c: Likewise.
7520 * elf/tst-auditmod6c.c: Likewise.
7521 * elf/tst-auditmod7b.c: Likewise.
7522
7523 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7524 and x32_gnu_pltexit.
7525
7526 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7527 __ELF_NATIVE_CLASS.
7528 (La_x32_regs): New macro.
7529 (La_x32_retval): Likewise.
7530 (la_x32_gnu_pltenter): New function prototype.
7531 (la_x32_gnu_pltexit): Likewise.
7532
7998fa78
AS
75332012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7534
dcb33988
AS
7535 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7536 exponent.
7537
233fc563
AS
7538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7539
7998fa78
AS
7540 * configure.in (libc_cv_cc_nofma): Check for option to disable
7541 generation of FMA instructions.
7542 * configure: Regenerate.
7543 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7544 * sysdeps/ieee754/dbl-64/Makefile: New file.
7545 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7546 Remove brandred-fma4.
7547 (CFLAGS-brandred-fma4.c): Remove.
7548 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7549 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7550 define.
7551 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7552 define.
7553
8e95c99a
L
75542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7555
7556 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7557 LLONG_MAX != LONG_MAX.
7558 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7559 (_fitoa_word): Likewise.
7560 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7561 LLONG_MAX != LONG_MAX.
7562 * stdio-common/_itowa.h: Include <_itoa.h>.
7563 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7564 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7565 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7566 only if not defined.
7567 (_ITOA_WORD_TYPE): Likewise.
7568 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7569 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7570
6f4db457
DM
75712012-03-21 David S. Miller <davem@davemloft.net>
7572
7573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7574
7785fe5a
L
75752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7576
7577 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7578 of x86_64 when setting libc_cv_slibdir, libdir and
7579 libc_cv_localedir.
7580 * sysdeps/unix/sysv/linux/configure: Regenerated.
7581
4535cd55
JM
75822012-03-21 Joseph Myers <joseph@codesourcery.com>
7583
7584 * manual/lang.texi (Old Varargs): Remove section.
7585 (How Variadic): Update menu.
7586 (va_start): Do not mention varargs.h.
7587
17228132
TS
75882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7589 Joseph Myers <joseph@codesourcery.com>
7590
7591 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7592 link test.
7593 * configure: Regenerated.
7594
8149f976
TS
75952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7596
05f3d1f6
UD
7597 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7598 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7599 conformtest.pl
8149f976 7600
1a4ac776
JM
76012012-03-21 Joseph Myers <joseph@codesourcery.com>
7602
be22ce65
JM
7603 * NOTES: Remove.
7604 * Makefile (files-for-dist): Remove NOTES.
7605 (NOTES): Remove rule.
7606 * README: Don't refer to NOTES.
7607 * manual/creature.texi: Don't include macros.texi.
7608 * manual/intro.texi (creature.texi): Remove comment referring to
7609 NOTES.
7610
40b601fb
JM
7611 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7612 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7613 * configure: Regenerated.
7614 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7615 LIBC_TRY_CC_OPTION.
7616 (libc_cv_as_i686): Likewise.
7617 (libc_cv_cc_avx): Likewise.
7618 (libc_cv_cc_sse2avx): Likewise.
7619 (libc_cv_cc_fma4): Likewise.
7620 (libc_cv_cc_novzeroupper): Likewise.
7621 * sysdeps/i386/configure: Regenerated.
7622
1a4ac776
JM
7623 [BZ #13883]
7624 * sysdeps/i386/fpu/s_cexp.S: Remove.
7625 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7626 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7627 * math/libm-test.inc (cexp_test): Add more tests.
7628 * sysdeps/i386/fpu/libm-test-ulps: Update.
7629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7630
a458e7fe
AM
76312012-03-21 Allan McRae <allan@archlinux.org>
7632
7633 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7634
0cb7efc5
JM
76352012-03-21 Joseph Myers <joseph@codesourcery.com>
7636
7637 [BZ #13871]
7638 * math/w_exp2.c: Do not include <float.h>.
7639 (o_threshold, u_threshold): Remove.
7640 (__exp2): Calculate result before checking finiteness and calling
7641 __kernel_standard.
7642 * math/w_exp2f.c: Likewise.
7643 * math/w_exp2l.c: Likewise.
7644 * math/libm-test.inc (exp2_test): Require overflow exception for
7645 1e6 input.
2460d3aa
JM
7646
7647 [BZ #3866]
7648 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7649 range of signed 64-bit integers before using fistpll. Remove
7650 checks for whether integers fit in mantissa bits.
7651 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7652 the range of signed 32-bit integers before using fistpl. Remove
7653 checks for whether integers fit in mantissa bits.
7654 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7655 (__ieee754_powl): Test for y outside the range of signed 64-bit
7656 integers before using fistpll. Reduce 64-bit values to 63-bit
7657 ones as needed.
7658 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7659 divide-by-zero is raised for zero to large negative powers.
7660 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7661 (__ieee754_powl): Test for y outside the range of signed 64-bit
7662 integers before using fistpll. Reduce 64-bit values to 63-bit
7663 ones as needed.
7664 * math/libm-test.inc (pow_test): Add more tests.
7665
eb96ffb0
L
76662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7667
7668 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7669 <stdio-common/_itoa.h>.
7670 * debug/segfault.c: Likewise.
7671 * elf/dl-cache.c: Likewise.
7672 * elf/dl-minimal.c: Likewise.
7673 * elf/dl-misc.c: Likewise.
7674 * elf/dl-sysdep.c: Likewise.
7675 * elf/dl-version.c: Likewise.
7676 * elf/rtld.c: Likewise.
7677 * hurd/hurdsock.c: Likewise.
7678 * hurd/lookup-retry.c: Likewise.
7679 * malloc/malloc.c: Likewise.
7680 * malloc/mtrace.c: Likewise.
7681 * nscd/nscd_getgr_r.c: Likewise.
7682 * nscd/nscd_getpw_r.c: Likewise.
7683 * nscd/nscd_getserv_r.c: Likewise.
7684 * posix/getopt_init.c: Likewise.
7685 * posix/wordexp.c: Likewise.
7686 * stdio-common/_itoa.c: Likewise.
7687 * stdio-common/printf_fphex.c: Likewise.
7688 * stdio-common/vfprintf.c: Likewise.
7689 * string/_strerror.c: Likewise.
7690 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7691 * sysdeps/i386/i686/hp-timing.h: Likewise.
7692 * sysdeps/mach/_strerror.c: Likewise.
7693 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7694 * sysdeps/mach/hurd/sethostid.c: Likewise.
7695 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7696 * sysdeps/mach/xpg-strerror.c: Likewise.
7697 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7698 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7699 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7700 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7701 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7702 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7703 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7704 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7705 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7706 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7707 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7708 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7709 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7710 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7711 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7712 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7713 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7714 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7715 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7716 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7717 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7718
7719 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7720
7721 * stdio-common/_itoa.h: Moved to ...
7722 * sysdeps/generic/_itoa.h: Here.
7723
7724 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7725
7726 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7727 instead of "_itoa.h" and "_itowa.h".
7728 * stdio-common/vfprintf.: Likewise.
7729
d1af992d
L
77302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7731
7732 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7733 <bits/wordsize.h>.
7734 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7735 (__signbit): Likwise.
7736 (llrintf): Likwise.
7737 (llrint): Likwise.
7738
114883e0
L
77392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7740
7741 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7742 __WORDSIZE != 64.
7743
c135cc1b
JM
77442012-03-20 Joseph Myers <joseph@codesourcery.com>
7745
7746 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7747 OVERFLOW_EXCEPTION_OK.
7748 * math/libm-test.inc ("Philosophy"): Update comment about
7749 exception testing.
7750 (OVERFLOW_EXCEPTION): Define.
7751 (OVERFLOW_EXCEPTION_OK): Likewise.
7752 (INVALID_EXCEPTION_OK): Renumber.
7753 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7754 (IGNORE_ZERO_INF_SIGN): Likewise.
7755 (test_exceptions): Handle FE_OVERFLOW.
7756 (exp10_test): Expect overflow exceptions.
7757 (exp2_test): Likewise.
7758 (expm1_test): Likewise.
7759 (nextafter_test): Likewise.
7760 (pow_test): Likewise.
7761 (scalbn_test): Likewise.
7762 (scalbln_test): Likewise.
7763
95443d88
L
77642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7765
7766 * sysdeps/x86_64/bits/atomic.h
7767 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7768 64bit integer.
7769 (atomic_exchange_acq): Likewise.
7770 (__arch_exchange_and_add_body): Likewise.
7771 (__arch_add_body): Likewise.
7772 (atomic_add_negative): Likewise.
7773 (atomic_add_zero): Likewise.
7774
490df6c4
L
77752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7776
c2722551 7777 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7778 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7779
5e52b189
L
77802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7781
7782 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7783 Check __x86_64__ instead of __WORDSIZE.
7784
a9879d4c
L
77852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7786
7787 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7788
5df98260
DM
77892012-03-19 David S. Miller <davem@davemloft.net>
7790
e1497744
DM
7791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7792
5df98260
DM
7793 * sysdeps/sparc/fpu/fenv_private.h: New file.
7794 * sysdeps/sparc/fpu/math_private.h: Use it.
7795 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7796 Remove.
7797 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7798 (libc_feholdexcept_setroundl): Remove.
7799 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7800 Remove.
7801 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7802 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7803
b4c35121
L
78042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7805
7806 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7807 int64_t instead of long int.
7808 (INSERT_WORDS64): Likwise.
7809
56965fd7
L
78102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7811
7812 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7813 _Unwind_GetCFA return to _Unwind_Ptr first.
7814
83d1aec8
JM
78152012-03-19 Joseph Myers <joseph@codesourcery.com>
7816
1897ad44
JM
7817 [BZ #13629]
7818 * math/s_clog.c: Include <float.h>.
7819 (__clog): Scale large or subnormal inputs.
7820 * math/s_clogf.c: Likewise.
7821 * math/s_clogl.c: Likewise.
7822 * math/s_clog10.c: Include <float.h>.
7823 (M_LOG10_2): Define.
7824 (__clog10): Scale large or subnormal inputs.
7825 * math/s_clog10f.c: Likewise.
7826 * math/s_clog10l.c: Likewise.
7827 * math/libm-test.inc (clog_test): Add more tests.
7828 (clog10_test): Likewise.
7829 * sysdeps/i386/fpu/libm-test-ulps: Update.
7830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7831
7726d6a9
JM
7832 [BZ #11451]
7833 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7834 x and y.
7835 * math/libm-test.inc (atan2_test): Add another test.
7836
83d1aec8
JM
7837 * Makerules (common-objdir-compile): Remove.
7838 * sysdeps/unix/Makefile (config-generated): Do not add
7839 $(unix-generated) to variable.
7840 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7841 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7842 Remove rule.
7843 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7844 Likewise.
7845 [generic bits/local_lim.h] (before-compile): Do not append to
7846 variable.
7847 [generic bits/local_lim.h] (common-generated): Likewise.
7848 [generic sys/param.h] (before-compile): Do not append to variable.
7849 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7850 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7851 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7852 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7853 include.
7854 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7855 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7856 [generic sys/param.h] ($(addprefix
7857 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7858 [generic sys/param.h] (common-generated): Do not append to
7859 variable.
7860 [generic sys/param.h] (sysdep_headers): Likewise.
7861 [generic bits/errno.h] (before-compile): Do not append to
7862 variable.
7863 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7864 rule.
7865 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7866 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7867 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7868 [generic bits/errno.h] (common-generated): Do not append to
7869 variable.
7870 [generic bits/ioctls.h] (before-compile): Do not append to
7871 variable.
7872 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7873 rule.
7874 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7875 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7876 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7877 rule.
7878 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7879 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7880 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7881 [generic bits/ioctls.h] (common-generated): Do not append to
7882 variable.
7883 [generic sys/syscall.h] (syscall.h): Remove variable.
7884 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7885 rule.
7886 [generic sys/syscall.h] (before-compile): Do not append to
7887 variable.
7888 [generic sys/syscall.h] (common-generated): Likewise.
7889 * sysdeps/unix/errnos-tmpl.c: Remove file.
7890 * sysdeps/unix/errnos.awk: Likewise.
7891 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7892 * sysdeps/unix/ioctls.awk: Likewise.
7893 * sysdeps/unix/mk-local_lim.c: Likewise.
7894 * sysdeps/unix/snarf-ioctls: Likewise.
7895
4851a949
RH
78962012-03-19 Richard Henderson <rth@twiddle.net>
7897
bd37f2ee
RH
7898 * sysdeps/i386/fpu/fenv_private.h: New file.
7899 * sysdeps/i386/fpu/math_private.h: Use it.
7900 (math_opt_barrier, math_force_eval): Remove.
7901 (libc_feholdexcept_setround_53bit): Remove.
7902 (libc_feupdateenv_53bit): Remove.
7903 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7904 (math_opt_barrier, math_force_eval): Remove.
7905 (libc_feholdexcept): Remove.
7906 (libc_feholdexcept_setround): Remove.
7907 (libc_fetestexcept, libc_fesetenv): Remove.
7908 (libc_feupdateenv_test): Remove.
7909 (libc_feupdateenv, libc_feholdsetround): Remove.
7910 (libc_feresetround): Remove.
7911
d0adc922
RH
7912 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7913 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7914
0fe0f1f8
RH
7915 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7916 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7917 (libc_feupdateenv_testl): New.
7918 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7919 (libc_feupdateenv_testf): New.
7920 (libc_feupdateenv): Use libc_feupdateenv_test.
7921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7922 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7923
eb92c487
RH
7924 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7925 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7926 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7927 (libc_feresetround_noex): New.
7928 (libc_feresetround_noexf): New.
7929 (libc_feresetround_noexl): New.
7930 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7931 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7932 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7933 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7934 SET_RESTORE_ROUND.
7935 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7936 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7937 (__cos): Likewise.
7938 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7939 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7940 SET_RESTORE_ROUND_NOEX.
7941 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7942 SET_RESTORE_ROUND_NOEXF.
7943 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7944 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7945 (libc_feholdsetroundf): New.
7946 (libc_feresetround, libc_feresetroundf): New.
7947
7d2e8012
RH
7948 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7949 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7950 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7951
b4dabbb4
RH
7952 * sysdeps/generic/math_private.h: Include <fenv.h>.
7953 (default_libc_feholdexcept): New.
7954 (default_libc_feholdexcept_setround): New.
7955 (default_libc_fesetenv, default_libc_feupdateenv): New.
7956 (libc_feholdexcept): Only define if undefined.
7957 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7958 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7959 (libc_feholdexcept_setroundl): Likewise.
7960 (libc_feholdexcept_setround_53bit): Likewise.
7961 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7962 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7963 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7964 (libc_feupdateenv_53bit): Likewise.
7965 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7966 (libc_feholdexcept): Convert from macro to inline function.
7967 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7968 (libc_fesetenv, libc_feupdateenv): Likewise.
7969
4851a949
RH
7970 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7971 not previously defined.
7972 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7973 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7974 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7975 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7976 * sysdeps/ieee754/flt-32/math_private.h: New file.
7977 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7978 math_private.h below SET_FLOAT_WORD.
7979 (__isnan, __isinf_ns, __finite): Remove.
7980 (__isnanf, __isinf_nsf, __finitef): Remove.
7981
e79d442e
AS
79822012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7983
7984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7985
90b80344
DM
79862012-03-17 David S. Miller <davem@davemloft.net>
7987
7988 [BZ #6471]
7989 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7990 for 2.16.
7991
edc21804
DM
79922012-03-16 David S. Miller <davem@davemloft.net>
7993
77e927af
DM
7994 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7995 warnings.
7996
374976dd
DM
7997 [BZ #6471]
7998 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7999 properly.
8000 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8001 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8002 sysdep_routines when subdir is sysvipc.
8003 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8004 __getshmlba helper.
8005
edc21804
DM
8006 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8007
473c3ef3
L
80082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8009
8010 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8011 [__LP64__].
8012
eb0f39b6
L
80132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8014
8015 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8016 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8017 (__lround): Renamed to ...
8018 (__llround): This. Replace long int with long long int.
8019 Define lround functions as aliases of llround functions.
8020 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8021
6b6cd74b
L
80222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8023
8024 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8025 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8026 adresses to uintptr_t. Replace "long int" and "unsigned long
8027 int" with "greg_t" on va_arg.
8028
f1a77b01
L
80292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8030
8031 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8032 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8033
8034 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8035 Move e_machine check before EI_CLASS check. Handle x32
8036 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8037 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8038 SKIP_EM_IA_64 and include
8039 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8040
8041 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8042 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8043 (add_system_dir): New macro.
8044
8045 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8046 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8047
11b90b9f
JM
80482012-03-16 Joseph Myers <joseph@codesourcery.com>
8049
c36e1d23
JM
8050 [BZ #2551]
8051 [BZ #2552]
8052 [BZ #2553]
8053 [BZ #2554]
8054 [BZ #2562]
8055 [BZ #2563]
8056 [BZ #2565]
8057 [BZ #2566]
8058 [BZ #2576]
8059 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8060 (y0): Likewise.
8061 * math/w_j0f.c (j0f): Likewise.
8062 (y0f): Likewise.
8063 * math/w_j0l.c (__j0l): Likewise.
8064 (__y0l): Likewise.
8065 * math/w_j1.c (j1): Likewise.
8066 (y1): Likewise.
8067 * math/w_j1f.c (j1f): Likewise.
8068 (y1f): Likewise.
8069 * math/w_j1l.c (__j1l): Likewise.
8070 (__y1l): Likewise.
8071 * math/w_jn.c (jn): Likewise.
8072 (yn): Likewise.
8073 * math/w_jnf.c (jnf): Likewise.
8074 (ynf): Likewise.
8075 * math/w_jnl.c (__jnl): Likewise.
8076 (__ynl): Likewise.
8077 * math/libm-test.inc (j0_test): Add more tests.
8078 (j1_test): Likewise.
8079 (jn_test): Likewise. Add trailing semicolon to existing test.
8080 (y0_test): Likewise.
8081 (y1_test): Likewise.
8082 * sysdeps/i386/fpu/libm-test-ulps: Update.
8083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8084
11b90b9f
JM
8085 [BZ #13851]
8086 [BZ #13854]
8087 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8088 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8089 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8090 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8091 (__tanl): Set errno for infinite argument.
8092 * sysdeps/i386/fpu/mptan.c: Remove.
8093 * sysdeps/i386/fpu/s_tan.S: Likewise.
8094 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8095 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8096 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8097 * math/libm-test.inc (tan_test): Add more tests and enable more
8098 tests for double and long double.
8099 * sysdeps/i386/fpu/libm-test-ulps: Update.
8100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8101
6a1bd2a1
JK
81022012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8103
8104 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8105 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8106
10a803e0
RM
81072012-03-16 Roland McGrath <roland@hack.frob.com>
8108
8109 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8110 * configure.in: Use it for both main tree and add-ons.
8111 * configure: Regenerated.
8112
f196c7f7
L
81132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8114
8115 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8116
8848d99d
JM
81172012-03-16 Joseph Myers <joseph@codesourcery.com>
8118
96cbe7f4
JM
8119 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8120 in comment.
8121
8848d99d
JM
8122 [BZ #13851]
8123 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8124 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8125 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8126 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8127 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8128 infinite argument.
8129 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8130 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8131 != 0 for prec == 2.
8132 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8133 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8134 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8135 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8136 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8137 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8138 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8139 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8140 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8141 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8142 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8143 * math/libm-test.inc (cos_test): Add more tests and enable more
8144 tests for long double.
8145 (sin_test): Likewise.
8146 (sincos_test): Likewise.
8147 * sysdeps/i386/fpu/libm-test-ulps: Update.
8148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8149
dd7f4703
DM
81502012-03-16 David S. Miller <davem@davemloft.net>
8151
8152 * sysdeps/sparc/fpu/math_private.h: New file.
8153
006f1daa
DM
81542012-03-15 David S. Miller <davem@davemloft.net>
8155
c0c83bc8
DM
8156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8157 file.
e6a62e18 8158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8160 file.
e6a62e18
DM
8161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8166 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8167 sysdep routines.
8168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8169
88cb87d9
DM
8170 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8171 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8172
006f1daa 8173 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8175 sparc-ifunc.h
006f1daa 8176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8178 Likewise.
8179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8180 Likewise.
006f1daa
DM
8181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8185 Likewise.
006f1daa
DM
8186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8191 Likewise.
8192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8193 Likewise.
006f1daa
DM
8194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8212 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8218
11e0098e
AS
82192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8220
8221 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8222 scaling.
8223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8224
e85b09d0
AJ
82252012-03-15 Andreas Jaeger <aj@suse.de>
8226
8227 [BZ #13852]
8228 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8229 ieee754/flt-32 implementation for sin, cos and sincos.
8230 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8231 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8232 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8233 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8234 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8235 ieee754/flt-32 implementation for tan.
8236
8237 * math/libm-test.inc (cos_test): Enable some large input tests for
8238 float as well
8239 (sin_test): Likewise.
8240 (sincos_test): Likewise.
8241 (tan_test): Add tests for large input.
8242
8243 * sysdeps/i386/fpu/libm-test-ulps: Update.
8244
81c64153
AJ
82452012-03-15 Andreas Jaeger <aj@suse.de>
8246
8247 [BZ #13658]
8248 * math/libm-test.inc (cos_test): Add more test cases.
8249 (sin_test): Likewise.
8250 (sincos_test): Likewise.
8251
7bbfa5c6
AJ
82522012-03-15 Andreas Jaeger <aj@suse.de>
8253
8254 [BZ #13837]
8255 * math/libm-test.inc (cos_test): Add a test case for large input
8256 value.
8257 (sin_test): Likewise.
8258 (sincos_test): Likewise.
8259
82602012-03-15 Andreas Jaeger <aj@suse.de>,
8261 Joseph Myers <joseph@codesourcery.com>
8262
8263 [BZ #13658]
0671f479 8264 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8265 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8266 * sysdeps/i386/fpu/branred.c: Likewise.
8267 * sysdeps/i386/fpu/dosincos.c: Likewise.
8268 * sysdeps/i386/fpu/mpa.c: Likewise.
8269 * sysdeps/i386/fpu/s_cos.S: Likewise.
8270 * sysdeps/i386/fpu/s_sin.S: Likewise.
8271 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8272 * sysdeps/i386/fpu/sincos32.c: Likewise.
8273
8274 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8275 Define.
8276 (libc_feupdateenv_53bit): Define.
8277 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8278 Define.
8279 (libc_feupdateenv_53bit): Define.
8280
8281 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8282 53 bit (without extend i386 double precision).
8283
8284 * math/libm-test.inc (sincos_test): Add tests for large input.
8285 (sin): Likewise.
8286 (cos): Likewise.
8287
8288 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8289
9cad04ea
AS
82902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8291
8292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8293
f7062b9a
DM
82942012-03-15 David S. Miller <davem@davemloft.net>
8295
8296 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8297 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8298 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8299 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8312 file.
f7062b9a 8313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8315 file.
f7062b9a 8316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8318 file.
f7062b9a 8319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8321 file.
f7062b9a
DM
8322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8324 fmin/fmax sysdep routines.
8325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8326
7bd951ff
DM
83272012-03-14 David S. Miller <davem@davemloft.net>
8328
559398ab
DM
8329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8333 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8334 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8336 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8349 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8352 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8353 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8357 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8358 routines.
8359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8360 file.
559398ab 8361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8363 file.
559398ab 8364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8366 file.
559398ab 8367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8369 file.
559398ab 8370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8372 file.
559398ab 8373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8375 file.
8376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8377 file.
8378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8379 file.
8380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8381 file.
8382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8383 New file.
8384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8385 file.
8386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8387 file.
559398ab 8388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8390 file.
559398ab 8391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8393 file.
559398ab 8394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8396 file.
559398ab 8397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8399 VIS3 routines.
559398ab
DM
8400
8401 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8402 New file.
8403
5a1c1e32
DM
8404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8405
eae47a36
DM
8406 * sysdeps/sparc/configure.in: New file.
8407 * sysdeps/sparc/configure: Generate.
8408 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8409 * configure: Regenerate.
8410 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8411 * config.make.in (have-as-vis3): New.
8412 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8413 available use -Av9d instead of -Av9a.
8414 * sysdeps/sparc/sparc64/Makefile: Likewise.
8415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8417 New file.
8418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8419 file.
8420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8421 New file.
8422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8423 file.
eae47a36
DM
8424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8425 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8427 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8428 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8429
c0c83bc8
DM
8430 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8431 fzeros/fnegs to load 0x80000000 into a float register instead of
8432 using the stack.
7bd951ff
DM
8433 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8434
bd951ccb
JM
84352012-03-14 Joseph Myers <joseph@codesourcery.com>
8436
8437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8438 bits/syscall.h.
8439 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8440 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8441 ($(inst_includedir)/bits/syscall.h): Remove rule.
8442 ($(objpfx)bits/syscall.d): Include instead of
8443 $(objpfx)syscall-list.d.
8444 (generated): Change syscall-list.h and syscall-list.d to
8445 bits/syscall.h and bits/syscall.d.
8446
bb4e6db2
RM
84472012-03-14 Roland McGrath <roland@hack.frob.com>
8448
8449 [BZ #13846]
8450 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8451
aa4a2ae1
JM
84522012-03-14 Joseph Myers <joseph@codesourcery.com>
8453
e456826d
JM
8454 [BZ #13841]
8455 * math/s_csqrt.c: Include <float.h>.
8456 (__csqrt): Scale large or subnormal inputs.
8457 * math/s_csqrtf.c: Likewise.
8458 * math/s_csqrtl.c: Likewise.
8459 * math/libm-test.inc (csqrt_test): Add more tests.
8460 * sysdeps/i386/fpu/libm-test-ulps: Update.
8461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8462
aa4a2ae1
JM
8463 [BZ #13840]
8464 * math/libm-test.inc (hypot_test): Add more tests.
8465
7c10fd35
DM
84662012-03-13 David S. Miller <davem@davemloft.net>
8467
8468 [BZ #13840]
8469 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8470 double-precision for the calculation instead of scaling.
8471
f453b98b
JM
84722012-03-13 Joseph Myers <joseph@codesourcery.com>
8473
8474 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8475 manipulate bits before adding and subtracting TWO52[sx].
8476 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8477 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8478 Likewise.
8479 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8480
09a3453f
DM
84812012-03-13 David S. Miller <davem@davemloft.net>
8482
8e59da90
DM
8483 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8484 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8486 rtld-global-offsets.h
8487 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8488
2a8ab7f2
DM
8489 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8490 large parameters.
8491
10f62770
DM
8492 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8493
5f0bdb18
DM
8494 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8495 'err' in the ifdef scope in which it is actually used.
8496
09a3453f
DM
8497 * nss/nss_db/db-init.c: Include string.h
8498
b4b2eb5e
DM
84992012-03-12 David S. Miller <davem@davemloft.net>
8500
98bb2f1c
DM
8501 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8502 masking out of the most significant byte of random value used.
8503 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8504 Fix coding style in previous change.
8505
b4b2eb5e
DM
8506 * sysdeps/unix/sysv/linux/kernel-features.h
8507 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8508 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8509 expression.
8510 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8511 later.
8512
6e226b09
DM
85132012-03-11 David S. Miller <davem@davemloft.net>
8514
a1bcbd40
DM
8515 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8516 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8517 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8518 for 'resultvar' otherwise things get truncated on 64-bit.
8519
cb9d6174
DM
8520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8521 Fix masking out of the most significant byte of random value used.
8522
6e226b09
DM
8523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8524
058c132d
AS
85252012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8526
8527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8528
2d2cd515
DM
85292012-03-09 David S. Miller <davem@davemloft.net>
8530
8531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8532 variables with appropriate CPP guards.
8533 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8534 frame pointer, not the stack pointer. Correct layout comments. Fix test
8535 on resulting framesize and the management of the outregs buffer for pltexit.
8536 Preserve floating point return values across _dl_call_pltexit call.
8537 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8538 framesize and the management of the outregs buffer for pltexit.
8539 Preserve floating point return values across _dl_call_pltexit
8540 call.
8541 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8542 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8543 (print_exit): Fix format string for return register value.
8544
9a07f9d0
JM
85452012-03-10 Joseph Myers <joseph@codesourcery.com>
8546
8547 * sunrpc/Makefile (others): Add rpcgen.
8548 ($(objpfx)rpcgen): Remove special build rule and dependency on
8549 libc.
8550 * sunrpc/rpcgen.c: New file.
8551
547b5e30
PE
85522012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8553
c524201a
PE
8554 [BZ #13673]
8555 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8556 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8557 * sysdeps/i386/crti.S: Likewise.
8558 * sysdeps/i386/crtn.S: Likewise.
8559 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8560 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8561 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8562 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8563 * sysdeps/sh/crti.S: Likewise.
8564 * sysdeps/sh/crtn.S: Likewise.
8565 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8566
7b6235f2
PE
8567 [BZ #13673]
8568 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8569 with URL.
8570 * locale/programs/locfile-kw.gperf: Likewise.
8571 * locale/programs/charmap-kw.h: Regenerated.
8572 * locale/programs/locfile-kw.h: Likewise.
8573
547b5e30
PE
8574 [BZ #13673]
8575 * intl/plural.y: Replace FSF snail mail address with URL.
8576 * intl/plural.c: Regenerated.
8577
5f0a5dae
RH
85782012-03-09 Richard Henderson <rth@twiddle.net>
8579
8580 * include/math_private.h: Remove file.
8581 * math/math_private.h: Move file ...
8582 * sysdeps/generic/math_private.h: ... here.
8583
b8c03620
RH
8584 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8585 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8586 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8587
4e234f5d 8588 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8589 and <math_private.h>.
8590 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8591 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8592 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8593 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8594 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8633 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8634 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8638 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8640 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8641 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8642 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8643 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8644 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8646 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8647 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8648 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8649 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8650 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8651 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8653 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8661 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8678 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8679 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8680 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8681 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8682 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8683 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8684 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8685 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8686 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8687 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8688 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8689 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8690 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8691 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8692 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8693 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8694 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8695 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8696 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8697 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8698 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8699 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8700 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8701 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8702 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8703 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8704 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8705 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8706 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8707 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8708 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8709 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8710 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8711 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8712 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8713 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8714 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8715 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8716 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8717 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8718 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8719 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8720 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8721 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8722 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8723 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8724 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8725 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8726 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8727 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8728 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8729 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8730 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8731 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8732 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8733 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8734 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8735 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8736 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8737 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8738 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8739 * sysdeps/ieee754/k_standard.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8790 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8807 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8855 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8859 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8860 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8862 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8867 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8872 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8888 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8889 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8890 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8900 * sysdeps/ieee754/s_lib_version.c: Likewise.
8901 * sysdeps/ieee754/s_matherr.c: Likewise.
8902 * sysdeps/ieee754/s_signgam.c: Likewise.
8903 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8904 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8905 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8906 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8907 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8908 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8909 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8910 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8911 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8912 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8913 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8914 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8915 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8916 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8917 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8918 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8919 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8920 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8921 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8922 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8923 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8924
1991fa03
JM
89252012-03-09 Joseph Myers <joseph@codesourcery.com>
8926
8927 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8928 * sunrpc/rpc_main.c: Likewise.
8929 * sunrpc/rpc_svcout.c: Likewise.
8930
60d6f5a6
DM
89312012-03-09 David S. Miller <davem@davemloft.net>
8932
8933 * include/math_private.h: New file.
8934
4962050e
JM
89352012-03-09 Joseph Myers <joseph@codesourcery.com>
8936
02a6f887
JM
8937 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8938 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8939 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8940 from <bits/socket_type.h>.
8941 (enum __socket_type): Don't define here.
8942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8944 bits/socket_type.h.
8945
c6e013c1
JM
8946 [BZ #13566]
8947 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8948 checking __USE_GNU.
8949
4962050e
JM
8950 * Makerules ($(inst_includedir)/%.h): New rule.
8951 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8952 (install-others): Remove variable setting.
8953 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8954
38842f45
RH
89552012-03-08 Richard Henderson <rth@twiddle.net>
8956
67bb6da6
RH
8957 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8958 from macro to inline function; merge with the
8959 !__LIBC_INTERNAL_MATH_INLINES version.
8960 (__ieee754_sqrtf): Likewise.
8961
15194b4b
RH
8962 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8963 to inline function.
8964 (__rintf, __floor, __floorf): Likewise.
8965
64e21ede
RH
8966 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8967 macro to inline function.
8968 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8969
38842f45
RH
8970 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8971 not <math/math_private.h>.
8972
c64bf5fe
DM
89732012-03-08 David S. Miller <davem@davemloft.net>
8974
8975 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8976 copyright year.
8977 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8978
82d86f28
TS
89792012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8980
8981 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8982 normalization.
8983 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8984 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8985
aea5d727
UD
89862012-03-08 Ulrich Drepper <drepper@gmail.com>
8987
8988 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8989 be defined individually, they must be defined as a block. Define
8990 S for printing a string instead of hidint the different by using a
8991 macro for adding the 'l'.
8992 * stdio-common/tst-fphex-wide.c: Adjust.
8993
70bca0a3
MP
89942012-03-07 Marek Polacek <polacek@redhat.com>
8995
8996 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8997
65b81130
MP
89982012-03-08 Marek Polacek <polacek@redhat.com>
8999
9000 [BZ #13806]
9001 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9002 * stdio-common/tst-fphex.c: Define a few macros to make the
9003 test reusable. Use them.
9004 * stdio-common/tst-fphex-wide.c: New file.
9005
07037eeb
JM
90062012-03-08 Joseph Myers <joseph@codesourcery.com>
9007
a7a93d50
JM
9008 [BZ #6911]
9009 * manual/macros.texi (gnusystems): New macro.
9010 (nongnusystems): Likewise.
9011 (gnulinuxhurdsystems): Likewise.
9012 (gnuhurdsystems): Likewise..
9013 (gnulinuxsystems): Likewise.
9014 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9015 variants of the GNU system, not "GNU system".
9016 * manual/conf.texi: Likewise.
9017 * manual/errno.texi: Likewise. Update example of errno macro
9018 expansion.
9019 * manual/filesys.texi: Likewise.
9020 (getumask): Document as specific to GNU/Hurd.
9021 * manual/install.texi: Likewise. Reword some references to
9022 GNU/Linux.
9023 * manual/intro.texi: Likewise.
9024 * manual/io.texi: Likewise.
9025 (File Name Portability): Detail which constraints are inapplicable
9026 to all GNU systems and which are only inapplicable to GNU/Hurd.
9027 * manual/job.texi: Likewise.
9028 * manual/llio.texi: Likewise.
9029 (O_NOCTTY): Document as present on GNU/Linux.
9030 * manual/maint.texi: Likewise.
9031 * manual/memory.texi: Likewise.
9032 * manual/pattern.texi: Likewise.
9033 * manual/pipe.texi: Likewise.
9034 * manual/process.texi: Likewise.
9035 * manual/resource.texi: Likewise.
9036 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9037 child on GNU/Hurd.
9038 * manual/setjmp.texi: Likewise.
9039 * manual/signal.texi: Likewise.
9040 * manual/startup.texi: Likewise.
9041 * manual/stdio.texi: Likewise.
9042 * manual/terminal.texi: Likewise.
9043 (ONLCR): Document as POSIX.
9044 (OXTABS): Document availability on GNU/Linux as XTABS.
9045 (ONOEOT): Document availability separately from other bits.
9046 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9047 * manual/time.texi: Likewise.
9048 * manual/users.texi: Likewise.
9049 * INSTALL: Regenerated.
9050 * sysdeps/gnu/errlist.c: Regenerated.
9051
07037eeb
JM
9052 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9053 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9054 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9055 puts.
9056 * configure: Regenerated.
9057
d1d3431a
JM
90582012-03-07 Joseph Myers <joseph@codesourcery.com>
9059
af6a1e37
JM
9060 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9061 default includes instead of AC_HEADER_CHECK.
9062 * sysdeps/i386/configure: Regenerated.
9063
d1d3431a
JM
9064 [BZ #10716]
9065 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9066 * math/s_cacoshf.c (__cacoshf): Likewise.
9067 * math/s_cacoshl.c (__cacoshl): Likewise.
9068 * math/s_casinh.c (__casinh): Set signs of result from argument.
9069 * math/s_casinhf.c (__casinhf): Likewise.
9070 * math/s_casinhl.c (__casinhl): Likewise.
9071 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9072 (casinh_test): Add more tests.
9073 * sysdeps/i386/fpu/libm-test-ulps: Update.
9074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9075
482ff4da
UD
90762012-03-07 Ulrich Drepper <drepper@gmail.com>
9077
872fda05
UD
9078 * po/zh_TW.po: Update from translation team.
9079
a4300c7a
UD
9080 * login/Makefile (distribute): Remove variable.
9081 * catgets/Makefile: Likewise.
9082 * mach/Makefile: Likewise.
9083 * malloc/Makefile: Likewise.
9084 * misc/Makefile: Likewise.
9085 * iconv/Makefile: Likewise.
9086 * nscd/Makefile: Likewise.
9087 * hurd/Makefile: Likewise.
9088 * manual/Makefile: Likewise.
9089 * locale/Makefile: Likewise.
9090 * intl/Makefile: Likewise.
9091 * conform/Makefile: Likewise.
9092 * nss/Makefile: Likewise.
9093 * time/Makefile: Likewise.
9094 * soft-fp/Makefile: Likewise.
9095 * dirent/Makefile: Likewise.
9096 * gmon/Makefile: Likewise.
9097 * po/Makefile: Likewise.
9098 * rt/Makefile: Likewise.
9099 * socket/Makefile: Likewise.
9100 * math/Makefile: Likewise.
9101 * signal/Makefile: Likewise.
9102 * debug/Makefile: Likewise.
9103 * elf/Makefile: Likewise.
9104 * timezone/Makefile: Likewise.
9105 * stdlib/Makefile: Likewise.
9106 * iconvdata/Makefile: Likewise.
9107 * sunrpc/Makefile: Likewise.
9108 * io/Makefile: Likewise.
9109 * argp/Makefile: Likewise.
9110 * inet/Makefile: Likewise.
9111 * hesiod/Makefile: Likewise.
9112 * grp/Makefile: Likewise.
9113 * csu/Makefile: Likewise.
9114 * wctype/Makefile: Likewise.
9115 * crypt/Makefile: Likewise.
9116 * libio/Makefile: Likewise.
9117 * string/Makefile: Likewise.
9118 * nis/Makefile: Likewise.
9119 * resolv/Makefile: Likewise.
9120 * stdio-common/Makefile: Likewise.
9121 * wcsmbs/Makefile: Likewise.
9122 * dlfcn/Makefile: Likewise.
9123 * posix/Makefile: Likewise.
9124
3b7c4e74 9125 [BZ #6959]
482ff4da
UD
9126 * timezone/Makefile: Don't install timezone files, just the programs
9127 and scripts.
9128
f72ed77d
UD
91292012-03-06 Ulrich Drepper <drepper@gmail.com>
9130
a000466f
UD
9131 * nss/databases.def: Add missing gshadow entry.
9132
f72ed77d
UD
9133 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9134
a53b7a4e
MP
91352012-03-06 Marek Polacek <polacek@redhat.com>
9136
9137 [BZ #13726]
9138 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9139 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9140 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9141 * stdio-common/tst-long-dbl-fphex.c: New file.
9142
e9258400
DM
91432012-03-06 David S. Miller <davem@davemloft.net>
9144
9145 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9146 (set_obp_int): New function.
9147 (get_obp_int): New function.
9148 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9149 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9150 Avoid unused variable warnings on 'val' and use builtin_expect.
9151 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9152 __builtin_expect.
e9258400
DM
9153 (INLINE_CLONE_SYSCALL): Likewise.
9154
3bd2c723
DM
91552012-03-05 David S. Miller <davem@davemloft.net>
9156
9157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9158
bbb78d03
AS
91592012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9160
884c5db4
AS
9161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9162
bbb78d03
AS
9163 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9164 only for |x| >= 40.
9165 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9166
1c9f702a 91672012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9168
9169 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9170 Replace gettimeofday with __vdso_gettimeofday.
9171
7be16f82
RM
9172 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9173 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9174 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9175
9176 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9177 time with __vdso_time.
9178
ed58a00f
JM
91792012-03-05 Joseph Myers <joseph@codesourcery.com>
9180
9181 * manual/lang.texi (size_t): Note types to which size_t may be
9182 equivalent with the GNU C Library, but do not describe when
9183 differences between them are significant.
9184
30ee4ced
AJ
91852012-03-05 Andreas Jaeger <aj@suse.de>
9186
9187 * sysdeps/i386/fpu/libm-test-ulps: Update.
9188
b7cd39e8
JM
91892012-03-05 Joseph Myers <joseph@codesourcery.com>
9190
9191 [BZ #3976]
9192 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9193 (__ieee754_pow): Save and restore rounding mode and use
9194 round-to-nearest for main computations.
9195 * math/libm-test.inc (pow_test_tonearest): New function.
9196 (pow_test_towardzero): Likewise.
9197 (pow_test_downward): Likewise.
9198 (pow_test_upward): Likewise.
9199 (main): Call the new functions.
9200 * sysdeps/i386/fpu/libm-test-ulps: Update.
9201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9202
9203 [BZ #3976]
9204 * math/libm-test.inc (cosh_test_tonearest): New function.
9205 (cosh_test_towardzero): Likewise.
9206 (cosh_test_downward): Likewise.
9207 (cosh_test_upward): Likewise.
9208 (sinh_test_tonearest): Likewise.
9209 (sinh_test_towardzero): Likewise.
9210 (sinh_test_downward): Likewise.
9211 (sinh_test_upward): Likewise.
9212 (main): Call the new functions.
9213 * sysdeps/i386/fpu/libm-test-ulps: Update.
9214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9215
6c6a98c9
TV
92162012-03-05 Tom de Vries <tom@codesourcery.com>
9217
9218 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9219 default stack guard is set in last bytes.
9220 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9221
21bb2d2e 92222012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9223
21bb2d2e 9224 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9225
21bb2d2e
AJ
9226 [BZ #13656]
9227 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9228 possibly allocate from heap instead of stack.
9229 * stdio-common/bug-vfprintf-nargs.c: New file.
9230 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9231
c6922934
AS
92322012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9233
9234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9235
bc957d53
MP
92362012-03-03 Marek Polacek <polacek@redhat.com>
9237
9238 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9239 * math/math_private.h: Likewise.
9240 * stdlib/tst-strtod.c: Likewise.
9241 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9242 * sysdeps/x86_64/bits/atomic.h: Likewise.
9243
6358490d
DM
92442012-03-02 David S. Miller <davem@davemloft.net>
9245
9246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9250 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9251 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9252 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9253 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9254
01ae168d
RM
92552012-03-02 Roland McGrath <roland@hack.frob.com>
9256
d9a17c07
RM
9257 [BZ #13792]
9258 * manual/examples/README: New file, says the example source files
9259 can be used under GPL>=2.
9260 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9261 line containing just "*/".
9262 * manual/examples/add.c: Add copyright header (GPL>=2).
9263 * manual/examples/argp-ex1.c: Likewise.
9264 * manual/examples/argp-ex2.c: Likewise.
9265 * manual/examples/argp-ex3.c: Likewise.
9266 * manual/examples/argp-ex4.c: Likewise.
9267 * manual/examples/atexit.c: Likewise.
9268 * manual/examples/db.c: Likewise.
9269 * manual/examples/dir.c: Likewise.
9270 * manual/examples/dir2.c: Likewise.
9271 * manual/examples/execinfo.c: Likewise.
9272 * manual/examples/filecli.c: Likewise.
9273 * manual/examples/filesrv.c: Likewise.
9274 * manual/examples/fmtmsgexpl.c: Likewise.
9275 * manual/examples/genpass.c: Likewise.
9276 * manual/examples/inetcli.c: Likewise.
9277 * manual/examples/inetsrv.c: Likewise.
9278 * manual/examples/isockad.c: Likewise.
9279 * manual/examples/longopt.c: Likewise.
9280 * manual/examples/memopen.c: Likewise.
9281 * manual/examples/memstrm.c: Likewise.
9282 * manual/examples/mkfsock.c: Likewise.
9283 * manual/examples/mkisock.c: Likewise.
9284 * manual/examples/mygetpass.c: Likewise.
9285 * manual/examples/pipe.c: Likewise.
9286 * manual/examples/popen.c: Likewise.
9287 * manual/examples/rprintf.c: Likewise.
9288 * manual/examples/search.c: Likewise.
9289 * manual/examples/select.c: Likewise.
9290 * manual/examples/setjmp.c: Likewise.
9291 * manual/examples/sigh1.c: Likewise.
9292 * manual/examples/sigusr.c: Likewise.
9293 * manual/examples/stpcpy.c: Likewise.
9294 * manual/examples/strdupa.c: Likewise.
9295 * manual/examples/strftim.c: Likewise.
9296 * manual/examples/strncat.c: Likewise.
9297 * manual/examples/subopt.c: Likewise.
9298 * manual/examples/swapcontext.c: Likewise.
9299 * manual/examples/termios.c: Likewise.
9300 * manual/examples/testopt.c: Likewise.
9301 * manual/examples/testpass.c: Likewise.
9302 * manual/examples/timeval_subtract.c: Likewise.
9303
01ae168d
RM
9304 [BZ #13792]
9305 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9306 function to ...
9307 * manual/timeval_subtract.c.texi: ... here, new file.
9308
49efa33d
DM
93092012-03-02 David S. Miller <davem@davemloft.net>
9310
9311 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9312
28afd92d
JM
93132012-03-02 Joseph Myers <joseph@codesourcery.com>
9314
804360ed
JM
9315 [BZ #3976]
9316 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9317 (__sin): Save and restore rounding mode and use round-to-nearest
9318 for all computations.
9319 (__cos): Save and restore rounding mode and use round-to-nearest
9320 for all computations.
9321 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9322 <fenv.h>.
9323 (tan): Save and restore rounding mode and use round-to-nearest for
9324 all computations.
9325 * math/libm-test.inc (cos_test_tonearest): New function.
9326 (cos_test_towardzero): Likewise.
9327 (cos_test_downward): Likewise.
9328 (cos_test_upward): Likewise.
9329 (sin_test_tonearest): Likewise.
9330 (sin_test_towardzero): Likewise.
9331 (sin_test_downward): Likewise.
9332 (sin_test_upward): Likewise.
9333 (tan_test_tonearest): Likewise.
9334 (tan_test_towardzero): Likewise.
9335 (tan_test_downward): Likewise.
9336 (tan_test_upward): Likewise.
9337 (main): Call the new functions.
9338 * sysdeps/i386/fpu/libm-test-ulps: Update.
9339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9340
a6d06d7b
JM
9341 [BZ #10135]
9342 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9343 small n, then large n, before computing and testing k+n.
9344 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9345 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9346 Likewise.
9347 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9348 Likewise.
9349 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9350 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9351 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9352 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9354 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9355 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9356 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9357 * math/libm-test.inc (scalbn_test): Add more tests.
9358 (scalbln_test): Likewise.
9359
07e12bb3
JM
9360 * manual/filesys.texi (mode_t): Describe constraints on size and
9361 signedness, not exact equivalence to a particular type.
9362 (ino_t): Likewise.
9363 (ino64_t): Likewise.
9364 (dev_t): Likewise.
9365 (nlink_t): Likewise.
9366 (blkcnt_t): Likewise.
9367 (blkcnt64_t): Likewise.
9368 * manual/llio.texi (off_t): Likewise.
9369
28afd92d
JM
9370 [BZ #3976]
9371 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9372 (__ieee754_exp): Save and restore rounding mode and use
9373 round-to-nearest for all computations.
9374 * math/libm-test.inc (exp_test_tonearest): New function.
9375 (exp_test_towardzero): Likewise.
9376 (exp_test_downward): Likewise.
9377 (exp_test_upward): Likewise.
9378 (main): Call the new functions.
9379 * sysdeps/i386/fpu/libm-test-ulps: Update.
9380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9381
b1eeb65d
CD
93822012-03-01 Chris Demetriou <cgd@google.com>
9383
9384 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9385 have predictable order.
9386
53362a4b
DM
93872012-03-01 David S. Miller <davem@davemloft.net>
9388
3c969083
DM
9389 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9390
759707de
DM
9391 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9392 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9393 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9394 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9395
dfdb8ff2
DM
9396 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9397 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9398 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9400 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9401 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9402 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9403 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9404 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9405
ead89f96
DM
9406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9407
7f66bd07
DM
9408 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9409 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9410 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9411
53362a4b
DM
9412 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9413 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9414 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9415 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9416 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9417 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9419 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9420 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9421 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9422 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9423 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9424 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9425 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9426 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9428 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9429 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9430 * sysdeps/sparc/elf/configure: Regenerated.
9431
7b1902cb
JM
94322012-03-01 Joseph Myers <joseph@codesourcery.com>
9433
bec039bc
JM
9434 * configure.in (AS, LD): Require binutils 2.20 or later.
9435 * configure: Regenerated.
9436 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9437 as required minimum version.
9438 * INSTALL: Regenerated.
9439
7b1902cb
JM
9440 [BZ #2541]
9441 [BZ #4108]
9442 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9443 before squaring exponent.
9444 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9445 bottom long double and 27 bits of top long double before squaring
9446 exponent.
9447 * math/libm-test.inc (erfc_test): Add more tests.
9448 * sysdeps/i386/fpu/libm-test-ulps: Update.
9449 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9451
f775c276
KT
94522012-03-01 Kai Tietz <ktietz@redhat.com>
9453
9454 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9455 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9456 containing bit-fields.
9457 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9458 * soft-fp/single.h (_FP_UNION_S): Likewise.
9459 * soft-fp/double.h (_FP_UNION_D): Likewise.
9460
5b8a4d4a
JM
94612012-02-29 Joseph Myers <joseph@codesourcery.com>
9462
0bab47b6
JM
9463 [BZ #13786]
9464 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9465 not include ../strcmp.S.
9466 [USE_AS_STRNCASECMP_L]: Likewise.
9467 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9468 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9469 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9470 (__strncasecmp_l_ia32): Define as alias to
9471 __strncasecmp_l_nonascii.
9472
0fcad3e2
JM
9473 [BZ #5794]
9474 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9475 * sysdeps/i386/fpu/libm-test-ulps: Update.
9476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9477
5b8a4d4a
JM
9478 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9480
8fdceb2e
JL
94812012-02-29 Jeff Law <law@redhat.com>
9482
9483 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9484 out of bounds read.
9485
1f393a11
MP
94862012-02-29 Marek Polacek <polacek@redhat.com>
9487
9488 [BZ #13706]
9489 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9490 * elf/Makefile: Add rules to run tst-unused-dep.out.
9491
8847f037
DM
94922012-02-28 David S. Miller <davem@davemloft.net>
9493
9494 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9495 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9496 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9497 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9498 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9499 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9500
169d7f11
JM
95012012-02-29 Joseph Myers <joseph@codesourcery.com>
9502
9503 * math/libm-test.inc (llround_test): Move one test from
9504 lround_test. Use TEST_f_L in moved test.
9505 (lround_test): Move misplaced test to llround_test. Add testcase
9506 from bug 2561.
9507
39adf059
UD
95082012-02-28 Ulrich Drepper <drepper@gmail.com>
9509
9510 * sysdeps/x86_64/fpu/e_expf.S: New file.
9511 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9512
71b5d1c5
SB
95132012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9514
9515 [BZ #13637]
9516 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9517 of remain_len that may cause incomplete multi-byte character and
9518 false match.
9519 * posix/bug-regex33.c: New file.
9520 * posix/Makefile (tests): Add bug-regex33.
9521
1f77f049
JM
95222012-02-28 Joseph Myers <joseph@codesourcery.com>
9523
9524 * manual/macros.texi: New file.
9525 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9526 * manual/libc.texinfo: Include macros.texi.
9527 * manual/creatute.texi: Likewise.
9528 * manual/install.texi: Likewise.
9529 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9530 @glibcadj{} in references to the GNU C Library.
9531 * manual/charset.texi: Likewise.
9532 * manual/conf.texi: Likewise.
9533 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9534 when not using those macros.
9535 * manual/creature.texi: Likewise.
9536 * manual/crypt.texi: Likewise.
9537 * manual/errno.texi: Likewise.
9538 * manual/filesys.texi: Likewise.
9539 * manual/header.texi: Likewise.
9540 * manual/install.texi: Likewise.
9541 * manual/intro.texi: Likewise.
9542 * manual/io.texi: Likewise.
9543 * manual/job.texi: Likewise.
9544 * manual/lang.texi: Likewise.
9545 * manual/libc.texiinfo: Likewise.
9546 * manual/llio.texi: Likewise.
9547 * manual/locale.texi: Likewise.
9548 * manual/maint.texi: Likewise.
9549 * manual/math.texi: Likewise.
9550 * manual/memory.texi: Likewise.
9551 * manual/message.texi: Likewise.
9552 * manual/nss.texi: Likewise.
9553 * manual/pattern.texi: Likewise.
9554 * manual/process.texi: Likewise.
9555 * manual/resource.texi: Likewise.
9556 * manual/search.texi: Likewise.
9557 * manual/setjmp.texi: Likewise.
9558 * manual/signal.texi: Likewise.
9559 * manual/socket.texi: Likewise.
9560 * manual/startup.texi: Likewise.
9561 * manual/stdio.texi: Likewise.
9562 * manual/string.texi: Likewise.
9563 * manual/sysinfo.texi: Likewise.
9564 * manual/syslog.texi: Likewise.
9565 * manual/terminal.texi: Likewise.
9566 * manual/time.texi: Likewise.
9567 * manual/users.texi: Likewise.
9568 * INSTALL: Regenerated.
9569 * NOTES: Regenerated.
d40c5d54 9570 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9571
450bf206
AS
95722012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9573
9574 * include/dirent.h: Include <dirstream.h> before
9575 <dirent/dirent.h>.
9576
741a235b
DM
95772012-02-28 David S. Miller <davem@davemloft.net>
9578
9579 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9580 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9581 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9582 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9583
d6b5aa58
DM
95842012-02-27 David S. Miller <davem@davemloft.net>
9585
1aff59a3
DM
9586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9588 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9589 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9590
d6b5aa58
DM
9591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9592 frame pointer instead of stack pointer relative arg slot.
9593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9594 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9595 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9596
433f48bf
CD
95972012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9598
9599 [BZ #3992]
9600 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9601
d674b76d
DM
96022012-02-27 David S. Miller <davem@davemloft.net>
9603
9604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9608 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9609 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9610 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9611 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9612
0e7727f7
JM
96132012-02-27 Joseph Myers <joseph@codesourcery.com>
9614
9615 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9616 later. Allow versions 5-9.
43be4ca2 9617 * configure: Regenerated.
0e7727f7
JM
9618 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9619 required minimum version and 4.6 as recommended version. Do not
9620 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9621 * INSTALL: Regenerated.
0e7727f7 9622
a78bc654
DM
96232012-02-27 David S. Miller <davem@davemloft.net>
9624
428d5830
DM
9625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9629 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9630 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9631 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9632 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9633
a78bc654
DM
9634 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9635 manipulate bits before adding and subtracting TWO112[sx].
9636 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9637
4579f81c
RM
96382012-02-27 Roland McGrath <roland@hack.frob.com>
9639
36c8acb4
RM
9640 [BZ #13775]
9641 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9642 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9643 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9644 being in POSIX, because they are in 1003.1-2008.
9645
84ad622b
RM
9646 * rt/tst-aio.c: Include <fcntl.h>.
9647 * rt/tst-aio7.c: Likewise.
9648 * rt/tst-aio64.c: Likewise.
9649
4579f81c
RM
9650 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9651
abd923db
JM
96522012-02-27 Joseph Myers <joseph@codesourcery.com>
9653
9654 * manual/install.texi (--with-headers): Describe headers as
9655 interface headers, not private headers.
9656 (Specific advice for GNU/Linux systems): Describe use of headers
9657 from "make headers_install", not private headers from older
9658 kernels.
43be4ca2 9659 * INSTALL: Regenerated.
abd923db
JM
9660 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9661 Change to 2.6.19.
9662 * sysdeps/unix/sysv/linux/configure: Regenerated.
9663
6664049b
JM
9664 * manual/llio.texi (fclean): Remove documentation.
9665
bb8b6697
JM
9666 * manual/Makefile (libc-texi-generated): New variable. Include
9667 version.texi.
9668 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9669 $(libc-texi-generated), not duplicated list of files.
9670 (version.texi, stamp-version): New rules.
9671 (realclean): Remove $(libc-texi-generated), not individual files
9672 from that list. Do not remove dir-add.texinfo.
9673 * manual/libc.texinfo: Comment out uses of edition numbers and
9674 references to printed manual. Remove last-updated dates.
9675 (EDITION): Comment out.
9676 (ISBN): Likewise.
9677 (VERSION, UPDATED): Remove.
9678 (version.texi): Include.
9679
12e5c3b9
AS
96802012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9681
9682 * sysdeps/posix/spawni.c: Include <signal.h>.
9683 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9684 * sysdeps/pthread/aio_fsync.c: Likewise.
9685
4efeffc1 96862012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9687
ba63ba08
UD
9688 * conform/Makefile (tests): Run only when not cross-compiling and
9689 when fast-check is not defined.
9690
d94a4670
UD
9691 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9692 * conform/data/limits.h-data: Fixes for POSIX2008.
9693 * conform/run-conformtest.sh: Run all tests.
9694 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9695 headers.
9696 * include/bits/dlfcn.h: Likewise.
9697 * include/langinfo.h: Likewise.
9698 * include/monetary.h: Likewise.
9699 * include/sys/poll.h: Likewise.
9700
9701 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9702 for __USE_GNU.
9703 * posix/spawn.h: Define __need_sigset_t.
9704 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9705 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9706 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9707 to get sigevent_t only.
9708 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9709 only for __USE_GNU.
9710 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9711 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9712 process_vm_writev only for __USE_GNU.
9713 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9714
9715 * conform/Makefile: For now ignore errors from run-conformtest.
9716 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9717 POSIX to avoid namespace pollution. Don't prepend headers.
9718 * conform/data/aio.h-data: Fixes for POSIX testing.
9719 * conform/data/fcntl.h-data: Likewise.
9720 * conform/data/glob.h-data: Likewise.
9721 * conform/data/grp.h-data: Likewise.
9722 * conform/data/pthread.h-data: Likewise.
9723 * conform/data/pwd.h-data: Likewise.
9724 * conform/data/signal.h-data: Likewise.
9725 * conform/data/spawn.h-data: Likewise.
9726 * conform/data/stdio.h-data: Likewise.
9727 * conform/data/stdlib.h-data: Likewise.
9728 * conform/data/stropts.h-data: Likewise.
9729 * conform/data/sys/mman.h-data: Likewise.
9730 * conform/data/sys/stat.h-data: Likewise.
9731 * conform/data/sys/types.h-data: Likewise.
9732 * conform/data/sys/wait.h-data: Likewise.
9733 * conform/data/time.h-data: Likewise.
9734 * conform/data/unistd.h-data: Likewise.
9735 * conform/data/utime.h-data: Likewise.
9736
9737 * io/sys/stat.h: fchmod was always in POSIX.
9738 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9739 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9740 * rt/aio.h: Define __need_timespec before including <time.h>.
9741 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9742 struct. Add forward declaration of pthread_attr_t and use it in
9743 sigevent.
9744 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9745 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9746 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9747 always remove CLK_TCK definition.
9748
c20105c3
AS
97492012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9750
9751 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9752
7a270350
UD
97532012-02-25 Ulrich Drepper <drepper@gmail.com>
9754
31341567
UD
9755 * conform/run-conformtest.sh: New file.
9756 * conform/Makefile: Run run-conformtest for tests.
9757 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9758 support.
9759
9760 * conform/data/uchar.h-data: New file.
9761 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9762 * conform/data/arpa/inet.h-data: Likewise.
9763 * conform/data/assert.h-data: Likewise.
9764 * conform/data/complex.h-data: Likewise.
9765 * conform/data/cpio.h-data: Likewise.
9766 * conform/data/ctype.h-data: Likewise.
9767 * conform/data/dirent.h-data: Likewise.
9768 * conform/data/dlfcn.h-data: Likewise.
9769 * conform/data/errno.h-data: Likewise.
9770 * conform/data/fcntl.h-data: Likewise.
9771 * conform/data/float.h-data: Likewise.
9772 * conform/data/fmtmsg.h-data: Likewise.
9773 * conform/data/fnmatch.h-data: Likewise.
9774 * conform/data/ftw.h-data: Likewise.
9775 * conform/data/glob.h-data: Likewise.
9776 * conform/data/grp.h-data: Likewise.
9777 * conform/data/iconv.h-data: Likewise.
9778 * conform/data/inttypes.h-data: Likewise.
9779 * conform/data/langinfo.h-data: Likewise.
9780 * conform/data/libgen.h-data: Likewise.
9781 * conform/data/limits.h-data: Likewise.
9782 * conform/data/locale.h-data: Likewise.
9783 * conform/data/math.h-data: Likewise.
9784 * conform/data/monetary.h-data: Likewise.
9785 * conform/data/mqueue.h-data: Likewise.
9786 * conform/data/ndbm.h-data: Likewise.
9787 * conform/data/net/if.h-data: Likewise.
9788 * conform/data/netdb.h-data: Likewise.
9789 * conform/data/netinet/in.h-data: Likewise.
9790 * conform/data/nl_types.h-data: Likewise.
9791 * conform/data/poll.h-data: Likewise.
9792 * conform/data/pthread.h-data: Likewise.
9793 * conform/data/pwd.h-data: Likewise.
9794 * conform/data/regex.h-data: Likewise.
9795 * conform/data/sched.h-data: Likewise.
9796 * conform/data/search.h-data: Likewise.
9797 * conform/data/semaphore.h-data: Likewise.
9798 * conform/data/setjmp.h-data: Likewise.
9799 * conform/data/signal.h-data: Likewise.
9800 * conform/data/spawn.h-data: Likewise.
9801 * conform/data/stdarg.h-data: Likewise.
9802 * conform/data/stdio.h-data: Likewise.
9803 * conform/data/stdlib.h-data: Likewise.
9804 * conform/data/string.h-data: Likewise.
9805 * conform/data/strings.h-data: Likewise.
9806 * conform/data/stropts.h-data: Likewise.
9807 * conform/data/sys/ipc.h-data: Likewise.
9808 * conform/data/sys/mman.h-data: Likewise.
9809 * conform/data/sys/msg.h-data: Likewise.
9810 * conform/data/sys/resource.h-data: Likewise.
9811 * conform/data/sys/select.h-data: Likewise.
9812 * conform/data/sys/sem.h-data: Likewise.
9813 * conform/data/sys/shm.h-data: Likewise.
9814 * conform/data/sys/socket.h-data: Likewise.
9815 * conform/data/sys/stat.h-data: Likewise.
9816 * conform/data/sys/statvfs.h-data: Likewise.
9817 * conform/data/sys/time.h-data: Likewise.
9818 * conform/data/sys/timeb.h-data: Likewise.
9819 * conform/data/sys/times.h-data: Likewise.
9820 * conform/data/sys/types.h-data: Likewise.
9821 * conform/data/sys/uio.h-data: Likewise.
9822 * conform/data/sys/un.h-data: Likewise.
9823 * conform/data/sys/utsname.h-data: Likewise.
9824 * conform/data/sys/wait.h-data: Likewise.
9825 * conform/data/syslog.h-data: Likewise.
9826 * conform/data/tar.h-data: Likewise.
9827 * conform/data/termios.h-data: Likewise.
9828 * conform/data/utime.h-data: Likewise.
9829 * conform/data/utmpx.h-data: Likewise.
9830 * conform/data/varargs.h-data: Likewise.
9831 * conform/data/wchar.h-data: Likewise.
9832 * conform/data/wctype.h-data: Likewise.
9833 * conform/data/wordexp.h-data: Likewise.
9834
9835 * include/stropts.h: New file.
9836 * include/uchar.h: New file.
9837 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9838 * include/assert.h: Likewise.
9839 * include/ctype.h: Likewise.
9840 * include/dirent.h: Likewise.
9841 * include/dlfcn.h: Likewise.
9842 * include/fcntl.h: Likewise.
9843 * include/fnmatch.h: Likewise.
9844 * include/glob.h: Likewise.
9845 * include/grp.h: Likewise.
9846 * include/libio.h: Likewise.
9847 * include/locale.h: Likewise.
9848 * include/math.h: Likewise.
9849 * include/net/if.h: Likewise.
9850 * include/netdb.h: Likewise.
9851 * include/netinet/in.h: Likewise.
9852 * include/pthread.h: Likewise.
9853 * include/pwd.h: Likewise.
9854 * include/regex.h: Likewise.
9855 * include/sched.h: Likewise.
9856 * include/search.h: Likewise.
9857 * include/setjmp.h: Likewise.
9858 * include/signal.h: Likewise.
9859 * include/stdio.h: Likewise.
9860 * include/stdlib.h: Likewise.
9861 * include/string.h: Likewise.
9862 * include/sys/cdefs.h: Likewise.
9863 * include/sys/mman.h: Likewise.
9864 * include/sys/msg.h: Likewise.
9865 * include/sys/resource.h: Likewise.
9866 * include/sys/select.h: Likewise.
9867 * include/sys/socket.h: Likewise.
9868 * include/sys/stat.h: Likewise.
9869 * include/sys/statvfs.h: Likewise.
9870 * include/sys/time.h: Likewise.
9871 * include/sys/times.h: Likewise.
9872 * include/sys/uio.h: Likewise.
9873 * include/sys/utsname.h: Likewise.
9874 * include/sys/wait.h: Likewise.
9875 * include/termios.h: Likewise.
9876 * include/time.h: Likewise.
9877 * include/ulimit.h: Likewise.
9878 * include/unistd.h: Likewise.
9879 * include/utime.h: Likewise.
9880 * include/wchar.h: Likewise.
9881 * include/wctype.h: Likewise.
9882 * include/wordexp.h: Likewise.
9883
9884 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9885
7a270350
UD
9886 * time/time.h: TIME_UTC must be a macro.
9887 Make timespec_get available for ISO C11 only as well.
9888
7724defc
UD
98892012-02-24 Ulrich Drepper <drepper@gmail.com>
9890
9891 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9892 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9893
6b1d1d46
JM
98942012-02-24 Joseph Myers <joseph@codesourcery.com>
9895
9896 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9897
0f8bbd69
JM
98982012-02-24 Joseph Myers <joseph@codesourcery.com>
9899
9900 * manual/texinfo.tex: Update to version 2012-01-19.16.
9901
66ab80bc
JM
99022012-02-24 Joseph Myers <joseph@codesourcery.com>
9903
9904 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9905
74981cc5
RM
99062012-02-24 Roland McGrath <roland@hack.frob.com>
9907
ee968201
RM
9908 [BZ #13738]
9909 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9910 * manual/fdl-1.3.texi: New file.
9911 * manual/fdl-1.1.texi: File removed.
9912
74981cc5
RM
9913 [BZ #13738]
9914 * manual/libc.texinfo (FDL_VERSION): New @set.
9915 Use it for mention of FDL in cover text.
9916 (Documentation License): Use it in @include file name.
9917
7bb764bc
JM
99182012-02-22 Joseph Myers <joseph@codesourcery.com>
9919 Roland McGrath <roland@hack.frob.com>
9920
9921 [BZ #5461]
9922 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9923 not LONG_LONG_MAX and LONG_LONG_MIN.
9924 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9925 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9926 name.
9927 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9928
6cbeae47
JM
99292012-02-22 Joseph Myers <joseph@codesourcery.com>
9930
9931 [BZ #2547]
9932 [BZ #11365]
9933 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9934 manipulate bits before adding and subtracting TWO23[sx].
9935 * math/libm-test.inc (nearbyint_test): Add more tests.
9936
fe45ce09
JM
99372012-02-22 Joseph Myers <joseph@codesourcery.com>
9938
9939 [BZ #2548]
9940 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9941 bits before adding and subtracting TWO23[sx].
9942 * math/libm-test.inc (rint_test): Add more tests.
9943 (rint_test_tonearest): Likewise.
9944 (rint_test_towardzero): Likewise.
9945 (rint_test_downward): Likewise.
9946 (rint_test_upward: Likewise.
9947
ff3b3d82
JM
99482012-02-22 Joseph Myers <joseph@codesourcery.com>
9949
9950 [BZ #10110]
9951 * include/stdc-predef.h: New file. Extracted from features.h.
9952 * include/features.h: Include stdc-predef.h.
9953 * Makefile (headers): Add stdc-predef.h.
9954 * CONFORMANCE (Compiler limitations): Update.
9955
ef0aab35
JM
99562012-02-22 Joseph Myers <joseph@codesourcery.com>
9957
9958 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9959
58639409
DM
99602012-02-21 David S. Miller <davem@davemloft.net>
9961
9962 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9963 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9964
c0e70b25
DM
99652012-02-20 David S. Miller <davem@davemloft.net>
9966
9967 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9968 using a normal save/restore sequence, rather than allocating a
9969 dummy stack frame just to store a frame pointer and restore.
9970 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9971
fb06851d
JM
99722012-02-21 Joseph Myers <joseph@codesourcery.com>
9973
9974 * manual/install.texi: Fix stray word in line-wrapped comment.
9975
7a8b71c3
DM
99762012-02-20 David S. Miller <davem@davemloft.net>
9977
d510c123
DM
9978 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9979 both binutils and gcc support GOTDATA.
9980
0722d7c2
DM
9981 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9982 "rd %pc" in the PIC register setup sequences.
9983
3d2b3019
DM
9984 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9985 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9986 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9987 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9988 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9990 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9991 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9992 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9993 (SYSCALL_ERROR_HANDLER): Likewise.
9994 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9995 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9996 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9997 (SYSCALL_ERROR_HANDLER): Likewise.
9998
c80098a9
DM
9999 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10000 (HAVE_GCC_GOTDATA): New.
10001 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10002 relocation support in both binutils and gcc.
10003 * sysdeps/sparc/elf/configure: Regenerate.
10004
3a2545a0
DM
10005 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10006 * sysdeps/sparc/sparc32/elf/configure: Delete.
10007 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10008 * sysdeps/sparc/sparc64/elf/configure: Delete.
10009 * sysdeps/sparc/elf/configure.in: New file.
10010 * sysdeps/sparc/elf/configure: Generate.
10011
7a8b71c3
DM
10012 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10013 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10014 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10015 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10016 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10017
f1e86fca
JM
100182012-02-21 Joseph Myers <joseph@codesourcery.com>
10019
10020 * manual/install.texi: Do not mention specific glibc version
10021 numbers.
10022 * manual/libc.texinfo (VERSION, UPDATED): Update.
10023 (@copying): Use @copyright{} and range of years.
10024
0e7dfaef
JM
100252012-02-21 Joseph Myers <joseph@codesourcery.com>
10026
10027 [BZ #13695]
10028 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10029 [crti.S not in sysdirs] (generated): Do not append.
10030 [crti.S not in sysdirs] (omit-deps): Likewise.
10031 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10032 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10033 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10034 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10035 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10036 Likewise.
10037 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10038 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10039 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10040 * csu/defs.awk: Remove file.
10041 * sysdeps/generic/initfini.c: Likewise.
10042 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10043 variable.
10044 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10045 Likewise.
10046
599af3ca
JM
100472012-02-20 Joseph Myers <joseph@codesourcery.com>
10048
10049 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10050 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10051 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10052 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10053 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10054 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10055 <bits/epoll.h>.
10056 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10057 (__EPOLL_PACKED): Define to empty if not defined by
10058 <bits/epoll.h>.
10059 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10061 bits/epoll.h.
10062
0e499750
JM
100632012-02-20 Joseph Myers <joseph@codesourcery.com>
10064
10065 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10066 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10067 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10068 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10069 <bits/timerfd.h>.
10070 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10072 bits/timerfd.h.
10073
5ad91f6e
JM
100742012-02-20 Joseph Myers <joseph@codesourcery.com>
10075
10076 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10077 in C locale.
10078 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10079 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10080 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10082
06b99b02
AJ
100832012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10084
10085 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10086 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10087
7638c0fd
AS
100882012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10089
10090 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10091 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10092 defined.
10093 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10094 Likewise.
10095 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10096 entry for 2.16.
10097
92221550
AJ
100982012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10099
10100 * math/w_acos.c: Use non-signaling floating-point comparisons.
10101 * math/w_acosf.c: Likewise.
10102 * math/w_acosh.c: Likewise.
10103 * math/w_acoshf.c: Likewise.
10104 * math/w_acoshl.c: Likewise.
10105 * math/w_acosl.c: Likewise.
10106 * math/w_asin.c: Likewise.
10107 * math/w_asinf.c: Likewise.
10108 * math/w_asinl.c: Likewise.
10109 * math/w_atanh.c: Likewise.
10110 * math/w_atanhf.c: Likewise.
10111 * math/w_atanhl.c: Likewise.
10112 * math/w_exp2.c: Likewise.
10113 * math/w_exp2f.c: Likewise.
10114 * math/w_exp2l.c: Likewise.
10115 * math/w_j0.c: Likewise.
10116 * math/w_j0f.c: Likewise.
10117 * math/w_j0l.c: Likewise.
10118 * math/w_j1.c: Likewise.
10119 * math/w_j1f.c: Likewise.
10120 * math/w_j1l.c: Likewise.
10121 * math/w_jn.c: Likewise.
10122 * math/w_jnf.c: Likewise.
10123 * math/w_log.c: Likewise.
10124 * math/w_log10.c: Likewise.
10125 * math/w_log10f.c: Likewise.
10126 * math/w_log10l.c: Likewise.
10127 * math/w_log2.c: Likewise.
10128 * math/w_log2f.c: Likewise.
10129 * math/w_log2l.c: Likewise.
10130 * math/w_logf.c: Likewise.
10131 * math/w_logl.c: Likewise.
10132 * math/w_sqrt.c: Likewise.
10133 * math/w_sqrtf.c: Likewise.
10134 * math/w_sqrtl.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10137 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10138 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10139 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10140
ebaf36eb
JM
101412012-02-19 Joseph Myers <joseph@codesourcery.com>
10142
10143 [BZ #9739]
10144 * manual/string.texi (strnlen): Use correct parameter name in
10145 equivalent expression.
10146
71c254a6
JM
101472012-02-19 Joseph Myers <joseph@codesourcery.com>
10148
10149 [BZ #11174]
10150 * manual/users.texi (seteuid): Consistently use neweuid for
10151 argument name.
10152
16d2c631
JM
101532012-02-19 Joseph Myers <joseph@codesourcery.com>
10154
10155 [BZ #13704]
10156 * manual/nss.texi (Services in the NSS configuration): Correct
10157 list of services in example configuration file.
10158
cd837b09
NB
101592012-02-19 Nick Bowler <nbowler@draconx.ca>
10160
10161 [BZ #11322]
10162 * manual/arith.texi: Remove statements about negative zero
10163 behaving identically to zero.
10164
02c4bbad
JM
101652012-02-18 Joseph Myers <joseph@codesourcery.com>
10166
10167 [BZ #5993]
10168 * manual/install.texi: Do not document upgrading from libc5.
10169
366842e7
JM
101702012-02-18 Joseph Myers <joseph@codesourcery.com>
10171
10172 [BZ #4596]
10173 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10174
dd54084d
DM
101752012-02-18 David S. Miller <davem@davemloft.net>
10176
10177 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10178 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10179 %o7 across the call.
10180 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10181 instead.
10182 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10183 SETUP_PIC_REG_LEAF.
10184 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10185 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10186 * sysdeps/sparc/crtn.S: Likewise.
10187
2bcc53a3
UD
101882012-02-17 Ulrich Drepper <drepper@gmail.com>
10189
10190 * aout/Makefile: Remove.
10191
09c093b5
RK
101922012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10193
10194 [BZ #13058]
10195 * manual/examples/argp-ex1.c (main): Format definition in GNU
10196 style.
10197 * manual/examples/argp-ex2.c (main): Likewise.
10198 * manual/examples/argp-ex3.c (main): Likewise.
10199 * manual/examples/argp-ex4.c (main): Likewise.
10200 * manual/examples/longopt.c (main): Use new-style prototype
10201 definition.
10202 * manual/examples/strncat.c (main): Specify return type and use
10203 (void) for arguments.
10204 * manual/examples/subopt.c (main): Use char **argv argument.
10205
2ee633a2
JM
102062012-02-17 Joseph Myers <joseph@codesourcery.com>
10207
10208 [BZ #5077]
10209 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10210 rounding modes.
10211
0520adde
FB
102122012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10213
10214 [BZ #6907]
10215 * manual/string.texi (strchr): Change when strchrnul is
10216 recommended.
10217
3f4081cd
DGM
102182012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10219
10220 [BZ #174]
10221 * manual/locale.texi (setlocale): Document LOCPATH.
10222
d1b10e78
JM
102232012-02-17 Joseph Myers <joseph@codesourcery.com>
10224
10225 [BZ #10210]
10226 * manual/process.texi (execle): Move @dots{} before last argument.
10227
79c6869c
PB
102282012-02-17 Paul Bolle <pebolle@tiscali.nl>
10229
10230 [BZ #12047]
10231 * manual/charset.texi (Generic Charset Conversion): Fix typo
10232 (LC_TYPE -> LC_CTYPE).
10233
cc6e48bc
NB
102342012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10235
10236 [BZ #5805]
10237 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10238 (scalbnf): Likewise.
10239 (scalbnl): Likewise.
10240 (scalbln): Likewise.
10241 (scalblnf): Likewise.
10242 (scalblnl): Likewise.
10243 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10244 (vwarnx): Likewise.
10245 (verr): Likewise.
10246 (verrx): Likewise.
10247 * manual/filesys.texi (telldir): Use braces around return type.
10248 * manual/llio.texi (mmap): Add space after comma.
10249 (mmap64): Likewise.
10250 * manual/math.texi (jn): Use @var{} on parameter names.
10251 (jnf): Likewise.
10252 (jnl): Likewise.
10253 (yn): Likewise.
10254 (ynf): Likewise.
10255 (ynl): Likewise.
10256 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10257 line.
10258 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10259 "...".
10260 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10261 (sched_get_priority_max): Likewise.
10262 * manual/signal.texi (sigvec): Add space after comma.
10263 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10264 names.
10265 (if_indextoname): Likewise.
10266 (if_freenameindex): Likewise.
10267 (sendto): Use ',' instead of '.' in prototype.
10268 * manual/startup.texi (syscall): Use @dots{} instead of literal
10269 "...".
10270 * manual/stdio.texi (__fpending): Separate initial words of
10271 paragraph from @deftypefun line.
10272 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10273 "...".
10274 (vsyslog): Use @var{} on parameter names.
10275 * manual/terminal.texi (stty): Use @var{} on parameter names.
10276 * manual/users.texi (getutmp): Use @var{} on parameter names.
10277 (getutmpx): Likewise.
10278
5b23062f
JM
102792012-02-17 Joseph Myers <joseph@codesourcery.com>
10280
10281 [BZ #6884]
10282 * manual/stdio.texi (fopen): Fix typos in description of
10283 ",ccs=STRING".
10284
8dee4833
AJ
102852012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10286
10287 [BZ #4026]
10288 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10289 get clock_id definition.
10290
9078ce93
TS
102912012-02-17 Thomas Schwinge <thomas@schwinge.name>
10292
10293 [BZ #4822]
10294 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10295 (madvise): Cast every argument to void on its own.
10296
3835c55f
JM
102972012-02-17 Joseph Myers <joseph@codesourcery.com>
10298
10299 [BZ #9902]
10300 * manual/startup.texi (Exit Status): Fix typo.
10301
35c47e37
JM
103022012-02-17 Joseph Myers <joseph@codesourcery.com>
10303
10304 [BZ #10140]
10305 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10306 * manual/examples/argp-ex2.c: Likewise.
10307 * manual/examples/argp-ex3.c: Likewise.
10308
e3b69ca7
RH
103092012-02-16 Richard Henderson <rth@redhat.com>
10310
10311 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10312 * sysdeps/s390/s390-32/initfini.c: Remove.
10313 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10314 * sysdeps/s390/s390-64/initfini.c: Remove.
10315
df83af67
KK
103162012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10317
10318 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10319 compiler output for sysdeps/generic/initfini.c.
10320 * sysdeps/sh/elf/initfini.c: Remove file.
10321
f63f3380
DM
103222012-02-16 David S. Miller <davem@davemloft.net>
10323
fb59b3a4
DM
10324 [BZ #11494]
10325 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10326
f63f3380
DM
10327 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10328 * sysdeps/sparc/crti.S: New file.
10329 * sysdeps/sparc/crtn.S: New file.
10330 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10331 * sysdeps/sparc/sparc64/Makefile: Likewise.
10332
df6a4a4a
MF
103332012-02-15 Mike Frysinger <vapier@gentoo.org>
10334
6dd8f3dc 10335 [BZ #3335]
df6a4a4a
MF
10336 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10337
1cac7236
RM
103382012-02-15 Roland McGrath <roland@hack.frob.com>
10339
d2c736f8
RM
10340 [BZ #4822]
10341 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10342
1cac7236
RM
10343 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10344 (write, read, close): Likewise.
10345 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10346
8e475601
JM
103472012-02-15 Joseph Myers <joseph@codesourcery.com>
10348
10349 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10350 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10351 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10352 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10353 <bits/signalfd.h>.
10354 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10356 bits/signalfd.h.
10357
ed656b40
MP
103582012-02-14 Marek Polacek <polacek@redhat.com>
10359
10360 * sysdeps/x86_64/crti.S: New file.
10361 * sysdeps/x86_64/crtn.S: New file.
10362 * sysdeps/x86_64/elf/initfini.c: Remove file.
10363
2a979d3a
JM
103642012-02-13 Joseph Myers <joseph@codesourcery.com>
10365
10366 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10367 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10368 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10369 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10370 <bits/inotify.h>.
10371 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10373 bits/inotify.h.
10374
2a418ac3
JM
103752012-02-13 Joseph Myers <joseph@codesourcery.com>
10376
10377 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10378 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10379 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10380 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10381 <bits/eventfd.h>.
10382 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10384 bits/eventfd.h.
10385
fb779be7
TS
103862012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10387
e19e83c5
RM
10388 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10389 __feraiseexcept instead of feraiseexcept.
7c35ffed 10390
fb779be7
TS
10391 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10392 nanosleep invocations.
10393 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10394 strings, and add error checking for a nanosleep invocations.
10395
59ba27a6
PE
103962012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10397
10398 Replace FSF snail mail address with URLs, as per GNU coding standards.
10399 Most of the snail mail addresses were wrong anyway, and omitting
10400 them makes the source code easier to maintain. Almost all of the
10401 changes are to license notices and to locale LC_IDENTIFICATION
10402 addresses, except for this one:
10403 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10404 not its snail mail address.
10405
57b957eb
RH
104062012-02-09 Richard Henderson <rth@twiddle.net>
10407
af850b1c
RH
10408 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10409 of kernel-features.h.
10410
57b957eb
RH
10411 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10412
6b73181a
MP
104132012-02-08 Marek Polacek <polacek@redhat.com>
10414
10415 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10416 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10417 * sysdeps/gnu/_G_config.h: Likewise.
10418 * sysdeps/generic/_G_config.h: Likewise.
10419
26ecc33a
AS
104202012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10421
6c6dbc63
AS
10422 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10423 tests.
10424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10425
e216c012
AS
10426 * sysdeps/powerpc/powerpc32/crti.S: New file.
10427 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10428 * sysdeps/powerpc/powerpc64/crti.S: New file.
10429 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10430
26ecc33a
AS
10431 * Makeconfig (have-initfini): Don't set.
10432 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10433 * configure.in (nopic_initfini): Don't substitute.
10434 * config.h.in (HAVE_INITFINI): Don't #undef.
10435 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10436 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10437
3add8e13
JM
104382012-02-08 Joseph Myers <joseph@codesourcery.com>
10439
10440 Support crti.S and crtn.S provided directly by architectures.
10441 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10442 [crti.S in sysdirs] (omit-deps): Likewise.
10443 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10444 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10445 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10446 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10447 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10448 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10449 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10450 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10451 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10452 compiler output for sysdeps/generic/initfini.c.
10453 * sysdeps/i386/elf/Makefile: Remove file.
10454 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10455
a22f12b4
MP
104562012-02-07 Marek Polacek <polacek@redhat.com>
10457
10458 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10459 * sysdeps/gnu/_G_config.h: Likewise.
10460 * sysdeps/mach/hurd/_G_config.h: Likewise.
10461
148cf100
MP
104622012-02-07 Marek Polacek <polacek@redhat.com>
10463
10464 * math/Makefile (tests): Add tst-CMPLX2.
10465 * math/tst-CMPLX2.c: New file.
10466
cfdc0dd7
AS
104672012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10468
84ba42c4
AS
10469 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10470
cfdc0dd7
AS
10471 * math/libm-test.inc (jn_test): Add missing L suffix.
10472
622c86f4
MP
104732012-02-06 Marek Polacek <polacek@redhat.com>
10474
10475 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10476 * sysdeps/i386/fpu/e_powf.S: Likewise.
10477 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10478 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10479 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10480 * sysdeps/i386/fpu/e_pow.S: Likewise.
10481 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10482 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10483 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10484 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10485 * sysdeps/i386/fpu/e_log2.S: Likewise.
10486 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10487 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10488 * sysdeps/i386/fpu/e_powl.S: Likewise.
10489 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10490 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10491 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10492 * sysdeps/i386/fpu/e_logl.S: Likewise.
10493 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10494 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10495 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10496 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10497 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10498 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10499 * sysdeps/i386/fpu/e_log.S: Likewise.
10500 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10501 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10502 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10503 * sysdeps/i386/fpu/e_logf.S: Likewise.
10504 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10505 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10506 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10507 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10508 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10509 * sysdeps/i386/fpu/e_log10.S: Likewise.
10510 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10511 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10512 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10513 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10514 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10515 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10516 * sysdeps/i386/asm-syntax.h: Likewise.
10517 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10518 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10519 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10520 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10521 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10522 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10523 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10524 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10525 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10526 * sysdeps/powerpc/sysdep.h: Likewise.
10527 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10528 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10529
d4a54ac6
JM
105302012-02-06 Joseph Myers <joseph@codesourcery.com>
10531
10532 [BZ #411]
10533 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10534
314054ea
JM
105352012-02-06 Joseph Myers <joseph@codesourcery.com>
10536
10537 * sysdeps/i386/sysdep.h: Include <features.h>.
10538 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10539 version.
10540
d8e0ca50
JM
105412012-02-05 Joseph Myers <joseph@codesourcery.com>
10542
10543 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10544 Define.
10545 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10546 LOAD_PIC_REG_STR.
10547
b1da7dd9
JM
105482012-02-03 Joseph Myers <joseph@codesourcery.com>
10549
10550 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10551 (SETUP_PIC_REG): Use GET_PC_THUNK.
10552 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10553 macro.
10554
9a1d9254
JM
105552012-02-03 Joseph Myers <joseph@codesourcery.com>
10556
10557 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10558 for non-PIC compilation.
10559 (SETUP_PIC_REG): Add .p2align directive.
10560 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10561 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10562 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10563 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10564 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10565 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10566 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10567 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10568 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10569 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10570 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10571 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10572 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10573 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10574 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10575 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10576 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10577 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10578 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10579 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10580 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10581 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10582 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10583 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10584 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10585 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10586 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10587 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10588 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10589 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10590 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10591 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10592 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10593 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10594 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10595 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10596 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10597 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10598 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10599 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10600 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10601
65dc3b75
JM
106022012-02-03 Joseph Myers <joseph@codesourcery.com>
10603
10604 * math/tst-CMPLX.c: Include <stdio.h>.
10605
d55bf177
JM
106062012-01-31 Joseph Myers <joseph@codesourcery.com>
10607
10608 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10609 float.
10610 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10611 * sysdeps/sparc/bits/mathdef.h: Likewise.
10612
69db4f8f
MP
106132012-01-31 Marek Polacek <polacek@redhat.com>
10614
10615 * libio/libio.h: Don't define _PARAMS.
10616 * locale/programs/config.h: Don't define PARAMS.
10617 * stdlib/strtol_l.c: Likewise.
10618 (__strtol_l): Remove PARAMS from the prototype.
10619
41b81892
UD
106202012-01-31 Ulrich Drepper <drepper@gmail.com>
10621
3b49edc0
UD
10622 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10623 names. Just use the correct names. Remove unnecessary wrapper
10624 functions.
10625 * malloc/arena.c: Likewise.
10626 * malloc/hooks.c: Likewise.
10627
41b81892
UD
10628 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10629 ARENA_TEST says not to. Simplify test for creation of a new arena.
10630 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10631
27a25b6e
UD
106322012-01-30 Ulrich Drepper <drepper@gmail.com>
10633
10634 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10635 into tail calls.
10636 (update_get_addr): New function.
10637 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10638 GET_ADDR_MODULE parameter.
10639
c8a89e7d
JM
106402012-01-30 Joseph Myers <joseph@codesourcery.com>
10641
10642 * crypt/cert.c: Remove __STDC__ conditionals.
10643 * crypt/crypt-entry.c: Likewise.
10644 * crypt/crypt_util.c: Likewise.
10645 * libio/filedoalloc.c: Likewise.
10646 * libio/fileops.c: Likewise.
10647 * libio/genops.c: Likewise.
10648 * libio/iofclose.c: Likewise.
10649 * libio/iofdopen.c: Likewise.
10650 * libio/iofopen.c: Likewise.
10651 * libio/iofopen64.c: Likewise.
10652 * libio/iogetdelim.c: Likewise.
10653 * libio/iopopen.c: Likewise.
10654 * libio/obprintf.c: Likewise.
10655 * libio/oldfileops.c: Likewise.
10656 * libio/oldiofclose.c: Likewise.
10657 * libio/oldiofdopen.c: Likewise.
10658 * libio/oldiofopen.c: Likewise.
10659 * libio/oldiopopen.c: Likewise.
10660 * libio/wfiledoalloc.c: Likewise.
10661 * libio/wgenops.c: Likewise.
10662 * locale/programs/xmalloc.c: Likewise.
10663 * misc/syslog.c: Likewise.
10664 * stdio-common/xbug.c: Likewise.
10665 * string/memchr.c: Likewise.
10666 * string/memcmp.c: Likewise.
10667 * string/memrchr.c: Likewise.
10668 * string/rawmemchr.c: Likewise.
10669 * sysdeps/posix/getcwd.c: Likewise.
10670 * time/strftime_l.c: Likewise.
10671
3b100462
JM
106722012-01-30 Joseph Myers <joseph@codesourcery.com>
10673
10674 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10675 * config.make.in (config-cflags-sse2avx): Define.
10676 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10677 Fix typo.
10678
607998af
CM
106792012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10680
10681 * scripts/config.guess: Update from upstream config git repository.
10682 * scripts/config.sub: Likewise.
10683
3601428f
CM
106842012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10685
3ac8b282
CM
10686 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10687 (EM_NUM): Update.
10688 (R_TILEPRO_*, R_TILEGX_*): New macros.
10689
e034841e
CM
10690 * scripts/firstversions.awk: Fix bug in version range handling.
10691
540d7568
CM
10692 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10693
3601428f
CM
10694 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10695
463de862
CM
10696 * include/sys/epoll.h: New file.
10697 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10698 libc_hidden_def.
10699
73139a76
UD
107002012-01-28 Ulrich Drepper <drepper@gmail.com>
10701
96bc5b45
UD
10702 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10703 Avoid unnecessary __WORDSIZE == 64 test.
10704 (fmaxf): Use VEX format if possible.
10705 (fmax): Likewise.
10706 (fminf): Likewise.
10707 (fmin): Likewise.
10708
56f6f6a2
UD
10709 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10710 * math/math_private.h: Remove libc_fegetround* and
10711 libc_fesetround*.
10712 * sysdeps/i386/configure.in: Check for -msse2avx.
10713 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10714 also if SSE2AVX is defined.
10715 Remove libc_fegetround* and libc_fesetround*.
10716 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10717 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10718 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10719 of HAS_YMM_USABLE.
10720 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10721 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10722 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10723 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10724 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10725
73139a76
UD
10726 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10727
d73f93a4
AZ
107282012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10729
10730 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10731 size is not set.
10732 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10733
6ee65ed6
UD
107342012-01-27 Ulrich Drepper <drepper@gmail.com>
10735
10736 [BZ #13618]
10737 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10738 relocation.
10739 * Makeconfig (libm): Define.
10740 * elf/Makefile: Add rules to build and run tst-relsort1.
10741 * elf/tst-relsort1.c: New file.
10742 * elf/tst-relsort1mod1.c: New file.
10743 * elf/tst-relsort1mod2.c: New file.
10744
8db21882
JM
107452012-01-27 Joseph Myers <joseph@codesourcery.com>
10746
10747 * math/s_ldexp.c: Remove __STDC__ conditionals.
10748 * math/s_ldexpf.c: Likewise.
10749 * math/s_ldexpl.c: Likewise.
10750 * math/s_nextafter.c: Likewise.
10751 * math/s_nexttowardf.c: Likewise.
10752 * math/s_significand.c: Likewise.
10753 * math/s_significandf.c: Likewise.
10754 * math/s_significandl.c: Likewise.
10755 * math/w_jnl.c: Likewise.
10756 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10757 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10758 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10759 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10760 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10767 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10768 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10769 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10773 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10775 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10776 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10777 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10778 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10779 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10780 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10781 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10782 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10783 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10784 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10785 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10786 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10787 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10788 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10789 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10790 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10791 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10792 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10793 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10794 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10795 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10796 * sysdeps/ieee754/k_standard.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10801 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10806 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10808 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10810 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10812 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10813 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10814 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10815 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10816 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10819 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10820 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10821 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10823 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10824 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10825 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10826 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10828 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10829 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10830 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10831 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10833 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10834 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10835 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10836 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10838 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10839 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10840 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10841 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10844 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10845 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10846 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10847 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10848 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10849 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10850 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10851 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10852 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10853 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10854 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10856 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10857 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10858 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10861 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10862 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10863 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10864 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10865 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10866 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10868 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10870 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10871 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10872 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10873 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10874 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10875 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10876 * sysdeps/ieee754/s_matherr.c: Likewise.
10877 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10878 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10879 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10880 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10881
965a54a4
JM
108822012-01-26 Joseph Myers <joseph@codesourcery.com>
10883
10884 * crypt/md5.h: Remove __STDC__ conditionals.
10885 * libio/libioP.h: Likewise.
10886 * locale/programs/config.h: Likewise.
10887 * sysdeps/generic/sysdep.h: Likewise.
10888 * sysdeps/i386/asm-syntax.h: Likewise.
10889 * sysdeps/s390/asm-syntax.h: Likewise.
10890 * sysdeps/unix/sysdep.h: Likewise.
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10893
7071ad79
JM
108942012-01-26 Joseph Myers <joseph@codesourcery.com>
10895
10896 * libio/libio.h: Remove __STDC__ conditionals.
10897 * malloc/obstack.h: Likewise.
10898 * math/complex.h: Likewise.
10899 * math/math.h: Likewise.
10900 * sysdeps/generic/_G_config.h: Likewise.
10901 * sysdeps/gnu/_G_config.h: Likewise.
10902 * sysdeps/mach/hurd/_G_config.h: Likewise.
10903 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10904 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10905 * sysdeps/sparc/bits/mathdef.h: Likewise.
10906
afc5ed09
UD
109072012-01-26 Ulrich Drepper <drepper@gmail.com>
10908
10909 [BZ #13583]
10910 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10911 Clean up HAS_* macros.
afc5ed09 10912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10913 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10914 possible.
10915 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10916 HAS_AVX.
10917 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10918 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10919 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10920 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10921 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10922
bdb6de1d
JM
109232012-01-25 Joseph Myers <joseph@codesourcery.com>
10924
10925 * elf/tst-unique3.cc (gets): Remove declaration.
10926 * elf/tst-unique3lib.cc (gets): Likewise.
10927 * elf/tst-unique3lib2.cc (gets): Likewise.
10928 * elf/tst-unique4.cc (gets): Likewise.
10929
b15549e6
UD
109302012-01-24 Ulrich Drepper <drepper@gmail.com>
10931
10932 * include/stdio.h: Add C++ protection. Add gets declarations and
10933 definitions.
10934 * debug/tst-chk1.c: Don't declare gets here.
10935 * stdio-common/tst-gets.c: Likewise.
10936
a037381f
JM
109372012-01-24 Joseph Myers <joseph@codesourcery.com>
10938
10939 * posix/glob: Remove directory.
10940
f1d4aa75
JM
109412012-01-24 Joseph Myers <joseph@codesourcery.com>
10942
10943 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10944
81c0c964
PT
109452012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10946
10947 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10948 of the non-standard EPFNOSUPPORT.
10949
0ea698ae
ST
109502011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10951
10952 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10953 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10954 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10955
d220b117
UD
109562012-01-21 Ulrich Drepper <drepper@gmail.com>
10957
10958 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10959
3e1aa84e
UD
109602012-01-20 Ulrich Drepper <drepper@gmail.com>
10961
10962 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10963 transient errors.
10964 * nscd/grpcache.c (cache_addgr): Likewise.
10965 * nscd/hstcache.c (cache_addhst): Likewise.
10966 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10967 * nscd/pwdcache.c (cache_addpw): Likewise.
10968 * nscd/servicescache.c (cache_addserv): Likewise.
10969
400aa020
UD
109702012-01-16 Ulrich Drepper <drepper@gmail.com>
10971
d77e7869
UD
10972 * malloc/malloc.c: Various cleanups.
10973 * malloc/hooks.c: Likewise.
10974
400aa020
UD
10975 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10976 * stdlib/bug-fmtmsg1.c: New file.
10977
10978 * stdlib/fmtmsg.c (init): Add missing unlock.
10979 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10980
e0a309cf
MP
109812012-01-12 Marek Polacek <polacek@redhat.com>
10982
10983 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10984 and _GNU_SOURCE.
10985
929d11c7
WS
109862012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10987
10988 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10989 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10990 macro to ensure uniqueness of label name.
10991 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10992 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10993
41d0e869
UD
109942012-01-11 Ulrich Drepper <drepper@gmail.com>
10995
0cc5ed3b
UD
10996 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10997
41d0e869
UD
10998 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10999 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11000 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11002
a47a831a
UD
110032012-01-10 Ulrich Drepper <drepper@gmail.com>
11004
daa891c0
UD
11005 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11006
11007 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11008 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11009 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11010
e58ef0f2
UD
11011 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11012
a47a831a 11013 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11014 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11015 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11016 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11017
11018 * math/bits/math-finite.h: Add ldexp support.
11019
a0bfc9c7
MP
110202012-01-10 Marek Polacek <polacek@redhat.com>
11021
11022 * locale/programs/localedef.h (show_archive_content): Add noreturn
11023 attribute.
11024
d6e97a1d
UD
110252012-01-09 Ulrich Drepper <drepper@gmail.com>
11026
11027 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11028
d5835c26
UD
110292012-01-08 Ulrich Drepper <drepper@gmail.com>
11030
e5f484c6
UD
11031 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11032
d5835c26
UD
11033 * io/Makefile (headers): Add bits/poll2.h.
11034
d1f741e9
WS
110352011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11036
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11038 typo #include statement.
11039
ec09c1c4
UD
110402012-01-08 Ulrich Drepper <drepper@gmail.com>
11041
11042 * include/sys/cdefs.h: Define __attribute_alloc_size.
11043 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11044 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11045 * elf/pldd.c: Likewise.
11046 * iconv/iconv_charmap.c: Likewise.
11047 * iconv/iconvconfig.c: Likewise.
11048 * iconv/strtab.c: Likewise.
11049 * locale/programs/locale.c: Likewise.
11050 * locale/programs/localedef.h: Likewise.
11051 * locale/programs/simple-hash.c: Likewise.
11052 * nscd/nscd.h: Likewise.
11053 * nss/makedb.c: Likewise.
11054 * sysdeps/generic/ldconfig.h: Likewise.
11055 * locale/programs/localedef.c: Remove xmalloc prototype.
11056 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11057
20b38e03
PP
110582012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11059
11060 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11061 appropriate.
11062
a0da5fe1
UD
110632012-01-08 Ulrich Drepper <drepper@gmail.com>
11064
1d5a644a 11065 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11066 * math/tst-CMPLX.c: New file.
1d5a644a 11067
8784a6db
UD
11068 * math/complex.h (CMPLXL): Fix typo.
11069
d9a216c0
UD
11070 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11071 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11072 GLIBC_2.16.
11073 * debug/tst-chk1.c: Add poll and ppoll tests.
11074 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11075 * include/sys/poll.h: Add hidden proto for ppoll.
11076 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11077 * sysdeps/mach/hurd/ppoll.c: Likewise.
11078 * io/ppoll.c: Likewise.
11079 * debug/poll_chk.c: New file.
11080 * debug/ppoll_chk.c: New file.
11081 * include/bits/poll2.h: New file.
11082 * io/bits/poll2.h: New file.
11083
ac097f5c
UD
11084 [BZ #1350]
11085 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11086
2119dcfa
UD
11087 * configure.in: static is always set to yes. Remove.
11088 * config.make.in: Don't set build-static.
11089 * Makeconfig: Remove use of build-static.
11090 * dlfcn/Makefile: Likewise.
11091 * elf/Makefile: Likewise.
11092 * math/Makefile: Likewise.
11093 * misc/Makefile: Likewise.
11094 * nptl/Makefile: Likewise.
11095 * sysdeps/mach/hurd/Makefile: Likewise.
11096
121766a9
UD
11097 * configure.in: PWD_P is not used anymore.
11098 * config.make.in: Remove PWD_P entry.
11099
51a1d39c 11100 * configure.in: Remove last remnants of RANLIB.
8720d066 11101 No need to check for signed size_t anymore.
215f4bdc
UD
11102 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11103 and IA-64.
3857022a 11104 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11105 * aclocal.m4: Likewise.
11106
d3ed7225
UD
11107 * wcsmbs/mbrtoc16.c: Implement using towc function.
11108 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11109 * wcsmbs/wcsmbsload.c: Likewise.
11110 * iconv/gconv_simple.c: Likewise.
11111 * iconv/gconv_int.h: Likewise.
11112 * iconv/gconv_builtin.h: Likewise.
11113 * iconv/iconv_prog.c: Remove CHAR16 handling.
11114
11115 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11116
11117 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11118
a0da5fe1
UD
11119 * configure.in: Remove --with-elf and --enable-bounded options.
11120 Dont set base_machine for ia64. More non-ELF conditions removed.
11121 Remove testing and setting of leading underscore information.
11122 * config.make.in (build-bounded): Set to no.
11123 * config.h.in: Remove NO_UNDERSCORES entry.
11124 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11125 them.
11126 * csu/start.c: Remove !NO_UNDERSCORE code.
11127 * locale/localeinfo.h: Likewise.
11128 * sysdeps/generic/machine-gmon.h: Likewise.
11129 * sysdeps/generic/sysdep.h: Likewise.
11130 * sysdeps/i386/sysdep.h: Likewise.
11131 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11132 * sysdeps/mach/sysdep.h: Likewise.
11133 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11134 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11135 * sysdeps/sh/sysdep.h: Likewise.
11136 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11137 * sysdeps/unix/i386/sysdep.S: Likewise.
11138 * sysdeps/unix/sparc/start.c: Likewise.
11139 * sysdeps/unix/sparc/sysdep.S: Likewise.
11140 * sysdeps/unix/sparc/sysdep.h: Likewise.
11141 * sysdeps/unix/start.c: Likewise.
11142 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11143 * sysdeps/x86_64/sysdep.h: Likewise.
11144
df78418a
UD
111452012-01-07 Ulrich Drepper <drepper@gmail.com>
11146
a784e502
UD
11147 [BZ #13553]
11148 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11149 for non-gcc.
11150 * argp/argp-fmtstream.h: Use const instead __const.
11151 * argp/argp.h: Likewise.
11152 * assert/assert.h: Likewise.
11153 * bits/fenv.h: Likewise.
11154 * bits/sched.h: Likewise.
11155 * bits/sigset.h: Likewise.
11156 * bits/sigthread.h: Likewise.
11157 * catgets/nl_types.h: Likewise.
11158 * conform/data/pthread.h-data: Likewise.
11159 * crypt/crypt-private.h: Likewise.
11160 * crypt/crypt.h: Likewise.
11161 * crypt/crypt_util.c: Likewise.
11162 * ctype/ctype.h: Likewise.
11163 * debug/execinfo.h: Likewise.
11164 * debug/mbsnrtowcs_chk.c: Likewise.
11165 * debug/mbsrtowcs_chk.c: Likewise.
11166 * debug/wcsnrtombs_chk.c: Likewise.
11167 * debug/wcsrtombs_chk.c: Likewise.
11168 * debug/wcstombs_chk.c: Likewise.
11169 * dirent/dirent.h: Likewise.
11170 * dlfcn/dlfcn.h: Likewise.
11171 * elf/neededtest4.c: Likewise.
11172 * grp/grp.h: Likewise.
11173 * gshadow/gshadow.h: Likewise.
11174 * iconv/gconv.h: Likewise.
11175 * iconv/gconv_int.h: Likewise.
11176 * iconv/gconv_simple.c: Likewise.
11177 * iconv/iconv.h: Likewise.
11178 * iconv/loop.c: Likewise.
11179 * iconv/skeleton.c: Likewise.
11180 * include/aio.h: Likewise.
11181 * include/aliases.h: Likewise.
11182 * include/argz.h: Likewise.
11183 * include/arpa/inet.h: Likewise.
11184 * include/assert.h: Likewise.
11185 * include/dirent.h: Likewise.
11186 * include/dlfcn.h: Likewise.
11187 * include/execinfo.h: Likewise.
11188 * include/fcntl.h: Likewise.
11189 * include/fenv.h: Likewise.
11190 * include/glob.h: Likewise.
11191 * include/grp.h: Likewise.
11192 * include/libintl.h: Likewise.
11193 * include/mntent.h: Likewise.
11194 * include/netdb.h: Likewise.
11195 * include/pwd.h: Likewise.
11196 * include/rpc/netdb.h: Likewise.
11197 * include/sched.h: Likewise.
11198 * include/search.h: Likewise.
11199 * include/shadow.h: Likewise.
11200 * include/signal.h: Likewise.
11201 * include/stdio.h: Likewise.
11202 * include/stdlib.h: Likewise.
11203 * include/string.h: Likewise.
11204 * include/sys/socket.h: Likewise.
11205 * include/sys/stat.h: Likewise.
11206 * include/sys/statfs.h: Likewise.
11207 * include/sys/statvfs.h: Likewise.
11208 * include/sys/syslog.h: Likewise.
11209 * include/sys/time.h: Likewise.
11210 * include/sys/uio.h: Likewise.
11211 * include/time.h: Likewise.
11212 * include/unistd.h: Likewise.
11213 * include/utmp.h: Likewise.
11214 * include/wchar.h: Likewise.
11215 * include/wctype.h: Likewise.
11216 * inet/aliases.h: Likewise.
11217 * inet/arpa/inet.h: Likewise.
11218 * inet/netinet/ether.h: Likewise.
11219 * inet/netinet/in.h: Likewise.
11220 * intl/libintl.h: Likewise.
11221 * io/bits/fcntl2.h: Likewise.
11222 * io/fcntl.h: Likewise.
11223 * io/ftw.h: Likewise.
11224 * io/sys/poll.h: Likewise.
11225 * io/sys/stat.h: Likewise.
11226 * io/sys/statfs.h: Likewise.
11227 * io/sys/statvfs.h: Likewise.
11228 * io/utime.h: Likewise.
11229 * libio/bits/stdio.h: Likewise.
11230 * libio/bits/stdio2.h: Likewise.
11231 * libio/libio.h: Likewise.
11232 * libio/libioP.h: Likewise.
11233 * libio/stdio.h: Likewise.
11234 * locale/lc-ctype.c: Likewise.
11235 * locale/locale.h: Likewise.
11236 * login/utmp.h: Likewise.
11237 * malloc/arena.c: Likewise.
11238 * malloc/malloc.c: Likewise.
11239 * malloc/malloc.h: Likewise.
11240 * malloc/mcheck.c: Likewise.
11241 * malloc/mtrace.c: Likewise.
11242 * math/bits/mathcalls.h: Likewise.
11243 * math/fenv.h: Likewise.
11244 * math/math_private.h: Likewise.
11245 * misc/bits/error.h: Likewise.
11246 * misc/bits/syslog.h: Likewise.
11247 * misc/err.h: Likewise.
11248 * misc/error.h: Likewise.
11249 * misc/fstab.h: Likewise.
11250 * misc/mntent.h: Likewise.
11251 * misc/regexp.h: Likewise.
11252 * misc/search.h: Likewise.
11253 * misc/sgtty.h: Likewise.
11254 * misc/sys/mman.h: Likewise.
11255 * misc/sys/syslog.h: Likewise.
11256 * misc/sys/uio.h: Likewise.
11257 * misc/sys/xattr.h: Likewise.
11258 * misc/ttyent.h: Likewise.
11259 * nis/rpcsvc/ypclnt.h: Likewise.
11260 * nss/nss.h: Likewise.
11261 * posix/bits/unistd.h: Likewise.
11262 * posix/fnmatch.h: Likewise.
11263 * posix/glob.h: Likewise.
11264 * posix/sched.h: Likewise.
11265 * posix/spawn.h: Likewise.
11266 * posix/sys/wait.h: Likewise.
11267 * posix/unistd.h: Likewise.
11268 * posix/wordexp.h: Likewise.
11269 * pwd/pwd.h: Likewise.
11270 * resolv/netdb.h: Likewise.
11271 * resource/sys/resource.h: Likewise.
11272 * rt/aio.h: Likewise.
11273 * rt/bits/mqueue2.h: Likewise.
11274 * rt/mqueue.h: Likewise.
11275 * shadow/shadow.h: Likewise.
11276 * signal/signal.h: Likewise.
11277 * socket/send.c: Likewise.
11278 * socket/sendto.c: Likewise.
11279 * socket/sys/socket.h: Likewise.
11280 * stdio-common/printf.h: Likewise.
11281 * stdlib/bits/stdlib.h: Likewise.
11282 * stdlib/fmtmsg.h: Likewise.
11283 * stdlib/monetary.h: Likewise.
11284 * stdlib/stdlib.h: Likewise.
11285 * stdlib/ucontext.h: Likewise.
11286 * streams/stropts.h: Likewise.
11287 * string/argz.h: Likewise.
11288 * string/bits/string2.h: Likewise.
11289 * string/string.h: Likewise.
11290 * string/strings.h: Likewise.
11291 * sunrpc/rpc/auth.h: Likewise.
11292 * sunrpc/rpc/auth_des.h: Likewise.
11293 * sunrpc/rpc/clnt.h: Likewise.
11294 * sunrpc/rpc/netdb.h: Likewise.
11295 * sunrpc/rpc/pmap_clnt.h: Likewise.
11296 * sunrpc/rpc/xdr.h: Likewise.
11297 * sysdeps/generic/inttypes.h: Likewise.
11298 * sysdeps/generic/net/if.h: Likewise.
11299 * sysdeps/generic/sys/swap.h: Likewise.
11300 * sysdeps/gnu/net/if.h: Likewise.
11301 * sysdeps/gnu/utmpx.h: Likewise.
11302 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11303 * sysdeps/i386/i486/bits/string.h: Likewise.
11304 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11305 * sysdeps/s390/bits/string.h: Likewise.
11306 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11307 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11308 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11309 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11310 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11311 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11312 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11313 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11314 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11315 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11316 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11317 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11318 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11319 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11320 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11321 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11322 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11323 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11324 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11325 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11326 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11327 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11328 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11329 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11330 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11331 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11332 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11333 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11334 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11335 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11336 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11337 * sysvipc/sys/ipc.h: Likewise.
11338 * sysvipc/sys/msg.h: Likewise.
11339 * sysvipc/sys/sem.h: Likewise.
11340 * sysvipc/sys/shm.h: Likewise.
11341 * termios/termios.h: Likewise.
11342 * time/sys/time.h: Likewise.
11343 * time/time.h: Likewise.
11344 * wcsmbs/bits/wchar2.h: Likewise.
11345 * wcsmbs/uchar.h: Likewise.
11346 * wcsmbs/wchar.h: Likewise.
11347 * wctype/wctype.h: Likewise.
11348
0269750c
UD
11349 [BZ #13551]
11350 * Makeconfig: Remove all but ELF support including AIX support.
11351 * Makerules: Likewise.
11352 * config.h.in: Likewise.
11353 * config.make.in: Likewise.
11354 * configure: Likewise.
11355 * configure.in: Likewise.
11356 * csu/Makefile: Likewise.
11357 * csu/version.c: Likewise.
11358 * debug/Makefile: Likewise.
11359 * dlfcn/Makefile: Likewise.
11360 * elf/Makefile: Likewise.
11361 * extra-lib.mk: Likewise.
11362 * iconv/Makefile: Likewise.
11363 * include/libc-symbols.h: Likewise.
11364 * include/shlib-compat.h: Likewise.
11365 * resolv/Makefile: Likewise.
11366 * resolv/res_libc.c: Likewise.
11367 * rt/Makefile: Likewise.
11368 * sysdeps/i386/asm-syntax.h: Likewise.
11369 * sysdeps/i386/sysdep.h: Likewise.
11370 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11371 * sysdeps/mach/sysdep.h: Likewise.
11372 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11373 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11374 * sysdeps/s390/asm-syntax.h: Likewise.
11375 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11376 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11377 * sysdeps/sh/sysdep.h: Likewise.
11378 * sysdeps/unix/sparc/sysdep.h: Likewise.
11379 * sysdeps/wordsize-32/divdi3.c: Likewise.
11380 * sysdeps/x86_64/sysdep.h: Likewise.
11381
00bbd29b
UD
11382 * argp/Versions: Remove _argp_unlock_xxx.
11383
11384 [BZ #13559]
11385 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11386 * abilist/libBrokenLocale.abilist: Likewise.
11387 * abilist/libanl.abilist: Likewise.
11388 * abilist/libc.abilist: Likewise.
11389 * abilist/libcrypt.abilist: Likewise.
11390 * abilist/libdl.abilist: Likewise.
11391 * abilist/libm.abilist: Likewise.
11392 * abilist/libnsl.abilist: Likewise.
11393 * abilist/libpthread.abilist: Likewise.
11394 * abilist/libresolv.abilist: Likewise.
11395 * abilist/librt.abilist: Likewise.
11396 * abilist/libthread_db.abilist: Likewise.
11397 * abilist/libutil.abilist: Likewise.
11398 * abilist/libnss_db.abilist: New file.
11399
11400 * scripts/abilist.awk: Add support for indirect functions.
11401
a2693a0e
UD
11402 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11403
3f05895f
UD
11404 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11405
ecb6fb48
UD
11406 * shlib-versions: Remove entries for ports architectures.
11407
664f8cb9
UD
11408 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11409 files in ports.
11410 * elf/stackguard-macros.h: Remove support for IA-64.
11411 * elf/tst-auditmod1.c: Likewise.
11412 * sysdeps/generic/ldsodefs.h: Likewise.
11413
7ae81d88
UD
11414 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11415 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11416 configure files.
11417
bdeba135
UD
11418 [BZ #13552]
11419 * configure.in: Remove --enable-omitfp support.
11420 * FAQ.in: Adjust.
11421 * config.make.in: Likewise.
11422 * Makeconfig: Likewise.
11423 * manual/install.texi: Likewise.
11424
d75a0a62
UD
11425 In case anyone cares, the IA-64 architecture could move to ports.
11426 * sysdeps/ia64/*: Removed.
11427 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11428 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11429
dcc9756b
UD
11430 [BZ #13555]
11431 * configure.in: Remove entries for unsupported architectures.
11432
d3761ebc 11433 [BZ #13533]
9954432e
UD
11434 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11435 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11436 routines.
11437 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11438 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11439 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11440 fall back to using wcrtomb.
11441 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11442 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11443 renaming.
11444 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11445 * wcsmbs/tst-c16c32-1.c: New file.
11446
11447 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11448 local variable.
11449
c3a87236
UD
11450 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11451
28926a1b
UD
11452 * elf/tst-unique3.cc: Add explicit declaration of gets.
11453 * elf/tst-unique3lib.cc: Likewise.
11454 * elf/tst-unique3lib2.cc: Likewise.
11455 * elf/tst-unique4.cc: Likewise.
11456
df78418a
UD
11457 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11458
8ecd6b2a
JM
114592012-01-06 Joseph Myers <joseph@codesourcery.com>
11460
11461 [BZ #13566]
11462 * assert/assert.h (static_assert): Don't define for C++.
11463 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11464 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11465
9f115170
UD
114662012-01-03 Ulrich Drepper <drepper@gmail.com>
11467
5e0d0300
UD
11468 * iconv/loop.c (single loop): Fix assertion in storing of
11469 remaining bytes.
11470
9f115170
UD
11471 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11472
81fb02b0
UD
114732012-01-01 Ulrich Drepper <drepper@gmail.com>
11474
11475 * posix/getconf.c: Update copyright year.
11476 * nss/getent.c: Likewise.
a316c1f6 11477 * nss/makedb.c: Likewise.
81fb02b0
UD
11478 * iconv/iconvconfig.c: Likewise.
11479 * iconv/iconv_prog.c: Likewise.
11480 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11481 * elf/pldd.c: Likewise.
11482 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11483 * catgets/gencat.c: Likewise.
11484 * csu/version.c: Likewise.
11485 * elf/ldd.bash.in: Likewise.
11486 * elf/sprof.c (print_version): Likewise.
11487 * locale/programs/locale.c: Likewise.
11488 * locale/programs/localedef.c: Likewise.
a316c1f6 11489 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11490 * nscd/nscd.c (print_version): Likewise.
11491 * debug/xtrace.sh: Likewise.
11492 * malloc/memusage.sh: Likewise.
11493 * malloc/mtrace.pl: Likewise.
11494 * debug/catchsegv.sh: Likewise.
11495
2ba92745
JJ
114962011-12-30 Jakub Jelinek <jakub@redhat.com>
11497
11498 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11499 pure attribute.
11500
dadebdae
UD
115012011-12-24 Ulrich Drepper <drepper@gmail.com>
11502
d3761ebc 11503 [BZ #13533]
db6af3eb
UD
11504 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11505 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11506 transformations.
11507 * iconv/gconv_int.h: Likewise.
11508 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11509 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11510 from libc for GLIBC_2.16.
11511 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11512 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11513 * wcsmbs/uchar.h: Really define mbstate_t.
11514 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11515 * wcsmbs/c16rtomb.c: New file.
11516 * wcsmbs/mbrtoc16.c: New file.
11517 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11518 for C/POSIX locale.
11519 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11520 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11521
dadebdae
UD
11522 * wcsmbs/wchar.h: Add missing __restrict.
11523
67371b56
UD
115242011-12-23 Ulrich Drepper <drepper@gmail.com>
11525
74033a25
UD
11526 [BZ #13532]
11527 * time/Makefile (routines): Add timespec_get.
11528 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11529 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11530 timespec for ISO C11.
11531 * time/timespec_get.c: New file.
11532 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11533 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11534
380d7e87
UD
11535 [BZ #13531]
11536 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11537 * stdlib/stdlib.h: Declare aligned_alloc.
11538 * Versions.def: Add GLIBC_2.16 for libc.
11539 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11540
4e9e7a35
UD
11541 [BZ 13527]
11542 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11543 ISO C11.
11544
380d7e87 11545 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11546 code.
11547
03a71829
UD
11548 [BZ #13528]
11549 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11550
839e283e
UD
11551 [BZ #13529]
11552 * assert/assert.h (static_assert): Define.
11553
ce5294e2 11554 * version.h: Update for 2.16 development version.
90fa7312 11555
8d44e150 11556 [BZ #13526]
d7809905
UD
11557 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11558 _ISOC11_SOURCE.
11559
c0da14cd
UD
11560 * version.h (RELEASE): Bump for 2.15 release.
11561 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11562
530a3249
MP
11563 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11564 Patch by Marek Polacek <mpolacek@redhat.com>.
11565
67371b56
UD
11566 * bits/byteswap.h: Protect long long constants with __extension__.
11567 * sysdeps/i386/bits/byteswap.h: Likewise.
11568 * sysdeps/ia64/bits/byteswap.h: Likewise.
11569 * sysdeps/s390/bits/byteswap.h: Likewise.
11570 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11571
15db4de1
LD
115722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11573
11574 [BZ #13540]
bbe315ea
LD
11575 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11576 destination buffer.
15db4de1
LD
11577 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11578
2b2596b1
MP
115792011-12-23 Marek Polacek <polacek@redhat.com>
11580
11581 * elf/dl-addr.c (determine_info): Add inline keyword.
11582 * elf/tst-auditmod4b.c (check_avx): Likewise.
11583 * elf/tst-auditmod6b.c (check_avx): Likewise.
11584 * elf/tst-auditmod6c.c (check_avx): Likewise.
11585 * elf/tst-auditmod7b.c (check_avx): Likewise.
11586
70c6c246
UD
115872011-12-23 Ulrich Drepper <drepper@gmail.com>
11588
11589 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11590 !__SSE_MATH__.
11591
c044cf14
LD
115922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11593
15db4de1 11594 [BZ #13540]
c044cf14
LD
11595 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11596 processing for last bytes.
11597
6b13d9d9
BH
115982011-08-06 Bruno Haible <bruno@clisp.org>
11599
d455f537
BH
11600 [BZ #13061]
11601 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11602 U+0385, not to U+1FEE.
11603
6b13d9d9
BH
11604 [BZ #13062]
11605 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11606 entry for U+00A5 U+0301.
11607
db910efd
UD
116082011-12-22 Ulrich Drepper <drepper@gmail.com>
11609
27deeafc
UD
11610 [BZ #13166]
11611 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11612 buffer for the output is too small.
11613
aed9d171
UD
11614 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11615 optimization.
11616
db910efd
UD
11617 [BZ #13185]
11618 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11619 SSE flags if possible.
11620
2bd779ae
LD
116212011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11622
e7f9dac3 11623 [BZ #13540]
2bd779ae
LD
11624 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11625 processing for last bytes.
11626
154bfc16
JM
116272011-12-22 Joseph Myers <joseph@codesourcery.com>
11628
11629 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11630 (syscall-list-default-options, syscall-list-default-condition)
11631 (syscall-list-includes): Define.
11632 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11633 list of ABIs and options and #if conditions for each ABI. Do not
11634 handle common syscalls between ABIs specially.
11635 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11636 Remove.
11637 (syscall-list-variants, syscall-list-32bit-options)
11638 (syscall-list-32bit-condition, syscall-list-64bit-options)
11639 (syscall-list-64bit-condition): Define.
11640 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11641 (syscall-list-variants, syscall-list-32bit-options)
11642 (syscall-list-32bit-condition, syscall-list-64bit-options)
11643 (syscall-list-64bit-condition): Define.
11644 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11645 Remove.
11646 (syscall-list-variants, syscall-list-32bit-options)
11647 (syscall-list-32bit-condition, syscall-list-64bit-options)
11648 (syscall-list-64bit-condition): Define.
11649 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11650 Remove.
11651 (syscall-list-variants, syscall-list-32bit-options)
11652 (syscall-list-32bit-condition, syscall-list-64bit-options)
11653 (syscall-list-64bit-condition): Define.
11654
21eaf3a5
UD
116552011-12-22 Ulrich Drepper <drepper@gmail.com>
11656
16c6f992
UD
11657 * locale/iso-639.def: Add brx entry.
11658
41043168
UD
11659 [BZ #13328]
11660 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11661 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11662
21eaf3a5
UD
11663 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11664 __feraiseexcept_renamed.
11665
e3a851a2
UD
116662011-12-21 Ulrich Drepper <drepper@gmail.com>
11667
4920765e
UD
11668 [BZ #13538]
11669 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11670 EPOLLET with unsigned values.
11671 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11672 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11673
e3a851a2
UD
11674 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11675 to large cancellation.
11676 * math/s_cacoshf.c: Likewise.
11677 * math/s_cacoshl.c: Likewise.
11678
b27e24b8
RK
116792011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11680
11681 [BZ #13305]
aebefeee 11682 [BZ #12786]
b27e24b8
RK
11683 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11684 * math/s_cacoshf.c: Likewise.
11685 * math/s_cacoshl.c: Likewise.
11686
ee190f67
UD
116872011-12-21 Ulrich Drepper <drepper@gmail.com>
11688
11689 [BZ #13439]
11690 * iconv/gconv.h: Define __GCONV_SWAP.
11691 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11692 * iconvdata/utf-16.c: Likewise.
11693 * iconvdata/utf-32.c: Likewise.
11694
707f25df
AS
116952011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11696
11697 [BZ #13524]
11698 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11699 numerator after shifting it by one limb.
11700
d2daaa1e
RÁE
117012011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11702
11703 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11704 under [__USE_EXTERN_INLINES].
11705
a4647e72
UD
117062011-12-17 Ulrich Drepper <drepper@gmail.com>
11707
11708 [BZ #13446]
11709 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11710
f0b264f1
AZ
117112011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11712
11713 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11714 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11715 optimized code.
11716 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11717 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11718 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11719 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11720 for strncasecmp/strncasecmp_l compilation.
11721 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11722 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11723
8ef4f244
MP
117242011-12-08 Marek Polacek <mpolacek@redhat.com>
11725
11726 [BZ #13484]
11727 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11728 of __asm__.
11729
97ac2654
UD
117302011-12-17 Ulrich Drepper <drepper@gmail.com>
11731
11732 [BZ #13506]
11733 * time/tzfile.c (__tzfile_read): Check values from file header.
11734
91d2a845
WS
117352011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11736
11737 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11738 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11739 * powerpc/powerpc32/dl-start.S: Likewise.
11740 * powerpc/powerpc32/elf/start.S: Likewise.
11741 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11742 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11743 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11744 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11745 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11746 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11747 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11748 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11749 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11750 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11751 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11752 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11753 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11754 * powerpc/powerpc32/memset.S: Likewise.
11755 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11756 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11757 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11758 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11759 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11760 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11761 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11762 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11763 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11764 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11765 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11766 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11767 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11768
a1267ba1
AZ
117692011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11770
11771 * math/libm-test.inc: Added more nearbyint tests.
11772 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11773 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11774 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11775 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11776
ad8ac1bd
RL
117772011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11778
11779 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11780 FD_CLOEXEC.
11781
1d3e4b61
UD
117822011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11783
11784 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11785 Add wcscpy-ssse3 wcscpy-c.
11786 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11787 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11788 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11789 * sysdeps/x86_64/wcschr.S: New file.
11790 * sysdeps/x86_64/wcsrchr.S: New file.
11791 * string/test-strcmp.c: Remove checking of wcscmp function for
11792 wrong alignments.
11793 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11794 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11795 wcsrchr-sse2 wcsrchr-c.
11796 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11797 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11798 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11799 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11800 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11801 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11802 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11803 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11804 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11805 * wcsmbc/wcschr.c (WCSCHR): New macro.
11806
5b330a2d
UD
118072011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11808
11809 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11810 * wcsmbs/test-wcsrchr.c: New file.
11811 * string/test-strrchr.c: Add wcsrchr support.
11812 (WIDE): New macro.
11813 * wcsmbs/test-wcscpy.c: New file.
11814 * string/test-strcpy.c: Add wcscpy support.
11815 (WIDE): New macro.
26428b7c 11816
f039c043
UD
118172011-12-10 Ulrich Drepper <drepper@gmail.com>
11818
11819 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11820 the inner loop.
11821
850fb039
AS
118222011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11823
11824 [BZ #13472]
11825 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11826
4efbd5cb
UD
118272011-12-04 Ulrich Drepper <drepper@gmail.com>
11828
52ff5dd0 11829 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11830 Minor optimizations.
52ff5dd0 11831
4efbd5cb
UD
11832 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11833 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11834 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11835
8a426e12
UD
118362011-12-03 Ulrich Drepper <drepper@gmail.com>
11837
aff2453d
UD
11838 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11839 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11840 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11841 for gcc to avoid warnings.
11842 * inet/Makefile (tests): Add tst-checks.
11843 * inet/tst-checks.c: New file.
11844
11845 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11846 warning.
11847
11848 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11849 __wmemcmp_sse2.
11850
11851 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11852 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11853
8a426e12
UD
11854 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11855
9bea3473
UD
118562011-12-02 Ulrich Drepper <drepper@gmail.com>
11857
3a965496
UD
11858 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11859 problem.
11860
9bea3473
UD
11861 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11862
f101631b
UD
118632011-11-29 Joseph Myers <joseph@codesourcery.com>
11864
11865 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11866 conditional on GCC version.
11867 (__arch_compare_and_exchange_val_8_acq)
11868 (__arch_compare_and_exchange_val_16_acq)
11869 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11870 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11871 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11872
a98275aa
UD
118732011-12-02 Joseph Myers <joseph@codesourcery.com>
11874
11875 * sysdeps/sh/backtrace.c: New file.
11876
d4cc29a2
AS
118772011-12-02 Andreas Schwab <schwab@redhat.com>
11878
11879 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11880 parenthesis.
11881
6257af2d
AS
118822011-12-01 Andreas Schwab <schwab@redhat.com>
11883
11884 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11885 falling back to utime.
11886
b5f44c1a
AS
118872011-11-30 Andreas Schwab <schwab@redhat.com>
11888
11889 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11890 expectations for float.
11891
f3a6cc0a
AS
118922011-11-29 Andreas Schwab <schwab@redhat.com>
11893
11894 * locale/weight.h (findidx): Add parameter len.
11895 * locale/weightwc.h (findidx): Likewise.
11896 * posix/fnmatch_loop.c (FCT): Adjust caller.
11897 * posix/regcomp.c (build_equiv_class): Likewise.
11898 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11899 * posix/regexec.c (check_node_accept_bytes): Likewise.
11900 * string/strcoll_l.c (STRCOLL): Likewise.
11901 * string/strxfrm_l.c (STRXFRM): Likewise.
11902
9d65ea3a
UD
119032011-11-17 Ulrich Drepper <drepper@gmail.com>
11904
11905 * Makefile.in: Remove CVSOPT handling.
11906 * configure.in: Remove use of AC_REVISION.
11907 * iconvdata/Makefile (distribute): No need to filter out CVS.
11908 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11909 handling.
11910
5583a086
AS
119112011-11-16 Andreas Schwab <schwab@redhat.com>
11912
11913 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11914 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11915 [USE_AS_STRNCASECMP_L]: Likewise.
11916 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11917 NO_TLS_DIRECT_SEG_REFS.
11918 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11919 Fix argument offsets for non-PIC.
11920 [USE_AS_STRNCASECMP_L]: Likewise.
11921 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11922 NO_TLS_DIRECT_SEG_REFS.
11923
d62a8200
UD
119242011-11-15 Ulrich Drepper <drepper@gmail.com>
11925
9d65ea3a 11926 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11927 O_CLOEXEC.
11928 * locale/loadlocale.c (_nl_load_locale): Likewise.
11929
09f93bd3
AS
119302011-11-15 Andreas Schwab <schwab@redhat.com>
11931
446514f9
AS
11932 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11933 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11934 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11935 (SYSCALL_GETTIME): Set errno on error.
11936
09f93bd3
AS
11937 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11938 count references to noai6ai_cached.
11939
312be3f9
UD
119402011-11-15 Ulrich Drepper <drepper@gmail.com>
11941
11942 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11943
11944 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11945 FD_CLOEXEC for /proc/self/maps.
11946
11947 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11948 FD_CLOEXEC for /proc/meminfo.
11949
11950 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11951 gai.conf.
11952
11953 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11954 FD_CLOEXEC for given file.
11955
11956 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11957
11958 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11959 FD_CLOEXEC for /etc/hosts.
11960 (_gethtent): Likewise.
11961
11962 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11963
11964 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11965 cancellation and set FD_CLOEXEC for /etc/netgroup.
11966
11967 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11968 reading /etc/publickey.
11969
11970 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11971 allow cancellation when reading /etc/group.
11972
11973 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11974 cancellation.
11975 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11976
11977 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11978 when using data file.
11979
11980 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11981
11982 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11983 (write_nis_obj): Use "c" and "e" in fopen.
11984
11985 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11986
11987 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11988
11989 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11990
11991 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11992
11993 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11994 locale.alias.
11995
11996 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11997
11998 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11999
12000 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12001
12002 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12003 file parsing and set FD_CLOEXEC.
12004
82af0fa8
UD
120052011-11-14 Ulrich Drepper <drepper@gmail.com>
12006
12007 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12008
a5fb313c
AS
120092011-11-14 Andreas Schwab <schwab@redhat.com>
12010
12011 * malloc/arena.c (arena_get2): Don't call reused_arena when
12012 _int_new_arena failed.
12013
6abf3465
UD
120142011-11-14 Ulrich Drepper <drepper@gmail.com>
12015
12016 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12017 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12018 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12019 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12020 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12021 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12022 to compile strcasecmp and strncasecmp.
12023 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12024 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12025
12026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12027
76e3966e
UD
120282011-11-13 Ulrich Drepper <drepper@gmail.com>
12029
12030 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12031 locale-defines.sym to gen-as-const-headers.
12032 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12033 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12035 to compile strcasecmp and strncasecmp.
12036 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12037 strcasecmp_l and strncasecmp_l.
12038 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12039 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12040 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12041 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12042 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12043 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12044 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12045 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12046 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12047 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12048 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12049
ab26144e
UD
120502011-11-12 Ulrich Drepper <drepper@gmail.com>
12051
7edb22ef
UD
12052 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12053 result of SYSDEP_GETTIME_CPU to retval.
12054 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12055 parameter list to macro. Remove trailing semicolon. Adjust users.
12056
9694fc44
UD
12057 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12058 variable.
12059
8ad89ef8
UD
12060 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12061 mantissa words.
12062 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12063
0c822ef9
UD
12064 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12065 from unused variable.
12066
874e0564
UD
12067 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12068 DWARF definitions.
12069 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12070 for assembling.
12071
3a2edc79
UD
12072 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12073 over namespaces.
12074
f3c2577f
UD
12075 * sunrpc/rpc_prot.c (rejected): Fix case value.
12076
294ce126
UD
12077 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12078 unsigned long long int to avoid warnings in shift.
12079
5e2b63c6
UD
12080 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12081 of use of trans.
12082 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12083 variable tmp.
12084
e7f4b08e
UD
12085 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12086 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12087 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12088
ab26144e
UD
12089 * nis/nis_table.c (nis_list): Use variable of correct type for
12090 result of __follow_path call.
12091
8a6d5255
AZ
120922011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12093
12094 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12095 of math functions ceil, trunc, floor, round, and sqrt, when
12096 avaliable on the platform.
12097 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12098 name clash.
12099 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12100 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12101 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12102
aaddc98c
MP
121032011-10-30 Marek Polacek <mpolacek@redhat.com>
12104
12105 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12106 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12107
95b7042b
RM
121082011-11-11 Roland McGrath <roland@hack.frob.com>
12109
12110 * include/unistd.h: Fix __readlink return type.
12111 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12112
57769839
UD
121132011-11-11 Ulrich Drepper <drepper@gmail.com>
12114
12115 * stdlib/ucontext.h: Undo last change for makecontext.
12116
edc5984d
AS
121172011-11-11 Andreas Schwab <schwab@redhat.com>
12118
98591e58
AS
12119 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12120
edc5984d
AS
12121 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12122 * setjmp/setjmp.h: Mark functions as non-leaf.
12123 * setjmp/bits/setjmp2.h: Likewise.
12124 * stdlib/ucontext.h: Likewise.
12125
77cdc054
AS
121262011-11-10 Andreas Schwab <schwab@redhat.com>
12127
12128 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12129 (reused_arena): Don't check arena limit.
12130 (arena_get2): Atomically check arena limit.
12131
fe72eebd
UD
121322011-11-08 Ulrich Drepper <drepper@gmail.com>
12133
5f078c32
UD
12134 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12135 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12136
fe72eebd
UD
12137 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12138 instructions.
12139
ae1bc2fa
AS
121402011-11-07 Andreas Schwab <schwab@redhat.com>
12141
7583a88d
AS
12142 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12143 handler when locking.
12144
ae1bc2fa
AS
12145 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12146 Fix size of allocated buffer.
12147
10fb0bfa
AS
121482011-11-04 Andreas Schwab <schwab@redhat.com>
12149
998832a4
AS
12150 [BZ #10103]
12151 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12152 declarations for long double functions.
12153 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12154
10fb0bfa
AS
12155 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12156
3d7ba52b
AS
121572011-11-03 Andreas Schwab <schwab@redhat.com>
12158
a9ae54a1
AS
12159 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12160 installed.
12161
3d7ba52b
AS
12162 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12163 is disabled.
12164
bc8db248
ST
121652011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12166
12167 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12168
45b96dd6
AS
121692011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12170
647776f6
AS
12171 * include/alloca.h (stackinfo_alloca_round): Define.
12172 (extend_alloca): Use it.
12173 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12174 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12175 here.
12176
d91a8b93
AS
12177 * scripts/check-local-headers.sh: Ignore libaudit.h.
12178
45b96dd6
AS
12179 * nscd/Makefile (extra-objs): Make recursively expanded.
12180
432d41ce
UD
121812011-11-01 Ulrich Drepper <drepper@gmail.com>
12182
34372fc6
UD
12183 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12184 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12185
fadb59f8
UD
12186 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12187 * posix/tst-rfc3484-2.c: Likewise.
12188 * posix/tst-rfc3484-3.c: Likewise.
12189
78239589
UD
12190 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12191 process_vm_writev.
12192 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12193 process_vm_writev.
12194 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12195 process_vm_writev from libc using GLIBC_2.15 version.
12196
432d41ce
UD
12197 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12198
02f9c6cf
PP
121992011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12200
12201 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12202 stack usage.
12203
3a2c0242
UD
122042011-10-31 Ulrich Drepper <drepper@gmail.com>
12205
f4ec4833
UD
12206 [BZ #13367]
12207 * nss/getent.c (initgroups_keys): Show error message in case no group
12208 names are given.
12209
3a2c0242
UD
12210 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12211 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12212 __bump_nl_timestamp.
12213 * nscd/connections (nscd_init): When host database is served open
12214 netlink socket and request notification about configuration changes.
12215 (main_loop_poll): Track netlink file descriptor and bump timestamp
12216 in case data becomes available.
12217 (main_loop_epoll): Likewise.
12218 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12219 (database_pers_head): Add extra_data fileds.
12220 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12221 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12222 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12223 Adjust caller.
12224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12225 in6ai data, call __free_in6ai.
12226 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12227 Add -DHAVE_NETLINK.
12228 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12229 interface information. Reuse previous data if netlink timestamp
12230 is not changed.
12231 (__bump_nl_timestamp): New function.
12232 (__free_in6ai): New function.
12233
636064eb
UD
122342011-10-30 Ulrich Drepper <drepper@gmail.com>
12235
12236 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12237 close_not_cancel_no_status here.
12238 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12239
9beb2334
UD
122402011-10-29 Ulrich Drepper <drepper@gmail.com>
12241
6ef76f3b
UD
12242 [BZ #13276]
12243 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12244 return value.
12245
0ffc4f3e 12246 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12247 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12248 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12249
cb95113e
UD
122502011-07-03 Andreas Jaeger <aj@suse.de>
12251
12252 [BZ #10709]
12253 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12254 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12255 * math/libm-test.inc (sin_test): Add test case.
12256
a1b560ff
UD
122572011-10-29 Ulrich Drepper <drepper@gmail.com>
12258
c9aaface
UD
12259 [BZ #13337]
12260 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12261 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12262
d272e7f1
UD
12263 * elf/chroot_canon.c (chroot_canon): Cleanups.
12264
1bc33071
UD
12265 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12266
1760874d
TJ
12267 [BZ #13335]
12268 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12269 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12270
51d91b18
UD
12271 * string/test-strchr.c: Make usable for strchrnul testing.
12272 * string/test-strchrnul.c: New file.
12273 * string/Makefile (strop-tests): Add strchrnul.
12274
a1b560ff 12275 * po/it.po: Update from translation team.
b611fb81 12276 * po/es.po: Likewise.
a1b560ff 12277
a5b81e1f
UD
122782011-10-28 Ulrich Drepper <drepper@gmail.com>
12279
fd52bc6d
UD
12280 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12281 the three constants needed as parameters. Drop the others.
12282 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12283 __m128i_strloadu_tolower.
52e4b9eb
UD
12284 Create and initialize variable zero and use it in all the places
12285 where _mm_setzero_si128 was used.
fd52bc6d 12286
a5b81e1f
UD
12287 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12288 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12289 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12290 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12291 anymore.
12292 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12293 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12294 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12295 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12296 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12297 __mpranred, __mptan.
12298 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12299 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12300 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12301 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12302 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12303 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12304 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12305 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12306 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12307
b4343346
AS
123082011-10-28 Andreas Schwab <schwab@redhat.com>
12309
0c92d8a8
AS
12310 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12311 redefine if SHARED.
12312 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12313
b4343346
AS
12314 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12315 wide char related routines to wcsmbs subdir.
12316
3871f58f
AS
123172011-10-27 Andreas Schwab <schwab@redhat.com>
12318
12319 [BZ #13344]
12320 * misc/sys/cdefs.h (__THROWNL): Define.
12321 * posix/unistd.h: Use __THREADNL instead of __THREAD
12322 for memory synchronization functions.
12323
94d44d9f
RM
123242011-10-26 Roland McGrath <roland@hack.frob.com>
12325
21b64b15 12326 [BZ #13349]
94d44d9f
RM
12327 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12328 doesn't exist.
12329 * manual/stdio.texi (Obstack Streams): Node removed.
12330
f6ce9294
AS
123312011-10-26 Andreas Schwab <schwab@redhat.com>
12332
80479147
AS
12333 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12334 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12335 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12336
f6ce9294
AS
12337 * math/math_private.h (math_force_eval): Allow non-addressable
12338 arguments.
12339 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12340
618280a1
UD
123412011-10-25 Ulrich Drepper <drepper@gmail.com>
12342
e0016b11
UD
12343 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12344 file is not needed.
12345
12346 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12347 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12348 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12349 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12350 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12351 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12352 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12353 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12354 Add AVX variants.
12355 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12356 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12357 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12358 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12359 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12360 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12361 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12362 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12363 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12364 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12365 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12366 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12367 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12368 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12369 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12370 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12371 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12372 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12373 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12374
12375 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12376 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12377
618280a1
UD
12378 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12379 place. Use VEX encoding when compiling for AVX.
12380
37822576
AS
123812011-10-25 Andreas Schwab <schwab@redhat.com>
12382
1f1e1947
AS
12383 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12384 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12385
37822576
AS
12386 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12387
31ea014d
UD
123882011-10-25 Ulrich Drepper <drepper@gmail.com>
12389
d7826aa1 12390 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12391 useless if() expression.
d7826aa1
UD
12392 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12394 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12395 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12396 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12397 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12398 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12399 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12400 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12401 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12402 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12403 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12404 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12405 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12406 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12407 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12408 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12409 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12410 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12411
31ea014d
UD
12412 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12413
16437fec
AS
124142011-10-25 Andreas Schwab <schwab@redhat.com>
12415
12416 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12417 condition.
12418 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12419
31d3cc00
UD
124202011-10-25 Ulrich Drepper <drepper@gmail.com>
12421
12422 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12423 .text section. Avoid duplicate constants.
12424 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12434 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12435 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12436 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12439 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12440 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12441 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12442 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12443 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12444 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12445 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12446 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12447 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12448 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12449 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12450 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12451 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12452 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12453 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12454 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12455 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12456 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12457 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12458 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12459 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12460 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12461 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12462 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12463 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12464 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12465 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12466 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12467 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12468 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12469
58985aa9
UD
124702011-10-24 Ulrich Drepper <drepper@gmail.com>
12471
202c9deb
UD
12472 * sysdeps/x86_64/dla.h: Move to ...
12473 * sysdeps/x86_64/fpu/dla.h: ...here.
12474 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12475 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12476
af968f62
UD
12477 * config.make.in: Add have-mfma4 entry.
12478 * configure.in: Substitute libc_cv_cc_fma4.
12479 * math/Makefile (dbl-only-routines): Add sincostab.
12480 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12481 Use __sincostab not sincos.
12482 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12483 name is a macro.
12484 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12486 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12487 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12488 using __copysign.
12489 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12490 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12491 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12492 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12493 and __inv.
12494 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12495 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12496 __copysign.
12497 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12498 define aliases when function name is a macro.
12499 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12500 sysdeps/ieee754/dbl-64/sincos.tbl.
12501 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12502 fma4-enabled routines.
12503 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12504 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12505 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12506 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12507 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12508 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12509 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12510 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12511 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12512 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12513 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12514 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12515 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12516 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12517 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12518 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12519 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12520 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12521 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12522 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12523 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12524 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12525 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12526 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12527 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12528 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12529 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12530 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12531 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12532 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12533
58985aa9
UD
12534 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12535 rename.
12536 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12537 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12539 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12542 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12543 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12544
a201fbcf
AS
125452011-10-24 Andreas Schwab <schwab@redhat.com>
12546
12547 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12548
fc2ee42a
LD
125492011-10-23 Ulrich Drepper <drepper@gmail.com>
12550
bb3129bd
UD
12551 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12552
0275fff8
UD
12553 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12554 prediction.
12555 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12556
2fa2ae85
UD
12557 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12558 Remove unused variable magic_bits.
12559 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12560
fc2ee42a
LD
12561 * string/strnlen.c: Define and use STRNLEN macro.
12562 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12563 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12564 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12565 * wcsmbs/wcslen.c: Define and use WCSLEN.
12566 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12567 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12568 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12569 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12570 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12571 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12572 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12573
ce7dd29f
LD
125742011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12575
12576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12577 strnlen-sse2-no-bsf.
12578 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12579 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12580 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12581 Add strnlen support.
12582 (USE_AS_STRNLEN): New macro.
12583 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12584 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12585 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12586 * sysdeps/x86_64/wcslen.S: New file.
12587
979c70a3
MZ
125882011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12589
12590 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12591 XMM-moves are used for copying on small sizes.
12592
2d09f82f
LD
125932011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12594
12595 * wcsmbs/Makefile (strop-tests): Add wcschr.
12596 * wcsmbs/test-wcschr.c: New file.
12597 * string/test-strchr.c: Update.
12598 Add wcschr support.
12599 (WIDE): New macro.
12600
619fccca
LD
126012011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12602
2d09f82f 12603 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12604 * wcsmbs/test-wcslen.c: New file.
12605 * string/test-strlen.c: Update.
12606 Add wcslen support.
12607 (WIDE): New macro.
12608
09f699ea
UD
126092011-10-23 Ulrich Drepper <drepper@gmail.com>
12610
12611 * po/it.po: Update from translation team.
12612
95584d3b
LD
126132011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12614
12615 * sysdeps/x86_64/wcscmp.S: Update.
12616 Fix wrong comparison semantics.
12617 wcscmp shall use signed comparison not unsigned.
12618 Don't use substraction to avoid overflow bug.
12619 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12620 * wcsmbc/wcscmp.c: Likewise.
12621 * string/test-strcmp.c: Likewise.
12622 Add new tests to check cases with negative values.
12623
c8b3296b
UD
126242011-10-23 Ulrich Drepper <drepper@gmail.com>
12625
12626 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12627 * sysdeps/x86_64/dla.h: ...here. New file.
12628 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12629 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12637
246ad57a
AS
126382011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12639
12640 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12641 __ynl_finite aliases.
12642
a1a87169
UD
126432011-10-22 Ulrich Drepper <drepper@gmail.com>
12644
0d355eb7
UD
12645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12646
a1a87169
UD
12647 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12648 define DLA_FMA.
12649 [DLA_FMA] (EMULV): Use DLA_FMA.
12650 [DLA_FMA] (MUL12): Use EMULV.
12651 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12652 that are not needed.
12653 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12658 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12660
ee2aafe0
AS
126612011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12662
12663 * math/s_nan.c: Undef __nan.
12664 * math/s_nanf.c: Undef __nanf.
12665 * math/s_nanl.c: Undef __nanl.
12666 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12667 "math_private.h".
12668
bc62c2fb
UD
126692011-10-22 Ulrich Drepper <drepper@gmail.com>
12670
77425c63
UD
12671 * math/s_catan.c: Add branch predictions.
12672 * math/s_catanf.c: Likewise.
12673 * math/s_catanh.c: Likewise.
12674 * math/s_catanhf.c: Likewise.
12675 * math/s_catanhl.c: Likewise.
12676 * math/s_catanl.c: Likewise.
12677 * math/s_cexp.c: Likewise.
12678 * math/s_cexpf.c: Likewise.
12679 * math/s_cexpl.c: Likewise.
12680 * math/s_clog.c: Likewise.
12681 * math/s_clog10.c: Likewise.
12682 * math/s_clog10f.c: Likewise.
12683 * math/s_clog10l.c: Likewise.
12684 * math/s_clogf.c: Likewise.
12685 * math/s_clogl.c: Likewise.
12686 * math/s_csqrt.c: Likewise.
12687 * math/s_csqrtf.c: Likewise.
12688 * math/s_csqrtl.c: Likewise.
12689 * math/s_ctanf.c: Likewise.
12690 * math/s_ctanh.c: Likewise.
12691 * math/s_ctanhf.c: Likewise.
12692 * math/s_ctanhl.c: Likewise.
12693 * math/s_ctanl.c: Likewise.
12694
bc62c2fb
UD
12695 * math/math_private.h: Define __nan, __nanf, __nanl.
12696 * math/s_cacosh.c: Include <math_private.h>.
12697 * math/s_cacoshl.c: Likewise.
12698 * math/s_casinh.c: Likewise.
12699 * math/s_casinhf.c: Likewise.
12700 * math/s_casinhl.c: Likewise.
12701 * math/s_ccos.c: Rely entire on ccosh.
12702 * math/s_ccosf.c: Rely entire on ccoshf.
12703 * math/s_ccosl.c: Rely entirely on ccoshl.
12704 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12705 Remove tests for FE_INVALID.
12706 * math/s_ccoshf.c: Likewise.
12707 * math/s_ccoshl.c: Likewise.
12708 * math/s_csin.c: Likewise.
12709 * math/s_csinf.c: Likewise.
12710 * math/s_csinh.c Likewise.
12711 * math/s_csinhf.c: Likewise.
12712 * math/s_csinhl.c: Likewise.
12713 * math/s_csinl.c: Likewise.
12714 * math/s_ctan.c: Likewise.
12715 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12716 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12717 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12718
8ec250a4
UD
127192011-10-21 Ulrich Drepper <drepper@gmail.com>
12720
c196fed8
UD
12721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12722 compilation problems.
12723
8ec250a4
UD
12724 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12725 __builtin_expect.
12726
8d4f46c6
UD
127272011-10-20 Ulrich Drepper <drepper@gmail.com>
12728
ed72b654
UD
12729 * sysdeps/i386/configure.in: Test for -mfma4 option.
12730 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12731 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12732 COMMON_CPUID_INDEX_80000001.
12733 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12734 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12735 use it if FMA3 is not supported.
12736 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12737
8d4f46c6
UD
12738 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12739 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12740
d45c60c2
AS
127412011-10-20 Andreas Schwab <schwab@redhat.com>
12742
12743 [BZ #12892]
12744 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12745 it would create a cycle with a link time dependency.
12746
d9a4d2ab
UD
127472011-10-19 Ulrich Drepper <drepper@gmail.com>
12748
855d1560
UD
12749 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12750 instruction.
12751 * string/Makefile (strop-tests): Add rawmemchr.
12752 * string/test-rawmemchr.c: New file.
12753
d9a4d2ab
UD
12754 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12755 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12756 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12757 when compiling str{,n}casecmp and when AVX is available. Hook up
12758 new optimized code in initializers.
12759
8f3b1ffe
AS
127602011-10-19 Andreas Schwab <schwab@redhat.com>
12761
12762 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12763 __feraiseexcept instead of feraiseexcept.
12764
d38f1dba
UD
127652011-10-18 Ulrich Drepper <drepper@gmail.com>
12766
d9a8d0ab
UD
12767 * math/math_private.h: Define defaults for libc_fetestexcept and
12768 libc_feupdateenv.
12769 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12770 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12771 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12772 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12773 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12774 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12775 libc_fetestexcept and libc_feupdateenv.
12776
4855e3dd
UD
12777 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12778 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12779 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12780 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12781 libc_feholdexcept_setround.
12782
581d30e3
UD
12783 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12784 Add s_nearbyint-c and s_nearbyintf-c.
12785 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12786 nearbyintf inlines.
12787 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12788 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12789 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12790 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12791
d38f1dba
UD
12792 * math/math_private.h: Define defaults for libc_fegetround,
12793 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12794 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12795 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12796 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12797 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12798 standard functions.
12799 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12800 Remove comments and hacks for old compiler versions.
12801 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12802 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12803 libc_feholdexceptl.
12804
caa6c9d8
AS
128052011-10-18 Andreas Schwab <schwab@redhat.com>
12806
12807 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12808 (__feraiseexcept_renamed): Add __NTH.
12809 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12810 namespace violations.
12811
97c066e6
UD
128122011-10-17 Ulrich Drepper <drepper@gmail.com>
12813
99ce7b04
UD
12814 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12815
1004d182
UD
12816 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12817
228a984d
UD
12818 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12819 recently added interfaces.
12820 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12821
c8553a6a
UD
12822 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12823 about macro parameter expansion.
12824
ed22dcf6
UD
12825 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12826 __NO_MATH_INLINES is defined. Cleanups.
12827
12828 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12829 and __floorf is target has SSE4.1.
12830 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12831 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12832 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12833 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12834
b171c137
UD
12835 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12836 name.
12837 (floorf): Likewise.
12838
97c066e6
UD
12839 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12840
629f62ef
AS
128412011-10-17 Andreas Schwab <schwab@redhat.com>
12842
49a43d80
AS
12843 * misc/sys/cdefs.h: Fix last change.
12844
629f62ef
AS
12845 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12846 database lookup.
12847
e453f6cd
UD
128482011-10-16 Ulrich Drepper <drepper@gmail.com>
12849
aa78043a
UD
12850 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12851
ad0f5cad
UD
12852 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12853 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12854 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12855 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12857 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12858 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12859 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12860 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12861 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12862 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12863 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12864 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12865 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12866 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12867 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12868 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12869 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12870 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12871 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12872 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12873 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12874
12875 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12876 ceil, ceilf, floor, floorf.
12877
12878 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12879 Perform IRELATIVE relocations last.
12880
e453f6cd
UD
12881 * elf/do-rel.h: Add another parameter nrelative, replacing the
12882 local variable with the same name. Change name of the function
12883 to end in Rel or Rela (uppercase).
12884 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12885 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12886 elf_dynamic_do_##reloc function.
12887
fd5bdc09
UD
128882011-10-15 Ulrich Drepper <drepper@gmail.com>
12889
79b195b5
UD
12890 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12891 is sufficient, at least on modern CPUs.
12892
d4a28569
UD
12893 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12894
b61099b5
UD
12895 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12896 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12897
bcf01e6d
UD
12898 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12899 __expl_finite.
12900 * math/bits/math-finite.h: Add entries for exp.
12901 * math/e_expl.c: Add __*_finite alias.
12902 * sysdeps/i386/fpu/e_exp.S: Likewise.
12903 * sysdeps/i386/fpu/e_expf.S: Likewise.
12904 * sysdeps/i386/fpu/e_expl.c: Likewise.
12905 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12906 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12910 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12911 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12912
ba1a0d59
UD
12913 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12914 is sufficient, at least on modern CPUs.
12915
fd5bdc09
UD
12916 * ctype/ctype-info.c (__ctype_init): Define.
12917 * include/ctype.h (__ctype_init): Declare.
12918 (__ctype_b_loc): The variable is always initialized.
12919 (__ctype_toupper_loc): Likewise.
12920 (__ctype_tolower_loc): Likewise.
12921 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12922 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12923
7872cfb0
AS
129242011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12925
b468825a
AS
12926 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12927
7872cfb0
AS
12928 * configure.in: Also look in $cxxmachine/include for C++ system
12929 headers.
12930
be13f7bf
LD
129312011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12932
12933 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12934 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12935 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12936 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12937 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12938 (USE_AS_WMEMCMP): New macro.
12939 Fixing indents.
12940 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12941 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12942 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12943 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12945 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12946 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12947 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12948 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12949 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12950 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12951 (USE_AS_WMEMCMP): New macro.
12952 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12953 * sysdeps/string/test-memcmp.c: Update.
12954 Fix simple_wmemcmp.
12955 Add new tests.
12956 * wcsmbs/wmemcmp.c: Update.
12957 (WMEMCMP): New macro.
12958 Fix overflow bug.
12959
556a2007
AJ
129602011-10-12 Andreas Jaeger <aj@suse.de>
12961
12962 [BZ #13268]
12963 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12964
538faaa7
UD
129652011-10-15 Ulrich Drepper <drepper@gmail.com>
12966
ab6737ff
UD
12967 * libio/iofwide.c (do_length): Avoid warning.
12968
538faaa7
UD
12969 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12970
396a21b1
UD
129712011-10-14 Ulrich Drepper <drepper@gmail.com>
12972
cdf2901f
UD
12973 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12974
38ad40ce
UD
12975 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12976 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12977 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12978 * sysdeps/i386/i686/fpu/e_log.S: New file.
12979 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12980 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12981
396a21b1
UD
12982 * ctype/ctype.h: Add support for inlined isXXX functions when
12983 compiling C++ code.
12984
6b1f68c9
AS
129852011-10-14 Andreas Schwab <schwab@redhat.com>
12986
349290c0
AS
12987 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12988
6b1f68c9
AS
12989 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12990
f2282d42
RM
129912011-10-13 Roland McGrath <roland@hack.frob.com>
12992
12993 [BZ #13291]
12994 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12995
5298ffa8
AS
129962011-10-13 Andreas Schwab <schwab@redhat.com>
12997
714fad23
AS
12998 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12999 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13000 feraiseexcept.
13001
81dcc7fb
AS
13002 * sysdeps/x86_64/memrchr.S: Check for zero size.
13003
5298ffa8
AS
13004 * string/stratcliff.c: Add memrchr tests.
13005
951fbcec
LD
130062011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13007
13008 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13009 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13010 rawmemchr-sse2 rawmemchr-sse2-bsf.
13011 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13012 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13013 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13014 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13015 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13016 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13017 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13018 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13019 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13020 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13021 * string/memrchr.c (MEMRCHR): New macro.
13022
0ac5ae23
UD
130232011-10-12 Ulrich Drepper <drepper@gmail.com>
13024
13025 Add integration with gcc's -ffinite-math-only and optimize wrapper
13026 functions in libm.
13027 * Versions.def: Define GLIBC_2.15 version for libm.
13028 * math/Makefile (headers): Add bits/math-finite.h.
13029 * math/bits/math-finite.h: New file.
13030 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13031 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13032 * math/e_acoshl.c: Add __*_finite alias.
13033 * math/e_acosl.c: Likewise.
13034 * math/e_asinl.c: Likewise.
13035 * math/e_atan2l.c: Likewise.
13036 * math/e_atanhl.c: Likewise.
13037 * math/e_coshl.c: Likewise.
13038 * math/e_exp10.c: Likewise.
13039 * math/e_exp10f.c: Likewise.
13040 * math/e_exp10l.c: Likewise.
13041 * math/e_exp2l.c: Likewise.
13042 * math/e_fmodl.c: Likewise.
13043 * math/e_gammal_r.c: Likewise.
13044 * math/e_hypotl.c: Likewise.
13045 * math/e_j0l.c: Likewise.
13046 * math/e_j1l.c: Likewise.
13047 * math/e_jnl.c: Likewise.
13048 * math/e_lgammal_r.c: Likewise.
13049 * math/e_log10l.c: Likewise.
13050 * math/e_log2l.c: Likewise.
13051 * math/e_logl.c: Likewise.
13052 * math/e_powl.c: Likewise.
13053 * math/e_sinhl.c: Likewise.
13054 * math/e_sqrtl.c: Likewise.
13055 * math/e_scalb.c: Completely rewritten and optimized.
13056 * math/e_scalbf.c: Likewise.
13057 * math/e_scalbl.c: Likewise.
13058 * math/w_acos.c: Likewise.
13059 * math/w_acosf.c: Likewise.
13060 * math/w_acosl.c: Likewise.
13061 * math/w_acosh.c: Likewise.
13062 * math/w_acoshf.c: Likewise.
13063 * math/w_acoshl.c: Likewise.
13064 * math/w_asin.c: Likewise.
13065 * math/w_asinf.c: Likewise.
13066 * math/w_asinl.c: Likewise.
13067 * math/w_atan2.c: Likewise.
13068 * math/w_atan2f.c: Likewise.
13069 * math/w_atan2l.c: Likewise.
13070 * math/w_atanh.c: Likewise.
13071 * math/w_atanhf.c: Likewise.
13072 * math/w_atanhl.c: Likewise.
13073 * math/w_exp10.c: Likewise.
13074 * math/w_exp10f.c: Likewise.
13075 * math/w_exp10l.c: Likewise.
13076 * math/w_fmod.c: Likewise.
13077 * math/w_fmodf.c: Likewise.
13078 * math/w_fmodl.c: Likewise.
13079 * math/w_j0.c: Likewise.
13080 * math/w_j0f.c: Likewise.
13081 * math/w_j0l.c: Likewise.
13082 * math/w_j1.c: Likewise.
13083 * math/w_j1f.c: Likewise.
13084 * math/w_j1l.c: Likewise.
13085 * math/w_jn.c: Likewise.
13086 * math/w_jnf.c: Likewise.
13087 * math/w_log.c: Likewise.
13088 * math/w_logf.c: Likewise.
13089 * math/w_logl.c: Likewise.
13090 * math/w_log10.c: Likewise.
13091 * math/w_log10f.c: Likewise.
13092 * math/w_log10l.c: Likewise.
13093 * math/w_log2.c: Likewise.
13094 * math/w_log2f.c: Likewise.
13095 * math/w_log2l.c: Likewise.
13096 * math/w_pow.c: Likewise.
13097 * math/w_powf.c: Likewise.
13098 * math/w_powl.c: Likewise.
13099 * math/w_remainder.c: Likewise.
13100 * math/w_remainderf.c: Likewise.
13101 * math/w_remainderl.c: Likewise.
13102 * math/w_scalb.c: Likewise.
13103 * math/w_scalbf.c: Likewise.
13104 * math/w_scalbl.c: Likewise.
13105 * math/w_sqrt.c: Likewise.
13106 * math/w_sqrtf.c: Likewise.
13107 * math/w_sqrtl.c: Likewise.
13108 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13109 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13110 used.
13111 * math/math_private.h: Declare __kernel_standard_f.
13112 * math/w_cosh.c: Remove cruft and optimize a bit.
13113 * math/w_coshf.c: Likewise.
13114 * math/w_coshl.c: Likewise.
13115 * math/w_exp2.c: Likewise.
13116 * math/w_exp2f.c: Likewise.
13117 * math/w_exp2l.c: Likewise.
13118 * math/w_hypot.c: Likewise.
13119 * math/w_hypotf.c: Likewise.
13120 * math/w_hypotl.c: Likewise.
13121 * math/w_lgamma.c: Likewise.
13122 * math/w_lgamma_r.c: Likewise.
13123 * math/w_lgammaf.c: Likewise.
13124 * math/w_lgammaf_r.c: Likewise.
13125 * math/w_lgammal.c: Likewise.
13126 * math/w_lgammal_r.c: Likewise.
13127 * math/w_sinh.c: Likewise.
13128 * math/w_sinhf.c: Likewise.
13129 * math/w_sinhl.c: Likewise.
13130 * math/w_tgamma.c: Likewise.
13131 * math/w_tgammaf.c: Likewise.
13132 * math/w_tgammal.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13134 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13135 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13136 Minor optimizations. Pretty printing. Remove cruft.
13137 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13138 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13139 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13140 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13141 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13142 * sysdeps/i386/fpu/e_asin.S: Likewise.
13143 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13144 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13145 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13146 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13147 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13148 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13149 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13150 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13151 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13152 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13153 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13154 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13155 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13156 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13157 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13158 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13159 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13160 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13161 * sysdeps/i386/fpu/e_log.S: Likewise.
13162 * sysdeps/i386/fpu/e_log10.S: Likewise.
13163 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13164 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13165 * sysdeps/i386/fpu/e_log2.S: Likewise.
13166 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13167 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13168 * sysdeps/i386/fpu/e_logf.S: Likewise.
13169 * sysdeps/i386/fpu/e_logl.S: Likewise.
13170 * sysdeps/i386/fpu/e_pow.S: Likewise.
13171 * sysdeps/i386/fpu/e_powf.S: Likewise.
13172 * sysdeps/i386/fpu/e_powl.S: Likewise.
13173 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13174 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13175 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13176 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13177 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13178 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13179 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13180 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13181 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13203 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13204 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13205 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13206 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13207 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13208 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13209 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13210 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13211 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13212 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13213 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13214 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13215 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13216 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13217 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13218 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13219 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13220 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13221 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13222 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13223 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13224 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13225 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13226 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13227 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13228 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13229 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13230 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13231 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13232 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13233 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13234 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13235 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13236 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13237 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13238 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13239 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13240 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13241 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13242 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13243 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13244 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13246 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13247 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13248 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13249 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13250 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13251 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13252 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13253 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13256 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13257 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13258 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13259 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13260 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13262 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13263 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13264 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13265 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13266 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13267 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13268 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13269 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13270 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13272 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13273 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13274 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13275 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13276 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13277 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13278 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13279 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13280 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13281 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13282 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13283 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13284 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13285 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13286 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13287 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13288 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13289 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13290 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13291 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13292 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13293 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13294 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13295 (__isnanf): Likewise.
13296 (__isinf_ns): Likewise.
13297 (__isinf_nsf): Likewise.
13298 (__finite): Likewise.
13299 (__finitef): Likewise.
13300 (__ieee754_sqrt): Define as macro.
13301 (__ieee754_sqrtf): Define as macro.
13302 (__ieee754_sqrtl): Define as macro.
13303 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13304 inlined copy.
13305 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13306 __FINITE_MATH_ONLY__ consistent.
13307 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13308
12cc2fcd
AS
133092011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13310
a843a204
AS
13311 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13312 of rawmemchr.
13313
12cc2fcd
AS
13314 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13315
c853acd5
UD
133162011-10-09 Ulrich Drepper <drepper@gmail.com>
13317
13318 * po/ja.po: Update from translation team.
13319
c658d255
RM
133202011-10-08 Roland McGrath <roland@hack.frob.com>
13321
110946e4
RM
13322 * locale/programs/locarchive.c (prepare_address_space): New function.
13323 (create_archive, enlarge_archive, open_archive): Use it.
13324
50604220
RM
13325 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13326 inside [SHARED], where it is used.
13327
c658d255
RM
13328 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13329
13330 * nss/getent.c (netgroup_keys): Remove unused variable.
13331 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13332
6a621eb7
UD
133332011-10-08 Ulrich Drepper <drepper@gmail.com>
13334
7edb55ce
UD
13335 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13336 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13337 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13338 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13339 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13340 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13341 * math/Makefile (libm-calls): Add s_isinf_ns.
13342 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13343 * math/multc3.c: Likewise.
13344 * math/s_casin.c: Likewise.
13345 * math/s_casinf.c: Likewise.
13346 * math/s_casinl.c: Likewise.
13347 * math/s_ccos.c: Likewise.
13348 * math/s_ccosf.c: Likewise.
13349 * math/s_ccosl.c: Likewise.
13350 * math/s_ctan.c: Likewise.
13351 * math/s_ctanf.c: Likewise.
13352 * math/s_ctanh.c: Likewise.
13353 * math/s_ctanhf.c: Likewise.
13354 * math/s_ctanhl.c: Likewise.
13355 * math/s_ctanl.c: Likewise.
13356 * math/w_fmod.c: Likewise.
13357 * math/w_fmodf.c: Likewise.
13358 * math/w_fmodl.c: Likewise.
13359 * math/w_remainder.c: Likewise.
13360 * math/w_remainderf.c: Likewise.
13361 * math/w_remainderl.c: Likewise.
13362 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13363 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13364 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13365 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13366 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13367 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13368 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13369 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13370
187da0ae
UD
13371 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13372 of the number.
13373 * stdio-common/printf_fphex.c: Likewise.
13374 * stdio-common/printf_size.c: Likewise.
13375
9277c064
UD
13376 * math/e_exp10.c: Include math_private.h using <...> not "...".
13377 * math/e_exp10f.c: Likewise.
13378 * math/e_exp10l.c: Likewise.
13379 * math/e_exp2l.c: Likewise.
13380 * math/e_j0l.c: Likewise.
13381 * math/e_j1l.c: Likewise.
13382 * math/e_jnl.c: Likewise.
13383 * math/e_lgammal_r.c: Likewise.
13384 * math/e_rem_pio2l.c: Likewise.
13385 * math/e_scalb.c: Likewise.
13386 * math/e_scalbf.c: Likewise.
13387 * math/e_scalbl.c: Likewise.
13388 * math/k_cosl.c: Likewise.
13389 * math/k_sinl.c: Likewise.
13390 * math/k_tanl.c: Likewise.
13391 * math/s_cacoshf.c: Likewise.
13392 * math/s_catan.c: Likewise.
13393 * math/s_catanf.c: Likewise.
13394 * math/s_catanh.c: Likewise.
13395 * math/s_catanhf.c: Likewise.
13396 * math/s_catanhl.c: Likewise.
13397 * math/s_catanl.c: Likewise.
13398 * math/s_ccosh.c: Likewise.
13399 * math/s_ccoshf.c: Likewise.
13400 * math/s_ccoshl.c: Likewise.
13401 * math/s_cexp.c: Likewise.
13402 * math/s_cexpf.c: Likewise.
13403 * math/s_cexpl.c: Likewise.
13404 * math/s_clog.c: Likewise.
13405 * math/s_clog10.c: Likewise.
13406 * math/s_clog10f.c: Likewise.
13407 * math/s_clog10l.c: Likewise.
13408 * math/s_clogf.c: Likewise.
13409 * math/s_clogl.c: Likewise.
13410 * math/s_csin.c: Likewise.
13411 * math/s_csinf.c: Likewise.
13412 * math/s_csinh.c: Likewise.
13413 * math/s_csinhf.c: Likewise.
13414 * math/s_csinhl.c: Likewise.
13415 * math/s_csinl.c: Likewise.
13416 * math/s_csqrt.c: Likewise.
13417 * math/s_csqrtf.c: Likewise.
13418 * math/s_csqrtl.c: Likewise.
13419 * math/s_ctan.c: Likewise.
13420 * math/s_ctanf.c: Likewise.
13421 * math/s_ctanh.c: Likewise.
13422 * math/s_ctanhf.c: Likewise.
13423 * math/s_ctanhl.c: Likewise.
13424 * math/s_ctanl.c: Likewise.
13425 * math/s_ldexp.c: Likewise.
13426 * math/s_ldexpf.c: Likewise.
13427 * math/s_ldexpl.c: Likewise.
13428 * math/s_significand.c: Likewise.
13429 * math/s_significandf.c: Likewise.
13430 * math/s_significandl.c: Likewise.
13431 * math/w_acos.c: Likewise.
13432 * math/w_acosf.c: Likewise.
13433 * math/w_acosh.c: Likewise.
13434 * math/w_acoshf.c: Likewise.
13435 * math/w_acoshl.c: Likewise.
13436 * math/w_acosl.c: Likewise.
13437 * math/w_asin.c: Likewise.
13438 * math/w_asinf.c: Likewise.
13439 * math/w_asinl.c: Likewise.
13440 * math/w_atan2.c: Likewise.
13441 * math/w_atan2f.c: Likewise.
13442 * math/w_atan2l.c: Likewise.
13443 * math/w_atanh.c: Likewise.
13444 * math/w_atanhf.c: Likewise.
13445 * math/w_atanhl.c: Likewise.
13446 * math/w_cosh.c: Likewise.
13447 * math/w_coshf.c: Likewise.
13448 * math/w_coshl.c: Likewise.
13449 * math/w_dremf.c: Likewise.
13450 * math/w_exp10.c: Likewise.
13451 * math/w_exp10f.c: Likewise.
13452 * math/w_exp10l.c: Likewise.
13453 * math/w_exp2.c: Likewise.
13454 * math/w_exp2f.c: Likewise.
13455 * math/w_fmod.c: Likewise.
13456 * math/w_fmodf.c: Likewise.
13457 * math/w_fmodl.c: Likewise.
13458 * math/w_hypot.c: Likewise.
13459 * math/w_hypotf.c: Likewise.
13460 * math/w_hypotl.c: Likewise.
13461 * math/w_j0.c: Likewise.
13462 * math/w_j0f.c: Likewise.
13463 * math/w_j0l.c: Likewise.
13464 * math/w_j1.c: Likewise.
13465 * math/w_j1f.c: Likewise.
13466 * math/w_j1l.c: Likewise.
13467 * math/w_jn.c: Likewise.
13468 * math/w_jnf.c: Likewise.
13469 * math/w_jnl.c: Likewise.
13470 * math/w_lgamma.c: Likewise.
13471 * math/w_lgamma_r.c: Likewise.
13472 * math/w_lgammaf.c: Likewise.
13473 * math/w_lgammaf_r.c: Likewise.
13474 * math/w_lgammal.c: Likewise.
13475 * math/w_lgammal_r.c: Likewise.
13476 * math/w_log.c: Likewise.
13477 * math/w_log10.c: Likewise.
13478 * math/w_log10f.c: Likewise.
13479 * math/w_log10l.c: Likewise.
13480 * math/w_log2.c: Likewise.
13481 * math/w_log2f.c: Likewise.
13482 * math/w_log2l.c: Likewise.
13483 * math/w_logf.c: Likewise.
13484 * math/w_logl.c: Likewise.
13485 * math/w_pow.c: Likewise.
13486 * math/w_powf.c: Likewise.
13487 * math/w_powl.c: Likewise.
13488 * math/w_remainder.c: Likewise.
13489 * math/w_remainderf.c: Likewise.
13490 * math/w_remainderl.c: Likewise.
13491 * math/w_scalb.c: Likewise.
13492 * math/w_scalbf.c: Likewise.
13493 * math/w_scalbl.c: Likewise.
13494 * math/w_sinh.c: Likewise.
13495 * math/w_sinhf.c: Likewise.
13496 * math/w_sinhl.c: Likewise.
13497 * math/w_sqrt.c: Likewise.
13498 * math/w_sqrtf.c: Likewise.
13499 * math/w_sqrtl.c: Likewise.
13500 * math/w_tgamma.c: Likewise.
13501 * math/w_tgammaf.c: Likewise.
13502 * math/w_tgammal.c: Likewise.
13503
6a621eb7
UD
13504 * po/ja.po: Update from translation team.
13505
bf582445
AJ
135062011-09-29 Andreas Jaeger <aj@suse.de>
13507
f9efbf3a
AJ
13508 [BZ #13179]
13509 * sunrpc/netname.c (netname2host): Fix logic.
13510
bf582445
AJ
13511 [BZ #6779]
13512 [BZ #6783]
13513 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13514 correctly.
13515 * math/w_remainder.c (__remainder): Likewise.
13516 * math/w_remainderf.c (__remainderf): Likewise.
13517 * math/libm-test.inc (remainder_test): Add test cases.
13518
48693bea
AK
135192011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13520
13521 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13522 sdiv_qrnnd.
13523
42622229
LD
135242011-10-07 Ulrich Drepper <drepper@gmail.com>
13525
13526 * string/test-memcmp.c: Avoid unncessary #defines.
13527 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13528
093ecf92
LD
135292011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13530
13531 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13532 Use new sse2 version for core i3 - i7 as it's faster
13533 than sse42 version.
13534 (bit_Prefer_PMINUB_for_stringop): New.
13535 * sysdeps/x86_64/rawmemchr.S: Update.
13536 Replace with faster SSE2 version.
13537 * sysdeps/x86_64/memrchr.S: New file.
13538 * sysdeps/x86_64/memchr.S: Update.
13539 Replace with faster SSE2 version.
13540
fde56e5c
MP
135412011-09-12 Marek Polacek <mpolacek@redhat.com>
13542
13543 * elf/dl-load.c (lose): Add cast to avoid warning.
13544
21fd49a9
UD
135452011-10-07 Ulrich Drepper <drepper@gmail.com>
13546
5a06e643
UD
13547 * po/ca.po: Update from translation team.
13548
684ae515
UD
13549 * inet/getnetgrent_r.c: Hook up nscd.
13550 * nscd/Makefile (routines): Add nscd_netgroup.
13551 (nscd-modules): Add netgroupcache.
13552 (CFLAGS-netgroupcache.c): Define.
13553 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13554 (cache_search): Add const to second parameter.
13555 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13556 INNETGR.
13557 (dbs): Add netgrdb entry.
13558 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13559 (verify_persistent_db): Handle netgrdb.
13560 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13561 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13562 GETFDNETGR.
13563 (netgroup_response_header): Define.
13564 (innetgroup_response_header): Define.
13565 (datahead): Add netgroup_response_header and innetgroup_response_header
13566 elements.
13567 * nscd/nscd.conf: Add entries for netgroup cache.
13568 * nscd/nscd.h (dbtype): Add netgrdb.
13569 (_PATH_NSCD_NETGROUP_DB): Define.
13570 (netgroup_iov_disabled): Declare.
13571 (xmalloc, xcalloc, xrealloc): Move declarations here.
13572 (cache_search): Adjust prototype.
13573 Add netgroup-related prototypes.
13574 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13575 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13576 (__nscd_innetgr): Declare.
13577 * nscd/selinux.c (perms): Use access_vector_t as element type and
13578 add netgroup-related initializers.
13579 * nscd/netgroupcache.c: New file.
13580 * nscd/nscd_netgroup.c: New file.
13581 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13582 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13583 For four parameters use innetgr.
13584 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13585 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13586 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13587 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13588
21fd49a9
UD
13589 * nscd/connections.c (register_traced_file): Don't register file
13590 for disabled databases.
13591
054c0457
UD
135922011-10-06 Ulrich Drepper <drepper@gmail.com>
13593
32b63198
UD
13594 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13595
054c0457
UD
13596 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13597 from tree and freeing node.
13598
64031225
JO
135992011-09-25 Jiri Olsa <jolsa@redhat.com>
13600
13601 * nss/nsswitch.c (__nss_database_lookup): Handle
13602 nss_parse_service_list out of memory case.
13603
0490345c
JO
136042011-09-15 Jiri Olsa <jolsa@redhat.com>
13605
13606 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13607 out of memory case.
13608
3a62d00d
AS
136092011-10-04 Andreas Schwab <schwab@redhat.com>
13610
13611 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13612 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13613 pass it down.
13614 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13615 elf_machine_rela, elf_machine_lazy_rel.
13616 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13617 (ELF_DYNAMIC_DO_REL): Likewise.
13618 (ELF_DYNAMIC_DO_RELA): Likewise.
13619 (ELF_DYNAMIC_RELOCATE): Likewise.
13620 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13621 to ELF_DYNAMIC_DO_REL.
13622 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13623 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13624 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13625 elf_machine_rela.
13626 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13627 skip_ifunc, don't call ifunc function if non-zero.
13628 (elf_machine_rela): Likewise.
13629 (elf_machine_lazy_rel): Likewise.
13630 (elf_machine_lazy_rela): Likewise.
13631 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13632 (elf_machine_lazy_rel): Likewise.
13633 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13634 Likewise.
13635 (elf_machine_lazy_rel): Likewise.
13636 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13637 Likewise.
13638 (elf_machine_lazy_rel): Likewise.
13639 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13640 (elf_machine_lazy_rel): Likewise.
13641 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13642 (elf_machine_lazy_rel): Likewise.
13643 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13644 (elf_machine_lazy_rel): Likewise.
13645 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13646 (elf_machine_lazy_rel): Likewise.
13647 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13648 (elf_machine_lazy_rel): Likewise.
13649 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13650 (elf_machine_lazy_rel): Likewise.
13651
68577918
UD
136522011-09-28 Ulrich Drepper <drepper@gmail.com>
13653
13654 * nss/nss_files/files-init.c (_nss_files_init): Use static
13655 initialization for all the *_traced_file variables.
13656
68822d74
AS
136572011-09-28 Andreas Schwab <schwab@redhat.com>
13658
13659 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13660
2056100b
RM
136612011-09-27 Roland McGrath <roland@hack.frob.com>
13662
13663 [BZ #13226]
13664 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13665
32c76b63
AS
136662011-09-27 Andreas Schwab <schwab@redhat.com>
13667
13668 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13669 Reread the line before reparsing it.
13670
bf972c9d
AS
136712011-09-26 Andreas Schwab <schwab@redhat.com>
13672
13673 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13674
e057a1b5
JM
136752011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13676 Maxim Kuvyrkov <maxim@codesourcery.com>
13677 Joseph Myers <joseph@codesourcery.com>
13678
13679 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13680 if needed for __stack_chk_guard.
13681
bc7e1c36
RM
136822011-09-19 Roland McGrath <roland@hack.frob.com>
13683
ecb1482f
RM
13684 * sysdeps/posix/spawni.c (script_execute): Always define it.
13685 It will be optimized away if unused.
13686 (maybe_script_execute): New function.
13687 (__spawni): Call it.
13688
bc7e1c36
RM
13689 * Makerules: Don't include tls.make.
13690 (config-tls): Always set to thread.
13691 * tls.make.c: File removed.
13692
1c3b002b
MF
136932011-09-19 Mike Frysinger <vapier@gentoo.org>
13694
13695 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13696 * config.make.in (CPPFLAGS-config): New substituted variable.
13697
2840865d
UD
136982011-09-15 Ulrich Drepper <drepper@gmail.com>
13699
88738eb6
UD
13700 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13701
cbf645a6 13702 [BZ #13192]
2840865d
UD
13703 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13704 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13705
b402e91a
RM
137062011-09-15 Roland McGrath <roland@hack.frob.com>
13707
13708 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13709 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13711 (CALL_FAIL): Likewise.
13712 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13713 (CALL_FAIL): Macro removed.
13714 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13715
4c1a1f71
UD
137162011-09-15 Ulrich Drepper <drepper@gmail.com>
13717
13718 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13719 for __FINITE_MATH_ONLY__ == 1.
13720
edc121be
AS
137212011-09-15 Andreas Schwab <schwab@redhat.com>
13722
13723 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13724 __ieee754_sqrt instead of sqrt.
13725 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13726 __ieee754_sqrtf instead of sqrtf.
13727 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13728 __floorf instead of floorf.
13729 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13730 __floorf, __truncf instead of floorf, truncf.
13731
cd205654
UD
137322011-09-14 Ulrich Drepper <drepper@gmail.com>
13733
ee4d0315
UD
13734 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13735
cd205654
UD
13736 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13737 __extern_always_inline.
13738 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13739 32-bit.
13740
48b67d71
AS
137412011-09-14 Andreas Schwab <schwab@redhat.com>
13742
13743 * elf/rtld.c (dl_main): Also relocate in dependency order when
13744 doing symbol dependency testing.
13745
1ae12c75
AS
137462011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13747
13748 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13749 Always define `refsym'.
13750
995a80df
AS
137512011-09-13 Andreas Schwab <schwab@redhat.com>
13752
e529793b
AS
13753 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13754 (__FD_ELT): Renamed from __FDELT.
13755 * misc/bits/select2.h (__FD_ELT): Likewise.
13756 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13757 __FD_MASK instead of __FDELT, __FDMASK.
13758 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13759 Likewise.
13760 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13761 Likewise.
13762
52d4fef8
AS
13763 * elf/Makefile (gen-ldd): Fix pattern.
13764
995a80df
AS
13765 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13766 (init_tls): Likewise.
13767
8682f8b0
UD
137682011-09-12 Ulrich Drepper <drepper@gmail.com>
13769
13770 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13771
de82006d
AS
137722011-09-12 Andreas Schwab <schwab@redhat.com>
13773
a7c8e6a1
AS
13774 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13775 `struct cmsghdr *' instead of `void *'.
13776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13777 Likewise.
13778
0f31fe77
AS
137792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13780
13781 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13782 if non-absolute.
13783 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13784 ldd_rewrite_script.
0f31fe77 13785
32b4c839
UD
137862011-09-11 Ulrich Drepper <drepper@gmail.com>
13787
83cd1420
UD
13788 * configure.in: Remove --with-tls option.
13789 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13790 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13791 out in case it is missing.
13792 * sysdeps/ia64/elf/configure.in: Likewise.
13793 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13794 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13795 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13796 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13797 * sysdeps/sh/elf/configure.in: Likewise.
13798 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13799 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13800 * sysdeps/x86_64/elf/configure.in: Likewise.
13801 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13802 * sysdeps/mach/hurd/tls.h: Likewise.
13803
633f745d
UD
13804 [BZ #13067]
13805 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13806
f318beb8
UD
13807 [BZ #13090]
13808 * configure.in: Fix use of AC_INIT.
13809
32b4c839
UD
13810 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13811
3ce1f295
UD
138122011-09-10 Ulrich Drepper <drepper@gmail.com>
13813
bb016596
UD
13814 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13815 __set_errno.
8e58439c
UD
13816 * malloc/hooks.c: Likewise.
13817
aebae053 13818 [BZ #11929]
02d46fc4
UD
13819 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13820 variables statically.
13821 (narenas): Initialize.
13822 (list_lock): Initialize.
bb016596
UD
13823 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13824 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13825 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13826 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13827 Add initializers to main_arena and mp_.
13828 (malloc_state): Remove pagesize member. Change all users to use
13829 GLRO(dl_pagesize).
13830
13831 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13832 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13833 is always initialized.
13834
22a89187
UD
13835 * malloc/malloc.c: Removed unused configurations and dead code.
13836 * malloc/arena.c: Likewise.
13837 * malloc/hooks.c: Likewise.
02d46fc4 13838 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13839
d063d164
UD
13840 * include/tls.h: Removed. USE___THREAD must always be defined.
13841 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13842 * elf/dl-libc.c: Likewise.
13843 * elf/dl-tsd.c: Likewise.
13844 * include/errno.h: Likewise.
13845 * include/netdb.h: Likewise.
13846 * include/resolv.h: Likewise.
13847 * inet/herrno-loc.c: Likewise.
13848 * inet/herrno.c: Likewise.
13849 * malloc/arena.c: Likewise.
13850 * malloc/hooks.c: Likewise.
13851 * malloc/malloc.c: Likewise.
13852 * resolv/res-state.c: Likewise.
13853 * resolv/res_libc.c: Likewise.
13854 * sysdeps/i386/dl-machine.h: Likewise.
13855 * sysdeps/ia64/dl-machine.h: Likewise.
13856 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13857 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13858 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13859 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13860 * sysdeps/sh/dl-machine.h: Likewise.
13861 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13862 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13863 * sysdeps/unix/i386/sysdep.S: Likewise.
13864 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13865 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13866 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13867 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13868 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13869 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13870 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13871 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13874 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13875 * sysdeps/x86_64/dl-machine.h: Likewise.
13876 * tls.make.c: Likewise.
13877
3ce1f295
UD
13878 * configure.in: Remove --with-__thread option. Make tests for
13879 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13880 tls_model attribute fail if no support is available. Remove
13881 USE_IN_LIBIO.
13882 * Makeconfig: Adjust for dropped configure option. All features are
13883 now mandatory.
13884 * Makerules: Likewise.
13885 * Versions.def: Likewise.
13886 * argp/argp-fmtstream.c: Likewise.
13887 * argp/argp-fmtstream.h: Likewise.
13888 * argp/argp-help.c: Likewise.
13889 * assert/assert.c: Likewise.
13890 * config.h.in: Likewise.
13891 * config.make.in: Likewise.
13892 * configure: Likewise.
13893 * configure.in: Likewise.
13894 * csu/Versions: Likewise.
13895 * csu/init.c: Likewise.
13896 * elf/tst-audit2.c: Likewise.
13897 * elf/tst-tls10.c: Likewise.
13898 * elf/tst-tls10.h: Likewise.
13899 * elf/tst-tls11.c: Likewise.
13900 * elf/tst-tls12.c: Likewise.
13901 * elf/tst-tls14.c: Likewise.
13902 * elf/tst-tlsmod11.c: Likewise.
13903 * elf/tst-tlsmod12.c: Likewise.
13904 * elf/tst-tlsmod13.c: Likewise.
13905 * elf/tst-tlsmod13a.c: Likewise.
13906 * elf/tst-tlsmod14a.c: Likewise.
13907 * elf/tst-tlsmod15b.c: Likewise.
13908 * elf/tst-tlsmod16a.c: Likewise.
13909 * elf/tst-tlsmod16b.c: Likewise.
13910 * elf/tst-tlsmod7.c: Likewise.
13911 * elf/tst-tlsmod8.c: Likewise.
13912 * elf/tst-tlsmod9.c: Likewise.
13913 * gmon/gmon.c: Likewise.
13914 * grp/fgetgrent_r.c: Likewise.
13915 * grp/putgrent.c: Likewise.
13916 * hurd/fopenport.c: Likewise.
13917 * include/libc-symbols.h: Likewise.
13918 * include/tls.h: Likewise.
13919 * intl/gettextP.h: Likewise.
13920 * intl/loadinfo.h: Likewise.
13921 * locale/global-locale.c: Likewise.
13922 * locale/localeinfo.h: Likewise.
13923 * mach/devstream.c: Likewise.
13924 * malloc/arena.c: Likewise.
13925 * malloc/set-freeres.c: Likewise.
13926 * misc/err.c: Likewise.
13927 * misc/getttyent.c: Likewise.
13928 * misc/mntent_r.c: Likewise.
13929 * posix/getopt.c: Likewise.
13930 * posix/wordexp.c: Likewise.
13931 * pwd/fgetpwent_r.c: Likewise.
13932 * resolv/Versions: Likewise.
13933 * resolv/res_hconf.c: Likewise.
13934 * shadow/fgetspent_r.c: Likewise.
13935 * shadow/putspent.c: Likewise.
13936 * stdio-common/printf_fphex.c: Likewise.
13937 * stdio-common/tmpfile.c: Likewise.
13938 * stdlib/abort.c: Likewise.
13939 * stdlib/fmtmsg.c: Likewise.
13940 * sunrpc/auth_unix.c: Likewise.
13941 * sunrpc/clnt_perr.c: Likewise.
13942 * sunrpc/clnt_tcp.c: Likewise.
13943 * sunrpc/clnt_udp.c: Likewise.
13944 * sunrpc/clnt_unix.c: Likewise.
13945 * sunrpc/openchild.c: Likewise.
13946 * sunrpc/svc_simple.c: Likewise.
13947 * sunrpc/svc_tcp.c: Likewise.
13948 * sunrpc/svc_udp.c: Likewise.
13949 * sunrpc/svc_unix.c: Likewise.
13950 * sunrpc/xdr.c: Likewise.
13951 * sunrpc/xdr_array.c: Likewise.
13952 * sunrpc/xdr_rec.c: Likewise.
13953 * sunrpc/xdr_ref.c: Likewise.
13954 * sunrpc/xdr_stdio.c: Likewise.
13955
1248c1c4
PB
139562011-09-09 Ulrich Drepper <drepper@gmail.com>
13957
13958 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13959
139602011-07-03 Andreas Jaeger <aj@suse.de>
13961
13962 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13963 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13964 regenerate with gen-libm-tests.pl.
13965
139662010-05-12 Petr Baudis <pasky@suse.cz>
13967
13968 [BZ #11589]
13969 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13970 around j0() zero points by switching to j1().
13971 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13972 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13975
f22e1074
UD
139762011-09-09 Ulrich Drepper <drepper@gmail.com>
13977
f19009c1
UD
13978 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13979 instead of 0.
13980 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13981 instead of 0. .
13982 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13983 Patch in part by Pavel Roskin <proski@gnu.org>.
13984
3f8cc204
UD
13985 [BZ #13138]
13986 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13987 realloc.
13988 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13989 Free memory block if necessary.
13990
f22e1074
UD
13991 [BZ #12847]
13992 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13993 be NULL. Don't lock in this case.
13994
0a2349f9
RM
139952011-09-09 Roland McGrath <roland@hack.frob.com>
13996
13997 * elf/elf.h (ELFOSABI_GNU): New macro.
13998 (ELFOSABI_LINUX): Define to that.
13999
f3cdd467
DZ
140002011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14001
14002 * string/strncat.c (strncat): Undef the symbol in case it has been
14003 defined in bits/string.h.
14004
74718d13
UD
140052011-09-09 Ulrich Drepper <drepper@gmail.com>
14006
633e9e0f
UD
14007 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14008
0a2349f9 14009 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14010 link map.
14011
f9924780
AJ
140122011-08-17 Andreas Jaeger <aj@suse.de>
14013
14014 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14015
7f5517aa
PP
140162011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14017 Ian Lance Taylor <iant@google.com>
14018
14019 * math/libm-test.inc (lround_test): New testcase.
14020 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14021
762011fe
UD
140222011-09-08 Ulrich Drepper <drepper@gmail.com>
14023
92963737
UD
14024 * Makefile: Remove support for automatic cvs check-ins.
14025 * Makerules: Likewise.
14026 * config.make.in: Likewise.
14027 * configure.in: Likewise.
14028 * intl/Makefile: Likewise.
14029 * locale/Makefile: Likewise.
14030 * po/Makefile: Likewise.
14031 * posix/Makefile: Likewise.
14032 * sysdeps/gnu/Makefile: Likewise.
14033 * sysdeps/mach/hurd/Makefile: Likewise.
14034 * sysdeps/sparc/sparc32/Makefile: Likewise.
14035
b0727fd8
JS
14036 [BZ #13118]
14037 * posix/Makefile (bug-regex32-ENV): Define.
14038 Patch by John Stanley <jpsinthemix@verizon.net>.
14039
a0f33f99
UD
14040 * misc/Makefile (headers): Add bits/select2.h.
14041 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14042 * misc/bits/select2.h: New file.
14043 * include/bits/select2.h: New file.
14044 * debug/Makefile (routines): Add fdelt_chk.
14045 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14046 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14047 FD_ISSET.
14048 * debug/fdelt_chk.c: New file.
14049
762011fe
UD
14050 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14051 * wcsmbs/test-wmemcmp.c: Likewise.
14052 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14053 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14054
140552011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14056
14057 * string/Makefile (strop-tests): Add memcmp.
14058 * string/test-wmemcmp.c: New file.
14059 * string/test-memcmp.c: Add wmemcmp support.
14060
7f513ec8
RM
140612011-09-08 Roland McGrath <roland@hack.frob.com>
14062
0442afb4
RM
14063 [BZ #13153]
14064 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14065 2011-07-19 change.
14066
7f513ec8
RM
14067 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14068 garbage value in a __mach_port_mod_refs call in the cases of the
14069 task-self and thread-self ports.
14070
a12b2239
ST
140712011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14072
14073 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14074
610f9ab4
AS
140752011-09-08 Andreas Schwab <schwab@redhat.com>
14076
7f513ec8 14077 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14078
48882a1a
LD
140792011-09-07 Ulrich Drepper <drepper@gmail.com>
14080
b49865be
UD
14081 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14082
fdc86bc9
UD
14083 * elf/dl-libc.c (dlerror_run): Pass back error code from
14084 dl_catch_error.
14085
c966526a
UD
14086 [BZ #13123]
14087 * elf/dl-load.c (lose): Free l_origin if it is valid.
14088
48882a1a
LD
14089 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14090 names.
14091 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14092 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14093 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14094 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14095 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14096 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14097
77a2a8b4
AZ
140982011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14099
14100 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14101 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14102 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14103 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14104 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14105 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14106 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14107 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14108 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14109 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14110
24f579d8
AM
141112011-08-15 Alan Modra <amodra@gmail.com>
14112
14113 [BZ #13092]
14114 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14115 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14116 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14117 ppc_mcount to static-only-routines.
14118 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14119 __mcount_internal.
14120 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14121 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14122
3d4837df
UD
141232011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14124
14125 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14126 for finite and infinity parameters.
14127
22700377
WS
141282011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14129
14130 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14131 and add nop instructions for throughput optimization.
14132 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14133
5025581e
WS
141342011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14135
14136 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14137 aligned copy for power7 with vector-scalar instructions.
14138 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14139
08a300c9
L
141402011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14141
14142 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14143 AVX check.
14144
59178ef9
AS
141452011-09-07 Andreas Schwab <schwab@redhat.com>
14146
14147 [BZ #13144]
14148 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14149 last change.
14150
e38ba7ab
UD
141512011-09-07 Ulrich Drepper <drepper@gmail.com>
14152
14153 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14154 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14155 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14156 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14157 clock_gettime.
14158
d53a73ac
UD
141592011-09-06 Ulrich Drepper <drepper@gmail.com>
14160
fc8bffcc
UD
14161 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14162 Forgot to demangle the pointer.
14163
ceaa0c5d
UD
14164 * sysdeps/i386/sysdep.h: Define atom_text_section.
14165 * sysdeps/x86_64/sysdep.h: Likewise.
14166 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14167 section with atom_text_section.
14168 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14169 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14170 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14171 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14172 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14173
a77d3c17
UD
14174 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14175 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14176 already be defined. Change to take two parameters and don't assign
14177 result to variable. Adjust all users.
14178 Define INTERNAL_GETTIME if not already defined.
14179 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14180 call.
14181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14182 HAVE_CLOCK_GETTIME_VSYSCALL.
14183 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14184
d53a73ac
UD
14185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14186 gettimeofday vsyscall, just use time.
14187
a8f84144
AS
141882011-09-06 Andreas Schwab <schwab@redhat.com>
14189
14190 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14191 <errno.h>.
14192
ef606249
UD
141932011-09-06 Ulrich Drepper <drepper@gmail.com>
14194
14195 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14196 syscall on x86-64.
14197 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14198 syscall.
14199 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14200 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14201 syscall if possible.
14202
6585cb60
UD
142032011-09-05 Ulrich Drepper <drepper@gmail.com>
14204
14205 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14206 e_ident. Don't pass to find_mapsXX.
14207 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14208
a5f524e4
LD
142092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14210
14211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14212 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14213 * sysdeps/x86_64/multiarch/strchr.S: Update.
14214 Check bit_slow_BSF bit.
14215 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14216 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14217 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14218
554881ef
UD
142192011-09-05 Ulrich Drepper <drepper@gmail.com>
14220
d96de963
UD
14221 [BZ #13134]
14222 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14223 before glibc 2.15.
14224 (tryshell): Define.
14225 (__spawni): Change last parameter to be flag. Test
14226 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14227 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14228 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14229 * posix/spawni.c: Likewise.
14230 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14231 * posix/spawnp.c: Likewise. Change normal version to use
14232 SPAWN_XFLAGS_USE_PATH.
14233 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14234 SPAWN_XFLAGS_TRY_SHELL.
14235
d48e5868
UD
14236 [BZ #13150]
14237 * posix/glob.h: Remove gcc 1.x support.
14238
554881ef
UD
14239 [BZ #13068]
14240 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14241
693fb948
LD
142422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14243
14244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14245 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14246 strrchr-sse2-bsf
14247 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14248 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14249 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14250 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14251 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14252 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14253
1b48c537
UD
142542011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14255
49d42c37
UD
14256 * sysdeps/x86_64/wcscmp.S: New file.
14257
1b48c537
UD
14258 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14259 wcscmp-c wcscmp-sse2
14260 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14261 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14262 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14263 * wcsmbs/wcscmp.c: Allow renaming.
14264
15c95c5d
DM
142652011-09-05 David S. Miller <davem@davemloft.net>
14266
14267 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14268 stack slot, rather than the struct return pointer slot.
14269 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14270 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14272 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14273
2f0ad8f3
UD
142742011-09-05 Ulrich Drepper <drepper@gmail.com>
14275
d88ae418
UD
14276 * po/ja.po: Update from translation team.
14277
2f0ad8f3
UD
14278 [BZ #13144]
14279 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14280 kernel in 64-bit binaries.
14281
5f4318d1
DM
142822011-09-01 David S. Miller <davem@davemloft.net>
14283
14284 * elf/elf.h (HWCAP_SPARC_*): Move to..
14285 * sysdeps/sparc/sysdep.h: this new file and add new values.
14286 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14287 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14288 _DL_HWCAP_COUNT to 24.
14289 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14290 entries.
14291 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14292 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14293 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14294 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14295 instead of magic constants.
14296 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14297
3ba57516
DM
142982011-08-31 David S. Miller <davem@davemloft.net>
14299
14300 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14301 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14302 Reimplement to do errno handling inline.
14303 (SYSCALL_ERROR_HANDLER): New macro.
14304 (__SYSCALL_STRING): Do not do errno handling in asm.
14305 (__CLONE_SYSCALL_STRING): Delete.
14306 (__INTERNAL_SYSCALL_STRING): Delete.
14307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14308 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14309 (PSEUDO): Reimplement to do errno handling inline.
14310 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14311 (SYSCALL_ERROR_HANDLER): New macro.
14312 (__SYSCALL_STRING): Do not do errno handling in asm.
14313 (__CLONE_SYSCALL_STRING): Delete.
14314 (__INTERNAL_SYSCALL_STRING): Delete.
14315 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14316 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14317 i386.
14318 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14319 (inline_syscall*): Add 'err' argument.
14320 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14321 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14322 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14323 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14324
14325 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14326 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14327
2bc17433
AS
143282011-08-30 Andreas Schwab <schwab@redhat.com>
14329
14330 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14331
fbeb5f4d
JO
143322011-08-29 Jiri Olsa <jolsa@redhat.com>
14333
14334 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14335 directive.
14336
ad69cc26
DM
143372011-08-24 David S. Miller <davem@davemloft.net>
14338
14339 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14340
39dd69df
AS
143412011-08-24 Andreas Schwab <schwab@redhat.com>
14342
14343 * elf/Makefile: Add rules to build and run unload8 test.
14344 * elf/unload8.c: New file.
14345 * elf/unload8mod1.c: New file.
14346 * elf/unload8mod1x.c: New file.
14347 * elf/unload8mod2.c: New file.
14348 * elf/unload8mod3.c: New file.
14349
14350 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14351 it wasn't used.
14352
2c0b250a
DM
143532011-08-23 David S. Miller <davem@davemloft.net>
14354
14355 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14356 subtract stack bias.
14357 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14358 %sp not %fp in calculations.
14359 (_JMPBUF_UNWINDS_ADJ): Likewise.
14360
22044b48
DM
14361 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14362 (aio_suspend): Call it to force an exception region around the
14363 AIO_MISC_WAIT() invocation.
14364
2cae4995
AS
143652011-08-23 Andreas Schwab <schwab@redhat.com>
14366
14367 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14368 backslash.
14369
873a772e
AJ
143702011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14371
14372 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14373 protection macro.
14374 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14375 and <dl-machine.h>.
14376 (Elf64_FuncDesc): Remove.
14377
25ad0df1
DM
143782011-08-22 David S. Miller <davem@davemloft.net>
14379
14380 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14381 sigaltstack check, add missing cfi directives.
14382 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14383 missing cfi directives, and sigaltstack handling.
14384
e888bcbe
AS
143852011-08-16 Andreas Schwab <schwab@redhat.com>
14386
14387 [BZ #11724]
14388 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14389 object is seen twice.
14390 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14391
14392 * elf/Makefile (distribute): Add tst-initorder2.c.
14393 (tests): Add tst-initorder2.
14394 (modules-names): Add tst-initorder2a tst-initorder2b
14395 tst-initorder2c tst-initorder2d. Add rules to build them.
14396 ($(objpfx)tst-initorder2.out): New rule.
14397 * elf/tst-initorder2.c: New file.
14398 * elf/tst-initorder2.exp: New file.
14399
87162f46
AS
144002011-08-22 Andreas Schwab <schwab@redhat.com>
14401
70538b7f
AS
14402 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14403
f55ffe58
AS
14404 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14405 dependencies back to end of function.
14406
87162f46
AS
14407 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14408 $(elfobjdir)/ld.so.
14409
91b392a4
UD
144102011-08-21 Ulrich Drepper <drepper@gmail.com>
14411
14412 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14413 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14414 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14415 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14416 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14417 of __vdso_gettimeofday.
14418 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14419 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14420 attribute_hidden.
14421 (_libc_vdso_platform_setup): Remove initialization of
14422 __vdso_gettimeofday and __vdso_time.
14423
5c43483f
UD
144242011-08-20 Ulrich Drepper <drepper@gmail.com>
14425
775a77e7
UD
14426 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14427 and fgetc_unlocked.
14428 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14429 getc_unlocked.
89f447ed 14430
49c74ba9
UD
14431 * elf/dl-open.c (add_to_global): Report additions to the global scope
14432 for LD_DEBUG=scopes.
14433 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14434 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14435
5c43483f
UD
14436 [BZ #13114]
14437 * stdio-common/Makefile (tests): Add bug24.
14438 * stdio-common/bug24.c: New file.
14439
a101b025
AJ
144402011-08-19 Andreas Jaeger <aj@suse.de>
14441
14442 [BZ #13114]
14443 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14444 non-existant file when using close-on-exec mode.
14445
c88f1766
UD
144462011-08-20 Ulrich Drepper <drepper@gmail.com>
14447
0276a718
UD
14448 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14449 the very first instruction.
14450
c88f1766
UD
14451 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14452 the CFI state in the end.
14453 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14454 inclusion of dl-trampoline.h.
14455 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14456
51ccffa0
AS
144572011-08-19 Andreas Schwab <schwab@redhat.com>
14458
94d7165f
AS
14459 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14460 expectations for long double.
14461
51ccffa0
AS
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14463 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14464
fd708658 144652011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14466
14467 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14468 artificual limit depends upon the system page size.
14469
44f0a71e
UD
144702011-08-17 Ulrich Drepper <drepper@gmail.com>
14471
14472 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14473 * resolv/Makefile: Define CFLAGS-libresolv.
14474
8de79a24
AS
144752011-08-17 Andreas Schwab <schwab@redhat.com>
14476
14477 * nss/makedb.c (compute_tables): Make variables used in nested
14478 function static.
14479
27724598
UD
144802011-08-17 Ulrich Drepper <drepper@gmail.com>
14481
c5305d88
UD
14482 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14483 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14484 if buffer was too small.
14485
27724598
UD
14486 * elf/pldd.c (main): Attach to all threads in the process.
14487 Rewrite /proc handling to use *at functions.
14488
076fe015
UD
144892011-08-16 Ulrich Drepper <drepper@gmail.com>
14490
174baab3
UD
14491 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14492 specifies first scope to show.
14493 (dl_open_worker): Update callers. Move printing scope of new
14494 object to before the relocation.
44f0a71e 14495 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14496 * sysdeps/generic/ldsodefs.h: Update declaration.
14497
076fe015
UD
14498 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14499 string for the scope number.
14500
a60df2c3
UD
145012011-08-14 Ulrich Drepper <drepper@gmail.com>
14502
14503 * nscd/servicescache.c (cache_addserv): Make sure written is always
14504 initialized.
14505
5e4287d1
RM
145062011-08-14 Roland McGrath <roland@hack.frob.com>
14507
85ae0589
RM
14508 * sysdeps/i386/i486/bits/atomic.h
14509 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14510 statement expression, so as to suppress "set but not used" warning.
14511 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14512
69f63097
RM
14513 * string/strncat.c (STRNCAT): Use prototype definition.
14514
675456ef
RM
14515 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14516 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14517 -Iprograms here.
14518 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14519 (localedef-modules): Add localedef.
14520 (locale-modules): Add locale.
14521
5e4287d1
RM
14522 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14523 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14524 to avoid a warning.
14525
9c96ff23
DM
145262011-08-14 David S. Miller <davem@davemloft.net>
14527
14528 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14529 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14530
f9ddf089
UD
145312011-08-13 Ulrich Drepper <drepper@gmail.com>
14532
44f0a71e 14533 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14534 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14535 * elf/rtld.c (dl_main): Set l_name of vDSO.
14536 Call _dl_show_scope when DL_DEBUG_SCOPES.
14537 (process_dl_debug): Recognize scopes flag and also set it for all.
14538 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14539 Declare _dl_show_scope.
14540
1dc27704
UD
14541 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14542 (do_dlopen): Pass caller_dlopen to dl_open.
14543 (__libc_dlopen_mode): Initialize caller_dlopen.
14544
f9ddf089
UD
14545 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14546 of libc. Make tolower call locale-independent. Optimize a bit by
14547 using isdigit instead of isalnum.
14548 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14549
9ac533d3
UD
145502011-08-12 Ulrich Drepper <drepper@gmail.com>
14551
14552 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14553 was a dependency or dynamically loaded.
14554
89edf2e9
UD
145552011-08-11 Ulrich Drepper <drepper@gmail.com>
14556
8e999d29
UD
14557 * intl/l10nflist.c: Allow architecture-specific pop function.
14558 * sysdeps/x86_64/l10nflist.c: New file.
14559
89edf2e9
UD
14560 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14561 classification.
14562
14d96785
AS
145632011-08-10 Andreas Schwab <schwab@redhat.com>
14564
14565 * include/dirent.h: Add libc_hidden_proto for scandirat and
14566 scandirat64. Don't declare __scandirat64.
14567 * dirent/scandirat.c: Add libc_hidden_def.
14568 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14569 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14570
6761ac04
DM
145712011-08-10 David S. Miller <davem@davemloft.net>
14572
14573 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14574 enum.
14575 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14577 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14578
c55fbd1e
UD
145792011-08-09 Ulrich Drepper <drepper@gmail.com>
14580
14581 * Versions.def [libc]: Add GLIBC_2.15.
14582 * dirent/Makefile (routines): Add scandirat and scandirat64.
14583 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14584 GLIBC_2.15.
14585 * dirent/dirent.h: Declare scandirat and scandirat64.
14586 * dirent/scandirat.c: New file.
14587 * dirent/scandirat64.c: New file.
14588 * sysdeps/wordsize-64/scandirat.c: New file.
14589 * sysdeps/wordsize-64/scandirat64.c: New file.
14590 * dirent/opendir.c: Define opendirat.
14591 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14592 using scandirat.
14593 * dirent/scandir64.c: Adjust for scandir.c change.
14594 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14595 __scandirat64, and __scandir_cancel_handler.
14596 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14597 additional parameter and use openat instead of open (outside of ld.so).
14598 Add new __opendir as wrapper around __opendirat.
14599 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14600 here without requiring old scandirat implementation.
14601
879165f2
UD
146022011-08-08 Ulrich Drepper <drepper@gmail.com>
14603
14604 * dirent/scandir.c (cancel_handler): Renamed to
14605 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14606 defined. Adjust users.
14607 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14608 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14609
cb7e923b
UD
146102011-08-04 Ulrich Drepper <drepper@gmail.com>
14611
16292edd
UD
14612 * string/test-string.h (IMPL): Use __STRING to expand name and then
14613 stringify it.
14614
cb7e923b
UD
14615 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14616 of cleanups.
14617
cff82933
LD
146182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14619
14620 * string/Makefile: Update.
14621 (strop-tests): Append strncat.
14622 * string/test-wcscmp.c: New file.
14623 New comprehensive test for wcscmp.
14624 * string/test-strcmp.c: Update.
14625 (WIDE): New define.
14626
9be9bfcc
AS
146272011-07-22 Andreas Schwab <schwab@redhat.com>
14628
14629 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14630 line.
14631
2e96f1c7
AS
146322011-07-26 Andreas Schwab <schwab@redhat.com>
14633
14634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14635 encoding to ACE if AI_IDN.
14636
85188888
JJ
146372011-08-01 Jakub Jelinek <jakub@redhat.com>
14638
14639 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14640 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14641
5fa16e9b
LD
146422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14643
14644 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14645 Fix overflow bug in strncat.
14646 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14647
14648 * string/test-strncat.c: Update.
14649 Add new tests for checking overflow bugs.
14650
146512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14652
14653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14654 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14655 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14656 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14657 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14658 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14659 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14660 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14661 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14662
14663 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14664 (USE_AS_STRCAT): Define.
14665 Add strcat and strncat support.
14666 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14667
8c1a459f
AS
146682011-07-25 Andreas Schwab <schwab@redhat.com>
14669
14670 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14671 __n bigger than INT_MAX+1.
14672 (__strncmp_g): Likewise.
14673
bba33c28
UD
146742011-07-23 Ulrich Drepper <drepper@gmail.com>
14675
798be72d
UD
14676 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14677 * libio/stido.h: Likewise.
14678
8accd4dc
UD
14679 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14680 (AF_NFC): Define.
14681 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14682 (AF_NFC): Define.
14683
cbff0d96
UD
14684 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14685 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14686 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14687 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14688 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14689
9191c04a
UD
14690 [BZ #13021]
14691 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14692 installed.
14693
bba33c28
UD
14694 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14695 typo.
14696 (_dl_x86_64_save_sse): Likewise.
14697
90f139dd
UD
146982011-07-22 Ulrich Drepper <drepper@gmail.com>
14699
1aae088a
UD
14700 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14701 OSXSAVE.
14702 (_dl_x86_64_save_sse): Likewise.
14703
8e2045f5
UD
14704 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14705
90f139dd
UD
14706 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14707
1d002f25
AS
147082011-07-21 Andreas Schwab <schwab@redhat.com>
14709
14710 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14711 change.
14712 (_dl_x86_64_save_sse): Use correct AVX check.
14713
21137f89
UD
147142011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14715
14716 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14717 bug in strncpy/strncat.
14718 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14719
a65c0b7a
UD
147202011-07-21 Ulrich Drepper <drepper@gmail.com>
14721
14722 * string/tester.c (test_strcat): Add tests for different alignments
14723 of source and destination.
14724 (test_strncat): Likewise.
14725
6986b98a
UD
147262011-07-20 Ulrich Drepper <drepper@gmail.com>
14727
90bb2039
UD
14728 [BZ #12852]
14729 * posix/glob.c (glob): Check passed in values before using them in
14730 expressions to avoid some overflows.
14731 (glob_in_dir): Likewise.
14732
5644ef54
UD
14733 [BZ #13007]
14734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14735 check for AVX enablement so that we don't crash with old kernels and
14736 new hardware.
14737 * elf/tst-audit4.c: Add same checks here.
14738 * elf/tst-audit6.c: Likewise.
14739
14740 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14741
bfc9dc9b
AS
147422011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14743
14744 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14745
702e64bb
UD
147462011-07-20 Ulrich Drepper <drepper@gmail.com>
14747
14748 * po/cs.po: Update from translation team.
14749 * po/bg.po: Likewise.
14750
295e904f
MP
147512011-07-12 Marek Polacek <mpolacek@redhat.com>
14752
14753 * misc/sys/cdefs.h: Add support for const attribute.
14754 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14755 to gnu_dev_{major,minor,makedev} functions.
14756
3ff94596
MP
147572011-07-20 Marek Polacek <mpolacek@redhat.com>
14758
14759 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14760
28b59fca
AS
147612011-07-20 Andreas Schwab <schwab@redhat.com>
14762
14763 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14764 strlen results.
14765
19df733e
AK
147662011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14767
14768 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14769 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14770 register in order to avoid conflicts with the soft frame pointer
14771 being held in r11 when necessary.
14772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14773 (INTERNAL_VSYSCALL_NCS): Likewise.
14774
c8835729
MP
147752011-07-14 Marek Polacek <mpolacek@redhat.com>
14776
14777 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14778 * elf/dl-fini.c (_dl_fini): Adjust caller.
14779 * elf/dl-close.c (_dl_close_worker): Likewise.
14780 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14781
b902330c
MP
147822011-07-15 Marek Polacek <mpolacek@redhat.com>
14783
8991e135
MP
14784 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14785 "aux_cache->nlibs < 0".
14786
b902330c
MP
14787 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14788 in the reload-count case.
14789
99710781
LD
147902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14791
14792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14793 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14794 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14795 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14796 * sysdeps/x86_64/multiarch/strcat.S: New file.
14797 * sysdeps/x86_64/multiarch/strncat.S: New file.
14798 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14799 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14800 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14801 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14802 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14803 (USE_AS_STRCAT): Define.
14804 Add strcat and strncat support.
14805 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14806 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14807 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14808 * string/strncat.c: Update.
14809 (USE_AS_STRNCAT): Define.
14810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14811 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14812 and i7.
14813 * sysdeps/x86_64/multiarch/init-arch.h
14814 (bit_Prefer_PMINUB_for_stringop): New.
14815 (index_Prefer_PMINUB_for_stringop): Likewise.
14816 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14817 bit_Prefer_PMINUB_for_stringop.
14818
7dc6bd90
UD
148192011-07-19 Ulrich Drepper <drepper@gmail.com>
14820
14821 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14822 buffer64.
14823 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14824 of casting of buffer.
14825 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14826 buffer32 and buffer64.
14827 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14828 writes instead of casting of buffer.
14829 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14830 buffer32.
14831 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14832 casting of buffer.
14833
e0e72284
AS
148342011-07-19 Andreas Schwab <schwab@redhat.com>
14835
14836 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14837
feb1eb0b
UD
148382011-07-19 Ulrich Drepper <drepper@gmail.com>
14839
14840 * nscd/nscd.c (termination_handler): Don't do anything for a database
14841 if it has not yet been initialized.
14842
298711ff
UD
148432011-07-18 Ulrich Drepper <drepper@gmail.com>
14844
14845 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14846
148472011-07-15 Marek Polacek <mpolacek@redhat.com>
14848
14849 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14850
f9d68389
UD
148512011-07-18 Ulrich Drepper <drepper@gmail.com>
14852
14853 * po/nl.po: Update from translation team.
14854 * po/sv.po: Likewise.
14855
db290cf5
RM
148562011-07-16 Roland McGrath <roland@hack.frob.com>
14857
14858 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14859 now disallowed by GCC.
5c550700 14860
fd5e21c7
RM
14861 * configure.in (use-default-link): Default to yes if a test -shared
14862 link meets our qualifications.
14863 * configure: Regenerated.
14864
5c550700
RM
14865 * config.make.in (output-format): New variable.
14866 * configure.in: Check for ld --print-output-format support.
14867 * configure: Regenerated.
14868 * Makerules ($(common-objpfx)format.lds)
14869 [$(output-format) != unknown]: Just use $(output-format),
14870 instead of the linker-script munging.
14871
9fa2c032
RM
148722011-07-14 Roland McGrath <roland@hack.frob.com>
14873
a6928d51
RM
14874 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14875 of $(common-objpfx)shlib.lds.
14876 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14877
661607b3
RM
14878 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14879 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14880
9fa2c032
RM
14881 * configure.in (-z relro check): Adjust test code to add a large
14882 writable data section after it.
14883 * configure: Regenerated.
14884
defe9061
RM
148852011-07-11 Roland McGrath <roland@hack.frob.com>
14886
14887 * configure.in (-z relro check): Fix test code to make the variable
14888 truly const.
14889 * configure: Regenerated.
14890
319b9ad4
UD
148912011-07-11 Ulrich Drepper <drepper@gmail.com>
14892
14893 * nscd/nscd.h (struct traced_file): Define.
14894 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14895 elements. Add traced_files.
14896 (inotify_fd): Declare.
14897 (register_traced_file): Declare.
14898 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14899 (inotify_fd): Export.
14900 (resolv_conf_descr): Remove.
14901 (nscd_init): Move inotify descriptor creation to main.
14902 Don't register files for notification here.
14903 (register_traced_file): New function.
14904 (invalidate_cache): Don't use reset_res to determine whether to call
14905 res_init, go through the list of registered files.
14906 (main_loop_poll): The inotify descriptors are now stored in the
14907 structures for the traced files.
14908 (main_loop_epoll): Likewise
14909 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14910 to __nss_disable_nscd.
14911 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14912 for a database anymore. Check the records for all the registered
14913 files instead.
14914 * nss/Makefile (libnss_files-routines): Add files-init.
14915 (libnss_db-routines): Add db-init.
14916 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14917 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14918 * nss/nss_db/db-init.c: New file.
14919 * nss/nss_files/files-init.c: New file.
14920 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14921 __nss_lookup_function.
14922 (__nss_lookup_function): Call nss_load_library.
14923 (nss_load_all_libraries): New function.
14924 (__nss_disable_nscd): Take parameter with callback function for files
14925 to register. Set is_nscd. Load all the DSOs for the NSS modules
14926 used for the cached services.
14927 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14928 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14929 options for features to all the files in nscd.
14930
14931 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14932
23bee3e8
RM
149332011-07-10 Roland McGrath <roland@hack.frob.com>
14934
14935 * csu/elf-init.c (__libc_csu_init): Comment typo.
14936
46a5b7f0
UD
149372011-07-09 Ulrich Drepper <drepper@gmail.com>
14938
14939 * po/pl.po: Update from translation team.
14940 * po/ja.po: Likewise.
14941 * po/ru.po: Likewise.
14942 * po/ko.po: Likewise.
14943 * po/fr.po: Likewise.
14944
d30cf5bb
RM
149452011-07-09 Roland McGrath <roland@hack.frob.com>
14946
113ddea4
RM
14947 * configure.in (.ctors/.dtors header and trailer check):
14948 Use an empirical test on a built program.
14949 * configure: Regenerated.
14950
574920b4
RM
14951 * configure.in (-z relro check): Use an empirical test on a built DSO.
14952 Detect, but do not require, on ia64.
14953 * configure: Regenerated.
14954
d30cf5bb
RM
14955 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14956 Update tests that use readelf to use $READELF instead.
14957 * configure: Regenerated.
14958
8538fdb3
UD
149592011-07-08 Ulrich Drepper <drepper@gmail.com>
14960
14961 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14962 if the result is not used.
14963
04d08991
AJ
149642011-07-05 Andreas Jaeger <aj@suse.de>
14965
14966 [BZ#9696]
14967 * stdlib/tst-strtod.c: Add testcase.
14968
de283087
AD
149692011-07-07 Ulrich Drepper <drepper@gmail.com>
14970
4e5f31c8 14971 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14972 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14973 The latter has a higher limit. Take additional parameter to pass to
14974 the new function.
14975 (__pathconf): Pass file to __statfs_link_max.
14976 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14977 __statfs_link_max.
14978 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14979 __statfs_link_max.
14980
de283087
AD
14981 [BZ #12868]
14982 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14983 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14984 Handle Lustre.
14985 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14986 (__statfs_filesize_max): Likewise.
14987 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14988
c75fa153
AJ
149892011-07-05 Andreas Jaeger <aj@suse.de>
14990
14991 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14992
1a544854
UD
149932011-07-06 Marek Polacek <mpolacek@redhat.com>
14994
14995 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14996 `status' variable.
14997 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14998 Likewise.
14999
6f0eec67
UD
150002011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15001
15002 * Makefile (strop-tests): Add strncat.
15003 * string/test-strncat.c: New file.
15004
aae30307
UD
150052011-06-30 Marek Polacek <mpolacek@redhat.com>
15006
15007 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15008
c0cfb5eb
UD
150092011-06-21 Andreas Jaeger <aj@suse.de>
15010
15011 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15012 Copy rule from iconvdata/Makefile.
15013
01636b21
UD
150142011-07-06 Ulrich Drepper <drepper@gmail.com>
15015
15016 [BZ #12922]
15017 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15018 but no long options are defined, just return 'W'.
15019
9895c8bc
UD
150202011-06-22 Marek Polacek <mpolacek@redhat.com>
15021
15022 [BZ #9696]
15023 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15024
5d4cf042
UD
150252011-07-06 Ulrich Drepper <drepper@gmail.com>
15026
15027 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15028 netgroups to read.
960e5535 15029 (innetgr): Likewise.
5d4cf042 15030
751eb97e
RM
150312011-07-05 Roland McGrath <roland@hack.frob.com>
15032
15033 * config.make.in (install_root): Default to $(DESTDIR).
15034
f15f1e45
UD
150352011-07-05 Ulrich Drepper <drepper@gmail.com>
15036
15037 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15038
4e34ac6a
RM
150392011-07-02 Roland McGrath <roland@hack.frob.com>
15040
5e9b6af4
RM
15041 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15042
84f9ea0f
RM
15043 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15044 containing directory rather than embedding absolute directory names.
15045
ea5ee9f7
RM
15046 * scripts/check-local-headers.sh: Rewritten using awk.
15047 Match by word, not by line. Print error messages for matches.
15048 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15049
1b74661a
RM
15050 * Makerules [shlib-lds-flags empty]:
15051 ($(common-objpfx)libc_pic.opts): New target.
15052 ($(common-objpfx)libc_pic.os.clean): New target.
15053 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15054
15055 * config.make.in (OBJCOPY): New variable.
15056 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15057 * configure: Regenerated.
15058
f781ef40
RM
15059 * config.make.in (use-default-link): New variable.
15060 * configure.in (use_default_link): Grok --with-default-link to set it.
15061 * configure: Regenerated.
15062 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15063 (shlib-lds, shlib-lds-flags): Define to empty.
15064
2d4fa81e
RM
15065 * Makerules (shlib-lds): New variable.
15066 (shlib-lds-flags): New variable.
15067 (build-shlib, build-moduile, build-module-asneeded): Use it.
15068 ($(common-objpfx)libc.so): Use $(shlib-lds).
15069 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15070 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15071
31fffa6b
RM
15072 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15073 DT_FLAGS/DT_FLAGS_1 with zero flags.
15074
4e34ac6a
RM
15075 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15076 linker script munging.
15077
fcfc776b
UD
150782011-07-02 Ulrich Drepper <drepper@gmail.com>
15079
15080 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15081 as 128-bit value.
15082 * crypt/sha512.c (sha512_process_block): Perform total addition using
15083 128-bit if possible.
15084 (__sha512_finish_ctx): Likewise.
15085 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15086 as 64-bit value.
15087 * crypt/sha256.c (SWAP64): Define.
15088 (sha256_process_block): Perform total addition using 64-bit if
15089 possible.
15090 (__sha256_finish_ctx): Likewise.
15091
99231d9a
UD
150922011-07-01 Ulrich Drepper <drepper@gmail.com>
15093
15094 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15095 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15096 * nscd/hstcache.c (cache_addhst): Likewise.
15097 * nscd/grpcache.c (cache_addgr): Likewise.
15098 * nscd/aicache.c (addhstaiX): Likewise
15099 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15100
445b4a53
TK
151012011-07-01 Thorsten Kukuk <kukuk@suse.de>
15102
15103 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15104 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15105 * nscd/hstcache.c (cache_addhst): Likewise.
15106 * nscd/grpcache.c (cache_addgr): Likewise.
15107 * nscd/aicache.c (addhstaiX): Likewise
15108
6d4d8e8e
AS
151092011-07-01 Andreas Schwab <schwab@redhat.com>
15110
15111 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15112 domain only when needed.
15113
89f654c5
AS
151142011-06-30 Andreas Schwab <schwab@redhat.com>
15115
15116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15117 is always restored.
15118
cf3b23ff
UD
151192011-06-29 Ulrich Drepper <drepper@gmail.com>
15120
15121 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15122 are re-adding the entry.
15123 * nscd/servicescache.c (cache_addserv): Likewise.
15124
751626f9
AJ
151252011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15126
15127 * sysdeps/generic/dl-irel.h: fix protection against multiple
15128 inclusions.
15129 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15130
9113ea1f
UD
151312011-06-28 Ulrich Drepper <drepper@gmail.com>
15132
5c0b8d90
UD
15133 [BZ #12935]
15134 * malloc/memusage.sh: Fix quoting in message.
15135 * debug/xtrace.sh: Likewise.
15136
9113ea1f
UD
15137 * configure.in: Remove support for --experimental-malloc option, make
15138 it the default.
15139 * config.make.in: Likewise.
15140 * malloc/Makefile: Likewise.
15141
a4172181
AS
151422011-06-27 Andreas Schwab <schwab@redhat.com>
15143
15144 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15145 two-byte characters.
15146
78a7eee7
RM
151472011-06-27 Roland McGrath <roland@hack.frob.com>
15148
62bede13
RM
15149 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15150 AC_CACHE_CHECK invocation.
15151 * configure: Regenerated.
15152
78a7eee7
RM
15153 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15154
5ce33a62
UD
151552011-06-27 Ulrich Drepper <drepper@gmail.com>
15156
034807a9
UD
15157 [BZ #12350]
15158 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15159 bit from old_res_options.
15160
4902da17
UD
15161 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15162
5ce33a62
UD
15163 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15164 value type for setfct.
15165
c2344f56
L
151662011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15167
15168 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15169 __gettimeofday instead of gettimeofday.
15170
68468076
UD
151712011-06-26 Ulrich Drepper <drepper@gmail.com>
15172
15173 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15174
acb0d739
L
151752011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15176
15177 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15178
15179 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15180 info.
15181
8912479f
L
151822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15183
15184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15185 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15186 strcpy-sse2-unaligned strncpy-sse2-unaligned
15187 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15188 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15189 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15190 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15191 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15192 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15193 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15194 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15195 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15196 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15197 (STRCPY): Support SSE2 and SSSE3 versions.
15198
d5495a11
UD
151992011-06-24 Ulrich Drepper <drepper@gmail.com>
15200
15201 [BZ #12874]
15202 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15203 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15204 kernels which artificially limit size of requests.
15205
0b1cbaae
L
152062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15207
15208 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15209 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15210 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15211 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15212 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15213 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15214 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15215 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15216 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15217 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15218 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15219 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15220 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15221 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15222 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15224 Enable unaligned load optimization for Intel Core i3, i5 and i7
15225 processors.
15226 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15227 Define.
15228 (index_Fast_Unaligned_Load): Define.
15229 (HAS_FAST_UNALIGNED_LOAD): Define.
15230
07f494a0
MP
152312011-06-23 Marek Polacek <mpolacek@redhat.com>
15232
15233 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15234
fa3fc0fe
UD
152352011-06-22 Ulrich Drepper <drepper@gmail.com>
15236
15237 [BZ #12907]
15238 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15239 until it is clear that the information is realy needed.
15240 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15241
e12df166
AS
152422011-06-22 Andreas Schwab <schwab@redhat.com>
15243
15244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15245
852eb34d
UD
152462011-06-22 Ulrich Drepper <drepper@gmail.com>
15247
84e2a551
UD
15248 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15249 /sys/devices/system/cpu/online if it is usable.
15250
852eb34d
UD
15251 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15252 reading the information from the /proc filesystem to once a second.
15253
6e502e19
UD
152542011-06-21 Andreas Jaeger <aj@suse.de>
15255
15256 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15257 NULL after inclusion of kernel headers.
15258
75d39ff2
UD
152592011-06-21 Ulrich Drepper <drepper@gmail.com>
15260
51f9aa6a
UD
15261 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15262 calls to internal_setent.
15263
c0244a9d
UD
15264 [BZ #12885]
15265 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15266 addresses using gethostbyname4_r ignore IPv4 addresses.
15267
c5e3c2ae
UD
15268 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15269 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15270
75d39ff2
UD
15271 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15272
42675c6f
DM
152732011-06-20 David S. Miller <davem@davemloft.net>
15274
15275 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15276 inclusions.
15277 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15278
15279 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15280 (elf_irel): Use it.
15281 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15282 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15283 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15284 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15285 * sysdeps/x86_64/dl-irel.h: Likewise.
15286
15287 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15288 * elf/dl-sym.c: Likewise.
15289
57912a71
UD
152902011-06-15 Ulrich Drepper <drepper@gmail.com>
15291
15292 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15293 need to dereference resplen2.
15294
ee22793d
AS
152952011-06-14 Andreas Schwab <schwab@redhat.com>
15296
15297 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15298
a9e836b0
UD
152992011-06-15 Ulrich Drepper <drepper@gmail.com>
15300
77fb9117
UD
15301 * Makeconfig: Define vardbdir and inst_vardbdir.
15302 * nss/Makefile: Add rules to install db-Makefile.
15303
40c1b22c
UD
15304 * nss/nss_db/db-XXX.c: Cleanup.
15305
9f2da732
UD
15306 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15307 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15308 GLIBC_PRIVATE.
15309 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15310 * nss/makedb.c: Implement -g option to specify that value strings
15311 are generated and should not be added to table iterated over for
15312 get*ent calls.
15313 * nss/nss_db/db-initgroups.c: New file.
15314
82e9a1f7
UD
15315 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15316 interface.
15317
c41af17e
UD
15318 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15319 (internal_getgrouplist): Adjust to name change.
15320 Update use_initgroups_entry if this is not the first call.
15321 * nss/databases.def: Add initgroups entry.
15322
a9e836b0
UD
15323 * nss/makedb.c (compute_tables): Check result of multiple hash table
15324 sizes to minimize maximum chain length.
15325
2666d441
UD
153262011-06-14 Ulrich Drepper <drepper@gmail.com>
15327
15328 * Versions.def: Add entry for libnss_db.
15329 * shlib-versions: Likewise.
15330 * nss/Makefile: Add rules to build libnss_db.
15331 * nss/Versions: Add libnss_db information. Organize libnss_files
15332 entries better.
15333 * nss/db-Makefile: Add gshadow support. Change rules for the new
15334 makedb progra. Some minor improvements to generate smaller files.
15335 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15336 here from...
15337 * nss/makedb.c: ...here.
15338 Improve database format to be smaller and require less memory at
15339 runtime.
15340 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15341 db anymore.
15342 * nss/nss_db/db-netgrp.c: Likewise.
15343 * nss/nss_db/db-open.c: Likewise.
15344 * nss/nss_files/flies-XXX.x: Adjust comments.
15345 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15346 * nss/nss_files/files-grp.c: Likewise.
15347 * nss/nss_files/files-hosts.c: Likewise.
15348 * nss/nss_files/files-network.c: Likewise.
15349 * nss/nss_files/files-proto.c: Likewise.
15350 * nss/nss_files/files-pwd.c: Likewise.
15351 * nss/nss_files/files-rpc.c: Likewise.
15352 * nss/nss_files/files-service.c: Likewise.
15353 * nss/nss_files/files-sgrp.c: Likewise.
15354 * nss/nss_files/files-spwd.c: Likewise.
15355 * nss/nss_db/db-alias.c: Removed.
15356 * nss/nss_db/dummy-db.h: Removed.
15357
9ee76b5a
UD
153582011-06-02 Ulrich Drepper <drepper@gmail.com>
15359
15360 * nss/makedb.c: Rewritten to not use database library.
15361 * nss/Makefile: Update to build new makedb program.
15362
c71ca1f8
AJ
153632011-06-14 Andreas Jaeger <aj@suse.de>
15364
15365 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15366 memset declaration.
15367
3154bfb8
UD
153682011-06-10 Andreas Schwab <schwab@redhat.com>
15369
15370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15371 tmpbuf.
15372
b350afab
RM
153732011-06-10 Roland McGrath <roland@hack.frob.com>
15374
decd4e50
RM
15375 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15376 * elf/Makefile ($(objpfx)ld.so): Likewise.
15377
5615eaf2
RM
15378 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15379 Don't list ld.so twice in dependencies.
15380
15381 * posix/bug-regex31.c: Include <stdlib.h>.
15382
15383 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15384
15385 * nis/nss_compat/compat-spwd.c
15386 (getspent_next_nss_netgr): Remove unused variable.
15387 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15388
15389 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15390 nonmembers" output to use the right array.
15391
15392 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15393
15394 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15395
15396 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15397 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15398 * catgets/gencat.c (read_input_file): Likewise.
15399 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15400
15401 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15402 variable definition inside #if's controlling its use.
15403
15404 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15405
15406 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15407
15408 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15409
15410 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15411 unreachable code.
15412
15413 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15414
b68e08db
RM
15415 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15416 * configure: Regenerated.
15417
b350afab
RM
15418 * Makerules: Revert last change.
15419 * elf/Makefile: Likewise.
15420
28368601
RM
154212011-06-09 Roland McGrath <roland@hack.frob.com>
15422
15423 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15424 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15425 (reloc-link): Likewise.
15426
11988f8f
UD
154272011-06-09 Ulrich Drepper <drepper@gmail.com>
15428
15429 * elf/Makefile: Add rules to build pldd.
15430 * elf/pldd.c: New file.
15431 * elf/pldd-xx.c: New file.
15432
e80fab37
UD
154332011-06-07 Ulrich Drepper <drepper@gmail.com>
15434
15435 * version.h: Update for 2.15 development version.
15436
9b849836
DM
154372011-06-07 David S. Miller <davem@davemloft.net>
15438
15439 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15440 ifuncs.
15441 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15442 elf_machine_lazy_rel): Likewise.
15443 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15444 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15445 elf_machine_lazy_rel): Likewise.
15446 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15447 dl_hwcap via passed in argument.
15448 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15449 Likewise.
15450
5a31b283
AK
154512011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15452
15453 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15454
069e52f8
RM
154552011-06-06 Roland McGrath <roland@hack.frob.com>
15456
15457 [BZ #12849]
15458 * manual/fdl-1.1.texi: New file, verbatim from:
15459 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15460 * manual/lgpl-2.1.texi: New file, verbatim from:
15461 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15462 * manual/Makefile (licenses): New variable, list those new file names.
15463 (texis): Use it.
15464 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15465
15466 * manual/fdl.texi: File removed.
15467 * manual/lesser.texi: File removed.
15468 * manual/libc.texinfo (Copying, Documentation License):
15469 Use new @include file names, put @appendix directive before @include.
15470
f16846a5
JJ
154712011-06-04 Jakub Jelinek <jakub@redhat.com>
15472
15473 [BZ #12841]
15474 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15475 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15476 (mq_open): Add __NTH.
15477
3d29045b
L
154782011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15479
15480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15481 Assume Intel Core i3/i5/i7 processor if AVX is available.
15482
8c297311
UD
154832011-05-31 Ulrich Drepper <drepper@gmail.com>
15484
15485 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15486 typo.
15487
c8fc0c91
UD
154882011-05-31 Andreas Schwab <schwab@redhat.com>
15489
15490 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15491 memory. Use alloca_account. Fix memory leak when retrying.
15492
5b27a807
UD
154932011-05-31 Ulrich Drepper <drepper@gmail.com>
15494
356f8bc6
UD
15495 * version.h (RELEASE): Bump for 2.14 release.
15496 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15497
5b27a807
UD
15498 * config.make.in (RANLIB): Remove entry.
15499
01f16ab0
UD
155002011-05-30 Ulrich Drepper <drepper@gmail.com>
15501
41fce8bd
UD
15502 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15503 (libc.pot): Work around missing support for .ksh extension in xgettext.
15504
4769ae77
UD
15505 [BZ #12684]
15506 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15507 if both request failed.
15508 (send_dg): In case of server errors clear resplen or *resplen2.
15509
6b1e7d19
UD
15510 [BZ #12454]
15511 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15512 when there are multiple maps.
15513 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15514 (_dl_fini): Remove test here.
15515
01f16ab0
UD
15516 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15517
b1ebd700
UD
155182011-05-29 Ulrich Drepper <drepper@gmail.com>
15519
7ae22829
UD
15520 [BZ #12350]
15521 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15522 bit from old_res_options.
15523 (gaih_inet): Likewise.
15524
553149f6 15525 [BZ #11099]
18a84741 15526 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15527 as signed.
15528
652ffab1
UD
15529 * resolv/res_init.c (res_setoptions): Make the code more compact.
15530
16985fd0
UD
15531 [BZ #11558]
15532 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15533 set RES_USEVC.
15534
0464f746
UD
15535 [BZ #11634]
15536 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15537
7d17596c
UD
15538 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15539
cf6bbbd7
UD
15540 [BZ #11781]
15541 * malloc/malloc.h: Declare malloc hook variables as volatile.
15542
13f1ab36
UD
15543 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15544 in last patch.
15545
b1ebd700
UD
15546 [BZ #11799]
15547 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15548 raise in the comment.
80e2212d
UD
15549 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15551 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15552
ce67228d
UD
155532011-05-28 Ulrich Drepper <drepper@gmail.com>
15554
8887a920
UD
15555 [BZ #12811]
15556 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15557 grow the buffers more if it already has to be sufficient.
15558 (build_wcs_upper_buffer): Likewise.
15559 * posix/regexec.c (check_matching): Likewise.
15560 (clean_state_log_if_needed): Likewise.
15561 (extend_buffers): Don't enlarge buffers beyond size of the input
15562 buffer.
15563 Patches mostly by Emil Wojak <emil@wojak.eu>.
15564 * posix/bug-regex32.c: New file.
15565 * posix/Makefile (tests): Add bug-regex32.
15566
4f031072
UD
15567 * locale/findlocale.c (_nl_find_locale): Return right away if
15568 _nl_explode_name failed.
15569 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15570
d0478f0c
UD
15571 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15572
de81b246
UD
15573 * debug/xtrace.sh: Unify messages.
15574 * malloc/memusage.sh: Likewise.
15575
c738465a
UD
15576 [BZ #12813]
15577 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15578 time symbol from vDSO. Substitute with vsyscall if not available.
15579 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15580 __vdso_time.
15581
f1f929d7
UD
15582 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15583 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15584 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15585 Add sendmmsg and internal_sendmmsg.
15586 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15587 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15588 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15589
ce67228d
UD
15590 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15591 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15592 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15593
e57420c6
UD
155942011-05-27 Ulrich Drepper <drepper@gmail.com>
15595
a8509ca5
UD
15596 [BZ #12813]
15597 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15598 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15599 available.
15600 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15601 __vdso_getcpu.
15602
e57420c6
UD
15603 [BZ #12814]
15604 * iconvdata/Makefile (tests): Add bug-iconv9.
15605 * iconvdata/bug-iconv9.c: New file.
15606
4d07db15
AS
156072011-05-27 Andreas Schwab <schwab@redhat.com>
15608
15609 [BZ #12814]
15610 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15611
ea486f69
JJ
156122011-05-25 Jakub Jelinek <jakub@redhat.com>
15613
15614 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15615 (struct user_regs_struct): Change intcs field back to cs.
15616
6f038433
UD
156172011-05-25 Ulrich Drepper <drepper@gmail.com>
15618
15619 * po/ja.po: Update from translation team.
15620
67f86a25
UD
156212011-05-23 Ulrich Drepper <drepper@gmail.com>
15622
15623 [BZ #12795]
15624 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15625 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15626
def7fbd6
AS
156272011-05-20 Andreas Schwab <schwab@redhat.com>
15628
15629 * stdlib/longlong.h: Update from GCC.
15630
f50ef8f1
AS
156312011-05-23 Andreas Schwab <schwab@redhat.com>
15632
15633 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15634 parameter name.
15635 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15636 Add parameter name.
15637 (__sysconf): Pass it down.
15638
de7ce8f1
UD
156392011-05-22 Ulrich Drepper <drepper@gmail.com>
15640
f2962a71
UD
15641 [BZ #12671]
15642 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15643 some situations.
15644 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15645 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15646 add in in __libc_use_alloca calls. Adjust callers.
15647 (glob): Use malloc in some situations.
15648
de7ce8f1
UD
15649 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15650 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15651 pltexit.
15652
aec84f53
UD
156532011-05-21 Ulrich Drepper <drepper@gmail.com>
15654
05bb4a68
UD
15655 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15656 and CLOCK_BOOTTIME_ALARM.
15657
7ea72f99
UD
15658 [BZ #12782]
15659 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15660 is returned.
15661
7e4afad5
UD
15662 * string/_strerror.c (__strerror_r): Print negative errors as signed
15663 numbers.
15664
8e211fec
UD
15665 [BZ #12777]
15666 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15667 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15668 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15669
f7d82dc9
UD
15670 * configure.in: Fix typo in redirection and correct removal of test
15671 files in two cases.
15672
cc9e536d
UD
15673 [BZ #12788]
15674 * locale/setlocale.c (new_composite_name): Fix test to check for
15675 identical name of all categories.
15676
aec84f53
UD
15677 [BZ #12792]
15678 * libio/filedoalloc.c (local_isatty): New function.
15679 (_IO_file_doallocate): Use local_isatty.
15680 * stdio-common/perror.c (perror): In case a new stream is used
15681 forward the stream error.
15682 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15683 error flag.
15684
78e64fdc
RT
156852011-05-20 Ulrich Drepper <drepper@gmail.com>
15686
34a9094f
UD
15687 [BZ #11869]
15688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15689 alloca.
15690 * include/alloca.h (extend_alloca_account): Define.
15691
78e64fdc
RT
15692 [BZ #11857]
15693 * posix/regex.h: Fix comments with documentation of user-accessible
15694 fields after compilation and describe correct free'ing of pattern
15695 after re_compile_pattern.
15696 Patch by Reuben Thomas <rrt@sc3d.org>.
15697
457bddfc
RA
156982011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15699
15700 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15701 and -mno-altivec to prevent the compiler from using Altivec and/or
15702 VSX instructions when the corresponding registers are not available.
15703
a4527b51
AS
157042011-05-19 Andreas Schwab <schwab@redhat.com>
15705
15706 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15707
ed690b2f
UD
157082011-05-19 Ulrich Drepper <drepper@gmail.com>
15709
15710 * libio/freopen.c (freopen): Use __dup2, not dup2.
15711 * libio/freopen64.c (freopen64): Likewise.
15712
8db73634
L
157132011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15714
15715 [BZ #12775]
15716 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15717 * math/Makefile (tests): Add test-powl.
15718 (CFLAGS-test-powl.c): Define.
15719 * math/test-powl.c: New file.
15720
0a197a9d
L
157212011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15722
15723 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15724
ee30c380
UD
157252011-05-17 Ulrich Drepper <drepper@gmail.com>
15726
15727 [BZ #11837]
15728 * iconvdata/gb18030.c: Update to GB18020-2005.
15729
6ce75379
UD
157302011-05-16 Ulrich Drepper <drepper@gmail.com>
15731
a4b89fd8
AR
15732 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15733 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15734 Patch by Aharon Robbins <arnold@skeeve.com>.
15735
ea389b12
UD
15736 [BZ #11892]
15737 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15738 on the stack.
15739
68a3f91f
UD
15740 [BZ #11895]
15741 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15742 through underflows.
15743
15cc7dd1
UD
15744 [BZ #12766]
15745 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15746 point to strings before performing equality test for error_one_per_line
15747 mode.
15748
f3799213
UD
15749 [BZ #11697]
15750 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15751
d79a9c94
UD
15752 [BZ #11820]
15753 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15754 (struct user_fpregs_struct): Avoid __uint*_t types.
15755
56e5eb46
UD
15756 [BZ #6420]
15757 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15758 symbol info. Use it instead of calling _dl_addr locally.
15759 (lock_and_info): New function.
15760 (tr_freehook): Call lock_and_info and pass symbol info as additional
15761 parameter to tr_where.
15762 (tr_mallochook): Likewise.
15763 (tr_reallochook): Likewise.
15764 (tr_memalignhook): Likewise.
15765
6ce75379
UD
15766 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15767 used and couldn't be at all thread-safe.
15768
f8a3b5bf
UD
157692011-05-15 Ulrich Drepper <drepper@gmail.com>
15770
94b7cc37
UD
15771 * libio/freopen.c (freopen): Don't close old file descriptor
15772 before the new one is opened. Instead dup the new file descriptor
15773 to the old one after the new stream is created.
15774 * libio/freopen64.c (freopen64): Likewise.
15775 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15776 * libio/fileops.c (_IO_new_file_close_it): Handle new
15777 _IO_FLAGS2_NOCLOSE flag.
15778 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15779 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15780 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15781 _IO_FLAGS2_NOCLOSE flag.
15782 * include/unistd.h: Add hidden_proto for dup3.
15783 Define __have_dup3.
15784 * io/dup3.c: Define hidden symbol.
15785 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15786
bd25564e
UD
15787 [BZ #7101]
15788 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15789 when an incomplete long option is used.
15790 * posix/tst-getopt_long1.c: New file.
15791 * posix/Makefile (tests): Add tst-getopt_long1.
15792
c84cfef4
UD
15793 [BZ #10138]
15794 * scripts/config.guess: Update from autoconf-2.68.
15795 * scripts/config.sub: Likewise.
15796
3b85df27
UD
15797 [BZ #10157]
15798 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15799 tests into ...
15800 (has_cpuclock): ...this. New function.
15801 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15802 macro here based on has_cpuclock code.
15803
15a856b1
UD
15804 [BZ #10149]
15805 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15806 First byte (not low byte) is now always NUL.
15807 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15808
05f399e6
UD
15809 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15810 Use non-cancelable interfaces.
15811
10a52685 15812 [BZ #9809]
94ecc67d
UD
15813 * locale/iso-639.def: Add entry for Sorani.
15814
f8a3b5bf
UD
15815 [BZ #11901]
15816 * include/stdlib.h: Move include protection to the right place.
15817 Define abort_msg_s. Declare __abort_msg with it.
15818 * stdlib/abort.c (__abort_msg): Adjust type.
15819 * assert/assert.c (__assert_fail_base): New function. Majority
15820 of code from __assert_fail. Allocate memory for __abort_msg with
15821 mmap.
15822 (__assert_fail): Now call __assert_fail_base.
15823 * assert/assert-perr.c: Remove bulk of implementation. Use
15824 __assert_fail_base.
15825 * include/assert.hL Declare __assert_fail_base.
15826 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15827 mmap.
15828 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15829
1af4e298
UD
158302011-05-14 Ulrich Drepper <drepper@gmail.com>
15831
f8a3b5bf 15832 [BZ #11952]
d26dfc60
MG
15833 [BZ #12453]
15834 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15835 until all modules are registered in the DTV.
15836 * elf/Makefile: Add rules to build and run tst-tls19.
15837 * elf/tst-tls19.c: New file.
15838 * elf/tst-tls19mod1.c: New file.
15839 * elf/tst-tls19mod2.c: New file.
15840 * elf/tst-tls19mod3.c: New file.
15841 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15842
2fc54d6f
UD
15843 [BZ #12083]
15844 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15845 correctly.
15846
98d76b46
UD
15847 [BZ #12601]
15848 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15849 two-byte sequence errors.
15850 * iconvdata/Makefile (tests): Add bug-iconv8.
15851 * iconvdata/bug-iconv8.c: New file.
15852
da3c19ef
UD
15853 [BZ #12626]
15854 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15855 buf2 definition.
15856
ca408c15
UD
15857 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15858
d6f67f7d
UD
15859 [BZ #12432]
15860 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15861 (dummy_getcfa): New function.
15862 (init): Get _Unwind_GetCFA address, use dummy if not found.
15863 (backtrace_helper): In recursion check, also check whether CFA changes.
15864 (__backtrace): Completely initialize arg.
15865
1af4e298 15866 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15867 storing incomplete byte sequence in state object. Avoid testing for
15868 guaranteed too small input if we know there is enough data available.
1af4e298 15869
da62f81b
AS
158702011-05-11 Andreas Schwab <schwab@redhat.com>
15871
15872 * Makeconfig (+link-pie): Indent.
15873 * Rules (binaries-pie): Define if $(have-fpie) and
15874 $(build-shared).
15875 (binaries-shared): Also filter out $(binaries-pie).
15876 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15877 * nscd/Makefile (others-pie): Add nscd.
15878 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15879 ($(objpfx)nscd): Remove command override.
15880 * login/Makefile (others-pie): Add pt_chown.
15881 ($(objpfx)pt_chown): Remove command override.
15882 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15883 remove command overrides.
15884
fcabc0f8
UD
158852011-05-13 Ulrich Drepper <drepper@gmail.com>
15886
20030ae6
UD
15887 * libio/tst_putwc.c: Fix error messages.
15888
fcabc0f8
UD
15889 [BZ #12724]
15890 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15891 currently writing and seek to current position when not.
15892 * libio/Makefile (tests): Add bug-fclose1.
15893 * libio/bug-fclose1.c: New file.
15894
320a5dc0
PB
158952011-05-12 Ulrich Drepper <drepper@gmail.com>
15896
15897 [BZ #12511]
15898 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15899 don't set DF_1_NODELETE here.
15900 (do_lookup_x): When entering new entry test for copy relocation
15901 and if necessary set DF_1_NODELETE flag.
15902 * elf/tst-unique4.cc: New file.
15903 * elf/tst-unique4.h: New file.
15904 * elf/tst-unique4lib.cc: New file.
15905 * elf/Makefile: Add rules to build and run tst-unique4.
15906 Patch by Piotr Bury <pbury@goahead.com>.
15907
22836f52
UD
159082011-05-11 Ulrich Drepper <drepper@gmail.com>
15909
f574184a
UD
15910 [BZ #12052]
15911 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15912
e1fb097f
UD
15913 [BZ #12625]
15914 * misc/mntent_r.c (addmntent): Flush the stream after the output
15915
22836f52
UD
15916 [BZ #12393]
15917 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15918 (is_trusted_path_normalize): Skip initial colon. Append slash
15919 to empty buffer. Duplicate is_trusted_path code but allow
15920 constructed patch to be prefix.
15921 (is_dst): Allow $ORIGIN followed by /.
15922 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15923 Correct testing of result of is_trusted_path_normalize
15924 (decompose_rpath): Fix warning.
15925
7b3b0b2a
UD
159262011-05-10 Ulrich Drepper <drepper@gmail.com>
15927
15928 [BZ #11257]
15929 * grp/initgroups.c (internal_getgrouplist): When we found the service
15930 list through the initgroups entry in nsswitch.conf do not always
15931 continue on a successful lookup. Don't always use the
eac80ce2 15932 __nss_group_database value if it is set.
7b3b0b2a
UD
15933 * nss/nsswitch.conf (initgroups): Change action for successful db
15934 lookup to continue for compatibility.
15935
2a81eaa5
UD
159362011-05-09 Ulrich Drepper <drepper@gmail.com>
15937
be97a69e
UD
15938 [BZ #11532]
15939 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15940 and CP774 modules.
15941 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15942 and CP774 modules.
15943 * iconvdata/tst-tables.sh: Likewise.
15944 * iconvdata/cp770.c: New file.
15945 * iconvdata/cp771.c: New file.
15946 * iconvdata/cp772.c: New file.
15947 * iconvdata/cp773.c: New file.
15948 * iconvdata/cp774.c: New file.
15949 * iconvdata/testdata/CP770: New file.
15950 * iconvdata/testdata/CP770..UTF8: New file.
15951 * iconvdata/testdata/CP771: New file.
15952 * iconvdata/testdata/CP771..UTF8: New file.
15953 * iconvdata/testdata/CP772: New file.
15954 * iconvdata/testdata/CP772..UTF8: New file.
15955 * iconvdata/testdata/CP773: New file.
15956 * iconvdata/testdata/CP773..UTF8: New file.
15957 * iconvdata/testdata/CP774: New file.
15958 * iconvdata/testdata/CP774..UTF8: New file.
15959
15960 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15961 END CHARMAP line.
15962 * iconvdata/gen-8bit-gap.sh: Likewise.
15963 * iconvdata/gen-8bit.sh: Likewise.
15964
c1e9e399
UD
15965 * locale/iso-639.def: Add ary entry.
15966
24c55fb3 15967 [BZ #11258]
96b4b1b0
UD
15968 * locale/C-translit.h.in: Add U20A1 transliteration.
15969
bdc2f971
KB
15970 [BZ #12178]
15971 * locale/iso-639.def: Add wae entry.
15972 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15973
2952b117
UD
15974 [BZ #12545]
15975 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15976 for n.
15977
2a81eaa5
UD
15978 [BZ #12711]
15979 * locale/C-translit.h.in: Add entry for U20B9.
15980 Patch by pravin.d.s@gmail.com.
15981
28377d1b
UD
159822011-05-08 Ulrich Drepper <drepper@gmail.com>
15983
7fb90fb8
UD
15984 [BZ #12713]
15985 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15986 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15987 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15988 in rtld. Use *stat64.
7fb90fb8 15989 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15990 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15991 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15992 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15993 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15994 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15995 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15996 __fstatat64 macros.
7fb90fb8
UD
15997 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15998 * dirent/rewinddir.c: Add libc_hidden_def.
15999 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16000 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16001
28377d1b
UD
16002 * include/dirent.h (__alloc_dir): Add flags parameter.
16003 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16004 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16005 __alloc_dir.
16006 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16007 from fdopendir if O_CLOEXEC is already set.
16008
66bdbaa4
AM
160092011-03-15 Alan Modra <amodra@gmail.com>
16010
16011 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16012 l_tls_firstbyte_offset non-zero. Save padding offset in
16013 l_tls_firstbyte_offset for later use.
16014 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16015 freeing static tls block.
16016
95721191
JN
160172011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16018
16019 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16020 where #ifdef was intended. The intent is to prevent ARG_MAX from
16021 being defined by the kernel headers.
16022
f87dfb1f
UD
160232011-05-07 Ulrich Drepper <drepper@gmail.com>
16024
16025 [BZ #12734]
16026 * resolv/resolv.h: Define RES_NOTLDQUERY.
16027 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16028 no-tld-query and set RES_NOTLDQUERY.
16029 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16030 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16031 modern BIND to search name as TLD unless forbidden.
16032
47c3cd7a
UD
160332011-05-07 Petr Baudis <pasky@suse.cz>
16034 Ulrich Drepper <drepper@gmail.com>
16035
16036 [BZ #12393]
16037 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16038 (is_trusted_path): ...to here.
c1e9ea35 16039 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16040 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16041 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16042
8a35c912
PP
160432011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16044
16045 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16046 __BEGIN/__END_DECLS.
16047
acd41f47
UD
160482011-05-06 Ulrich Drepper <drepper@gmail.com>
16049
16050 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16051 NSS_STATUS_NOTFOUND if no record was found.
16052
597df647
AS
160532011-05-05 Andreas Schwab <schwab@redhat.com>
16054
16055 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16056 (headers-not-in-tirpc): Remove rpc/netdb.h
16057 * resolv/netdb.h: Revert last change.
16058
b9af1301
PP
160592011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16060
16061 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16062 circular dependency between libgcc.a and libc.a.
16063
4e34d5f5
AS
160642011-05-05 Andreas Schwab <schwab@redhat.com>
16065
16066 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16067 * nis/Makefile: Don't install rpcsvc/*.
16068 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16069 instead of <rpc/types.h>.
16070 (MAXHOSTNAMELEN): Define.
16071
00ee369c
AS
160722011-05-03 Andreas Schwab <schwab@redhat.com>
16073
16074 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16075
0b592a30
MB
160762011-04-28 Maciej Babinski <mbabinski@google.com>
16077
16078 [BZ #12714]
16079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16080 gethostbyname4_r when IPv6 results are possible.
16081
6e04cbbe
UD
160822011-05-02 Ulrich Drepper <drepper@gmail.com>
16083
16084 [BZ #12723]
16085 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16086 _PC_PIPE_BUF handling.
16087
e4ecafe0
BH
160882011-04-30 Bruno Haible <bruno@clisp.org>
16089
16090 [BZ #12717]
16091 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16092 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16093 to 'int'.
16094 * inet/getnameinfo.c (getnameinfo): Likewise.
16095
125ee683
UD
160962011-04-29 Ulrich Drepper <drepper@gmail.com>
16097
16098 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16099 to groups setting in database lookup.
16100 * nss/nsswitch.conf: Add initgroups entry.
16101
b722481a
EB
161022011-04-22 Ulrich Drepper <drepper@gmail.com>
16103
16104 [BZ #12685]
16105 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16106 mode string.
16107 Patch by Eric Blake <eblake@redhat.com>.
16108
4df46dbd
L
161092011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16110
16111 * sunrpc/Makefile (need-export-routines): Add svc_run.
16112 (routines): Remove svc_run.
16113 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16114 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16115 * sunrpc/svc_run.c (svc_run): Likewise.
16116 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16117
e84142d2
UD
161182011-04-21 Ulrich Drepper <drepper@gmail.com>
16119
16120 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16121 problem in reallocation in last patch.
16122
877175d8
UD
161232011-04-20 Ulrich Drepper <drepper@gmail.com>
16124
16125 * sunrpc/Makefile: Move inclusion of Rules.
16126
ab8eed78
UD
161272011-04-19 Ulrich Drepper <drepper@gmail.com>
16128
16129 * nss/nss_files/files-initgroups.c: New file.
16130 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16131 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16132 _nss_files_initgroups_dyn.
16133
e3d8f584
RS
161342011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16135
16136 * elf/elf.h (R_ARM_IRELATIVE): Define.
16137
af190f45
UD
161382011-04-19 Ulrich Drepper <drepper@gmail.com>
16139
16140 * po/ru.po: Update from translation team.
16141
53cf59ef
UD
161422011-04-17 Ulrich Drepper <drepper@gmail.com>
16143
16144 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16145 dependencies.
16146
4c559bcd
MF
161472011-02-06 Mike Frysinger <vapier@gentoo.org>
16148
16149 [BZ #12653]
16150 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16151 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16152 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16153 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16154 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16155
4420675c
AS
161562011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16157
16158 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16159 differing bytes.
16160 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16161 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16162 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16163
75ea32ab
UD
161642011-04-17 Ulrich Drepper <drepper@gmail.com>
16165
16166 [BZ #12420]
16167 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16168 storing it.
16169 * stdlib/bug-getcontext.c: New file.
16170 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16171
27390476
AK
161722011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16173
16174 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16175 instructions into .machine "z9-109".
16176 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16177 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16178
10442705
AK
161792011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16180
16181 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16182 between environment variables and auxiliary vector.
16183
7b57bfe5
UD
161842011-04-16 Ulrich Drepper <drepper@gmail.com>
16185
16186 * Makefile: Add rules to build linkobj/libc.so.
16187 * include/libc-symbols.h: Define libc_hidden_nolink.
16188 * include/rpc/auth.h: Mark functions which are to be hidden.
16189 * include/rpc/auth_des.h: Likewise.
16190 * include/rpc/auth_unix.h: Likewise.
16191 * include/rpc/clnt.h: Likewise.
16192 * include/rpc/des_crypt.h: Likewise.
16193 * include/rpc/key_prot.h: Likewise.
16194 * include/rpc/pmap_clnt.h: Likewise.
16195 * include/rpc/pmap_prot.h: Likewise.
16196 * include/rpc/pmap_rmt.h: Likewise.
16197 * include/rpc/rpc_msg.h: Likewise.
16198 * include/rpc/svc.h: Likewise.
16199 * include/rpc/svc_auth.h: Likewise.
16200 * include/rpc/xdr.h: Likewise.
16201 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16202 * nss/Makefile: Likewise.
16203 * sunrpc/Makefile: Don't install headers. Build library with normal
16204 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16205 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16206 for the compat linking library. Remove use of INTDEF/INTUSE.
16207 * sunrpc/auth_none.c: Likewise.
16208 * sunrpc/auth_unix.c: Likewise.
16209 * sunrpc/authdes_prot.c: Likewise.
16210 * sunrpc/authuxprot.c: Likewise.
16211 * sunrpc/clnt_gen.c: Likewise.
16212 * sunrpc/clnt_perr.c: Likewise.
16213 * sunrpc/clnt_raw.c: Likewise.
16214 * sunrpc/clnt_simp.c: Likewise.
16215 * sunrpc/clnt_tcp.c: Likewise.
16216 * sunrpc/clnt_udp.c: Likewise.
16217 * sunrpc/clnt_unix.c: Likewise.
16218 * sunrpc/des_crypt.c: Likewise.
16219 * sunrpc/des_soft.c: Likewise.
16220 * sunrpc/get_myaddr.c: Likewise.
16221 * sunrpc/key_call.c: Likewise.
16222 * sunrpc/key_prot.c: Likewise.
16223 * sunrpc/netname.c: Likewise.
16224 * sunrpc/pm_getmaps.c: Likewise.
16225 * sunrpc/pm_getport.c: Likewise.
16226 * sunrpc/pmap_clnt.c: Likewise.
16227 * sunrpc/pmap_prot.c: Likewise.
16228 * sunrpc/pmap_prot2.c: Likewise.
16229 * sunrpc/pmap_rmt.c: Likewise.
16230 * sunrpc/publickey.c: Likewise.
16231 * sunrpc/rpc_cmsg.c: Likewise.
16232 * sunrpc/rpc_common.c: Likewise.
16233 * sunrpc/rpc_dtable.c: Likewise.
16234 * sunrpc/rpc_prot.c: Likewise.
16235 * sunrpc/rpc_thread.c: Likewise.
16236 * sunrpc/rtime.c: Likewise.
16237 * sunrpc/svc.c: Likewise.
16238 * sunrpc/svc_auth.c: Likewise.
16239 * sunrpc/svc_authux.c: Likewise.
16240 * sunrpc/svc_raw.c: Likewise.
16241 * sunrpc/svc_run.c: Likewise.
16242 * sunrpc/svc_simple.c: Likewise.
16243 * sunrpc/svc_tcp.c: Likewise.
16244 * sunrpc/svc_udp.c: Likewise.
16245 * sunrpc/svc_unix.c: Likewise.
16246 * sunrpc/svcauth_des.c: Likewise.
16247 * sunrpc/xcrypt.c: Likewise.
16248 * sunrpc/xdr.c: Likewise.
16249 * sunrpc/xdr_array.c: Likewise.
16250 * sunrpc/xdr_float.c: Likewise.
16251 * sunrpc/xdr_intXX_t.c: Likewise.
16252 * sunrpc/xdr_mem.c: Likewise.
16253 * sunrpc/xdr_rec.c: Likewise.
16254 * sunrpc/xdr_ref.c: Likewise.
16255 * sunrpc/xdr_sizeof.c: Likewise.
16256 * sunrpc/xdr_stdio.c: Likewise.
16257
e6c61494
UD
162582011-04-10 Ulrich Drepper <drepper@gmail.com>
16259
16260 [BZ #12650]
16261 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16262 * sysdeps/ia64/dl-tls.h: Likewise.
16263 * sysdeps/powerpc/dl-tls.h: Likewise.
16264 * sysdeps/s390/dl-tls.h: Likewise.
16265 * sysdeps/sh/dl-tls.h: Likewise.
16266 * sysdeps/sparc/dl-tls.h: Likewise.
16267 * sysdeps/x86_64/dl-tls.h: Likewise.
16268 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16269
34fe483e
AS
162702011-03-14 Andreas Schwab <schwab@redhat.com>
16271
16272 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16273 rpath element also skip the following colon.
16274 (expand_dynamic_string_token): Add is_path parameter and pass
16275 down to DL_DST_REQUIRED and _dl_dst_substitute.
16276 (decompose_rpath): Call expand_dynamic_string_token with
16277 non-zero is_path. Ignore empty rpaths.
16278 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16279 with zero is_path.
16280
f12a32e6
AS
162812011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16282
16283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16284 Make cancelable.
16285
38a7d692
UD
162862011-04-09 Ulrich Drepper <drepper@gmail.com>
16287
16288 [BZ #12655]
16289 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16290 Patch by Filipe David Manana <fdmanana@apache.org>.
16291
e451d22b
AS
162922011-04-07 Andreas Schwab <schwab@redhat.com>
16293
16294 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16295 Maintain aligned stack.
16296 (CHECK_RSP): Remove unused macro.
16297
dedc7c7b
UD
162982011-04-03 Ulrich Drepper <drepper@gmail.com>
16299
16300 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16301 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16302
94521213
UD
163032011-04-02 Ulrich Drepper <drepper@gmail.com>
16304
16305 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16306
8cb700c0 16307 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16308
0354e355
L
163092011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16310
16311 [BZ #12518]
16312 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16313 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16314 * sysdeps/x86_64/memmove.c: New file.
16315 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16316 (memcpy): Renamed to ...
16317 (__new_memcpy): This.
16318 (memcpy): Provide GLIBC_2_14 memcpy.
16319 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16320 (memcpy): Provide GLIBC_2_2_5 memcpy.
16321
8593482f
UD
163222011-04-01 Ulrich Drepper <drepper@gmail.com>
16323
16324 [BZ #12631]
16325 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16326
81a5726b
AS
163272011-03-30 Andreas Schwab <schwab@redhat.com>
16328
16329 * misc/syncfs.c: New file.
16330 * misc/Makefile (routines): Add syncfs.
16331 * posix/unistd.h: Declare syncfs.
16332 * sysdeps/unix/syscalls.list: Add syncfs.
16333
00e5419f
AS
163342011-04-01 Andreas Schwab <schwab@redhat.com>
16335
16336 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16337 open_by_handle_at.
16338 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16339 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16340 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16341 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16343 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16345
748876bf
UD
163462011-04-01 Ulrich Drepper <drepper@gmail.com>
16347
658e451d
UD
16348 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16349 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16350 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16352 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16354 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16355
748876bf
UD
16356 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16357 sync_file_range.c with -fexceptions.
16358 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16359 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16360 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16361 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16362 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16363 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16364 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16365 sync_file_range as cancellation point
16366 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16367 now a wrapper around __call_sync_file_range with cancellation handling.
16368 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16369 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16370 function name to __call_sync_file_range.
16371 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16372 Add call_sync_file_range.
748876bf 16373
6e63d5e1
AS
163742011-04-01 Andreas Schwab <schwab@redhat.com>
16375
16376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16377 bits/timex.h.
6e63d5e1 16378
46998f74
UD
163792011-04-01 Ulrich Drepper <drepper@gmail.com>
16380
4c1423ed
UD
16381 * iconv/iconv.h: Fix typo in comment.
16382 * io/fcntl.h: Likewise.
16383 * libio/stdio.h: Likewise.
16384 * posix/spawn.h: Likewise.
16385 * posix/unistd.h: Likewise.
16386 * stdlib/stdlib.h: Likewise.
16387 * time/time.h: Likewise.
16388 * wcsmbs/wchar.h: Likewise.
16389
158648c0
UD
16390 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16391 open_by_handle): Add.
16392 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16393 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16394 Augment a few comments.
16395 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16397 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16399 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16400 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16401 open_by_handle.
16402
46998f74
UD
16403 * io/fcntl.h (AT_EMPTY_PATH): Define.
16404
83fe108b
UD
164052011-03-30 Ulrich Drepper <drepper@gmail.com>
16406
16407 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16408 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16409 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16410 to...
16411 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16412 * Versions.def: Add GLIBC_2.14.
16413 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16414 Export.
83fe108b 16415
bb242059
UD
164162011-03-22 Ulrich Drepper <drepper@gmail.com>
16417
16418 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16419 round counter.
16420 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16421
c97a1282
L
164222011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16423
16424 [BZ #12597]
16425 * string/test-strncmp.c (do_page_test): New function.
16426 (check2): Likewise.
16427 (test_main): Call check2.
16428 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16429
2a115601
UD
164302011-03-20 Ulrich Drepper <drepper@gmail.com>
16431
16432 [BZ #12587]
16433 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16434 Handle cache information in CPU leaf 4.
16435 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16436
8126d904
UD
164372011-03-18 Ulrich Drepper <drepper@gmail.com>
16438
042c49c6 16439 [BZ #12583]
8126d904
UD
16440 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16441 character representation.
16442 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16443
ccfe366e
RA
164442011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16445
16446 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16447 END(__isnan) to END(__isnanf) to match function entry point/label
16448 EALIGN(__isnanf,...).
16449
c6e13027
JJ
164502011-03-10 Jakub Jelinek <jakub@redhat.com>
16451
16452 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16453
33f85a3f
UD
164542011-03-10 Ulrich Drepper <drepper@gmail.com>
16455
028478fa
UD
16456 [BZ #12510]
16457 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16458 copy from the symbol referenced in the relocation to initialize the
16459 used variable.
16460 Patch by Piotr Bury <pbury@goahead.com>.
16461 * elf/Makefile: Add rules to build and tst-unique3.
16462 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16463 * elf/tst-unique3.cc: New file.
16464 * elf/tst-unique3.h: New file.
16465 * elf/tst-unique3lib.cc: New file.
16466 * elf/tst-unique3lib2.cc: New file.
16467
33f85a3f
UD
16468 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16469
03592fc7
MF
164702011-03-10 Mike Frysinger <vapier@gentoo.org>
16471
16472 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16473 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16474 to _start.
03592fc7 16475
6a5ee102
UD
164762011-03-06 Ulrich Drepper <drepper@gmail.com>
16477
16478 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16479 to-be-loaded object along a path to loader is ld.so.
16480
7e4ba49c
HJ
164812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16482 Ulrich Drepper <drepper@gmail.com>
16483
16484 * sysdeps/x86_64/memset.S: After aligning destination, code
16485 branches to different locations depending on the value of
16486 misalignment, when multiarch is enabled. Fix this.
16487
164882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16489
16490 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16491 Set _x86_64_preferred_memory_instruction for AMD processsors.
16492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16493 Set bit_Prefer_SSE_for_memop for AMD processors.
16494
13a804de
UD
164952011-03-04 Ulrich Drepper <drepper@gmail.com>
16496
16497 * libio/fmemopen.c (fmemopen): Optimize a bit.
16498
9d25c392
AS
164992011-03-03 Andreas Schwab <schwab@redhat.com>
16500
16501 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16502
a5543c6a
RM
165032011-03-03 Roland McGrath <roland@redhat.com>
16504
16505 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16506
012d35f7
DM
165072011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16508
7e4ba49c 16509 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16510 __bzero_ultra1 instead of __memset_ultra1.
16511
4bff6e01
AS
165122011-02-23 Andreas Schwab <schwab@redhat.com>
16513 Ulrich Drepper <drepper@gmail.com>
16514
16515 [BZ #12509]
16516 * include/link.h (struct link_map): Add l_orig_initfini.
16517 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16518 returning unsuccessfully.
16519 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16520 close of a file loaded at startup, restore the original l_initfini
16521 list.
16522 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16523 list, store the pointer.
16524 * elf/Makefile ($(objpfx)noload-mem): New rule.
16525 (noload-ENV): Define.
16526 (tests): Add $(objpfx)noload-mem.
16527 * elf/noload.c: Include <memcheck.h>.
16528 (main): Call mtrace. Close all opened handles.
16529
f2092faf
AS
165302011-02-17 Andreas Schwab <schwab@redhat.com>
16531
16532 [BZ #12454]
16533 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16534 dependencies are missing.
16535
6c8a2e88
ST
165362011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16537
f2092faf 16538 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16539 Hurd needs munmap.
16540 * sysdeps/mach/hurd/ifreq.h: New file.
16541
84a42118
PB
165422011-01-27 Petr Baudis <pasky@suse.cz>
16543 Ulrich Drepper <drepper@gmail.com>
16544
071f805e 16545 [BZ 12445]#
84a42118
PB
16546 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16547 to extend_alloca().
16548 * stdio-common/bug23.c: New file.
16549 * stdio-common/Makefile (tests): Add bug23.
16550
e23fe25b
AS
165512010-09-28 Andreas Schwab <schwab@redhat.com>
16552 Ulrich Drepper <drepper@gmail.com>
16553
16554 [BZ #12489]
16555 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16556 before performing relro protection. At old place add assertion
16557 to make sure nothing changed.
16558
d3f02e10
NS
165592011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16560 Glauber de Oliveira Costa <glommer@gmail.com>
16561
16562 * elf/elf.h: Add new ARM TLS relocs.
16563
d55fd7a5
RA
165642011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16565
16566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16567 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16568 cast from r3.
16569 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16570 'tests' variable.
16571 * sysdeps/wordsize-64/tst-writev.c: New file.
16572
2206397e
RA
165732011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16574
16575 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16576 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16577 insns in _dl_start to prevent a TOC reference before relocs are
16578 resolved.
16579
e9433893
UD
165802011-02-15 Ulrich Drepper <drepper@gmail.com>
16581
16582 [BZ #12469]
16583 * Makeconfig: Remove RANLIB definition.
16584 * Makerules: Don't use RANLIB.
16585 * aclocal.m4: Remove ranlib test.
16586 * configure.in: No need to check for ranlib.
16587 * elf/rtld-Rules: Don't use RANLIB.
16588
f75286c6
ST
165892011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16590
8e31c82d
ST
16591 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16592 protection macro.
16593 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16594 inclusion protection macro.
16595
f75286c6
ST
16596 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16597 SIGRTMIN and SIGRTMAX and print information in that case only when
16598 SIGRTMIN is defined.
16599
c1d0e639
JJ
166002011-02-11 Jakub Jelinek <jakub@redhat.com>
16601
16602 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16603 arginfo fn returning -1.
16604
16605 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16606 and thousands string is zero terminated.
16607
edf9294e
AS
166082011-02-03 Andreas Schwab <schwab@redhat.com>
16609
16610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16611 sysdeps/unix/sysv/linux/bits/socket.h.
16612
2b7e92df
ST
166132011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16614
edf9294e
AS
16615 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16616 (__CPU_COUNT): Remove old macros.
16617 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16618 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16619 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16620 (__sched_cpualloc, __sched_cpufree): Add declarations.
16621
a4c7ea7b
UD
166222011-02-05 Ulrich Drepper <drepper@gmail.com>
16623
16624 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16625 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16626 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16627 (readdhstai): Return value of addhstaiX call.
16628 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16629 (addgrbyX): Return value returned by cache_addgr.
16630 (readdgrbyname): Return value returned by addgrbyX.
16631 (readdgrbygid): Likewise.
16632 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16633 (addpwbyX): Return value returned by cache_addpw.
16634 (readdpwbyname): Return value returned by addhstbyX.
16635 (readdpwbyuid): Likewise.
16636 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16637 (addservbyX): Return value returned by cache_addserv.
16638 (readdservbyname): Return value returned by addservbyX:
16639 (readdservbyport): Likewise.
16640 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16641 (addhstbyX): Return value returned by cache_addhst.
16642 (readdhstbyname): Return value returned by addhstbyX.
16643 (readdhstbyaddr): Likewise.
16644 (readdhstbynamev6): Likewise.
16645 (readdhstbyaddrv6): Likewise.
16646 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16647 (readdinitgroups): Return value returned by addinitgroupsX.
16648 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16649 (prune_cache): Keep track of timeout value of re-added entries.
16650 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16651 * nscd/nscd.h: Adjust prototypes of readd* functions.
16652
a0bf67cc
RM
166532011-02-04 Roland McGrath <roland@redhat.com>
16654
16655 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16656 (nis_stats): Likewise.
16657 * nis/nis_modify.c (nis_modify): Likewise.
16658 * nis/nis_remove.c (nis_remove): Likewise.
16659 * nis/nis_add.c (nis_add): Likewise.
16660
16661 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16662
16663 * posix/fnmatch_loop.c: Add some consts.
16664
16665 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16666
435b95eb
L
166672011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16668
16669 [BZ #12460]
16670 * config.make.in (config-cflags-novzeroupper): Define.
16671 * configure.in: Substitute libc_cv_cc_novzeroupper.
16672 * elf/Makefile (AVX-CFLAGS): Define.
16673 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16674 (CFLAGS-tst-auditmod4a.c): Likewise.
16675 (CFLAGS-tst-auditmod4b.c): Likewise.
16676 (CFLAGS-tst-auditmod6b.c): Likewise.
16677 (CFLAGS-tst-auditmod6c.c): Likewise.
16678 (CFLAGS-tst-auditmod7b.c): Likewise.
16679 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16680
8517b15e
UD
166812011-02-02 Ulrich Drepper <drepper@gmail.com>
16682
16683 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16684 function to the callback.
16685 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16686
10a656fe
AS
166872011-02-02 Andreas Schwab <schwab@redhat.com>
16688
16689 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16690 of errno.
16691
968dad0a
UD
166922011-01-19 Ulrich Drepper <drepper@gmail.com>
16693
9f94d2ea 16694 [BZ #11724]
968dad0a
UD
16695 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16696 of constructors.
16697 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16698 of destructors.
16699 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16700
16701 [BZ #11724]
16702 * elf/Makefile: Add rules to build and run new test.
16703 * elf/tst-initorder.c: New file.
16704 * elf/tst-initorder.exp: New file.
16705 * elf/tst-initordera1.c: New file.
16706 * elf/tst-initordera2.c: New file.
16707 * elf/tst-initordera3.c: New file.
16708 * elf/tst-initordera4.c: New file.
16709 * elf/tst-initorderb1.c: New file.
16710 * elf/tst-initorderb2.c: New file.
16711 * elf/tst-order-a1.c: New file.
16712 * elf/tst-order-a2.c: New file.
16713 * elf/tst-order-a3.c: New file.
16714 * elf/tst-order-a4.c: New file.
16715 * elf/tst-order-b1.c: New file.
16716 * elf/tst-order-b2.c: New file.
16717 * elf/tst-order-main.c: New file.
16718 New test case by George Gensure <werkt0@gmail.com>.
16719
86e92359
UD
167202010-10-01 Andreas Schwab <schwab@redhat.com>
16721
16722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16723 decoding ACE if AI_CANONIDN.
16724
5d5732b0
UD
167252011-01-18 Ulrich Drepper <drepper@gmail.com>
16726
16727 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16728
a77e8cbc
UD
167292011-01-17 Ulrich Drepper <drepper@gmail.com>
16730
6392473f
UD
16731 * version.h (RELEASE): Bump for 2.13 release.
16732 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16733
620a0529
UD
16734 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16735
18ba70a5
UD
16736 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16737 MADV_NOHUGEPAGE.
32465c3e
UD
16738 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16739 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16740 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16741 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16742 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16743 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16744
c0dafcf1
UD
16745 * posix/getconf.c: Update copyright year.
16746 * catgets/gencat.c: Likewise.
16747 * csu/version.c: Likewise.
16748 * debug/catchsegv.sh: Likewise.
16749 * debug/xtrace.sh: Likewise.
16750 * elf/ldconfig.c: Likewise.
16751 * elf/ldd.bash.in: Likewise.
16752 * elf/sprof.c (print_version): Likewise.
16753 * iconv/iconv_prog.c: Likewise.
16754 * iconv/iconvconfig.c: Likewise.
16755 * locale/programs/locale.c: Likewise.
16756 * locale/programs/localedef.c: Likewise.
16757 * malloc/memusage.sh: Likewise.
16758 * malloc/mtrace.pl: Likewise.
16759 * nscd/nscd.c (print_version): Likewise.
16760 * nss/getent.c: Likewise.
16761
a77e8cbc
UD
16762 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16763 PF_CAIF, and PF_ALG.
16764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16765
77e8bddf
AS
167662011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16767
1f20b93a
AS
16768 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16769 (modules-names): Use them.
16770 (ifunc-test-modules, ifunc-pie-tests): Define.
16771 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16772 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16773 (test-extras): Likewise.
16774 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16775 $(compile-command.c).
16776 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16777 (all-built-dso): Define.
16778 (check-textrel.out, check-execstack.out): Depend on it.
16779
77e8bddf
AS
16780 * configure.in: Don't override --enable-multi-arch.
16781
bc425b33
UD
167822011-01-15 Ulrich Drepper <drepper@gmail.com>
16783
16784 [BZ #6812]
16785 * nscd/hstcache.c (tryagain): Define.
16786 (cache_addhst): Return tryagain not notfound for temporary errors.
16787 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16788 failed.
16789
794c3ad3
UD
167902011-01-14 Ulrich Drepper <drepper@gmail.com>
16791
70181fdd
UD
16792 [BZ #10563]
16793 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16794 to make the syscall.
16795 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16796
794c3ad3
UD
16797 [BZ #12378]
16798 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16799 and fall back to matching as normal character if the string ends before
16800 the matching ']' is found. This is what POSIX requires.
16801 * posix/testfnm.c: Adjust test result.
16802 * posix/globtest.sh: Adjust test result. Add new test.
16803 * posix/tst-fnmatch.input: Likewise.
16804 * posix/tst-fnmatch2.c: Add new test.
16805
68dc9497
AS
168062010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16807
16808 * elf/Makefile (check-execstack): Revert last change. Depend on
16809 check-execstack.h.
16810 (check-execstack.h): New target.
16811 (generated): Add check-execstack.h.
16812 * elf/check-execstack.c: Include "check-execstack.h".
16813 (main): Revert last change.
16814 (handle_file): Return zero if GNU_STACK is absent and
16815 DEFAULT_STACK_PERMS doesn't include PF_X.
16816
451f001b
UD
168172011-01-13 Ulrich Drepper <drepper@gmail.com>
16818
cfa28e56
UD
16819 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16820 in child fails because the descriptor is already closed.
8cf8ce17
UD
16821 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16822 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16823 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16824
1086d70d
UD
16825 [BZ #12397]
16826 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16827 syscall.
16828
451f001b
UD
16829 [BZ #10484]
16830 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16831 temporary buffer used to handle multi lookups locally.
a85b5cb4 16832 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16833
08769175
UD
168342011-01-12 Ulrich Drepper <drepper@gmail.com>
16835
16836 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16837 loader is ld.so.
16838
5e49c52e
UD
168392011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16840
16841 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16842 alignment for SSE2.
16843
60522a5f
UD
168442011-01-12 Ulrich Drepper <drepper@gmail.com>
16845
16846 [BZ #12394]
16847 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16848 characters. When rounding increased number of integer digits recompute
16849 number of groups.
16850 * stdio-common/tst-grouping.c: New file.
16851 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16852
f257bbd7
UD
168532011-01-09 Ulrich Drepper <drepper@gmail.com>
16854
16855 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16856 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16857
16858 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16859 void.
16860 * bits/select.h: Likewise.
16861
fa9c15cb
UD
168622011-01-08 Ulrich Drepper <drepper@gmail.com>
16863
16864 * po/ja.po: Update from translation team.
16865
16c2895f
DM
168662011-01-04 David S. Miller <davem@sunset.davemloft.net>
16867
16868 [BZ #11155]
16869 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16870 implementation just like for lxstat, fxstatat, et al.
16871
2543fef2
JM
168722010-12-27 Jim Meyering <meyering@redhat.com>
16873
16874 [BZ #12348]
16875 * posix/regexec.c (build_trtable): Return failure indication upon
16876 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16877
98727dbe
UD
168782010-12-25 Ulrich Drepper <drepper@gmail.com>
16879
5bd6dc5c
UD
16880 [BZ #12201]
16881 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16882 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16883 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16884 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16885
97983464
UD
16886 [BZ #12207]
16887 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16888
98727dbe
UD
16889 [BZ #12204]
16890 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16891 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16892
4a531bb0
L
168932010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16894
16895 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16896 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16897 script has SORT_BY_INIT_PRIORITY.
16898 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16899 NO_CTORS_DTORS_SECTIONS is defined.
16900 * elf/soinit.c: Likewise.
16901 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16902 NO_CTORS_DTORS_SECTIONS is defined.
16903 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16904 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16905 * sysdeps/sh/init-first.c: Likewise.
16906 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16907
07eb4b71
UD
169082010-12-24 Ulrich Drepper <drepper@gmail.com>
16909
16910 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16911 always use the slow path.
16912
30950a5f
RA
169132010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16914
16915 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16916 similar rule which adds the sysdep directories to the header search in
16917 order to pick up the correct platform stackinfo.h.
16918 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16919 perform test if it is, otherwise return successfully without testing.
16920 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16921 DEFAULT_STACK_PERMS define in stackinfo.h.
16922 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16923 defined in stackinfo.h.
16924 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16925 DEFAULT_STACK_PERMS defined in stackinfo.h.
16926 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16927 * sysdeps/ia64/stackinfo.h: Likewise.
16928 * sysdeps/s390/stackinfo.h: Likewise.
16929 * sysdeps/sh/stackinfo.h: Likewise.
16930 * sysdeps/sparc/stackinfo.h: Likewise.
16931 * sysdeps/x86_64/stackinfo.h: Likewise.
16932 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16933 PF_X for powerpc64. Retain PF_X for powerpc32.
16934
db753e2c
UD
169352010-12-19 Ulrich Drepper <drepper@gmail.com>
16936
14b697f7
UD
16937 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16938 accurately.
db753e2c
UD
16939 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16940 GETDENTS_64BIT_ALIGNED.
16941
28300719
UD
169422010-12-14 Ulrich Drepper <dreper@gmail.com>
16943
14b697f7 16944 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16945
4f197237
AS
169462010-12-10 Andreas Schwab <schwab@redhat.com>
16947
dbb0472f
AS
16948 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16949 _GNU_SOURCE.
16950
4f197237
AS
16951 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16952 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16953 Remove __restrict.
16954 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16955 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16956
fb88ac72
UD
169572010-12-09 Ulrich Drepper <drepper@gmail.com>
16958
16959 [BZ #11655]
16960 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16961 are initialized.
16962
42acbb92
JJ
169632010-12-09 Jakub Jelinek <jakub@redhat.com>
16964
16965 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16966
c038d98d
UD
169672010-12-03 Ulrich Drepper <drepper@gmail.com>
16968
16969 * po/it.po: Update from translation team.
16970
3a4a2499
L
169712010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16972
16973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16974 unused codes.
16975
1e24cf6e
UD
169762010-11-30 Ulrich Drepper <drepper@gmail.com>
16977
16978 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16979
a7690819
AS
169802010-11-24 Andreas Schwab <schwab@redhat.com>
16981
16982 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16983 specially.
16984 (gaih_getanswer_slice): Likewise.
16985
3bf8d1b1
JJ
169862010-10-20 Jakub Jelinek <jakub@redhat.com>
16987
16988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16989
6db52fbb
PB
169902010-05-31 Petr Baudis <pasky@suse.cz>
16991
16992 [BZ #11149]
16993 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16994 silently even in the chroot mode.
16995
eaca7569
UD
169962010-11-22 Ulrich Drepper <drepper@gmail.com>
16997
16998 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16999 last patch a bit. Pretty printing
17000
3056dcdb
UD
170012010-05-31 Petr Baudis <pasky@suse.cz>
17002
17003 [BZ #10085]
17004 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17005 initialization of skip_initgroups_dyn.
17006
cf7c9078
UD
170072010-11-19 Ulrich Drepper <drepper@gmail.com>
17008
17009 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17010 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17011
a1fb5e3e
UD
170122010-11-16 Ulrich Drepper <drepper@gmail.com>
17013
17014 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17015
3540d66b
AS
170162010-11-11 Andreas Schwab <schwab@redhat.com>
17017
17018 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17019 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17020 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17021 ($(objpfx)tst-fnmatch-mem): New rule.
17022 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17023 * posix/tst-fnmatch.c (main): Call mtrace.
17024
13b69574
L
170252010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17026
17027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17028 Support Intel processor model 6 and model 0x2c.
17029
da93d214
LM
170302010-11-10 Luis Machado <luisgpm@br.ibm.com>
17031
17032 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17033 signed comparison.
17034
8ca52c6e
L
170352010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17036
17037 [BZ #12205]
17038 * string/test-strncasecmp.c (check_result): New function.
17039 (do_one_test): Use it.
17040 (check1): New function.
17041 (test_main): Use it.
17042 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17043 Support strcasecmp and strncasecmp.
17044
69da074d
UD
170452010-11-08 Ulrich Drepper <drepper@gmail.com>
17046
17047 [BZ #12194]
17048 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17049 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17050
ff02d528
L
170512010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17052
17053 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17054 IFUNC support.
17055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17056 memset-x86-64.
17057 * sysdeps/x86_64/multiarch/bzero.S: New file.
17058 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17059 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17060 * sysdeps/x86_64/multiarch/memset.S: New file.
17061 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17063 Set bit_Prefer_SSE_for_memop for Intel processors.
17064 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17065 Define.
17066 (index_Prefer_SSE_for_memop): Define.
17067 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17068
344d0b54
LM
170692010-11-04 Luis Machado <luisgpm@br.ibm.com>
17070
17071 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17072 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17073
c0dde15b
UD
170742010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17075
17076 [BZ #12191]
17077 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17078 (__x86_64_raw_data_cache_size_half): Likewise.
17079 (__x86_64_raw_shared_cache_size): Likewise.
17080 (__x86_64_raw_shared_cache_size_half): Likewise.
17081
17082 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17083 (__x86_64_raw_data_cache_size_half): Likewise.
17084 (__x86_64_raw_shared_cache_size): Likewise.
17085 (__x86_64_raw_shared_cache_size_half): Likewise.
17086 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17087 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17088 and __x86_64_raw_shared_cache_size_half. Round
17089 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17090 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17091 to multiple of 256 bytes.
17092
0e516e0e
MS
170932010-11-03 Ulrich Drepper <drepper@gmail.com>
17094
17095 [BZ #12167]
17096 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17097 of inacessible symlinks. Verify result of symlink before returning it.
17098 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17099 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17100
0e012e87
ER
171012010-10-28 Erich Ritz <erichritz@gmail.com>
17102
17103 * math/math.h (isinf): Fix typo in comment.
17104
de0ff7bc
UD
171052010-11-01 Ulrich Drepper <drepper@gmail.com>
17106
17107 * po/da.po: Update from translation team.
17108
fa41c84d
UD
171092010-10-26 Ulrich Drepper <drepper@gmail.com>
17110
17111 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17112 is added to the list.
17113
f0967738
AK
171142010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17115 Ulrich Drepper <drepper@gmail.com>
17116
17117 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17118 the global list here. Move code to...
17119 (_dl_add_to_namespace_list): ...here. New function.
17120 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17121 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17122 * elf/dl-load.c (lose): Don't remove the element from the list.
17123 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17124 (_dl_map_object): Likewise.
17125
171262010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17127
17128 [BZ #12159]
17129 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17130 into all bytes of SSE register.
17131 Patch by Richard Li <richardpku@gmail.com>.
17132
f0967738 171332010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17134
17135 [BZ #12140]
17136 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17137 perturbing.
17138
d0b9e94f
MB
171392010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17140
17141 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17142 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17143 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17144 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17146 submachine.
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17148
8e9f92e9
AS
171492010-10-22 Andreas Schwab <schwab@redhat.com>
17150
17151 * include/dlfcn.h (__RTLD_SECURE): Define.
17152 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17153 mode & __RTLD_SECURE instead.
17154 (open_path): Rename preloaded parameter to secure.
17155 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17156 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17157 * elf/dl-deps.c (openaux): Likewise.
17158 * elf/rtld.c (struct map_args): Remove is_preloaded.
17159 (map_doit): Don't use it.
17160 (dl_main): Likewise.
17161 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17162 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17163
bc96fbda
AS
171642010-09-09 Andreas Schwab <schwab@redhat.com>
17165
17166 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17167 (sysd-rules-targets): Remove duplicates.
17168 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17169 rtld-%.$o dependency.
17170
22cd1c9b
AS
171712010-10-18 Andreas Schwab <schwab@redhat.com>
17172
17173 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17174 _dl_map_object do it.
17175
18edac48
UD
171762010-10-19 Ulrich Drepper <drepper@gmail.com>
17177
17178 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17179 fast fma builtins, define the macros in the C99 standard.
17180 (FP_FAST_FMAF): Likewise.
17181 (FP_FAST_FMAL): Likewise.
17182 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17183
17184 * bits/mathdef.h: Update copyright year.
17185 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17186
d2050124
MM
171872010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17188
17189 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17190 builtins, define the macros in the C99 standard.
17191 (FP_FAST_FMAF): Likewise.
17192 (FP_FAST_FMAL): Likewise.
17193 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17194 multiply/add.
17195 (FP_FAST_FMAF): Likewise.
17196
475facd1
JJ
171972010-10-15 Jakub Jelinek <jakub@redhat.com>
17198
17199 [BZ #3268]
17200 * math/libm-test.inc (fma_test): Some new testcases.
17201 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17202 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17203 y and infinite z. Do multiplication by C already in long double.
17204 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17206 y and infinite z. Do bitwise or of inexact bit into u.d.
17207 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17208 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17209 * sysdeps/i386/fpu/s_fma.S: Removed.
17210 * sysdeps/i386/fpu/s_fmal.S: Removed.
17211
7c08a05c
JJ
172122010-10-16 Jakub Jelinek <jakub@redhat.com>
17213
17214 [BZ #3268]
17215 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17217 computation is not scheduled after fetestexcept. Fix value
17218 of minimum denormal long double.
17219
f3f7372d
JJ
172202010-10-14 Jakub Jelinek <jakub@redhat.com>
17221
17222 [BZ #3268]
17223 * math/libm-test.inc (fma_test): Add some more tests.
17224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17225 correctly.
17226
14d43591
AS
172272010-10-15 Andreas Schwab <schwab@redhat.com>
17228
17229 * scripts/data/localplt-s390-linux-gnu.data: New file.
17230 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17231
5e908464
JJ
172322010-10-13 Jakub Jelinek <jakub@redhat.com>
17233
17234 [BZ #3268]
17235 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17236 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17237 instead of dbl-64.
17238 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17239 inlines.
17240 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17242 if one of x and y is very large and the other is subnormal.
17243 * sysdeps/s390/fpu/s_fmaf.c: New file.
17244 * sysdeps/s390/fpu/s_fma.c: New file.
17245 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17246 * sysdeps/powerpc/fpu/s_fma.S: New file.
17247 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17248 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17249 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17250
172512010-10-12 Jakub Jelinek <jakub@redhat.com>
17252
17253 [BZ #3268]
17254 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17255 fma tests.
17256 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17257 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17258 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17259 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17260 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17261 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17263
b833d51f
UD
172642010-10-12 Ulrich Drepper <drepper@redhat.com>
17265
17266 [BZ #12078]
17267 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17268 * posix/bug-regex31.input: Add test case.
17269
1751705d
UD
172702010-10-11 Ulrich Drepper <drepper@gmail.com>
17271
e9b9cbf5
UD
17272 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17273 * posix/bug-regex31.input: New file.
17274
17275 [BZ #12078]
17276 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17277 (parse_sub_exp): Fix last change, use postorder.
17278
ef06edbe
UD
17279 * posix/bug-regex31.c: New file.
17280 * posix/Makefile: Add rules to build and run bug-regex31.
17281
a129c80d
UD
17282 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17283
17284 [BZ #12078]
17285 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17286
b76b818e
UD
17287 [BZ #12108]
17288 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17289 to have entries in sys_siglist.
17290
1751705d
UD
17291 [BZ #12093]
17292 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17293 be NULL.
17294
9ff8d36f
JJ
172952010-10-07 Jakub Jelinek <jakub@redhat.com>
17296
17297 [BZ #3268]
17298 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17299 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17300 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17301 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17302 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17303 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17304 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17305 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17306 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17307 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17308 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17309 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17310 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17311 * math/ftestexcept.c (fetestexcept): Likewise.
17312 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17313 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17314 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17315 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17316 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17317 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17318 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17319
af325969
UD
173202010-10-11 Ulrich Drepper <drepper@gmail.com>
17321
c579b202 17322 [BZ #12107]
af325969
UD
17323 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17324 newline.
17325
67a67b95
UD
173262010-10-06 Ulrich Drepper <drepper@gmail.com>
17327
17328 * string/bug-strstr1.c: New file.
17329 * string/Makefile: Add rules to build and run bug-strstr1.
17330
5fb308bc
EB
173312010-10-05 Eric Blake <eblake@redhat.com>
17332
17333 [BZ #12092]
17334 * string/str-two-way.h (two_way_long_needle): Always clear memory
17335 when skipping input due to the shift table.
17336
45db99c7
UD
173372010-10-03 Ulrich Drepper <drepper@gmail.com>
17338
3b111893
UD
17339 [BZ #12005]
17340 * malloc/mcheck.c: Handle large requests.
17341
45db99c7
UD
17342 [BZ #12077]
17343 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17344 for strncmp and strncasecmp.
17345 * string/stratcliff.c: Add tests for strcmp and strncmp.
17346 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17347
cf7a1eb8
NI
173482010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17349
17350 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17351 __set_fpscr.
17352
6484ba5e
AJ
173532010-09-30 Andreas Jaeger <aj@suse.de>
17354
17355 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17356 (CGROUP_SUPER_MAGIC): Define.
17357 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17358 Handle btrfs and cgroup file systems.
17359 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17360 Likewise.
17361
91c42559
LM
173622010-09-27 Luis Machado <luisgpm@br.ibm.com>
17363
17364 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17365 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17366
87a97932
AK
173672010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17368
17369 [BZ #12067]
17370 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17371 trying to locate the ELF header.
17372
c21cc9bc
AS
173732010-09-27 Andreas Schwab <schwab@redhat.com>
17374
17375 [BZ #11611]
17376 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17377 Mask out sign-bit copies when constructing f_fsid.
17378
315970f6
PB
173792010-09-24 Petr Baudis <pasky@suse.cz>
17380
17381 * debug/stack_chk_fail_local.c: Add missing licence exception.
17382 * debug/warning-nop.c: Likewise.
17383
1ac7a2c7
JM
173842010-09-15 Joseph Myers <joseph@codesourcery.com>
17385
17386 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17387 implementing getdents64 using getdents syscall, set d_type if
17388 __ASSUME_GETDENTS32_D_TYPE.
17389
56801c50
AS
173902010-09-16 Andreas Schwab <schwab@redhat.com>
17391
17392 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17393 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17394
dda51327
UD
173952010-09-21 Ulrich Drepper <drepper@redhat.com>
17396
17397 [BZ #12037]
17398 * posix/unistd.h: Undo change of feature selection for ftruncate from
17399 2010-01-11.
17400
8ffcee4a
UD
174012010-09-20 Ulrich Drepper <drepper@redhat.com>
17402
a545ecd9 17403 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17404 detection.
17405
e24f0a8b
AS
174062010-09-20 Andreas Schwab <schwab@redhat.com>
17407
17408 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17409 fanotify_mark.
17410 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17411
7291c56f
AS
174122010-09-14 Andreas Schwab <schwab@redhat.com>
17413
17414 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17415 variables after CHECK_SP call.
17416 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17417
bc5fb037
AS
174182010-09-13 Andreas Schwab <schwab@redhat.com>
17419 Ulrich Drepper <drepper@redhat.com>
17420
17421 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17422 re-relocationg ld.so.
17423 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17424 _dl_init_paths call.
17425 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17426 here anymore.
17427
e66e7419
UD
174282010-09-14 Ulrich Drepper <drepper@redhat.com>
17429
17430 * resolv/res_init.c (__res_vinit): Count the default server we added.
17431
c044aa75
CLT
174322010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17433 Ulrich Drepper <drepper@redhat.com>
17434
17435 [BZ #11968]
17436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17437 (____longjmp_chk): Use %ebx for saving value across system call.
17438 Add unwind info.
17439
32cf4069
AS
174402010-09-06 Andreas Schwab <schwab@redhat.com>
17441
17442 * manual/Makefile: Don't mix pattern rules with normal rules.
17443
817328ee
AS
174442010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17445
17446 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17447 operation.
17448 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17449 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17450 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17451 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17452 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17453 Likewise.
17454
29fddf61
UD
174552010-09-04 Ulrich Drepper <drepper@redhat.com>
17456
17457 [BZ #11979]
17458 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17459 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17460
0959ffc9
UD
174612010-09-02 Ulrich Drepper <drepper@redhat.com>
17462
17463 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17464 * sysdeps/x86_64/addmul_1.S: Likewise.
17465 * sysdeps/x86_64/lshift.S: Likewise.
17466 * sysdeps/x86_64/mul_1.S: Likewise.
17467 * sysdeps/x86_64/rshift.S: Likewise.
17468 * sysdeps/x86_64/sub_n.S: Likewise.
17469 * sysdeps/x86_64/submul_1.S: Likewise.
17470
ece29840
ST
174712010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17472
0959ffc9
UD
17473 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17474 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17475 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17476 * bits/sched.h [__need_schedparam]
ece29840 17477 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17478 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17479 (__defined_schedparam): Define to 1.
ece29840
ST
17480 (__sched_param): New structure, identical to sched_param.
17481 (__need_schedparam): Undefine.
17482
e53a31fe
MF
174832010-08-31 Mike Frysinger <vapier@gentoo.org>
17484
fdc0c10d
MF
17485 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17486 (epoll_create1): Declare.
17487
e53a31fe
MF
17488 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17489
a726d796
AS
174902010-08-31 Andreas Schwab <schwab@redhat.com>
17491
17492 [BZ #7066]
17493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17494 shifting retval into place.
17495
2f3e3dc7
UD
174962010-09-01 Ulrich Drepper <drepper@redhat.com>
17497
f2933da9
UD
17498 * nis/rpcsvc/nis.h: Update copyright notice.
17499 * nis/rpcsvc/nis.x: Likewise.
17500 * nis/rpcsvc/nis_callback.h: Likewise.
17501 * nis/rpcsvc/nis_callback.x: Likewise.
17502 * nis/rpcsvc/nis_object.x: Likewise.
17503 * nis/rpcsvc/nis_tags.h: Likewise.
17504 * nis/rpcsvc/yp.h: Likewise.
17505 * nis/rpcsvc/yp.x: Likewise.
17506 * nis/rpcsvc/ypupd.h: Likewise.
17507 * nis/yp_xdr.c: Likewise.
17508 * nis/ypupdate_xdr.c: Likewise.
17509
2f3e3dc7
UD
17510 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17511 mainly the body of pmap_getport. Add parameters to specify timeouts.
17512 (pmap_getport): Use __libc_rpc_getport.
17513 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17514 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17515 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17516
f3dcc2f9
AS
175172010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17518
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17520 fanotify_mark.
17521
6d34eb5b
RM
175222010-08-27 Roland McGrath <roland@redhat.com>
17523
17524 * sysdeps/i386/i686/multiarch/Makefile
17525 (CFLAGS-varshift.c): New variable.
17526
9ea3de11
UD
175272010-08-27 Ulrich Drepper <drepper@redhat.com>
17528
c96d23fc
UD
17529 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17530 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17531
9ea3de11
UD
17532 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17533
17534 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17535
623aac7f
L
175362010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17537
17538 * sysdeps/x86_64/strlen.S: Unroll the loop.
17539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17540 strlen-sse2 strlen-sse2-bsf.
17541 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17542 __strlen_no_bsf if bit_Slow_BSF is set.
17543 (__strlen_sse42): Removed.
17544 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17545 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17546
8b2b7715
RM
175472010-08-25 Roland McGrath <roland@redhat.com>
17548
17549 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17550 * sysdeps/x86_64/multiarch/varshift.c: New file.
17551 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17552 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17553 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17554 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17555
e73015f2
L
175562010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17557
17558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17559 strlen-sse2 strlen-sse2-bsf.
17560 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17561 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17562 (__strlen_sse2): Removed.
17563 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17564 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17566 bit_Slow_BSF for Atom.
17567 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17568 (index_Slow_BSF): Define.
17569 (HAS_SLOW_BSF): Define.
17570
df24a73e
UD
175712010-08-25 Ulrich Drepper <drepper@redhat.com>
17572
17573 [BZ #10851]
17574 * resolv/res_init.c (__res_vinit): When no server address at all
17575 is given default to loopback.
17576
f2ac4868
RM
175772010-08-24 Roland McGrath <roland@redhat.com>
17578
09055553
RM
17579 * configure.in: Remove config-name.h generation.
17580 * configure: Regenerated.
17581 * config-name.in: File removed.
17582 * scripts/config-uname.sh: New file.
17583 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17584 ($(objdir)config-name.h): New target.
17585
f2ac4868
RM
17586 * sunrpc/rpc_parse.h: Avoid nested comment.
17587
73f27d5e
RH
175882010-08-24 Richard Henderson <rth@redhat.com>
17589 Ulrich Drepper <drepper@redhat.com>
17590 H.J. Lu <hongjiu.lu@intel.com>
17591
17592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17594 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17595 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17596 _mm_alignr_epi8 with _mm_loadu_si128.
17597 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17598 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17599 (__m128i_shift_right): Removed.
17600 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17601 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17602 * sysdeps/x86_64/multiarch/varshift.h: New file.
17603 * sysdeps/x86_64/multiarch/varshift.S: New file.
17604
84b9230c
MF
176052010-08-21 Mike Frysinger <vapier@gentoo.org>
17606
17607 * configure.in: Move assembler checks to before sysdep dir checking.
17608
9bbd0ddc
PB
176092010-08-20 Petr Baudis <pasky@suse.cz>
17610
17611 * LICENSES: Sync the sunrpc license.
17612
9da4bb31
UD
176132010-08-19 Ulrich Drepper <drepper@redhat.com>
17614
a7ab6ec8
UD
17615 * sunrpc/auth_des.c: Update copyright notice once again.
17616 * sunrpc/auth_none.c: Likewise.
17617 * sunrpc/auth_unix.c: Likewise.
17618 * sunrpc/authdes_prot.c: Likewise.
17619 * sunrpc/authuxprot.c: Likewise.
17620 * sunrpc/bindrsvprt.c: Likewise.
17621 * sunrpc/clnt_gen.c: Likewise.
17622 * sunrpc/clnt_perr.c: Likewise.
17623 * sunrpc/clnt_raw.c: Likewise.
17624 * sunrpc/clnt_simp.c: Likewise.
17625 * sunrpc/clnt_tcp.c: Likewise.
17626 * sunrpc/clnt_udp.c: Likewise.
17627 * sunrpc/clnt_unix.c: Likewise.
17628 * sunrpc/des_crypt.c: Likewise.
17629 * sunrpc/des_soft.c: Likewise.
17630 * sunrpc/get_myaddr.c: Likewise.
17631 * sunrpc/getrpcport.c: Likewise.
17632 * sunrpc/key_call.c: Likewise.
17633 * sunrpc/key_prot.c: Likewise.
17634 * sunrpc/openchild.c: Likewise.
17635 * sunrpc/pm_getmaps.c: Likewise.
17636 * sunrpc/pm_getport.c: Likewise.
17637 * sunrpc/pmap_clnt.c: Likewise.
17638 * sunrpc/pmap_prot.c: Likewise.
17639 * sunrpc/pmap_prot2.c: Likewise.
17640 * sunrpc/pmap_rmt.c: Likewise.
17641 * sunrpc/rpc/auth.h: Likewise.
17642 * sunrpc/rpc/auth_unix.h: Likewise.
17643 * sunrpc/rpc/clnt.h: Likewise.
17644 * sunrpc/rpc/des_crypt.h: Likewise.
17645 * sunrpc/rpc/key_prot.h: Likewise.
17646 * sunrpc/rpc/netdb.h: Likewise.
17647 * sunrpc/rpc/pmap_clnt.h: Likewise.
17648 * sunrpc/rpc/pmap_prot.h: Likewise.
17649 * sunrpc/rpc/pmap_rmt.h: Likewise.
17650 * sunrpc/rpc/rpc.h: Likewise.
17651 * sunrpc/rpc/rpc_des.h: Likewise.
17652 * sunrpc/rpc/rpc_msg.h: Likewise.
17653 * sunrpc/rpc/svc.h: Likewise.
17654 * sunrpc/rpc/svc_auth.h: Likewise.
17655 * sunrpc/rpc/types.h: Likewise.
17656 * sunrpc/rpc/xdr.h: Likewise.
17657 * sunrpc/rpc_clntout.c: Likewise.
17658 * sunrpc/rpc_cmsg.c: Likewise.
17659 * sunrpc/rpc_common.c: Likewise.
17660 * sunrpc/rpc_cout.c: Likewise.
17661 * sunrpc/rpc_dtable.c: Likewise.
17662 * sunrpc/rpc_hout.c: Likewise.
17663 * sunrpc/rpc_main.c: Likewise.
17664 * sunrpc/rpc_parse.c: Likewise.
17665 * sunrpc/rpc_parse.h: Likewise.
17666 * sunrpc/rpc_prot.c: Likewise.
17667 * sunrpc/rpc_sample.c: Likewise.
17668 * sunrpc/rpc_scan.c: Likewise.
17669 * sunrpc/rpc_scan.h: Likewise.
17670 * sunrpc/rpc_svcout.c: Likewise.
17671 * sunrpc/rpc_tblout.c: Likewise.
17672 * sunrpc/rpc_util.c: Likewise.
17673 * sunrpc/rpc_util.h: Likewise.
17674 * sunrpc/rpcinfo.c: Likewise.
17675 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17676 * sunrpc/rpcsvc/key_prot.x: Likewise.
17677 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17678 * sunrpc/rpcsvc/mount.x: Likewise.
17679 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17680 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17681 * sunrpc/rpcsvc/rex.x: Likewise.
17682 * sunrpc/rpcsvc/rstat.x: Likewise.
17683 * sunrpc/rpcsvc/rusers.x: Likewise.
17684 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17685 * sunrpc/rpcsvc/spray.x: Likewise.
17686 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17687 * sunrpc/rtime.c: Likewise.
17688 * sunrpc/svc.c: Likewise.
17689 * sunrpc/svc_auth.c: Likewise.
17690 * sunrpc/svc_authux.c: Likewise.
17691 * sunrpc/svc_raw.c: Likewise.
17692 * sunrpc/svc_run.c: Likewise.
17693 * sunrpc/svc_simple.c: Likewise.
17694 * sunrpc/svc_tcp.c: Likewise.
17695 * sunrpc/svc_udp.c: Likewise.
17696 * sunrpc/svc_unix.c: Likewise.
17697 * sunrpc/svcauth_des.c: Likewise.
17698 * sunrpc/xcrypt.c: Likewise.
17699 * sunrpc/xdr.c: Likewise.
17700 * sunrpc/xdr_array.c: Likewise.
17701 * sunrpc/xdr_float.c: Likewise.
17702 * sunrpc/xdr_mem.c: Likewise.
17703 * sunrpc/xdr_rec.c: Likewise.
17704 * sunrpc/xdr_ref.c: Likewise.
17705 * sunrpc/xdr_sizeof.c: Likewise.
17706 * sunrpc/xdr_stdio.c: Likewise.
17707
9da4bb31
UD
17708 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17709 handling.
17710
bdaa77bc
AS
177112010-08-19 Andreas Schwab <schwab@redhat.com>
17712
17713 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17714
fe2f79db
LM
177152010-08-19 Luis Machado <luisgpm@br.ibm.com>
17716
17717 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17718 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17719 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17720 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17721 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17722 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17723 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17724 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17725 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17726 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17727 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17728 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17729 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17730 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17731
b9b42ee0
AB
177322010-07-26 Anton Blanchard <anton@samba.org>
17733
17734 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17735 * malloc/arena.c (heap_trim): Likewise.
17736
1c06ba31
UD
177372010-08-16 Ulrich Drepper <drepper@redhat.com>
17738
17739 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17740 here. Not...
17741 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17742 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17743
f8392f40
L
177442010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17745
17746 * sysdeps/i386/elf/Makefile: New file.
17747
3162f12e
AS
177482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17749
17750 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17751 from fanotify_init.
17752 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17753 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17754
28c90b2c
UD
177552010-08-15 Ulrich Drepper <drepper@redhat.com>
17756
17757 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17758 of strncasecmp_l.
1feccb6c 17759 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17760
ca6bb004
UD
177612010-08-14 Ulrich Drepper <drepper@redhat.com>
17762
e9f82e0d
UD
17763 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17764 strncase_l-nonascii.
17765 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17766 Add strncase_l-ssse3.
17767 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17768 * sysdeps/x86_64/strcmp.S: Likewise.
17769 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17770 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17771 * sysdeps/x86_64/strncase.S: New file.
17772 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17773 * sysdeps/x86_64/strncase_l.S: New file.
17774 * string/Makefile (strop-tests): Add strncasecmp.
17775 * string/test-strncasecmp.c: New file.
17776
17777 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17778 warning.
17779
ca6bb004
UD
17780 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17781 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17782
052fa7b3
AS
177832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17784
17785 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17786
962dba78
UD
177872010-08-12 Ulrich Drepper <drepper@redhat.com>
17788
17789 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17790 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17791 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17792
bebff237
AM
177932010-05-01 Alan Modra <amodra@gmail.com>
17794
17795 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17796 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17797 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17798 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17799 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17800 tidying. Don't tail-call __sigjmp_save for static lib.
17801 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17802 save location.
17803 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17804 (CALL_MCOUNT): Add eh info, and nop after bl.
17805 (TAIL_CALL_SYSCALL_ERROR): New macro.
17806 (PSEUDO_RET): Use it.
17807 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17808 Correct save location of integer regs and cr.
17809 (_dl_profile_resolve): Correct cr save location. Delete nops
17810 after bl when SHARED. Reduce cfi size a little by better
17811 placement of cfi directives.
17812 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17813 make a stack frame. Instead use parm save area as a temp.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17815 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17817 Don't make a stack frame for parent, use parm save area.
17818 Increase child stack frame to 112 bytes. Don't save unused reg,
17819 and adjust reg usage. Set up cfi on error recovery and
17820 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17822 (__makecontext): Add dummy nop after jump to exit.
17823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17824 Use correct parm save area and cr save, reduce stack frame.
17825 Correct cfi for possible PSEUDO_RET frame setup.
17826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17827 Branch to local label emitted by PSEUDO_RET rather than
17828 __syscall_error.
17829
02637374
AS
178302010-08-12 Andreas Schwab <schwab@redhat.com>
17831
17832 [BZ #11904]
17833 * locale/programs/locale.c (print_assignment): New function.
17834 (show_locale_vars): Use it.
17835
c3e2f19b
UD
178362010-08-11 Ulrich Drepper <drepper@redhat.com>
17837
3cdaa6ad
UD
17838 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17839 field.
17840 (struct statfs64): Likewise.
17841 (_STATFS_F_FLAGS): Define.
17842 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17843 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17844 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17845 (ST_VALID): Define locally.
17846 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17847 __statvfs_getflags, use the provided value.
17848 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17849 __ASSUME_STATFS_F_FLAGS.
17850
754f7da3
UD
17851 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17852
10b3bedc
UD
17853 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17854 Add sys/fanotify.h.
17855 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17856 fanotify_mask for GLIBC_2.13.
17857 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17858 fanotify_init and fanotify_mark.
17859 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17860 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17861
c08fb0d7
UD
17862 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17863 Add prlimit.
17864 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17865 prlimit64 for GLIBC_2.13.
17866 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17867 prlimit64.
17868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17869 syscall.
17870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17871 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17872 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17873 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17874 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17875 add prlimit alias.
17876 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17877
15bac72b
UD
17878 [BZ #11903]
17879 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17880 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17881
c3e2f19b
UD
17882 * nss/Makefile: Add rules to build and run tst-nss-test1.
17883 * shlib-versions: Add entry for libnss_test1.
17884 * nss/nss_test1.c: New file.
17885 * nss/tst-nss-test1.c: New file.
17886
17887 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17888 (__nss_configure_lookup): Set appropriate entry in
17889 __nss_configure_lookup to true.
17890 * nss/nsswitch.h: Define enum with indeces of databases in
17891 databases and __nss_database_custom arrays. Declare
17892 __nss_database_custom.
17893 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17894 to avoid using nscd when custom rules are installed.
17895 * nss/getXXbyYY_r.c: Likewise.
17896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17897
17898 * nss/nss_files/files-parse.c: Whitespace fixes.
17899
f15ce4d8
UD
179002010-08-09 Ulrich Drepper <drepper@redhat.com>
17901
17902 [BZ #11883]
17903 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17904 * posix/fnmatch_loop.c: Likewise.
17905
d22e4cc9
AK
179062010-07-17 Andi Kleen <ak@linux.intel.com>
17907
17908 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17909 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17910 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17911 * Versions.def [GLIBC_2.13]: Add.
17912
805bc17d
UD
179132010-08-06 Ulrich Drepper <drepper@redhat.com>
17914
17915 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17916 Also fail if tpwd after pwuid call is NULL.
17917
5a42321d
ST
179182010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17919
17920 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17921 when converting to ms.
17922
fd3ebeda
ST
179232010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17924
17925 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17926 EOPNOTSUPP errors with ENOTTY.
17927 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17928 EOPNOTSUPP errors with ENOTTY.
17929
73507d3a
UD
179302010-07-31 Ulrich Drepper <drepper@redhat.com>
17931
17932 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17933 Add strcasecmp_l-ssse3.
17934 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17935 strcasecmp.
17936 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17937 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17938 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17939
fe36dd02
UD
179402010-07-30 Ulrich Drepper <drepper@redhat.com>
17941
66f6765a
UD
17942 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17943
42e08a54
UD
17944 * string/Makefile (strop-tests): Add strcasecmp.
17945 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17946 strcasecmp_l-nonascii.
17947 (gen-as-const-headers): Add locale-defines.sym.
17948 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17949 * sysdeps/x86_64/strcasecmp.S: New file.
17950 * sysdeps/x86_64/strcasecmp_l.S: New file.
17951 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17952 * sysdeps/x86_64/locale-defines.sym: New file.
17953 * string/test-strcasecmp.c: New file.
17954
fe36dd02
UD
17955 * string/test-strcasestr.c: Test both ends of the range of characters.
17956 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17957
48cbc0d6
RM
179582010-07-29 Roland McGrath <roland@redhat.com>
17959
76e6d6bc 17960 [BZ #11856]
48cbc0d6
RM
17961 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17962
880113d9
UD
179632010-07-27 Ulrich Drepper <drepper@redhat.com>
17964
17965 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17966 for ld.so.
17967
deb9cabb
AS
179682010-07-27 Andreas Schwab <schwab@redhat.com>
17969
17970 * manual/memory.texi (Malloc Tunable Parameters): Document
17971 M_PERTURB.
17972
1c7570ff
RM
179732010-07-26 Roland McGrath <roland@redhat.com>
17974
17975 [BZ #11840]
17976 * configure.in (-fgnu89-inline check): Set and substitute
17977 gnu89_inline, not libc_cv_gnu89_inline.
17978 * configure: Regenerated.
17979 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17980
24fb0f88
UD
179812010-07-26 Ulrich Drepper <drepper@redhat.com>
17982
17983 * string/test-strnlen.c: New file.
17984 * string/Makefile (strop-tests): Add strnlen.
17985 * string/tester.c (test_strnlen): Add a few more test cases.
17986 * string/tst-strlen.c: Better error reporting.
17987
17988 * sysdeps/x86_64/strnlen.S: New file.
17989
8e96b93a
UD
179902010-07-24 Ulrich Drepper <drepper@redhat.com>
17991
17992 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17993 lower-latency instructions.
17994
dbc676d4
UD
179952010-07-23 Ulrich Drepper <drepper@redhat.com>
17996
17997 * string/test-strcasestr.c: New file.
17998 * string/test-strstr.c: New file.
17999 * string/Makefile (strop-tests): Add strstr and strcasestr.
18000 * string/str-two-way.h: Don't undefine MAX.
18001 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18002
f6a31e0e
AS
180032010-07-21 Andreas Schwab <schwab@redhat.com>
18004
18005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18006 strcasestr-nonascii.
18007 (CFLAGS-strcasestr-nonascii.c): Define.
18008 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18009 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18010 Remove unused attribute.
18011
5dbc3b6c
RM
180122010-07-20 Roland McGrath <roland@redhat.com>
18013
18014 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18015 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18016 ld.so.cache was broken. With it, there is no way to disable dsocaps
18017 like LD_HWCAP_MASK can disable hwcaps.
18018
23d101d8
EPM
180192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18020
18021 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18022
cc9f2e47
UD
180232010-07-16 Ulrich Drepper <drepper@redhat.com>
18024
18025 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18026 call in strcasestr.
18027 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18028 __strcasestr_sse42_nonascii.
18029 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18030 strcasestr-nonascii.c.
18031 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18032
77c1b069
LM
180332010-06-15 Luis Machado <luisgpm@br.ibm.com>
18034
18035 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18036 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18037 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18038 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18039
440566c3
UD
180402010-07-09 Ulrich Drepper <drepper@redhat.com>
18041
18042 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18043 fcntl.
18044
5be9d05d
AS
180452010-07-06 Andreas Schwab <schwab@redhat.com>
18046
c30b7ee2 18047 [BZ #11577]
5be9d05d
AS
18048 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18049 dl_signal_cerror.
18050
8a492a67
UD
180512010-07-06 Ulrich Drepper <drepper@redhat.com>
18052
18053 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18054 _PC_PIPE_BUF using F_GETPIPE_SZ.
18055
713df3d5
RM
180562010-07-05 Roland McGrath <roland@redhat.com>
18057
18058 * manual/arith.texi (Rounding Functions): Fix rint description
18059 implicit in round description.
18060
702e8f14
UD
180612010-07-02 Ulrich Drepper <drepper@redhat.com>
18062
18063 * elf/Makefile: Fix linking for a few tests to make recent linker
18064 happy.
18065
52ed8be9
AS
180662010-06-30 Andreas Schwab <schwab@redhat.com>
18067
18068 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18069 $(common-objpfx)libc_nonshared.a.
18070
f47c9a11
LM
180712010-06-21 Luis Machado <luisgpm@br.ibm.com>
18072
18073 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18074 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18075 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18076 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18077 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18078 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18079 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18080 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18095 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18096 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18097 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18098 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18099 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18100 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18101 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18102 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18103 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18104 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18105 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18106 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18121
6fb8cbcb
L
181222010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18123
18124 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18125 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18126 * string/memmove.c (memmove): Renamed to ...
18127 (MEMMOVE): ...this. Default to memmove.
18128 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18129 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18130 (END_CHK): Define.
18131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18132 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18133 mempcpy-ssse3-back memmove-ssse3-back.
18134 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18135 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18136 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18137 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18138 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18139 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18140 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18141 * sysdeps/x86_64/multiarch/memmove.c: New file.
18142 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18143 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18144 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18145 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18146 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18147 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18148 Define.
18149 (index_Fast_Copy_Backward): Define.
18150 (HAS_ARCH_FEATURE): Define.
18151 (HAS_FAST_REP_STRING): Define.
18152 (HAS_FAST_COPY_BACKWARD): Define.
18153
4e733bac 181542010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18155
18156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18157 Restore proper fallback handling.
18158
63c4ed22
UD
181592010-06-19 Ulrich Drepper <drepper@redhat.com>
18160
ac2b484c
UD
18161 [BZ #11701]
18162 * posix/group_member.c (__group_member): Correct checking loop.
18163
63c4ed22
UD
18164 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18165 OOM in getpwuid_r correctly. Return error number when the caller
18166 should return, otherwise -1.
18167 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18168 call returning > 0 value.
18169 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18170
765ade4b
AS
181712010-06-07 Andreas Schwab <schwab@redhat.com>
18172
18173 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18174 libc_nonshared.a from targets in modules-names.
18175
80da2e09
KS
181762010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18177
18178 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18179 requires it.
18180
158db122
LM
181812010-06-10 Luis Machado <luisgpm@br.ibm.com>
18182
18183 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18184 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18185 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18186 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18187
caa78cf8
AS
181882010-06-02 Andreas Schwab <schwab@redhat.com>
18189
18190 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18191
b2ef2c01
UD
181922010-06-14 Ulrich Drepper <drepper@redhat.com>
18193
18194 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18195 and F_GETPIPE_SZ.
18196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18197 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18200 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18201 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18202
fbd643b6
RM
182032010-06-14 Roland McGrath <roland@redhat.com>
18204
18205 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18206
f32f2869
JJ
182072010-06-07 Jakub Jelinek <jakub@redhat.com>
18208
18209 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18210 __REDIRECT followed by __THROW.
18211 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18212 * posix/getopt.h (getopt): Likewise.
18213
2a50c078
EPM
182142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18215
18216 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18217 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18218 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18219 in AT_FLAGS.
18220 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18221 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18222
eb5ad2eb
LM
182232010-05-28 Luis Machado <luisgpm@br.ibm.com>
18224
18225 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18226
3c88fe1e
L
182272010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18228
18229 [BZ #11640]
18230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18231 Properly check family and model.
18232
d2f73151
TY
182332010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18234
18235 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18236
ebd2e13d
LM
182372010-05-24 Luis Machado <luisgpm@br.ibm.com>
18238
18239 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18240
b32b8b45
UD
182412010-05-21 Ulrich Drepper <drepper@redhat.com>
18242
18243 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18244 symbol reference.
18245
9acbe24d
AS
182462010-05-19 Andreas Schwab <schwab@redhat.com>
18247
18248 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18249 symbol reference.
18250
f0ccf6ea
AS
182512010-05-21 Andreas Schwab <schwab@redhat.com>
18252
3d04ff3a
AS
18253 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18254 and internal_recvmmsg.
18255 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18256 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18257 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18258 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18259
f0ccf6ea
AS
18260 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18261 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18262 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18263
5b08ac57
AS
182642010-05-20 Andreas Schwab <schwab@redhat.com>
18265
18266 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18267
4828935d
LM
182682010-05-17 Luis Machado <luisgpm@br.ibm.com>
18269
18270 POWER7 optimizations.
18271 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18272 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18273
373d545e
UD
182742010-05-19 Ulrich Drepper <drepper@redhat.com>
18275
18276 * version.h: Update for 2.13 development version.
18277
21a2b1ae
AS
182782010-05-12 Andrew Stubbs <ams@codesourcery.com>
18279
18280 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18281 exceptions. Return 0.
18282
3f7dcb2b
RM
182832010-05-07 Roland McGrath <roland@redhat.com>
18284
18285 * elf/ldconfig.c (main): Add a const.
18286
5f24d53a 182872010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18288
a160f8d8
UD
18289 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18290 (args_options): Add no-idn option.
18291 (ahosts_keys_int): Add idn_flags to ai_flags.
18292 (parse_option): Handle 'i' option to clear idn_flags.
18293
5f24d53a
UD
18294 * malloc/malloc.c (_int_free): Possible race in the most recently
18295 added check. Only act on the data if no current modification
18296 happened.
265bb1ce
UD
18297
18298See ChangeLog.17 for earlier changes.