]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Declare __getdirentries in internal dirent.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a3f95dcc
RM
12012-08-15 Roland McGrath <roland@hack.frob.com>
2
67cc348d
RM
3 * include/dirent.h: Declare __getdirentries.
4
a3f95dcc
RM
5 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7
ca98e171
MF
82012-08-14 Mike Frysinger <vapier@gentoo.org>
9
10 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
11 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12 * sysdeps/i386/configure: Regenerated.
13 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14 STABS_CURRENT_FILE, and STABS_FUN.
15 (END): Remove call to STABS_FUN_END.
16 (STABS_CURRENT_FILE1): Delete.
17 (STABS_CURRENT_FILE): Likewise.
18 (STABS_FUN): Likewise.
19 (STABS_FUN_END): Likewise.
20 (STABS_FUN2): Likewise.
21 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22 * sysdeps/x86_64/configure: Regenerated.
23
5908bf46
RM
242012-08-14 Roland McGrath <roland@hack.frob.com>
25
26 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27 * elf/dl-lookup.c: Likewise.
5908bf46 28
f2c05b9e
JM
292012-08-14 Joseph Myers <joseph@codesourcery.com>
30
31 * sysdeps/unix/sysv/linux/kernel-features.h
32 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34 unconditionally.
35 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36 unconditionally.
37 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38 condition on __ASSUME_CLONE_THREAD_FLAGS.
39
e11f5155
AJ
402012-08-14 Andreas Jaeger <aj@suse.de>
41
42 * sysdeps/i386/fpu/libm-test-ulps: Update.
43
51a9ba86
MK
442012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
45
2fdd4f78
AJ
46 * include/atomic.h (atomic_exchange_and_add): Split into ...
47 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48 New atomic macros.
51a9ba86 49
ba6cba9e
MT
502012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
51
52 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53
42443a47
JL
542012-08-13 Jeff Law <law@redhat.com>
55
56 * manual/stdio.texi (snprintf): Clarify handling of the trailing
57 null byte in the output string.
58
121dce05
JM
592012-08-10 Joseph Myers <joseph@codesourcery.com>
60
61 * sysdeps/unix/sysv/linux/kernel-features.h
62 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64 (__ASSUME_ARG_MAX_STACK_BASED): Define.
65 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
66 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
68 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
69
bf51f568
JL
702012-08-09 Jeff Law <law@redhat.com>
71
72 [BZ #13939]
73 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
74 When avoid_arena is set, don't retry in the that arena. Pick the
75 next one, whatever it might be.
76 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
77 (arena_lock): Pass in new parameter to arena_get2.
78 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
79 arena_get2.
80 (__libc_malloc): Unify retrying after main arena failure with
81 __libc_memalign version.
82 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
83
f85fa270
L
842012-08-09 H.J. Lu <hongjiu.lu@intel.com>
85
86 [BZ #14166]
87 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
88 to __redirect_strstr.
89 (__strstr_sse42): Use typeof __redirect_strstr.
90 (__strstr_ia32): Likewise.
91 (__libc_strstr): New prototype.
92 (strstr): Renamed to ...
93 (__libc_strstr): This.
94 (strstr): New strong alias of __libc_strstr.
95 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
96 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
97 __redirect_time.
98 Include <time.h>.
99 (__libc_time): New prototype.
100 (time_ifunc): Replace time with __libc_time.
101 (time): New strong alias and hidden definition of __libc_time.
102 (__GI_time): Remove strong alias.
103 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
104 Include <stddef.h>.
105 (memmove): Redefined to __redirect_memmove.
106 (__memmove_sse2): Use typeof __redirect_memmove.
107 (__memmove_ssse3): Likewise.
108 (__memmove_ssse3_back): Likewise.
109 (__libc_memmove): New prototype.
110 (memmove): Renamed to ...
111 (__libc_memmove): This.
112 (memmove): New strong alias of __libc_memmove.
113
33b4a91e
MS
1142012-08-08 Mark Salter <msalter@redhat.com>
115
116 * elf/elf.h
117 (R_MN10300_TLS_GD): Define.
118 (R_MN10300_TLS_LD): Likewise.
119 (R_MN10300_TLS_LDO): Likewise.
120 (R_MN10300_TLS_GOTIE): Likewise.
121 (R_MN10300_TLS_IE): Likewise.
122 (R_MN10300_TLS_LE): Likewise.
123 (R_MN10300_TLS_DTPMOD): Likewise.
124 (R_MN10300_TLS_DTPOFF): Likewise.
125 (R_MN10300_TLS_TPOFF): Likewise.
126 (R_MN10300_SYM_DIFF): Likewise.
127 (R_MN10300_ALIGN): Likewise.
128 (R_MN10300_NUM): Update.
129
b36137f1
JM
1302012-08-08 Joseph Myers <joseph@codesourcery.com>
131
132 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
133 Remove.
134
cdd915fd
RM
1352012-08-08 Roland McGrath <roland@hack.frob.com>
136
a2433aac
RM
137 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
138
cdd915fd
RM
139 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
140 sysdeps/unix -> sysdeps/posix move.
141 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
142
bf9b740a
AM
1432012-08-07 Allan McRae <allan@archlinux.org>
144
145 [BZ #14303]
146 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
147 (SUNOS_CPP): Likewise.
148 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
149 not found.
150 (open_input): Call CPP using execvp.
151
93df14ee
JM
1522012-08-07 Joseph Myers <joseph@codesourcery.com>
153
154 * sysdeps/unix/sysv/linux/kernel-features.h
155 (__ASSUME_PROT_GROWSUPDOWN): Remove.
156 (__ASSUME_NO_CLONE_DETACHED): Likewise.
157 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
158 (__ASSUME_WAITID_SYSCALL): Likewise.
159 * sysdeps/unix/sysv/linux/dl-execstack.c
160 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
161 code unconditional.
162 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
163 conditional code.
164 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
165 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
166 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
167 code.
168 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
169 unconditional.
170 [__ASSUME_WAITID_SYSCALL]: Likewise.
171 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
172
d34689de
RM
1732012-08-07 Roland McGrath <roland@hack.frob.com>
174
a281decc
RM
175 * sysdeps/unix/closedir.c: Renamed to ...
176 * sysdeps/posix/closedir.c: ... here.
177 * sysdeps/unix/dirfd.c: Renamed to ...
178 * sysdeps/posix/dirfd.c: ... here.
179 * sysdeps/unix/dirstream.h: Renamed to ...
180 * sysdeps/posix/dirstream.h: ... here.
181 * sysdeps/unix/fdopendir.c: Renamed to ...
182 * sysdeps/posix/fdopendir.c: ... here.
183 * sysdeps/unix/opendir.c: Renamed to ...
184 * sysdeps/posix/opendir.c: ... here.
185 * sysdeps/unix/readdir.c: Renamed to ...
186 * sysdeps/posix/readdir.c: ... here.
187 * sysdeps/unix/readdir_r.c: Renamed to ...
188 * sysdeps/posix/readdir_r.c: ... here.
189 * sysdeps/unix/rewinddir.c: Renamed to ...
190 * sysdeps/posix/rewinddir.c: ... here.
191 * sysdeps/unix/seekdir.c: Renamed to ...
192 * sysdeps/posix/seekdir.c: ... here.
193 * sysdeps/unix/telldir.c: Renamed to ...
194 * sysdeps/posix/telldir.c: ... here.
195 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
196 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
197 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
198 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
199
22895b47
RM
200 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
201 * bits/fcntl.h: ... here.
202
707a53b6
RM
203 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
204 not 0.
205 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
206 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
207 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
208 (struct flock): Move l_start, l_len to the beginning.
209 Use __pid_t for l_pid.
210 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
211 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
212 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
213 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
214 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
215 [__USE_LARGEFILE64] (struct flock64): New type.
216 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
217
f0bd3e25
RM
218 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
219 * bits/dirent.h: ... here.
220
d34689de
RM
221 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
222 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
223
6dad2c06
JM
2242012-08-07 Joseph Myers <joseph@codesourcery.com>
225
226 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
227 Change from 2.6.0 to 2.6.16.
228 * sysdeps/unix/sysv/linux/configure: Regenerated.
229 * sysdeps/unix/sysv/linux/kernel-features.h
230 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
231 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
232 version.
233 (__ASSUME_UTIMES): Likewise.
234 (__ASSUME_CLONE_STOPPED): Remove.
235 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
236 architectures, not kernel version.
237 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
238 (__ASSUME_NO_CLONE_DETACHED): Likewise.
239 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
240 (__ASSUME_WAITID_SYSCALL): Likewise.
241 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
242 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
243 * README: State 2.6.16 as minimum Linux kernel version. Do not
244 refer to older versions.
245
03af9520
RM
2462012-08-06 Roland McGrath <roland@hack.frob.com>
247
8e49df1d
RM
248 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
249 Define alphasort64 as an alias.
250 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
251 Define versionsort64 as an alias.
252 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
253 Define scandir64 as an alias.
254 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
255 Define scandirat64 as an alias.
256 * dirent/alphasort64.c (alphasort64):
257 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
258 * dirent/versionsort64.c: Likewise.
259 * dirent/scandir64.c: Likewise.
260 * dirent/scandirat64.c: Likewise.
261 * sysdeps/wordsize-64/alphasort.c: File removed.
262 * sysdeps/wordsize-64/alphasort64.c: File removed.
263 * sysdeps/wordsize-64/scandir.c: File removed.
264 * sysdeps/wordsize-64/scandir64.c: File removed.
265 * sysdeps/wordsize-64/scandirat.c: File removed.
266 * sysdeps/wordsize-64/scandirat64.c: File removed.
267 * sysdeps/wordsize-64/versionsort.c: File removed.
268 * sysdeps/wordsize-64/versionsort64.c: File removed.
269 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
270 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
271 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
272 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
273 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
274 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
275 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
276 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
277
278 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
279 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
280 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
281 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
282 [defined __arch64__ || defined __sparcv9]
283 (__INO_T_MATCHES_INO64_T): New macro.
284 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
285 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
286 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
287 * sysdeps/unix/sysv/linux/bits/dirent.h
288 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
289 (_DIRENT_MATCHES_DIRENT64): New macro.
290
03af9520
RM
291 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
292 Define lockf64 as an alias.
293 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
294 Define fseeko64 as an alias.
295 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
296 Define ftello64 as an alias.
297 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
298 Define _IO_fgetpos64 and fgetpos64 as aliases.
299 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
300 Define _IO_fsetpos64 and fsetpos64 as aliases.
301 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
302 Conditionalize body on this.
303 * libio/fseeko64.c: Likewise.
304 * libio/ftello64.c: Likewise.
305 * libio/iofgetpos64.c: Likewise.
306 * libio/iofsetpos64.c: Likewise.
307 * sysdeps/wordsize-64/lockf.c: File removed.
308 * sysdeps/wordsize-64/lockf64.c: File removed.
309 * sysdeps/wordsize-64/fseeko.c: File removed.
310 * sysdeps/wordsize-64/fseeko64.c: File removed.
311 * sysdeps/wordsize-64/ftello.c: File removed.
312 * sysdeps/wordsize-64/ftello64.c: File removed.
313 * sysdeps/wordsize-64/iofgetpos.c: File removed.
314 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
315 * sysdeps/wordsize-64/iofsetpos.c: File removed.
316 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
317 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
318 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
319 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
320 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
321 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
322 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
323 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
324 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
325 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
326 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
327
328 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
330 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
332 [defined __arch64__ || defined __sparcv9]
333 (__OFF_T_MATCHES_OFF64_T): New macro.
334 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
335 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
337 (__OFF_T_MATCHES_OFF64_T): New macro.
338
c5757acd
L
3392012-08-06 H.J. Lu <hongjiu.lu@intel.com>
340
341 * stdlib/secure-getenv.c (__secure_getenv): Replace
342 GLIBC_2_16 with GLIBC_2_17.
343
3a31811e
L
3442012-08-06 H.J. Lu <hongjiu.lu@intel.com>
345
346 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
347 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
348
faa2bccb
DM
3492012-08-03 David S. Miller <davem@davemloft.net>
350
351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
352
85fe1997
JM
3532012-08-03 Joseph Myers <joseph@codesourcery.com>
354
355 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
356 Remove.
357 (__ASSUME_CORRECT_SI_PID): Likewise.
358 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
359 (__ASSUME_TMPFS_NAME): Likewise.
360 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
361 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
362 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
363 (HAVE_AUX_SECURE): Make definition unconditional.
364 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
365 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
366
4f75b7a0
RM
3672012-08-03 Roland McGrath <roland@hack.frob.com>
368
369 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
370 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
371 * sysdeps/mach/hurd/eloop-threshold.h: New file.
372 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
373 __eloop_threshold instead of SYMLOOP_MAX.
374
375 * sysdeps/generic/eloop-threshold.h: New file.
376 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
377 of MAXSYMLINKS.
378 * elf/chroot_canon.c (chroot_canon): Likewise.
379
7aab07e4
JM
3802012-08-03 Joseph Myers <joseph@codesourcery.com>
381
382 [BZ #13717]
383 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
384 Change to 2.6.0 everywhere.
385 * sysdeps/unix/sysv/linux/configure: Regenerated.
386 * sysdeps/unix/sysv/linux/kernel-features.h
387 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
388 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
389 kernel versions.
390 (__ASSUME_POSIX_TIMERS): Define unconditionally.
391 (__ASSUME_FUTEX_REQUEUE): Remove.
392 (__ASSUME_STATFS64): Define unconditionally.
393 (__ASSUME_AT_SECURE): Likewise.
394 (__ASSUME_CORRECT_SI_PID): Likewise.
395 (__ASSUME_TGKILL): Define without depending on kernel version for
396 i386.
397 (__ASSUME_UTIMES): Likewise.
398 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
399 kernel version.
400 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
401 (__ASSUME_TMPFS_NAME): Likewise.
402 * README: Update reference to Linux kernel versions.
403
b67e9372
MP
4042012-08-02 Marek Polacek <polacek@redhat.com>
405
406 [BZ#14150]
407 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
408 libc_cv_asm_type_prefix with %.
409 * configure: Regenerated.
d2441631
RM
410 * include/libc-symbols.h: Remove comment about
411 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
412 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
413 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
414 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
415 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
416 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
417 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
418 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
419 * elf/tst-unique2mod1.c: Likewise.
420 * elf/tst-unique1mod2.c: Likewise.
421 * elf/tst-unique1mod1.c: Likewise.
422 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
423 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
424 Replace ASM_TYPE_DIRECTIVE with .type.
425 * sysdeps/s390/s390-64/sysdep.h: Likewise.
426 * sysdeps/i386/sysdep.h: Likewise.
427 * sysdeps/x86_64/sysdep.h: Likewise.
428 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
430 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 431 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
432 * sysdeps/powerpc/powerpc32/sysdep.h:
433 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
434 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
435 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
436 * sysdeps/i386/fpu/e_powf.S: Likewise.
437 * sysdeps/i386/fpu/e_expl.S: Likewise.
438 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
439 * sysdeps/i386/fpu/e_acosh.S: Likewise.
440 * sysdeps/i386/fpu/e_pow.S: Likewise.
441 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
442 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
443 * sysdeps/i386/fpu/s_expm1.S: Likewise.
444 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
445 * sysdeps/i386/fpu/e_log2.S: Likewise.
446 * sysdeps/i386/fpu/e_log2l.S: Likewise.
447 * sysdeps/i386/fpu/e_scalb.S: Likewise.
448 * sysdeps/i386/fpu/e_powl.S: Likewise.
449 * sysdeps/i386/fpu/e_log10f.S: Likewise.
450 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
451 * sysdeps/i386/fpu/e_logl.S: Likewise.
452 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
453 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
454 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
455 * sysdeps/i386/fpu/e_log2f.S: Likewise.
456 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
457 * sysdeps/i386/fpu/e_log.S: Likewise.
458 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
459 * sysdeps/i386/fpu/e_logf.S: Likewise.
460 * sysdeps/i386/fpu/e_log10l.S: Likewise.
461 * sysdeps/i386/fpu/e_atanh.S: Likewise.
462 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
463 * sysdeps/i386/fpu/e_log10.S: Likewise.
464 * sysdeps/i386/fpu/s_frexp.S: Likewise.
465 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
466 * sysdeps/i386/fpu/s_asinh.S: Likewise.
467 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
468 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
469 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
470 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
471 * sysdeps/i386/i686/strtok.S: Likewise.
472 * sysdeps/i386/i386-mcount.S: Likewise.
473 * sysdeps/i386/strtok.S: Likewise.
474 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
475 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
476 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
477 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
478 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
479 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
480 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
481 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
482 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
483 * sysdeps/x86_64/_mcount.S: Likewise.
484 * sysdeps/x86_64/strtok.S: Likewise.
485 * sysdeps/sh/_mcount.S: Likewise.
486
2747bf9a
RM
4872012-08-01 Roland McGrath <roland@hack.frob.com>
488
489 * libio/iofopen.c: Include <fcntl.h>.
490 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
491 (_IO_fopen64, fopen64): Define as aliases.
492 * libio/iofopen64.c: Include <fcntl.h>.
493 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
494 Conditionalize body on this.
495 * sysdeps/wordsize-64/iofopen.c: File removed.
496 * sysdeps/wordsize-64/iofopen64.c: File removed.
497
3fb791b8
MP
4982012-08-01 Marek Polacek <polacek@redhat.com>
499
500 * libc/Makeconfig: Use elf in place of binfmt-subdir.
501 Use dlfcn directly instead of a variable.
502 (binfmt-subdir): Do not define.
503 (dlfcn): Likewise.
504
a9f1039f
JM
5052012-08-01 Joseph Myers <joseph@codesourcery.com>
506
23bddc06
JM
507 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
508 Remove all definitions.
509 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
510 <kernel-features.h>.
511 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
512 (miss_F_GETOWN_EX): Remove all definitions.
513 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
514 macro definition.
515 [!__ASSUME_FCNTL64]: Remove conditional code.
516 [__ASSUME_FCNTL64]: Make code unconditional.
517 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
518 <kernel-features.h>.
519 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
520 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
521 (lockf64) [__NR_fcntl64]: Make code unconditional.
522 (lockf64) [__ASSUME_FCNTL64]: Likewise.
523
a9f1039f
JM
524 * sysdeps/unix/sysv/linux/kernel-features.h
525 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
526 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
527 Make code unconditional.
528 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
529 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
531 [__NR_vfork]: Make code unconditional.
532 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
533 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
535 [__NR_vfork]: Make code unconditional.
536 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
537 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
538
09c0ee5f
RM
5392012-08-01 Roland McGrath <roland@hack.frob.com>
540
48aec5b9
RM
541 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
542 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
543
cd97c966
RM
544 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
545 Define mkstemp64 as an alias.
3f55550c
RM
546 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
547 Define mkstemps64 as an alias.
cd97c966
RM
548 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
549 Define mkostemp64 as an alias.
b8625cfc
RM
550 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
551 Define mkostemps64 as an alias.
cd97c966
RM
552 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
553 Conditionalize body on this.
554 * misc/mkostemp64.c: Likewise.
b8625cfc 555 * misc/mkostemps64.c: Likewise.
3f55550c 556 * misc/mkstemps64.c: Likewise.
cd97c966
RM
557 * sysdeps/wordsize-64/mkstemp64.c: File removed.
558 * sysdeps/wordsize-64/mkostemp64.c: File removed.
559 * sysdeps/wordsize-64/mkostemp.c: File removed.
560 * sysdeps/wordsize-64/mkstemp.c: File removed.
561 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
562 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
563 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
564 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
565
09c0ee5f
RM
566 [BZ #14138]
567 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
568 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
569 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
570 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
571
572 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
573 compat_symbol macros from <shlib-compat.h> rather than the underlying
574 default_symbol_version and symbol_version macros, so that DEFAULT
575 lines in shlib-versions are respected.
576 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
577
7e66ee51
FW
5782012-08-01 Florian Weimer <fweimer@redhat.com>
579
580 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
581 Declare with warn_unused_result.
582 (setgid, setregid, setegid, setresgid): Likewise.
583 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
584 Likewise.
585 * WUR-REPORT: Remove set*id functions.
586
d2a54255
PT
5872012-07-31 Pino Toscano <toscano.pino@tiscali.it>
588
589 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
590
7ecdb005
RM
5912012-07-31 Roland McGrath <roland@hack.frob.com>
592
789bd351
RM
593 * include/sys/socket.h (__libc_accept, __libc_accept4):
594 Add attribute_hidden.
595 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
596
40ce302d
RM
597 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
598 use of PTR_MANGLE.
599 * inet/getnetgrent_r.c (setup): Likewise.
600
7ecdb005
RM
601 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
602
e2eabb2c
DM
6032012-07-31 David S. Miller <davem@davemloft.net>
604
605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
606
d0419dbf
JM
6072012-07-31 Joseph Myers <joseph@codesourcery.com>
608
609 [BZ #13629]
610 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
611 value between 1.0 and 2.0 and smaller part has absolute value less
612 than 1.0.
613 * math/s_clog10.c (__clog10): Likewise.
614 * math/s_clog10f.c (__clog10f): Likewise.
615 * math/s_clog10l.c (__clog10l): Likewise.
616 * math/s_clogf.c (__clogf): Likewise.
617 * math/s_clogl.c (__clogl): Likewise.
618 * math/libm-test.inc (clog_test): Add more tests.
619 (clog10_test): Likewise.
620 * sysdeps/i386/fpu/libm-test-ulps: Update.
621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
622
2bc13872
FW
6232012-07-31 Florian Weimer <fweimer@redhat.com>
624
625 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
626 Exit with zero in case no suitable GID is found, and write a
627 message to standard error.
628
bea9b193
RM
6292012-07-30 Roland McGrath <roland@hack.frob.com>
630
631 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
632 rather than to 1.
633 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
634 (MAXPATHLEN): Removed.
635 (NOGROUP, NODEV): New macros.
636 (setbit, clrbit, isset, isclr): New macros.
637 (howmany, roundup, powerof2): New macros.
638 (DEV_BSIZE): New macro.
639
640 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
641 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
642
643 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
644 definition on [!__NO_LONG_DOUBLE_MATH].
645
646 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
647 PTR_MANGLE and PTR_DEMANGLE.
648
649 * socket/accept4.c (accept4): Rename to __libc_accept4.
650 Define accept4 as a weak alias.
651
652 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
653 on [_DIRENT_HAVE_D_TYPE].
654 * io/ftw.c (ftw_dir): Likewise.
655
656 * io/xmknod.c (__xmknod): Don't check PATH for being null.
657
658 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
659
660 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
661 Use the BSD numbers rather than the arbitrary ones we had.
662 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
663 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
664 (SIGXCPU, SIGXFSZ): New macros.
665 (_NSIG): Now 32.
666
667 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
668 initializer on [_LIBC_REENTRANT].
669
670 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
671 definitions inside [_POSIX_MAPPED_FILES].
672
673 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
674
675 * dirent/opendir.c: Include <fcntl.h>.
676
677 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
678 (__libc_getspecific): Likewise.
679 (__libc_key_create): Likewise.
680
681 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
682 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
683 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
684 (tmpfile64): Define as alias.
685 * sysdeps/wordsize-64/tmpfile.c: File removed.
686 * sysdeps/wordsize-64/tmpfile64.c: File removed.
687 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
688 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
689
690 * stdio-common/vfscanf.c: Include <stdbool.h>.
691 * nss/makedb.c: Likewise.
692 * stdio-common/_i18n_number.h: Likewise.
693 * argp/argp-help.c: Likewise.
694 * posix/wordexp.c: Likewise.
695 * sysdeps/posix/spawni.c: Likewise.
696 * nss/nss_files/files-initgroups.c: Likewise.
697 * stdio-common/reg-modifier.c: Include <stdlib.h>.
698 * nss/nss_files/files-initgroups.c: Likewise.
699 * nss/nss_db/db-netgrp.c: Likewise.
700 * nss/nss_db/db-initgroups.c: Likewise.
701 * io/fchmodat.c: Include <sys/stat.h>.
702
703 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
704 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
705
706 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
707 [HAVE_MMAP].
708
709 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
710 Add multiple inclusion protection.
711
e5abc686
DM
7122012-07-27 David S. Miller <davem@davemloft.net>
713
714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
715
815e6fa3
GB
7162012-07-27 Gary Benson <gbenson@redhat.com>
717
718 [BZ #14298]
719 * elf/rtld.c: Include <stap-probe.h>.
720 (dl_main): Added static probes "init_start" and "init_complete".
721 * elf/dl-load.c: Include <stap-probe.h>.
722 (lose): Take new parameter "nsid".
723 Added static probe "map_failed".
724 (_dl_map_object_from_fd): Pass namespace id to lose.
725 Added static probe "map_start".
726 (open_verify): Pass namespace id to lose.
727 * elf/dl-open.c: Include <stap-probe.h>.
728 (dl_open_worker) Added static probes "map_complete", "reloc_start"
729 and "reloc_complete".
730 * elf/dl-close.c: Include <stap-probe.h>.
731 (_dl_close_worker): Added static probes "unmap_start" and
732 "unmap_complete".
733 * elf/rtld-debugger-interface.txt: New file documenting the above.
734
9f98c16c
RM
7352012-07-26 Roland McGrath <roland@hack.frob.com>
736
737 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
738 rather than a string variable.
739 * sunrpc/rpc_main.c (h_output): Likewise.
740 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
741
f3c22df3
PT
7422012-07-26 Pino Toscano <toscano.pino@tiscali.it>
743
744 * inet/check_native.c: New file.
745
3129cfc6
JM
7462012-07-26 Joseph Myers <joseph@codesourcery.com>
747
da865e95
JM
748 [BZ #13629]
749 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
750 if larger part has absolute value 1.0.
751 * math/s_clog10.c (__clog10): Likewise.
752 * math/s_clog10f.c (__clog10f): Likewise.
753 * math/s_clog10l.c (__clog10l): Likewise.
754 * math/s_clogf.c (__clogf): Likewise.
755 * math/s_clogl.c (__clogl): Likewise.
756 * math/libm-test.inc (clog_test): Add more tests.
757 (clog10_test): Likewise.
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
760
3129cfc6
JM
761 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
762 (pltexit): Likewise.
763 (La_regs): Likewise.
764 (La_retval): Likewise.
765 (int_retval): Likewise.
766 Update #error for removed macros to refer only to definitions in
767 tst-audit.h.
768 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
769 macro.
770 (pltexit): Likewise.
771 (La_regs): Likewise.
772 (La_retval): Likewise.
773 (int_retval): Likewise.
774 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
775 macro.
776 (pltexit): Likewise.
777 (La_regs): Likewise.
778 (La_retval): Likewise.
779 (int_retval): Likewise.
780 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
781 macro.
782 (pltexit): Likewise.
783 (La_regs): Likewise.
784 (La_retval): Likewise.
785 (int_retval): Likewise.
786 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
787 macro.
788 (pltexit): Likewise.
789 (La_regs): Likewise.
790 (La_retval): Likewise.
791 (int_retval): Likewise.
792 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
793 macro.
794 (pltexit): Likewise.
795 (La_regs): Likewise.
796 (La_retval): Likewise.
797 (int_retval): Likewise.
798 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
799 macro.
800 (pltexit): Likewise.
801 (La_regs): Likewise.
802 (La_retval): Likewise.
803 (int_retval): Likewise.
804 * sysdeps/generic/tst-audit.h: Update comment to refer only to
805 macro definitions in tst-audit.h.
806 * sysdeps/i386/tst-audit.h: New file.
807 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
808 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
809 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
810 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
811 * sysdeps/sh/tst-audit.h: Likewise.
812 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
813 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
814 * sysdeps/x86_64/tst-audit.h: Likewise.
815
bfc07087
AJ
8162012-07-26 Andreas Jaeger <aj@suse.de>
817
b1b2aaf8
AJ
818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
819 ptrace.
820
821 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
822 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
823 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
824 PTRACE_O_MASK.
825 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
826 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
827 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
828
bfc07087
AJ
829 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
830 value.
831
832 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
833 _sigsys.
834 (si_call_addr, si_syscall, si_arch): Define new macro.
835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
836 _sigsys.
837 (si_call_addr, si_syscall, si_arch): Define new marcro.
838 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
839 _sigsys.
840 (si_call_addr, si_syscall, si_arch): Define new macro.
841 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
842 _sigsys.
843 (si_call_addr, si_syscall, si_arch): Define new macro.
844
89b4b02f
JM
8452012-07-25 Joseph Myers <joseph@codesourcery.com>
846
847 [BZ #13717]
848 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
849 Change to 2.4.21 where previously 2.4.1.
850 * sysdeps/unix/sysv/linux/configure: Regenerated.
851 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
852 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
853 Linux kernel version.
854 (__ASSUME_STD_AUXV): Remove.
855 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
856 kernel version.
857 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
858 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
859 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
860 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
861 (__ASSUME_NETLINK_SUPPORT): Likewise.
862 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
863 (__no_netlink_support): Remove conditional definition.
864 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
865 Remove.
866 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
867 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
868 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
869 (if_nameindex_ioctl): Remove.
870 (if_nameindex_netlink): Do not handle __no_netlink_support.
871 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
872 code.
873 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
874 Remove conditional code.
875 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
876 code.
877 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
878 unconditional.
879 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
880 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
881 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
882 Remove.
883 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
884 [!__ASSUME_STD_AUXV]: Remove conditional code.
885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
886 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
887 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
889 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
890 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
891 code.
892 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
894 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
895 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
896 conditional code.
897 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
899 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
900 code.
901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
902 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
903 conditional code.
904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
905 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
906 code unconditional.
907 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
908 conditional code.
909 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
910 unconditional.
911 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
912 conditional code.
913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
914 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
915 unconditional.
916 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
917 conditional code.
918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
919 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
920 code unconditional.
921 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
922 conditional code.
923 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
924 unconditional.
925 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
926 conditional code.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
928 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
929 code unconditional.
930 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
931 conditional code.
932 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
933 unconditional.
934 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
935 conditional code.
936
842a39cd
AS
9372012-07-25 Andreas Schwab <schwab@linux-m68k.org>
938
939 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
940 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
941 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
942 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
943 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
944 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
945 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
946 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
947 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
948 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
949 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
950 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
951 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
952 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
953 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
954 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
955 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
956 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
957 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
959 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
960 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
961 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
962
84b3fd84
FW
9632012-07-25 Florian Weimer <fweimer@redhat.com>
964
965 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
966 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
967 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
968 Introduce __libc_secure_getenv.
0c7936d5
FW
969 * stdlib/Versions (2.17): Add secure_getenv
970 (GLIBC_PRIVATE): Add __libc_secure_getenv.
971 * stdlib/secure-getenv.c: Rename __secure_getenv to
972 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
973 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
974 * stdlib/tst-secure-getenv.c: New.
975 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
976 * manual/startup.texi (Environment Access): Document
977 secure_getenv.
84b3fd84
FW
978 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
979 __libc_secure_getenv.
980 * inet/ruserpass.c (ruserpass): Likewise.
981 * malloc/mtrace.c (mtrace): Likewise.
982 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 983 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
984 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
985 * sysdeps/posix/tempname.c: Likewise. Evaluate
986 HAVE_SECURE_GETENV.
987 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 988 __secure_getenv to __libc_secure_getenv.
84b3fd84 989 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
991 Likewise.
992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
993 Likewise.
994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
996 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1001
56e49b71
JM
10022012-07-25 Joseph Myers <joseph@codesourcery.com>
1003
1004 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1005 (struct La_i86_retval): Likewise.
1006 (struct La_x86_64_regs): Likewise.
1007 (struct La_x86_64_retval): Likewise.
1008 (struct La_x32_regs): Likewise.
1009 (struct La_x32_retval): Likewise.
1010 (struct La_ppc32_regs): Likewise.
1011 (struct La_ppc32_retval): Likewise.
1012 (struct La_ppc64_regs): Likewise.
1013 (struct La_ppc64_retval): Likewise.
1014 (struct La_sh_regs): Likewise.
1015 (struct La_sh_retval): Likewise.
1016 (struct La_s390_32_regs): Likewise.
1017 (struct La_s390_32_retval): Likewise.
1018 (struct La_s390_64_regs): Likewise.
1019 (struct La_s390_64_retval): Likewise.
1020 (struct La_sparc32_regs): Likewise.
1021 (struct La_sparc32_retval): Likewise.
1022 (struct La_sparc64_regs): Likewise.
1023 (struct La_sparc64_retval): Likewise.
1024 (struct audit_ifaces): Remove architecture-specific pltenter and
1025 pltexit members.
1026 * sysdeps/i386/ldsodefs.h: New file.
1027 * sysdeps/powerpc/ldsodefs.h: Likewise.
1028 * sysdeps/s390/ldsodefs.h: Likewise.
1029 * sysdeps/sh/ldsodefs.h: Likewise.
1030 * sysdeps/sparc/ldsodefs.h: Likewise.
1031 * sysdeps/x86_64/ldsodefs.h: Likewise.
1032
354691b7
MP
10332012-07-25 Marek Polacek <polacek@redhat.com>
1034
1035 [BZ #6808]
1036 * math/libm-test.inc (yn_test): Add another test.
1037 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1038 to ERANGE when the result is +-Inf.
1039 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1040 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1041 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1042 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1043
bf9e2071
JM
10442012-07-24 Joseph Myers <joseph@codesourcery.com>
1045
1046 * conform/data/time.h-data (NULL): Use macro-constant. Require
1047 equal to 0.
1048 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1049 clock_t.
1050 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1051
57633811
TS
10522012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1053
1054 * configure.in <sysdeps resolving>: Correct printing
1055 Implies_before.
1056 * configure: Regenerate.
1057
c23c33b0
TS
10582012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1059
1060 * math/w_ilogb.c: Include <limits.h>.
1061 * math/w_ilogbl.c: Likewise.
1062
b5982523
JM
10632012-07-20 Joseph Myers <joseph@codesourcery.com>
1064
1065 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1066 va_copy. Document allowing for unavailable va_copy only as
1067 pre-C99 compatibility.
1068 * manual/string.texi (Copying and Concatenation): Use va_copy
1069 instead of __va_copy in concat example.
1070
ac4ea442
PT
10712012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1072
1073 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1074 (__sendto): Use create_address_port. Initialize APORT and deallocate
1075 it if not null.
1076
f98eafbd
PT
1077 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1078 with O_NOLINK passed to __file_name_lookup.
1079
898c7aab
PT
1080 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1081 with O_NOLINK passed to __file_name_lookup.
1082
0ced335a
PT
1083 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1084 negative N or less than NGIDS.
1085
b3404dbd
PT
1086 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1087 type to string_t. Set ERANGE as errno and return it if NAME is not big
1088 enough. Use memcpy instead of strncpy.
1089
0f48659e
JM
10902012-07-20 Joseph Myers <joseph@codesourcery.com>
1091
1092 * elf/Makefile (check-data): Remove.
1093 (localplt.data): New vpath directive.
1094 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1095 instead of $(check-data).
1096 * scripts/data/localplt-generic.data: Move to ...
1097 * sysdeps/generic/localplt.data: ... here.
1098 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1099 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1100 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1102 ... here.
1103 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1105 ... here.
1106 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1108 ... here.
1109 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1111 ... here.
1112 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1114 ... here.
1115 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1117 ... here.
1118
d37cbdaa
AZ
11192012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1120
1121 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1122 PPC32 and PPC64 files.
1123 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1124 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1125
46f85fc2
AK
11262012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1127
1128 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1129 __makecontext_ret to ...
1130 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1131 ... here and call exit if uc_link is NULL. New file.
1132 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1133 __makecontext_ret.S.
1134 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1135 __makecontext_ret to ...
1136 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1137 ... here and call exit if uc_link is NULL. New file.
1138 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1139 __makecontext_ret.S.
1140
08f43f9b
AK
11412012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1142
1143 * elf/elf.h (R_390_IRELATIVE): New definition.
1144 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1145 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1146 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1147 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1148 (elf_machine_lazy_rel): Likewise.
1149 * sysdeps/s390/dl-irel.h: New file.
1150 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1151 * sysdeps/s390/s390-64/memset.S: New asm code.
1152 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1153 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1154 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1155 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1156 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1157 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1158 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1159 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1160 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1161 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1162 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1163 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1164 * sysdeps/s390/s390-32/memset.S: New asm code.
1165 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1166
3b05db33
MP
11672012-07-17 Marek Polacek <polacek@redhat.com>
1168
1169 [BZ #14349]
1170 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1171 * sysdeps/s390/s390-64/configure.in: Likewise.
1172 * sysdeps/sparc/configure.in: Likewise.
1173 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1174 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1175 * sysdeps/i386/configure.in: Likewise.
1176 * sysdeps/x86_64/configure.in: Likewise.
1177 * sysdeps/sh/configure.in: Likewise.
1178 * sysdeps/s390/s390-32/configure: Regenerated.
1179 * sysdeps/s390/s390-64/configure: Likewise.
1180 * sysdeps/x86_64/configure: Likewise.
1181 * sysdeps/sh/configure: Likewise.
1182 * sysdeps/powerpc/powerpc64/configure: Likewise.
1183 * sysdeps/powerpc/powerpc32/configure: Likewise.
1184 * sysdeps/sparc/configure: Likwise.
1185 * sysdeps/i386/configure: Likewise.
1186
a66877c6
MP
1187 * elf/dl-open.c: Comment fixes.
1188
cfc82fd8
JM
11892012-07-17 Joseph Myers <joseph@codesourcery.com>
1190
bd29910a
JM
1191 * Makefile [CXX] (check-data): Remove.
1192 [CXX] (c++-types.data): New vpath directive.
1193 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1194 vpath. Do not allow for C++ type data being missing.
1195 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1196 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1197 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1198 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1199 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1200 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1201 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1203 ... here.
1204 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1206 ... here.
1207 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1209 ... here.
1210 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1212 ... here.
1213 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1215 ... here.
1216 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1218 ... here.
1219 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1221 ... here.
1222 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1224
cfc82fd8
JM
1225 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1226 definitions to architecture-specific files.
1227 (TLS_IE): Likewise.
1228 (TLS_LD): Likewise.
1229 (TLS_GD): Likewise.
1230 * sysdeps/i386/tls-macros.h: New file.
1231 * sysdeps/powerpc/tls-macros.h: Likewise.
1232 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1233 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1234 * sysdeps/sh/tls-macros.h: Likewise.
1235 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1236 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1237 * sysdeps/x86_64/tls-macros.h: Likewise.
1238
f7db3170
TS
12392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1240
07cbfc23
TS
1241 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1242 zero value for regular exit case.
1243
f7db3170
TS
1244 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1245 (__start_context): Preserve zero value for regular exit case.
1246
dc97c227
TS
12472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1248 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1249
1250 * manual/setjmp.texi (setcontext): Clarify normal process
1251 termination when uc_link is the null pointer.
1252 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1253 exit call.
1254
d0cd7d02
AS
12552012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1256
1257 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1258 preprocessor. Test for each exception mask separately.
1259
dd318934
AJ
12602012-07-16 Andreas Jaeger <aj@suse.de>
1261
1262 * po/ru.po: Update from translation team.
1263
8048311a
JM
12642012-07-15 Joseph Myers <joseph@codesourcery.com>
1265
1266 * conform/data/string.h-data (NULL): Use macro-constant. Require
1267 equal to 0.
1268 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1269 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1270 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1271 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1272 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1273
b637d46e
AJ
12742012-07-13 Andreas Jaeger <aj@suse.de>
1275
1276 * po/fr.po: Update from translation team.
1277
541428fe
MP
12782012-07-12 Marek Polacek <polacek@redhat.com>
1279
1280 [BZ #14173]
1281 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1282 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1283 loop condition.
1284
ec332e94
JM
12852012-07-12 Joseph Myers <joseph@codesourcery.com>
1286
1287 [BZ #13717]
1288 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1289 Change to 2.4.1 where previously 2.4.0.
1290 * sysdeps/unix/sysv/linux/configure: Regenerated.
1291 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1292 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1293 version.
1294 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1295 (__ASSUME_AT_CLKTCK): Remove.
1296 (__ASSUME_AT_PAGESIZE): Likewise.
1297 (__ASSUME_AT_XID): Likewise.
1298 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1299 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1300 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1301 unconditionally.
1302 (HAVE_AUX_PAGESIZE): Likewise.
1303 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1304 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1305 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1306
7b6e99be
JB
13072012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1308
1309 [BZ #14307]
1310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1311 the temporary buffer used to invoke __gethostbyname2_r,
1312 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1313 host_data / struct gaih_addrtuple.
1314 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1315 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1316 header file nss/nsswitch.h.
1317 * nss/nsswitch.h (global scope): Add definition of implementation
1318 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1319 resolv/nss_dns/dns-host.c).
1320
608404eb
AJ
13212012-07-11 Andreas Jaeger <aj@suse.de>
1322
1323 * po/fr.po: Update from translation team.
1324
71220aca
AJ
1325 * po/sv.po: Update from translation team
1326 * po/fr.po: Another update from translation team.
1327
28cfe843
AZ
13282012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1329
1330 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1331 for subnormals or multiply small sinh result by itself.
1332 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1334
6b90f981
DM
13352012-07-11 David S. Miller <davem@davemloft.net>
1336
1337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1338
c6825772
AS
13392012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1340
1341 [BZ #14347]
1342 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1343 (INTERNAL_MARK): Shift it here.
1344
7b8e0d49
MP
13452012-07-10 Marek Polacek <polacek@redhat.com>
1346
1347 [BZ #14151]
1348 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1349 libc_cv_asm_global_directive with .globl.
1350 * configure: Regenerated.
1351 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1352 with .globl.
1353 * sysdeps/i386/configure: Regenerated.
1354 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1355 with .globl.
1356 * sysdeps/x86_64/configure: Regenerated.
1357 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1358 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1359 * elf/tst-unique2mod2.c: Likewise.
1360 * elf/tst-unique2mod1.c: Likewise.
1361 * elf/tst-unique1mod2.c: Likewise.
1362 * elf/tst-unique1mod1.c: Likewise.
1363 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1364 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1365 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1366 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1367 * sysdeps/mach/sysdep.h: Likewise.
1368 * sysdeps/i386/sysdep.h: Likewise.
1369 * sysdeps/i386/i386-mcount.S: Likewise.
1370 * sysdeps/x86_64/_mcount.S: Likewise.
1371 * sysdeps/x86_64/sysdep.h: Likewise.
1372 * sysdeps/sh/_mcount.S: Likewise.
1373 * sysdeps/sh/sysdep.h: Likewise.
1374 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1375 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1376 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1377 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1378 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1379 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1380 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1381 * locale/localeinfo.h: Likewise.
1382 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1383 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1384
6c55cda3
RM
13852012-07-09 Roland McGrath <roland@hack.frob.com>
1386
1387 [BZ #14336]
1388 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1389 system".
1390 * manual/message.texi (The Uniforum approach): Likewise.
1391 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1392 (glibc iconv Implementation): Likewise.
1393
638a572e
JM
13942012-07-09 Joseph Myers <joseph@codesourcery.com>
1395
1396 [BZ #14337]
1397 * math/s_clog.c (__clog): Avoid scaling a value down where that
1398 could result in underflow.
1399 * math/s_clog10.c (__clog10): Likewise.
1400 * math/s_clog10f.c (__clog10f): Likewise.
1401 * math/s_clog10l.c (__clog10l): Likewise.
1402 * math/s_clogf.c (__clogf): Likewise.
1403 * math/s_clogl.c (__clogl): Likewise.
1404 * math/libm-test.inc (clog_test): Add more tests.
1405 (clog10_test): Likewise.
1406 * sysdeps/i386/fpu/libm-test-ulps: Update.
1407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1408
261f4859
AS
14092012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1410
0abaf3e4
AS
1411 [BZ #14283]
1412 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1413 by 7 not 8 to examine high bit of fractional part.
1414
261f4859
AS
1415 [BZ #14042]
1416 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1417 for call to __mcount_internal.
1418 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1419 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1420 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1421
f17ac40d
JM
14222012-07-06 Joseph Myers <joseph@codesourcery.com>
1423
9ad63c23
JM
1424 [BZ #14154]
1425 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1426 approximation for values within 0x1p-13f of an odd multiple of
1427 pi/4.
1428 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1429 exception. Add more tests.
1430 * sysdeps/i386/fpu/libm-test-ulps: Update.
1431
f17ac40d
JM
1432 [BZ #6778]
1433 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1434 inputs and return -1 for them. Do not check for +Inf in case not
1435 reachable for +Inf.
1436 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1437 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1438 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1439 and return -1 for them. Do not check for +Inf in case not
1440 reachable for +Inf.
1441 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1442 define.
1443 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1444 and return -1 for them. Do not check for +Inf in case not
1445 reachable for +Inf.
1446 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1447 spurious underflow.
1448 * sysdeps/i386/fpu/libm-test-ulps: Update.
1449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1450
fb21f89b
MF
14512012-07-06 Mike Frysinger <vapier@gentoo.org>
1452
1453 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1454
cdfe2c5e
JM
14552012-07-05 Joseph Myers <joseph@codesourcery.com>
1456
1457 [BZ #14157]
1458 [BZ #14331]
1459 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1460 could result in spurious underflow. Scale down values above
1461 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1462 * math/s_csqrtf.c (__csqrtf): Likewise.
1463 * math/s_csqrtl.c (__csqrtl): Likewise.
1464 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1465 spurious underflow.
1466 * sysdeps/i386/fpu/libm-test-ulps: Update.
1467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1468
70d35b67
AS
14692012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1470
704bc459
AS
1471 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1472 xopen-msg.sed.
1473 * catgets/xopen-msg.awk: New file.
1474 * catgets/xopen-msg.sed: Removed.
1475
70d35b67
AS
1476 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1477 po2text.sed.
1478 * intl/po2test.awk: New file.
1479 * intl/po2test.sed: Removed.
1480
ca61cf32
JM
14812012-07-04 Joseph Myers <joseph@codesourcery.com>
1482
1483 [BZ #14328]
1484 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1485 or multiply small sinh result by itself.
1486 * math/s_ctanf.c (__ctanf): Likewise.
1487 * math/s_ctanh.c (__ctanh): Likewise.
1488 * math/s_ctanhf.c (__ctanhf): Likewise.
1489 * math/s_ctanhl.c (__ctanhl): Likewise.
1490 * math/s_ctanl.c (__ctanl): Likewise.
1491 * math/libm-test.inc (ctan_test_tonearest): New function.
1492 (ctan_test_towardzero): Likewise.
1493 (ctan_test_downward): Likewise.
1494 (ctan_test_upward): Likewise.
1495 (ctanh_test_tonearest): Likewise.
1496 (ctanh_test_towardzero): Likewise.
1497 (ctanh_test_downward): Likewise.
1498 (ctanh_test_upward): Likewise.
1499 (main): Call these new functions.
1500 * sysdeps/i386/fpu/libm-test-ulps: Update.
1501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1502
ca48a46a
MF
15032012-07-03 Mike Frysinger <vapier@gentoo.org>
1504
1505 * .gitignore: Delete /ports entry.
1506
9d63d37d
AJ
15072012-07-03 Andreas Jaeger <aj@suse.de>
1508
1509 * po/bg.po: Update from translation team.
1510 * po/cs.po: Likewise.
1511 * po/de.po: Likewise.
1512 * po/hr.po: Likewise.
1513 * po/nl.pl: Likewise.
1514 * po/pl.po: Likewise.
1515 * po/vi.po: Likewise.
1516
370ca3d2
JM
15172012-07-03 Joseph Myers <joseph@codesourcery.com>
1518
95f5a9a8
JM
1519 * Makeconfig [!+link] (+link-before-libc): New variable.
1520 [!+link] (+link-after-libc): Likewise.
1521 [!+link] (+link-tests): Likewise.
1522 [!+link] (+link): Define in terms of $(+link-before-libc) and
1523 $(+link-after-libc).
1524 [!+link-static] (+link-static-before-libc): New variable.
1525 [!+link-static] (+link-static-after-libc): Likewise.
1526 [!+link-static] (+link-static-tests): Likewise.
1527 [!+link-static] (+link-static): Define in terms of
1528 $(+link-static-before-libc) and $(+link-static-after-libc).
1529 [build-shared] (link-libc-before-gnulib): New variable.
1530 [build-shared] (link-libc-tests): Likewise.
1531 [build-shared] (link-libc): Define in terms of
1532 $(link-libc-before-gnulib).
1533 [!build-shared] (link-libc-tests): New variable.
1534 (link-libc-static-tests): New variable.
1535 [!gnulib] (gnulib-arch): New variable.
1536 [!gnulib] (gnulib-tests): Likewise.
1537 [!gnulib] (static-gnulib-arch): Likewise.
1538 [!gnulib] (static-gnulib-tests): Likewise.
1539 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1540 Define with "=" instead of ":=".
1541 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1542 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1543 * Rules (binaries-all-notests): New variable.
1544 (binaries-all-tests): Likewise.
1545 (binaries-static-notests): Likewise.
1546 (binaries-static-tests): Likewise.
1547 (binaries-all): Define using $(binaries-all-notests) and
1548 $(binaries-all-tests).
1549 (binaries-static): Define using $(binaries-static-notests) and
1550 $(binaries-static-tests).
1551 (binaries-shared-tests): New variable.
1552 (binaries-shared-notests): Likewise.
1553 (binaries-shared): Remove variable.
1554 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1555 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1556 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1557 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1558 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1559 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1560 * elf/Makefile (sln-modules): New variable.
1561 (extra-objs): Add $(sln-modules:=.o).
1562 (ldconfig-modules): Add static-stubs.
1563 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1564 * elf/static-stubs.c: New file.
1565
7a845b2c
JM
1566 [BZ #14283]
1567 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1568 by 7 not 8 to examine high bit of fractional part. Use volatile
1569 variables when splitting into final array of floats if
1570 __FLT_EVAL_METHOD__ != 0.
1571 * math/libm-test.inc (cos_test): Add another test.
1572 (sin_test): Likewise.
1573 * sysdeps/i386/fpu/libm-test-ulps: Update.
1574
e2283f38
JM
1575 [BZ #14273]
1576 * math/libm-test.inc (cosh_test): Add more tests.
1577
370ca3d2
JM
1578 * version.h (RELEASE): Set to "development".
1579 (VERSION): Set to "2.16.90".
1580
ee9247c3
CD
15812012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1582
1583 * NEWS: Update copyright. Remove last-updated date.
1584 Mention math library bug fixes and timezone data changes.
1585 * README: Mention GNU/Hurd, x32, and HPPA support status.
1586
4648c381
TS
15872012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1588
1589 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1590
aac78a43
AJ
15912012-06-27 Andreas Jaeger <aj@suse.de>
1592
1593 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1594
ed3dbfad
AJ
15952012-06-25 Andreas Jaeger <aj@suse.de>
1596
1597 * sysdeps/s390/fpu/libm-test-ulps: Update.
1598
4d0ee855
AS
15992012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1600 Thomas Schwinge <thomas@codesourcery.com>
1601
1602 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1603 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1604 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1605 fanotify_mark.
1606
af1bce34
TS
16072012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1608
a9fa33ba
TS
1609 * sysdeps/mach/start.c: Remove file.
1610 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1611 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1612 * sysdeps/sh/init-first.c: Likewise.
1613
58f902b8
TS
1614 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1615 registers for frame unwinding purposes, add CFI directives.
1616 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1617 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1618 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1619 Likewise.
1620
1518f58b
TS
1621 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1622 __fortify_fail returning.
1623 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1624
db9b5059
TS
1625 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1626 sysdeps/sh/____longjmp_chk.S.
1627 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1628 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1629 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1630 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1631
967705fe
TS
1632 * sysdeps/sh/abort-instr.h: New file.
1633 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1634 process in case exit returns.
1635
a9def8c4
TS
1636 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1637 initialize the GOT register before use.
1638
2a649725
TS
1639 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1640 calculation of ARGC > 4.
1641
af1bce34
TS
1642 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1643 meaningful names to some local labels.
1644
d230f50a
KK
16452012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1646 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1647
1648 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1649 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1650 (__arch_compare_and_exchange_val_16_acq): Likewise.
1651 (__arch_compare_and_exchange_val_32_acq): Likewise.
1652 (atomic_exchange_and_add): Fix gUSA sequence.
1653 (atomic_add): Likewise.
1654 (atomic_add_negative): Likewise.
1655 (atomic_add_zero): Likewise.
1656 (atomic_bit_test_set): Likewise.
1657
0479b305
AS
16582012-06-22 Andreas Schwab <schwab@redhat.com>
1659
1660 [BZ #13579]
1661 * include/link.h (struct link_map): Add l_free_initfini.
1662 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1663 l_initfini.
1664 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1665 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1666 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1667 set.
1668
0e3933b9
CD
16692012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1670
1671 * configure.in: Use AC_LANG_SOURCE.
1672 * configure: Regenerate.
1673
4248b1b1
RM
16742012-06-22 Roland McGrath <roland@hack.frob.com>
1675
1676 * configure.in (libc_cv_localstatedir): New substituted variable.
1677 * configure: Regenerated.
1678 * config.make.in (localstatedir): New variable, substituted from
1679 libc_cv_localstatedir.
1680 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1681 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1682 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1683 * sysdeps/gnu/configure: Regenerated.
1684
006dd861
JL
16852012-06-21 Jeff Law <law@redhat.com>
1686
1687 [BZ #14277]
1688 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1689 free. Simplify list management for _LIBC case.
1690
79662d42
JM
16912012-06-21 Joseph Myers <joseph@codesourcery.com>
1692
b7abb4bf
JM
1693 [BZ #14273]
1694 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1695 Clear sign bit of 64-bit integer value before comparing against
1696 overflow value.
1697
79662d42
JM
1698 * sysdeps/mach/configure: Regenerated.
1699
1f150908
L
17002012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1701
1702 [BZ #14278]
1703 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1704
28363bbf
JL
17052012-06-21 Jeff Law <law@redhat.com>
1706
1707 [BZ #13882]
1708 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1709 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1710 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1711 * elf/dl-open.c (dl_open_worker): Likewise.
1712
09615db4
CD
17132012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1714
1715 * scripts/list-sources.sh: Scan PORTS for translations.
1716 * po/libc.pot: Regenerated.
1717
2174c6dd
AJ
17182012-06-21 Andreas Jaeger <aj@suse.de>
1719
1720 [BZ #12194]
1721 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1722 warning.
1723 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1724 * bits/byteswap-16.h (__bswap_16): Likewise.
1725 * bits/byteswap.h (__bswap_constant_16): Likewise.
1726
3ee947b1
L
17272012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1728
1729 [BZ #14117]
a2f34833
L
1730 * sysdeps/i386/fpu_control.h: Removed.
1731 * sysdeps/x86_64/fpu_control.h: Moved to ...
1732 * sysdeps/x86/fpu_control.h: Here.
1733
3ee947b1
L
1734 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1735 (_FPU_SETCW): Likewise.
1736
ed1825f8
L
17372012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1738
25f1282a
L
1739 [BZ #14117]
1740 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1741 * sysdeps/x86/fpu/bits/mathinline.h: This.
1742 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1743
ed1825f8
L
1744 [BZ #14050]
1745 [BZ #14117]
1746 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1747 functions if __x86_64__ is defined.
1748
36d54b74
CLT
17492012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1750
1751 * string/endian.h: Add !__ASSEMBLER__ condition for including
1752 conversion interfaces.
1753
10285c21
JM
17542012-06-15 Joseph Myers <joseph@codesourcery.com>
1755
1756 [BZ #14241]
1757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1758 of ABS(x) in calculating zero to negative powers other than odd
1759 integers.
1760 * math/libm-test.inc (pow_test): Add more tests.
1761
06c5abbd
AJ
17622012-06-15 Andreas Jaeger <aj@suse.de>
1763
1764 * manual/contrib.texi (Contributors): Update entry of Liubov
1765 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1766 Machado Filho.
1767
a3aeac40
CH
17682012-06-15 Cyril Hrubis <metan@ucw.cz>
1769
1770 * string/string.h: Add __wur to GNU version of strerror_r.
1771
49bdf4c1
L
17722012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1773
1774 [BZ #14229]
1775 * string/Makefile (tests): Add tst-strtok_r.
1776 * string/tst-strtok_r.c: New file.
1777 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1778 RAX_LP/RDX_LP on SAVE_PTR.
1779
834f9b8d
RM
17802012-06-14 Roland McGrath <roland@hack.frob.com>
1781
1782 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1783
75fa1921
JM
17842012-06-14 Joseph Myers <joseph@codesourcery.com>
1785
1786 * libm_test.inc (csqrt_test): Allow more spurious underflow
1787 exceptions.
1788 (j0_test): Likewise.
1789 (j1_test): Likewise.
1790 (y0_test): Likewise.
1791 (y1_test): Likewise.
1792
771766df
CD
17932012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1794
1795 * po/Makefile (libc.pot): Use UTF-8 charset.
1796
ceb9e56b
PP
17972012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1798
1799 [BZ #14210]
1800 Suppress sign-conversion warning from FD_SET.
1801 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1802 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1803 not unsigned long int.
1804 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1805
ddb28975
L
18062012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 [BZ #14050]
1809 [BZ #14117]
1810 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1811 __extern_always_inline instead of __extern_inline.
1812 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1813 (__signbit): Likewise.
1814 (__signbitl): Support C++ namespace.
1815 (lrintf): New inline function.
1816 (lrint): Likewise.
1817 (llrintf): Likewise.
1818 (llrint): Likewise.
1819 (fmaxf): Likewise.
1820 (fmax): Likewise.
1821 (fminf): Likewise.
1822 (fmin): Likewise.
1823 (rint): Likewise.
1824 (rintf): Likewise.
1825 (ceil): Likewise.
1826 (ceilf): Likewise.
1827 (floor): Likewise.
1828 (floorf): Likewise.
1829 (nearbyint): Likewise.
1830 (nearbyintf): Likewise.
1831
d7b4fb26
TS
18322012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1833
1834 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1835 non-default versions.
1836
eb55f5c2
RM
18372012-06-11 Roland McGrath <roland@hack.frob.com>
1838
1839 [BZ #14218]
1840 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1841
366af02c
TS
18422012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1843
99ff6e5c
TS
1844 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1845 (FE_UPWARD, FE_DOWNWARD): Don't define.
1846 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1847 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1848
366af02c
TS
1849 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1850 reading it.
1851 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1852 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1853
793ea851
KK
18542012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1855
1856 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1857 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1858 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1859 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1860
a728a38f
L
18612012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1862
1863 [BZ #14117]
c08010c7
L
1864 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1865 * sysdeps/i386/fpu/Implies: New file.
1866 * sysdeps/x86_64/fpu/Implies: Likewise.
1867 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1868 * sysdeps/x86/fpu/bits/fenv.h: This.
1869
a728a38f
L
1870 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1871 __SSE_MATH__.
1872
6e230d11
SP
18732012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1874
1875 [BZ #14134]
1876 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1877 character 0xffff that matches the last element of the
1878 conversion table.
1879
1b671feb
AZ
18802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1881
1882 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1883 fmodl commit.
1884
6043738b
AZ
18852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1886
1887 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1888 values higher than 25.6283.
1889
34ae0b32
AZ
18902012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1891
1892 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1893 subnormal exponent extraction and add some __builtin_expect.
1894 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1895 Fix for subnormal mantissa calculation.
1896
1214ec8f
MF
18972012-06-04 Mike Frysinger <vapier@gentoo.org>
1898
1899 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1900 cpu2 is -1 and errno is not ENOSYS.
1901
f3d1f93c
L
19022012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 [BZ #14117]
0e4a3cd7
L
1905 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1906 * sysdeps/x86/bits/string.h: This.
1907 * sysdeps/x86_64/bits/string.h: Removed.
1908
6704c645
L
1909 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1910 if not compiling for x86-64, but compiling for >= i486.
1911
48495318
L
1912 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1913 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1914
14adcbfc
L
1915 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1916 New macro from Linux kernel 3.4.0.
1917 (FP_XSTATE_MAGIC2): Likewise.
1918 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1919 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1920 (struct _fpx_sw_bytes): New struct.
1921 (struct _xsave_hdr): Likewise.
1922 (struct _ymmh_state): Likewise.
1923 (struct _xstate): Likewise.
1924
68e408ab
L
1925 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1926 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1927 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1928 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1929 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1930 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1931
f3d1f93c
L
1932 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1933 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1934 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1935 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1936 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1937 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1938
d9dc34cd
TMQMF
19392012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1940
1941 [BZ #13743]
1942 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1943 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1944 (sysdep_headers): Include sys/platform/ppc.h.
1945 * sysdeps/powerpc/test-gettimebase.c: Test for
1946 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1947 * manual/Makefile (appendices): Include platform.texi.
1948 * manual/contrib.texi (Contributors): Update @node pointers.
1949 * manual/maint.texi (Maintenance): Likewise.
1950 (Platform): New node.
1951 * manual/platform.texi: New file. Document the new features.
1952
4af3879c
SP
19532012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1954 Jakub Jelinek <jakub@redhat.com>
1955
1956 [BZ #14188]
1957 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1958 where __builtin_expect is unavailable.
1959
2fd6ff13
DM
19602012-06-03 David S. Miller <davem@davemloft.net>
1961
1962 * stdlib/longlong.h: Updated from GCC.
1963
173f7220
AS
19642012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1965
1966 [BZ #14042]
1967 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1968 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1969 __mcount_internal.
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1971 (GLIBC_2.16): Likewise.
1972
f34a1c6f
L
19732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1974
1975 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1976
88a4576f
JM
19772012-06-01 Joseph Myers <joseph@codesourcery.com>
1978
ea32bcdd
JM
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1980 (default-abi): New variable.
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1982 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1983 variable.
1984 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1985 Likewise.
1986 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1987 Likewise.
1988 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1989 Likewise.
1990
88a4576f
JM
1991 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1992 definition. Document in comment.
1993
402fe938
DM
19942012-06-01 David S. Miller <davem@davemloft.net>
1995
1996 * stdlib/longlong.h: Updated from GCC.
1997
3553723f
L
19982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1999
2000 [BZ #14117]
3bd872c4
L
2001 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2002 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2003 sys/debugreg.h sys/io.h here.
2004 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2005 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2006 sys/io.h.
2007 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2008 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2009 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2010 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2011 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2012 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2013
3553723f
L
2014 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2015 Define only if __x86_64__ is defined.
2016
4842e4fe
JM
20172012-06-01 Joseph Myers <joseph@codesourcery.com>
2018
c5bfe3d5
JM
2019 [BZ #14048]
2020 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2021 Use int64_t for variable i.
2022 * math/libm-test.inc (fmod_test): Add more tests.
2023
4842e4fe
JM
2024 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2025 z computation is not scheduled after fetestexcept.
2026 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2027 Use math_force_eval instead of asm to ensure calculation scheduled
2028 before exception test.
2029 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2030 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2031
efb73488
AJ
20322012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2033
2034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2035 computation is not scheduled after fetestexcept.
2036
29bcce7c
L
20372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2038
2039 [BZ #14117]
2040 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2041 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2042
73a68f94
AZ
20432012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2044
2045 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2046 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2047
67b6df78
L
20482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2049
edf2933a 2050 [BZ #14117]
ebc64a18
L
2051 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2052 <bits/wordsize.h>.
2053 (__WCHAR_MIN): Support __WORDSIZE == 64.
2054 (__WCHAR_MAX): Likewise.
2055
edf2933a
L
2056 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2057 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2058
57c6cf40
L
2059 [BZ #14183]
2060 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2061 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2062
67b6df78 2063 [BZ #14117]
8eb6281e
L
2064 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2065 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2066
aac639f4
L
2067 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2068 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2069
67b6df78
L
2070 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2071 Defined to 1 if __x86_64__ isn't defined.
2072 (_STAT_VER_LINUX_OLD): New.
2073 (st_atime): Remove duplicate.
2074 (st_mtime): Likewise.
2075 (st_ctime): Likewise.
2076
1c2cfe81
DM
20772012-05-31 David S. Miller <davem@davemloft.net>
2078
2079 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2080 entries.
2081
5be8418c
AS
20822012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2083
e7725326
AS
2084 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2085 gen-libm-test.pl.
2086
5be8418c
AS
2087 [BZ #14132]
2088 * elf/dl-reloc.c: Include <_itoa.h>.
2089 (_dl_reloc_bad_type): Remove use of INTUSE.
2090 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2091 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2092 * stdio-common/psiginfo.c (psiginfo): Likewise.
2093 * stdio-common/psignal.c (psignal): Likewise.
2094 * string/strsignal.c (strsignal): Likewise.
2095 * include/signal.h (_sys_siglist): Declare hidden proto.
2096 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2097 INTVARDEF with libc_hidden_data_def.
2098 * stdio-common/itoa-udigits.c: Likewise.
2099 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2100 (_itoa_lower_digits_internal): Remove declaration.
2101 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2102 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2103 (_sys_sigabbrev_internal): Remove aliases.
2104 (_sys_siglist): Define hidden alias.
2105
507352f1
MT
21062012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2107
2108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2109 bits/sysctl.h.
2110
42bbb1c3
L
21112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2112
2113 [BZ #14117]
6bd784b6
L
2114 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2115 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2116
8bca20f0
L
2117 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2118 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2119 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2120 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2121 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2122 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2123
f9e890a9
L
2124 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2125 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2126 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2127
471101a1
L
2128 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2129 with __addr.
2130 (insw): Likewise.
2131 (insl): Likewise.
2132 (outsb): Likewise.
2133 (outsw): Likewise.
2134 (outsl): Likewise.
2135
6451c862
L
2136 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2137 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2138 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2139
a254b8c9
L
2140 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2141 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2142 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2143 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2144 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2145 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2146
b8dfdd92
L
2147 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2148 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2149
578cd270
L
2150 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2151 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2152
de662f5f
L
2153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2154 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2155 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2156
25653439
L
2157 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2158 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2159 to ...
2160 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2161
6bad24a0
L
2162 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2163 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2164 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2165
42bbb1c3
L
2166 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2167 for x86-64.
2168 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2169
2d10d547
JM
21702012-05-31 Joseph Myers <joseph@codesourcery.com>
2171
2172 * math/math.h (M_El): Use two more decimal places.
2173 (M_LOG2El): Likewise.
2174 (M_LOG10El): Likewise.
2175 (M_LN2l): Likewise.
2176 (M_LN10l): Likewise.
2177 (M_PIl): Likewise.
2178 (M_PI_2l): Likewise.
2179 (M_PI_4l): Likewise.
2180 (M_1_PIl): Likewise.
2181 (M_2_PIl): Likewise.
2182 (M_2_SQRTPIl): Likewise.
2183 (M_SQRT2l): Likewise.
2184 (M_SQRT1_2l): Likewise.
2185
f230c29b
DM
21862012-05-31 David S. Miller <davem@davemloft.net>
2187
2188 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2189 values between float registers.
2190 * sysdeps/sparc/sparc64/memset.S: Likewise.
2191 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2192
fed806c3
MF
21932012-05-31 Mike Frysinger <vapier@gentoo.org>
2194
2195 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2196 -D_FORTIFY_SOURCE=1.
2197 (CPPFLAGS-tst-longjmp_chk.c): Define.
2198 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2199 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2200 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2201 CFLAGS-tst-wchar-h.c.
2202
30917259
MP
22032012-05-31 Marek Polacek <polacek@redhat.com>
2204
2205 [BZ #14132]
2206 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2207 __endmntent_internal): Remove declaration.
2208 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2209 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2210 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2211
1c58d5dc
DM
22122012-05-30 David S. Miller <davem@davemloft.net>
2213
2214 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2215 (___Q_simulate_exceptions): Use real FP ops rather than writing
2216 into the %fsr.
2217 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2218 Likewise.
2219
7dc00e0d
L
22202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2221
2222 [BZ #14117]
0bd53985
L
2223 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2224 * sysdeps/x86/bits/xtitypes.h: This.
2225
3a257e66
L
2226 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2227 * sysdeps/x86/bits/wordsize.h: This.
2228
62f62904
L
2229 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2230 * sysdeps/x86/bits/huge_vall.h: This.
2231
404fe9d9
L
2232 * sysdeps/i386/bits/select.h: Removed.
2233 * sysdeps/x86_64/bits/select.h: Renamed to ...
2234 * sysdeps/x86/bits/select.h: This.
2235
d48d0446
L
2236 * sysdeps/i386/bits/setjmp.h: Removed.
2237 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2238 * sysdeps/x86/bits/setjmp.h: This.
2239
7dc00e0d
L
2240 * sysdeps/i386/bits/mathdef.h: Removed.
2241 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2242 * sysdeps/x86/bits/mathdef.h: This.
2243
03277f8f
AS
22442012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2245
2246 [BZ #14132]
2247 * include/sys/socket.h (__connect_internal)
2248 (__libc_sa_len_internal): Remove declaration.
2249 (__connect, __libc_sa_len): Declare hidden_proto.
2250 (SA_LEN): Remove use of INTUSE.
2251 * socket/connect.c: Add libc_hidden_def.
2252 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2253 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2254 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2255 alias.
2256 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2257 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2258 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2259 of adding _internal alias.
2260
13764867
L
22612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2262
2263 [BZ #14117]
6bd97696
L
2264 * sysdeps/i386/bits/link.h: Removed.
2265 * sysdeps/i386/bits/linkmap.h: Likewise.
2266 * sysdeps/x86_64/bits/link.h: Renamed to ...
2267 * sysdeps/x86/bits/link.h: This.
2268 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2269 * sysdeps/x86/bits/linkmap.h: This.
2270
f726f0bb
L
2271 * sysdeps/i386/bits/endian.h: Removed.
2272 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2273 * sysdeps/x86/bits/endian.h: This.
2274
13764867
L
2275 * sysdeps/i386/bits/byteswap.h: Removed.
2276 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2277 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2278 * sysdeps/x86/bits/byteswap.h: This.
2279 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2280 * sysdeps/x86/bits/byteswap-16.h: This.
2281 * sysdeps/i386/Implies: Add x86.
2282 * sysdeps/x86_64/Implies: Likewise.
2283
ae251b0b
DM
22842012-05-30 David S. Miller <davem@davemloft.net>
2285
2286 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2287 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2288 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2289 (FP_TRAPPING_EXCEPTIONS): Define.
2290 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2291 (FP_TRAPPING_EXCEPTIONS): Define.
2292 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2293 subnormals only when inexact has been signalled or underflow
2294 exceptions are enabled.
2295 (_FP_PACK_CANONICAL): Likewise.
2296
d5c90867
L
22972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2298
2299 [BZ #14183]
2300 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2301 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2302
63f1549e
RH
23032012-05-30 Richard Henderson <rth@twiddle.net>
2304
8d8f2279
RH
2305 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2306 with #ifndef NOT_IN_libc.
2307
63f1549e
RH
2308 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2309 marked to avoid plt entry.
2310
0ab0291b
L
23112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2312
2313 [BZ #14112]
2314 * Makeconfig (default-abi): New macro.
2315 (abi-includes): Likewise.
2316 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2317 $(abi-$(default-abi)-lib-soname) for soname if defined.
2318 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2319 abi-variants.
2320 * Makefile (installed-stubs): Likewise.
2321 * include/stubs-biarch.h: Removed.
2322 * scripts/lib-names.awk: Only handle one library at a time.
2323 * scripts/soversions.awk: Remove WORDSIZE support.
2324 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2325 entries.
2326 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2327 Removed.
2328 (syscall-list-default-condition): Likewise.
2329 (syscall-list-default-condition): Likewise.
2330 (syscall-list-includes): Likewise.
2331 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2332 syscall-list-* with abi-*. Handle undefined abi-variants.
2333 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2334 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2335 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2336 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2337 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2338 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2339 Removed.
2340 (syscall-list-32-options): Likewise.
2341 (syscall-list-32-condition): Likewise.
2342 (syscall-list-64-options): Likewise.
2343 (syscall-list-64-condition): Likewise.
2344 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2345 macro.
2346 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2347 Renamed to ...
2348 (abi-*): This.
2349 (abi-64-ld-soname): New macro.
2350 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2351 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2352 Renamed to ...
2353 (abi-*): This.
2354 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2355 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2356
4da0431d
JM
23572012-05-30 Joseph Myers <joseph@codesourcery.com>
2358
3a85279c
JM
2359 * sysdeps/unix/sysv/linux/kernel-features.h
2360 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2361 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2362 include <kernel-features.h>.
2363 [!__NR_ftruncate64]: Remove conditional code.
2364 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2365 [__NR_ftruncate64]: Make code unconditional.
2366 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2367 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2368 include <kernel-features.h>.
2369 [!__NR_ftruncate64]: Remove conditional code.
2370 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2371 [__NR_ftruncate64]: Make code unconditional.
2372 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2374 include <kernel-features.h>.
2375 [!__NR_ftruncate64]: Remove conditional code.
2376 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2377 [__NR_ftruncate64]: Make code unconditional.
2378 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2380 include <kernel-features.h>.
2381 [!__NR_ftruncate64]: Remove conditional code.
2382 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2383 [__NR_ftruncate64]: Make code unconditional.
2384 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2385
4da0431d
JM
2386 * configure.in (libc_cv_fpie): Weaken to a compile test using
2387 LIBC_TRY_CC_OPTION.
2388 * configure: Regenerated.
2389
11ef492c
AK
23902012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2391
2392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2396 Refreshed.
2397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2403 Refreshed.
2404
d66ef399
DM
24052012-05-27 David S. Miller <davem@davemloft.net>
2406
2407 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2408 (___Q_zero): New.
2409 (__Q_simulate_exceptions): Return void. Change to simulate
2410 exceptions by writing into the %fsr.
2411 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2412 (__Qp_handle_exceptions): Likewise.
2413 (numbers): Delete.
2414 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2415 __Qp_handle_exceptions.
2416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2417 __Qp_handle_exceptions.
2418 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2419 as unused and give dummy FP_RND_NEAREST initializer.
2420 (FP_INHIBIT_RESULTS): Define.
2421 (___Q_simulate_exceptions): Update declaration.
2422 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2423 formatting.
2424 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2425 as unused and give dummy FP_RND_NEAREST initializer.
2426 (__Qp_handle_exceptions): Update declaration.
2427 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2428 formatting.
2429
04fb54b5
TS
24302012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2431
2432 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2433 the temporary FPU control word.
2434 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2435 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2436 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2437 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2438 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2439 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2440 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2441 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2442 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2443 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2444 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2445
3f99608f
KK
24462012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2447
2448 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2449 fields.
2450
65a4de4e
CLT
24512012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2452
2453 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2454 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2455 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2456 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2457 Likewise.
2458 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2459 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2460 Likewise.
2461
15749d40
UD
24622012-05-27 Ulrich Drepper <drepper@gmail.com>
2463
2464 * po/h.po: Update from translation team.
2465
25dbcb27
AS
24662012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2467
3d3f8e55
AS
2468 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2469
25dbcb27
AS
2470 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2471 handling of denormals.
2472 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2473 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2474 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2475 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2476 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2479 Likewise.
2480
7ad47a80 24812012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2482
2483 [BZ #14152]
2484 * math/libm-test.inc (fma_test): Don't always expect underflow
2485 exception.
2486
9c6ea9fa
SP
24872012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2488
2489 [BZ #12416]
2490 * elf/tst-execstack.c: Include stackinfo.h.
2491 (do_test): Adjust test case to ensure that pthread_getattr_np
2492 behaviour remains the same after marking stack executable.
2493
a8239222
JM
24942012-05-25 Joseph Myers <joseph@codesourcery.com>
2495
2496 * sysdeps/unix/sysv/linux/kernel-features.h
2497 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2498 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2499 kernel-features.h.
2500 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2501 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2502 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2503 kernel-features.h.
2504 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2505 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2506
918b5606
L
25072012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2508
2509 * configure.in: Define the default includes to being none.
2510 * configure: Regenerated.
2511
3a097cc7
RM
25122012-05-25 Roland McGrath <roland@hack.frob.com>
2513
8422c9a5
RM
2514 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2515 * sysdeps/x86_64/setjmp.S: Likewise.
2516 * sysdeps/i386/bsd-setjmp.S: Likewise.
2517 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2518 * sysdeps/i386/setjmp.S: Likewise.
2519 * sysdeps/i386/__longjmp.S: Likewise.
2520 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2521 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2522
3a097cc7
RM
2523 * include/stap-probe.h: New file.
2524 * configure.in: Handle --enable-systemtap.
2525 * configure: Regenerated.
2526 * config.h.in (USE_STAP_PROBE): New #undef.
2527 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2528 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2529 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2530
21708942
JM
25312012-05-25 Joseph Myers <joseph@codesourcery.com>
2532
2533 [BZ #13717]
2534 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2535 to 2.4.0 where earlier.
2536 * sysdeps/unix/sysv/linux/configure: Regenerated.
2537 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2538 <kernel-features.h>.
2539 [__ASSUME_32BITUIDS]: Make code unconditional.
2540 [!__ASSUME_32BITUIDS]: Remove conditional code.
2541 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2542 <kernel-features.h>.
2543 [__ASSUME_32BITUIDS]: Make code unconditional.
2544 [!__ASSUME_32BITUIDS]: Remove conditional code.
2545 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2546 [__ASSUME_32BITUIDS]: Make code unconditional.
2547 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2548 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2549 <kernel-features.h>.
2550 [__ASSUME_32BITUIDS]: Make code unconditional.
2551 [!__ASSUME_32BITUIDS]: Remove conditional code.
2552 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2553 <kernel-features.h>.
2554 [__ASSUME_32BITUIDS]: Make code unconditional.
2555 [!__ASSUME_32BITUIDS]: Remove conditional code.
2556 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2557 <kernel-features.h>.
2558 [__ASSUME_32BITUIDS]: Make code unconditional.
2559 [!__ASSUME_32BITUIDS]: Remove conditional code.
2560 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2561 <kernel-features.h>.
2562 [__ASSUME_32BITUIDS]: Make code unconditional.
2563 [!__ASSUME_32BITUIDS]: Remove conditional code.
2564 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2565 <kernel-features.h>.
2566 [__ASSUME_32BITUIDS]: Make code unconditional.
2567 [!__ASSUME_32BITUIDS]: Remove conditional code.
2568 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2569 <kernel-features.h>.
2570 [__ASSUME_32BITUIDS]: Make code unconditional.
2571 [!__ASSUME_32BITUIDS]: Remove conditional code.
2572 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2573 <kernel-features.h>.
2574 [__ASSUME_32BITUIDS]: Make code unconditional.
2575 [!__ASSUME_32BITUIDS]: Remove conditional code.
2576 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2577 <kernel-features.h>.
2578 [__ASSUME_32BITUIDS]: Make code unconditional.
2579 [!__ASSUME_32BITUIDS]: Remove conditional code.
2580 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2581 <kernel-features.h>.
2582 [__ASSUME_32BITUIDS]: Make code unconditional.
2583 [!__ASSUME_32BITUIDS]: Remove conditional code.
2584 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2585 <kernel-features.h>.
2586 [__ASSUME_32BITUIDS]: Make code unconditional.
2587 [!__ASSUME_32BITUIDS]: Remove conditional code.
2588 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2589 <kernel-features.h>.
2590 [__NR_setresgid] (__setresgid): Do not declare.
2591 [__ASSUME_32BITUIDS]: Make code unconditional.
2592 [!__ASSUME_32BITUIDS]: Remove conditional code.
2593 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2594 <kernel-features.h>.
2595 [__NR_setresuid] (__setresuid): Do not declare.
2596 [__ASSUME_32BITUIDS]: Make code unconditional.
2597 [!__ASSUME_32BITUIDS]: Remove conditional code.
2598 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2599 <kernel-features.h>.
2600 [__ASSUME_32BITUIDS]: Make code unconditional.
2601 [!__ASSUME_32BITUIDS]: Remove conditional code.
2602 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2603 <kernel-features.h>.
2604 [__ASSUME_32BITUIDS]: Make code unconditional.
2605 [!__ASSUME_32BITUIDS]: Remove conditional code.
2606 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2607 <kernel-features.h>.
2608 [__ASSUME_32BITUIDS]: Make code unconditional.
2609 [!__ASSUME_32BITUIDS]: Remove conditional code.
2610 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2611 <kernel-features.h>.
2612 [__ASSUME_32BITUIDS]: Make code unconditional.
2613 [!__ASSUME_32BITUIDS]: Remove conditional code.
2614 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2615 <kernel-features.h>.
2616 [__ASSUME_32BITUIDS]: Make code unconditional.
2617 [!__ASSUME_32BITUIDS]: Remove conditional code.
2618 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2619 <kernel-features.h>.
2620 [__ASSUME_32BITUIDS]: Make code unconditional.
2621 [!__ASSUME_32BITUIDS]: Remove conditional code.
2622 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2623 <kernel-features.h>.
2624 [__ASSUME_32BITUIDS]: Make code unconditional.
2625 [!__ASSUME_32BITUIDS]: Remove conditional code.
2626 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2627 <kernel-features.h>.
2628 [__ASSUME_32BITUIDS]: Make code unconditional.
2629 [!__ASSUME_32BITUIDS]: Remove conditional code.
2630 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2631 <kernel-features.h>.
2632 [__ASSUME_32BITUIDS]: Make code unconditional.
2633 [!__ASSUME_32BITUIDS]: Remove conditional code.
2634 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2635 <kernel-features.h>.
2636 [__ASSUME_32BITUIDS]: Make code unconditional.
2637 [!__ASSUME_32BITUIDS]: Remove conditional code.
2638 * sysdeps/unix/sysv/linux/kernel-features.h
2639 (__ASSUME_SETRESUID_SYSCALL): Remove.
2640 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2641 (__ASSUME_32BITUIDS): Likewise.
2642 (__ASSUME_LDT_WORKS): Likewise.
2643 (__ASSUME_O_DIRECTORY): Likewise.
2644 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2645 architecture but not kernel version.
2646 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2647 (__ASSUME_MMAP2_SYSCALL): Likewise.
2648 (__ASSUME_STAT64_SYSCALL): Likewise.
2649 (__ASSUME_IPC64): Likewise.
2650 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2651 <kernel-features.h>.
2652 [__ASSUME_32BITUIDS]: Make code unconditional.
2653 [!__ASSUME_32BITUIDS]: Remove conditional code.
2654 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2655 <kernel-features.h>.
2656 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2657 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2658 132096]: Remove conditional code.
2659 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2660 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2661 <kernel-features.h>.
2662 [__ASSUME_32BITUIDS]: Make code unconditional.
2663 [!__ASSUME_32BITUIDS]: Remove conditional code.
2664 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2665 <kernel-features.h>.
2666 [__ASSUME_32BITUIDS]: Make code unconditional.
2667 [!__ASSUME_32BITUIDS]: Remove conditional code.
2668 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2669 <kernel-features.h>.
2670 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2671 unconditional.
2672 (__setresgid): Do not declare.
2673 [__ASSUME_32BITUIDS]: Make code unconditional.
2674 [!__ASSUME_32BITUIDS]: Remove conditional code.
2675 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2676 <kernel-features.h>.
2677 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2678 unconditional.
2679 (__setresuid): Do not declare.
2680 [__ASSUME_32BITUIDS]: Make code unconditional.
2681 [!__ASSUME_32BITUIDS]: Remove conditional code.
2682 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2683 <kernel-features.h>.
2684 [__ASSUME_32BITUIDS]: Make code unconditional.
2685 [!__ASSUME_32BITUIDS]: Remove conditional code.
2686 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2687 <kernel-features.h>.
2688 [__ASSUME_32BITUIDS]: Make code unconditional.
2689 [!__ASSUME_32BITUIDS]: Remove conditional code.
2690
a386f1cc
RH
26912012-05-25 Richard Henderson <rth@twiddle.net>
2692
2693 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2694 dl_hwcap to ifunc resolver.
2695 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2696 elf_ifunc_invoke.
2697 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2698 dl_hwcap to ifunc resolver.
2699 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2700
b6550497
JM
27012012-05-24 Joseph Myers <joseph@codesourcery.com>
2702
2703 [BZ #14153]
2704 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2705 for |x| <= 2**-26, not 2**-57.
2706 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2707 exception.
2708
b0bc23a1
JL
27092012-05-24 Jeff Law <law@redhat.com>
2710
2711 * stdio-common/Makefile (tests): Add bug25.
2712 * stdio-common/bug25.c: New test.
2713
347c92e9
L
27142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2715
2716 [BZ #13576]
2717 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2718 multiple of MALLOC_ALIGNMENT in size.
2719 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2720
6bcc8b3f
JM
27212012-05-24 Joseph Myers <joseph@codesourcery.com>
2722
2723 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2724 Require >= 256.
2725 (FILENAME_MAX): Use macro-int-constant.
2726 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2727 (_IOFBF): Use macro-int-constant.
2728 (_IOLBF): Likewise.
2729 (_IONBF): Likewise.
2730 (SEEK_CUR): Likewise.
2731 (SEEK_END): Likewise.
2732 (SEEK_SET): Likewise.
2733 (TMP_MAX): Likewise.
2734 (EOF): Use macro-int-constant. Require < 0.
2735 (NULL): Use macro-constant. Require == 0.
2736 (stdin): Require type to be FILE *.
2737 (stdout): Likewise.
2738 (stderr): Likewise.
2739 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2740 macro-int-constant.
2741 (EXIT_SUCCESS): Likewise.
2742 (NULL): Use macro-constant. Require == 0.
2743 (RAND_MAX): Use macro-int-constant.
2744 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2745 [C99-based standards] (strtof): Require function.
2746 [C99-based standards] (strtold): Likewise.
2747 [C99-based standards] (strtoll): Likewise.
2748 [C99-based standards] (strtoull): Likewise.
2749 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2750 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2751 [ISO || ISO99 || ISO11] (math.h): Likewise.
2752 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2753 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2754 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2755
d18ea0c5
AS
27562012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2757
2758 [BZ #14132]
56d25bb8
AS
2759 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2760 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2761 * intl/dgettext.c (DCGETTEXT): Likewise.
2762 * intl/gettext.c (DCGETTEXT): Likewise.
2763 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2764 * posix/regex_internal.h (gettext): Likewise.
2765 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2766 Remove declaration.
2767 * include/argz.h (__argz_count_internal)
2768 (__argz_stringify_internal): Remove declaration.
2769 (__argz_count, __argz_stringify): Declare hidden proto.
2770 * intl/dcgettext.c: Remove use of INTDEF.
2771 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2772 * string/argz-stringify.c: Likewise.
2773 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2774 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2775 Declare hidden proto.
d18ea0c5
AS
2776 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2777 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2778 Declare hidden proto.
2779 * include/stdio.h (__asprintf_internal): Don't declare.
2780 (__asprintf): Don't define as macro. Declare hidden proto.
2781 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2782 (__fsetlocking): Declare hidden proto.
2783 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2784 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2785 hidden proto.
2786 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2787 (_IO_setlinebuf): Remove use of INTUSE.
2788 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2789 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2790 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2791 Remove declaration.
2792 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2793 (_IO_do_flush): Remove use of INTUSE.
2794 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2795 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2796 (_IO_adjust_column, _IO_least_wmarker)
2797 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2798 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2799 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2800 (_IO_default_doallocate, _IO_wdefault_doallocate)
2801 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2802 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2803 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2804 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2805 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2806 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2807 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2808 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2809 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2810 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2811 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2812 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2813 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2814 proto.
2815 (_IO_flush_all_internal, _IO_adjust_column_internal)
2816 (_IO_default_uflow_internal, _IO_default_finish_internal)
2817 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2818 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2819 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2820 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2821 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2822 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2823 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2824 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2825 (_IO_file_close_internal, _IO_file_close_it_internal)
2826 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2827 (_IO_file_init_internal, _IO_file_attach_internal)
2828 (_IO_file_fopen_internal, _IO_file_read_internal)
2829 (_IO_file_sync_internal, _IO_file_seek_internal)
2830 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2831 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2832 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2833 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2834 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2835 (_IO_list_all_internal, _IO_link_in_internal)
2836 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2837 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2838 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2839 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2840 (_IO_do_write_internal, _IO_padn_internal)
2841 (_IO_getline_info_internal, _IO_getline_internal)
2842 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2843 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2844 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2845 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2846 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2847 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2848 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2849 with libc_hidden_ver, remove use of INTUSE.
2850 * libio/genops.c: Likewise.
2851 * libio/freopen.c: Likewise.
2852 * libio/freopen64.c: Likewise.
2853 * libio/iofclose.c: Likewise.
2854 * libio/iofdopen.c: Likewise.
2855 * libio/iofflush.c: Likewise.
2856 * libio/iofflush_u.c: Likewise.
2857 * libio/iofgets.c: Likewise.
2858 * libio/iofgets_u.c: Likewise.
2859 * libio/iofopen.c: Likewise.
2860 * libio/iofopncook.c: Likewise.
2861 * libio/iofread.c: Likewise.
2862 * libio/iofread_u.c: Likewise.
2863 * libio/ioftell.c: Likewise.
2864 * libio/iofwrite.c: Likewise.
2865 * libio/iogetline.c: Likewise.
2866 * libio/iogets.c: Likewise.
2867 * libio/iogetwline.c: Likewise.
2868 * libio/iopadn.c: Likewise.
2869 * libio/iopopen.c: Likewise.
2870 * libio/ioseekoff.c: Likewise.
2871 * libio/ioseekpos.c: Likewise.
2872 * libio/iosetbuffer.c: Likewise.
2873 * libio/iosetvbuf.c: Likewise.
2874 * libio/ioungetc.c: Likewise.
2875 * libio/ioungetwc.c: Likewise.
2876 * libio/iovdprintf.c: Likewise.
2877 * libio/iovsprintf.c: Likewise.
2878 * libio/iovsscanf.c: Likewise.
2879 * libio/memstream.c: Likewise.
2880 * libio/obprintf.c: Likewise.
2881 * libio/oldfileops.c: Likewise.
2882 * libio/oldiofclose.c: Likewise.
2883 * libio/oldiofdopen.c: Likewise.
2884 * libio/oldiofopen.c: Likewise.
2885 * libio/oldiopopen.c: Likewise.
2886 * libio/oldstdfiles.c: Likewise.
2887 * libio/putc.c: Likewise.
2888 * libio/setbuf.c: Likewise.
2889 * libio/setlinebuf.c: Likewise.
2890 * libio/stdfiles.c: Likewise.
2891 * libio/strops.c: Likewise.
2892 * libio/vasprintf.c: Likewise.
2893 * libio/vscanf.c: Likewise.
2894 * libio/vsnprintf.c: Likewise.
2895 * libio/vswprintf.c: Likewise.
2896 * libio/wfiledoalloc.c: Likewise.
2897 * libio/wfileops.c: Likewise.
2898 * libio/wgenops.c: Likewise.
2899 * libio/wmemstream.c: Likewise.
2900 * libio/wstrops.c: Likewise.
2901 * libio/__fpurge.c: Likewise.
2902 * libio/__fsetlocking.c: Likewise.
2903 * assert/assert.c: Likewise.
2904 * debug/fgets_chk.c: Likewise.
2905 * debug/fgets_u_chk.c: Likewise.
2906 * debug/fread_chk.c: Likewise.
2907 * debug/fread_u_chk.c: Likewise.
2908 * debug/gets_chk.c: Likewise.
2909 * debug/obprintf_chk.c: Likewise.
2910 * debug/vasprintf_chk.c: Likewise.
2911 * debug/vdprintf_chk.c: Likewise.
2912 * debug/vsnprintf_chk.c: Likewise.
2913 * debug/vsprintf_chk.c: Likewise.
2914 * malloc/mtrace.c: Likewise.
2915 * misc/error.c: Likewise.
2916 * misc/syslog.c: Likewise.
2917 * stdio-common/asprintf.c: Likewise.
2918 * stdio-common/fxprintf.c: Likewise.
2919 * stdio-common/getw.c: Likewise.
2920 * stdio-common/isoc99_fscanf.c: Likewise.
2921 * stdio-common/isoc99_scanf.c: Likewise.
2922 * stdio-common/isoc99_vfscanf.c: Likewise.
2923 * stdio-common/isoc99_vscanf.c: Likewise.
2924 * stdio-common/isoc99_vsscanf.c: Likewise.
2925 * stdio-common/printf-prs.c: Likewise.
2926 * stdio-common/printf_fp.c: Likewise.
2927 * stdio-common/printf_fphex.c: Likewise.
2928 * stdio-common/printf_size.c: Likewise.
2929 * stdio-common/putw.c: Likewise.
2930 * stdio-common/scanf.c: Likewise.
2931 * stdio-common/sprintf.c: Likewise.
2932 * stdio-common/tmpfile.c: Likewise.
2933 * stdio-common/vfprintf.c: Likewise.
2934 * stdio-common/vfscanf.c: Likewise.
2935 * stdlib/strfmon_l.c: Likewise.
2936 * sunrpc/openchild.c: Likewise.
2937 * sunrpc/xdr_stdio.c: Likewise.
2938 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2939 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2940
d6c33fda
RM
29412012-05-24 Roland McGrath <roland@hack.frob.com>
2942
c1487492
RM
2943 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2944
2945 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2946 in the third column, to generate for the shared library an IFUNC
2947 that uses _dl_vdso_vsym.
2948 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2949 * Makeconfig (object-suffixes-noshared): New variable.
2950
2951 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2952 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2953 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2954 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2955
d6c33fda
RM
2956 [BZ #14132]
2957 * include/sys/time.h (__gettimeofday): Remove macro.
2958 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2959 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2960 Remove INTDEF.
2961 (__gettimeofday): Add libc_hidden_def.
2962 (gettimeofday): Add libc_hidden_weak.
2963 * sysdeps/mach/gettimeofday.c: Likewise.
2964 * sysdeps/posix/gettimeofday.c: Likewise.
2965 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2966 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2967 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2968 (__gettimeofday_internal): Remove strong_alias.
2969 (__gettimeofday): Add libc_hidden_def.
2970 (gettimeofday): Add libc_hidden_weak.
2971 * sysdeps/unix/syscalls.list (gettimeofday):
2972 Remove __gettimeofday_internal alias.
2973
b5a2bbe6
L
29742012-05-24 Daniel Jacobowitz <drow@false.org>
2975 H.J. Lu <hongjiu.lu@intel.com>
2976
2977 [BZ #12495]
2978 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2979 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2980 (largebin_index_32_big): New.
2981 (largebin_index): Use it for 16-byte alignment.
2982 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2983 correction with front_misalign.
2984
cfba4fda
L
29852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2986
7f907421
L
2987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2989 Likewise.
2990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2991 Likewise.
2992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2993 Likewise.
2994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2995 Likewise.
2996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2997 Likewise.
2998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2999 Likewise.
3000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3001 Likewise.
3002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3003 Likewise.
3004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3005 Likewise.
3006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3007 Likewise.
3008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3009 Likewise.
3010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3011 Likewise.
3012
cfba4fda
L
3013 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3014 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3015
80bad0cc
JM
30162012-05-24 Joseph Myers <joseph@codesourcery.com>
3017
7a25eb06
JM
3018 [BZ #10846]
3019 [BZ #14036]
3020 * math/libm-test.inc (exp_test): Add test from bug 14036.
3021 (pow_test): Add test from bug 10846.
3022
795405f9
JM
3023 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3024 and other flags.
3025 (special_function): Do not include flags in test name.
3026 (parse_args): Likewise.
3027 * sysdeps/i386/fpu/libm-test-ulps: Update.
3028 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3029 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3030 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3032
80bad0cc
JM
3033 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3034 exceptions.
3035 * math/libm-test.inc ("Philosophy"): Update comment about
3036 exception testing.
3037 (UNDERFLOW_EXCEPTION): New macro.
3038 (UNDERFLOW_EXCEPTION_OK): Likewise.
3039 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3040 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3041 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3042 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3043 (INVALID_EXCEPTION_OK): Update value.
3044 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3045 (OVERFLOW_EXCEPTION_OK): Likewise.
3046 (IGNORE_ZERO_INF_SIGN): Likewise.
3047 (test_exceptions): Handle underflow exceptions.
3048 (acos_test): Update for underflow exception expectations.
3049 (cexp_test): Likewise.
3050 (clog_test): Likewise.
3051 (clog10_test): Likewise.
3052 (csqrt_test): Likewise.
3053 (ctan_test): Likewise.
3054 (ctanh_test): Likewise.
3055 (exp_test): Likewise.
3056 (exp10_test): Likewise.
3057 (exp2_test): Likewise.
3058 (expm1_test): Likewise.
3059 (fma_test): Likewise.
3060 (j0_test): Likewise.
3061 (jn_test): Likewise.
3062 (nexttoward_test): Likewise.
3063 (pow_test): Likewise.
3064 (scalbn_test): Likewise.
3065 (scalbln_test): Likewise.
3066 (tan_test): Likewise.
3067 (y1_test): Likewise.
3068 * sysdeps/i386/fpu/libm-test-ulps: Update.
3069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3070
9e0e3d0b
DM
30712012-05-23 David S. Miller <davem@davemloft.net>
3072
3073 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3074 (__libc_sigaction): Remove unused local variables.
3075
ccd0a08f
L
30762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3077
3078 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3079
62bdf9a6
PE
30802012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3081
f8591f80
PE
3082 mktime: avoid signed integer overflow
3083 * time/mktime.c (__mktime_internal): Do not mishandle the case
3084 where diff == INT_MIN.
3085
94c7d826
PE
3086 mktime: simplify computation of average
3087 * time/mktime.c (ranged_convert): Use new time_t_avg function
3088 instead of rolling our own (probably-slower) code.
3089
ce73d683
PE
3090 mktime: do not assume signed right shift propagates sign bit
3091 * time/mktime.c (isdst_differ): New static function.
3092 (__mktime_internal): No need to normalize tm_isdst now.
3093 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3094 tm_isdst values.
3095
72a22e59
PE
3096 mktime: merge another wrapv change from gnulib
3097 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3098 from some compilers.
3099
68605433
PE
3100 mktime: remove incorrect attempt at unusual arithmetics
3101 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3102 The code didn't really work on such machines anyway.
3103 (TYPE_MINIMUM): Assume two's complement.
3104 (twos_complement_arithmetic): Verify that long_int and time_t
3105 are two's complement (or unsigned, in the latter case).
3106
03cf7fe3
PE
3107 mktime: check signed shifts on long_int and time_t, too
3108 * time/mktime.c (SHR): Check that shifts work as desired
3109 on the types long_int and time_t too, as SHR is used on
3110 such types.
3111
f04dfbc2
PE
3112 mktime: do not assume 'long' is wide enough
3113 * time/mktime.c (verify): Move decl up.
3114 (long_int): New type.
3115 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3116 to remove assumption in the code that 'long' is wide enough to
3117 store year values. This assumption is not true on x32 and on
3118 some non-glibc platforms.
3119
62bdf9a6
PE
3120 mktime: merge wrapv change from gnulib
3121 * time/mktime.c (WRAPV): New macro.
3122 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3123 (guess_time_tm, __mktime_internal): Do not assume that signed
3124 integer overflow wraps around; modern compilers generate code
3125 where this assumption is no longer valid.
3126
5e292e4f
L
31272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3128
3129 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3130 Replace "jmp L(pseudo_end)" with "ret".
3131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3132 Likewise.
3133
8caf8c87
AJ
31342012-05-23 Andreas Jaeger <aj@suse.de>
3135
3136 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3137 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3138
1a09dc56
AJ
31392012-05-23 Andreas Jaeger <aj@suse.de>
3140 Maximilian Attems <max@stro.at>
3141
3142 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3143 New macros.
3144
1c87aba0
L
31452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3146
3147 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3148 code so that pseudo_end is just ret and the stack pointer is
3149 correct also for static library in error case.
3150
40e45bd5
JM
31512012-05-23 Joseph Myers <joseph@codesourcery.com>
3152
c2670533
JM
3153 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3154 move to syscalls.list.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3159
40e45bd5
JM
3160 * manual/install.texi (Running make install): Do not mention Linux
3161 kernel version for which pt_chown is not needed.
3162 (Linux): Do not mention problems with nscd with 2.0 kernels.
3163 * INSTALL: Regenerated.
3164
be08eda5
AJ
31652012-05-23 Andreas Jaeger <aj@suse.de>
3166
3167 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3168 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3169 macro.
3170 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3171 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3172 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3173 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3174 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3175 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3176 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3177 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3178 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3179 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3180 * sysdeps/unix/sysv/linux/bits/in.h
3181 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3182
a6a056bb
RM
31832012-05-22 Roland McGrath <roland@hack.frob.com>
3184
3185 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3186 (PREPARE_VERSION): Just use assert instead, it will be elided
3187 under [NDEBUG] anyway.
3188
c9009328
L
31892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3190
3191 * sysdeps/unix/sysv/linux/Makefile: Include
3192 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3193 (sysdep_routines): Remove sysctl.
c9009328
L
3194 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3195 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3196 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3197 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3198 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3199
73338355
AJ
32002012-05-22 Andreas Jaeger <aj@suse.de>
3201
3202 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3203 that pseudo_end is just ret and the stack pointer is correct also
3204 for static library in error case.
3205
d44638b0
PP
32062012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3207
3208 [BZ #14122]
3209 * nss/nsswitch.c (defconfig_entries): New variable.
3210 (__nss_database_lookup): Don't leak defconfig entries.
3211 (nss_parse_service_list): Don't leak on error paths.
3212 (free_database_entries): New function.
3213 (free_defconfig): New function.
3214 (free_mem): Move common code to free_database_entries.
3215
31a39bd8
L
32162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3217
da0331a8
L
3218 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3219 Add arch_prctl.
3220 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3221
31a39bd8
L
3222 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3223 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3225 New macro.
3226 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3227 (INTERNAL_SYSCALL_TYPES): Likewise.
3228 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3229 (LOAD_REGS_TYPES_[1-6]): Likewise.
3230 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3231 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3232
45470df3
AZ
32332012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3234
3235 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3236 copysignl for GLIBC_2_0.
3237 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3238 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3239 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3240 logbl for GLIBC_2_0.
3241 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3242 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3243
98a61bcb
L
32442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3245
a4f6e481
L
3246 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3247 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3248
f63d5db6
L
3249 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3250 Use "neg %eax".
3251
98a61bcb
L
3252 * time/mktime.c: Update copyright years.
3253
95770f14
PE
32542012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3255
6226efbd
PE
3256 mktime: merge comment-quoting-style change from gnulib
3257 * time/mktime.c: Quote 'like this' in comments.
3258 The GNU coding standards suggest that we no longer quote `like this',
3259 as "`" and "'" are typically rendered asymmetrically nowadays.
3260 The typical gnulib style is to quote 'like this' when quoting
3261 code, and "like this" when quoting English.
3262
b99e4f78
PE
3263 * time/mktime.c (compile-command): Add "-I.".
3264
643e01e6
PE
3265 mktime: merge mktime-internal.h change from gnulib
3266 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3267
2554247d
PE
3268 mktime: merge time_r change from gnulib
3269 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3270
826dd0ab
PE
3271 mktime: merge DEBUG change from gnulib
3272 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3273 case system <time.h> has a #define.
3274
bd83aabe
PE
3275 mktime: merge <sys/types.h> change from gnulib
3276 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3277 since <time.t> is now guaranteed to define time_t.
3278
95770f14
PE
3279 mktime: merge HAVE_CONFIG_H change from gnulib
3280 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3281
5e1a27a9
L
32822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3283
0e44a77e
L
3284 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3285 Use "neg %eax".
3286
5e1a27a9
L
3287 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3288 __rlim_t cast.
3289 (struct rusage): Use anonymous union to pad each field to
3290 __syscall_slong_t.
3291
46259bec
DM
32922012-05-21 David S. Miller <davem@davemloft.net>
3293
3294 * Makefules (o-iterator): Remove .s cases.
3295 (compile-command.s): Delete.
3296 (COMPILE.s): Delete.
3297 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3298
59f0c22e
JM
32992012-05-21 Joseph Myers <joseph@codesourcery.com>
3300
3301 * configure.in (libc_cv_predef_stack_protector): Only consider
3302 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3303 * configure: Regenerated.
3304
20c07380
L
33052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3306
bbb3154b
L
3307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3308 New macro. Use R*LP on int and pointer.
3309 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3310 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3311 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3312 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3313
20c07380
L
3314 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3315 [__WORDSIZE_TIME64_COMPAT32] instead of
3316 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3317 (struct utmp): Likewise.
3318 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3319 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3320 Renamed to ...
3321 (__WORDSIZE_TIME64_COMPAT32): This.
3322 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3323 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3324 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3325 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3326 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3327 (__WORDSIZE_TIME64_COMPAT32): New macro.
3328
d8d1017e
AJ
33292012-05-21 Andreas Jaeger <aj@suse.de>
3330
3331 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3332 only if [SHARED]. Add prototype for __wcschr_ia32.
3333
6c7fb145
RM
33342012-05-21 Roland McGrath <roland@hack.frob.com>
3335
3336 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3337 of %rbp unmolested in the jmp_buf while mangling the low bits.
3338 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3339 unmolested high bits of %rbp while demangling the low bits.
3340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3341
66274218
AJ
33422012-05-21 Andreas Jaeger <aj@suse.de>
3343
07c58f8f
AJ
3344 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3345 * sunrpc/svc_simple.c: Use it for registerrpc.
3346 * sunrpc/xcrypt.c: Use it for passwd2des.
3347
66274218
AJ
3348 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3349
61f65140
L
33502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3351
3352 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3353 Don't define if [__SYSCALL_WORDSIZE != 32].
3354 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3355 New macro.
3356
5fefb436
AJ
33572012-05-21 Bruno Haible <bruno@clisp.org>
3358 Andreas Jaeger <aj@suse.de>
3359
3360 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3361 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3362 inptr and inend for must_buffer_ch.
3363 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3364 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3365 * stdio-common/Makefile (tests): Remove bug15.
3366 (bug15-ENV): Remove macro.
3367 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3368 anymore.
3369
d8e272ab
AJ
33702012-05-19 Andreas Jaeger <aj@suse.de>
3371 Roland McGrath <roland@hack.frob.com>
3372
3373 * manual/contrib.texi: Completely rewritten. It contains now an
3374 alphabetical list of contributors and their contributions.
3375
4a56a162
RH
33762012-05-21 Richard Henderson <rth@twiddle.net>
3377
3378 * misc/getauxval.c (__getauxval): Use unsigned long int.
3379 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3380 (getauxval): Use unsigned long int.
3381
d024d23c
L
33822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3383
3384 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3385
cbc00a03
RM
33862012-05-21 Roland McGrath <roland@hack.frob.com>
3387
3388 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3389 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3390 __alignof__ (long double).
3391
478143fa
AZ
33922012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3393
3394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3395
c7683a6d
RH
33962012-05-20 Richard Henderson <rth@twiddle.net>
3397
3398 * misc/getauxval.c: New file.
3399 * misc/sys/auxv.h: New file.
3400 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3401 (routines): Add getauxval.
3402 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3403 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3404 * elf/dl-sysdep.c (_dl_auxv): Remove.
3405 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3406 * elf/dl-support.c (_dl_auxv): New variable.
3407 (_dl_aux_init): Initialize it.
3408 * manual/startup.texi (Auxiliary Vector): New node.
3409 * sysdeps/generic/bits/hwcap.h: New file.
3410 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3411 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3412 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3413 * sysdeps/sparc/sysdep.h: ... here. Include it.
3414 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3415 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3417 Update.
c7683a6d
RH
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3421 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3426
a6f1845d
AZ
34272012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3428
3429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3430
cbcbe830
DM
34312012-05-19 David S. Miller <davem@davemloft.net>
3432
3433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3434
e0b16cc2
JM
34352012-05-19 Joseph Myers <joseph@codesourcery.com>
3436
3437 [BZ #14123]
3438 * math/s_ccosh.c: Include <float.h>
3439 (__ccosh): Avoid internal overflow calculating sinh and cosh
3440 values before multiplying by sin and cos values.
3441 * math/s_ccoshf.c: Likewise.
3442 * math/s_ccoshl.c: Likewise.
3443 * math/s_csin.c: Likewise.
3444 * math/s_csinf.c: Likewise.
3445 * math/s_csinl.c: Likewise.
3446 * math/s_csinh.c: Likewise.
3447 * math/s_csinhf.c: Likewise.
3448 * math/s_csinhl.c: Likewise.
3449 * math/libm-test.inc (ccos_test): Add more tests.
3450 (ccosh_test): Likewise.
3451 (csin_test): Likewise.
3452 (csinh_test): Likewise.
3453 * sysdeps/i386/fpu/libm-test-ulps: Update.
3454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3455
6ad13e08
L
34562012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3457
f66f0ce8
L
3458 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3459 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3460
6ad13e08
L
3461 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3462
b1d072a7
JM
34632012-05-19 Joseph Myers <joseph@codesourcery.com>
3464
3465 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3466 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3467 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3468 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3469 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3470 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3471 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3472 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3473 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3474 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3475 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3476 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3477 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3478 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3479 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3480 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3481 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3482 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3483 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3484 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3485 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3486 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3487 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3488 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3489 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3490 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3491 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3492 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3493 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3494 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3495 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3496
9eae47cb
AJ
34972012-05-18 Andreas Jaeger <aj@suse.de>
3498
3499 * csu/.gitignore: Delete.
3500
bb07f69f
L
35012012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3502
3503 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3504 (timex): Use __syscall_slong_t.
3505
e6bdb741
AJ
35062012-05-18 Andreas Jaeger <aj@suse.de>
3507 Carlos O'Donell <carlos_odonell@mentor.com>
3508
3509 * manual/install.texi (Configuring and compiling): Update
3510 description about files modified in the source directory.
d6c33fda 3511 * INSTALL: Regenerated.
e6bdb741 3512
1b74487e
L
35132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3514
3515 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3516 value. Use "or" to set return value to -1.
3517 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3518 negate return value.
3519
a88b64b9
TMQMF
35202012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3521
3522 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3523 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3524 failure if the compiler has Graphite support disabled.
3525 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3526 Likewise.
3527 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3528 CFLAGS-memmove.c): Likewise.
3529 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3530 Likewise.
3531
3707636e
L
35322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3533
610b8622
L
3534 * sysdeps/x86_64/x32/_itoa.h: New file.
3535
7cd195df
L
3536 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3537 getdents system call only if kernel and user dirents have the
3538 same d_ino and d_off.
3539
94b07d20
L
3540 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3541 LLONG_MAX != LONG_MAX.
3542 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3543 (_fitoa_word): Likewise.
3544
18298070
L
3545 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3546 years.
3547 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3548 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3549 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3550
553c7ea4
L
3551 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3552 include <bits/wordsize.h>. Check __x86_64__ instead of
3553 __WORDSIZE.
3554 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3555 if __x86_64__ is defined. Use anonymous union on fpstate.
3556
3707636e
L
3557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3558 anonymous union.
3559
b53ef01a
AS
35602012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3561
37fb1dc0
AS
3562 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3563 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3564 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3565 Refer to _rtld_local_ro instead of _rtld_global_ro.
3566 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3567 Likewise.
3568 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3569 Likewise.
3570 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3571 Likewise.
3572 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3573 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3574 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3575
b53ef01a
AS
3576 * sysdeps/powerpc/powerpc32/dl-machine.c
3577 (__elf_machine_runtime_setup) [PROF]: Don't reference
3578 _dl_prof_resolve.
3579
7a185db2
AJ
35802012-05-18 Andreas Jaeger <aj@suse.de>
3581
3582 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3583 function only available for GCCs before 3.4 since GCC 3.4
3584 introduced a builtin.
3585 (lrint): Likewise.
3586 (llrintf): Likewise.
3587 (llrint): Likewise.
3588 (fmaxf): Likewise.
3589 (fmax): Likewise.
3590 (fminf): Likewise.
3591 (fmin): Likewise.
3592 (rint): Likewise.
3593 (rintf): Likewise.
3594 (nearbyint): Likewise.
3595 (nearbyintf): Likewise.
3596 (ceil): Likewise.
3597 (ceilf): Likewise.
3598 (floor): Likewise.
3599 (floorf): Likewise.
3600
3e5aef87
L
36012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3602
428bd707
L
3603 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3604 on both fields and cast pointer to __syscall_ulong_t.
3605
3e5aef87
L
3606 * bits/types.h (__fsword_t): New type.
3607 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3608 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3609 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3610 (__FSWORD_T_TYPE): Likewise.
3611 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3612 (__FSWORD_T_TYPE): Likewise.
3613 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3614 (__FSWORD_T_TYPE): Likewise.
3615 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3616 (__FSWORD_T_TYPE): Likewise.
3617 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3618 __SWORD_TYPE with __fsword_t.
3619 (statfs64): Likewise.
3620
1ba7c3dc
DM
36212012-05-17 David S. Miller <davem@davemloft.net>
3622
3623 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3624
59910343
AJ
36252012-05-17 Andreas Jaeger <aj@suse.de>
3626
3627 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3628 warning.
3629
2e4c1e9e
L
36302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3631
3632 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3633
de7f5ce7
AJ
36342012-05-17 Andreas Jaeger <aj@suse.de>
3635
3636 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3637 when it is used.
3638
286abc3d
CM
36392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3640
3641 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3642
477cc68e
L
36432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3644
3645 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3646 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3647
1a0994f5
CD
36482012-05-17 Andreas Jaeger <aj@suse.de>
3649 Carlos O'Donell <carlos_odonell@mentor.com>
3650
3651 [BZ #14059]
3652 * sysdeps/x86_64/multiarch/init-arch.h
3653 (bit_YMM_Usable): Rename to...
3654 (bit_AVX_Usable): ... this.
3655 (bit_FMA4_Usable): New macro.
3656 (bit_XMM_state): New macro.
3657 (bit_YMM_state): New macro.
3658 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3659 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3660 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3661 (CPUID_OSXSAVE): New macro.
3662 (CPUID_AVX): New macro.
3663 (CPUID_FMA4): New macro.
3664 (index_YMM_Usable): Rename to...
3665 (index_AVX_Usable): ... this.
3666 (HAS_AVX): Use HAS_ARCH_FEATURE.
3667 (HAS_FMA4): Likewise.
3668 (HAS_YMM_USABLE): Remove.
3669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3670 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3671 are present.
3672 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3673 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3674 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3675 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3676 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3677
0af797de
CM
36782012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3679
3680 * math/libm-test.c: Support platforms without multiple rounding modes.
3681 * math/bug-nextafter.c: Support platforms without FP exceptions.
3682 * math/bug-nexttoward.c: Likewise.
3683 * math/test-fenv.c: Likewise.
3684 * math/test-misc.c: Likewise.
3685 * stdlib/bug-getcontext.c: Likewise.
3686
e39745ff
AJ
36872012-05-17 Andreas Jaeger <aj@suse.de>
3688
3689 * manual/examples/search.c (critter_cmp): Change signature to
3690 avoid warnings.
3691 * manual/string.texi (Collation Functions): Likewise.
3692
48970aba
L
36932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3694
3695 * bits/types.h: Fold copyright years.
3696 * bits/typesizes.h: Likewise.
3697 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3698 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3700 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3701 * time/time.h: Likewise.
3702
bedee953
PP
37032012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3704
3705 [BZ #208]
3706 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3707 in instead of returning them. Return void.
3708 (__libc_mallinfo): Accumulate over all arenas.
3709 (__malloc_stats): Adjust for change in int_mallinfo interface.
3710
61653dfb
RM
37112012-05-16 Roland McGrath <roland@hack.frob.com>
3712
30b99d79
RM
3713 [BZ #10375]
3714 * configure.in (NM): Add AC_CHECK_TOOL for it.
3715 (libc_extra_cflags): New substituted variable.
3716 Check for -fstack-protector being used implicitly.
3717 * configure: Regenerated.
3718 * config.make.in (config-extra-cflags): New variable,
3719 gets @libc_extra_cflags@.
3720 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3721
61653dfb
RM
3722 [BZ #10375]
3723 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3724 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3725 * configure: Regenerated.
3726 * config.make.in (CPPUNDEFS): New substituted variable.
3727 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3728 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3729 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3730
661768bb
L
37312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3732
3733 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3734 (mq_attr): Use __syscall_slong_t.
3735
d4261567
L
37362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3737
3738 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3739 Check __x86_64__ instead of __WORDSIZE.
3740 (_STAT_VER_LINUX): Likewise.
3741 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3742 __syscall_ulong_t and __syscall_slong_t.
3743 (stat64): Likewise.
3744
cf3ff365
L
37452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3746
3747 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3748
76cf3e4d
L
37492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3750
3751 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3752
a637753a
L
37532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3754
3755 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3756 __syscall_ulong_t.
3757
d5e05119
L
3758 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3759 include <bits/wordsize.h>. Check __x86_64__ instead of
3760 __WORDSIZE.
3761 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3762 defined.
3763 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3764
f62ee380
L
3765 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3766 include <bits/wordsize.h>. Check __x86_64__ instead of
3767 __WORDSIZE.
3768 (user_regs_struct): Use "__extension__ unsigned long long"
3769 instead of "unsigned long" if __x86_64__ is defined.
3770 (user): Likewise. Pad after pointer field if __ILP32__ is
3771 defined.
3772
4e124ced
JM
37732012-05-16 Joseph Myers <joseph@codesourcery.com>
3774
6a3951a0
JM
3775 * configure.in (makeinfo): Require version 4.5 or later. Allow
3776 versions 5 to 9.
3777 * configure: Regenerated.
3778 * manual/install.texi (texinfo): Increase version requirement to
3779 4.5 or later.
3780 * INSTALL: Regenerated.
3781
4e124ced
JM
3782 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3783
953ca31a
L
37842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3785
3786 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3787
617aca05
L
3788 * sysdeps/x86_64/x32/ffs.c: New file.
3789
5762f7ae
L
3790 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3791 __syscall_ulong_t.
3792 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3793 defined. Use __syscall_ulong_t.
3794 (shminfo): Use __syscall_ulong_t.
3795 (shm_info): Likewise.
3796
a26b6856
L
3797 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3798 __syscall_ulong_t.
3799
cb2b9ef7
L
3800 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3801 <bits/wordsize.h>.
3802 (msgqnum_t): Use __syscall_ulong_t.
3803 (msglen_t): Likewise.
3804 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3805 __syscall_ulong_t.
3806
34683bb0
L
3807 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3808 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3809
84a68786
L
3810 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3811
48baa5f1
L
3812 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3813 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3814
180be88b
L
3815 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3816 __syscall_slong_t.
3817
5e90c8ad
L
3818 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3819 include <bits/wordsize.h>. Check __x86_64__ instead of
3820 __WORDSIZE.
3821
23dfb58b
L
3822 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3823 "unsigned long long int" if __x86_64__ is defined.
3824 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3825
ce5d54b0
L
3826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3827 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3828 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3829
13dc9eac
L
3830 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3831 <stdint.h>.
3832 (GET_PC): Cast to uintptr_t first.
3833 (GET_FRAME): Likewise.
3834 (GET_STACK): Likewise.
3835
a7895d15
L
3836 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3837 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3838 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3839 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3840 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3841 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3842 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3843 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3844 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3845 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3846 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3847 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3848 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3849 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3850 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3851 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3852 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3853 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3854 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3855 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3856 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3857 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3858 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3859 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3860 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3861 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3862 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3863 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3864 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3865
656416c9
AS
38662012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3867
5bd66283
AS
3868 * Makerules (+depfiles): Also collect depfiles from .oS in
3869 $(extra-objs).
3870 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3871 .oS, $(libnldbl-routines)).
3872
656416c9
AS
3873 * Makerules (native-compile-mkdep-flags): Define.
3874 * sunrpc/Makefile (extra-objs): Add $(addprefix
3875 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3876 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3877 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3878 calling $(make-target-directory).
3879
a46f2169
L
38802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3881
3882 * bits/types.h (__snseconds_t): Removed.
3883 * time/time.h (struct timespec): Replace __snseconds_t with
3884 __syscall_slong_t.
3885 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3886 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3887 Likewise.
3888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3889 (__SNSECONDS_T_TYPE): Likewise.
3890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3891 (__SNSECONDS_T_TYPE): Likewise.
3892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3893 (__SNSECONDS_T_TYPE): Likewise.
3894
6af6528b
L
38952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3896
3897 * sysdeps/mach/hurd/bits/typesizes.h
3898 (__SYSCALL_SLONG_TYPE): New macro.
3899 (__SYSCALL_ULONG_TYPE): Likewise.
3900
de986b56
L
39012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3902
3903 * bits/types.h (__syscall_slong_t): New type.
3904 (__syscall_ulong_t): Likewise.
3905
3906 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3907 (__SYSCALL_ULONG_TYPE): Likewise.
3908 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3909 (__SYSCALL_SLONG_TYPE): Likewise.
3910 (__SYSCALL_ULONG_TYPE): Likewise.
3911 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3912 (__SYSCALL_SLONG_TYPE): Likewise.
3913 (__SYSCALL_ULONG_TYPE): Likewise.
3914 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3915 (__SYSCALL_SLONG_TYPE): Likewise.
3916 (__SYSCALL_ULONG_TYPE): Likewise.
3917
85736dc7
L
39182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3919
3920 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3921 Add sigaltstack-offsets.sym.
3922 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3923 <sigaltstack-offsets.h>.
3924 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3925 longjmp_msg pointer.
3926 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3927 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3928 signal stack.
3929 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3930
cc03b296
JM
39312012-05-15 Joseph Myers <joseph@codesourcery.com>
3932
a9538892
JM
3933 * elf/stackguard-macros.h: Remove file.
3934 * sysdeps/generic/stackguard-macros.h: New file.
3935 * sysdeps/i386/stackguard-macros.h: Likewise.
3936 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3937 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3938 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3939 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3940 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3941 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3942 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3943 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3944 <elf/stackguard-macros.h>.
3945
cc03b296
JM
3946 [BZ #14109]
3947 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3948 __aligned__ in attribute.
3949 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3950 (gregset_t): Likewise.
3951
93171016
L
39522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3953
3954 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3955 * sysdeps/x86_64/64/Implies-after: Here. New file.
3956 * sysdeps/x86_64/x32/Implies-after: New file.
3957
d86813a0
L
39582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3959
3960 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3961 and access return value for _dl_profile_fixup. Use R10_LP to
3962 load frame size.
3963
2953ec75
L
39642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3967
3b550e9e
L
39682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3969
3970 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3971 * sysdeps/x86_64/x32/sysdep.h: New file.
3972
eda41706
L
39732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3974
3975 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3976 * sysdeps/x86_64/setjmp.S: Likewise.
3977
9ea01d93
AZ
39782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3979
3980 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3981 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3982 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3983 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3984 remove unused global constant.
3985
02a91938
CM
39862012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3987
3988 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3989 include of <not-cancel.h>.
3990
6540185f
RM
39912012-05-15 Roland McGrath <roland@hack.frob.com>
3992
3993 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3994
509072a0
AJ
39952012-05-15 Jeff Law <law@redhat.com>
3996 Andreas Jaeger <aj@suse.de>
3997
3998 [BZ #13594]
3999 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4000 out from...
4001 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4002 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4003 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4004 code changing __hst_map_handle.map.
4005
ba75122d
RM
40062012-05-15 Roland McGrath <roland@hack.frob.com>
4007
4008 * configure.in (sysnames): Look for Implies-before and Implies-after
4009 files.
4010 * configure: Regenerated.
4011
890d8bd8
L
40122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4013
4014 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4015 8-byte data alignment with LP_SIZE alignment.
4016
f6ee6623
L
40172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4018
4019 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4020 into R10_LP.
4021
ea2626f6
L
40222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4023
4024 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4025
085f715e
L
40262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4027
4028 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4029 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4030 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4031 Likewise.
4032 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4033
be8498fc
L
40342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4035
4036 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4037 (stackinfo_sub_sp): Likewise.
4038
70bc83b9
L
40392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4040
4041 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4042 RAX_LP.
4043
9bc0b730
L
40442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4045
4046 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4047 into R*_LP.
4048
6d2850e7
L
40492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4050
4051 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4052 sizes into R*_LP.
4053
3cb84561
L
40542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4055
4056 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4057
54e2ed81
L
40582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4059
4060 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4061 into R11_LP and load __x86_64_shared_cache_size_half into
4062 R8_LP.
4063
8a17f349
L
40642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4065
4066 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4067 R8_LP.
4068
777b1eea
AZ
40692012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4070
4071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4072 logb for POWER7.
4073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4074 logbf for POWER7.
4075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4076 logbl for POWER7.
4077 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4078 powerpc32/power7/fpu/s_logb.c via #include.
4079 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4080 powerpc32/power7/fpu/s_logbf.c via #include.
4081 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4082 powerpc32/power7/fpu/s_logbl.c via #include.
4083
d20d4ac2
JM
40842012-05-15 Joseph Myers <joseph@codesourcery.com>
4085
4086 * README.libm: Remove file.
4087
6cdef1ab
L
40882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4089
4090 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4091 count for x32. Use R*_LP and omit operand-size suffix.
4092
0b254d8f
L
40932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4094
4095 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4096 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4097 * sysdeps/x86_64/x32/shlib-versions: New file.
4098
ceb809dc
RM
40992012-05-14 Roland McGrath <roland@hack.frob.com>
4100
4101 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4102 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4103 Use _dl_fatal_printf instead.
4104
37f1abd4
JM
41052012-05-14 Joseph Myers <joseph@codesourcery.com>
4106
4107 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4108 set if not set by the user. Do not allow for being unset.
4109 * sysdeps/unix/sysv/linux/configure: Regenerated.
4110
11de3a33
L
41112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4112
4113 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4114 the `q' suffix from lea and replace .quad with ASM_ADDR.
4115
e02f153a
L
41162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4117
4118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4119 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4120 instead of $17.
4121 (PTR_DEMANGLE): Likewise.
4122
520ae0fd
L
41232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4124
4125 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4126 (LP_OP): Likewise.
4127 (ASM_ADDR): Likewise.
4128 (RAX_LP): Likewise.
4129 (RBP_LP): Likewise.
4130 (RBX_LP): Likewise.
4131 (RCX_LP): Likewise.
4132 (RDI_LP): Likewise.
4133 (RSI_LP): Likewise.
4134 (RSP_LP): Likewise.
4135 (R8_LP): Likewise.
4136 (R9_LP): Likewise.
4137 (R10_LP): Likewise.
4138 (R10_LP): Likewise.
4139 (R11_LP): Likewise.
4140 (R12_LP): Likewise.
4141 (R13_LP): Likewise.
4142 (R14_LP): Likewise.
4143 (R15_LP): Likewise.
4144
b985be81
L
41452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4146
4147 * sysdeps/x86_64/x32/dl-machine.h: New file.
4148
6a4888ff
AJ
41492012-05-14 Andreas Jaeger <aj@suse.de>
4150
4151 * manual/Makefile (subdir): Remove export of subdir.
4152 (all): Remove target.
4153 (.PHONY): Remove all from list.
4154 (mkinstalldirs): Remove.
4155 (.PHONY): Remove installdirs from list.
4156 ($(inst_infodir)/libc.info): Use make-target-directory.
4157 (installdirs): Remove.
4158 (subdir_%): Remove.
4159 (glibc-targets): Remove.
4160 (lib): Remove.
4161 (stubs): Remove.
4162 ($(objpfx)stubs ../po/manual.pot): Remove.
4163 ($(objpfx)stamp%): Remove.
4164 (make-target-directory): Remove.
4165 (subdir_install): Remove.
4166 (routines): Remove.
4167 (aux): Remove.
4168 (sources): Remove.
4169 (objects): Remove.
4170 (headers): Remove.
4171
4172 [BZ #13750]
4173 * manual/.gitignore: Remove, it's not needed anymore.
4174 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4175 all files in it.
4176 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4177 directory.
4178 (texis): Renamed to $(objpfx)texis.
4179 (texis-path): New, contains path to generated files.
4180 (chapters.%): Use texis-path for complete path, add extra argument
4181 libc-texinfo.sh.
4182 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4183 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4184 (summary,texi, stamp-summary): Use complete path of
4185 files. Generate files in build dir.
4186 (dir-add.texi): Build in build dir.
4187 (libm-err.texi,stamp-libm-err): Likewise.
4188 (version.texi, stamp-version): Likewise.
4189 (.%c.texi): Likewise.
4190 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4191 (mostlyclean): Remove target.
4192 (realclean): Remove target.
4193 (generated): Add new variable with contents from mostlyclean and
4194 realclean, remove entries duplicated in common-mostlyclean, add
4195 stamp-libm-err and stamp-version.
4196 (generated-dirs): Add libc directory.
4197 ($(inst_infodir)/libc.info): Install files from build dir.
4198
4199 * manual/install.texi (Configuring and compiling): Adjust since
4200 the info files are not part of the tar ball anymore.
4201
7ac77294
AJ
42022012-05-14 Andreas Jaeger <aj@suse.de>
4203
4204 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4205 variable.
4206
ffb7875d
JM
42072012-05-14 Joseph Myers <joseph@codesourcery.com>
4208
4209 [BZ #13717]
4210 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4211 to 2.2.0 where earlier.
4212 * sysdeps/unix/sysv/linux/configure: Regenerated.
4213 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4214 Remove conditional code.
4215 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4216 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4217 Remove conditional code.
4218 [!__NR_lchown]: Likewise.
4219 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4220 [__NR_lchown]: Likewise.
4221 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4222 comment referencing __ASSUME_LCHOWN_SYSCALL.
4223 * sysdeps/unix/sysv/linux/i386/sigaction.c
4224 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4225 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4226 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4227 Remove conditional code.
4228 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4229 (__protocol_available): Remove #if 0 code.
4230 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4231 conditional code.
4232 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4233 * sysdeps/unix/sysv/linux/kernel-features.h
4234 (__ASSUME_GETCWD_SYSCALL): Don't define.
4235 (__ASSUME_REALTIME_SIGNALS): Likewise.
4236 (__ASSUME_PREAD_SYSCALL): Likewise.
4237 (__ASSUME_PWRITE_SYSCALL): Likewise.
4238 (__ASSUME_POLL_SYSCALL): Likewise.
4239 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4240 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4241 non-SPARC.
4242 (__ASSUME_SIOCGIFNAME): Don't define.
4243 (__ASSUME_MSG_NOSIGNAL): Likewise.
4244 (__ASSUME_SENDFILE): Define unconditionally.
4245 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4246 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4247 conditional code.
4248 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4249 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4250 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4251 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4252 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4253 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4254 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4256 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4259 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4262 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4265 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4266 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4268 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4271 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4274 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4277 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4278 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4279 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4280 Remove conditional code.
4281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4282 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4283 Remove conditional code.
4284 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4285 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4286 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4287 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4288 Remove conditional code.
4289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4290 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4291 Remove conditional code.
4292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4293 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4294 Remove conditional code.
4295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4296 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4297 Remove conditional code.
4298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4299 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4300 Remove conditional code.
4301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4302 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4303 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4305 * sysdeps/unix/sysv/linux/sigaction.c
4306 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4307 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4308 * sysdeps/unix/sysv/linux/sigpending.c
4309 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4310 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4311 * sysdeps/unix/sysv/linux/sigprocmask.c
4312 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4313 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4314 * sysdeps/unix/sysv/linux/sigsuspend.c
4315 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4316 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4317 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4318 (__libc_missing_rt_sigs): Remove.
4319 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4320 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4321 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4322 Remove conditional code.
4323 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4324 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4325 return 1.
4326 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4327 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4328 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4329 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4330
1bfb7291
AJ
43312012-05-14 Andreas Jaeger <aj@suse.de>
4332
caae5a81
AJ
4333 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4334 it's not used in glibc.
4335 (__coshm1): Likewise.
4336 (__acosh1p): Likewise.
4337 (__sgn): Likewise.
4338
1bfb7291
AJ
4339 * manual/string.texi (Copying and Concatenation): Add missing
4340 variable in concat example.
4341 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4342
c044d724
L
43432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4344
144c5467 4345 [BZ #14103]
c044d724
L
4346 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4347 __builtin_clzl with __builtin_clzll.
4348
2523c62b
L
43492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4350
4351 [BZ #14104]
4352 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4353 libc_freeres_ptr.
4354
d7bb4c42
LD
43552012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4356
4357 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4358 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4359 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4360 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4361
9dc4e1fb
MF
43622012-05-14 Mike Frysinger <vapier@gentoo.org>
4363
4364 * NEWS: Update ia64 info.
4365
c7df0112
AS
43662012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4367
4368 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4369 used as bcopy.
4370
dc70356c
TS
43712012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4372
4373 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4374 * sysdeps/unix/syscalls.list (dup3): Likewise.
4375 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4376 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4377
9fb1a21f
L
43782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4379
4380 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4381 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4382
4822a2a5
L
43832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4384
4385 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4386 thread pointer.
4387 (TLS_IE): Use mov/add instead of movq/addq to load thread
4388 pointer.
4389 (TLS_GD_PREFIX): New.
4390 (TLS_GD): Use it.
4391
842b81d6
DM
43922012-05-11 David S. Miller <davem@davemloft.net>
4393
4394 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4395 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4396 (_FPU_SETCW): Likewise.
4397
1cf463cd
L
43982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4399
4400 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4401 is 32-byte aligned.
4402
60cc4a18
AS
44032012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4404
4405 [BZ #11837]
4406 * iconvdata/gb18030.c: Update tables.
4407 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4408 characters specially.
4409 (BODY for TO_LOOP): Add encoding of missing ranges.
4410
febb44a4
TS
44112012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4412
4413 [BZ #13673]
4414 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4415 * sysdeps/mach/hurd/dup3.c: Likewise.
4416 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4417 * sysdeps/powerpc/memmove.c:: Likewise.
4418
0a10fb9e
L
44192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4420
4421 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4422 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4423
df8a552f
L
44242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4425
4426 * elf/elf.h (R_X86_64_RELATIVE64): New.
4427 (R_X86_64_NUM): Updated.
4428 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4429 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4430 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4431 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4432 tst-quad1pie tst-quad2pie
4433 (modules-names): Add tst-quadmod1 tst-quadmod2.
4434 ($(objpfx)tst-quad1): New dependency.
4435 ($(objpfx)tst-quad2): Likewise.
4436 ($(objpfx)tst-quad1pie): Likewise.
4437 ($(objpfx)tst-quad2pie): Likewise.
4438 * sysdeps/x86_64/tst-quad1.c: New file.
4439 * sysdeps/x86_64/tst-quad1pie.c: New file.
4440 * sysdeps/x86_64/tst-quad2.c: Likewise.
4441 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4442 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4443 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4444 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4445 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4446
f34d6f84
ST
44472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4448
f42d41d1
ST
4449 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4450 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4451 * streams/stropts.h (t_scalar_t): Define type.
4452
3c3571fc
ST
4453 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4454 (_PATH_PRESERVE): Set to "/var/lib".
4455 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4456
61f06bd3
ST
4457 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4458 instead of int.
4459
918d4d71
ST
4460 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4461 if __dir_mkfile succeeded.
4462
f34d6f84
ST
4463 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4464 checking for _hurd_dtablesize. Unlock it right after having
4465 finished _hurd_dtable allocation.
4466
10589b4a
TS
44672012-05-10 Thomas Schwinge <thomas@schwinge.name>
4468
674cdbc7
TS
4469 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4470 * sysdeps/mach/hurd/configure: Regenerated.
4471 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4472 special-casing to...
4473 * sysdeps/gnu/configure.in: ... this new file.
4474 * sysdeps/unix/sysv/linux/configure: Regenerated.
4475 * sysdeps/gnu/configure: New generated file.
4476
8e41b99f
TS
4477 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4478 for Linux: use nsec instead of usec, as well as:
4479 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4480 members of type struct timespec.
4481 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4482 New macros.
4483 (struct stat64): Likewise.
4484 (_STATBUF_ST_NSEC): New macro.
4485 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4486
10589b4a
TS
4487 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4488 __strtoul_internal rather than strtoul.
4489
63643c85
PT
44902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4491
4492 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4493 and reject them.
4494
3faebe6a
ST
44952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4496
4497 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4498 which preserves existing values.
4499 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4500
c6474b07
PT
45012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4502
4503 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4504 TIMEOUT values. Return EINVAL for NFDS values either negative or
4505 greater than FD_SETSIZE.
4506
1043890b
ST
45072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4508
4509 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4510 allocated, call __vm_protect to finish enabling the existing space, and
4511 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4512 allocate the remainder.
4513
37ed8b9b
PT
45142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4515
4516 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4517 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4518
db653660
ST
45192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4520
37ed8b9b
PT
4521 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4522 sysdeps/mach/hurd/readlink.c.
b29d4053 4523
db653660
ST
4524 * posix/tst-sysconf.c (posix_options): Only use
4525 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4526 _POSIX_SYNCHRONIZED_IO when they are defined
4527 * sysdeps/mach/hurd/bits/posix_opt.h:
4528 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4529 (_XOPEN_REALTIME): Undefine macro.
4530 (_XOPEN_REALTIME_THREADS): Undefine macro.
4531 (_XOPEN_SHM): Undefine macro.
4532 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4533 macro to -1.
4534 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4535 macro to -1.
4536 (_POSIX_ASYNC_IO): Undefine macro.
4537 (_POSIX_PRIORITIZED_IO): Undefine macro.
4538 (_POSIX_SPIN_LOCKS): Define macro to -1.
4539
ee16e894
ST
4540 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4541 SA_NODEFER, SA_RESETHAND.
4542 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4543 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4544 F_DUPFD_CLOEXEC.
4545
6103ae3b
TS
45462012-05-10 Thomas Schwinge <thomas@schwinge.name>
4547
4548 * elf/Makefile (pldd-modules): Define unconditionally.
4549
80b4e5f3
TS
45502012-05-10 Thomas Schwinge <thomas@schwinge.name>
4551
4552 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4553
edadcbd6
ST
45542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4555
4556 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4557 Return ENOENT when name is empty.
4558 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4559
80694780
TS
45602012-05-10 Thomas Schwinge <thomas@schwinge.name>
4561
1792c087
TS
4562 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4563
80694780
TS
4564 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4565
6b645f0d
ST
45662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4567
80694780
TS
4568 Fix mlock in all cases except non-readable pages.
4569 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4570 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4571
6b645f0d
ST
4572 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4573 (__mkdir): When path is `/', just fail with EEXIST.
4574 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4575
e468f8a3
TS
45762012-05-10 Thomas Schwinge <thomas@schwinge.name>
4577
4578 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4579 <sys/uio.h> (for writev).
4580 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4581 and <sys/param.h> (for MIN).
4582
a4186cff
PT
45832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4584
4585 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4586 REQUESTED_TIME. Properly set the remaining time and return EINTR
4587 if interrupted.
4588
510bbf14
TS
45892012-05-10 Thomas Schwinge <thomas@schwinge.name>
4590
4591 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4592 Depend on against $(link-rpcuserlibs).
4593
5d5722e8
ST
45942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4595
a4186cff
PT
4596 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4597 (__libc_stack_end): Do not use attribute_relro.
4598 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4599 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4600 to libthread-provided value.
a4186cff
PT
4601 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4602 attribute_relro.
5d5722e8 4603
37233df9
TS
46042012-05-10 Thomas Schwinge <thomas@schwinge.name>
4605
be971a2b
TS
4606 [BZ #3748]
4607 * bits/libc-lock.h (__libc_once_get): New macro.
4608 * sysdeps/mach/bits/libc-lock.h: Likewise.
4609 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4611 instead of using implementation details.
4612
37233df9
TS
4613 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4614 * libio/freopen.c: Likewise.
4615 * libio/freopen64.c: Likewise.
4616 * misc/syslog.c: Likewise.
4617 * nscd/connections.c: Likewise.
4618 * nscd/netgroupcache.c: Likewise.
4619 * sysdeps/posix/getcwd.c: Likewise.
4620
38de94a5
RM
46212012-05-10 Roland McGrath <roland@hack.frob.com>
4622
4623 * math/w_ilogbf.c: Add #include <limits.h>.
4624
67530489
ST
46252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4626
a4186cff 4627 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4628 path instead of returning without unlocking.
4629
67530489
ST
4630 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4631 immediate-write ioctls.
4632 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4633
5aa3a74a
TS
46342012-05-10 Thomas Schwinge <thomas@schwinge.name>
4635
18bad2ae
TS
4636 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4637 __builtin_frame_address instead of making assumptions about the
4638 location of the return address relative to DATA. Force early load of
4639 the return address.
4640 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4641 __builtin_frame_address.
4642
5aa3a74a
TS
4643 dup3 for GNU Hurd.
4644 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4645 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4646 implement dup3 and do some further code clean-ups.
4647 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4648 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4649
ecd0de9a
ST
46502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4651
cd9fa985
ST
4652 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4653
a4186cff
PT
4654 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4655 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4656 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4657 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4658 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4659 d->port.lock.
802ca5a5 4660
a4186cff
PT
4661 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4662 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4663 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4664
bcf55240
TS
46652012-05-10 Thomas Schwinge <thomas@schwinge.name>
4666
6960eb42
TS
4667 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4668 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4669 definitions.
4670
eb43375f
TS
4671 accept4 for GNU Hurd.
4672 * include/sys/socket.h (__libc_accept4): New prototype.
4673 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4674 to implement __libc_accept4.
4675 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4676 __libc_accept4.
4677 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4678
bcf55240
TS
4679 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4680 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4681 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4682 signal-defines.sym.
4683
6178c55b
ST
46842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4685
a4186cff 4686 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4687
6f080c2f
TS
46882012-05-10 Thomas Schwinge <thomas@schwinge.name>
4689
4690 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4691 assertion on O_CLOEXEC flag.
4692 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4693 * hurd/intern-fd.c: Likewise.
4694 * hurd/port2fd.c: Likewise.
4695
bcfe3a54
ST
46962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4697
4698 [BZ #3906]
4699 * bits/in.h (IPV6_PKTINFO): Define new macro.
4700 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4701
89c9aa49
AZ
47022012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4703
4704 [BZ #13954]
4705 [BZ #13955]
4706 [BZ #13956]
4707 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4708 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4709 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4710 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4712 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4713 * math/libm-test.inc (logb_test) : Additional logb tests.
4714
021db4be
AJ
47152012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4716 Andreas Jaeger <aj@suse.de>
4717
4718 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4719 * configure: Regenerated.
4720 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4721 * config.make.in (link-obsolete-rpc): New substituted variable.
4722 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4723 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4724 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4725 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4726 so that libc.a contains the symbols.
4727 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4728 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4729 * sunrpc/auth_none.c: Likewise.
4730 * sunrpc/auth_unix.c: Likewise.
4731 * sunrpc/authdes_prot.c: Likewise.
4732 * sunrpc/authuxprot.c: Likewise.
4733 * sunrpc/clnt_gen.c: Likewise.
4734 * sunrpc/clnt_perr.c: Likewise.
4735 * sunrpc/clnt_raw.c: Likewise.
4736 * sunrpc/clnt_simp.c: Likewise.
4737 * sunrpc/clnt_tcp.c: Likewise.
4738 * sunrpc/clnt_udp.c: Likewise.
4739 * sunrpc/clnt_unix.c: Likewise.
4740 * sunrpc/des_crypt.c: Likewise.
4741 * sunrpc/des_soft.c: Likewise.
4742 * sunrpc/get_myaddr.c: Likewise.
4743 * sunrpc/key_call.c: Likewise.
4744 * sunrpc/key_prot.c: Likewise.
4745 * sunrpc/netname.c: Likewise.
4746 * sunrpc/pm_getmaps.c: Likewise.
4747 * sunrpc/pm_getport.c: Likewise.
4748 * sunrpc/pmap_clnt.c: Likewise.
4749 * sunrpc/pmap_prot.c: Likewise.
4750 * sunrpc/pmap_prot2.c: Likewise.
4751 * sunrpc/pmap_rmt.c: Likewise.
4752 * sunrpc/publickey.c: Likewise.
4753 * sunrpc/rpc_cmsg.c: Likewise.
4754 * sunrpc/rpc_common.c: Likewise.
4755 * sunrpc/rpc_dtable.c: Likewise.
4756 * sunrpc/rpc_prot.c: Likewise.
4757 * sunrpc/rpc_thread.c: Likewise.
4758 * sunrpc/rtime.c: Likewise.
4759 * sunrpc/svc.c: Likewise.
4760 * sunrpc/svc_auth.c: Likewise.
4761 * sunrpc/svc_raw.c: Likewise.
4762 * sunrpc/svc_run.c: Likewise.
4763 * sunrpc/svc_tcp.c: Likewise.
4764 * sunrpc/svc_udp.c: Likewise.
4765 * sunrpc/svc_unix.c: Likewise.
4766 * sunrpc/svcauth_des.c: Likewise.
4767 * sunrpc/xcrypt.c: Likewise.
4768 * sunrpc/xdr.c: Likewise.
4769 * sunrpc/xdr_array.c: Likewise.
4770 * sunrpc/xdr_float.c: Likewise.
4771 * sunrpc/xdr_intXX_t.c: Likewise.
4772 * sunrpc/xdr_mem.c: Likewise.
4773 * sunrpc/xdr_rec.c: Likewise.
4774 * sunrpc/xdr_ref.c: Likewise.
4775 * sunrpc/xdr_sizeof.c: Likewise.
4776 * sunrpc/xdr_stdio.c: Likewise.
4777
b5c086a2
RM
47782012-05-10 Roland McGrath <roland@hack.frob.com>
4779
4780 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4781 change. Update copyright years.
4782
6d74dd09
JM
47832012-05-10 Joseph Myers <joseph@codesourcery.com>
4784
4785 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4786
28e72501
MK
47872012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4788 Joseph Myers <joseph@codesourcery.com>
4789 Paul Pluzhnikov <ppluzhnikov@google.com>
4790
4791 [BZ #14012]
4792 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4793 requiring rpcgen.
4794 [cross-compiling] (extra-libs): Likewise.
4795 [cross-compiling] (extra-libs-others): Likewise.
4796 [cross-compiling] (librpcsvc-routines): Likewise.
4797 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4798 [cross-compiling] (omit-deps): Likewise.
4799 (sunrpc-CPPFLAGS): New variable.
4800 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4801 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4802 (cross-rpcgen-objs): New variable.
4803 (extra-objs): Append $(cross-rpcgen-objs).
4804 ($(cross-rpcgen-objs)): New rule.
4805 ($(objpfx)cross-rpcgen): Likewise.
4806 (rpcgen-cmd): Define to use $(built-program-file). Expand
4807 comment.
4808 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4809 ($(objpfx)x%.stmp): Likewise.
4810 * sunrpc/proto.h [IS_IN_build] (_): Define.
4811 [IS_IN_build] (_libc_intl_domainname): Likewise.
4812
c8c59454
L
48132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4814
4815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4816 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4817 and R_X86_64_TPOFF64.
4818
6f27cd16
JM
48192012-05-10 Joseph Myers <joseph@codesourcery.com>
4820
4821 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4822 sysdeps/unix/sysv/syscalls.list.
4823 (stime): Likewise.
4824 (utime): Likewise.
4825 * sysdeps/unix/sysv/syscalls.list: Remove file.
4826
02467e1c
PE
48272012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4828
4829 [BZ #3440]
4830 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4831 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4832 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4833 (__LC_IDENTIFICATION): Make these macros useful in #if
4834 expressions, as required by C99.
4835
da392631
AS
48362012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4837
4838 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4839 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4840 after this.
4841
8115f29b
L
48422012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4843
4844 * stdlib/longlong.h: Updated from GCC.
4845
bdd74070
AJ
48462012-05-09 Andreas Jaeger <aj@suse.de>
4847
edfe0dbe
AJ
4848 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4849 default is first entry.
4850 (run_mode): Set type.
4851 (main): Remove informal message about syslog.
4852 (options): Fix typo.
4853
bcfe3a54
ST
4854 [BZ #14053]
4855 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4856 to asm.
bcfe3a54
ST
4857 (lrint): Likewise.
4858 (llrintf): Likewise.
4859 (llrint): Likewise.
4860 (rint): Likewise.
4861 (rintf): Likewise.
4862 (nearbyint): Likewise.
4863 (nearbyintf): Likewise.
bdd74070 4864
91d8d69e
AJ
48652012-05-09 Andreas Jaeger <aj@suse.de>
4866 Pedro Alves <palves@redhat.com>
4867
4868 * nscd/nscd.c (run_mode): Use enum.
4869 (main): Cleanup coding style issue.
4870
bb90b80b
AJ
48712012-05-09 Alexandre Oliva <aoliva@redhat.com>
4872 Andreas Jaeger <aj@suse.de>
4873
bcfe3a54
ST
4874 * nscd/nscd.c (go_background): Replaced with...
4875 (run_mode): ... this.
bb90b80b 4876 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4877 (options): Add -F --foreground.
4878 (main): Implement it.
4879 (parse_opt): Parse it.
bb90b80b 4880
1a4b75a1
AJ
48812012-05-09 Andreas Jaeger <aj@suse.de>
4882
4883 [BZ #14083]
4884 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4885 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4886 -Wconversion warning.
4887 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4888 Likewise.
4889
b1cc2472
JM
48902012-05-09 Joseph Myers <joseph@codesourcery.com>
4891
4892 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4893 == 0.
4894 (LC_ALL): Use macro-int-constant.
4895 (LC_COLLATE): Likewise.
4896 (LC_CTYPE): Likewise.
4897 (LC_MESSAGES): Likewise.
4898 (LC_MONETARY): Likewise.
4899 (LC_NUMERIC): Likewise.
4900 (LC_TIME): Likewise.
4901 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4902 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4903 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4904 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4905 Specify type.
4906 [C99-based standards] (float_t): Expect type.
4907 [C99-based standards] (double_t): Expect type.
4908 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4909 type.
4910 [C99-based standards] (HUGE_VALL): Likewise.
4911 [C99-based standards] (INFINITY): Likewise.
4912 [C99-based standards] (NAN): Likewise.
4913 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4914 [C99-based standards] (FP_NAN): Likewise.
4915 [C99-based standards] (FP_NORMAL): Likewise.
4916 [C99-based standards] (FP_SUBNORMAL): Likewise.
4917 [C99-based standards] (FP_ZERO): Likewise.
4918 [C99-based standards] (FP_FAST_FMA): Use
4919 optional-macro-int-constant. Specify type. Require == 1.
4920 [C99-based standards] (FP_FAST_FMAF): Likewise.
4921 [C99-based standards] (FP_FAST_FMAL): Likewise.
4922 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4923 [C99-based standards] (FP_ILOGBNAN): Likewise.
4924 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4925 Specify type.
4926 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4927 [C99-based standards] (math_errhandling): Specify type.
4928 [ISO99 || ISO11] (signgam): Do not allow.
4929 [non-C99-based standards] (copysignf): Do not allow.
4930 [non-C99-based standards] (exp2f): Likewise.
4931 [non-C99-based standards] (log2f): Likewise.
4932 [non-C99-based standards] (modff): Allow.
4933 [non-C99-based standards] (erff): Do not allow.
4934 [non-C99-based standards] (erfcf): Likewise.
4935 [non-C99-based standards] (gammaf): Likewise.
4936 [non-C99-based standards] (hypotf): Likewise.
4937 [non-C99-based standards] (j0f): Likewise.
4938 [non-C99-based standards] (j1f): Likewise.
4939 [non-C99-based standards] (jnf): Likewise.
4940 [non-C99-based standards] (lgammaf): Likewise.
4941 [non-C99-based standards] (tgammaf): Likewise.
4942 [non-C99-based standards] (y0f): Likewise.
4943 [non-C99-based standards] (y1f): Likewise.
4944 [non-C99-based standards] (ynf): Likewise.
4945 [non-C99-based standards] (isnanf): Likewise.
4946 [non-C99-based standards] (acoshf): Likewise.
4947 [non-C99-based standards] (asinhf): Likewise.
4948 [non-C99-based standards] (atanhf): Likewise.
4949 [non-C99-based standards] (cbrtf): Likewise.
4950 [non-C99-based standards] (expm1f): Likewise.
4951 [non-C99-based standards] (ilogbf): Likewise.
4952 [non-C99-based standards] (log1pf): Likewise.
4953 [non-C99-based standards] (logbf): Likewise.
4954 [non-C99-based standards] (nextafterf): Likewise.
4955 [non-C99-based standards] (remainderf): Likewise.
4956 [non-C99-based standards] (rintf): Likewise.
4957 [non-C99-based standards] (scalbf): Likewise.
4958 [non-C99-based standards] (copysignl): Likewise.
4959 [non-C99-based standards] (exp2l): Likewise.
4960 [non-C99-based standards] (log2l): Likewise.
4961 [non-C99-based standards] (modfl): Allow.
4962 [non-C99-based standards] (erfl): Do not allow.
4963 [non-C99-based standards] (erfcl): Likewise.
4964 [non-C99-based standards] (gammal): Likewise.
4965 [non-C99-based standards] (hypotl): Likewise.
4966 [non-C99-based standards] (j0l): Likewise.
4967 [non-C99-based standards] (j1l): Likewise.
4968 [non-C99-based standards] (jnl): Likewise.
4969 [non-C99-based standards] (lgammal): Likewise.
4970 [non-C99-based standards] (tgammal): Likewise.
4971 [non-C99-based standards] (y0l): Likewise.
4972 [non-C99-based standards] (y1l): Likewise.
4973 [non-C99-based standards] (ynl): Likewise.
4974 [non-C99-based standards] (isnanl): Likewise.
4975 [non-C99-based standards] (acoshl): Likewise.
4976 [non-C99-based standards] (asinhl): Likewise.
4977 [non-C99-based standards] (atanhl): Likewise.
4978 [non-C99-based standards] (cbrtl): Likewise.
4979 [non-C99-based standards] (expm1l): Likewise.
4980 [non-C99-based standards] (ilogbl): Likewise.
4981 [non-C99-based standards] (log1pl): Likewise.
4982 [non-C99-based standards] (logbl): Likewise.
4983 [non-C99-based standards] (nextafterl): Likewise.
4984 [non-C99-based standards] (remainderl): Likewise.
4985 [non-C99-based standards] (rintl): Likewise.
4986 [non-C99-based standards] (scalbl): Likewise.
4987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4988 [non-C99-based standards] (FP_*): Do not allow.
4989 [C99-based standards] (FP_*): Change to
4990 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4991 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4992 allow.
4993 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4994 (SIG_ERR): Likewise.
4995 [X/Open-based standards] (SIG_HOLD): Likewise.
4996 (SIG_IGN): Likewise.
4997 (SIGABRT): Use macro-int-constant. Specify type. Require
4998 positive value.
4999 (SIGFPE): Likewise.
5000 (SIGILL): Likewise.
5001 (SIGINT): Likewise.
5002 (SIGSEGV): Likewise.
5003 (SIGTER): Likewise.
5004 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5005 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5006 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5007 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5008 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5009 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5010 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5011 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5012 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5013 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5014 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5015 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5016 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5017 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5019 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5020 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5021 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5022 [X/Open-based standards] (SIGTRAP): Likewise.
5023 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5024 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5025 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5026 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5027 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5028 allow.
5029
b9f1922d
IW
50302012-05-08 Ian Wienand <ianw@vmware.com>
5031
5032 [BZ #14080]
5033 * time/tzset.c (__tzset_parse_tz): Update default rules for
5034 daylight time changes in the Energy Policy Act of 2005.
5035
1db86e88
AJ
50362012-05-09 Andreas Jaeger <aj@suse.de>
5037
5038 [BZ #13983]
5039 * elf/ldconfig.c (parse_conf): Change string to make clear that
5040 ldconfig only issued a warning if ld.so.conf does not exist.
5041
dee4a4e3
DM
50422012-05-08 David S. Miller <davem@davemloft.net>
5043
ee0db190
DM
5044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5045 movxtod instead of popping the value on the stack.
5046
dee4a4e3
DM
5047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5048
6a43ec98
CD
50492012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5050
5051 * config.h.in: Add HAVE_ARM_PCS_VFP.
5052
05c2c961
RMG
50532012-05-08 Roland Mc Grath <roland@hack.frob.com>
5054
bcfe3a54
ST
5055 [BZ #13979]
5056 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5057 checking but the checks are disabled for any reason.
05c2c961 5058
4b30f61a
L
50592012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5060
5061 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5062 and ELF64_R_TYPE with ELFW(R_TYPE).
5063
eee2bc67
JM
50642012-05-08 Joseph Myers <joseph@codesourcery.com>
5065
7ea5391a
JM
5066 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5067 (ulimit): Likewise.
5068
eee2bc67
JM
5069 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5070 (settimeofday): Likewise.
5071
abb66a67
MF
50722012-05-08 Mike Frysinger <vapier@gentoo.org>
5073
5074 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5075 a struct th_u2 inside the union, and move tu_block/tu_code into
5076 a new th_u3 union of tu_block/tu_code inside of that. Move
5077 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5078 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5079 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5080 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5081 (th_stuff): Change to th_u1.tu_stuff.
5082 (th_data): Define.
5083 (th_msg): Change to th_u1.th_u2.tu_data.
5084
7f18b530
DM
50852012-05-07 David S. Miller <davem@davemloft.net>
5086
05760585
DM
5087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5088
7f18b530
DM
5089 [BZ #14074]
5090 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5091 (SETUP_PIC_REG): Use it.
5092 (SETUP_PIC_REG_LEAF): Use it.
5093
495fd99f
JM
50942012-05-07 Joseph Myers <joseph@codesourcery.com>
5095
5096 [BZ #13885]
5097 [BZ #13923]
5098 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5099 USE_AS_EXPM1L.
5100 (EXPL_FINITE): Likewise.
5101 (FLDLOG): Likewise.
5102 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5103 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5104 e_expl.S.
5105 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5106 USE_AS_EXPM1L.
5107 (EXPL_FINITE): Likewise.
5108 (FLDLOG): Likewise.
5109 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5110 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5111 e_expl.S.
5112 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5113 test of -max_value argument for long double.
5114 * sysdeps/i386/fpu/libm-test-ulps: Update.
5115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5116
6693d694
DM
51172012-05-06 David S. Miller <davem@davemloft.net>
5118
5119 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5120 quad soft-float symbols whose references which are compiler
5121 generated.
5122 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5123
6c23e11c
JM
51242012-05-06 Joseph Myers <joseph@codesourcery.com>
5125
d8b82cad
JM
5126 [BZ #13884]
5127 [BZ #13914]
5128 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5129 USE_AS_EXP10L.
5130 (EXPL_FINITE): Likewise.
5131 (FLDLOG): Likewise.
5132 (c0): Likewise.
5133 (c1): Likewise.
5134 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5135 Adjust comments for base varying.
5136 (__expl_finite): Change alias to EXPL_FINITE.
5137 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5138 e_expl.S.
5139 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5140 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5141 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5142 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5143 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5144 USE_AS_EXP10L.
5145 (EXPL_FINITE): Likewise.
5146 (FLDLOG): Likewise.
5147 (c0): Likewise.
5148 (c1): Likewise.
5149 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5150 Adjust comments for base varying.
5151 (__expl_finite): Change alias to EXPL_FINITE.
5152 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5153 tests for bugs.
5154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5155
6c23e11c
JM
5156 [BZ #14064]
5157 * math/libm-test.inc (check_float_internal): Correct ulp
5158 calculation for subnormal expected results.
5159
29ba805c
AJ
51602012-05-06 Andreas Jaeger <aj@suse.de>
5161
5162 * Makeconfig (+math-flags): New, set to -frounding-math.
5163 (+cflags): Add +math-flags so that all of glibc gets compiled with
5164 it.
5165
5166 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5167
7b17aeda
JM
51682012-05-05 Joseph Myers <joseph@codesourcery.com>
5169
5779f134
JM
5170 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5171 Disable one test.
5172
41498f4d
JM
5173 [BZ #13787]
5174 [BZ #13922]
5175 [BZ #14036]
5176 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5177 (__ieee754_expl): Allow for and saturate large arguments.
5178 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5179 (u_threshold): Likewise.
5180 (__exp): Call __ieee754_exp before checking for overflow and
5181 underflow.
5182 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5183 (u_threshold): Likewise.
5184 (__expf): Call __ieee754_expf before checking for overflow and
5185 underflow.
5186 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5187 (u_threshold): Likewise.
5188 (__expl): Call __ieee754_expl before checking for overflow and
5189 underflow.
5190 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5191 (__ieee754_expl): Allow for and saturate large arguments.
5192 * math/libm-test.inc (exp_test): Add another test. Do not allow
5193 missing overflow exception on overflow.
5194 (expm1_test): Do not allow missing overflow exception on overflow.
5195
6698b8bf
JM
5196 * sysdeps/i386/fpu/e_expl.c: Move to ...
5197 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5198 rather than using inline asm.
5199 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5200 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5201 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5202
7b17aeda
JM
5203 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5204 (nice): Likewise.
5205 (poll): Likewise.
5206 (signal): Likewise.
5207 (time): Likewise.
5208 (times): Likewise.
5209
f7c85819
JM
52102012-05-04 Joseph Myers <joseph@codesourcery.com>
5211
5212 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5213 sysdeps/unix/common/syscalls.list.
5214 (fchmod): Likewise.
5215 (fchown): Likewise.
5216 (ftruncate): Likewise.
5217 (getrusage): Likewise.
5218 (gettimeofday): Likewise.
5219 (setpgid): Likewise.
5220 (setregid): Likewise.
5221 (setreuid): Likewise.
5222 (sigaction): Likewise.
5223 (truncate): Likewise.
5224 (vhangup): Likewise.
5225 * sysdeps/unix/common/syscalls.list: Remove file.
5226 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5227 * sysdeps/unix/sysv/linux/Implies: Likewise.
5228
336270d0
L
52292012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5230
5231 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5233 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5234 Moved to ...
5235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5236 Here.
5237 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5238 to ...
5239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5240 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5241 to ...
5242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5243 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5244 to ...
5245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5246 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5247 to ...
5248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5249 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5250 to ...
5251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5252 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5253 to ...
5254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5255 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5256 to ...
5257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5258 Here.
5259 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5260 to ...
5261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5262 Here.
5263 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5264 to ...
5265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5266 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5267 Moved to ...
5268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5269 Here.
5270 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5271 to ...
5272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5273
d128e450
JM
52742012-05-04 Joseph Myers <joseph@codesourcery.com>
5275
fa8ee516
JM
5276 * sysdeps/unix/common/bits/dirent.h: Remove file.
5277 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5278
d128e450
JM
5279 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5280 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5281 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5282 * sysdeps/unix/bsd/isatty.c: Likewise.
5283 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5284 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5285 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5286
ff8faaf0 52872012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5288
62881be4 5289 [BZ #13563]
31dc8730
AZ
5290 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5291 long double comparison inaccuracies.
5292 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5294
6fef930c
AS
52952012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5296
5297 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5298 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5299
8f203e6c
JM
53002012-05-04 Joseph Myers <joseph@codesourcery.com>
5301
5302 [BZ #14049]
5303 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5304 nonzero digits before rounding a hex value.
5305 * stdlib/tst-strtod.c (tests): Add another test.
5306
5197d9c2
AK
53072012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5308
5309 * sysdeps/s390/fpu/libm-test-ulps: Update.
5310
f0c1dedf
AJ
53112012-05-03 Andreas Jaeger <aj@suse.de>
5312
5313 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5314 does not get optimized out.
5315 (malloc_opt_barrier): New.
5316
a65ef2ae 53172012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5318 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5319
2b942cb7 5320 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5321 intermediate file deletion.
2b942cb7 5322 (generated): Add .symlist files.
a65ef2ae 5323
54b71e02
JM
53242012-05-03 Joseph Myers <joseph@codesourcery.com>
5325
5326 [BZ #13775]
5327 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5328 Redirect under this condition.
5329 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5330 [__USE_GNU] (__dprintf_chk): Not under this condition.
5331 [__USE_GNU] (__vdprintf_chk): Likewise.
5332 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5333 under this condition.
5334 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5335 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5336 [__USE_XOPEN2K8] (vdprintf): Likewise.
5337 [__USE_GNU] (__dprintf_chk): Not under this condition.
5338 [__USE_GNU] (__vdprintf_chk): Likewise.
5339 [__USE_GNU] (dprintf): Likewise.
5340 [__USE_GNU] (vdprintf): Likewise.
5341
d3dfcc41
RM
53422012-05-03 Roland McGrath <roland@hack.frob.com>
5343
5344 * elf/Makefile (common-generated): Set this instead of generated for
5345 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5346 $(all-built-dso)-derived lists.
5347
7ac30cc5
AJ
53482012-05-03 Andreas Jaeger <aj@suse.de>
5349
0c51e550
AJ
5350 * sysdeps/i386/fpu/libm-test-ulps: Update.
5351
7ac30cc5
AJ
5352 * FAQ: Removed.
5353 * FAQ.in: Likewise.
5354 * scripts/gen-FAQ.pl: Likewise.
5355 * manual/install.texi (Installation): Point to online location of
5356 FAQ.
5357 * Makefile (files-for-dist): Remove FAQ.
5358 (FAQ): Remove.
5359
d4c2917f
AM
53602012-05-02 Allan McRae <allan@archlinux.org>
5361
5362 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5363 (LDFLAGS-reldepmod5.so): Likewise.
5364 (LDFLAGS-reldep6mod1.so): Likewise.
5365 (LDFLAGS-reldep6mod4.so): Likewise.
5366 (LDFLAGS-reldep8mod3.so): Likewise.
5367 (LDFLAGS-unload4mod1.so): Likewise.
5368 (LDFLAGS-unload4mod2.so): Likewise.
5369 (LDFLAGS-tst-initorder): Likewise.
5370 (LDFLAGS-tst-initordera2.so): Likewise.
5371 (LDFLAGS-tst-initordera3.so): Likewise.
5372 (LDFLAGS-tst-initordera4.so): Likewise.
5373 (LDFLAGS-tst-initorderb2.so): Likewise.
5374 (LDFLAGS-noload): Likewise.
5375 (LDFLAGS-next): Likewise.
5376 (LDFLAGS-order2mod1.so): Likewise.
5377 (LDFLAGS-order2mod2.so): Likewise.
5378 (LDFLAGS-tst-initorder2): Likewise.
5379 (LDFLAGS-tst-initorder2a.so): Likewise.
5380 (LDFLAGS-tst-initorder2b.so): Likewise.
5381 (LDFLAGS-tst-initorder2c.so): Likewise.
5382 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5383
d77f993f
DM
53842012-05-02 David S. Miller <davem@davemloft.net>
5385
5386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5387
171a70b4
PP
53882012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5389
5390 [BZ #14055]
5391 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5392
0be196ad
AJ
53932012-05-02 Andreas Jaeger <aj@suse.de>
5394
5395 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5396 since we manipulate rounding mode.
5397 (CPPFLAGS-test-idouble.c): Likewise.
5398 (CPPFLAGS-test-ifloat.c): Likewise.
5399 (CFLAGS-test-ldouble.c): Likewise.
5400 (CFLAGS-test-double.c): Likewise.
5401 (CFLAGS-test-float.c): Likewise.
5402 (CFLAGS-test-misc.c): Likewise.
5403 (CFLAGS-test-test-fenv.c): Likewise.
5404
4f9d04aa
AZ
54052012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5406
2b942cb7
RM
5407 [BZ #2550]
5408 [BZ #2570]
5409 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5410 comparisons to determine direction to adjust input.
4f9d04aa 5411
82a79e7d
RM
54122012-05-01 Roland McGrath <roland@hack.frob.com>
5413
f5a01ca9
RM
5414 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5415 output to the target.
5416
90fe4186
RM
5417 * scripts/localplt.awk: New file.
5418 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5419 (check-localplt-CFLAGS): Variable removed.
5420 ($(all-built-dso:=.jmprel)): New static pattern rule.
5421 (generated): Add those targets.
5422 (localplt-built-dso): New variable.
5423 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5424
5425 * elf/check-localplt.c: File removed.
5426
82397ed6
RM
5427 * scripts/check-execstack.awk: New file.
5428 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5429 (check-execstack-CFLAGS): Variable removed.
5430 ($(objpfx)check-execstack.h): Target removed.
5431 ($(objpfx)execstack-default): New target.
5432 (generated): Add that instead of check-execstack.h.
5433 ($(all-built-dso:=.phdr)): New static pattern rule.
5434 (generated): Add those targets.
5435 * elf/check-execstack.c: File removed.
5436
82a79e7d
RM
5437 * scripts/check-textrel.awk: New file.
5438 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5439 (check-textrel-CFLAGS): Variable removed.
5440 (all-built-dso): Use := to define.o
5441 ($(all-built-dso:=.dyn)): New static pattern rule.
5442 (generated): Add those targets.
5443 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5444 * config.make.in (READELF): New substituted variable.
5445 * elf/check-textrel.c: File removed.
5446
62fde54f 54472012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5448
615605c9
JM
5449 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5450 allow.
5451 * conform/data/ctype.h-data [C99-based standards] (isblank):
5452 Expect function.
5453 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5454 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5455 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5456 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5457 Specify type. Require positive value.
5458 (EILSEQ): Likewise.
5459 (ERANGE): Likewise.
5460 [ISO || POSIX] (EILSEQ): Do not expect.
5461 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5462 Specify type. Require positive value.
5463 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5464 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5465 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5466 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5467 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5468 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5469 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5470 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5471 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5472 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5473 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5474 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5475 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5476 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5477 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5478 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5479 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5480 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5481 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5482 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5483 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5484 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5485 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5486 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5487 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5488 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5489 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5490 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5491 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5492 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5493 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5494 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5495 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5496 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5497 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5498 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5499 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5500 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5501 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5502 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5503 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5504 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5505 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5506 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5507 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5508 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5509 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5510 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5511 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5512 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5513 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5514 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5515 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5516 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5517 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5518 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5519 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5520 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5521 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5522 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5523 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5524 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5525 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5526 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5527 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5528 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5529 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5530 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5531 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5532 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5533 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5534 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5535 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5536 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5537 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5538 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5539 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5540 Require >= 2.
5541 (FLT_ROUNDS): Expect as macro, not constant.
5542 (FLT_MANT_DIG): Use macro-int-constant.
5543 (DBL_MANT_DIG): Likewise.
5544 (LDBL_MANT_DIG): Likewise.
5545 (FLT_DIG): Likewise.
5546 (DBL_DIG): Likewise.
5547 (LDBL_DIG): Likewise.
5548 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5549 (DBL_MIN_EXP): Likewise.
5550 (LDBL_MIN_EXP): Likewise.
5551 (FLT_MAX_EXP): Use macro-int-constant.
5552 (DBL_MAX_EXP): Likewise.
5553 (LDBL_MAX_EXP): Likewise.
5554 (FLT_MAX_10_EXP): Likewise.
5555 (DBL_MAX_10_EXP): Likewise.
5556 (LDBL_MAX_10_EXP): Likewise.
5557 (FLT_MAX): Use macro-constant.
5558 (DBL_MAX): Likewise.
5559 (LDBL_MAX): Likewise.
5560 (FLT_EPSILON): Use macro-constant. Give upper bound.
5561 (DBL_EPSILON): Likewise.
5562 (LDBL_EPSILON): Likewise.
5563 (FLT_MIN): Likewise.
5564 (DBL_MIN): Likewise.
5565 (LDBL_MIN): Likewise.
5566 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5567 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5568 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5569 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5570 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5571 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5572 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5573 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5574 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5575 [ISO11] (FLT_TRUE_MIN): Likewise.
5576 [ISO11] (LDBL_TRUE_MIN): Likewise.
5577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5578 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5579 (SCHAR_MIN): Use macro-int-constant. Specify type.
5580 (SCHAR_MAX): Likewise.
5581 (UCHAR_MAX): Likewise.
5582 (CHAR_MIN): Likewise.
5583 (CHAR_MAX): Likewise.
5584 (MB_LEN_MAX): Use macro-int-constant.
5585 (SHRT_MIN): Use macro-int-constant. Specify type.
5586 (SHRT_MAX): Likewise.
5587 (USHRT_MAX): Likewise.
5588 (INT_MAX): Likewise.
5589 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5590 bound negative.
5591 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5592 bound with "U".
5593 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5594 bound with "L".
5595 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5596 bound negative. Suffix upper bound with "L".
5597 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5598 bound with "UL".
5599 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5600 Specify type.
5601 [C99-based standards] (LLONG_MAX): Likewise.
5602 [C99-based standards] (ULLONG_MAX): Likewise.
5603 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5604 == 0.
5605 [ISO11] (max_align_t): Require type.
5606 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5607
c9140a62
JM
5608 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5609 from $CFLAGS, without defining away __attribute__ calls.
5610 (checknamespace): Use $CFLAGS_namespace.
5611
9af0bf29
JM
5612 * conform/conformtest.pl (@keywords): Only include C99 keywords
5613 for standards based on C99 or C11.
5614
343222a2
JM
5615 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5616 Disable tests.
5617 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5618 UNIX98]: Likewise.
5619
661f8cf0
JM
5620 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5621 usability of symbols in #if.
5622
ee74b9cb
JM
5623 * conform/conformtest.pl: If macro or constant types start
5624 "promoted:", expect the symbol to be of the following type
5625 promoted by the integer promotions.
62fde54f 5626
aafc49b3
JM
5627 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5628 in one place. Also handle "macro-constant".
5629
fefdf574
JM
5630 * conform/conformtest.pl: Only accept expected macro values with
5631 "==". Parse all "macro" lines in one place.
5632 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5633
f2d922fe
JM
5634 * conform/conformtest.pl: Handle braced types on "constant" lines
5635 instead of handling "typed-constant".
5636 * conform/data/signal.h-data: Use "constant" instead of
5637 "typed-constant".
5638
d22956c9
JM
5639 * conform/conformtest.pl: Handle "optional-" at start of lines in
5640 one place rather than duplicating several cases. Handle each
5641 format of "macro" line with initial "optional-".
5642
028e2e38
JM
5643 * conform/conformtest.pl: Only accept expected constant or
5644 optional-constant values with "==". Parse all "constant" lines in
5645 one place. Parse all "optional-constant" lines in one place.
5646 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5647 * conform/data/fmtmsg.h-data: Likewise.
5648 * conform/data/netinet/in.h-data: Likewise.
5649 * conform/data/tar.h-data: Likewise.
5650 * conform/data/limits.h-data: Use "==" form on "constant" and
5651 "optional-constant" lines.
5652
1b8f2850
JM
5653 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5654 Use -std=c99 for XOPEN2K.
5655 (@knownproblems): Remove.
5656 (newtoken): Don't check %isknown.
5657
a05a144b
JM
5658 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5659 Do not expect macro.
5660 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5661 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5662 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5663 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5664 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5665 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5666 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5667 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5668 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5669 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5670 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5672 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5673 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5682 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5683 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5690 [XPG3] (acosh): Likewise.
5691 [XPG3] (asinh): Likewise.
5692 [XPG3] (atanh): Likewise.
5693 [XPG3] (cbrt): Likewise.
5694 [XPG3] (expm1): Likewise.
5695 [XPG3] (ilogb): Likewise.
5696 [XPG3] (log1p): Likewise.
5697 [XPG3] (logb): Likewise.
5698 [XPG3] (nextafter): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5701 [XPG3] (remainder): Likewise.
5702 [XPG3] (rint): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5710 [UNIX98 || XOPEN2K] (scalb): Expect.
5711 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5712 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5720 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5721 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5722 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5730 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5731 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5735 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5736 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5737 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5739 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5740 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5741 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5773 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5775 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5776 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5777 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5778 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5779 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5780 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5781 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5784 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5785 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5790 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5791 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5792 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5793 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5794 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5795 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5796 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5797 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5798 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5799 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5800 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5801 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5802 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5803 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5804 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5805 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5806 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5807 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5808 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5809 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5810 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5811 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5812 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5813 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5814 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5815 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5816 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5817 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5818 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5819 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5820 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5821 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5822 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5823 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5824 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5825 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5826 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5827 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5828 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5829 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5830 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5831 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5832 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5833 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5834 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5835 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5836 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5837 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5838 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5839 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5840 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5841 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5842 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5843 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5844 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5845 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5846 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5847 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5848
73c5ebe3
JM
5849 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5850 _XOPEN_SOURCE_EXTENDED for XPG4.
5851
39c33b6c
JM
5852 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5853
62fde54f
JM
5854 * Makeconfig (localtime): Remove variable.
5855 (inst_localtime-file): Likewise.
5856
0741d64c
AS
58572012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5858
5859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5860 Update.
5861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5862 Update.
5863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5864 Update.
5865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5866 Update.
5867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5868 Update.
5869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5870 Update.
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5872 Update.
5873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5874 Update.
5875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5876 Update.
5877
7cb029ee
JM
58782012-05-01 Joseph Myers <joseph@codesourcery.com>
5879
5880 [BZ #2550]
5881 [BZ #2570]
5882 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5883 comparisons to determine direction to adjust input.
5884 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5885 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5886 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5887 Likewise.
5888 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5889 Likewise.
5890 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5891 Likewise.
5892 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5893 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5894 Likewise.
5895 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5896 Likewise.
5897 * math/libm-test.inc (nexttoward_test): Add more tests.
5898
412bd966
AS
58992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5900
5901 [BZ #14040]
5902 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5903 in version GLIBC_2.1, not GLIBC_2.0.
5904 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5905 Likewise.
5906
9568c0c2
JM
59072012-04-30 Joseph Myers <joseph@codesourcery.com>
5908
adfbc8ac
JM
5909 [BZ #13942]
5910 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5911 (1 - x) * (1 + x).
5912 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5913 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5914 * math/libm-test.inc (acos_test): Add more tests.
5915 (asin_test): Likewise.
5916 * sysdeps/i386/fpu/libm-test-ulps: Update.
5917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5918
5ba3cc69
JM
5919 [BZ #14034]
5920 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5921 of square root.
5922 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5923 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5924 * math/libm-test.inc (acos_test_tonearest): New function.
5925 (acos_test_towardzero): Likewise.
5926 (acos_test_downward): Likewise.
5927 (acos_test_upward): Likewise.
5928 (asin_test_tonearest): Likewise.
5929 (asin_test_towardzero): Likewise.
5930 (asin_test_downward): Likewise.
5931 (asin_test_upward): Likewise.
5932 (main): Call the new functions.
5933 * sysdeps/i386/fpu/libm-test-ulps: Update.
5934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5935
9568c0c2
JM
5936 [BZ #13884]
5937 [BZ #13924]
5938 * math/e_exp10.c: Include <float.h>.
5939 (__ieee754_exp10): Handle underflow here rather than multiplying
5940 large negative argument by M_LN10.
5941 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5942 of __ieee754_expf.
5943 * math/e_exp10l.c: Include <float.h>.
5944 (__ieee754_exp10l): Handle underflow here rather than multiplying
5945 large negative argument by M_LN10l.
5946 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5947 spurious overflow exception on underflow.
5948
5ac3ea17
MP
59492012-04-29 Marek Polacek <polacek@redhat.com>
5950
5951 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5952 (__fortify_function): New macro.
5953 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5954 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5955 __extern_always_inline.
5956 * libio/bits/stdio2.h: Likewise.
5957 * libio/bits/stdio.h: Likewise.
5958 * string/string.h: Likewise.
5959 * string/bits/string3.h: Likewise.
5960 * include/stdio.h: Likewise.
5961 * stdlib/bits/stdlib.h: Likewise.
5962 * stdlib/stdlib.h: Likewise.
5963 * rt/bits/mqueue2.h: Likewise.
5964 * rt/mqueue.h: Likewise.
5965 * posix/bits/unistd.h: Likewise.
5966 * posix/unistd.h: Likewise.
5967 * io/bits/poll2.h: Likewise.
5968 * io/bits/fcntl2.h: Likewise.
5969 * io/fcntl.h: Likewise.
5970 * io/sys/poll.h: Likewise.
5971 * misc/bits/syslog.h: Likewise.
5972 * misc/bits/syslog-ldbl.h: Likewise.
5973 * misc/sys/syslog.h: Likewise.
5974 * socket/bits/socket2.h: Likewise.
5975 * socket/sys/socket.h: Likewise.
5976 * debug/tst-chk1.c: Likewise.
5977 * wcsmbs/bits/wchar2.h: Likewise.
5978 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5979 * wcsmbs/wchar.h: Likewise.
5980
ecf0ebfb
AJ
59812012-04-29 Andreas Jaeger <aj@suse.de>
5982
5983 * Makerules (tests): Remove enable-check-abi protection.
5984 (check-abi-warn): Remove.
5985 (check-abi-%): Remove check-abi-warn usage.
5986
5987 * configure.in: Remove check-abi configure option.
5988 * configure: Regenerated.
5989 * config.make.in (enable-check-abi): Remove.
5990
6d5c57fa
AS
59912012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5992
24c5d07e 5993 [BZ #14033]
ded5180a
AS
5994 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5995 double functions to double *_finite functions.
5996
7e0d315d
AS
5997 [BZ #13941]
5998 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5999 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6000 LDBL_MIN_EXP.
6001 * stdio-common/Makefile (tests): Add tst-sprintf3.
6002 * stdio-common/tst-sprintf3.c: New file.
6003
6d5c57fa
AS
6004 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6005 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6006
0749ff8b
JM
60072012-04-28 Joseph Myers <joseph@codesourcery.com>
6008
6009 * conform/conformtest.pl: Remove duplicate typed-constant
6010 handling.
6011
8dbd5d7b
DM
60122012-04-28 David S. Miller <davem@davemloft.net>
6013
6014 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6015 (check-abi-%): Remove AWK script prerequisite and explicit
6016 abilist directory.
6017 (check-abi): Rewrite to just diff the symlist with the abilist.
6018 (config-tls, config-abi-config): Delete, no longer used.
6019 (update-abi-%): Remove AWK script and explicit abilist directory.
6020 (update-abi): Rewrite to simply compare and conditionally copy the
6021 symlist and the sysdep abilist file. Remove update-abi-config
6022 checks.
6023 * abilist/ld.abilist: Remove.
6024 * abilist/libBrokenLocale.abilist: Remove.
6025 * abilist/libanl.abilist: Remove.
6026 * abilist/libcrypt.abilist: Remove.
6027 * abilist/libdl.abilist: Remove.
6028 * abilist/librt.abilist: Remove.
6029 * abilist/libthread_db.abilist: Remove.
6030 * abilist/libutil.abilist: Remove.
6031 * scripts/extract-abilist.awk: Remove.
6032 * scripts/merge-abilist.awk: Remove.
6033 * sysdeps/generic/libcidn.abilist: New file.
6034 * sysdeps/generic/libnss_compat.abilist: New file.
6035 * sysdeps/generic/libnss_db.abilist: New file.
6036 * sysdeps/generic/libnss_dns.abilist: New file.
6037 * sysdeps/generic/libnss_files.abilist: New file.
6038 * sysdeps/generic/libnss_hesiod.abilist: New file.
6039 * sysdeps/generic/libnss_nis.abilist: New file.
6040 * sysdeps/generic/libnss_nisplus.abilist: New file.
6041 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6042 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6043 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6044 file.
6045 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6046 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6047 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6048 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6049 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6050 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6051 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6052 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6053 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6054 file.
6055 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6056 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6057 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6058 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6059 file.
6060 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6061 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6062 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6063 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6064 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6065 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6066 file.
6067 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6068 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6069 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6070 file.
6071 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6073 New file.
6074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6075 New file.
6076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6077 New file.
6078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6079 New file.
6080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6081 New file.
6082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6083 New file.
6084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6085 New file.
6086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6087 New file.
6088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6089 New file.
6090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6091 New file.
6092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6093 New file.
6094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6095 New file.
6096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6097 New file.
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6099 file.
6100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6101 New file.
6102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6103 New file.
6104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6105 file.
6106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6107 New file.
6108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6109 New file.
6110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6111 file.
6112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6113 New file.
6114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6115 New file.
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6117 New file.
6118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6119 New file.
6120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6121 New file.
6122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6123 New file.
6124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6126 file.
6127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6128 New file.
6129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6130 file.
6131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6132 file.
6133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6134 file.
6135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6136 file.
6137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6138 file.
6139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6140 New file.
6141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6142 file.
6143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6144 file.
6145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6146 New file.
6147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6148 file.
6149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6151 file.
6152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6153 New file.
6154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6155 file.
6156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6157 file.
6158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6159 file.
6160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6161 file.
6162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6163 file.
6164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6165 New file.
6166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6167 file.
6168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6169 file.
6170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6171 New file.
6172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6173 file.
6174 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6175 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6176 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6177 file.
6178 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6179 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6180 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6181 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6182 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6183 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6184 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6185 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6186 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6187 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6190 file.
6191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6192 New file.
6193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6194 file.
6195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6196 file.
6197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6198 file.
6199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6200 file.
6201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6202 file.
6203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6204 New file.
6205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6206 New file.
6207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6208 file.
6209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6210 New file.
6211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6212 file.
6213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6215 file.
6216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6217 New file.
6218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6219 file.
6220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6221 file.
6222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6223 file.
6224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6225 file.
6226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6227 file.
6228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6229 New file.
6230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6231 New file.
6232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6233 file.
6234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6235 New file.
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6237 file.
6238
41d73a1b
JM
62392012-04-28 Joseph Myers <joseph@codesourcery.com>
6240
6241 * conform/conformtest.pl: Fix typo in handling typed-constant from
6242 allow-header.
6243
28aeeda4
JM
62442012-04-27 Joseph Myers <joseph@codesourcery.com>
6245
adae8f5e
JM
6246 * README: Cut down references to pre-2.6 Linux kernels and
6247 Linuxthreads. Update lists of configurations in libc and ports
6248 and sort alphabetically. Say "or newer" with Linux kernel version
6249 requirements.
6250
28aeeda4
JM
6251 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6252
a462cb63
RA
62532012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6254
6255 [BZ #887]
6256 * math/libm-test.inc (logb_test_downward): New test to expose
6257 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6258 rounding mode.
6259
6ad3493e
JM
62602012-04-27 Joseph Myers <joseph@codesourcery.com>
6261
6262 [BZ #14027]
6263 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6264 to be done.
6265 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6266 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6267
2ce4f015
JM
62682012-04-26 Joseph Myers <joseph@codesourcery.com>
6269
5aeb141a
JM
6270 * sysdeps/unix/i386/brk.S: Remove file.
6271 * sysdeps/unix/i386/dl-brk.S: Likewise.
6272 * sysdeps/unix/i386/pipe.S: Likewise.
6273 * sysdeps/unix/i386/sigreturn.S: Likewise.
6274 * sysdeps/unix/i386/syscall.S: Likewise.
6275 * sysdeps/unix/i386/vfork.S: Likewise.
6276 * sysdeps/unix/i386/wait.S: Likewise.
6277
7143acae
JM
6278 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6279 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6280
2ce4f015
JM
6281 * configure.in (arm*-none*): Do not allow without
6282 --enable-hacker-mode.
6283 (netbsd*): Remove case setting base_os.
6284 (386bsd*): Likewise.
6285 (freebsd*): Likewise.
6286 (bsdi*): Likewise.
6287 (osf*): Likewise.
6288 (sunos*): Likewise.
6289 (ultrix*): Likewise.
6290 (newsos*): Likewise.
6291 (dynix*): Likewise.
6292 (*bsd*): Likewise.
6293 (sysv*): Likewise.
6294 (isc*): Likewise.
6295 (esix*): Likewise.
6296 (sco*): Likewise.
6297 (minix*): Likewise.
6298 (irix4*): Likewise.
6299 (irix6*): Likewise.
6300 (solaris[2-9]*): Likewise.
6301 (none): Likewise.
6302 * configure: Regenerated.
6303
0ac229c8
AZ
63042012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6305
6306 [BZ #11521]
6307 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6308 overflow or cancellation in calculating denominator.
6309 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6311 down expression to avoid unexpected rounding in newer GCCs.
6312 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6313
33f244f4
DM
63142012-04-26 David S. Miller <davem@davemloft.net>
6315
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6317 long-double compat symbols.
6318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6331
cfa1f3e8
DM
63322012-04-25 David S. Miller <davem@davemloft.net>
6333
6334 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6335 HWCAP_* values only after the memory barriers have been defined.
6336 (atomic_full_barrier): Define.
6337 (atomic_read_barrier): Define.
6338 (atomic_write_barrier): Define.
6339
6e236b92
SP
63402012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6341
6342 * shlib-versions: Add libgcc_s version information.
6343 * sysdeps/generic/libgcc_s.h: Remove.
6344 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6345 libgcc_s.h.
6346 * sysdeps/gnu/unwind-resume.c: Likewise.
6347 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6348
aab39a09
DM
63492012-04-25 David S. Miller <davem@davemloft.net>
6350
6351 * sysdeps/unix/sparc/brk.S: Delete.
6352 * sysdeps/unix/sparc/dl-brk.S: Delete.
6353 * sysdeps/unix/sparc/pipe.S: Delete.
6354 * sysdeps/unix/sparc/sysdep.S: Delete.
6355 * sysdeps/unix/sparc/sysdep.h: Delete.
6356 * sysdeps/unix/sparc/vfork.S: Delete.
6357 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6358 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6359 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6360 ret_ERRVAL, r0, r1, MOVE): Define.
6361 (JUMPTARGET): Remove.
6362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6363 sysdeps/unix/sparc/sysdep.h
6364 (ENTRY, END): Remove.
6365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6366
a3cc4f48
JM
63672012-04-25 Joseph Myers <joseph@codesourcery.com>
6368
2ed8cda2
JM
6369 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6370 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6371 -DIS_IN_build.
6372
35d76d59
JM
6373 * timezone/README: Update upstream location and email address for
6374 tzcode and tzdata.
6375 * timezone/zdump.c: Update from tzcode 2012b.
6376 * timezone/zic.c: Likewise.
6377
a3cc4f48
JM
6378 * configure.in (libc_cv_as_needed): Remove test.
6379 * configure: Regenerated.
6380 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6381 conditional definition.
6382 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6383 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6384 * config.make.in (have-as-needed): Remove variable.
6385
ceab42c3
SP
63862012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6387 Paul Pluzhnikov <ppluzhnikov@google.com>
6388
6389 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6390 strings correctly.
6391
3ce2865f
CLT
63922012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6393
6394 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6395 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6396 * sysdeps/sh/strlen.S: Likewise.
6397
f37e0d68
JM
63982012-04-24 Joseph Myers <joseph@codesourcery.com>
6399
ae186e9a
JM
6400 * sysdeps/unix/fork.S: Remove file.
6401 * sysdeps/unix/i386/fork.S: Likewise.
6402 * sysdeps/unix/sparc/fork.S: Likewise.
6403
b96914af
JM
6404 * sysdeps/unix/system.c: Remove file.
6405 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6406
f37e0d68
JM
6407 * sysdeps/unix/getegid.S: Remove file.
6408 * sysdeps/unix/geteuid.S: Likewise.
6409
87ef29ca
RM
64102012-04-24 Roland McGrath <roland@hack.frob.com>
6411
83bcd236
RM
6412 * scripts/check-localplt.awk: New file.
6413 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6414 of diff.
6415 * scripts/data/localplt-generic.data: Add a comment.
6416
87ef29ca
RM
6417 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6418 NODE when __dir_mkfile failed.
6419 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6420 Reported by Ludovic Courtès <ludo@gnu.org>.
6421
e5a6e567
AJ
64222012-04-24 Andreas Jaeger <aj@suse.de>
6423
6424 * Makerules (common-clean): Also remove gen-as-const-headers
6425 files.
6426
c1820385
JM
64272012-04-24 Joseph Myers <joseph@codesourcery.com>
6428
6429 * Makerules (native-compile): Do not change working directory for
6430 build. Use $(OUTPUT_OPTION) in command.
6431 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6432
94e02fc4
AZ
64332012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6434
6435 [BZ #13886]
6436 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6437 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6438 * math/libm-test.inc (floor_test): Add more tests.
6439 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6440
3a533ca3
JM
64412012-04-24 Joseph Myers <joseph@codesourcery.com>
6442
940ab4b3
JM
6443 * sysdeps/unix/getdents.c: Remove file.
6444 * sysdeps/unix/sysv/getdents.c: Likewise.
6445 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6446
90e037bd
JM
6447 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6448 sysdeps/unix/mman/syscalls.list.
6449 (mmap): Likewise.
6450 (mprotect): Likewise.
6451 (msync): Likewise.
6452 (munmap): Likewise.
6453 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6454 * sysdeps/unix/mman/syscalls.list: Remove.
6455 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6456
3a533ca3
JM
6457 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6458 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6459 * configure: Regenerated.
6460 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6461 $(libgcc_s_suffix).
6462 * config.make.in (libgcc_s_suffix): Remove variable.
6463
1ad743de
JM
64642012-04-23 Joseph Myers <joseph@codesourcery.com>
6465
4ad451e2
JM
6466 * sysdeps/unix/sysv/gethostname.c: Move to ...
6467 * sysdeps/posix/gethostname.c: ... here.
6468
5e37ce39
JM
6469 * sysdeps/unix/execve.S: Remove file.
6470
1ad743de
JM
6471 * sysdeps/unix/_exit.S: Remove file.
6472
4e681b5b
AJ
64732012-04-23 Andreas Jaeger <aj@suse.de>
6474
6475 [BZ #13739]
6476 * manual/Makefile: Remove make dist support, there's no
6477 need for a stand-alone documentation tar ball.
6478 (TEXI2DVI): Define always, it's not in Makeconfig.
6479 (dist): Removed.
6480 (tar-it): Removed.
6481 (edition): Removed.
6482 (glibc-doc-$(edition).tar): Removed
6483 (%.Z): Removed.
6484 (%.gz): Removed.
6485 (%.uu): Removed.
6486 (ETAGS): Remove, it's in Makeconfig.
6487 (move-if-change): Remove, it's in Makeconfig.
6488
c0baea34
PE
64892013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6490
6491 [BZ #13970]
6492 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6493 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6494 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6495 (strtod_l, strtof_l, strtold_l): Remove __wur.
6496 It is not necessarily an error to ignore strtol's return value.
6497 One can reliably look at the stored endptr to decide whether
6498 the number had valid syntax.
6499
7c0616fa
AJ
65002012-04-21 Andreas Jaeger <aj@suse.de>
6501
803cb6b7 6502 [BZ #13739]
7c0616fa
AJ
6503 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6504
b0fe253f
JM
65052012-04-21 Joseph Myers <joseph@codesourcery.com>
6506
6507 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6508 * sysdeps/unix/sysv/Versions: Remove file.
6509
8280f22d
MT
65102012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6511
6512 [BZ #13927]
6513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6514
75ce411f 65152012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6516
6517 [BZ #7064]
6518 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6519 version from __vm86.
6520
097d59fa
JM
65212012-04-20 Joseph Myers <joseph@codesourcery.com>
6522
a90f3bcb
JM
6523 * sysdeps/unix/common/lxstat.c: Remove file.
6524 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6525
edc7ea78
JM
6526 * sysdeps/unix/sysv/Makefile: Remove file.
6527
cb78c221
JM
6528 * sysdeps/unix/sysv/direct.h: Remove file.
6529
efa6a45f
JM
6530 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6531 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6532 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6533 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6534 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6535 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6536 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6537
9c9f2d0c
JM
6538 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6539
4541c83b
JM
6540 * sysdeps/unix/xmknod.c: Remove file.
6541 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6542
f5d153a0
JM
6543 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6544
aa746595
JM
6545 * sysdeps/unix/sysv/i386/time.S: Remove file.
6546
cce5905e
JM
6547 * sysdeps/unix/fxstat.c: Remove file.
6548 * sysdeps/unix/xstat.c: Likewise.
6549 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6550
37fa3841
JM
6551 * sysdeps/unix/sysv/sigaction.c: Remove file.
6552
ff1962a3
JM
6553 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6554 (sysdep_headers): Remove variable.
6555 [termio.h not in sysdep_headers] (generated): Likewise.
6556 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6557 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6558 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6559 * sysdeps/unix/sysv/tcflow.c: Likewise.
6560 * sysdeps/unix/sysv/tcflush.c: Likewise.
6561 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6562 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6563 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6564 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6565 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6566
e7740d31
JM
6567 * sysdeps/unix/siglist.c: Remove file.
6568
ee06f18b
JM
6569 * sysdeps/unix/getppid.S: Remove file.
6570
097d59fa
JM
6571 * sysdeps/unix/mkdir.c: Remove file.
6572 * sysdeps/unix/rmdir.c: Likewise.
6573
ff3d51ec
AS
65742012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6575
6576 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6577 ERR_MAX value.
6578 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6579 errlist-compat value.
6580
50f81fd7
DM
65812012-04-18 David S. Miller <davem@davemloft.net>
6582
6583 * sysdeps/generic/memcopy.h (reg_char): Delete.
6584 * debug/strcat_chk.c: Use char, not reg_char.
6585 * debug/strcpy_chk.c: Likewise.
6586 * debug/strncat_chk.c: Likewise.
6587 * debug/strncpy_chk.c: Likewise.
6588 * string/memchr.c: Likewise.
6589 * string/memrchr.c: Likewise.
6590 * string/rawmemchr.c: Likewise.
6591 * string/strcat.c: Likewise.
6592 * string/strchr.c: Likewise.
6593 * string/strchrnul.c: Likewise.
6594 * string/strcmp.c: Likewise.
6595 * string/strcpy.c: Likewise.
6596 * string/strncat.c: Likewise.
6597 * string/strncmp.c: Likewise.
6598 * string/strncpy.c: Likewise.
6599
8ff41c46
WS
66002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6601
6602 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6603 __builtin_memcopy is called when src and dest ranges are known to not
6604 overlap.
6605
6b652f46
WS
66062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6607
6608 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6609 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6610 fwd_align_merge macro call.
6611 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6612 bwd_align_merge macro call.
6613 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6614
b282631e
WS
66152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6616
6617 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6618 bwd_align_merge macros.
6619 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6620 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6621 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6622
95aa737c
DM
66232012-04-18 David S. Miller <davem@davemloft.net>
6624
6625 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6626
7a99a614
AJ
66272012-04-18 Andreas Jaeger <aj@suse.de>
6628
6629 [BZ# 6794]
6630 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6631 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6632 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6633
6634 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6635 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6636 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6637
6638 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6639 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6640 Adjust for changed ldbl-128 files.
6641
6642 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6643 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6644 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6645
e5270c23
DM
66462012-04-17 David S. Miller <davem@davemloft.net>
6647
6648 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6649
fb5e92c9
AS
66502012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6651
6652 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6653 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6654 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6655 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6656 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6657 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6658
76da7265
AZ
66592012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6660
6661 [BZ #6794]
6662 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6663 * math/libm-test.inc: Add ilogb errno and exception tests.
6664 * math/w_ilogb.c: New file: ilogb wrapper.
6665 * math/w_ilogbf.c: New file: ilogbf wrapper.
6666 * math/w_ilogbl.c: New file: ilogbl wrapper.
6667 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6668 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6669 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6670 exception being thrown with 0.0 as argument.
6671 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6672 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6673 exception being thrown with 0.0 as argument.
6674 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6675 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6676 exception being thrown with 0.0 as argument.
6677 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6678 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6679 exception being thrown with 0.0 as argument.
6680 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6681 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6682 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6683 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6684 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6685 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6686 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6687 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6688 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6689
0396e69d
PB
66902012-04-17 Petr Baudis <pasky@ucw.cz>
6691
6692 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6693 with altivec.
6694
750b5926
MP
66952012-04-16 Marek Polacek <polacek@redhat.com>
6696
6697 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6698
751728a1
MP
66992012-04-16 Marek Polacek <polacek@redhat.com>
6700
6701 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6702 operands of fdivp instruction.
6703
34a27407
L
67042012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6705
6706 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6707 * elf/tst-auditmod3b.c: Likewise.
6708 * elf/tst-auditmod4b.c: Likewise.
6709 * elf/tst-auditmod5b.c: Likewise.
6710 * elf/tst-auditmod6b.c: Likewise.
6711 * elf/tst-auditmod6c.c: Likewise.
6712 * elf/tst-auditmod7b.c: Likewise.
6713 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6714 * sysdeps/x86_64/preconfigure.in: Likewise.
6715 * sysdeps/x86_64/preconfigure: Regenerated.
6716
7e73e17d
L
67172012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6718
6719 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6720 __ILP32__.
6721
c7a6ab72
AB
67222012-04-13 Antoine Balestrat <merkil33@gmail.com>
6723
6724 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6725 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6726
a9e8e0e0
CL
67272012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6728
6729 [BZ #13973]
6730 * locale/iso-639.def: Fix gl language name. Spotted by
6731 Yaron Shahrabani.
6732
ec98af7d
RM
67332012-04-12 Roland McGrath <roland@hack.frob.com>
6734
6735 [BZ #2074]
6736 * libio/libio.h (__io_write_fn): Update comment.
6737
247c3ede
PB
67382012-04-12 Petr Baudis <pasky@ucw.cz>
6739
6740 [BZ #2074]
6741 * stdio.texi (Hook Functions): The user provided writer function
6742 is not allowed to return -1.
6743
55939d6d
DM
67442012-04-11 David S. Miller <davem@davemloft.net>
6745
6746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6747
90020f5a
MF
67482012-04-11 Mike Frysinger <vapier@gentoo.org>
6749
6750 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6751 Add a leading slash to rtkaio.
6752
288f9098
JM
67532012-04-11 Jim Meyering <meyering@redhat.com>
6754
90020f5a
MF
6755 [BZ #11959]
6756 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6757 It is not necessarily an error to ignore fwrite's return
6758 value. One can reliably use ferror to test for errors after
6759 the fact.
288f9098 6760
4be2b570
L
67612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6762
6763 * bits/types.h (__snseconds_t): New type.
6764 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6765
6766 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6767 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6768 (__SNSECONDS_T_TYPE): Likewise.
6769 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6770 (__SNSECONDS_T_TYPE): Likewise.
6771 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6772 (__SNSECONDS_T_TYPE): Likewise.
6773
288f9098 67742012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6775
6776 [BZ #2636]
6777 * manual/time.texi (Processor Time): Return type of times is
6778 elapsed real time since an arbitrary point in the past.
6779 (CPU Time): Move CLK_TCK from here...
6780 (Processor Time): ...to here. Correct description.
6781 * manual/conf.texi (Constants for Sysconf): Correct description of
6782 _SC_CLK_TCK.
6783
d7dd4413
DM
67842012-04-10 David S. Miller <davem@davemloft.net>
6785
6786 [BZ #13967]
6787 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6788 where the is a gap between DT_REL(A) and DT_JMPREL.
6789
b46068fc
L
67902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6791
6792 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6793 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6794 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6795
73d65cc3
SP
67962012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6797
6798 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6799 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6800 (dl_main): Handle --inhibit-cache.
6801 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6802 _dl_inhibit_cache.
6803 * elf/dl-load.c (_dl_map_object): Use it.
6804 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6805
bcc8d661
JM
68062012-04-09 Joseph Myers <joseph@codesourcery.com>
6807
8f9a2fae
JM
6808 [BZ #13872]
6809 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6810 (__ieee754_powl): Saturate large exponents rather than testing for
6811 overflow of y*log2(x).
6812 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6813 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6814 exceptions.
6815
bcc8d661
JM
6816 [BZ #11521]
6817 * math/s_ctan.c: Include <float.h>.
6818 (__ctan): Avoid internal overflow or cancellation in calculating
6819 denominator.
6820 * math/s_ctanf.c: Likewise.
6821 * math/s_ctanl.c: Likewise.
6822 * math/s_ctanh.c: Likewise.
6823 * math/s_ctanhf.c: Likewise.
6824 * math/s_ctanhl.c: Likewise.
6825 * math/libm-test.inc (ctan_test): Add more tests.
6826 (ctanh_test): Likewise.
6827 * sysdeps/i386/fpu/libm-test-ulps: Update.
6828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6829
823fbbb4
AJ
68302012-04-09 Andreas Jaeger <aj@suse.de>
6831
03879793
AJ
6832 [BZ #6894]
6833 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6834 is an optional BSD extension.
6835
823fbbb4
AJ
6836 [BZ #10254]
6837 * manual/stdio.texi (Opening Streams): Document additional fopen
6838 parameters.
6839
8de131cb
RM
68402012-04-09 Roland McGrath <roland@hack.frob.com>
6841
6842 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6843 %eax without telling the compiler.
6844
c0ed9d7d
CD
68452012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6846
6847 [BZ # 13963]
6848 * manual/install.texi: Use sourceware.org.
6849
c483f6b4
JM
68502012-04-09 Joseph Myers <joseph@codesourcery.com>
6851
d7dd9453
JM
6852 [BZ #13873]
6853 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6854 (__ieee754_pow): Generate overflow and underflow using huge*huge
6855 and tiny*tiny rather than just returning constant infinity or zero
6856 for large exponents.
6857 * math/libm-test.inc (pow_test): Require overflow exceptions for
6858 applicable cases of large exponents.
6859
c483f6b4
JM
6860 [BZ #706]
6861 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6862 (__ieee754_pow): Use iterative multiplication algorithm only for
6863 integer exponents with absolute value below 1024. Check for odd
6864 integer exponents when using algorithm for real exponents.
6865 * math/libm-test.inc (pow_test): Add more tests.
6866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6867
d2de7579
JM
68682012-04-08 Joseph Myers <joseph@codesourcery.com>
6869
6870 [BZ #13705]
6871 * math/libm-test.inc (exp_test): Do not allow overflow exception
6872 on underflow test.
6873
f77f1232
AJ
68742012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6875
6876 [BZ #13705]
6877 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6878 instead of __kernel_standard_f.
6879
3884932b
MF
68802012-04-08 Mike Frysinger <vapier@gentoo.org>
6881
6882 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6883 * sysdeps/x86_64/memset_chk.S: Likewise.
6884
54472e9c
AJ
68852012-04-08 Andreas Jaeger <aj@suse.de>
6886
6ab0fbfc
AJ
6887 [BZ #10153]
6888 * manual/startup.texi (Environment Access): Describe return value
6889 for putenv and setenv.
6890
61efba8c
AJ
6891 [BZ #6895]
6892 * manual/filesys.texi (Directory Entries): Add description for
6893 DT_LNK.
6894
95c3f29a
AJ
6895 [BZ #6890]
6896 * manual/filesys.texi (Directory Entries): Clarify that it's file
6897 system not operating system in the description of DT_UNKNOWN.
6898
54472e9c
AJ
6899 [BZ #6578]
6900 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6901
624254b1
SC
69022012-04-08 Stephen Compall <s11@member.fsf.org>
6903
6904 [BZ #6649]
6905 * manual/llio.texi (Opening and Closing Files): Add cross
6906 reference to explain mode argument.
6907
1e4920e0
MF
69082012-04-07 Mike Frysinger <vapier@gentoo.org>
6909
6910 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6911 * sysdeps/x86_64/memset_chk.S: Likewise.
6912
5ed848f3
DM
69132012-04-07 David S. Miller <davem@davemloft.net>
6914
6915 * elf/elf.h (R_SPARC_WDISP10): Define.
6916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6917 R_SPARC_SIZE32.
6918 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6919 R_SPARC_SIZE64 and R_SPARC_H34.
6920
96154cd8
CD
69212012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6922
6923 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6924 conditions and remove no longer applicable assertion.
6925
9904dc47
L
69262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6927
6928 * bits/byteswap.h: Include <features.h>.
6929 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6930 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6931
f8887d0a
L
69322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6933
6934 * bits/byteswap.h (__bswap_16): Removed.
6935 Include <bits/byteswap-16.h> to get __bswap_16.
6936 * sysdeps/i386/bits/byteswap.h: Likewise.
6937 * sysdeps/s390/bits/byteswap.h: Likewise.
6938 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6939 * bits/byteswap-16.h: New file.
6940 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6941 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6942 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6943 * string/Makefile (headers): Add bits/byteswap-16.h.
6944
62470f60
PP
69452012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6946
6947 [BZ #13895]
6948 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6949 extra indirection.
6950 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6951 * nss/tst-nss-static.c: New.
6952
4dad7bab
RM
69532012-04-06 Robert Millan <rmh@gnu.org>
6954
6955 [BZ #6486]
6956 * manual/llio.texi (File Position Primitive): lseek
6957 refers to WHENCE when it really means OFFSET.
6958
e9142a17
AJ
69592012-04-06 Andreas Jaeger <aj@suse.de>
6960
2c040eff
AJ
6961 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6962 strncmp declarations.
6963
e9142a17
AJ
6964 * abilist/libc.abilist: Add __poll and __ppoll.
6965
ff9f1c5f
DM
69662012-04-05 David S. Miller <davem@davemloft.net>
6967
dcd2ae90
DM
6968 * scripts/check-local-headers.sh: Accept a host triplet in the
6969 path matched by the exclude regexp.
6970
993eb054
DM
6971 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6972 definition.
6973 * sysdeps/powerpc/powerpc32/dl-machine.h
6974 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6975 * sysdeps/s390/s390-32/dl-machine.h
6976 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6977 * sysdeps/sparc/sparc32/dl-machine.h
6978 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6979 * sysdeps/sparc/sparc64/dl-machine.h
6980 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6981
ff9f1c5f
DM
6982 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6983 lazy binding.
48e2e132 6984 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6985 undefined symbol errors.
6986
48e2e132 6987 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6988 DT_NEEDED entries.
6989
e80d6f94
MM
69902012-04-05 Michael Matz <matz@suse.de>
6991
6992 [BZ #13592]
6993 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6994
349fa79f
AJ
69952012-04-05 Andreas Jaeger <aj@suse.de>
6996
6997 [BZ #13908]
6998 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6999 comment.
7000
f402708f
KK
70012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7002
7003 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7004 which ROUND is no valid rounding mode.
7005
2ecccfc9
KK
70062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7007
7008 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7009 read again.
7010 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7011
8a53f50f
KK
70122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7013
7014 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7015 an exception using FPU order intentionally.
7016
70172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7018
7019 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7020 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7021 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7022 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7023
d653abb7
SJ
70242012-04-05 Simon Josefsson <simon@josefsson.org>
7025
7026 [BZ #12340]
7027 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7028 EINVAL when BUFLEN is too smal.
7029
c3b1bf7d
TS
70302012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7031
7032 [BZ #13553]
7033 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7034 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7035
b1aa60f3
AJ
70362012-04-03 Andreas Jaeger <aj@suse.de>
7037
c3b1bf7d 7038 [BZ #13938]
67f60a26
AJ
7039 * manual/setjmp.texi (System V contexts): Fix sentence.
7040
b1aa60f3
AJ
7041 [BZ #13926]
7042 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7043 New macro for this case.
7044 [!__GNUC__] (__bswap_64): New inline function for this case.
7045 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7046 * bits/byteswap.h: Likewise.
7047 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7048 ull, guard with __GLIBC_HAVE_LONG_LONG.
7049
7050 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7051 __GLIBC_HAVE_LONG_LONG.
7052
7053 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7054 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7055
39c59c35
TMQMF
70562012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7057
7058 [BZ #13691]
7059 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7060 inptr and inend, rather than using last_ch.
7061
135ffda8
DM
70622012-04-02 David S. Miller <davem@davemloft.net>
7063
7064 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7065 * stdio-common/printf-parse.h (read_int): Change return type to
7066 'int', return -1 on INT_MAX overflow.
7067 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7068 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7069 overflows INT_MAX. Check for overflow of in-format-string precision
7070 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7071 SIZE_MAX not INT_MAX for integer overflow test.
7072 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7073 skip the construct in the format string but do not record anything.
7074 * stdio-common/bug22.c: Adjust to test both width/prevision
7075 INT_MAX overflow as well as total length INT_MAX overflow. Check
7076 explicitly for proper errno values.
7077
228c019e
TS
70782012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7079
302cadd3
TS
7080 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7081 CHAR_MAX.
7082 * string/test-strcmp.c [! WIDE]: Likewise.
7083 * time/tst-mktime2.c: Likewise for INT_MAX.
7084 * string/test-string.h: #include <sys/param.h> for MIN.
7085
228c019e
TS
7086 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7087 * sysdeps/i386/init-first.c (init): Likewise.
7088 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7089 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7090 * sysdeps/sh/init-first.c (init): Likewise.
7091
cfa633f5
UD
70922012-04-01 Ulrich Drepper <drepper@gmail.com>
7093
7094 * po/ru.po: Update from translation team.
d1635ef8 7095 * po/vi.po: Likewise.
cfa633f5 7096
6cd0a5ea
SP
70972012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7098
7099 * resolv/nss_dns/dns-host.c: Merge copyright years.
7100
4b43400f
LD
71012012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7102
7103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7104 Optimize memcpy with prefetch if
7105 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7106 src, dst pointers have unequal 16 byte alignments.
7107
48c41d04
SP
71082012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7109
7110 [BZ #13928]
7111 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7112 from a CNAME entry and return the minimum ttl for the query.
7113 (gaih_getanswer_slice): Likewise.
7114
b8dc394d
JL
71152012-03-30 Jeff Law <law@redhat.com>
7116
7117 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7118 due to long keys.
7119 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7120 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7121
2f5a5ed0
JL
7122 * resolv/nss_dns/dns-host.c: Update copyright year.
7123
1d39e359
UD
71242012-03-30 Ulrich Drepper <drepper@gmail.com>
7125
c030f70c 7126 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7127 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7128
1d39e359
UD
7129 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7130 comments for sendmmsg.
7131
71322012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7133
7134 [BZ #13691]
7135 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7136 with only 1 character between 0x0041 and 0x01b0.
7137 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7138 * wcsmbs/tst-mbsnrtowcs.c: New file.
7139
20fde227
DM
71402012-03-29 David S. Miller <davem@davemloft.net>
7141
7142 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7143 small copies by hand.
7144
984a4237
JL
71452012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7146
7147 [BZ #13761]
7148 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7149 _nss_compat_initgroups_dyn): Fall back to malloc/free
7150 for large group memberships.
7151
18c9d62b
DM
71522012-03-28 David S. Miller <davem@davemloft.net>
7153
88d85d4f
DM
7154 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7155 that branches into memcpy.
7156 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7157 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7158 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7159 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7160 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7161 bits.
7162 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7163 implementation too.
7164 * sysdeps/sparc/mempcpy.S: New file.
7165
e5aa83e1
DM
7166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7167 the IFUNC routine in the libc case.
7168 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7169
88570753
DM
7170 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7171 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7172 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7173 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7174 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7175 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7176 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7177 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7178
249d7567
DM
7179 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7180 loop to 256 bytes instead of 64 bytes and fix test signedness.
7181
18c9d62b
DM
7182 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7183 * sysdeps/sparc/sparc32/Makefile: rather than here...
7184 * sysdeps/sparc/sparc64/Makefile: and here.
7185
05f3d1f6
UD
71862012-03-28 Ulrich Drepper <drepper@gmail.com>
7187
7188 * malloc/mallocbug.c: Avoid warnings about unused variables.
7189
86ae07a8
JL
71902012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7191
7192 [BZ #13760]
7193 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7194 in the right place. Discard and retry query if response is
7195 larger than input buffer size.
7196
41bf21a1
JM
71972012-03-28 Joseph Myers <joseph@codesourcery.com>
7198
d6270972
JM
7199 [BZ #369]
7200 [BZ #2678]
7201 [BZ #3866]
7202 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7203 x for large integer exponent.
7204 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7205 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7206 sign of result as needed afterwards.
7207 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7208 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7209 result for underflowing pow the same as for overflow.
7210 (__kernel_standard_l): Handle powl overflow and underflow here
7211 rather than calling __kernel_standard.
7212 * math/libm-test.inc (pow_test): Add more tests.
7213
414fca03 7214 [BZ #3868]
41bf21a1
JM
7215 [BZ #13879]
7216 [BZ #13910]
7217 [BZ #13911]
7218 [BZ #13912]
7219 [BZ #13913]
7220 [BZ #13915]
7221 [BZ #13916]
7222 [BZ #13917]
7223 [BZ #13918]
7224 [BZ #13919]
7225 [BZ #13920]
7226 [BZ #13921]
7227 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7228 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7229 (__kernel_standard_l): New function.
7230 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7231 __kernel_standard.
7232 * math/w_acosl.c (__acosl): Likewise.
7233 * math/w_asinl.c (__asinl): Likewise.
7234 * math/w_atan2l.c (__atan2l): Likewise.
7235 * math/w_atanhl.c (__atanhl): Likewise.
7236 * math/w_coshl.c (__coshl): Likewise.
7237 * math/w_exp10l.c (__exp10l): Likewise.
7238 * math/w_exp2l.c (__exp2l): Likewise.
7239 * math/w_fmodl.c (__fmodl): Likewise.
7240 * math/w_hypotl.c (__hypotl): Likewise.
7241 * math/w_j0l.c (__j0l, __y0l): Likewise.
7242 * math/w_j1l.c (__j1l, __y1l): Likewise.
7243 * math/w_jnl.c (__jnl, __ynl): Likewise.
7244 * math/w_lgammal.c (__lgammal): Likewise.
7245 * math/w_log10l.c (__log10l): Likewise.
7246 * math/w_log2l.c (__log2l): Likewise.
7247 * math/w_logl.c (__logl): Likewise.
7248 * math/w_powl.c (__powl): Likewise.
7249 * math/w_remainderl.c (__remainderl): Likewise.
7250 * math/w_scalbl.c (sysv_scalbl): Likewise.
7251 * math/w_sinhl.c (__sinhl): Likewise.
7252 * math/w_sqrtl.c (__sqrtl): Likewise.
7253 * math/w_tgammal.c (__tgammal): Likewise.
7254 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7255 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7256 * math/libm-test.inc (acos_test): Add more tests.
7257 (acosh_test): Likewise.
7258 (asin_test): Likewise.
7259 (atanh_test): Likewise.
7260 (exp_test): Likewise.
7261 (exp10_test): Likewise.
7262 (exp2_test): Likewise.
7263 (expm1_test): Likewise.
7264 (lgamma_test): Likewise.
7265 (log_test): Likewise.
7266 (log10_test): Likewise.
7267 (log1p_test): Likewise.
7268 (log2_test): Likewise.
7269 (pow_test): Do not allow some spurious overflow exceptions.
7270 (sqrt_test): Add more tests.
7271 (tgamma_test): Likewise.
7272 (y0_test): Likewise.
7273 (y1_test): Likewise.
7274 (yn_test): Likewise.
7275
dd62fda6
AB
72762012-03-27 Anton Blanchard <anton@samba.org>
7277
7278 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7279 MAP_HUGETLB.
7280 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7281 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7282 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7283
1e3cdfda
AJ
72842012-03-27 David S. Miller <davem@davemloft.net>
7285
b855ab85
DM
7286 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7287
1e3cdfda
AJ
7288 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7289 have-as-vis3 check.
7290
72912012-03-27 Andreas Jaeger <aj@suse.de>
7292
7293 * sysdeps/x86_64/elf/configure.in: Moved to ...
7294 * sysdeps/x86_64/configure.in: ... here.
7295 * sysdeps/x86_64/elf/start.S: Moved to ...
7296 * sysdeps/x86_64/start.S: ... here.
7297 * sysdeps/x86_64/elf/configure: Delete.
7298
7299 * sysdeps/x86_64/configure.in: Merge contents from
7300 sysdeps/i386/configure.in (without i686 check).
7301
7302 * sysdeps/i386/elf/Versions: Merge into ...
7303 * sysdeps/i386/Versions: ... this.
7304 * sysdeps/i386/elf/Versions: Delete file.
7305 * sysdeps/i386/elf/start.S: Moved to ...
7306 * sysdeps/i386/start.S: ...here.
7307 * sysdeps/i386/elf/configure.in: Merge into...
7308 * sysdeps/i386/configure.in: ...here.
7309 * sysdeps/i386/elf/configure.in: Delete file.
7310 * sysdeps/i386/elf/configure: Delete file.
7311
7312 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7313 * debug/backtracesyms.c: ... here.
7314 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7315 * debug/backtracesymsfd.c: ... here.
7316 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7317 * sysdeps/generic/ifunc-sel.h: ... here.
7318
7319 * sysdeps/unix/i386/start.c: Delete file.
7320 * sysdeps/unix/sparc/start.c: Delete file.
7321 * sysdeps/unix/start.c: Delete file.
7322
7323 * sysdeps/sh/elf/configure.in: Moved to ...
7324 * sysdeps/sh/configure.in: ... here.
7325 * sysdeps/sh/elf/start.S: Moved to ...
7326 * sysdeps/sh/start.S: ... here.
7327 * sysdeps/sh/elf/configure: Delete file.
7328
7329 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7330 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7331 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7332 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7333 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7334 * sysdeps/powerpc/powerpc64/start.S: here.
7335 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7336 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7337 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7338 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7339 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7340
7341 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7342 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7343 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7344 * sysdeps/powerpc/powerpc32/start.S: ... here.
7345 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7346 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7347 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7348
7349 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7350 * sysdeps/powerpc/ifunc-sel.h: ... here.
7351 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7352 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7353
7354 * sysdeps/sparc/elf/configure.in: Moved to ...
7355 * sysdeps/sparc/configure.in: ... here.
7356 * sysdeps/sparc/elf/configure: Delete file.
7357 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7358 * sysdeps/sparc/sparc32/start.S: ... here.
7359 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7360 * sysdeps/sparc/sparc64/start.S: ... here.
7361 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7362 * sysdeps/sparc/sparc32/Makefile: ... this.
7363 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7364 * sysdeps/sparc/sparc64/Makefile: ... this.
7365
7366 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7367 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7368 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7369 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7370 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7371 * sysdeps/s390/s390-32/setjmp.S: ... here.
7372 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7373 * sysdeps/s390/s390-32/configure.in: ... here.
7374 * sysdeps/s390/s390-32/elf/configure: Delete file.
7375 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7376 * sysdeps/s390/s390-32/start.S: ... here.
7377
7378 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7379 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7380 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7381 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7382 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7383 * sysdeps/s390/s390-64/setjmp.S: ... here.
7384 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7385 * sysdeps/s390/s390-64/configure.in: ... here
7386 * sysdeps/s390/s390-64/elf/configure: Delete file.
7387 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7388 * sysdeps/s390/s390-64/start.S: ... here.
7389 * sysdeps/s390/s390-64/elf/configure: Delete.
7390
7391 * configure.in: Remove support for elf directories in sysdeps.
7392
7393 * configure: Regenerated.
7394 * sysdeps/i386/configure: Regenerated.
7395 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7396 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7397 * sysdeps/s390/s390-32/configure: Regenerated.
7398 * sysdeps/s390/s390-64/configure: Regenerated.
7399 * sysdeps/sh/configure: Regenerated.
7400 * sysdeps/sparc/configure: Regenerated.
7401 * sysdeps/x86_64/configure: Regenerated.
7402
a3f61311
AS
74032012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7404
c876e002
AS
7405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7406
a3f61311
AS
7407 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7408 denormal result into account.
7409
ac4c54f0
RM
74102012-03-25 Roland McGrath <roland@hack.frob.com>
7411
7412 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7413 Reported by Allan McRae <allan@archlinux.org>.
7414
6a9b9c02
JL
74152012-03-23 Jeff Law <law@redhat.com>
7416
7417 * nss/getnssent.c (__nss_getent): Fix typo.
7418
4c42a0c1
DM
74192012-03-23 David S. Miller <davem@davemloft.net>
7420
7421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7422
1532c7ac
L
74232012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7424
7425 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7426 to pad to uint64_t for each field.
7427 (dl_tls_index): Replace unsigned long with uint64_t.
7428
3ff42526
PP
74292012-03-23 Daniel Jacobowitz <dmj@google.com>
7430 Paul Pluzhnikov <ppluzhnikov@google.com>
7431
7432 [BZ #6528]
7433 * grp/Makefile (otherlibs): Don't set it.
7434 * inet/Makefile (otherlibs): Likewise.
7435 * login/Makefile (otherlibs): Likewise.
7436 * nscd/Makefile (otherlibs): Likewise.
7437 * posix/Makefile (otherlibs): Likewise.
7438 * pwd/Makefile (otherlibs): Likewise.
7439 * rt/Makefile (otherlibs): Likewise.
7440 * sunrpc/Makefile (otherlibs): Likewise.
7441 * nss/Makefile (otherlibs): Likewise.
7442 Add libnss_files to routines and static-only-routines.
7443 ($(objpfx)getent): Remove rule.
7444 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7445 static-only-routines.
7446
7c69cd14
JM
74472012-03-22 Joseph Myers <joseph@codesourcery.com>
7448
7449 [BZ #13892]
7450 * math/s_cexp.c: Include <float.h>.
7451 (__cexp): Handle exp result overflowing not necessarily
7452 overflowing both real and imaginary parts of result.
7453 * math/s_cexpf.c: Likewise.
7454 * math/s_cexpl.c: Likewise.
7455 * math/libm-test.inc (cexp_test): Add more tests.
7456 * sysdeps/i386/fpu/libm-test-ulps: Update.
7457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7458
81b035fe
L
74592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7460
7461 * include/link.h (ELFW): New macro.
7462 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7463 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7464
1da7940c
L
74652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7466
7467 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7468 with uint64_t.
7469
b749dbb9
L
74702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7471
7472 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7473 declaration.
7474 (struct La_x32_retval): Likewise.
7475
2ff87f3f
L
74762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7477
7478 * sysdeps/x86_64/preconfigure.in: New file.
7479 * sysdeps/x86_64/preconfigure: New generated file.
7480
c0df8e69
JM
74812012-03-22 Joseph Myers <joseph@codesourcery.com>
7482
48e44791
JM
7483 [BZ #13824]
7484 * math/e_exp2l.c: Include <float.h>.
7485 (__ieee754_exp2l): Handle overflow and underflow cases
7486 separately. Only pass fractional part of argument to
7487 __ieee754_expl.
7488 * math/libm-test.inc (exp2_test): Add more tests.
7489
c0df8e69
JM
7490 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7491 negating x to take absolute value.
7492 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7493 Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7495 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7496 Likewise.
7497 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7498 computing low part if x was negated.
7499 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7500
c8e43ba7
L
75012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7502
7503 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7504 la_x32_gnu_pltexit.
7505 (pltexit): Cast int_retval to ptrdiff_t.
7506 * elf/tst-auditmod3b.c: Likewise.
7507 * elf/tst-auditmod4b.c: Likewise.
7508 * elf/tst-auditmod5b.c: Likewise.
7509 * elf/tst-auditmod6b.c: Likewise.
7510 * elf/tst-auditmod6c.c: Likewise.
7511 * elf/tst-auditmod7b.c: Likewise.
7512
7513 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7514 and x32_gnu_pltexit.
7515
7516 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7517 __ELF_NATIVE_CLASS.
7518 (La_x32_regs): New macro.
7519 (La_x32_retval): Likewise.
7520 (la_x32_gnu_pltenter): New function prototype.
7521 (la_x32_gnu_pltexit): Likewise.
7522
7998fa78
AS
75232012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7524
dcb33988
AS
7525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7526 exponent.
7527
233fc563
AS
7528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7529
7998fa78
AS
7530 * configure.in (libc_cv_cc_nofma): Check for option to disable
7531 generation of FMA instructions.
7532 * configure: Regenerate.
7533 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7534 * sysdeps/ieee754/dbl-64/Makefile: New file.
7535 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7536 Remove brandred-fma4.
7537 (CFLAGS-brandred-fma4.c): Remove.
7538 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7539 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7540 define.
7541 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7542 define.
7543
8e95c99a
L
75442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7545
7546 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7547 LLONG_MAX != LONG_MAX.
7548 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7549 (_fitoa_word): Likewise.
7550 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7551 LLONG_MAX != LONG_MAX.
7552 * stdio-common/_itowa.h: Include <_itoa.h>.
7553 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7554 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7555 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7556 only if not defined.
7557 (_ITOA_WORD_TYPE): Likewise.
7558 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7559 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7560
6f4db457
DM
75612012-03-21 David S. Miller <davem@davemloft.net>
7562
7563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7564
7785fe5a
L
75652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7568 of x86_64 when setting libc_cv_slibdir, libdir and
7569 libc_cv_localedir.
7570 * sysdeps/unix/sysv/linux/configure: Regenerated.
7571
4535cd55
JM
75722012-03-21 Joseph Myers <joseph@codesourcery.com>
7573
7574 * manual/lang.texi (Old Varargs): Remove section.
7575 (How Variadic): Update menu.
7576 (va_start): Do not mention varargs.h.
7577
17228132
TS
75782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7579 Joseph Myers <joseph@codesourcery.com>
7580
7581 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7582 link test.
7583 * configure: Regenerated.
7584
8149f976
TS
75852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7586
05f3d1f6
UD
7587 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7588 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7589 conformtest.pl
8149f976 7590
1a4ac776
JM
75912012-03-21 Joseph Myers <joseph@codesourcery.com>
7592
be22ce65
JM
7593 * NOTES: Remove.
7594 * Makefile (files-for-dist): Remove NOTES.
7595 (NOTES): Remove rule.
7596 * README: Don't refer to NOTES.
7597 * manual/creature.texi: Don't include macros.texi.
7598 * manual/intro.texi (creature.texi): Remove comment referring to
7599 NOTES.
7600
40b601fb
JM
7601 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7602 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7603 * configure: Regenerated.
7604 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7605 LIBC_TRY_CC_OPTION.
7606 (libc_cv_as_i686): Likewise.
7607 (libc_cv_cc_avx): Likewise.
7608 (libc_cv_cc_sse2avx): Likewise.
7609 (libc_cv_cc_fma4): Likewise.
7610 (libc_cv_cc_novzeroupper): Likewise.
7611 * sysdeps/i386/configure: Regenerated.
7612
1a4ac776
JM
7613 [BZ #13883]
7614 * sysdeps/i386/fpu/s_cexp.S: Remove.
7615 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7616 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7617 * math/libm-test.inc (cexp_test): Add more tests.
7618 * sysdeps/i386/fpu/libm-test-ulps: Update.
7619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7620
a458e7fe
AM
76212012-03-21 Allan McRae <allan@archlinux.org>
7622
7623 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7624
0cb7efc5
JM
76252012-03-21 Joseph Myers <joseph@codesourcery.com>
7626
7627 [BZ #13871]
7628 * math/w_exp2.c: Do not include <float.h>.
7629 (o_threshold, u_threshold): Remove.
7630 (__exp2): Calculate result before checking finiteness and calling
7631 __kernel_standard.
7632 * math/w_exp2f.c: Likewise.
7633 * math/w_exp2l.c: Likewise.
7634 * math/libm-test.inc (exp2_test): Require overflow exception for
7635 1e6 input.
2460d3aa
JM
7636
7637 [BZ #3866]
7638 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7639 range of signed 64-bit integers before using fistpll. Remove
7640 checks for whether integers fit in mantissa bits.
7641 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7642 the range of signed 32-bit integers before using fistpl. Remove
7643 checks for whether integers fit in mantissa bits.
7644 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7645 (__ieee754_powl): Test for y outside the range of signed 64-bit
7646 integers before using fistpll. Reduce 64-bit values to 63-bit
7647 ones as needed.
7648 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7649 divide-by-zero is raised for zero to large negative powers.
7650 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7651 (__ieee754_powl): Test for y outside the range of signed 64-bit
7652 integers before using fistpll. Reduce 64-bit values to 63-bit
7653 ones as needed.
7654 * math/libm-test.inc (pow_test): Add more tests.
7655
eb96ffb0
L
76562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7657
7658 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7659 <stdio-common/_itoa.h>.
7660 * debug/segfault.c: Likewise.
7661 * elf/dl-cache.c: Likewise.
7662 * elf/dl-minimal.c: Likewise.
7663 * elf/dl-misc.c: Likewise.
7664 * elf/dl-sysdep.c: Likewise.
7665 * elf/dl-version.c: Likewise.
7666 * elf/rtld.c: Likewise.
7667 * hurd/hurdsock.c: Likewise.
7668 * hurd/lookup-retry.c: Likewise.
7669 * malloc/malloc.c: Likewise.
7670 * malloc/mtrace.c: Likewise.
7671 * nscd/nscd_getgr_r.c: Likewise.
7672 * nscd/nscd_getpw_r.c: Likewise.
7673 * nscd/nscd_getserv_r.c: Likewise.
7674 * posix/getopt_init.c: Likewise.
7675 * posix/wordexp.c: Likewise.
7676 * stdio-common/_itoa.c: Likewise.
7677 * stdio-common/printf_fphex.c: Likewise.
7678 * stdio-common/vfprintf.c: Likewise.
7679 * string/_strerror.c: Likewise.
7680 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7681 * sysdeps/i386/i686/hp-timing.h: Likewise.
7682 * sysdeps/mach/_strerror.c: Likewise.
7683 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7684 * sysdeps/mach/hurd/sethostid.c: Likewise.
7685 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7686 * sysdeps/mach/xpg-strerror.c: Likewise.
7687 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7688 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7689 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7690 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7691 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7692 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7693 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7694 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7695 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7696 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7697 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7698 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7699 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7700 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7701 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7702 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7703 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7704 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7705 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7706 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7707 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7708
7709 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7710
7711 * stdio-common/_itoa.h: Moved to ...
7712 * sysdeps/generic/_itoa.h: Here.
7713
7714 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7715
7716 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7717 instead of "_itoa.h" and "_itowa.h".
7718 * stdio-common/vfprintf.: Likewise.
7719
d1af992d
L
77202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7721
7722 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7723 <bits/wordsize.h>.
7724 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7725 (__signbit): Likwise.
7726 (llrintf): Likwise.
7727 (llrint): Likwise.
7728
114883e0
L
77292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7730
7731 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7732 __WORDSIZE != 64.
7733
c135cc1b
JM
77342012-03-20 Joseph Myers <joseph@codesourcery.com>
7735
7736 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7737 OVERFLOW_EXCEPTION_OK.
7738 * math/libm-test.inc ("Philosophy"): Update comment about
7739 exception testing.
7740 (OVERFLOW_EXCEPTION): Define.
7741 (OVERFLOW_EXCEPTION_OK): Likewise.
7742 (INVALID_EXCEPTION_OK): Renumber.
7743 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7744 (IGNORE_ZERO_INF_SIGN): Likewise.
7745 (test_exceptions): Handle FE_OVERFLOW.
7746 (exp10_test): Expect overflow exceptions.
7747 (exp2_test): Likewise.
7748 (expm1_test): Likewise.
7749 (nextafter_test): Likewise.
7750 (pow_test): Likewise.
7751 (scalbn_test): Likewise.
7752 (scalbln_test): Likewise.
7753
95443d88
L
77542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7755
7756 * sysdeps/x86_64/bits/atomic.h
7757 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7758 64bit integer.
7759 (atomic_exchange_acq): Likewise.
7760 (__arch_exchange_and_add_body): Likewise.
7761 (__arch_add_body): Likewise.
7762 (atomic_add_negative): Likewise.
7763 (atomic_add_zero): Likewise.
7764
490df6c4
L
77652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7766
c2722551 7767 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7768 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7769
5e52b189
L
77702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7771
7772 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7773 Check __x86_64__ instead of __WORDSIZE.
7774
a9879d4c
L
77752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7776
7777 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7778
5df98260
DM
77792012-03-19 David S. Miller <davem@davemloft.net>
7780
e1497744
DM
7781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7782
5df98260
DM
7783 * sysdeps/sparc/fpu/fenv_private.h: New file.
7784 * sysdeps/sparc/fpu/math_private.h: Use it.
7785 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7786 Remove.
7787 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7788 (libc_feholdexcept_setroundl): Remove.
7789 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7790 Remove.
7791 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7792 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7793
b4c35121
L
77942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7795
7796 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7797 int64_t instead of long int.
7798 (INSERT_WORDS64): Likwise.
7799
56965fd7
L
78002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7801
7802 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7803 _Unwind_GetCFA return to _Unwind_Ptr first.
7804
83d1aec8
JM
78052012-03-19 Joseph Myers <joseph@codesourcery.com>
7806
1897ad44
JM
7807 [BZ #13629]
7808 * math/s_clog.c: Include <float.h>.
7809 (__clog): Scale large or subnormal inputs.
7810 * math/s_clogf.c: Likewise.
7811 * math/s_clogl.c: Likewise.
7812 * math/s_clog10.c: Include <float.h>.
7813 (M_LOG10_2): Define.
7814 (__clog10): Scale large or subnormal inputs.
7815 * math/s_clog10f.c: Likewise.
7816 * math/s_clog10l.c: Likewise.
7817 * math/libm-test.inc (clog_test): Add more tests.
7818 (clog10_test): Likewise.
7819 * sysdeps/i386/fpu/libm-test-ulps: Update.
7820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7821
7726d6a9
JM
7822 [BZ #11451]
7823 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7824 x and y.
7825 * math/libm-test.inc (atan2_test): Add another test.
7826
83d1aec8
JM
7827 * Makerules (common-objdir-compile): Remove.
7828 * sysdeps/unix/Makefile (config-generated): Do not add
7829 $(unix-generated) to variable.
7830 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7831 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7832 Remove rule.
7833 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7834 Likewise.
7835 [generic bits/local_lim.h] (before-compile): Do not append to
7836 variable.
7837 [generic bits/local_lim.h] (common-generated): Likewise.
7838 [generic sys/param.h] (before-compile): Do not append to variable.
7839 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7840 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7841 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7842 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7843 include.
7844 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7845 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7846 [generic sys/param.h] ($(addprefix
7847 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7848 [generic sys/param.h] (common-generated): Do not append to
7849 variable.
7850 [generic sys/param.h] (sysdep_headers): Likewise.
7851 [generic bits/errno.h] (before-compile): Do not append to
7852 variable.
7853 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7854 rule.
7855 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7856 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7857 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7858 [generic bits/errno.h] (common-generated): Do not append to
7859 variable.
7860 [generic bits/ioctls.h] (before-compile): Do not append to
7861 variable.
7862 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7863 rule.
7864 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7865 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7866 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7867 rule.
7868 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7869 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7870 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7871 [generic bits/ioctls.h] (common-generated): Do not append to
7872 variable.
7873 [generic sys/syscall.h] (syscall.h): Remove variable.
7874 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7875 rule.
7876 [generic sys/syscall.h] (before-compile): Do not append to
7877 variable.
7878 [generic sys/syscall.h] (common-generated): Likewise.
7879 * sysdeps/unix/errnos-tmpl.c: Remove file.
7880 * sysdeps/unix/errnos.awk: Likewise.
7881 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7882 * sysdeps/unix/ioctls.awk: Likewise.
7883 * sysdeps/unix/mk-local_lim.c: Likewise.
7884 * sysdeps/unix/snarf-ioctls: Likewise.
7885
4851a949
RH
78862012-03-19 Richard Henderson <rth@twiddle.net>
7887
bd37f2ee
RH
7888 * sysdeps/i386/fpu/fenv_private.h: New file.
7889 * sysdeps/i386/fpu/math_private.h: Use it.
7890 (math_opt_barrier, math_force_eval): Remove.
7891 (libc_feholdexcept_setround_53bit): Remove.
7892 (libc_feupdateenv_53bit): Remove.
7893 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7894 (math_opt_barrier, math_force_eval): Remove.
7895 (libc_feholdexcept): Remove.
7896 (libc_feholdexcept_setround): Remove.
7897 (libc_fetestexcept, libc_fesetenv): Remove.
7898 (libc_feupdateenv_test): Remove.
7899 (libc_feupdateenv, libc_feholdsetround): Remove.
7900 (libc_feresetround): Remove.
7901
d0adc922
RH
7902 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7903 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7904
0fe0f1f8
RH
7905 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7906 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7907 (libc_feupdateenv_testl): New.
7908 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7909 (libc_feupdateenv_testf): New.
7910 (libc_feupdateenv): Use libc_feupdateenv_test.
7911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7912 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7913
eb92c487
RH
7914 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7915 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7916 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7917 (libc_feresetround_noex): New.
7918 (libc_feresetround_noexf): New.
7919 (libc_feresetround_noexl): New.
7920 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7921 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7922 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7923 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7924 SET_RESTORE_ROUND.
7925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7926 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7927 (__cos): Likewise.
7928 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7929 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7930 SET_RESTORE_ROUND_NOEX.
7931 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7932 SET_RESTORE_ROUND_NOEXF.
7933 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7934 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7935 (libc_feholdsetroundf): New.
7936 (libc_feresetround, libc_feresetroundf): New.
7937
7d2e8012
RH
7938 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7939 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7940 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7941
b4dabbb4
RH
7942 * sysdeps/generic/math_private.h: Include <fenv.h>.
7943 (default_libc_feholdexcept): New.
7944 (default_libc_feholdexcept_setround): New.
7945 (default_libc_fesetenv, default_libc_feupdateenv): New.
7946 (libc_feholdexcept): Only define if undefined.
7947 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7948 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7949 (libc_feholdexcept_setroundl): Likewise.
7950 (libc_feholdexcept_setround_53bit): Likewise.
7951 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7952 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7953 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7954 (libc_feupdateenv_53bit): Likewise.
7955 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7956 (libc_feholdexcept): Convert from macro to inline function.
7957 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7958 (libc_fesetenv, libc_feupdateenv): Likewise.
7959
4851a949
RH
7960 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7961 not previously defined.
7962 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7963 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7964 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7965 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7966 * sysdeps/ieee754/flt-32/math_private.h: New file.
7967 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7968 math_private.h below SET_FLOAT_WORD.
7969 (__isnan, __isinf_ns, __finite): Remove.
7970 (__isnanf, __isinf_nsf, __finitef): Remove.
7971
e79d442e
AS
79722012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7973
7974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7975
90b80344
DM
79762012-03-17 David S. Miller <davem@davemloft.net>
7977
7978 [BZ #6471]
7979 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7980 for 2.16.
7981
edc21804
DM
79822012-03-16 David S. Miller <davem@davemloft.net>
7983
77e927af
DM
7984 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7985 warnings.
7986
374976dd
DM
7987 [BZ #6471]
7988 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7989 properly.
7990 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7991 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7992 sysdep_routines when subdir is sysvipc.
7993 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7994 __getshmlba helper.
7995
edc21804
DM
7996 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7997
473c3ef3
L
79982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7999
8000 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8001 [__LP64__].
8002
eb0f39b6
L
80032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8004
8005 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8006 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8007 (__lround): Renamed to ...
8008 (__llround): This. Replace long int with long long int.
8009 Define lround functions as aliases of llround functions.
8010 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8011
6b6cd74b
L
80122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8015 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8016 adresses to uintptr_t. Replace "long int" and "unsigned long
8017 int" with "greg_t" on va_arg.
8018
f1a77b01
L
80192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8020
8021 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8022 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8023
8024 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8025 Move e_machine check before EI_CLASS check. Handle x32
8026 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8027 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8028 SKIP_EM_IA_64 and include
8029 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8030
8031 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8032 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8033 (add_system_dir): New macro.
8034
8035 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8036 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8037
11b90b9f
JM
80382012-03-16 Joseph Myers <joseph@codesourcery.com>
8039
c36e1d23
JM
8040 [BZ #2551]
8041 [BZ #2552]
8042 [BZ #2553]
8043 [BZ #2554]
8044 [BZ #2562]
8045 [BZ #2563]
8046 [BZ #2565]
8047 [BZ #2566]
8048 [BZ #2576]
8049 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8050 (y0): Likewise.
8051 * math/w_j0f.c (j0f): Likewise.
8052 (y0f): Likewise.
8053 * math/w_j0l.c (__j0l): Likewise.
8054 (__y0l): Likewise.
8055 * math/w_j1.c (j1): Likewise.
8056 (y1): Likewise.
8057 * math/w_j1f.c (j1f): Likewise.
8058 (y1f): Likewise.
8059 * math/w_j1l.c (__j1l): Likewise.
8060 (__y1l): Likewise.
8061 * math/w_jn.c (jn): Likewise.
8062 (yn): Likewise.
8063 * math/w_jnf.c (jnf): Likewise.
8064 (ynf): Likewise.
8065 * math/w_jnl.c (__jnl): Likewise.
8066 (__ynl): Likewise.
8067 * math/libm-test.inc (j0_test): Add more tests.
8068 (j1_test): Likewise.
8069 (jn_test): Likewise. Add trailing semicolon to existing test.
8070 (y0_test): Likewise.
8071 (y1_test): Likewise.
8072 * sysdeps/i386/fpu/libm-test-ulps: Update.
8073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8074
11b90b9f
JM
8075 [BZ #13851]
8076 [BZ #13854]
8077 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8078 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8079 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8080 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8081 (__tanl): Set errno for infinite argument.
8082 * sysdeps/i386/fpu/mptan.c: Remove.
8083 * sysdeps/i386/fpu/s_tan.S: Likewise.
8084 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8085 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8086 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8087 * math/libm-test.inc (tan_test): Add more tests and enable more
8088 tests for double and long double.
8089 * sysdeps/i386/fpu/libm-test-ulps: Update.
8090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8091
6a1bd2a1
JK
80922012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8093
8094 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8095 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8096
10a803e0
RM
80972012-03-16 Roland McGrath <roland@hack.frob.com>
8098
8099 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8100 * configure.in: Use it for both main tree and add-ons.
8101 * configure: Regenerated.
8102
f196c7f7
L
81032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8104
8105 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8106
8848d99d
JM
81072012-03-16 Joseph Myers <joseph@codesourcery.com>
8108
96cbe7f4
JM
8109 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8110 in comment.
8111
8848d99d
JM
8112 [BZ #13851]
8113 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8114 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8115 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8116 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8117 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8118 infinite argument.
8119 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8120 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8121 != 0 for prec == 2.
8122 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8123 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8124 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8125 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8126 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8127 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8128 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8129 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8130 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8131 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8132 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8133 * math/libm-test.inc (cos_test): Add more tests and enable more
8134 tests for long double.
8135 (sin_test): Likewise.
8136 (sincos_test): Likewise.
8137 * sysdeps/i386/fpu/libm-test-ulps: Update.
8138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8139
dd7f4703
DM
81402012-03-16 David S. Miller <davem@davemloft.net>
8141
8142 * sysdeps/sparc/fpu/math_private.h: New file.
8143
006f1daa
DM
81442012-03-15 David S. Miller <davem@davemloft.net>
8145
c0c83bc8
DM
8146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8147 file.
e6a62e18 8148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8150 file.
e6a62e18
DM
8151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8157 sysdep routines.
8158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8159
88cb87d9
DM
8160 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8161 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8162
006f1daa 8163 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8165 sparc-ifunc.h
006f1daa 8166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8168 Likewise.
8169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8170 Likewise.
006f1daa
DM
8171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8175 Likewise.
006f1daa
DM
8176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8181 Likewise.
8182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8183 Likewise.
006f1daa
DM
8184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8190 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8191 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8202 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8203 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8205 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8208
11e0098e
AS
82092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8210
8211 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8212 scaling.
8213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8214
e85b09d0
AJ
82152012-03-15 Andreas Jaeger <aj@suse.de>
8216
8217 [BZ #13852]
8218 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8219 ieee754/flt-32 implementation for sin, cos and sincos.
8220 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8221 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8222 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8223 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8224 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8225 ieee754/flt-32 implementation for tan.
8226
8227 * math/libm-test.inc (cos_test): Enable some large input tests for
8228 float as well
8229 (sin_test): Likewise.
8230 (sincos_test): Likewise.
8231 (tan_test): Add tests for large input.
8232
8233 * sysdeps/i386/fpu/libm-test-ulps: Update.
8234
81c64153
AJ
82352012-03-15 Andreas Jaeger <aj@suse.de>
8236
8237 [BZ #13658]
8238 * math/libm-test.inc (cos_test): Add more test cases.
8239 (sin_test): Likewise.
8240 (sincos_test): Likewise.
8241
7bbfa5c6
AJ
82422012-03-15 Andreas Jaeger <aj@suse.de>
8243
8244 [BZ #13837]
8245 * math/libm-test.inc (cos_test): Add a test case for large input
8246 value.
8247 (sin_test): Likewise.
8248 (sincos_test): Likewise.
8249
82502012-03-15 Andreas Jaeger <aj@suse.de>,
8251 Joseph Myers <joseph@codesourcery.com>
8252
8253 [BZ #13658]
0671f479 8254 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8255 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8256 * sysdeps/i386/fpu/branred.c: Likewise.
8257 * sysdeps/i386/fpu/dosincos.c: Likewise.
8258 * sysdeps/i386/fpu/mpa.c: Likewise.
8259 * sysdeps/i386/fpu/s_cos.S: Likewise.
8260 * sysdeps/i386/fpu/s_sin.S: Likewise.
8261 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8262 * sysdeps/i386/fpu/sincos32.c: Likewise.
8263
8264 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8265 Define.
8266 (libc_feupdateenv_53bit): Define.
8267 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8268 Define.
8269 (libc_feupdateenv_53bit): Define.
8270
8271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8272 53 bit (without extend i386 double precision).
8273
8274 * math/libm-test.inc (sincos_test): Add tests for large input.
8275 (sin): Likewise.
8276 (cos): Likewise.
8277
8278 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8279
9cad04ea
AS
82802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8281
8282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8283
f7062b9a
DM
82842012-03-15 David S. Miller <davem@davemloft.net>
8285
8286 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8287 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8288 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8289 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8302 file.
f7062b9a 8303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8305 file.
f7062b9a 8306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8308 file.
f7062b9a 8309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8311 file.
f7062b9a
DM
8312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8313 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8314 fmin/fmax sysdep routines.
8315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8316
7bd951ff
DM
83172012-03-14 David S. Miller <davem@davemloft.net>
8318
559398ab
DM
8319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8323 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8326 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8342 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8344 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8348 routines.
8349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8350 file.
559398ab 8351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8353 file.
559398ab 8354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8356 file.
559398ab 8357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8359 file.
559398ab 8360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8362 file.
559398ab 8363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8365 file.
8366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8367 file.
8368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8369 file.
8370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8371 file.
8372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8373 New file.
8374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8375 file.
8376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8377 file.
559398ab 8378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8380 file.
559398ab 8381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8383 file.
559398ab 8384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8386 file.
559398ab 8387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8389 VIS3 routines.
559398ab
DM
8390
8391 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8392 New file.
8393
5a1c1e32
DM
8394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8395
eae47a36
DM
8396 * sysdeps/sparc/configure.in: New file.
8397 * sysdeps/sparc/configure: Generate.
8398 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8399 * configure: Regenerate.
8400 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8401 * config.make.in (have-as-vis3): New.
8402 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8403 available use -Av9d instead of -Av9a.
8404 * sysdeps/sparc/sparc64/Makefile: Likewise.
8405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8407 New file.
8408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8409 file.
8410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8411 New file.
8412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8413 file.
eae47a36
DM
8414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8416 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8417 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8418 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8419
c0c83bc8
DM
8420 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8421 fzeros/fnegs to load 0x80000000 into a float register instead of
8422 using the stack.
7bd951ff
DM
8423 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8424
bd951ccb
JM
84252012-03-14 Joseph Myers <joseph@codesourcery.com>
8426
8427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8428 bits/syscall.h.
8429 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8430 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8431 ($(inst_includedir)/bits/syscall.h): Remove rule.
8432 ($(objpfx)bits/syscall.d): Include instead of
8433 $(objpfx)syscall-list.d.
8434 (generated): Change syscall-list.h and syscall-list.d to
8435 bits/syscall.h and bits/syscall.d.
8436
bb4e6db2
RM
84372012-03-14 Roland McGrath <roland@hack.frob.com>
8438
8439 [BZ #13846]
8440 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8441
aa4a2ae1
JM
84422012-03-14 Joseph Myers <joseph@codesourcery.com>
8443
e456826d
JM
8444 [BZ #13841]
8445 * math/s_csqrt.c: Include <float.h>.
8446 (__csqrt): Scale large or subnormal inputs.
8447 * math/s_csqrtf.c: Likewise.
8448 * math/s_csqrtl.c: Likewise.
8449 * math/libm-test.inc (csqrt_test): Add more tests.
8450 * sysdeps/i386/fpu/libm-test-ulps: Update.
8451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8452
aa4a2ae1
JM
8453 [BZ #13840]
8454 * math/libm-test.inc (hypot_test): Add more tests.
8455
7c10fd35
DM
84562012-03-13 David S. Miller <davem@davemloft.net>
8457
8458 [BZ #13840]
8459 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8460 double-precision for the calculation instead of scaling.
8461
f453b98b
JM
84622012-03-13 Joseph Myers <joseph@codesourcery.com>
8463
8464 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8465 manipulate bits before adding and subtracting TWO52[sx].
8466 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8467 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8468 Likewise.
8469 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8470
09a3453f
DM
84712012-03-13 David S. Miller <davem@davemloft.net>
8472
8e59da90
DM
8473 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8474 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8476 rtld-global-offsets.h
8477 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8478
2a8ab7f2
DM
8479 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8480 large parameters.
8481
10f62770
DM
8482 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8483
5f0bdb18
DM
8484 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8485 'err' in the ifdef scope in which it is actually used.
8486
09a3453f
DM
8487 * nss/nss_db/db-init.c: Include string.h
8488
b4b2eb5e
DM
84892012-03-12 David S. Miller <davem@davemloft.net>
8490
98bb2f1c
DM
8491 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8492 masking out of the most significant byte of random value used.
8493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8494 Fix coding style in previous change.
8495
b4b2eb5e
DM
8496 * sysdeps/unix/sysv/linux/kernel-features.h
8497 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8498 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8499 expression.
8500 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8501 later.
8502
6e226b09
DM
85032012-03-11 David S. Miller <davem@davemloft.net>
8504
a1bcbd40
DM
8505 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8506 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8507 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8508 for 'resultvar' otherwise things get truncated on 64-bit.
8509
cb9d6174
DM
8510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8511 Fix masking out of the most significant byte of random value used.
8512
6e226b09
DM
8513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8514
058c132d
AS
85152012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8516
8517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8518
2d2cd515
DM
85192012-03-09 David S. Miller <davem@davemloft.net>
8520
8521 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8522 variables with appropriate CPP guards.
8523 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8524 frame pointer, not the stack pointer. Correct layout comments. Fix test
8525 on resulting framesize and the management of the outregs buffer for pltexit.
8526 Preserve floating point return values across _dl_call_pltexit call.
8527 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8528 framesize and the management of the outregs buffer for pltexit.
8529 Preserve floating point return values across _dl_call_pltexit
8530 call.
8531 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8532 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8533 (print_exit): Fix format string for return register value.
8534
9a07f9d0
JM
85352012-03-10 Joseph Myers <joseph@codesourcery.com>
8536
8537 * sunrpc/Makefile (others): Add rpcgen.
8538 ($(objpfx)rpcgen): Remove special build rule and dependency on
8539 libc.
8540 * sunrpc/rpcgen.c: New file.
8541
547b5e30
PE
85422012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8543
c524201a
PE
8544 [BZ #13673]
8545 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8546 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8547 * sysdeps/i386/crti.S: Likewise.
8548 * sysdeps/i386/crtn.S: Likewise.
8549 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8550 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8551 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8552 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8553 * sysdeps/sh/crti.S: Likewise.
8554 * sysdeps/sh/crtn.S: Likewise.
8555 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8556
7b6235f2
PE
8557 [BZ #13673]
8558 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8559 with URL.
8560 * locale/programs/locfile-kw.gperf: Likewise.
8561 * locale/programs/charmap-kw.h: Regenerated.
8562 * locale/programs/locfile-kw.h: Likewise.
8563
547b5e30
PE
8564 [BZ #13673]
8565 * intl/plural.y: Replace FSF snail mail address with URL.
8566 * intl/plural.c: Regenerated.
8567
5f0a5dae
RH
85682012-03-09 Richard Henderson <rth@twiddle.net>
8569
8570 * include/math_private.h: Remove file.
8571 * math/math_private.h: Move file ...
8572 * sysdeps/generic/math_private.h: ... here.
8573
b8c03620
RH
8574 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8575 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8576 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8577
4e234f5d 8578 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8579 and <math_private.h>.
8580 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8581 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8582 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8583 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8584 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8585 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8586 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8633 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8634 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8638 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8640 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8641 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8643 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8644 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8646 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8647 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8648 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8649 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8650 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8651 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8653 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8661 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8668 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8669 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8670 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8671 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8673 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8674 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8675 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8676 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8677 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8678 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8680 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8681 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8682 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8683 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8684 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8685 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8686 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8687 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8688 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8689 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8690 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8691 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8692 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8693 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8694 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8695 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8696 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8697 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8698 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8699 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8700 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8701 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8702 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8703 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8704 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8705 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8707 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8708 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8709 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8710 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8711 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8712 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8713 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8714 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8715 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8716 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8717 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8718 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8719 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8721 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8722 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8723 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8724 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8725 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8726 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8727 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8728 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8729 * sysdeps/ieee754/k_standard.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8803 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8804 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8807 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8845 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8849 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8850 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8852 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8857 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8860 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8862 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8878 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8879 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8880 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8890 * sysdeps/ieee754/s_lib_version.c: Likewise.
8891 * sysdeps/ieee754/s_matherr.c: Likewise.
8892 * sysdeps/ieee754/s_signgam.c: Likewise.
8893 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8894 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8895 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8896 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8897 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8898 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8899 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8900 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8901 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8902 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8903 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8904 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8905 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8906 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8907 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8908 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8909 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8910 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8911 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8914
1991fa03
JM
89152012-03-09 Joseph Myers <joseph@codesourcery.com>
8916
8917 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8918 * sunrpc/rpc_main.c: Likewise.
8919 * sunrpc/rpc_svcout.c: Likewise.
8920
60d6f5a6
DM
89212012-03-09 David S. Miller <davem@davemloft.net>
8922
8923 * include/math_private.h: New file.
8924
4962050e
JM
89252012-03-09 Joseph Myers <joseph@codesourcery.com>
8926
02a6f887
JM
8927 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8928 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8929 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8930 from <bits/socket_type.h>.
8931 (enum __socket_type): Don't define here.
8932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8934 bits/socket_type.h.
8935
c6e013c1
JM
8936 [BZ #13566]
8937 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8938 checking __USE_GNU.
8939
4962050e
JM
8940 * Makerules ($(inst_includedir)/%.h): New rule.
8941 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8942 (install-others): Remove variable setting.
8943 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8944
38842f45
RH
89452012-03-08 Richard Henderson <rth@twiddle.net>
8946
67bb6da6
RH
8947 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8948 from macro to inline function; merge with the
8949 !__LIBC_INTERNAL_MATH_INLINES version.
8950 (__ieee754_sqrtf): Likewise.
8951
15194b4b
RH
8952 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8953 to inline function.
8954 (__rintf, __floor, __floorf): Likewise.
8955
64e21ede
RH
8956 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8957 macro to inline function.
8958 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8959
38842f45
RH
8960 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8961 not <math/math_private.h>.
8962
c64bf5fe
DM
89632012-03-08 David S. Miller <davem@davemloft.net>
8964
8965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8966 copyright year.
8967 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8968
82d86f28
TS
89692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8970
8971 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8972 normalization.
8973 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8974 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8975
aea5d727
UD
89762012-03-08 Ulrich Drepper <drepper@gmail.com>
8977
8978 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8979 be defined individually, they must be defined as a block. Define
8980 S for printing a string instead of hidint the different by using a
8981 macro for adding the 'l'.
8982 * stdio-common/tst-fphex-wide.c: Adjust.
8983
70bca0a3
MP
89842012-03-07 Marek Polacek <polacek@redhat.com>
8985
8986 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8987
65b81130
MP
89882012-03-08 Marek Polacek <polacek@redhat.com>
8989
8990 [BZ #13806]
8991 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8992 * stdio-common/tst-fphex.c: Define a few macros to make the
8993 test reusable. Use them.
8994 * stdio-common/tst-fphex-wide.c: New file.
8995
07037eeb
JM
89962012-03-08 Joseph Myers <joseph@codesourcery.com>
8997
a7a93d50
JM
8998 [BZ #6911]
8999 * manual/macros.texi (gnusystems): New macro.
9000 (nongnusystems): Likewise.
9001 (gnulinuxhurdsystems): Likewise.
9002 (gnuhurdsystems): Likewise..
9003 (gnulinuxsystems): Likewise.
9004 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9005 variants of the GNU system, not "GNU system".
9006 * manual/conf.texi: Likewise.
9007 * manual/errno.texi: Likewise. Update example of errno macro
9008 expansion.
9009 * manual/filesys.texi: Likewise.
9010 (getumask): Document as specific to GNU/Hurd.
9011 * manual/install.texi: Likewise. Reword some references to
9012 GNU/Linux.
9013 * manual/intro.texi: Likewise.
9014 * manual/io.texi: Likewise.
9015 (File Name Portability): Detail which constraints are inapplicable
9016 to all GNU systems and which are only inapplicable to GNU/Hurd.
9017 * manual/job.texi: Likewise.
9018 * manual/llio.texi: Likewise.
9019 (O_NOCTTY): Document as present on GNU/Linux.
9020 * manual/maint.texi: Likewise.
9021 * manual/memory.texi: Likewise.
9022 * manual/pattern.texi: Likewise.
9023 * manual/pipe.texi: Likewise.
9024 * manual/process.texi: Likewise.
9025 * manual/resource.texi: Likewise.
9026 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9027 child on GNU/Hurd.
9028 * manual/setjmp.texi: Likewise.
9029 * manual/signal.texi: Likewise.
9030 * manual/startup.texi: Likewise.
9031 * manual/stdio.texi: Likewise.
9032 * manual/terminal.texi: Likewise.
9033 (ONLCR): Document as POSIX.
9034 (OXTABS): Document availability on GNU/Linux as XTABS.
9035 (ONOEOT): Document availability separately from other bits.
9036 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9037 * manual/time.texi: Likewise.
9038 * manual/users.texi: Likewise.
9039 * INSTALL: Regenerated.
9040 * sysdeps/gnu/errlist.c: Regenerated.
9041
07037eeb
JM
9042 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9043 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9044 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9045 puts.
9046 * configure: Regenerated.
9047
d1d3431a
JM
90482012-03-07 Joseph Myers <joseph@codesourcery.com>
9049
af6a1e37
JM
9050 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9051 default includes instead of AC_HEADER_CHECK.
9052 * sysdeps/i386/configure: Regenerated.
9053
d1d3431a
JM
9054 [BZ #10716]
9055 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9056 * math/s_cacoshf.c (__cacoshf): Likewise.
9057 * math/s_cacoshl.c (__cacoshl): Likewise.
9058 * math/s_casinh.c (__casinh): Set signs of result from argument.
9059 * math/s_casinhf.c (__casinhf): Likewise.
9060 * math/s_casinhl.c (__casinhl): Likewise.
9061 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9062 (casinh_test): Add more tests.
9063 * sysdeps/i386/fpu/libm-test-ulps: Update.
9064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9065
482ff4da
UD
90662012-03-07 Ulrich Drepper <drepper@gmail.com>
9067
872fda05
UD
9068 * po/zh_TW.po: Update from translation team.
9069
a4300c7a
UD
9070 * login/Makefile (distribute): Remove variable.
9071 * catgets/Makefile: Likewise.
9072 * mach/Makefile: Likewise.
9073 * malloc/Makefile: Likewise.
9074 * misc/Makefile: Likewise.
9075 * iconv/Makefile: Likewise.
9076 * nscd/Makefile: Likewise.
9077 * hurd/Makefile: Likewise.
9078 * manual/Makefile: Likewise.
9079 * locale/Makefile: Likewise.
9080 * intl/Makefile: Likewise.
9081 * conform/Makefile: Likewise.
9082 * nss/Makefile: Likewise.
9083 * time/Makefile: Likewise.
9084 * soft-fp/Makefile: Likewise.
9085 * dirent/Makefile: Likewise.
9086 * gmon/Makefile: Likewise.
9087 * po/Makefile: Likewise.
9088 * rt/Makefile: Likewise.
9089 * socket/Makefile: Likewise.
9090 * math/Makefile: Likewise.
9091 * signal/Makefile: Likewise.
9092 * debug/Makefile: Likewise.
9093 * elf/Makefile: Likewise.
9094 * timezone/Makefile: Likewise.
9095 * stdlib/Makefile: Likewise.
9096 * iconvdata/Makefile: Likewise.
9097 * sunrpc/Makefile: Likewise.
9098 * io/Makefile: Likewise.
9099 * argp/Makefile: Likewise.
9100 * inet/Makefile: Likewise.
9101 * hesiod/Makefile: Likewise.
9102 * grp/Makefile: Likewise.
9103 * csu/Makefile: Likewise.
9104 * wctype/Makefile: Likewise.
9105 * crypt/Makefile: Likewise.
9106 * libio/Makefile: Likewise.
9107 * string/Makefile: Likewise.
9108 * nis/Makefile: Likewise.
9109 * resolv/Makefile: Likewise.
9110 * stdio-common/Makefile: Likewise.
9111 * wcsmbs/Makefile: Likewise.
9112 * dlfcn/Makefile: Likewise.
9113 * posix/Makefile: Likewise.
9114
3b7c4e74 9115 [BZ #6959]
482ff4da
UD
9116 * timezone/Makefile: Don't install timezone files, just the programs
9117 and scripts.
9118
f72ed77d
UD
91192012-03-06 Ulrich Drepper <drepper@gmail.com>
9120
a000466f
UD
9121 * nss/databases.def: Add missing gshadow entry.
9122
f72ed77d
UD
9123 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9124
a53b7a4e
MP
91252012-03-06 Marek Polacek <polacek@redhat.com>
9126
9127 [BZ #13726]
9128 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9129 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9130 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9131 * stdio-common/tst-long-dbl-fphex.c: New file.
9132
e9258400
DM
91332012-03-06 David S. Miller <davem@davemloft.net>
9134
9135 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9136 (set_obp_int): New function.
9137 (get_obp_int): New function.
9138 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9139 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9140 Avoid unused variable warnings on 'val' and use builtin_expect.
9141 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9142 __builtin_expect.
e9258400
DM
9143 (INLINE_CLONE_SYSCALL): Likewise.
9144
3bd2c723
DM
91452012-03-05 David S. Miller <davem@davemloft.net>
9146
9147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9148
bbb78d03
AS
91492012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9150
884c5db4
AS
9151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9152
bbb78d03
AS
9153 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9154 only for |x| >= 40.
9155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9156
1c9f702a 91572012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9158
9159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9160 Replace gettimeofday with __vdso_gettimeofday.
9161
7be16f82
RM
9162 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9163 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9164 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9165
9166 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9167 time with __vdso_time.
9168
ed58a00f
JM
91692012-03-05 Joseph Myers <joseph@codesourcery.com>
9170
9171 * manual/lang.texi (size_t): Note types to which size_t may be
9172 equivalent with the GNU C Library, but do not describe when
9173 differences between them are significant.
9174
30ee4ced
AJ
91752012-03-05 Andreas Jaeger <aj@suse.de>
9176
9177 * sysdeps/i386/fpu/libm-test-ulps: Update.
9178
b7cd39e8
JM
91792012-03-05 Joseph Myers <joseph@codesourcery.com>
9180
9181 [BZ #3976]
9182 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9183 (__ieee754_pow): Save and restore rounding mode and use
9184 round-to-nearest for main computations.
9185 * math/libm-test.inc (pow_test_tonearest): New function.
9186 (pow_test_towardzero): Likewise.
9187 (pow_test_downward): Likewise.
9188 (pow_test_upward): Likewise.
9189 (main): Call the new functions.
9190 * sysdeps/i386/fpu/libm-test-ulps: Update.
9191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9192
9193 [BZ #3976]
9194 * math/libm-test.inc (cosh_test_tonearest): New function.
9195 (cosh_test_towardzero): Likewise.
9196 (cosh_test_downward): Likewise.
9197 (cosh_test_upward): Likewise.
9198 (sinh_test_tonearest): Likewise.
9199 (sinh_test_towardzero): Likewise.
9200 (sinh_test_downward): Likewise.
9201 (sinh_test_upward): Likewise.
9202 (main): Call the new functions.
9203 * sysdeps/i386/fpu/libm-test-ulps: Update.
9204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9205
6c6a98c9
TV
92062012-03-05 Tom de Vries <tom@codesourcery.com>
9207
9208 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9209 default stack guard is set in last bytes.
9210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9211
21bb2d2e 92122012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9213
21bb2d2e 9214 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9215
21bb2d2e
AJ
9216 [BZ #13656]
9217 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9218 possibly allocate from heap instead of stack.
9219 * stdio-common/bug-vfprintf-nargs.c: New file.
9220 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9221
c6922934
AS
92222012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9223
9224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9225
bc957d53
MP
92262012-03-03 Marek Polacek <polacek@redhat.com>
9227
9228 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9229 * math/math_private.h: Likewise.
9230 * stdlib/tst-strtod.c: Likewise.
9231 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9232 * sysdeps/x86_64/bits/atomic.h: Likewise.
9233
6358490d
DM
92342012-03-02 David S. Miller <davem@davemloft.net>
9235
9236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9240 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9241 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9242 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9243 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9244
01ae168d
RM
92452012-03-02 Roland McGrath <roland@hack.frob.com>
9246
d9a17c07
RM
9247 [BZ #13792]
9248 * manual/examples/README: New file, says the example source files
9249 can be used under GPL>=2.
9250 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9251 line containing just "*/".
9252 * manual/examples/add.c: Add copyright header (GPL>=2).
9253 * manual/examples/argp-ex1.c: Likewise.
9254 * manual/examples/argp-ex2.c: Likewise.
9255 * manual/examples/argp-ex3.c: Likewise.
9256 * manual/examples/argp-ex4.c: Likewise.
9257 * manual/examples/atexit.c: Likewise.
9258 * manual/examples/db.c: Likewise.
9259 * manual/examples/dir.c: Likewise.
9260 * manual/examples/dir2.c: Likewise.
9261 * manual/examples/execinfo.c: Likewise.
9262 * manual/examples/filecli.c: Likewise.
9263 * manual/examples/filesrv.c: Likewise.
9264 * manual/examples/fmtmsgexpl.c: Likewise.
9265 * manual/examples/genpass.c: Likewise.
9266 * manual/examples/inetcli.c: Likewise.
9267 * manual/examples/inetsrv.c: Likewise.
9268 * manual/examples/isockad.c: Likewise.
9269 * manual/examples/longopt.c: Likewise.
9270 * manual/examples/memopen.c: Likewise.
9271 * manual/examples/memstrm.c: Likewise.
9272 * manual/examples/mkfsock.c: Likewise.
9273 * manual/examples/mkisock.c: Likewise.
9274 * manual/examples/mygetpass.c: Likewise.
9275 * manual/examples/pipe.c: Likewise.
9276 * manual/examples/popen.c: Likewise.
9277 * manual/examples/rprintf.c: Likewise.
9278 * manual/examples/search.c: Likewise.
9279 * manual/examples/select.c: Likewise.
9280 * manual/examples/setjmp.c: Likewise.
9281 * manual/examples/sigh1.c: Likewise.
9282 * manual/examples/sigusr.c: Likewise.
9283 * manual/examples/stpcpy.c: Likewise.
9284 * manual/examples/strdupa.c: Likewise.
9285 * manual/examples/strftim.c: Likewise.
9286 * manual/examples/strncat.c: Likewise.
9287 * manual/examples/subopt.c: Likewise.
9288 * manual/examples/swapcontext.c: Likewise.
9289 * manual/examples/termios.c: Likewise.
9290 * manual/examples/testopt.c: Likewise.
9291 * manual/examples/testpass.c: Likewise.
9292 * manual/examples/timeval_subtract.c: Likewise.
9293
01ae168d
RM
9294 [BZ #13792]
9295 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9296 function to ...
9297 * manual/timeval_subtract.c.texi: ... here, new file.
9298
49efa33d
DM
92992012-03-02 David S. Miller <davem@davemloft.net>
9300
9301 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9302
28afd92d
JM
93032012-03-02 Joseph Myers <joseph@codesourcery.com>
9304
804360ed
JM
9305 [BZ #3976]
9306 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9307 (__sin): Save and restore rounding mode and use round-to-nearest
9308 for all computations.
9309 (__cos): Save and restore rounding mode and use round-to-nearest
9310 for all computations.
9311 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9312 <fenv.h>.
9313 (tan): Save and restore rounding mode and use round-to-nearest for
9314 all computations.
9315 * math/libm-test.inc (cos_test_tonearest): New function.
9316 (cos_test_towardzero): Likewise.
9317 (cos_test_downward): Likewise.
9318 (cos_test_upward): Likewise.
9319 (sin_test_tonearest): Likewise.
9320 (sin_test_towardzero): Likewise.
9321 (sin_test_downward): Likewise.
9322 (sin_test_upward): Likewise.
9323 (tan_test_tonearest): Likewise.
9324 (tan_test_towardzero): Likewise.
9325 (tan_test_downward): Likewise.
9326 (tan_test_upward): Likewise.
9327 (main): Call the new functions.
9328 * sysdeps/i386/fpu/libm-test-ulps: Update.
9329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9330
a6d06d7b
JM
9331 [BZ #10135]
9332 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9333 small n, then large n, before computing and testing k+n.
9334 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9335 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9336 Likewise.
9337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9338 Likewise.
9339 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9340 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9341 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9342 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9343 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9344 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9345 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9346 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9347 * math/libm-test.inc (scalbn_test): Add more tests.
9348 (scalbln_test): Likewise.
9349
07e12bb3
JM
9350 * manual/filesys.texi (mode_t): Describe constraints on size and
9351 signedness, not exact equivalence to a particular type.
9352 (ino_t): Likewise.
9353 (ino64_t): Likewise.
9354 (dev_t): Likewise.
9355 (nlink_t): Likewise.
9356 (blkcnt_t): Likewise.
9357 (blkcnt64_t): Likewise.
9358 * manual/llio.texi (off_t): Likewise.
9359
28afd92d
JM
9360 [BZ #3976]
9361 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9362 (__ieee754_exp): Save and restore rounding mode and use
9363 round-to-nearest for all computations.
9364 * math/libm-test.inc (exp_test_tonearest): New function.
9365 (exp_test_towardzero): Likewise.
9366 (exp_test_downward): Likewise.
9367 (exp_test_upward): Likewise.
9368 (main): Call the new functions.
9369 * sysdeps/i386/fpu/libm-test-ulps: Update.
9370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9371
b1eeb65d
CD
93722012-03-01 Chris Demetriou <cgd@google.com>
9373
9374 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9375 have predictable order.
9376
53362a4b
DM
93772012-03-01 David S. Miller <davem@davemloft.net>
9378
3c969083
DM
9379 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9380
759707de
DM
9381 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9382 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9383 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9384 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9385
dfdb8ff2
DM
9386 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9387 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9388 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9390 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9391 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9392 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9393 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9394 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9395
ead89f96
DM
9396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9397
7f66bd07
DM
9398 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9399 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9400 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9401
53362a4b
DM
9402 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9403 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9404 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9405 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9406 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9408 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9409 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9410 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9411 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9412 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9413 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9415 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9416 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9418 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9419 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9420 * sysdeps/sparc/elf/configure: Regenerated.
9421
7b1902cb
JM
94222012-03-01 Joseph Myers <joseph@codesourcery.com>
9423
bec039bc
JM
9424 * configure.in (AS, LD): Require binutils 2.20 or later.
9425 * configure: Regenerated.
9426 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9427 as required minimum version.
9428 * INSTALL: Regenerated.
9429
7b1902cb
JM
9430 [BZ #2541]
9431 [BZ #4108]
9432 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9433 before squaring exponent.
9434 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9435 bottom long double and 27 bits of top long double before squaring
9436 exponent.
9437 * math/libm-test.inc (erfc_test): Add more tests.
9438 * sysdeps/i386/fpu/libm-test-ulps: Update.
9439 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9441
f775c276
KT
94422012-03-01 Kai Tietz <ktietz@redhat.com>
9443
9444 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9445 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9446 containing bit-fields.
9447 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9448 * soft-fp/single.h (_FP_UNION_S): Likewise.
9449 * soft-fp/double.h (_FP_UNION_D): Likewise.
9450
5b8a4d4a
JM
94512012-02-29 Joseph Myers <joseph@codesourcery.com>
9452
0bab47b6
JM
9453 [BZ #13786]
9454 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9455 not include ../strcmp.S.
9456 [USE_AS_STRNCASECMP_L]: Likewise.
9457 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9458 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9459 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9460 (__strncasecmp_l_ia32): Define as alias to
9461 __strncasecmp_l_nonascii.
9462
0fcad3e2
JM
9463 [BZ #5794]
9464 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9465 * sysdeps/i386/fpu/libm-test-ulps: Update.
9466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9467
5b8a4d4a
JM
9468 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9470
8fdceb2e
JL
94712012-02-29 Jeff Law <law@redhat.com>
9472
9473 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9474 out of bounds read.
9475
1f393a11
MP
94762012-02-29 Marek Polacek <polacek@redhat.com>
9477
9478 [BZ #13706]
9479 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9480 * elf/Makefile: Add rules to run tst-unused-dep.out.
9481
8847f037
DM
94822012-02-28 David S. Miller <davem@davemloft.net>
9483
9484 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9485 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9486 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9487 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9488 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9489 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9490
169d7f11
JM
94912012-02-29 Joseph Myers <joseph@codesourcery.com>
9492
9493 * math/libm-test.inc (llround_test): Move one test from
9494 lround_test. Use TEST_f_L in moved test.
9495 (lround_test): Move misplaced test to llround_test. Add testcase
9496 from bug 2561.
9497
39adf059
UD
94982012-02-28 Ulrich Drepper <drepper@gmail.com>
9499
9500 * sysdeps/x86_64/fpu/e_expf.S: New file.
9501 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9502
71b5d1c5
SB
95032012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9504
9505 [BZ #13637]
9506 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9507 of remain_len that may cause incomplete multi-byte character and
9508 false match.
9509 * posix/bug-regex33.c: New file.
9510 * posix/Makefile (tests): Add bug-regex33.
9511
1f77f049
JM
95122012-02-28 Joseph Myers <joseph@codesourcery.com>
9513
9514 * manual/macros.texi: New file.
9515 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9516 * manual/libc.texinfo: Include macros.texi.
9517 * manual/creatute.texi: Likewise.
9518 * manual/install.texi: Likewise.
9519 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9520 @glibcadj{} in references to the GNU C Library.
9521 * manual/charset.texi: Likewise.
9522 * manual/conf.texi: Likewise.
9523 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9524 when not using those macros.
9525 * manual/creature.texi: Likewise.
9526 * manual/crypt.texi: Likewise.
9527 * manual/errno.texi: Likewise.
9528 * manual/filesys.texi: Likewise.
9529 * manual/header.texi: Likewise.
9530 * manual/install.texi: Likewise.
9531 * manual/intro.texi: Likewise.
9532 * manual/io.texi: Likewise.
9533 * manual/job.texi: Likewise.
9534 * manual/lang.texi: Likewise.
9535 * manual/libc.texiinfo: Likewise.
9536 * manual/llio.texi: Likewise.
9537 * manual/locale.texi: Likewise.
9538 * manual/maint.texi: Likewise.
9539 * manual/math.texi: Likewise.
9540 * manual/memory.texi: Likewise.
9541 * manual/message.texi: Likewise.
9542 * manual/nss.texi: Likewise.
9543 * manual/pattern.texi: Likewise.
9544 * manual/process.texi: Likewise.
9545 * manual/resource.texi: Likewise.
9546 * manual/search.texi: Likewise.
9547 * manual/setjmp.texi: Likewise.
9548 * manual/signal.texi: Likewise.
9549 * manual/socket.texi: Likewise.
9550 * manual/startup.texi: Likewise.
9551 * manual/stdio.texi: Likewise.
9552 * manual/string.texi: Likewise.
9553 * manual/sysinfo.texi: Likewise.
9554 * manual/syslog.texi: Likewise.
9555 * manual/terminal.texi: Likewise.
9556 * manual/time.texi: Likewise.
9557 * manual/users.texi: Likewise.
9558 * INSTALL: Regenerated.
9559 * NOTES: Regenerated.
d40c5d54 9560 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9561
450bf206
AS
95622012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9563
9564 * include/dirent.h: Include <dirstream.h> before
9565 <dirent/dirent.h>.
9566
741a235b
DM
95672012-02-28 David S. Miller <davem@davemloft.net>
9568
9569 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9570 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9571 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9572 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9573
d6b5aa58
DM
95742012-02-27 David S. Miller <davem@davemloft.net>
9575
1aff59a3
DM
9576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9578 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9579 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9580
d6b5aa58
DM
9581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9582 frame pointer instead of stack pointer relative arg slot.
9583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9584 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9585 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9586
433f48bf
CD
95872012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9588
9589 [BZ #3992]
9590 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9591
d674b76d
DM
95922012-02-27 David S. Miller <davem@davemloft.net>
9593
9594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9598 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9599 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9600 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9601 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9602
0e7727f7
JM
96032012-02-27 Joseph Myers <joseph@codesourcery.com>
9604
9605 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9606 later. Allow versions 5-9.
43be4ca2 9607 * configure: Regenerated.
0e7727f7
JM
9608 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9609 required minimum version and 4.6 as recommended version. Do not
9610 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9611 * INSTALL: Regenerated.
0e7727f7 9612
a78bc654
DM
96132012-02-27 David S. Miller <davem@davemloft.net>
9614
428d5830
DM
9615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9619 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9620 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9621 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9622 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9623
a78bc654
DM
9624 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9625 manipulate bits before adding and subtracting TWO112[sx].
9626 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9627
4579f81c
RM
96282012-02-27 Roland McGrath <roland@hack.frob.com>
9629
36c8acb4
RM
9630 [BZ #13775]
9631 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9632 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9633 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9634 being in POSIX, because they are in 1003.1-2008.
9635
84ad622b
RM
9636 * rt/tst-aio.c: Include <fcntl.h>.
9637 * rt/tst-aio7.c: Likewise.
9638 * rt/tst-aio64.c: Likewise.
9639
4579f81c
RM
9640 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9641
abd923db
JM
96422012-02-27 Joseph Myers <joseph@codesourcery.com>
9643
9644 * manual/install.texi (--with-headers): Describe headers as
9645 interface headers, not private headers.
9646 (Specific advice for GNU/Linux systems): Describe use of headers
9647 from "make headers_install", not private headers from older
9648 kernels.
43be4ca2 9649 * INSTALL: Regenerated.
abd923db
JM
9650 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9651 Change to 2.6.19.
9652 * sysdeps/unix/sysv/linux/configure: Regenerated.
9653
6664049b
JM
9654 * manual/llio.texi (fclean): Remove documentation.
9655
bb8b6697
JM
9656 * manual/Makefile (libc-texi-generated): New variable. Include
9657 version.texi.
9658 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9659 $(libc-texi-generated), not duplicated list of files.
9660 (version.texi, stamp-version): New rules.
9661 (realclean): Remove $(libc-texi-generated), not individual files
9662 from that list. Do not remove dir-add.texinfo.
9663 * manual/libc.texinfo: Comment out uses of edition numbers and
9664 references to printed manual. Remove last-updated dates.
9665 (EDITION): Comment out.
9666 (ISBN): Likewise.
9667 (VERSION, UPDATED): Remove.
9668 (version.texi): Include.
9669
12e5c3b9
AS
96702012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9671
9672 * sysdeps/posix/spawni.c: Include <signal.h>.
9673 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9674 * sysdeps/pthread/aio_fsync.c: Likewise.
9675
4efeffc1 96762012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9677
ba63ba08
UD
9678 * conform/Makefile (tests): Run only when not cross-compiling and
9679 when fast-check is not defined.
9680
d94a4670
UD
9681 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9682 * conform/data/limits.h-data: Fixes for POSIX2008.
9683 * conform/run-conformtest.sh: Run all tests.
9684 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9685 headers.
9686 * include/bits/dlfcn.h: Likewise.
9687 * include/langinfo.h: Likewise.
9688 * include/monetary.h: Likewise.
9689 * include/sys/poll.h: Likewise.
9690
9691 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9692 for __USE_GNU.
9693 * posix/spawn.h: Define __need_sigset_t.
9694 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9695 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9696 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9697 to get sigevent_t only.
9698 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9699 only for __USE_GNU.
9700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9701 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9702 process_vm_writev only for __USE_GNU.
9703 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9704
9705 * conform/Makefile: For now ignore errors from run-conformtest.
9706 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9707 POSIX to avoid namespace pollution. Don't prepend headers.
9708 * conform/data/aio.h-data: Fixes for POSIX testing.
9709 * conform/data/fcntl.h-data: Likewise.
9710 * conform/data/glob.h-data: Likewise.
9711 * conform/data/grp.h-data: Likewise.
9712 * conform/data/pthread.h-data: Likewise.
9713 * conform/data/pwd.h-data: Likewise.
9714 * conform/data/signal.h-data: Likewise.
9715 * conform/data/spawn.h-data: Likewise.
9716 * conform/data/stdio.h-data: Likewise.
9717 * conform/data/stdlib.h-data: Likewise.
9718 * conform/data/stropts.h-data: Likewise.
9719 * conform/data/sys/mman.h-data: Likewise.
9720 * conform/data/sys/stat.h-data: Likewise.
9721 * conform/data/sys/types.h-data: Likewise.
9722 * conform/data/sys/wait.h-data: Likewise.
9723 * conform/data/time.h-data: Likewise.
9724 * conform/data/unistd.h-data: Likewise.
9725 * conform/data/utime.h-data: Likewise.
9726
9727 * io/sys/stat.h: fchmod was always in POSIX.
9728 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9729 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9730 * rt/aio.h: Define __need_timespec before including <time.h>.
9731 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9732 struct. Add forward declaration of pthread_attr_t and use it in
9733 sigevent.
9734 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9735 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9736 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9737 always remove CLK_TCK definition.
9738
c20105c3
AS
97392012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9740
9741 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9742
7a270350
UD
97432012-02-25 Ulrich Drepper <drepper@gmail.com>
9744
31341567
UD
9745 * conform/run-conformtest.sh: New file.
9746 * conform/Makefile: Run run-conformtest for tests.
9747 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9748 support.
9749
9750 * conform/data/uchar.h-data: New file.
9751 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9752 * conform/data/arpa/inet.h-data: Likewise.
9753 * conform/data/assert.h-data: Likewise.
9754 * conform/data/complex.h-data: Likewise.
9755 * conform/data/cpio.h-data: Likewise.
9756 * conform/data/ctype.h-data: Likewise.
9757 * conform/data/dirent.h-data: Likewise.
9758 * conform/data/dlfcn.h-data: Likewise.
9759 * conform/data/errno.h-data: Likewise.
9760 * conform/data/fcntl.h-data: Likewise.
9761 * conform/data/float.h-data: Likewise.
9762 * conform/data/fmtmsg.h-data: Likewise.
9763 * conform/data/fnmatch.h-data: Likewise.
9764 * conform/data/ftw.h-data: Likewise.
9765 * conform/data/glob.h-data: Likewise.
9766 * conform/data/grp.h-data: Likewise.
9767 * conform/data/iconv.h-data: Likewise.
9768 * conform/data/inttypes.h-data: Likewise.
9769 * conform/data/langinfo.h-data: Likewise.
9770 * conform/data/libgen.h-data: Likewise.
9771 * conform/data/limits.h-data: Likewise.
9772 * conform/data/locale.h-data: Likewise.
9773 * conform/data/math.h-data: Likewise.
9774 * conform/data/monetary.h-data: Likewise.
9775 * conform/data/mqueue.h-data: Likewise.
9776 * conform/data/ndbm.h-data: Likewise.
9777 * conform/data/net/if.h-data: Likewise.
9778 * conform/data/netdb.h-data: Likewise.
9779 * conform/data/netinet/in.h-data: Likewise.
9780 * conform/data/nl_types.h-data: Likewise.
9781 * conform/data/poll.h-data: Likewise.
9782 * conform/data/pthread.h-data: Likewise.
9783 * conform/data/pwd.h-data: Likewise.
9784 * conform/data/regex.h-data: Likewise.
9785 * conform/data/sched.h-data: Likewise.
9786 * conform/data/search.h-data: Likewise.
9787 * conform/data/semaphore.h-data: Likewise.
9788 * conform/data/setjmp.h-data: Likewise.
9789 * conform/data/signal.h-data: Likewise.
9790 * conform/data/spawn.h-data: Likewise.
9791 * conform/data/stdarg.h-data: Likewise.
9792 * conform/data/stdio.h-data: Likewise.
9793 * conform/data/stdlib.h-data: Likewise.
9794 * conform/data/string.h-data: Likewise.
9795 * conform/data/strings.h-data: Likewise.
9796 * conform/data/stropts.h-data: Likewise.
9797 * conform/data/sys/ipc.h-data: Likewise.
9798 * conform/data/sys/mman.h-data: Likewise.
9799 * conform/data/sys/msg.h-data: Likewise.
9800 * conform/data/sys/resource.h-data: Likewise.
9801 * conform/data/sys/select.h-data: Likewise.
9802 * conform/data/sys/sem.h-data: Likewise.
9803 * conform/data/sys/shm.h-data: Likewise.
9804 * conform/data/sys/socket.h-data: Likewise.
9805 * conform/data/sys/stat.h-data: Likewise.
9806 * conform/data/sys/statvfs.h-data: Likewise.
9807 * conform/data/sys/time.h-data: Likewise.
9808 * conform/data/sys/timeb.h-data: Likewise.
9809 * conform/data/sys/times.h-data: Likewise.
9810 * conform/data/sys/types.h-data: Likewise.
9811 * conform/data/sys/uio.h-data: Likewise.
9812 * conform/data/sys/un.h-data: Likewise.
9813 * conform/data/sys/utsname.h-data: Likewise.
9814 * conform/data/sys/wait.h-data: Likewise.
9815 * conform/data/syslog.h-data: Likewise.
9816 * conform/data/tar.h-data: Likewise.
9817 * conform/data/termios.h-data: Likewise.
9818 * conform/data/utime.h-data: Likewise.
9819 * conform/data/utmpx.h-data: Likewise.
9820 * conform/data/varargs.h-data: Likewise.
9821 * conform/data/wchar.h-data: Likewise.
9822 * conform/data/wctype.h-data: Likewise.
9823 * conform/data/wordexp.h-data: Likewise.
9824
9825 * include/stropts.h: New file.
9826 * include/uchar.h: New file.
9827 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9828 * include/assert.h: Likewise.
9829 * include/ctype.h: Likewise.
9830 * include/dirent.h: Likewise.
9831 * include/dlfcn.h: Likewise.
9832 * include/fcntl.h: Likewise.
9833 * include/fnmatch.h: Likewise.
9834 * include/glob.h: Likewise.
9835 * include/grp.h: Likewise.
9836 * include/libio.h: Likewise.
9837 * include/locale.h: Likewise.
9838 * include/math.h: Likewise.
9839 * include/net/if.h: Likewise.
9840 * include/netdb.h: Likewise.
9841 * include/netinet/in.h: Likewise.
9842 * include/pthread.h: Likewise.
9843 * include/pwd.h: Likewise.
9844 * include/regex.h: Likewise.
9845 * include/sched.h: Likewise.
9846 * include/search.h: Likewise.
9847 * include/setjmp.h: Likewise.
9848 * include/signal.h: Likewise.
9849 * include/stdio.h: Likewise.
9850 * include/stdlib.h: Likewise.
9851 * include/string.h: Likewise.
9852 * include/sys/cdefs.h: Likewise.
9853 * include/sys/mman.h: Likewise.
9854 * include/sys/msg.h: Likewise.
9855 * include/sys/resource.h: Likewise.
9856 * include/sys/select.h: Likewise.
9857 * include/sys/socket.h: Likewise.
9858 * include/sys/stat.h: Likewise.
9859 * include/sys/statvfs.h: Likewise.
9860 * include/sys/time.h: Likewise.
9861 * include/sys/times.h: Likewise.
9862 * include/sys/uio.h: Likewise.
9863 * include/sys/utsname.h: Likewise.
9864 * include/sys/wait.h: Likewise.
9865 * include/termios.h: Likewise.
9866 * include/time.h: Likewise.
9867 * include/ulimit.h: Likewise.
9868 * include/unistd.h: Likewise.
9869 * include/utime.h: Likewise.
9870 * include/wchar.h: Likewise.
9871 * include/wctype.h: Likewise.
9872 * include/wordexp.h: Likewise.
9873
9874 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9875
7a270350
UD
9876 * time/time.h: TIME_UTC must be a macro.
9877 Make timespec_get available for ISO C11 only as well.
9878
7724defc
UD
98792012-02-24 Ulrich Drepper <drepper@gmail.com>
9880
9881 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9882 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9883
6b1d1d46
JM
98842012-02-24 Joseph Myers <joseph@codesourcery.com>
9885
9886 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9887
0f8bbd69
JM
98882012-02-24 Joseph Myers <joseph@codesourcery.com>
9889
9890 * manual/texinfo.tex: Update to version 2012-01-19.16.
9891
66ab80bc
JM
98922012-02-24 Joseph Myers <joseph@codesourcery.com>
9893
9894 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9895
74981cc5
RM
98962012-02-24 Roland McGrath <roland@hack.frob.com>
9897
ee968201
RM
9898 [BZ #13738]
9899 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9900 * manual/fdl-1.3.texi: New file.
9901 * manual/fdl-1.1.texi: File removed.
9902
74981cc5
RM
9903 [BZ #13738]
9904 * manual/libc.texinfo (FDL_VERSION): New @set.
9905 Use it for mention of FDL in cover text.
9906 (Documentation License): Use it in @include file name.
9907
7bb764bc
JM
99082012-02-22 Joseph Myers <joseph@codesourcery.com>
9909 Roland McGrath <roland@hack.frob.com>
9910
9911 [BZ #5461]
9912 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9913 not LONG_LONG_MAX and LONG_LONG_MIN.
9914 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9915 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9916 name.
9917 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9918
6cbeae47
JM
99192012-02-22 Joseph Myers <joseph@codesourcery.com>
9920
9921 [BZ #2547]
9922 [BZ #11365]
9923 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9924 manipulate bits before adding and subtracting TWO23[sx].
9925 * math/libm-test.inc (nearbyint_test): Add more tests.
9926
fe45ce09
JM
99272012-02-22 Joseph Myers <joseph@codesourcery.com>
9928
9929 [BZ #2548]
9930 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9931 bits before adding and subtracting TWO23[sx].
9932 * math/libm-test.inc (rint_test): Add more tests.
9933 (rint_test_tonearest): Likewise.
9934 (rint_test_towardzero): Likewise.
9935 (rint_test_downward): Likewise.
9936 (rint_test_upward: Likewise.
9937
ff3b3d82
JM
99382012-02-22 Joseph Myers <joseph@codesourcery.com>
9939
9940 [BZ #10110]
9941 * include/stdc-predef.h: New file. Extracted from features.h.
9942 * include/features.h: Include stdc-predef.h.
9943 * Makefile (headers): Add stdc-predef.h.
9944 * CONFORMANCE (Compiler limitations): Update.
9945
ef0aab35
JM
99462012-02-22 Joseph Myers <joseph@codesourcery.com>
9947
9948 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9949
58639409
DM
99502012-02-21 David S. Miller <davem@davemloft.net>
9951
9952 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9953 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9954
c0e70b25
DM
99552012-02-20 David S. Miller <davem@davemloft.net>
9956
9957 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9958 using a normal save/restore sequence, rather than allocating a
9959 dummy stack frame just to store a frame pointer and restore.
9960 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9961
fb06851d
JM
99622012-02-21 Joseph Myers <joseph@codesourcery.com>
9963
9964 * manual/install.texi: Fix stray word in line-wrapped comment.
9965
7a8b71c3
DM
99662012-02-20 David S. Miller <davem@davemloft.net>
9967
d510c123
DM
9968 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9969 both binutils and gcc support GOTDATA.
9970
0722d7c2
DM
9971 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9972 "rd %pc" in the PIC register setup sequences.
9973
3d2b3019
DM
9974 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9975 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9976 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9977 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9978 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9980 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9981 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9982 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9983 (SYSCALL_ERROR_HANDLER): Likewise.
9984 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9985 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9986 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9987 (SYSCALL_ERROR_HANDLER): Likewise.
9988
c80098a9
DM
9989 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9990 (HAVE_GCC_GOTDATA): New.
9991 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9992 relocation support in both binutils and gcc.
9993 * sysdeps/sparc/elf/configure: Regenerate.
9994
3a2545a0
DM
9995 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9996 * sysdeps/sparc/sparc32/elf/configure: Delete.
9997 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9998 * sysdeps/sparc/sparc64/elf/configure: Delete.
9999 * sysdeps/sparc/elf/configure.in: New file.
10000 * sysdeps/sparc/elf/configure: Generate.
10001
7a8b71c3
DM
10002 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10003 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10004 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10005 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10006 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10007
f1e86fca
JM
100082012-02-21 Joseph Myers <joseph@codesourcery.com>
10009
10010 * manual/install.texi: Do not mention specific glibc version
10011 numbers.
10012 * manual/libc.texinfo (VERSION, UPDATED): Update.
10013 (@copying): Use @copyright{} and range of years.
10014
0e7dfaef
JM
100152012-02-21 Joseph Myers <joseph@codesourcery.com>
10016
10017 [BZ #13695]
10018 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10019 [crti.S not in sysdirs] (generated): Do not append.
10020 [crti.S not in sysdirs] (omit-deps): Likewise.
10021 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10022 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10023 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10024 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10025 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10026 Likewise.
10027 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10028 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10029 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10030 * csu/defs.awk: Remove file.
10031 * sysdeps/generic/initfini.c: Likewise.
10032 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10033 variable.
10034 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10035 Likewise.
10036
599af3ca
JM
100372012-02-20 Joseph Myers <joseph@codesourcery.com>
10038
10039 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10040 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10041 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10042 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10043 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10044 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10045 <bits/epoll.h>.
10046 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10047 (__EPOLL_PACKED): Define to empty if not defined by
10048 <bits/epoll.h>.
10049 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10051 bits/epoll.h.
10052
0e499750
JM
100532012-02-20 Joseph Myers <joseph@codesourcery.com>
10054
10055 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10056 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10057 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10058 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10059 <bits/timerfd.h>.
10060 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10062 bits/timerfd.h.
10063
5ad91f6e
JM
100642012-02-20 Joseph Myers <joseph@codesourcery.com>
10065
10066 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10067 in C locale.
10068 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10069 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10070 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10072
06b99b02
AJ
100732012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10074
10075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10076 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10077
7638c0fd
AS
100782012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10079
10080 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10081 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10082 defined.
10083 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10084 Likewise.
10085 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10086 entry for 2.16.
10087
92221550
AJ
100882012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10089
10090 * math/w_acos.c: Use non-signaling floating-point comparisons.
10091 * math/w_acosf.c: Likewise.
10092 * math/w_acosh.c: Likewise.
10093 * math/w_acoshf.c: Likewise.
10094 * math/w_acoshl.c: Likewise.
10095 * math/w_acosl.c: Likewise.
10096 * math/w_asin.c: Likewise.
10097 * math/w_asinf.c: Likewise.
10098 * math/w_asinl.c: Likewise.
10099 * math/w_atanh.c: Likewise.
10100 * math/w_atanhf.c: Likewise.
10101 * math/w_atanhl.c: Likewise.
10102 * math/w_exp2.c: Likewise.
10103 * math/w_exp2f.c: Likewise.
10104 * math/w_exp2l.c: Likewise.
10105 * math/w_j0.c: Likewise.
10106 * math/w_j0f.c: Likewise.
10107 * math/w_j0l.c: Likewise.
10108 * math/w_j1.c: Likewise.
10109 * math/w_j1f.c: Likewise.
10110 * math/w_j1l.c: Likewise.
10111 * math/w_jn.c: Likewise.
10112 * math/w_jnf.c: Likewise.
10113 * math/w_log.c: Likewise.
10114 * math/w_log10.c: Likewise.
10115 * math/w_log10f.c: Likewise.
10116 * math/w_log10l.c: Likewise.
10117 * math/w_log2.c: Likewise.
10118 * math/w_log2f.c: Likewise.
10119 * math/w_log2l.c: Likewise.
10120 * math/w_logf.c: Likewise.
10121 * math/w_logl.c: Likewise.
10122 * math/w_sqrt.c: Likewise.
10123 * math/w_sqrtf.c: Likewise.
10124 * math/w_sqrtl.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10127 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10128 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10129 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10130
ebaf36eb
JM
101312012-02-19 Joseph Myers <joseph@codesourcery.com>
10132
10133 [BZ #9739]
10134 * manual/string.texi (strnlen): Use correct parameter name in
10135 equivalent expression.
10136
71c254a6
JM
101372012-02-19 Joseph Myers <joseph@codesourcery.com>
10138
10139 [BZ #11174]
10140 * manual/users.texi (seteuid): Consistently use neweuid for
10141 argument name.
10142
16d2c631
JM
101432012-02-19 Joseph Myers <joseph@codesourcery.com>
10144
10145 [BZ #13704]
10146 * manual/nss.texi (Services in the NSS configuration): Correct
10147 list of services in example configuration file.
10148
cd837b09
NB
101492012-02-19 Nick Bowler <nbowler@draconx.ca>
10150
10151 [BZ #11322]
10152 * manual/arith.texi: Remove statements about negative zero
10153 behaving identically to zero.
10154
02c4bbad
JM
101552012-02-18 Joseph Myers <joseph@codesourcery.com>
10156
10157 [BZ #5993]
10158 * manual/install.texi: Do not document upgrading from libc5.
10159
366842e7
JM
101602012-02-18 Joseph Myers <joseph@codesourcery.com>
10161
10162 [BZ #4596]
10163 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10164
dd54084d
DM
101652012-02-18 David S. Miller <davem@davemloft.net>
10166
10167 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10168 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10169 %o7 across the call.
10170 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10171 instead.
10172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10173 SETUP_PIC_REG_LEAF.
10174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10175 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10176 * sysdeps/sparc/crtn.S: Likewise.
10177
2bcc53a3
UD
101782012-02-17 Ulrich Drepper <drepper@gmail.com>
10179
10180 * aout/Makefile: Remove.
10181
09c093b5
RK
101822012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10183
10184 [BZ #13058]
10185 * manual/examples/argp-ex1.c (main): Format definition in GNU
10186 style.
10187 * manual/examples/argp-ex2.c (main): Likewise.
10188 * manual/examples/argp-ex3.c (main): Likewise.
10189 * manual/examples/argp-ex4.c (main): Likewise.
10190 * manual/examples/longopt.c (main): Use new-style prototype
10191 definition.
10192 * manual/examples/strncat.c (main): Specify return type and use
10193 (void) for arguments.
10194 * manual/examples/subopt.c (main): Use char **argv argument.
10195
2ee633a2
JM
101962012-02-17 Joseph Myers <joseph@codesourcery.com>
10197
10198 [BZ #5077]
10199 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10200 rounding modes.
10201
0520adde
FB
102022012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10203
10204 [BZ #6907]
10205 * manual/string.texi (strchr): Change when strchrnul is
10206 recommended.
10207
3f4081cd
DGM
102082012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10209
10210 [BZ #174]
10211 * manual/locale.texi (setlocale): Document LOCPATH.
10212
d1b10e78
JM
102132012-02-17 Joseph Myers <joseph@codesourcery.com>
10214
10215 [BZ #10210]
10216 * manual/process.texi (execle): Move @dots{} before last argument.
10217
79c6869c
PB
102182012-02-17 Paul Bolle <pebolle@tiscali.nl>
10219
10220 [BZ #12047]
10221 * manual/charset.texi (Generic Charset Conversion): Fix typo
10222 (LC_TYPE -> LC_CTYPE).
10223
cc6e48bc
NB
102242012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10225
10226 [BZ #5805]
10227 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10228 (scalbnf): Likewise.
10229 (scalbnl): Likewise.
10230 (scalbln): Likewise.
10231 (scalblnf): Likewise.
10232 (scalblnl): Likewise.
10233 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10234 (vwarnx): Likewise.
10235 (verr): Likewise.
10236 (verrx): Likewise.
10237 * manual/filesys.texi (telldir): Use braces around return type.
10238 * manual/llio.texi (mmap): Add space after comma.
10239 (mmap64): Likewise.
10240 * manual/math.texi (jn): Use @var{} on parameter names.
10241 (jnf): Likewise.
10242 (jnl): Likewise.
10243 (yn): Likewise.
10244 (ynf): Likewise.
10245 (ynl): Likewise.
10246 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10247 line.
10248 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10249 "...".
10250 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10251 (sched_get_priority_max): Likewise.
10252 * manual/signal.texi (sigvec): Add space after comma.
10253 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10254 names.
10255 (if_indextoname): Likewise.
10256 (if_freenameindex): Likewise.
10257 (sendto): Use ',' instead of '.' in prototype.
10258 * manual/startup.texi (syscall): Use @dots{} instead of literal
10259 "...".
10260 * manual/stdio.texi (__fpending): Separate initial words of
10261 paragraph from @deftypefun line.
10262 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10263 "...".
10264 (vsyslog): Use @var{} on parameter names.
10265 * manual/terminal.texi (stty): Use @var{} on parameter names.
10266 * manual/users.texi (getutmp): Use @var{} on parameter names.
10267 (getutmpx): Likewise.
10268
5b23062f
JM
102692012-02-17 Joseph Myers <joseph@codesourcery.com>
10270
10271 [BZ #6884]
10272 * manual/stdio.texi (fopen): Fix typos in description of
10273 ",ccs=STRING".
10274
8dee4833
AJ
102752012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10276
10277 [BZ #4026]
10278 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10279 get clock_id definition.
10280
9078ce93
TS
102812012-02-17 Thomas Schwinge <thomas@schwinge.name>
10282
10283 [BZ #4822]
10284 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10285 (madvise): Cast every argument to void on its own.
10286
3835c55f
JM
102872012-02-17 Joseph Myers <joseph@codesourcery.com>
10288
10289 [BZ #9902]
10290 * manual/startup.texi (Exit Status): Fix typo.
10291
35c47e37
JM
102922012-02-17 Joseph Myers <joseph@codesourcery.com>
10293
10294 [BZ #10140]
10295 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10296 * manual/examples/argp-ex2.c: Likewise.
10297 * manual/examples/argp-ex3.c: Likewise.
10298
e3b69ca7
RH
102992012-02-16 Richard Henderson <rth@redhat.com>
10300
10301 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10302 * sysdeps/s390/s390-32/initfini.c: Remove.
10303 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10304 * sysdeps/s390/s390-64/initfini.c: Remove.
10305
df83af67
KK
103062012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10307
10308 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10309 compiler output for sysdeps/generic/initfini.c.
10310 * sysdeps/sh/elf/initfini.c: Remove file.
10311
f63f3380
DM
103122012-02-16 David S. Miller <davem@davemloft.net>
10313
fb59b3a4
DM
10314 [BZ #11494]
10315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10316
f63f3380
DM
10317 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10318 * sysdeps/sparc/crti.S: New file.
10319 * sysdeps/sparc/crtn.S: New file.
10320 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10321 * sysdeps/sparc/sparc64/Makefile: Likewise.
10322
df6a4a4a
MF
103232012-02-15 Mike Frysinger <vapier@gentoo.org>
10324
6dd8f3dc 10325 [BZ #3335]
df6a4a4a
MF
10326 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10327
1cac7236
RM
103282012-02-15 Roland McGrath <roland@hack.frob.com>
10329
d2c736f8
RM
10330 [BZ #4822]
10331 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10332
1cac7236
RM
10333 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10334 (write, read, close): Likewise.
10335 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10336
8e475601
JM
103372012-02-15 Joseph Myers <joseph@codesourcery.com>
10338
10339 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10340 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10341 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10342 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10343 <bits/signalfd.h>.
10344 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10346 bits/signalfd.h.
10347
ed656b40
MP
103482012-02-14 Marek Polacek <polacek@redhat.com>
10349
10350 * sysdeps/x86_64/crti.S: New file.
10351 * sysdeps/x86_64/crtn.S: New file.
10352 * sysdeps/x86_64/elf/initfini.c: Remove file.
10353
2a979d3a
JM
103542012-02-13 Joseph Myers <joseph@codesourcery.com>
10355
10356 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10357 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10358 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10359 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10360 <bits/inotify.h>.
10361 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10363 bits/inotify.h.
10364
2a418ac3
JM
103652012-02-13 Joseph Myers <joseph@codesourcery.com>
10366
10367 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10368 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10369 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10370 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10371 <bits/eventfd.h>.
10372 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10374 bits/eventfd.h.
10375
fb779be7
TS
103762012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10377
e19e83c5
RM
10378 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10379 __feraiseexcept instead of feraiseexcept.
7c35ffed 10380
fb779be7
TS
10381 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10382 nanosleep invocations.
10383 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10384 strings, and add error checking for a nanosleep invocations.
10385
59ba27a6
PE
103862012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10387
10388 Replace FSF snail mail address with URLs, as per GNU coding standards.
10389 Most of the snail mail addresses were wrong anyway, and omitting
10390 them makes the source code easier to maintain. Almost all of the
10391 changes are to license notices and to locale LC_IDENTIFICATION
10392 addresses, except for this one:
10393 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10394 not its snail mail address.
10395
57b957eb
RH
103962012-02-09 Richard Henderson <rth@twiddle.net>
10397
af850b1c
RH
10398 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10399 of kernel-features.h.
10400
57b957eb
RH
10401 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10402
6b73181a
MP
104032012-02-08 Marek Polacek <polacek@redhat.com>
10404
10405 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10406 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10407 * sysdeps/gnu/_G_config.h: Likewise.
10408 * sysdeps/generic/_G_config.h: Likewise.
10409
26ecc33a
AS
104102012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10411
6c6dbc63
AS
10412 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10413 tests.
10414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10415
e216c012
AS
10416 * sysdeps/powerpc/powerpc32/crti.S: New file.
10417 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10418 * sysdeps/powerpc/powerpc64/crti.S: New file.
10419 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10420
26ecc33a
AS
10421 * Makeconfig (have-initfini): Don't set.
10422 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10423 * configure.in (nopic_initfini): Don't substitute.
10424 * config.h.in (HAVE_INITFINI): Don't #undef.
10425 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10426 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10427
3add8e13
JM
104282012-02-08 Joseph Myers <joseph@codesourcery.com>
10429
10430 Support crti.S and crtn.S provided directly by architectures.
10431 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10432 [crti.S in sysdirs] (omit-deps): Likewise.
10433 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10434 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10435 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10436 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10437 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10438 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10439 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10440 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10441 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10442 compiler output for sysdeps/generic/initfini.c.
10443 * sysdeps/i386/elf/Makefile: Remove file.
10444 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10445
a22f12b4
MP
104462012-02-07 Marek Polacek <polacek@redhat.com>
10447
10448 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10449 * sysdeps/gnu/_G_config.h: Likewise.
10450 * sysdeps/mach/hurd/_G_config.h: Likewise.
10451
148cf100
MP
104522012-02-07 Marek Polacek <polacek@redhat.com>
10453
10454 * math/Makefile (tests): Add tst-CMPLX2.
10455 * math/tst-CMPLX2.c: New file.
10456
cfdc0dd7
AS
104572012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10458
84ba42c4
AS
10459 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10460
cfdc0dd7
AS
10461 * math/libm-test.inc (jn_test): Add missing L suffix.
10462
622c86f4
MP
104632012-02-06 Marek Polacek <polacek@redhat.com>
10464
10465 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10466 * sysdeps/i386/fpu/e_powf.S: Likewise.
10467 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10468 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10469 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10470 * sysdeps/i386/fpu/e_pow.S: Likewise.
10471 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10472 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10473 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10474 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10475 * sysdeps/i386/fpu/e_log2.S: Likewise.
10476 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10477 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10478 * sysdeps/i386/fpu/e_powl.S: Likewise.
10479 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10480 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10481 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10482 * sysdeps/i386/fpu/e_logl.S: Likewise.
10483 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10484 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10485 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10486 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10487 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10488 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10489 * sysdeps/i386/fpu/e_log.S: Likewise.
10490 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10491 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10492 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10493 * sysdeps/i386/fpu/e_logf.S: Likewise.
10494 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10495 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10496 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10497 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10498 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10499 * sysdeps/i386/fpu/e_log10.S: Likewise.
10500 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10501 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10502 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10503 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10504 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10505 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10506 * sysdeps/i386/asm-syntax.h: Likewise.
10507 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10508 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10509 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10510 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10511 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10512 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10513 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10514 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10515 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10516 * sysdeps/powerpc/sysdep.h: Likewise.
10517 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10518 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10519
d4a54ac6
JM
105202012-02-06 Joseph Myers <joseph@codesourcery.com>
10521
10522 [BZ #411]
10523 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10524
314054ea
JM
105252012-02-06 Joseph Myers <joseph@codesourcery.com>
10526
10527 * sysdeps/i386/sysdep.h: Include <features.h>.
10528 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10529 version.
10530
d8e0ca50
JM
105312012-02-05 Joseph Myers <joseph@codesourcery.com>
10532
10533 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10534 Define.
10535 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10536 LOAD_PIC_REG_STR.
10537
b1da7dd9
JM
105382012-02-03 Joseph Myers <joseph@codesourcery.com>
10539
10540 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10541 (SETUP_PIC_REG): Use GET_PC_THUNK.
10542 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10543 macro.
10544
9a1d9254
JM
105452012-02-03 Joseph Myers <joseph@codesourcery.com>
10546
10547 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10548 for non-PIC compilation.
10549 (SETUP_PIC_REG): Add .p2align directive.
10550 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10551 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10552 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10553 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10554 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10555 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10556 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10557 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10558 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10559 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10560 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10561 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10562 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10563 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10564 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10565 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10566 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10567 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10568 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10569 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10570 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10571 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10572 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10573 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10574 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10576 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10577 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10578 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10579 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10580 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10582 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10583 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10584 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10585 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10586 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10587 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10588 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10589 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10590 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10591
65dc3b75
JM
105922012-02-03 Joseph Myers <joseph@codesourcery.com>
10593
10594 * math/tst-CMPLX.c: Include <stdio.h>.
10595
d55bf177
JM
105962012-01-31 Joseph Myers <joseph@codesourcery.com>
10597
10598 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10599 float.
10600 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10601 * sysdeps/sparc/bits/mathdef.h: Likewise.
10602
69db4f8f
MP
106032012-01-31 Marek Polacek <polacek@redhat.com>
10604
10605 * libio/libio.h: Don't define _PARAMS.
10606 * locale/programs/config.h: Don't define PARAMS.
10607 * stdlib/strtol_l.c: Likewise.
10608 (__strtol_l): Remove PARAMS from the prototype.
10609
41b81892
UD
106102012-01-31 Ulrich Drepper <drepper@gmail.com>
10611
3b49edc0
UD
10612 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10613 names. Just use the correct names. Remove unnecessary wrapper
10614 functions.
10615 * malloc/arena.c: Likewise.
10616 * malloc/hooks.c: Likewise.
10617
41b81892
UD
10618 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10619 ARENA_TEST says not to. Simplify test for creation of a new arena.
10620 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10621
27a25b6e
UD
106222012-01-30 Ulrich Drepper <drepper@gmail.com>
10623
10624 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10625 into tail calls.
10626 (update_get_addr): New function.
10627 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10628 GET_ADDR_MODULE parameter.
10629
c8a89e7d
JM
106302012-01-30 Joseph Myers <joseph@codesourcery.com>
10631
10632 * crypt/cert.c: Remove __STDC__ conditionals.
10633 * crypt/crypt-entry.c: Likewise.
10634 * crypt/crypt_util.c: Likewise.
10635 * libio/filedoalloc.c: Likewise.
10636 * libio/fileops.c: Likewise.
10637 * libio/genops.c: Likewise.
10638 * libio/iofclose.c: Likewise.
10639 * libio/iofdopen.c: Likewise.
10640 * libio/iofopen.c: Likewise.
10641 * libio/iofopen64.c: Likewise.
10642 * libio/iogetdelim.c: Likewise.
10643 * libio/iopopen.c: Likewise.
10644 * libio/obprintf.c: Likewise.
10645 * libio/oldfileops.c: Likewise.
10646 * libio/oldiofclose.c: Likewise.
10647 * libio/oldiofdopen.c: Likewise.
10648 * libio/oldiofopen.c: Likewise.
10649 * libio/oldiopopen.c: Likewise.
10650 * libio/wfiledoalloc.c: Likewise.
10651 * libio/wgenops.c: Likewise.
10652 * locale/programs/xmalloc.c: Likewise.
10653 * misc/syslog.c: Likewise.
10654 * stdio-common/xbug.c: Likewise.
10655 * string/memchr.c: Likewise.
10656 * string/memcmp.c: Likewise.
10657 * string/memrchr.c: Likewise.
10658 * string/rawmemchr.c: Likewise.
10659 * sysdeps/posix/getcwd.c: Likewise.
10660 * time/strftime_l.c: Likewise.
10661
3b100462
JM
106622012-01-30 Joseph Myers <joseph@codesourcery.com>
10663
10664 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10665 * config.make.in (config-cflags-sse2avx): Define.
10666 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10667 Fix typo.
10668
607998af
CM
106692012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10670
10671 * scripts/config.guess: Update from upstream config git repository.
10672 * scripts/config.sub: Likewise.
10673
3601428f
CM
106742012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10675
3ac8b282
CM
10676 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10677 (EM_NUM): Update.
10678 (R_TILEPRO_*, R_TILEGX_*): New macros.
10679
e034841e
CM
10680 * scripts/firstversions.awk: Fix bug in version range handling.
10681
540d7568
CM
10682 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10683
3601428f
CM
10684 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10685
463de862
CM
10686 * include/sys/epoll.h: New file.
10687 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10688 libc_hidden_def.
10689
73139a76
UD
106902012-01-28 Ulrich Drepper <drepper@gmail.com>
10691
96bc5b45
UD
10692 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10693 Avoid unnecessary __WORDSIZE == 64 test.
10694 (fmaxf): Use VEX format if possible.
10695 (fmax): Likewise.
10696 (fminf): Likewise.
10697 (fmin): Likewise.
10698
56f6f6a2
UD
10699 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10700 * math/math_private.h: Remove libc_fegetround* and
10701 libc_fesetround*.
10702 * sysdeps/i386/configure.in: Check for -msse2avx.
10703 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10704 also if SSE2AVX is defined.
10705 Remove libc_fegetround* and libc_fesetround*.
10706 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10707 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10708 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10709 of HAS_YMM_USABLE.
10710 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10711 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10712 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10713 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10714 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10715
73139a76
UD
10716 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10717
d73f93a4
AZ
107182012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10719
10720 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10721 size is not set.
10722 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10723
6ee65ed6
UD
107242012-01-27 Ulrich Drepper <drepper@gmail.com>
10725
10726 [BZ #13618]
10727 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10728 relocation.
10729 * Makeconfig (libm): Define.
10730 * elf/Makefile: Add rules to build and run tst-relsort1.
10731 * elf/tst-relsort1.c: New file.
10732 * elf/tst-relsort1mod1.c: New file.
10733 * elf/tst-relsort1mod2.c: New file.
10734
8db21882
JM
107352012-01-27 Joseph Myers <joseph@codesourcery.com>
10736
10737 * math/s_ldexp.c: Remove __STDC__ conditionals.
10738 * math/s_ldexpf.c: Likewise.
10739 * math/s_ldexpl.c: Likewise.
10740 * math/s_nextafter.c: Likewise.
10741 * math/s_nexttowardf.c: Likewise.
10742 * math/s_significand.c: Likewise.
10743 * math/s_significandf.c: Likewise.
10744 * math/s_significandl.c: Likewise.
10745 * math/w_jnl.c: Likewise.
10746 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10747 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10748 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10749 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10750 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10765 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10766 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10767 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10768 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10769 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10770 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10771 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10772 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10773 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10774 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10775 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10776 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10777 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10778 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10779 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10780 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10781 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10782 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10783 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10784 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10785 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10786 * sysdeps/ieee754/k_standard.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10791 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10795 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10796 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10805 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10806 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10808 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10810 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10812 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10814 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10815 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10816 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10819 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10820 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10821 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10823 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10824 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10825 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10826 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10828 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10829 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10830 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10831 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10833 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10834 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10835 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10836 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10838 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10839 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10840 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10841 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10844 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10845 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10846 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10847 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10848 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10849 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10850 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10851 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10852 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10853 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10854 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10856 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10857 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10858 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10861 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10862 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10863 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10864 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10865 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10866 * sysdeps/ieee754/s_matherr.c: Likewise.
10867 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10868 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10871
965a54a4
JM
108722012-01-26 Joseph Myers <joseph@codesourcery.com>
10873
10874 * crypt/md5.h: Remove __STDC__ conditionals.
10875 * libio/libioP.h: Likewise.
10876 * locale/programs/config.h: Likewise.
10877 * sysdeps/generic/sysdep.h: Likewise.
10878 * sysdeps/i386/asm-syntax.h: Likewise.
10879 * sysdeps/s390/asm-syntax.h: Likewise.
10880 * sysdeps/unix/sysdep.h: Likewise.
10881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10883
7071ad79
JM
108842012-01-26 Joseph Myers <joseph@codesourcery.com>
10885
10886 * libio/libio.h: Remove __STDC__ conditionals.
10887 * malloc/obstack.h: Likewise.
10888 * math/complex.h: Likewise.
10889 * math/math.h: Likewise.
10890 * sysdeps/generic/_G_config.h: Likewise.
10891 * sysdeps/gnu/_G_config.h: Likewise.
10892 * sysdeps/mach/hurd/_G_config.h: Likewise.
10893 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10894 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10895 * sysdeps/sparc/bits/mathdef.h: Likewise.
10896
afc5ed09
UD
108972012-01-26 Ulrich Drepper <drepper@gmail.com>
10898
10899 [BZ #13583]
10900 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10901 Clean up HAS_* macros.
afc5ed09 10902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10903 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10904 possible.
10905 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10906 HAS_AVX.
10907 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10908 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10909 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10910 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10911 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10912
bdb6de1d
JM
109132012-01-25 Joseph Myers <joseph@codesourcery.com>
10914
10915 * elf/tst-unique3.cc (gets): Remove declaration.
10916 * elf/tst-unique3lib.cc (gets): Likewise.
10917 * elf/tst-unique3lib2.cc (gets): Likewise.
10918 * elf/tst-unique4.cc (gets): Likewise.
10919
b15549e6
UD
109202012-01-24 Ulrich Drepper <drepper@gmail.com>
10921
10922 * include/stdio.h: Add C++ protection. Add gets declarations and
10923 definitions.
10924 * debug/tst-chk1.c: Don't declare gets here.
10925 * stdio-common/tst-gets.c: Likewise.
10926
a037381f
JM
109272012-01-24 Joseph Myers <joseph@codesourcery.com>
10928
10929 * posix/glob: Remove directory.
10930
f1d4aa75
JM
109312012-01-24 Joseph Myers <joseph@codesourcery.com>
10932
10933 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10934
81c0c964
PT
109352012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10936
10937 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10938 of the non-standard EPFNOSUPPORT.
10939
0ea698ae
ST
109402011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10941
10942 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10943 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10944 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10945
d220b117
UD
109462012-01-21 Ulrich Drepper <drepper@gmail.com>
10947
10948 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10949
3e1aa84e
UD
109502012-01-20 Ulrich Drepper <drepper@gmail.com>
10951
10952 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10953 transient errors.
10954 * nscd/grpcache.c (cache_addgr): Likewise.
10955 * nscd/hstcache.c (cache_addhst): Likewise.
10956 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10957 * nscd/pwdcache.c (cache_addpw): Likewise.
10958 * nscd/servicescache.c (cache_addserv): Likewise.
10959
400aa020
UD
109602012-01-16 Ulrich Drepper <drepper@gmail.com>
10961
d77e7869
UD
10962 * malloc/malloc.c: Various cleanups.
10963 * malloc/hooks.c: Likewise.
10964
400aa020
UD
10965 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10966 * stdlib/bug-fmtmsg1.c: New file.
10967
10968 * stdlib/fmtmsg.c (init): Add missing unlock.
10969 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10970
e0a309cf
MP
109712012-01-12 Marek Polacek <polacek@redhat.com>
10972
10973 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10974 and _GNU_SOURCE.
10975
929d11c7
WS
109762012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10977
10978 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10979 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10980 macro to ensure uniqueness of label name.
10981 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10982 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10983
41d0e869
UD
109842012-01-11 Ulrich Drepper <drepper@gmail.com>
10985
0cc5ed3b
UD
10986 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10987
41d0e869
UD
10988 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10989 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10990 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10992
a47a831a
UD
109932012-01-10 Ulrich Drepper <drepper@gmail.com>
10994
daa891c0
UD
10995 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10996
10997 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10998 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10999 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11000
e58ef0f2
UD
11001 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11002
a47a831a 11003 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11004 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11005 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11007
11008 * math/bits/math-finite.h: Add ldexp support.
11009
a0bfc9c7
MP
110102012-01-10 Marek Polacek <polacek@redhat.com>
11011
11012 * locale/programs/localedef.h (show_archive_content): Add noreturn
11013 attribute.
11014
d6e97a1d
UD
110152012-01-09 Ulrich Drepper <drepper@gmail.com>
11016
11017 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11018
d5835c26
UD
110192012-01-08 Ulrich Drepper <drepper@gmail.com>
11020
e5f484c6
UD
11021 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11022
d5835c26
UD
11023 * io/Makefile (headers): Add bits/poll2.h.
11024
d1f741e9
WS
110252011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11026
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11028 typo #include statement.
11029
ec09c1c4
UD
110302012-01-08 Ulrich Drepper <drepper@gmail.com>
11031
11032 * include/sys/cdefs.h: Define __attribute_alloc_size.
11033 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11034 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11035 * elf/pldd.c: Likewise.
11036 * iconv/iconv_charmap.c: Likewise.
11037 * iconv/iconvconfig.c: Likewise.
11038 * iconv/strtab.c: Likewise.
11039 * locale/programs/locale.c: Likewise.
11040 * locale/programs/localedef.h: Likewise.
11041 * locale/programs/simple-hash.c: Likewise.
11042 * nscd/nscd.h: Likewise.
11043 * nss/makedb.c: Likewise.
11044 * sysdeps/generic/ldconfig.h: Likewise.
11045 * locale/programs/localedef.c: Remove xmalloc prototype.
11046 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11047
20b38e03
PP
110482012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11049
11050 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11051 appropriate.
11052
a0da5fe1
UD
110532012-01-08 Ulrich Drepper <drepper@gmail.com>
11054
1d5a644a 11055 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11056 * math/tst-CMPLX.c: New file.
1d5a644a 11057
8784a6db
UD
11058 * math/complex.h (CMPLXL): Fix typo.
11059
d9a216c0
UD
11060 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11061 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11062 GLIBC_2.16.
11063 * debug/tst-chk1.c: Add poll and ppoll tests.
11064 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11065 * include/sys/poll.h: Add hidden proto for ppoll.
11066 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11067 * sysdeps/mach/hurd/ppoll.c: Likewise.
11068 * io/ppoll.c: Likewise.
11069 * debug/poll_chk.c: New file.
11070 * debug/ppoll_chk.c: New file.
11071 * include/bits/poll2.h: New file.
11072 * io/bits/poll2.h: New file.
11073
ac097f5c
UD
11074 [BZ #1350]
11075 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11076
2119dcfa
UD
11077 * configure.in: static is always set to yes. Remove.
11078 * config.make.in: Don't set build-static.
11079 * Makeconfig: Remove use of build-static.
11080 * dlfcn/Makefile: Likewise.
11081 * elf/Makefile: Likewise.
11082 * math/Makefile: Likewise.
11083 * misc/Makefile: Likewise.
11084 * nptl/Makefile: Likewise.
11085 * sysdeps/mach/hurd/Makefile: Likewise.
11086
121766a9
UD
11087 * configure.in: PWD_P is not used anymore.
11088 * config.make.in: Remove PWD_P entry.
11089
51a1d39c 11090 * configure.in: Remove last remnants of RANLIB.
8720d066 11091 No need to check for signed size_t anymore.
215f4bdc
UD
11092 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11093 and IA-64.
3857022a 11094 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11095 * aclocal.m4: Likewise.
11096
d3ed7225
UD
11097 * wcsmbs/mbrtoc16.c: Implement using towc function.
11098 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11099 * wcsmbs/wcsmbsload.c: Likewise.
11100 * iconv/gconv_simple.c: Likewise.
11101 * iconv/gconv_int.h: Likewise.
11102 * iconv/gconv_builtin.h: Likewise.
11103 * iconv/iconv_prog.c: Remove CHAR16 handling.
11104
11105 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11106
11107 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11108
a0da5fe1
UD
11109 * configure.in: Remove --with-elf and --enable-bounded options.
11110 Dont set base_machine for ia64. More non-ELF conditions removed.
11111 Remove testing and setting of leading underscore information.
11112 * config.make.in (build-bounded): Set to no.
11113 * config.h.in: Remove NO_UNDERSCORES entry.
11114 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11115 them.
11116 * csu/start.c: Remove !NO_UNDERSCORE code.
11117 * locale/localeinfo.h: Likewise.
11118 * sysdeps/generic/machine-gmon.h: Likewise.
11119 * sysdeps/generic/sysdep.h: Likewise.
11120 * sysdeps/i386/sysdep.h: Likewise.
11121 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11122 * sysdeps/mach/sysdep.h: Likewise.
11123 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11124 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11125 * sysdeps/sh/sysdep.h: Likewise.
11126 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11127 * sysdeps/unix/i386/sysdep.S: Likewise.
11128 * sysdeps/unix/sparc/start.c: Likewise.
11129 * sysdeps/unix/sparc/sysdep.S: Likewise.
11130 * sysdeps/unix/sparc/sysdep.h: Likewise.
11131 * sysdeps/unix/start.c: Likewise.
11132 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11133 * sysdeps/x86_64/sysdep.h: Likewise.
11134
df78418a
UD
111352012-01-07 Ulrich Drepper <drepper@gmail.com>
11136
a784e502
UD
11137 [BZ #13553]
11138 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11139 for non-gcc.
11140 * argp/argp-fmtstream.h: Use const instead __const.
11141 * argp/argp.h: Likewise.
11142 * assert/assert.h: Likewise.
11143 * bits/fenv.h: Likewise.
11144 * bits/sched.h: Likewise.
11145 * bits/sigset.h: Likewise.
11146 * bits/sigthread.h: Likewise.
11147 * catgets/nl_types.h: Likewise.
11148 * conform/data/pthread.h-data: Likewise.
11149 * crypt/crypt-private.h: Likewise.
11150 * crypt/crypt.h: Likewise.
11151 * crypt/crypt_util.c: Likewise.
11152 * ctype/ctype.h: Likewise.
11153 * debug/execinfo.h: Likewise.
11154 * debug/mbsnrtowcs_chk.c: Likewise.
11155 * debug/mbsrtowcs_chk.c: Likewise.
11156 * debug/wcsnrtombs_chk.c: Likewise.
11157 * debug/wcsrtombs_chk.c: Likewise.
11158 * debug/wcstombs_chk.c: Likewise.
11159 * dirent/dirent.h: Likewise.
11160 * dlfcn/dlfcn.h: Likewise.
11161 * elf/neededtest4.c: Likewise.
11162 * grp/grp.h: Likewise.
11163 * gshadow/gshadow.h: Likewise.
11164 * iconv/gconv.h: Likewise.
11165 * iconv/gconv_int.h: Likewise.
11166 * iconv/gconv_simple.c: Likewise.
11167 * iconv/iconv.h: Likewise.
11168 * iconv/loop.c: Likewise.
11169 * iconv/skeleton.c: Likewise.
11170 * include/aio.h: Likewise.
11171 * include/aliases.h: Likewise.
11172 * include/argz.h: Likewise.
11173 * include/arpa/inet.h: Likewise.
11174 * include/assert.h: Likewise.
11175 * include/dirent.h: Likewise.
11176 * include/dlfcn.h: Likewise.
11177 * include/execinfo.h: Likewise.
11178 * include/fcntl.h: Likewise.
11179 * include/fenv.h: Likewise.
11180 * include/glob.h: Likewise.
11181 * include/grp.h: Likewise.
11182 * include/libintl.h: Likewise.
11183 * include/mntent.h: Likewise.
11184 * include/netdb.h: Likewise.
11185 * include/pwd.h: Likewise.
11186 * include/rpc/netdb.h: Likewise.
11187 * include/sched.h: Likewise.
11188 * include/search.h: Likewise.
11189 * include/shadow.h: Likewise.
11190 * include/signal.h: Likewise.
11191 * include/stdio.h: Likewise.
11192 * include/stdlib.h: Likewise.
11193 * include/string.h: Likewise.
11194 * include/sys/socket.h: Likewise.
11195 * include/sys/stat.h: Likewise.
11196 * include/sys/statfs.h: Likewise.
11197 * include/sys/statvfs.h: Likewise.
11198 * include/sys/syslog.h: Likewise.
11199 * include/sys/time.h: Likewise.
11200 * include/sys/uio.h: Likewise.
11201 * include/time.h: Likewise.
11202 * include/unistd.h: Likewise.
11203 * include/utmp.h: Likewise.
11204 * include/wchar.h: Likewise.
11205 * include/wctype.h: Likewise.
11206 * inet/aliases.h: Likewise.
11207 * inet/arpa/inet.h: Likewise.
11208 * inet/netinet/ether.h: Likewise.
11209 * inet/netinet/in.h: Likewise.
11210 * intl/libintl.h: Likewise.
11211 * io/bits/fcntl2.h: Likewise.
11212 * io/fcntl.h: Likewise.
11213 * io/ftw.h: Likewise.
11214 * io/sys/poll.h: Likewise.
11215 * io/sys/stat.h: Likewise.
11216 * io/sys/statfs.h: Likewise.
11217 * io/sys/statvfs.h: Likewise.
11218 * io/utime.h: Likewise.
11219 * libio/bits/stdio.h: Likewise.
11220 * libio/bits/stdio2.h: Likewise.
11221 * libio/libio.h: Likewise.
11222 * libio/libioP.h: Likewise.
11223 * libio/stdio.h: Likewise.
11224 * locale/lc-ctype.c: Likewise.
11225 * locale/locale.h: Likewise.
11226 * login/utmp.h: Likewise.
11227 * malloc/arena.c: Likewise.
11228 * malloc/malloc.c: Likewise.
11229 * malloc/malloc.h: Likewise.
11230 * malloc/mcheck.c: Likewise.
11231 * malloc/mtrace.c: Likewise.
11232 * math/bits/mathcalls.h: Likewise.
11233 * math/fenv.h: Likewise.
11234 * math/math_private.h: Likewise.
11235 * misc/bits/error.h: Likewise.
11236 * misc/bits/syslog.h: Likewise.
11237 * misc/err.h: Likewise.
11238 * misc/error.h: Likewise.
11239 * misc/fstab.h: Likewise.
11240 * misc/mntent.h: Likewise.
11241 * misc/regexp.h: Likewise.
11242 * misc/search.h: Likewise.
11243 * misc/sgtty.h: Likewise.
11244 * misc/sys/mman.h: Likewise.
11245 * misc/sys/syslog.h: Likewise.
11246 * misc/sys/uio.h: Likewise.
11247 * misc/sys/xattr.h: Likewise.
11248 * misc/ttyent.h: Likewise.
11249 * nis/rpcsvc/ypclnt.h: Likewise.
11250 * nss/nss.h: Likewise.
11251 * posix/bits/unistd.h: Likewise.
11252 * posix/fnmatch.h: Likewise.
11253 * posix/glob.h: Likewise.
11254 * posix/sched.h: Likewise.
11255 * posix/spawn.h: Likewise.
11256 * posix/sys/wait.h: Likewise.
11257 * posix/unistd.h: Likewise.
11258 * posix/wordexp.h: Likewise.
11259 * pwd/pwd.h: Likewise.
11260 * resolv/netdb.h: Likewise.
11261 * resource/sys/resource.h: Likewise.
11262 * rt/aio.h: Likewise.
11263 * rt/bits/mqueue2.h: Likewise.
11264 * rt/mqueue.h: Likewise.
11265 * shadow/shadow.h: Likewise.
11266 * signal/signal.h: Likewise.
11267 * socket/send.c: Likewise.
11268 * socket/sendto.c: Likewise.
11269 * socket/sys/socket.h: Likewise.
11270 * stdio-common/printf.h: Likewise.
11271 * stdlib/bits/stdlib.h: Likewise.
11272 * stdlib/fmtmsg.h: Likewise.
11273 * stdlib/monetary.h: Likewise.
11274 * stdlib/stdlib.h: Likewise.
11275 * stdlib/ucontext.h: Likewise.
11276 * streams/stropts.h: Likewise.
11277 * string/argz.h: Likewise.
11278 * string/bits/string2.h: Likewise.
11279 * string/string.h: Likewise.
11280 * string/strings.h: Likewise.
11281 * sunrpc/rpc/auth.h: Likewise.
11282 * sunrpc/rpc/auth_des.h: Likewise.
11283 * sunrpc/rpc/clnt.h: Likewise.
11284 * sunrpc/rpc/netdb.h: Likewise.
11285 * sunrpc/rpc/pmap_clnt.h: Likewise.
11286 * sunrpc/rpc/xdr.h: Likewise.
11287 * sysdeps/generic/inttypes.h: Likewise.
11288 * sysdeps/generic/net/if.h: Likewise.
11289 * sysdeps/generic/sys/swap.h: Likewise.
11290 * sysdeps/gnu/net/if.h: Likewise.
11291 * sysdeps/gnu/utmpx.h: Likewise.
11292 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11293 * sysdeps/i386/i486/bits/string.h: Likewise.
11294 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11295 * sysdeps/s390/bits/string.h: Likewise.
11296 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11297 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11298 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11299 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11300 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11301 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11302 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11303 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11304 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11305 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11306 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11307 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11308 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11309 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11310 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11311 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11312 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11314 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11315 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11316 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11317 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11318 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11319 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11320 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11321 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11322 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11323 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11324 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11325 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11326 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11327 * sysvipc/sys/ipc.h: Likewise.
11328 * sysvipc/sys/msg.h: Likewise.
11329 * sysvipc/sys/sem.h: Likewise.
11330 * sysvipc/sys/shm.h: Likewise.
11331 * termios/termios.h: Likewise.
11332 * time/sys/time.h: Likewise.
11333 * time/time.h: Likewise.
11334 * wcsmbs/bits/wchar2.h: Likewise.
11335 * wcsmbs/uchar.h: Likewise.
11336 * wcsmbs/wchar.h: Likewise.
11337 * wctype/wctype.h: Likewise.
11338
0269750c
UD
11339 [BZ #13551]
11340 * Makeconfig: Remove all but ELF support including AIX support.
11341 * Makerules: Likewise.
11342 * config.h.in: Likewise.
11343 * config.make.in: Likewise.
11344 * configure: Likewise.
11345 * configure.in: Likewise.
11346 * csu/Makefile: Likewise.
11347 * csu/version.c: Likewise.
11348 * debug/Makefile: Likewise.
11349 * dlfcn/Makefile: Likewise.
11350 * elf/Makefile: Likewise.
11351 * extra-lib.mk: Likewise.
11352 * iconv/Makefile: Likewise.
11353 * include/libc-symbols.h: Likewise.
11354 * include/shlib-compat.h: Likewise.
11355 * resolv/Makefile: Likewise.
11356 * resolv/res_libc.c: Likewise.
11357 * rt/Makefile: Likewise.
11358 * sysdeps/i386/asm-syntax.h: Likewise.
11359 * sysdeps/i386/sysdep.h: Likewise.
11360 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11361 * sysdeps/mach/sysdep.h: Likewise.
11362 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11363 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11364 * sysdeps/s390/asm-syntax.h: Likewise.
11365 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11366 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11367 * sysdeps/sh/sysdep.h: Likewise.
11368 * sysdeps/unix/sparc/sysdep.h: Likewise.
11369 * sysdeps/wordsize-32/divdi3.c: Likewise.
11370 * sysdeps/x86_64/sysdep.h: Likewise.
11371
00bbd29b
UD
11372 * argp/Versions: Remove _argp_unlock_xxx.
11373
11374 [BZ #13559]
11375 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11376 * abilist/libBrokenLocale.abilist: Likewise.
11377 * abilist/libanl.abilist: Likewise.
11378 * abilist/libc.abilist: Likewise.
11379 * abilist/libcrypt.abilist: Likewise.
11380 * abilist/libdl.abilist: Likewise.
11381 * abilist/libm.abilist: Likewise.
11382 * abilist/libnsl.abilist: Likewise.
11383 * abilist/libpthread.abilist: Likewise.
11384 * abilist/libresolv.abilist: Likewise.
11385 * abilist/librt.abilist: Likewise.
11386 * abilist/libthread_db.abilist: Likewise.
11387 * abilist/libutil.abilist: Likewise.
11388 * abilist/libnss_db.abilist: New file.
11389
11390 * scripts/abilist.awk: Add support for indirect functions.
11391
a2693a0e
UD
11392 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11393
3f05895f
UD
11394 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11395
ecb6fb48
UD
11396 * shlib-versions: Remove entries for ports architectures.
11397
664f8cb9
UD
11398 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11399 files in ports.
11400 * elf/stackguard-macros.h: Remove support for IA-64.
11401 * elf/tst-auditmod1.c: Likewise.
11402 * sysdeps/generic/ldsodefs.h: Likewise.
11403
7ae81d88
UD
11404 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11405 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11406 configure files.
11407
bdeba135
UD
11408 [BZ #13552]
11409 * configure.in: Remove --enable-omitfp support.
11410 * FAQ.in: Adjust.
11411 * config.make.in: Likewise.
11412 * Makeconfig: Likewise.
11413 * manual/install.texi: Likewise.
11414
d75a0a62
UD
11415 In case anyone cares, the IA-64 architecture could move to ports.
11416 * sysdeps/ia64/*: Removed.
11417 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11418 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11419
dcc9756b
UD
11420 [BZ #13555]
11421 * configure.in: Remove entries for unsupported architectures.
11422
d3761ebc 11423 [BZ #13533]
9954432e
UD
11424 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11425 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11426 routines.
11427 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11428 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11429 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11430 fall back to using wcrtomb.
11431 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11432 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11433 renaming.
11434 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11435 * wcsmbs/tst-c16c32-1.c: New file.
11436
11437 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11438 local variable.
11439
c3a87236
UD
11440 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11441
28926a1b
UD
11442 * elf/tst-unique3.cc: Add explicit declaration of gets.
11443 * elf/tst-unique3lib.cc: Likewise.
11444 * elf/tst-unique3lib2.cc: Likewise.
11445 * elf/tst-unique4.cc: Likewise.
11446
df78418a
UD
11447 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11448
8ecd6b2a
JM
114492012-01-06 Joseph Myers <joseph@codesourcery.com>
11450
11451 [BZ #13566]
11452 * assert/assert.h (static_assert): Don't define for C++.
11453 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11454 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11455
9f115170
UD
114562012-01-03 Ulrich Drepper <drepper@gmail.com>
11457
5e0d0300
UD
11458 * iconv/loop.c (single loop): Fix assertion in storing of
11459 remaining bytes.
11460
9f115170
UD
11461 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11462
81fb02b0
UD
114632012-01-01 Ulrich Drepper <drepper@gmail.com>
11464
11465 * posix/getconf.c: Update copyright year.
11466 * nss/getent.c: Likewise.
a316c1f6 11467 * nss/makedb.c: Likewise.
81fb02b0
UD
11468 * iconv/iconvconfig.c: Likewise.
11469 * iconv/iconv_prog.c: Likewise.
11470 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11471 * elf/pldd.c: Likewise.
11472 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11473 * catgets/gencat.c: Likewise.
11474 * csu/version.c: Likewise.
11475 * elf/ldd.bash.in: Likewise.
11476 * elf/sprof.c (print_version): Likewise.
11477 * locale/programs/locale.c: Likewise.
11478 * locale/programs/localedef.c: Likewise.
a316c1f6 11479 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11480 * nscd/nscd.c (print_version): Likewise.
11481 * debug/xtrace.sh: Likewise.
11482 * malloc/memusage.sh: Likewise.
11483 * malloc/mtrace.pl: Likewise.
11484 * debug/catchsegv.sh: Likewise.
11485
2ba92745
JJ
114862011-12-30 Jakub Jelinek <jakub@redhat.com>
11487
11488 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11489 pure attribute.
11490
dadebdae
UD
114912011-12-24 Ulrich Drepper <drepper@gmail.com>
11492
d3761ebc 11493 [BZ #13533]
db6af3eb
UD
11494 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11495 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11496 transformations.
11497 * iconv/gconv_int.h: Likewise.
11498 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11499 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11500 from libc for GLIBC_2.16.
11501 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11502 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11503 * wcsmbs/uchar.h: Really define mbstate_t.
11504 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11505 * wcsmbs/c16rtomb.c: New file.
11506 * wcsmbs/mbrtoc16.c: New file.
11507 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11508 for C/POSIX locale.
11509 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11510 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11511
dadebdae
UD
11512 * wcsmbs/wchar.h: Add missing __restrict.
11513
67371b56
UD
115142011-12-23 Ulrich Drepper <drepper@gmail.com>
11515
74033a25
UD
11516 [BZ #13532]
11517 * time/Makefile (routines): Add timespec_get.
11518 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11519 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11520 timespec for ISO C11.
11521 * time/timespec_get.c: New file.
11522 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11523 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11524
380d7e87
UD
11525 [BZ #13531]
11526 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11527 * stdlib/stdlib.h: Declare aligned_alloc.
11528 * Versions.def: Add GLIBC_2.16 for libc.
11529 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11530
4e9e7a35
UD
11531 [BZ 13527]
11532 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11533 ISO C11.
11534
380d7e87 11535 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11536 code.
11537
03a71829
UD
11538 [BZ #13528]
11539 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11540
839e283e
UD
11541 [BZ #13529]
11542 * assert/assert.h (static_assert): Define.
11543
ce5294e2 11544 * version.h: Update for 2.16 development version.
90fa7312 11545
8d44e150 11546 [BZ #13526]
d7809905
UD
11547 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11548 _ISOC11_SOURCE.
11549
c0da14cd
UD
11550 * version.h (RELEASE): Bump for 2.15 release.
11551 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11552
530a3249
MP
11553 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11554 Patch by Marek Polacek <mpolacek@redhat.com>.
11555
67371b56
UD
11556 * bits/byteswap.h: Protect long long constants with __extension__.
11557 * sysdeps/i386/bits/byteswap.h: Likewise.
11558 * sysdeps/ia64/bits/byteswap.h: Likewise.
11559 * sysdeps/s390/bits/byteswap.h: Likewise.
11560 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11561
15db4de1
LD
115622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11563
11564 [BZ #13540]
bbe315ea
LD
11565 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11566 destination buffer.
15db4de1
LD
11567 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11568
2b2596b1
MP
115692011-12-23 Marek Polacek <polacek@redhat.com>
11570
11571 * elf/dl-addr.c (determine_info): Add inline keyword.
11572 * elf/tst-auditmod4b.c (check_avx): Likewise.
11573 * elf/tst-auditmod6b.c (check_avx): Likewise.
11574 * elf/tst-auditmod6c.c (check_avx): Likewise.
11575 * elf/tst-auditmod7b.c (check_avx): Likewise.
11576
70c6c246
UD
115772011-12-23 Ulrich Drepper <drepper@gmail.com>
11578
11579 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11580 !__SSE_MATH__.
11581
c044cf14
LD
115822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11583
15db4de1 11584 [BZ #13540]
c044cf14
LD
11585 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11586 processing for last bytes.
11587
6b13d9d9
BH
115882011-08-06 Bruno Haible <bruno@clisp.org>
11589
d455f537
BH
11590 [BZ #13061]
11591 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11592 U+0385, not to U+1FEE.
11593
6b13d9d9
BH
11594 [BZ #13062]
11595 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11596 entry for U+00A5 U+0301.
11597
db910efd
UD
115982011-12-22 Ulrich Drepper <drepper@gmail.com>
11599
27deeafc
UD
11600 [BZ #13166]
11601 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11602 buffer for the output is too small.
11603
aed9d171
UD
11604 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11605 optimization.
11606
db910efd
UD
11607 [BZ #13185]
11608 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11609 SSE flags if possible.
11610
2bd779ae
LD
116112011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11612
e7f9dac3 11613 [BZ #13540]
2bd779ae
LD
11614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11615 processing for last bytes.
11616
154bfc16
JM
116172011-12-22 Joseph Myers <joseph@codesourcery.com>
11618
11619 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11620 (syscall-list-default-options, syscall-list-default-condition)
11621 (syscall-list-includes): Define.
11622 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11623 list of ABIs and options and #if conditions for each ABI. Do not
11624 handle common syscalls between ABIs specially.
11625 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11626 Remove.
11627 (syscall-list-variants, syscall-list-32bit-options)
11628 (syscall-list-32bit-condition, syscall-list-64bit-options)
11629 (syscall-list-64bit-condition): Define.
11630 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11631 (syscall-list-variants, syscall-list-32bit-options)
11632 (syscall-list-32bit-condition, syscall-list-64bit-options)
11633 (syscall-list-64bit-condition): Define.
11634 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11635 Remove.
11636 (syscall-list-variants, syscall-list-32bit-options)
11637 (syscall-list-32bit-condition, syscall-list-64bit-options)
11638 (syscall-list-64bit-condition): Define.
11639 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11640 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
21eaf3a5
UD
116452011-12-22 Ulrich Drepper <drepper@gmail.com>
11646
16c6f992
UD
11647 * locale/iso-639.def: Add brx entry.
11648
41043168
UD
11649 [BZ #13328]
11650 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11651 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11652
21eaf3a5
UD
11653 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11654 __feraiseexcept_renamed.
11655
e3a851a2
UD
116562011-12-21 Ulrich Drepper <drepper@gmail.com>
11657
4920765e
UD
11658 [BZ #13538]
11659 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11660 EPOLLET with unsigned values.
11661 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11662 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11663
e3a851a2
UD
11664 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11665 to large cancellation.
11666 * math/s_cacoshf.c: Likewise.
11667 * math/s_cacoshl.c: Likewise.
11668
b27e24b8
RK
116692011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11670
11671 [BZ #13305]
aebefeee 11672 [BZ #12786]
b27e24b8
RK
11673 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11674 * math/s_cacoshf.c: Likewise.
11675 * math/s_cacoshl.c: Likewise.
11676
ee190f67
UD
116772011-12-21 Ulrich Drepper <drepper@gmail.com>
11678
11679 [BZ #13439]
11680 * iconv/gconv.h: Define __GCONV_SWAP.
11681 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11682 * iconvdata/utf-16.c: Likewise.
11683 * iconvdata/utf-32.c: Likewise.
11684
707f25df
AS
116852011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11686
11687 [BZ #13524]
11688 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11689 numerator after shifting it by one limb.
11690
d2daaa1e
RÁE
116912011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11692
11693 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11694 under [__USE_EXTERN_INLINES].
11695
a4647e72
UD
116962011-12-17 Ulrich Drepper <drepper@gmail.com>
11697
11698 [BZ #13446]
11699 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11700
f0b264f1
AZ
117012011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11702
11703 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11704 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11705 optimized code.
11706 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11707 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11708 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11709 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11710 for strncasecmp/strncasecmp_l compilation.
11711 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11712 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11713
8ef4f244
MP
117142011-12-08 Marek Polacek <mpolacek@redhat.com>
11715
11716 [BZ #13484]
11717 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11718 of __asm__.
11719
97ac2654
UD
117202011-12-17 Ulrich Drepper <drepper@gmail.com>
11721
11722 [BZ #13506]
11723 * time/tzfile.c (__tzfile_read): Check values from file header.
11724
91d2a845
WS
117252011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11726
11727 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11728 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11729 * powerpc/powerpc32/dl-start.S: Likewise.
11730 * powerpc/powerpc32/elf/start.S: Likewise.
11731 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11732 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11733 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11734 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11735 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11736 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11737 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11738 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11739 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11740 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11741 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11742 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11743 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11744 * powerpc/powerpc32/memset.S: Likewise.
11745 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11746 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11747 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11748 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11749 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11750 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11751 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11752 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11753 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11754 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11755 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11756 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11757 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11758
a1267ba1
AZ
117592011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11760
11761 * math/libm-test.inc: Added more nearbyint tests.
11762 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11763 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11764 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11765 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11766
ad8ac1bd
RL
117672011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11768
11769 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11770 FD_CLOEXEC.
11771
1d3e4b61
UD
117722011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11773
11774 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11775 Add wcscpy-ssse3 wcscpy-c.
11776 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11777 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11778 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11779 * sysdeps/x86_64/wcschr.S: New file.
11780 * sysdeps/x86_64/wcsrchr.S: New file.
11781 * string/test-strcmp.c: Remove checking of wcscmp function for
11782 wrong alignments.
11783 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11784 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11785 wcsrchr-sse2 wcsrchr-c.
11786 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11787 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11788 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11789 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11790 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11791 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11792 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11793 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11794 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11795 * wcsmbc/wcschr.c (WCSCHR): New macro.
11796
5b330a2d
UD
117972011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11798
11799 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11800 * wcsmbs/test-wcsrchr.c: New file.
11801 * string/test-strrchr.c: Add wcsrchr support.
11802 (WIDE): New macro.
11803 * wcsmbs/test-wcscpy.c: New file.
11804 * string/test-strcpy.c: Add wcscpy support.
11805 (WIDE): New macro.
26428b7c 11806
f039c043
UD
118072011-12-10 Ulrich Drepper <drepper@gmail.com>
11808
11809 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11810 the inner loop.
11811
850fb039
AS
118122011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11813
11814 [BZ #13472]
11815 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11816
4efbd5cb
UD
118172011-12-04 Ulrich Drepper <drepper@gmail.com>
11818
52ff5dd0 11819 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11820 Minor optimizations.
52ff5dd0 11821
4efbd5cb
UD
11822 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11823 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11824 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11825
8a426e12
UD
118262011-12-03 Ulrich Drepper <drepper@gmail.com>
11827
aff2453d
UD
11828 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11829 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11830 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11831 for gcc to avoid warnings.
11832 * inet/Makefile (tests): Add tst-checks.
11833 * inet/tst-checks.c: New file.
11834
11835 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11836 warning.
11837
11838 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11839 __wmemcmp_sse2.
11840
11841 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11842 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11843
8a426e12
UD
11844 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11845
9bea3473
UD
118462011-12-02 Ulrich Drepper <drepper@gmail.com>
11847
3a965496
UD
11848 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11849 problem.
11850
9bea3473
UD
11851 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11852
f101631b
UD
118532011-11-29 Joseph Myers <joseph@codesourcery.com>
11854
11855 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11856 conditional on GCC version.
11857 (__arch_compare_and_exchange_val_8_acq)
11858 (__arch_compare_and_exchange_val_16_acq)
11859 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11860 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11861 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11862
a98275aa
UD
118632011-12-02 Joseph Myers <joseph@codesourcery.com>
11864
11865 * sysdeps/sh/backtrace.c: New file.
11866
d4cc29a2
AS
118672011-12-02 Andreas Schwab <schwab@redhat.com>
11868
11869 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11870 parenthesis.
11871
6257af2d
AS
118722011-12-01 Andreas Schwab <schwab@redhat.com>
11873
11874 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11875 falling back to utime.
11876
b5f44c1a
AS
118772011-11-30 Andreas Schwab <schwab@redhat.com>
11878
11879 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11880 expectations for float.
11881
f3a6cc0a
AS
118822011-11-29 Andreas Schwab <schwab@redhat.com>
11883
11884 * locale/weight.h (findidx): Add parameter len.
11885 * locale/weightwc.h (findidx): Likewise.
11886 * posix/fnmatch_loop.c (FCT): Adjust caller.
11887 * posix/regcomp.c (build_equiv_class): Likewise.
11888 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11889 * posix/regexec.c (check_node_accept_bytes): Likewise.
11890 * string/strcoll_l.c (STRCOLL): Likewise.
11891 * string/strxfrm_l.c (STRXFRM): Likewise.
11892
9d65ea3a
UD
118932011-11-17 Ulrich Drepper <drepper@gmail.com>
11894
11895 * Makefile.in: Remove CVSOPT handling.
11896 * configure.in: Remove use of AC_REVISION.
11897 * iconvdata/Makefile (distribute): No need to filter out CVS.
11898 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11899 handling.
11900
5583a086
AS
119012011-11-16 Andreas Schwab <schwab@redhat.com>
11902
11903 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11904 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11905 [USE_AS_STRNCASECMP_L]: Likewise.
11906 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11907 NO_TLS_DIRECT_SEG_REFS.
11908 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11909 Fix argument offsets for non-PIC.
11910 [USE_AS_STRNCASECMP_L]: Likewise.
11911 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11912 NO_TLS_DIRECT_SEG_REFS.
11913
d62a8200
UD
119142011-11-15 Ulrich Drepper <drepper@gmail.com>
11915
9d65ea3a 11916 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11917 O_CLOEXEC.
11918 * locale/loadlocale.c (_nl_load_locale): Likewise.
11919
09f93bd3
AS
119202011-11-15 Andreas Schwab <schwab@redhat.com>
11921
446514f9
AS
11922 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11923 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11924 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11925 (SYSCALL_GETTIME): Set errno on error.
11926
09f93bd3
AS
11927 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11928 count references to noai6ai_cached.
11929
312be3f9
UD
119302011-11-15 Ulrich Drepper <drepper@gmail.com>
11931
11932 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11933
11934 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11935 FD_CLOEXEC for /proc/self/maps.
11936
11937 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11938 FD_CLOEXEC for /proc/meminfo.
11939
11940 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11941 gai.conf.
11942
11943 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11944 FD_CLOEXEC for given file.
11945
11946 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11947
11948 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11949 FD_CLOEXEC for /etc/hosts.
11950 (_gethtent): Likewise.
11951
11952 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11953
11954 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11955 cancellation and set FD_CLOEXEC for /etc/netgroup.
11956
11957 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11958 reading /etc/publickey.
11959
11960 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11961 allow cancellation when reading /etc/group.
11962
11963 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11964 cancellation.
11965 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11966
11967 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11968 when using data file.
11969
11970 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11971
11972 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11973 (write_nis_obj): Use "c" and "e" in fopen.
11974
11975 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11976
11977 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11978
11979 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11980
11981 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11982
11983 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11984 locale.alias.
11985
11986 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11987
11988 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11989
11990 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11991
11992 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11993 file parsing and set FD_CLOEXEC.
11994
82af0fa8
UD
119952011-11-14 Ulrich Drepper <drepper@gmail.com>
11996
11997 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11998
a5fb313c
AS
119992011-11-14 Andreas Schwab <schwab@redhat.com>
12000
12001 * malloc/arena.c (arena_get2): Don't call reused_arena when
12002 _int_new_arena failed.
12003
6abf3465
UD
120042011-11-14 Ulrich Drepper <drepper@gmail.com>
12005
12006 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12007 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12008 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12009 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12010 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12011 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12012 to compile strcasecmp and strncasecmp.
12013 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12014 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12015
12016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12017
76e3966e
UD
120182011-11-13 Ulrich Drepper <drepper@gmail.com>
12019
12020 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12021 locale-defines.sym to gen-as-const-headers.
12022 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12023 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12024 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12025 to compile strcasecmp and strncasecmp.
12026 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12027 strcasecmp_l and strncasecmp_l.
12028 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12029 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12030 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12031 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12032 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12033 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12034 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12035 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12036 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12037 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12038 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12039
ab26144e
UD
120402011-11-12 Ulrich Drepper <drepper@gmail.com>
12041
7edb22ef
UD
12042 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12043 result of SYSDEP_GETTIME_CPU to retval.
12044 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12045 parameter list to macro. Remove trailing semicolon. Adjust users.
12046
9694fc44
UD
12047 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12048 variable.
12049
8ad89ef8
UD
12050 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12051 mantissa words.
12052 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12053
0c822ef9
UD
12054 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12055 from unused variable.
12056
874e0564
UD
12057 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12058 DWARF definitions.
12059 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12060 for assembling.
12061
3a2edc79
UD
12062 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12063 over namespaces.
12064
f3c2577f
UD
12065 * sunrpc/rpc_prot.c (rejected): Fix case value.
12066
294ce126
UD
12067 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12068 unsigned long long int to avoid warnings in shift.
12069
5e2b63c6
UD
12070 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12071 of use of trans.
12072 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12073 variable tmp.
12074
e7f4b08e
UD
12075 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12076 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12077 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12078
ab26144e
UD
12079 * nis/nis_table.c (nis_list): Use variable of correct type for
12080 result of __follow_path call.
12081
8a6d5255
AZ
120822011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12083
12084 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12085 of math functions ceil, trunc, floor, round, and sqrt, when
12086 avaliable on the platform.
12087 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12088 name clash.
12089 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12090 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12091 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12092
aaddc98c
MP
120932011-10-30 Marek Polacek <mpolacek@redhat.com>
12094
12095 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12096 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12097
95b7042b
RM
120982011-11-11 Roland McGrath <roland@hack.frob.com>
12099
12100 * include/unistd.h: Fix __readlink return type.
12101 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12102
57769839
UD
121032011-11-11 Ulrich Drepper <drepper@gmail.com>
12104
12105 * stdlib/ucontext.h: Undo last change for makecontext.
12106
edc5984d
AS
121072011-11-11 Andreas Schwab <schwab@redhat.com>
12108
98591e58
AS
12109 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12110
edc5984d
AS
12111 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12112 * setjmp/setjmp.h: Mark functions as non-leaf.
12113 * setjmp/bits/setjmp2.h: Likewise.
12114 * stdlib/ucontext.h: Likewise.
12115
77cdc054
AS
121162011-11-10 Andreas Schwab <schwab@redhat.com>
12117
12118 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12119 (reused_arena): Don't check arena limit.
12120 (arena_get2): Atomically check arena limit.
12121
fe72eebd
UD
121222011-11-08 Ulrich Drepper <drepper@gmail.com>
12123
5f078c32
UD
12124 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12125 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12126
fe72eebd
UD
12127 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12128 instructions.
12129
ae1bc2fa
AS
121302011-11-07 Andreas Schwab <schwab@redhat.com>
12131
7583a88d
AS
12132 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12133 handler when locking.
12134
ae1bc2fa
AS
12135 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12136 Fix size of allocated buffer.
12137
10fb0bfa
AS
121382011-11-04 Andreas Schwab <schwab@redhat.com>
12139
998832a4
AS
12140 [BZ #10103]
12141 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12142 declarations for long double functions.
12143 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12144
10fb0bfa
AS
12145 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12146
3d7ba52b
AS
121472011-11-03 Andreas Schwab <schwab@redhat.com>
12148
a9ae54a1
AS
12149 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12150 installed.
12151
3d7ba52b
AS
12152 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12153 is disabled.
12154
bc8db248
ST
121552011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12156
12157 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12158
45b96dd6
AS
121592011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12160
647776f6
AS
12161 * include/alloca.h (stackinfo_alloca_round): Define.
12162 (extend_alloca): Use it.
12163 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12164 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12165 here.
12166
d91a8b93
AS
12167 * scripts/check-local-headers.sh: Ignore libaudit.h.
12168
45b96dd6
AS
12169 * nscd/Makefile (extra-objs): Make recursively expanded.
12170
432d41ce
UD
121712011-11-01 Ulrich Drepper <drepper@gmail.com>
12172
34372fc6
UD
12173 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12174 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12175
fadb59f8
UD
12176 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12177 * posix/tst-rfc3484-2.c: Likewise.
12178 * posix/tst-rfc3484-3.c: Likewise.
12179
78239589
UD
12180 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12181 process_vm_writev.
12182 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12183 process_vm_writev.
12184 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12185 process_vm_writev from libc using GLIBC_2.15 version.
12186
432d41ce
UD
12187 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12188
02f9c6cf
PP
121892011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12190
12191 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12192 stack usage.
12193
3a2c0242
UD
121942011-10-31 Ulrich Drepper <drepper@gmail.com>
12195
f4ec4833
UD
12196 [BZ #13367]
12197 * nss/getent.c (initgroups_keys): Show error message in case no group
12198 names are given.
12199
3a2c0242
UD
12200 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12201 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12202 __bump_nl_timestamp.
12203 * nscd/connections (nscd_init): When host database is served open
12204 netlink socket and request notification about configuration changes.
12205 (main_loop_poll): Track netlink file descriptor and bump timestamp
12206 in case data becomes available.
12207 (main_loop_epoll): Likewise.
12208 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12209 (database_pers_head): Add extra_data fileds.
12210 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12211 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12212 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12213 Adjust caller.
12214 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12215 in6ai data, call __free_in6ai.
12216 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12217 Add -DHAVE_NETLINK.
12218 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12219 interface information. Reuse previous data if netlink timestamp
12220 is not changed.
12221 (__bump_nl_timestamp): New function.
12222 (__free_in6ai): New function.
12223
636064eb
UD
122242011-10-30 Ulrich Drepper <drepper@gmail.com>
12225
12226 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12227 close_not_cancel_no_status here.
12228 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12229
9beb2334
UD
122302011-10-29 Ulrich Drepper <drepper@gmail.com>
12231
6ef76f3b
UD
12232 [BZ #13276]
12233 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12234 return value.
12235
0ffc4f3e 12236 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12237 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12238 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12239
cb95113e
UD
122402011-07-03 Andreas Jaeger <aj@suse.de>
12241
12242 [BZ #10709]
12243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12244 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12245 * math/libm-test.inc (sin_test): Add test case.
12246
a1b560ff
UD
122472011-10-29 Ulrich Drepper <drepper@gmail.com>
12248
c9aaface
UD
12249 [BZ #13337]
12250 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12251 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12252
d272e7f1
UD
12253 * elf/chroot_canon.c (chroot_canon): Cleanups.
12254
1bc33071
UD
12255 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12256
1760874d
TJ
12257 [BZ #13335]
12258 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12259 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12260
51d91b18
UD
12261 * string/test-strchr.c: Make usable for strchrnul testing.
12262 * string/test-strchrnul.c: New file.
12263 * string/Makefile (strop-tests): Add strchrnul.
12264
a1b560ff 12265 * po/it.po: Update from translation team.
b611fb81 12266 * po/es.po: Likewise.
a1b560ff 12267
a5b81e1f
UD
122682011-10-28 Ulrich Drepper <drepper@gmail.com>
12269
fd52bc6d
UD
12270 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12271 the three constants needed as parameters. Drop the others.
12272 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12273 __m128i_strloadu_tolower.
52e4b9eb
UD
12274 Create and initialize variable zero and use it in all the places
12275 where _mm_setzero_si128 was used.
fd52bc6d 12276
a5b81e1f
UD
12277 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12278 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12279 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12280 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12281 anymore.
12282 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12283 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12284 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12285 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12286 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12287 __mpranred, __mptan.
12288 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12289 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12290 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12291 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12292 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12293 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12294 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12295 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12296 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12297
b4343346
AS
122982011-10-28 Andreas Schwab <schwab@redhat.com>
12299
0c92d8a8
AS
12300 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12301 redefine if SHARED.
12302 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12303
b4343346
AS
12304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12305 wide char related routines to wcsmbs subdir.
12306
3871f58f
AS
123072011-10-27 Andreas Schwab <schwab@redhat.com>
12308
12309 [BZ #13344]
12310 * misc/sys/cdefs.h (__THROWNL): Define.
12311 * posix/unistd.h: Use __THREADNL instead of __THREAD
12312 for memory synchronization functions.
12313
94d44d9f
RM
123142011-10-26 Roland McGrath <roland@hack.frob.com>
12315
21b64b15 12316 [BZ #13349]
94d44d9f
RM
12317 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12318 doesn't exist.
12319 * manual/stdio.texi (Obstack Streams): Node removed.
12320
f6ce9294
AS
123212011-10-26 Andreas Schwab <schwab@redhat.com>
12322
80479147
AS
12323 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12324 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12325 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12326
f6ce9294
AS
12327 * math/math_private.h (math_force_eval): Allow non-addressable
12328 arguments.
12329 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12330
618280a1
UD
123312011-10-25 Ulrich Drepper <drepper@gmail.com>
12332
e0016b11
UD
12333 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12334 file is not needed.
12335
12336 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12338 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12339 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12340 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12341 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12342 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12343 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12344 Add AVX variants.
12345 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12346 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12347 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12348 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12349 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12350 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12351 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12352 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12353 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12354 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12355 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12356 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12357 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12358 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12359 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12360 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12361 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12362 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12363 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12364
12365 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12366 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12367
618280a1
UD
12368 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12369 place. Use VEX encoding when compiling for AVX.
12370
37822576
AS
123712011-10-25 Andreas Schwab <schwab@redhat.com>
12372
1f1e1947
AS
12373 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12374 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12375
37822576
AS
12376 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12377
31ea014d
UD
123782011-10-25 Ulrich Drepper <drepper@gmail.com>
12379
d7826aa1 12380 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12381 useless if() expression.
d7826aa1
UD
12382 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12383 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12384 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12385 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12386 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12387 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12388 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12389 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12390 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12391 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12392 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12393 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12394 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12395 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12396 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12397 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12398 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12399 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12400 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12401
31ea014d
UD
12402 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12403
16437fec
AS
124042011-10-25 Andreas Schwab <schwab@redhat.com>
12405
12406 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12407 condition.
12408 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12409
31d3cc00
UD
124102011-10-25 Ulrich Drepper <drepper@gmail.com>
12411
12412 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12413 .text section. Avoid duplicate constants.
12414 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12424 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12426 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12429 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12431 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12435 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12436 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12437 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12438 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12439 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12440 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12441 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12442 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12443 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12444 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12445 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12446 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12447 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12448 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12449 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12450 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12451 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12452 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12453 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12454 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12455 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12456 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12457 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12458 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12459
58985aa9
UD
124602011-10-24 Ulrich Drepper <drepper@gmail.com>
12461
202c9deb
UD
12462 * sysdeps/x86_64/dla.h: Move to ...
12463 * sysdeps/x86_64/fpu/dla.h: ...here.
12464 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12465 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12466
af968f62
UD
12467 * config.make.in: Add have-mfma4 entry.
12468 * configure.in: Substitute libc_cv_cc_fma4.
12469 * math/Makefile (dbl-only-routines): Add sincostab.
12470 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12471 Use __sincostab not sincos.
12472 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12473 name is a macro.
12474 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12477 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12478 using __copysign.
12479 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12480 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12481 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12482 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12483 and __inv.
12484 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12485 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12486 __copysign.
12487 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12488 define aliases when function name is a macro.
12489 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12490 sysdeps/ieee754/dbl-64/sincos.tbl.
12491 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12492 fma4-enabled routines.
12493 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12494 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12495 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12496 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12497 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12498 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12499 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12500 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12501 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12502 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12503 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12504 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12505 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12506 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12507 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12508 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12509 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12510 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12511 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12512 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12513 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12514 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12515 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12516 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12517 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12518 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12520 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12521 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12522 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12523
58985aa9
UD
12524 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12525 rename.
12526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12529 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12530 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12531 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12532 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12533 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12534
a201fbcf
AS
125352011-10-24 Andreas Schwab <schwab@redhat.com>
12536
12537 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12538
fc2ee42a
LD
125392011-10-23 Ulrich Drepper <drepper@gmail.com>
12540
bb3129bd
UD
12541 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12542
0275fff8
UD
12543 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12544 prediction.
12545 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12546
2fa2ae85
UD
12547 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12548 Remove unused variable magic_bits.
12549 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12550
fc2ee42a
LD
12551 * string/strnlen.c: Define and use STRNLEN macro.
12552 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12553 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12555 * wcsmbs/wcslen.c: Define and use WCSLEN.
12556 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12557 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12558 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12559 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12560 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12561 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12562 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12563
ce7dd29f
LD
125642011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12565
12566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12567 strnlen-sse2-no-bsf.
12568 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12569 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12570 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12571 Add strnlen support.
12572 (USE_AS_STRNLEN): New macro.
12573 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12574 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12575 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12576 * sysdeps/x86_64/wcslen.S: New file.
12577
979c70a3
MZ
125782011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12579
12580 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12581 XMM-moves are used for copying on small sizes.
12582
2d09f82f
LD
125832011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12584
12585 * wcsmbs/Makefile (strop-tests): Add wcschr.
12586 * wcsmbs/test-wcschr.c: New file.
12587 * string/test-strchr.c: Update.
12588 Add wcschr support.
12589 (WIDE): New macro.
12590
619fccca
LD
125912011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12592
2d09f82f 12593 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12594 * wcsmbs/test-wcslen.c: New file.
12595 * string/test-strlen.c: Update.
12596 Add wcslen support.
12597 (WIDE): New macro.
12598
09f699ea
UD
125992011-10-23 Ulrich Drepper <drepper@gmail.com>
12600
12601 * po/it.po: Update from translation team.
12602
95584d3b
LD
126032011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12604
12605 * sysdeps/x86_64/wcscmp.S: Update.
12606 Fix wrong comparison semantics.
12607 wcscmp shall use signed comparison not unsigned.
12608 Don't use substraction to avoid overflow bug.
12609 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12610 * wcsmbc/wcscmp.c: Likewise.
12611 * string/test-strcmp.c: Likewise.
12612 Add new tests to check cases with negative values.
12613
c8b3296b
UD
126142011-10-23 Ulrich Drepper <drepper@gmail.com>
12615
12616 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12617 * sysdeps/x86_64/dla.h: ...here. New file.
12618 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12627
246ad57a
AS
126282011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12629
12630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12631 __ynl_finite aliases.
12632
a1a87169
UD
126332011-10-22 Ulrich Drepper <drepper@gmail.com>
12634
0d355eb7
UD
12635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12636
a1a87169
UD
12637 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12638 define DLA_FMA.
12639 [DLA_FMA] (EMULV): Use DLA_FMA.
12640 [DLA_FMA] (MUL12): Use EMULV.
12641 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12642 that are not needed.
12643 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12650
ee2aafe0
AS
126512011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12652
12653 * math/s_nan.c: Undef __nan.
12654 * math/s_nanf.c: Undef __nanf.
12655 * math/s_nanl.c: Undef __nanl.
12656 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12657 "math_private.h".
12658
bc62c2fb
UD
126592011-10-22 Ulrich Drepper <drepper@gmail.com>
12660
77425c63
UD
12661 * math/s_catan.c: Add branch predictions.
12662 * math/s_catanf.c: Likewise.
12663 * math/s_catanh.c: Likewise.
12664 * math/s_catanhf.c: Likewise.
12665 * math/s_catanhl.c: Likewise.
12666 * math/s_catanl.c: Likewise.
12667 * math/s_cexp.c: Likewise.
12668 * math/s_cexpf.c: Likewise.
12669 * math/s_cexpl.c: Likewise.
12670 * math/s_clog.c: Likewise.
12671 * math/s_clog10.c: Likewise.
12672 * math/s_clog10f.c: Likewise.
12673 * math/s_clog10l.c: Likewise.
12674 * math/s_clogf.c: Likewise.
12675 * math/s_clogl.c: Likewise.
12676 * math/s_csqrt.c: Likewise.
12677 * math/s_csqrtf.c: Likewise.
12678 * math/s_csqrtl.c: Likewise.
12679 * math/s_ctanf.c: Likewise.
12680 * math/s_ctanh.c: Likewise.
12681 * math/s_ctanhf.c: Likewise.
12682 * math/s_ctanhl.c: Likewise.
12683 * math/s_ctanl.c: Likewise.
12684
bc62c2fb
UD
12685 * math/math_private.h: Define __nan, __nanf, __nanl.
12686 * math/s_cacosh.c: Include <math_private.h>.
12687 * math/s_cacoshl.c: Likewise.
12688 * math/s_casinh.c: Likewise.
12689 * math/s_casinhf.c: Likewise.
12690 * math/s_casinhl.c: Likewise.
12691 * math/s_ccos.c: Rely entire on ccosh.
12692 * math/s_ccosf.c: Rely entire on ccoshf.
12693 * math/s_ccosl.c: Rely entirely on ccoshl.
12694 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12695 Remove tests for FE_INVALID.
12696 * math/s_ccoshf.c: Likewise.
12697 * math/s_ccoshl.c: Likewise.
12698 * math/s_csin.c: Likewise.
12699 * math/s_csinf.c: Likewise.
12700 * math/s_csinh.c Likewise.
12701 * math/s_csinhf.c: Likewise.
12702 * math/s_csinhl.c: Likewise.
12703 * math/s_csinl.c: Likewise.
12704 * math/s_ctan.c: Likewise.
12705 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12706 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12707 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12708
8ec250a4
UD
127092011-10-21 Ulrich Drepper <drepper@gmail.com>
12710
c196fed8
UD
12711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12712 compilation problems.
12713
8ec250a4
UD
12714 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12715 __builtin_expect.
12716
8d4f46c6
UD
127172011-10-20 Ulrich Drepper <drepper@gmail.com>
12718
ed72b654
UD
12719 * sysdeps/i386/configure.in: Test for -mfma4 option.
12720 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12721 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12722 COMMON_CPUID_INDEX_80000001.
12723 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12724 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12725 use it if FMA3 is not supported.
12726 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12727
8d4f46c6
UD
12728 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12729 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12730
d45c60c2
AS
127312011-10-20 Andreas Schwab <schwab@redhat.com>
12732
12733 [BZ #12892]
12734 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12735 it would create a cycle with a link time dependency.
12736
d9a4d2ab
UD
127372011-10-19 Ulrich Drepper <drepper@gmail.com>
12738
855d1560
UD
12739 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12740 instruction.
12741 * string/Makefile (strop-tests): Add rawmemchr.
12742 * string/test-rawmemchr.c: New file.
12743
d9a4d2ab
UD
12744 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12746 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12747 when compiling str{,n}casecmp and when AVX is available. Hook up
12748 new optimized code in initializers.
12749
8f3b1ffe
AS
127502011-10-19 Andreas Schwab <schwab@redhat.com>
12751
12752 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12753 __feraiseexcept instead of feraiseexcept.
12754
d38f1dba
UD
127552011-10-18 Ulrich Drepper <drepper@gmail.com>
12756
d9a8d0ab
UD
12757 * math/math_private.h: Define defaults for libc_fetestexcept and
12758 libc_feupdateenv.
12759 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12760 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12761 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12762 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12763 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12764 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12765 libc_fetestexcept and libc_feupdateenv.
12766
4855e3dd
UD
12767 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12768 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12769 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12770 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12771 libc_feholdexcept_setround.
12772
581d30e3
UD
12773 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12774 Add s_nearbyint-c and s_nearbyintf-c.
12775 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12776 nearbyintf inlines.
12777 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12778 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12779 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12780 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12781
d38f1dba
UD
12782 * math/math_private.h: Define defaults for libc_fegetround,
12783 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12784 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12785 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12786 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12787 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12788 standard functions.
12789 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12790 Remove comments and hacks for old compiler versions.
12791 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12792 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12793 libc_feholdexceptl.
12794
caa6c9d8
AS
127952011-10-18 Andreas Schwab <schwab@redhat.com>
12796
12797 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12798 (__feraiseexcept_renamed): Add __NTH.
12799 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12800 namespace violations.
12801
97c066e6
UD
128022011-10-17 Ulrich Drepper <drepper@gmail.com>
12803
99ce7b04
UD
12804 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12805
1004d182
UD
12806 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12807
228a984d
UD
12808 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12809 recently added interfaces.
12810 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12811
c8553a6a
UD
12812 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12813 about macro parameter expansion.
12814
ed22dcf6
UD
12815 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12816 __NO_MATH_INLINES is defined. Cleanups.
12817
12818 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12819 and __floorf is target has SSE4.1.
12820 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12821 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12822 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12823 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12824
b171c137
UD
12825 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12826 name.
12827 (floorf): Likewise.
12828
97c066e6
UD
12829 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12830
629f62ef
AS
128312011-10-17 Andreas Schwab <schwab@redhat.com>
12832
49a43d80
AS
12833 * misc/sys/cdefs.h: Fix last change.
12834
629f62ef
AS
12835 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12836 database lookup.
12837
e453f6cd
UD
128382011-10-16 Ulrich Drepper <drepper@gmail.com>
12839
aa78043a
UD
12840 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12841
ad0f5cad
UD
12842 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12843 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12847 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12848 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12849 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12850 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12851 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12852 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12853 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12854 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12855 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12856 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12857 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12858 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12859 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12860 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12861 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12862 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12863 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12864
12865 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12866 ceil, ceilf, floor, floorf.
12867
12868 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12869 Perform IRELATIVE relocations last.
12870
e453f6cd
UD
12871 * elf/do-rel.h: Add another parameter nrelative, replacing the
12872 local variable with the same name. Change name of the function
12873 to end in Rel or Rela (uppercase).
12874 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12875 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12876 elf_dynamic_do_##reloc function.
12877
fd5bdc09
UD
128782011-10-15 Ulrich Drepper <drepper@gmail.com>
12879
79b195b5
UD
12880 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12881 is sufficient, at least on modern CPUs.
12882
d4a28569
UD
12883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12884
b61099b5
UD
12885 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12886 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12887
bcf01e6d
UD
12888 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12889 __expl_finite.
12890 * math/bits/math-finite.h: Add entries for exp.
12891 * math/e_expl.c: Add __*_finite alias.
12892 * sysdeps/i386/fpu/e_exp.S: Likewise.
12893 * sysdeps/i386/fpu/e_expf.S: Likewise.
12894 * sysdeps/i386/fpu/e_expl.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12896 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12899 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12900 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12901 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12902
ba1a0d59
UD
12903 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12904 is sufficient, at least on modern CPUs.
12905
fd5bdc09
UD
12906 * ctype/ctype-info.c (__ctype_init): Define.
12907 * include/ctype.h (__ctype_init): Declare.
12908 (__ctype_b_loc): The variable is always initialized.
12909 (__ctype_toupper_loc): Likewise.
12910 (__ctype_tolower_loc): Likewise.
12911 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12912 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12913
7872cfb0
AS
129142011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12915
b468825a
AS
12916 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12917
7872cfb0
AS
12918 * configure.in: Also look in $cxxmachine/include for C++ system
12919 headers.
12920
be13f7bf
LD
129212011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12922
12923 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12924 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12925 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12926 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12927 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12928 (USE_AS_WMEMCMP): New macro.
12929 Fixing indents.
12930 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12931 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12932 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12933 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12935 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12936 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12937 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12938 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12939 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12940 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12941 (USE_AS_WMEMCMP): New macro.
12942 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12943 * sysdeps/string/test-memcmp.c: Update.
12944 Fix simple_wmemcmp.
12945 Add new tests.
12946 * wcsmbs/wmemcmp.c: Update.
12947 (WMEMCMP): New macro.
12948 Fix overflow bug.
12949
556a2007
AJ
129502011-10-12 Andreas Jaeger <aj@suse.de>
12951
12952 [BZ #13268]
12953 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12954
538faaa7
UD
129552011-10-15 Ulrich Drepper <drepper@gmail.com>
12956
ab6737ff
UD
12957 * libio/iofwide.c (do_length): Avoid warning.
12958
538faaa7
UD
12959 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12960
396a21b1
UD
129612011-10-14 Ulrich Drepper <drepper@gmail.com>
12962
cdf2901f
UD
12963 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12964
38ad40ce
UD
12965 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12966 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12967 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12968 * sysdeps/i386/i686/fpu/e_log.S: New file.
12969 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12970 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12971
396a21b1
UD
12972 * ctype/ctype.h: Add support for inlined isXXX functions when
12973 compiling C++ code.
12974
6b1f68c9
AS
129752011-10-14 Andreas Schwab <schwab@redhat.com>
12976
349290c0
AS
12977 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12978
6b1f68c9
AS
12979 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12980
f2282d42
RM
129812011-10-13 Roland McGrath <roland@hack.frob.com>
12982
12983 [BZ #13291]
12984 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12985
5298ffa8
AS
129862011-10-13 Andreas Schwab <schwab@redhat.com>
12987
714fad23
AS
12988 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12989 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12990 feraiseexcept.
12991
81dcc7fb
AS
12992 * sysdeps/x86_64/memrchr.S: Check for zero size.
12993
5298ffa8
AS
12994 * string/stratcliff.c: Add memrchr tests.
12995
951fbcec
LD
129962011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12997
12998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12999 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13000 rawmemchr-sse2 rawmemchr-sse2-bsf.
13001 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13002 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13003 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13004 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13005 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13006 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13007 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13008 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13009 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13010 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13011 * string/memrchr.c (MEMRCHR): New macro.
13012
0ac5ae23
UD
130132011-10-12 Ulrich Drepper <drepper@gmail.com>
13014
13015 Add integration with gcc's -ffinite-math-only and optimize wrapper
13016 functions in libm.
13017 * Versions.def: Define GLIBC_2.15 version for libm.
13018 * math/Makefile (headers): Add bits/math-finite.h.
13019 * math/bits/math-finite.h: New file.
13020 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13021 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13022 * math/e_acoshl.c: Add __*_finite alias.
13023 * math/e_acosl.c: Likewise.
13024 * math/e_asinl.c: Likewise.
13025 * math/e_atan2l.c: Likewise.
13026 * math/e_atanhl.c: Likewise.
13027 * math/e_coshl.c: Likewise.
13028 * math/e_exp10.c: Likewise.
13029 * math/e_exp10f.c: Likewise.
13030 * math/e_exp10l.c: Likewise.
13031 * math/e_exp2l.c: Likewise.
13032 * math/e_fmodl.c: Likewise.
13033 * math/e_gammal_r.c: Likewise.
13034 * math/e_hypotl.c: Likewise.
13035 * math/e_j0l.c: Likewise.
13036 * math/e_j1l.c: Likewise.
13037 * math/e_jnl.c: Likewise.
13038 * math/e_lgammal_r.c: Likewise.
13039 * math/e_log10l.c: Likewise.
13040 * math/e_log2l.c: Likewise.
13041 * math/e_logl.c: Likewise.
13042 * math/e_powl.c: Likewise.
13043 * math/e_sinhl.c: Likewise.
13044 * math/e_sqrtl.c: Likewise.
13045 * math/e_scalb.c: Completely rewritten and optimized.
13046 * math/e_scalbf.c: Likewise.
13047 * math/e_scalbl.c: Likewise.
13048 * math/w_acos.c: Likewise.
13049 * math/w_acosf.c: Likewise.
13050 * math/w_acosl.c: Likewise.
13051 * math/w_acosh.c: Likewise.
13052 * math/w_acoshf.c: Likewise.
13053 * math/w_acoshl.c: Likewise.
13054 * math/w_asin.c: Likewise.
13055 * math/w_asinf.c: Likewise.
13056 * math/w_asinl.c: Likewise.
13057 * math/w_atan2.c: Likewise.
13058 * math/w_atan2f.c: Likewise.
13059 * math/w_atan2l.c: Likewise.
13060 * math/w_atanh.c: Likewise.
13061 * math/w_atanhf.c: Likewise.
13062 * math/w_atanhl.c: Likewise.
13063 * math/w_exp10.c: Likewise.
13064 * math/w_exp10f.c: Likewise.
13065 * math/w_exp10l.c: Likewise.
13066 * math/w_fmod.c: Likewise.
13067 * math/w_fmodf.c: Likewise.
13068 * math/w_fmodl.c: Likewise.
13069 * math/w_j0.c: Likewise.
13070 * math/w_j0f.c: Likewise.
13071 * math/w_j0l.c: Likewise.
13072 * math/w_j1.c: Likewise.
13073 * math/w_j1f.c: Likewise.
13074 * math/w_j1l.c: Likewise.
13075 * math/w_jn.c: Likewise.
13076 * math/w_jnf.c: Likewise.
13077 * math/w_log.c: Likewise.
13078 * math/w_logf.c: Likewise.
13079 * math/w_logl.c: Likewise.
13080 * math/w_log10.c: Likewise.
13081 * math/w_log10f.c: Likewise.
13082 * math/w_log10l.c: Likewise.
13083 * math/w_log2.c: Likewise.
13084 * math/w_log2f.c: Likewise.
13085 * math/w_log2l.c: Likewise.
13086 * math/w_pow.c: Likewise.
13087 * math/w_powf.c: Likewise.
13088 * math/w_powl.c: Likewise.
13089 * math/w_remainder.c: Likewise.
13090 * math/w_remainderf.c: Likewise.
13091 * math/w_remainderl.c: Likewise.
13092 * math/w_scalb.c: Likewise.
13093 * math/w_scalbf.c: Likewise.
13094 * math/w_scalbl.c: Likewise.
13095 * math/w_sqrt.c: Likewise.
13096 * math/w_sqrtf.c: Likewise.
13097 * math/w_sqrtl.c: Likewise.
13098 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13099 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13100 used.
13101 * math/math_private.h: Declare __kernel_standard_f.
13102 * math/w_cosh.c: Remove cruft and optimize a bit.
13103 * math/w_coshf.c: Likewise.
13104 * math/w_coshl.c: Likewise.
13105 * math/w_exp2.c: Likewise.
13106 * math/w_exp2f.c: Likewise.
13107 * math/w_exp2l.c: Likewise.
13108 * math/w_hypot.c: Likewise.
13109 * math/w_hypotf.c: Likewise.
13110 * math/w_hypotl.c: Likewise.
13111 * math/w_lgamma.c: Likewise.
13112 * math/w_lgamma_r.c: Likewise.
13113 * math/w_lgammaf.c: Likewise.
13114 * math/w_lgammaf_r.c: Likewise.
13115 * math/w_lgammal.c: Likewise.
13116 * math/w_lgammal_r.c: Likewise.
13117 * math/w_sinh.c: Likewise.
13118 * math/w_sinhf.c: Likewise.
13119 * math/w_sinhl.c: Likewise.
13120 * math/w_tgamma.c: Likewise.
13121 * math/w_tgammaf.c: Likewise.
13122 * math/w_tgammal.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13124 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13125 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13126 Minor optimizations. Pretty printing. Remove cruft.
13127 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13128 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13129 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13130 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13131 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13132 * sysdeps/i386/fpu/e_asin.S: Likewise.
13133 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13134 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13135 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13136 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13137 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13138 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13139 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13140 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13141 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13142 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13143 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13144 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13145 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13146 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13147 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13148 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13149 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13150 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13151 * sysdeps/i386/fpu/e_log.S: Likewise.
13152 * sysdeps/i386/fpu/e_log10.S: Likewise.
13153 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13154 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13155 * sysdeps/i386/fpu/e_log2.S: Likewise.
13156 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13157 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13158 * sysdeps/i386/fpu/e_logf.S: Likewise.
13159 * sysdeps/i386/fpu/e_logl.S: Likewise.
13160 * sysdeps/i386/fpu/e_pow.S: Likewise.
13161 * sysdeps/i386/fpu/e_powf.S: Likewise.
13162 * sysdeps/i386/fpu/e_powl.S: Likewise.
13163 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13164 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13165 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13166 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13167 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13168 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13169 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13170 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13171 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13172 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13173 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13176 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13177 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13179 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13193 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13194 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13195 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13196 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13197 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13198 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13199 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13200 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13201 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13202 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13203 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13204 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13205 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13206 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13207 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13208 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13209 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13210 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13211 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13212 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13213 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13214 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13216 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13217 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13218 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13220 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13221 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13222 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13224 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13225 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13226 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13227 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13228 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13229 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13230 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13231 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13232 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13233 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13235 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13236 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13237 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13239 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13240 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13241 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13242 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13243 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13244 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13245 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13246 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13247 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13249 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13250 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13251 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13252 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13253 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13254 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13255 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13256 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13257 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13258 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13259 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13260 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13262 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13263 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13265 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13266 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13267 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13268 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13269 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13270 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13271 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13272 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13273 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13274 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13275 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13276 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13277 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13278 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13279 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13280 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13281 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13282 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13283 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13284 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13285 (__isnanf): Likewise.
13286 (__isinf_ns): Likewise.
13287 (__isinf_nsf): Likewise.
13288 (__finite): Likewise.
13289 (__finitef): Likewise.
13290 (__ieee754_sqrt): Define as macro.
13291 (__ieee754_sqrtf): Define as macro.
13292 (__ieee754_sqrtl): Define as macro.
13293 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13294 inlined copy.
13295 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13296 __FINITE_MATH_ONLY__ consistent.
13297 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13298
12cc2fcd
AS
132992011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13300
a843a204
AS
13301 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13302 of rawmemchr.
13303
12cc2fcd
AS
13304 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13305
c853acd5
UD
133062011-10-09 Ulrich Drepper <drepper@gmail.com>
13307
13308 * po/ja.po: Update from translation team.
13309
c658d255
RM
133102011-10-08 Roland McGrath <roland@hack.frob.com>
13311
110946e4
RM
13312 * locale/programs/locarchive.c (prepare_address_space): New function.
13313 (create_archive, enlarge_archive, open_archive): Use it.
13314
50604220
RM
13315 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13316 inside [SHARED], where it is used.
13317
c658d255
RM
13318 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13319
13320 * nss/getent.c (netgroup_keys): Remove unused variable.
13321 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13322
6a621eb7
UD
133232011-10-08 Ulrich Drepper <drepper@gmail.com>
13324
7edb55ce
UD
13325 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13326 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13327 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13328 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13329 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13330 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13331 * math/Makefile (libm-calls): Add s_isinf_ns.
13332 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13333 * math/multc3.c: Likewise.
13334 * math/s_casin.c: Likewise.
13335 * math/s_casinf.c: Likewise.
13336 * math/s_casinl.c: Likewise.
13337 * math/s_ccos.c: Likewise.
13338 * math/s_ccosf.c: Likewise.
13339 * math/s_ccosl.c: Likewise.
13340 * math/s_ctan.c: Likewise.
13341 * math/s_ctanf.c: Likewise.
13342 * math/s_ctanh.c: Likewise.
13343 * math/s_ctanhf.c: Likewise.
13344 * math/s_ctanhl.c: Likewise.
13345 * math/s_ctanl.c: Likewise.
13346 * math/w_fmod.c: Likewise.
13347 * math/w_fmodf.c: Likewise.
13348 * math/w_fmodl.c: Likewise.
13349 * math/w_remainder.c: Likewise.
13350 * math/w_remainderf.c: Likewise.
13351 * math/w_remainderl.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13353 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13354 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13356 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13357 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13358 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13359 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13360
187da0ae
UD
13361 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13362 of the number.
13363 * stdio-common/printf_fphex.c: Likewise.
13364 * stdio-common/printf_size.c: Likewise.
13365
9277c064
UD
13366 * math/e_exp10.c: Include math_private.h using <...> not "...".
13367 * math/e_exp10f.c: Likewise.
13368 * math/e_exp10l.c: Likewise.
13369 * math/e_exp2l.c: Likewise.
13370 * math/e_j0l.c: Likewise.
13371 * math/e_j1l.c: Likewise.
13372 * math/e_jnl.c: Likewise.
13373 * math/e_lgammal_r.c: Likewise.
13374 * math/e_rem_pio2l.c: Likewise.
13375 * math/e_scalb.c: Likewise.
13376 * math/e_scalbf.c: Likewise.
13377 * math/e_scalbl.c: Likewise.
13378 * math/k_cosl.c: Likewise.
13379 * math/k_sinl.c: Likewise.
13380 * math/k_tanl.c: Likewise.
13381 * math/s_cacoshf.c: Likewise.
13382 * math/s_catan.c: Likewise.
13383 * math/s_catanf.c: Likewise.
13384 * math/s_catanh.c: Likewise.
13385 * math/s_catanhf.c: Likewise.
13386 * math/s_catanhl.c: Likewise.
13387 * math/s_catanl.c: Likewise.
13388 * math/s_ccosh.c: Likewise.
13389 * math/s_ccoshf.c: Likewise.
13390 * math/s_ccoshl.c: Likewise.
13391 * math/s_cexp.c: Likewise.
13392 * math/s_cexpf.c: Likewise.
13393 * math/s_cexpl.c: Likewise.
13394 * math/s_clog.c: Likewise.
13395 * math/s_clog10.c: Likewise.
13396 * math/s_clog10f.c: Likewise.
13397 * math/s_clog10l.c: Likewise.
13398 * math/s_clogf.c: Likewise.
13399 * math/s_clogl.c: Likewise.
13400 * math/s_csin.c: Likewise.
13401 * math/s_csinf.c: Likewise.
13402 * math/s_csinh.c: Likewise.
13403 * math/s_csinhf.c: Likewise.
13404 * math/s_csinhl.c: Likewise.
13405 * math/s_csinl.c: Likewise.
13406 * math/s_csqrt.c: Likewise.
13407 * math/s_csqrtf.c: Likewise.
13408 * math/s_csqrtl.c: Likewise.
13409 * math/s_ctan.c: Likewise.
13410 * math/s_ctanf.c: Likewise.
13411 * math/s_ctanh.c: Likewise.
13412 * math/s_ctanhf.c: Likewise.
13413 * math/s_ctanhl.c: Likewise.
13414 * math/s_ctanl.c: Likewise.
13415 * math/s_ldexp.c: Likewise.
13416 * math/s_ldexpf.c: Likewise.
13417 * math/s_ldexpl.c: Likewise.
13418 * math/s_significand.c: Likewise.
13419 * math/s_significandf.c: Likewise.
13420 * math/s_significandl.c: Likewise.
13421 * math/w_acos.c: Likewise.
13422 * math/w_acosf.c: Likewise.
13423 * math/w_acosh.c: Likewise.
13424 * math/w_acoshf.c: Likewise.
13425 * math/w_acoshl.c: Likewise.
13426 * math/w_acosl.c: Likewise.
13427 * math/w_asin.c: Likewise.
13428 * math/w_asinf.c: Likewise.
13429 * math/w_asinl.c: Likewise.
13430 * math/w_atan2.c: Likewise.
13431 * math/w_atan2f.c: Likewise.
13432 * math/w_atan2l.c: Likewise.
13433 * math/w_atanh.c: Likewise.
13434 * math/w_atanhf.c: Likewise.
13435 * math/w_atanhl.c: Likewise.
13436 * math/w_cosh.c: Likewise.
13437 * math/w_coshf.c: Likewise.
13438 * math/w_coshl.c: Likewise.
13439 * math/w_dremf.c: Likewise.
13440 * math/w_exp10.c: Likewise.
13441 * math/w_exp10f.c: Likewise.
13442 * math/w_exp10l.c: Likewise.
13443 * math/w_exp2.c: Likewise.
13444 * math/w_exp2f.c: Likewise.
13445 * math/w_fmod.c: Likewise.
13446 * math/w_fmodf.c: Likewise.
13447 * math/w_fmodl.c: Likewise.
13448 * math/w_hypot.c: Likewise.
13449 * math/w_hypotf.c: Likewise.
13450 * math/w_hypotl.c: Likewise.
13451 * math/w_j0.c: Likewise.
13452 * math/w_j0f.c: Likewise.
13453 * math/w_j0l.c: Likewise.
13454 * math/w_j1.c: Likewise.
13455 * math/w_j1f.c: Likewise.
13456 * math/w_j1l.c: Likewise.
13457 * math/w_jn.c: Likewise.
13458 * math/w_jnf.c: Likewise.
13459 * math/w_jnl.c: Likewise.
13460 * math/w_lgamma.c: Likewise.
13461 * math/w_lgamma_r.c: Likewise.
13462 * math/w_lgammaf.c: Likewise.
13463 * math/w_lgammaf_r.c: Likewise.
13464 * math/w_lgammal.c: Likewise.
13465 * math/w_lgammal_r.c: Likewise.
13466 * math/w_log.c: Likewise.
13467 * math/w_log10.c: Likewise.
13468 * math/w_log10f.c: Likewise.
13469 * math/w_log10l.c: Likewise.
13470 * math/w_log2.c: Likewise.
13471 * math/w_log2f.c: Likewise.
13472 * math/w_log2l.c: Likewise.
13473 * math/w_logf.c: Likewise.
13474 * math/w_logl.c: Likewise.
13475 * math/w_pow.c: Likewise.
13476 * math/w_powf.c: Likewise.
13477 * math/w_powl.c: Likewise.
13478 * math/w_remainder.c: Likewise.
13479 * math/w_remainderf.c: Likewise.
13480 * math/w_remainderl.c: Likewise.
13481 * math/w_scalb.c: Likewise.
13482 * math/w_scalbf.c: Likewise.
13483 * math/w_scalbl.c: Likewise.
13484 * math/w_sinh.c: Likewise.
13485 * math/w_sinhf.c: Likewise.
13486 * math/w_sinhl.c: Likewise.
13487 * math/w_sqrt.c: Likewise.
13488 * math/w_sqrtf.c: Likewise.
13489 * math/w_sqrtl.c: Likewise.
13490 * math/w_tgamma.c: Likewise.
13491 * math/w_tgammaf.c: Likewise.
13492 * math/w_tgammal.c: Likewise.
13493
6a621eb7
UD
13494 * po/ja.po: Update from translation team.
13495
bf582445
AJ
134962011-09-29 Andreas Jaeger <aj@suse.de>
13497
f9efbf3a
AJ
13498 [BZ #13179]
13499 * sunrpc/netname.c (netname2host): Fix logic.
13500
bf582445
AJ
13501 [BZ #6779]
13502 [BZ #6783]
13503 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13504 correctly.
13505 * math/w_remainder.c (__remainder): Likewise.
13506 * math/w_remainderf.c (__remainderf): Likewise.
13507 * math/libm-test.inc (remainder_test): Add test cases.
13508
48693bea
AK
135092011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13510
13511 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13512 sdiv_qrnnd.
13513
42622229
LD
135142011-10-07 Ulrich Drepper <drepper@gmail.com>
13515
13516 * string/test-memcmp.c: Avoid unncessary #defines.
13517 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13518
093ecf92
LD
135192011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13520
13521 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13522 Use new sse2 version for core i3 - i7 as it's faster
13523 than sse42 version.
13524 (bit_Prefer_PMINUB_for_stringop): New.
13525 * sysdeps/x86_64/rawmemchr.S: Update.
13526 Replace with faster SSE2 version.
13527 * sysdeps/x86_64/memrchr.S: New file.
13528 * sysdeps/x86_64/memchr.S: Update.
13529 Replace with faster SSE2 version.
13530
fde56e5c
MP
135312011-09-12 Marek Polacek <mpolacek@redhat.com>
13532
13533 * elf/dl-load.c (lose): Add cast to avoid warning.
13534
21fd49a9
UD
135352011-10-07 Ulrich Drepper <drepper@gmail.com>
13536
5a06e643
UD
13537 * po/ca.po: Update from translation team.
13538
684ae515
UD
13539 * inet/getnetgrent_r.c: Hook up nscd.
13540 * nscd/Makefile (routines): Add nscd_netgroup.
13541 (nscd-modules): Add netgroupcache.
13542 (CFLAGS-netgroupcache.c): Define.
13543 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13544 (cache_search): Add const to second parameter.
13545 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13546 INNETGR.
13547 (dbs): Add netgrdb entry.
13548 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13549 (verify_persistent_db): Handle netgrdb.
13550 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13551 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13552 GETFDNETGR.
13553 (netgroup_response_header): Define.
13554 (innetgroup_response_header): Define.
13555 (datahead): Add netgroup_response_header and innetgroup_response_header
13556 elements.
13557 * nscd/nscd.conf: Add entries for netgroup cache.
13558 * nscd/nscd.h (dbtype): Add netgrdb.
13559 (_PATH_NSCD_NETGROUP_DB): Define.
13560 (netgroup_iov_disabled): Declare.
13561 (xmalloc, xcalloc, xrealloc): Move declarations here.
13562 (cache_search): Adjust prototype.
13563 Add netgroup-related prototypes.
13564 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13565 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13566 (__nscd_innetgr): Declare.
13567 * nscd/selinux.c (perms): Use access_vector_t as element type and
13568 add netgroup-related initializers.
13569 * nscd/netgroupcache.c: New file.
13570 * nscd/nscd_netgroup.c: New file.
13571 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13572 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13573 For four parameters use innetgr.
13574 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13575 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13576 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13577 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13578
21fd49a9
UD
13579 * nscd/connections.c (register_traced_file): Don't register file
13580 for disabled databases.
13581
054c0457
UD
135822011-10-06 Ulrich Drepper <drepper@gmail.com>
13583
32b63198
UD
13584 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13585
054c0457
UD
13586 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13587 from tree and freeing node.
13588
64031225
JO
135892011-09-25 Jiri Olsa <jolsa@redhat.com>
13590
13591 * nss/nsswitch.c (__nss_database_lookup): Handle
13592 nss_parse_service_list out of memory case.
13593
0490345c
JO
135942011-09-15 Jiri Olsa <jolsa@redhat.com>
13595
13596 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13597 out of memory case.
13598
3a62d00d
AS
135992011-10-04 Andreas Schwab <schwab@redhat.com>
13600
13601 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13602 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13603 pass it down.
13604 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13605 elf_machine_rela, elf_machine_lazy_rel.
13606 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13607 (ELF_DYNAMIC_DO_REL): Likewise.
13608 (ELF_DYNAMIC_DO_RELA): Likewise.
13609 (ELF_DYNAMIC_RELOCATE): Likewise.
13610 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13611 to ELF_DYNAMIC_DO_REL.
13612 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13613 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13614 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13615 elf_machine_rela.
13616 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13617 skip_ifunc, don't call ifunc function if non-zero.
13618 (elf_machine_rela): Likewise.
13619 (elf_machine_lazy_rel): Likewise.
13620 (elf_machine_lazy_rela): Likewise.
13621 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13622 (elf_machine_lazy_rel): Likewise.
13623 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13624 Likewise.
13625 (elf_machine_lazy_rel): Likewise.
13626 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13627 Likewise.
13628 (elf_machine_lazy_rel): Likewise.
13629 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13630 (elf_machine_lazy_rel): Likewise.
13631 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13632 (elf_machine_lazy_rel): Likewise.
13633 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13634 (elf_machine_lazy_rel): Likewise.
13635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13636 (elf_machine_lazy_rel): Likewise.
13637 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13638 (elf_machine_lazy_rel): Likewise.
13639 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13640 (elf_machine_lazy_rel): Likewise.
13641
68577918
UD
136422011-09-28 Ulrich Drepper <drepper@gmail.com>
13643
13644 * nss/nss_files/files-init.c (_nss_files_init): Use static
13645 initialization for all the *_traced_file variables.
13646
68822d74
AS
136472011-09-28 Andreas Schwab <schwab@redhat.com>
13648
13649 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13650
2056100b
RM
136512011-09-27 Roland McGrath <roland@hack.frob.com>
13652
13653 [BZ #13226]
13654 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13655
32c76b63
AS
136562011-09-27 Andreas Schwab <schwab@redhat.com>
13657
13658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13659 Reread the line before reparsing it.
13660
bf972c9d
AS
136612011-09-26 Andreas Schwab <schwab@redhat.com>
13662
13663 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13664
e057a1b5
JM
136652011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13666 Maxim Kuvyrkov <maxim@codesourcery.com>
13667 Joseph Myers <joseph@codesourcery.com>
13668
13669 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13670 if needed for __stack_chk_guard.
13671
bc7e1c36
RM
136722011-09-19 Roland McGrath <roland@hack.frob.com>
13673
ecb1482f
RM
13674 * sysdeps/posix/spawni.c (script_execute): Always define it.
13675 It will be optimized away if unused.
13676 (maybe_script_execute): New function.
13677 (__spawni): Call it.
13678
bc7e1c36
RM
13679 * Makerules: Don't include tls.make.
13680 (config-tls): Always set to thread.
13681 * tls.make.c: File removed.
13682
1c3b002b
MF
136832011-09-19 Mike Frysinger <vapier@gentoo.org>
13684
13685 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13686 * config.make.in (CPPFLAGS-config): New substituted variable.
13687
2840865d
UD
136882011-09-15 Ulrich Drepper <drepper@gmail.com>
13689
88738eb6
UD
13690 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13691
cbf645a6 13692 [BZ #13192]
2840865d
UD
13693 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13694 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13695
b402e91a
RM
136962011-09-15 Roland McGrath <roland@hack.frob.com>
13697
13698 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13699 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13700 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13701 (CALL_FAIL): Likewise.
13702 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13703 (CALL_FAIL): Macro removed.
13704 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13705
4c1a1f71
UD
137062011-09-15 Ulrich Drepper <drepper@gmail.com>
13707
13708 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13709 for __FINITE_MATH_ONLY__ == 1.
13710
edc121be
AS
137112011-09-15 Andreas Schwab <schwab@redhat.com>
13712
13713 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13714 __ieee754_sqrt instead of sqrt.
13715 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13716 __ieee754_sqrtf instead of sqrtf.
13717 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13718 __floorf instead of floorf.
13719 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13720 __floorf, __truncf instead of floorf, truncf.
13721
cd205654
UD
137222011-09-14 Ulrich Drepper <drepper@gmail.com>
13723
ee4d0315
UD
13724 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13725
cd205654
UD
13726 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13727 __extern_always_inline.
13728 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13729 32-bit.
13730
48b67d71
AS
137312011-09-14 Andreas Schwab <schwab@redhat.com>
13732
13733 * elf/rtld.c (dl_main): Also relocate in dependency order when
13734 doing symbol dependency testing.
13735
1ae12c75
AS
137362011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13737
13738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13739 Always define `refsym'.
13740
995a80df
AS
137412011-09-13 Andreas Schwab <schwab@redhat.com>
13742
e529793b
AS
13743 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13744 (__FD_ELT): Renamed from __FDELT.
13745 * misc/bits/select2.h (__FD_ELT): Likewise.
13746 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13747 __FD_MASK instead of __FDELT, __FDMASK.
13748 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13749 Likewise.
13750 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13751 Likewise.
13752
52d4fef8
AS
13753 * elf/Makefile (gen-ldd): Fix pattern.
13754
995a80df
AS
13755 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13756 (init_tls): Likewise.
13757
8682f8b0
UD
137582011-09-12 Ulrich Drepper <drepper@gmail.com>
13759
13760 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13761
de82006d
AS
137622011-09-12 Andreas Schwab <schwab@redhat.com>
13763
a7c8e6a1
AS
13764 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13765 `struct cmsghdr *' instead of `void *'.
13766 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13767 Likewise.
13768
0f31fe77
AS
137692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13770
13771 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13772 if non-absolute.
13773 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13774 ldd_rewrite_script.
0f31fe77 13775
32b4c839
UD
137762011-09-11 Ulrich Drepper <drepper@gmail.com>
13777
83cd1420
UD
13778 * configure.in: Remove --with-tls option.
13779 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13780 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13781 out in case it is missing.
13782 * sysdeps/ia64/elf/configure.in: Likewise.
13783 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13784 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13785 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13786 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13787 * sysdeps/sh/elf/configure.in: Likewise.
13788 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13789 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13790 * sysdeps/x86_64/elf/configure.in: Likewise.
13791 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13792 * sysdeps/mach/hurd/tls.h: Likewise.
13793
633f745d
UD
13794 [BZ #13067]
13795 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13796
f318beb8
UD
13797 [BZ #13090]
13798 * configure.in: Fix use of AC_INIT.
13799
32b4c839
UD
13800 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13801
3ce1f295
UD
138022011-09-10 Ulrich Drepper <drepper@gmail.com>
13803
bb016596
UD
13804 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13805 __set_errno.
8e58439c
UD
13806 * malloc/hooks.c: Likewise.
13807
aebae053 13808 [BZ #11929]
02d46fc4
UD
13809 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13810 variables statically.
13811 (narenas): Initialize.
13812 (list_lock): Initialize.
bb016596
UD
13813 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13814 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13815 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13816 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13817 Add initializers to main_arena and mp_.
13818 (malloc_state): Remove pagesize member. Change all users to use
13819 GLRO(dl_pagesize).
13820
13821 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13822 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13823 is always initialized.
13824
22a89187
UD
13825 * malloc/malloc.c: Removed unused configurations and dead code.
13826 * malloc/arena.c: Likewise.
13827 * malloc/hooks.c: Likewise.
02d46fc4 13828 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13829
d063d164
UD
13830 * include/tls.h: Removed. USE___THREAD must always be defined.
13831 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13832 * elf/dl-libc.c: Likewise.
13833 * elf/dl-tsd.c: Likewise.
13834 * include/errno.h: Likewise.
13835 * include/netdb.h: Likewise.
13836 * include/resolv.h: Likewise.
13837 * inet/herrno-loc.c: Likewise.
13838 * inet/herrno.c: Likewise.
13839 * malloc/arena.c: Likewise.
13840 * malloc/hooks.c: Likewise.
13841 * malloc/malloc.c: Likewise.
13842 * resolv/res-state.c: Likewise.
13843 * resolv/res_libc.c: Likewise.
13844 * sysdeps/i386/dl-machine.h: Likewise.
13845 * sysdeps/ia64/dl-machine.h: Likewise.
13846 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13847 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13848 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13849 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13850 * sysdeps/sh/dl-machine.h: Likewise.
13851 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13852 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13853 * sysdeps/unix/i386/sysdep.S: Likewise.
13854 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13855 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13857 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13858 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13860 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13864 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13865 * sysdeps/x86_64/dl-machine.h: Likewise.
13866 * tls.make.c: Likewise.
13867
3ce1f295
UD
13868 * configure.in: Remove --with-__thread option. Make tests for
13869 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13870 tls_model attribute fail if no support is available. Remove
13871 USE_IN_LIBIO.
13872 * Makeconfig: Adjust for dropped configure option. All features are
13873 now mandatory.
13874 * Makerules: Likewise.
13875 * Versions.def: Likewise.
13876 * argp/argp-fmtstream.c: Likewise.
13877 * argp/argp-fmtstream.h: Likewise.
13878 * argp/argp-help.c: Likewise.
13879 * assert/assert.c: Likewise.
13880 * config.h.in: Likewise.
13881 * config.make.in: Likewise.
13882 * configure: Likewise.
13883 * configure.in: Likewise.
13884 * csu/Versions: Likewise.
13885 * csu/init.c: Likewise.
13886 * elf/tst-audit2.c: Likewise.
13887 * elf/tst-tls10.c: Likewise.
13888 * elf/tst-tls10.h: Likewise.
13889 * elf/tst-tls11.c: Likewise.
13890 * elf/tst-tls12.c: Likewise.
13891 * elf/tst-tls14.c: Likewise.
13892 * elf/tst-tlsmod11.c: Likewise.
13893 * elf/tst-tlsmod12.c: Likewise.
13894 * elf/tst-tlsmod13.c: Likewise.
13895 * elf/tst-tlsmod13a.c: Likewise.
13896 * elf/tst-tlsmod14a.c: Likewise.
13897 * elf/tst-tlsmod15b.c: Likewise.
13898 * elf/tst-tlsmod16a.c: Likewise.
13899 * elf/tst-tlsmod16b.c: Likewise.
13900 * elf/tst-tlsmod7.c: Likewise.
13901 * elf/tst-tlsmod8.c: Likewise.
13902 * elf/tst-tlsmod9.c: Likewise.
13903 * gmon/gmon.c: Likewise.
13904 * grp/fgetgrent_r.c: Likewise.
13905 * grp/putgrent.c: Likewise.
13906 * hurd/fopenport.c: Likewise.
13907 * include/libc-symbols.h: Likewise.
13908 * include/tls.h: Likewise.
13909 * intl/gettextP.h: Likewise.
13910 * intl/loadinfo.h: Likewise.
13911 * locale/global-locale.c: Likewise.
13912 * locale/localeinfo.h: Likewise.
13913 * mach/devstream.c: Likewise.
13914 * malloc/arena.c: Likewise.
13915 * malloc/set-freeres.c: Likewise.
13916 * misc/err.c: Likewise.
13917 * misc/getttyent.c: Likewise.
13918 * misc/mntent_r.c: Likewise.
13919 * posix/getopt.c: Likewise.
13920 * posix/wordexp.c: Likewise.
13921 * pwd/fgetpwent_r.c: Likewise.
13922 * resolv/Versions: Likewise.
13923 * resolv/res_hconf.c: Likewise.
13924 * shadow/fgetspent_r.c: Likewise.
13925 * shadow/putspent.c: Likewise.
13926 * stdio-common/printf_fphex.c: Likewise.
13927 * stdio-common/tmpfile.c: Likewise.
13928 * stdlib/abort.c: Likewise.
13929 * stdlib/fmtmsg.c: Likewise.
13930 * sunrpc/auth_unix.c: Likewise.
13931 * sunrpc/clnt_perr.c: Likewise.
13932 * sunrpc/clnt_tcp.c: Likewise.
13933 * sunrpc/clnt_udp.c: Likewise.
13934 * sunrpc/clnt_unix.c: Likewise.
13935 * sunrpc/openchild.c: Likewise.
13936 * sunrpc/svc_simple.c: Likewise.
13937 * sunrpc/svc_tcp.c: Likewise.
13938 * sunrpc/svc_udp.c: Likewise.
13939 * sunrpc/svc_unix.c: Likewise.
13940 * sunrpc/xdr.c: Likewise.
13941 * sunrpc/xdr_array.c: Likewise.
13942 * sunrpc/xdr_rec.c: Likewise.
13943 * sunrpc/xdr_ref.c: Likewise.
13944 * sunrpc/xdr_stdio.c: Likewise.
13945
1248c1c4
PB
139462011-09-09 Ulrich Drepper <drepper@gmail.com>
13947
13948 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13949
139502011-07-03 Andreas Jaeger <aj@suse.de>
13951
13952 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13953 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13954 regenerate with gen-libm-tests.pl.
13955
139562010-05-12 Petr Baudis <pasky@suse.cz>
13957
13958 [BZ #11589]
13959 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13960 around j0() zero points by switching to j1().
13961 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13965
f22e1074
UD
139662011-09-09 Ulrich Drepper <drepper@gmail.com>
13967
f19009c1
UD
13968 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13969 instead of 0.
13970 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13971 instead of 0. .
13972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13973 Patch in part by Pavel Roskin <proski@gnu.org>.
13974
3f8cc204
UD
13975 [BZ #13138]
13976 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13977 realloc.
13978 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13979 Free memory block if necessary.
13980
f22e1074
UD
13981 [BZ #12847]
13982 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13983 be NULL. Don't lock in this case.
13984
0a2349f9
RM
139852011-09-09 Roland McGrath <roland@hack.frob.com>
13986
13987 * elf/elf.h (ELFOSABI_GNU): New macro.
13988 (ELFOSABI_LINUX): Define to that.
13989
f3cdd467
DZ
139902011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13991
13992 * string/strncat.c (strncat): Undef the symbol in case it has been
13993 defined in bits/string.h.
13994
74718d13
UD
139952011-09-09 Ulrich Drepper <drepper@gmail.com>
13996
633e9e0f
UD
13997 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13998
0a2349f9 13999 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14000 link map.
14001
f9924780
AJ
140022011-08-17 Andreas Jaeger <aj@suse.de>
14003
14004 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14005
7f5517aa
PP
140062011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14007 Ian Lance Taylor <iant@google.com>
14008
14009 * math/libm-test.inc (lround_test): New testcase.
14010 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14011
762011fe
UD
140122011-09-08 Ulrich Drepper <drepper@gmail.com>
14013
92963737
UD
14014 * Makefile: Remove support for automatic cvs check-ins.
14015 * Makerules: Likewise.
14016 * config.make.in: Likewise.
14017 * configure.in: Likewise.
14018 * intl/Makefile: Likewise.
14019 * locale/Makefile: Likewise.
14020 * po/Makefile: Likewise.
14021 * posix/Makefile: Likewise.
14022 * sysdeps/gnu/Makefile: Likewise.
14023 * sysdeps/mach/hurd/Makefile: Likewise.
14024 * sysdeps/sparc/sparc32/Makefile: Likewise.
14025
b0727fd8
JS
14026 [BZ #13118]
14027 * posix/Makefile (bug-regex32-ENV): Define.
14028 Patch by John Stanley <jpsinthemix@verizon.net>.
14029
a0f33f99
UD
14030 * misc/Makefile (headers): Add bits/select2.h.
14031 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14032 * misc/bits/select2.h: New file.
14033 * include/bits/select2.h: New file.
14034 * debug/Makefile (routines): Add fdelt_chk.
14035 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14036 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14037 FD_ISSET.
14038 * debug/fdelt_chk.c: New file.
14039
762011fe
UD
14040 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14041 * wcsmbs/test-wmemcmp.c: Likewise.
14042 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14043 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14044
140452011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14046
14047 * string/Makefile (strop-tests): Add memcmp.
14048 * string/test-wmemcmp.c: New file.
14049 * string/test-memcmp.c: Add wmemcmp support.
14050
7f513ec8
RM
140512011-09-08 Roland McGrath <roland@hack.frob.com>
14052
0442afb4
RM
14053 [BZ #13153]
14054 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14055 2011-07-19 change.
14056
7f513ec8
RM
14057 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14058 garbage value in a __mach_port_mod_refs call in the cases of the
14059 task-self and thread-self ports.
14060
a12b2239
ST
140612011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14062
14063 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14064
610f9ab4
AS
140652011-09-08 Andreas Schwab <schwab@redhat.com>
14066
7f513ec8 14067 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14068
48882a1a
LD
140692011-09-07 Ulrich Drepper <drepper@gmail.com>
14070
b49865be
UD
14071 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14072
fdc86bc9
UD
14073 * elf/dl-libc.c (dlerror_run): Pass back error code from
14074 dl_catch_error.
14075
c966526a
UD
14076 [BZ #13123]
14077 * elf/dl-load.c (lose): Free l_origin if it is valid.
14078
48882a1a
LD
14079 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14080 names.
14081 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14082 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14083 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14084 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14085 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14086 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14087
77a2a8b4
AZ
140882011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14089
14090 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14091 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14092 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14093 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14094 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14095 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14096 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14097 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14098 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14099 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14100
24f579d8
AM
141012011-08-15 Alan Modra <amodra@gmail.com>
14102
14103 [BZ #13092]
14104 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14105 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14106 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14107 ppc_mcount to static-only-routines.
14108 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14109 __mcount_internal.
14110 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14111 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14112
3d4837df
UD
141132011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14114
14115 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14116 for finite and infinity parameters.
14117
22700377
WS
141182011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14119
14120 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14121 and add nop instructions for throughput optimization.
14122 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14123
5025581e
WS
141242011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14125
14126 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14127 aligned copy for power7 with vector-scalar instructions.
14128 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14129
08a300c9
L
141302011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14131
14132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14133 AVX check.
14134
59178ef9
AS
141352011-09-07 Andreas Schwab <schwab@redhat.com>
14136
14137 [BZ #13144]
14138 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14139 last change.
14140
e38ba7ab
UD
141412011-09-07 Ulrich Drepper <drepper@gmail.com>
14142
14143 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14144 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14145 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14146 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14147 clock_gettime.
14148
d53a73ac
UD
141492011-09-06 Ulrich Drepper <drepper@gmail.com>
14150
fc8bffcc
UD
14151 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14152 Forgot to demangle the pointer.
14153
ceaa0c5d
UD
14154 * sysdeps/i386/sysdep.h: Define atom_text_section.
14155 * sysdeps/x86_64/sysdep.h: Likewise.
14156 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14157 section with atom_text_section.
14158 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14159 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14160 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14161 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14162 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14163
a77d3c17
UD
14164 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14165 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14166 already be defined. Change to take two parameters and don't assign
14167 result to variable. Adjust all users.
14168 Define INTERNAL_GETTIME if not already defined.
14169 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14170 call.
14171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14172 HAVE_CLOCK_GETTIME_VSYSCALL.
14173 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14174
d53a73ac
UD
14175 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14176 gettimeofday vsyscall, just use time.
14177
a8f84144
AS
141782011-09-06 Andreas Schwab <schwab@redhat.com>
14179
14180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14181 <errno.h>.
14182
ef606249
UD
141832011-09-06 Ulrich Drepper <drepper@gmail.com>
14184
14185 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14186 syscall on x86-64.
14187 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14188 syscall.
14189 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14190 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14191 syscall if possible.
14192
6585cb60
UD
141932011-09-05 Ulrich Drepper <drepper@gmail.com>
14194
14195 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14196 e_ident. Don't pass to find_mapsXX.
14197 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14198
a5f524e4
LD
141992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14200
14201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14202 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14203 * sysdeps/x86_64/multiarch/strchr.S: Update.
14204 Check bit_slow_BSF bit.
14205 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14206 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14207 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14208
554881ef
UD
142092011-09-05 Ulrich Drepper <drepper@gmail.com>
14210
d96de963
UD
14211 [BZ #13134]
14212 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14213 before glibc 2.15.
14214 (tryshell): Define.
14215 (__spawni): Change last parameter to be flag. Test
14216 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14217 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14218 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14219 * posix/spawni.c: Likewise.
14220 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14221 * posix/spawnp.c: Likewise. Change normal version to use
14222 SPAWN_XFLAGS_USE_PATH.
14223 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14224 SPAWN_XFLAGS_TRY_SHELL.
14225
d48e5868
UD
14226 [BZ #13150]
14227 * posix/glob.h: Remove gcc 1.x support.
14228
554881ef
UD
14229 [BZ #13068]
14230 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14231
693fb948
LD
142322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14233
14234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14235 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14236 strrchr-sse2-bsf
14237 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14238 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14239 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14240 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14241 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14242 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14243
1b48c537
UD
142442011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14245
49d42c37
UD
14246 * sysdeps/x86_64/wcscmp.S: New file.
14247
1b48c537
UD
14248 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14249 wcscmp-c wcscmp-sse2
14250 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14251 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14252 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14253 * wcsmbs/wcscmp.c: Allow renaming.
14254
15c95c5d
DM
142552011-09-05 David S. Miller <davem@davemloft.net>
14256
14257 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14258 stack slot, rather than the struct return pointer slot.
14259 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14260 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14262 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14263
2f0ad8f3
UD
142642011-09-05 Ulrich Drepper <drepper@gmail.com>
14265
d88ae418
UD
14266 * po/ja.po: Update from translation team.
14267
2f0ad8f3
UD
14268 [BZ #13144]
14269 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14270 kernel in 64-bit binaries.
14271
5f4318d1
DM
142722011-09-01 David S. Miller <davem@davemloft.net>
14273
14274 * elf/elf.h (HWCAP_SPARC_*): Move to..
14275 * sysdeps/sparc/sysdep.h: this new file and add new values.
14276 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14277 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14278 _DL_HWCAP_COUNT to 24.
14279 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14280 entries.
14281 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14282 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14283 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14285 instead of magic constants.
14286 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14287
3ba57516
DM
142882011-08-31 David S. Miller <davem@davemloft.net>
14289
14290 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14292 Reimplement to do errno handling inline.
14293 (SYSCALL_ERROR_HANDLER): New macro.
14294 (__SYSCALL_STRING): Do not do errno handling in asm.
14295 (__CLONE_SYSCALL_STRING): Delete.
14296 (__INTERNAL_SYSCALL_STRING): Delete.
14297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14298 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14299 (PSEUDO): Reimplement to do errno handling inline.
14300 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14301 (SYSCALL_ERROR_HANDLER): New macro.
14302 (__SYSCALL_STRING): Do not do errno handling in asm.
14303 (__CLONE_SYSCALL_STRING): Delete.
14304 (__INTERNAL_SYSCALL_STRING): Delete.
14305 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14306 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14307 i386.
14308 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14309 (inline_syscall*): Add 'err' argument.
14310 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14311 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14312 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14313 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14314
14315 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14316 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14317
2bc17433
AS
143182011-08-30 Andreas Schwab <schwab@redhat.com>
14319
14320 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14321
fbeb5f4d
JO
143222011-08-29 Jiri Olsa <jolsa@redhat.com>
14323
14324 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14325 directive.
14326
ad69cc26
DM
143272011-08-24 David S. Miller <davem@davemloft.net>
14328
14329 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14330
39dd69df
AS
143312011-08-24 Andreas Schwab <schwab@redhat.com>
14332
14333 * elf/Makefile: Add rules to build and run unload8 test.
14334 * elf/unload8.c: New file.
14335 * elf/unload8mod1.c: New file.
14336 * elf/unload8mod1x.c: New file.
14337 * elf/unload8mod2.c: New file.
14338 * elf/unload8mod3.c: New file.
14339
14340 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14341 it wasn't used.
14342
2c0b250a
DM
143432011-08-23 David S. Miller <davem@davemloft.net>
14344
14345 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14346 subtract stack bias.
14347 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14348 %sp not %fp in calculations.
14349 (_JMPBUF_UNWINDS_ADJ): Likewise.
14350
22044b48
DM
14351 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14352 (aio_suspend): Call it to force an exception region around the
14353 AIO_MISC_WAIT() invocation.
14354
2cae4995
AS
143552011-08-23 Andreas Schwab <schwab@redhat.com>
14356
14357 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14358 backslash.
14359
873a772e
AJ
143602011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14361
14362 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14363 protection macro.
14364 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14365 and <dl-machine.h>.
14366 (Elf64_FuncDesc): Remove.
14367
25ad0df1
DM
143682011-08-22 David S. Miller <davem@davemloft.net>
14369
14370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14371 sigaltstack check, add missing cfi directives.
14372 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14373 missing cfi directives, and sigaltstack handling.
14374
e888bcbe
AS
143752011-08-16 Andreas Schwab <schwab@redhat.com>
14376
14377 [BZ #11724]
14378 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14379 object is seen twice.
14380 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14381
14382 * elf/Makefile (distribute): Add tst-initorder2.c.
14383 (tests): Add tst-initorder2.
14384 (modules-names): Add tst-initorder2a tst-initorder2b
14385 tst-initorder2c tst-initorder2d. Add rules to build them.
14386 ($(objpfx)tst-initorder2.out): New rule.
14387 * elf/tst-initorder2.c: New file.
14388 * elf/tst-initorder2.exp: New file.
14389
87162f46
AS
143902011-08-22 Andreas Schwab <schwab@redhat.com>
14391
70538b7f
AS
14392 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14393
f55ffe58
AS
14394 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14395 dependencies back to end of function.
14396
87162f46
AS
14397 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14398 $(elfobjdir)/ld.so.
14399
91b392a4
UD
144002011-08-21 Ulrich Drepper <drepper@gmail.com>
14401
14402 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14403 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14405 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14406 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14407 of __vdso_gettimeofday.
14408 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14409 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14410 attribute_hidden.
14411 (_libc_vdso_platform_setup): Remove initialization of
14412 __vdso_gettimeofday and __vdso_time.
14413
5c43483f
UD
144142011-08-20 Ulrich Drepper <drepper@gmail.com>
14415
775a77e7
UD
14416 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14417 and fgetc_unlocked.
14418 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14419 getc_unlocked.
89f447ed 14420
49c74ba9
UD
14421 * elf/dl-open.c (add_to_global): Report additions to the global scope
14422 for LD_DEBUG=scopes.
14423 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14424 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14425
5c43483f
UD
14426 [BZ #13114]
14427 * stdio-common/Makefile (tests): Add bug24.
14428 * stdio-common/bug24.c: New file.
14429
a101b025
AJ
144302011-08-19 Andreas Jaeger <aj@suse.de>
14431
14432 [BZ #13114]
14433 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14434 non-existant file when using close-on-exec mode.
14435
c88f1766
UD
144362011-08-20 Ulrich Drepper <drepper@gmail.com>
14437
0276a718
UD
14438 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14439 the very first instruction.
14440
c88f1766
UD
14441 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14442 the CFI state in the end.
14443 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14444 inclusion of dl-trampoline.h.
14445 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14446
51ccffa0
AS
144472011-08-19 Andreas Schwab <schwab@redhat.com>
14448
94d7165f
AS
14449 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14450 expectations for long double.
14451
51ccffa0
AS
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14453 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14454
fd708658 144552011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14456
14457 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14458 artificual limit depends upon the system page size.
14459
44f0a71e
UD
144602011-08-17 Ulrich Drepper <drepper@gmail.com>
14461
14462 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14463 * resolv/Makefile: Define CFLAGS-libresolv.
14464
8de79a24
AS
144652011-08-17 Andreas Schwab <schwab@redhat.com>
14466
14467 * nss/makedb.c (compute_tables): Make variables used in nested
14468 function static.
14469
27724598
UD
144702011-08-17 Ulrich Drepper <drepper@gmail.com>
14471
c5305d88
UD
14472 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14473 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14474 if buffer was too small.
14475
27724598
UD
14476 * elf/pldd.c (main): Attach to all threads in the process.
14477 Rewrite /proc handling to use *at functions.
14478
076fe015
UD
144792011-08-16 Ulrich Drepper <drepper@gmail.com>
14480
174baab3
UD
14481 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14482 specifies first scope to show.
14483 (dl_open_worker): Update callers. Move printing scope of new
14484 object to before the relocation.
44f0a71e 14485 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14486 * sysdeps/generic/ldsodefs.h: Update declaration.
14487
076fe015
UD
14488 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14489 string for the scope number.
14490
a60df2c3
UD
144912011-08-14 Ulrich Drepper <drepper@gmail.com>
14492
14493 * nscd/servicescache.c (cache_addserv): Make sure written is always
14494 initialized.
14495
5e4287d1
RM
144962011-08-14 Roland McGrath <roland@hack.frob.com>
14497
85ae0589
RM
14498 * sysdeps/i386/i486/bits/atomic.h
14499 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14500 statement expression, so as to suppress "set but not used" warning.
14501 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14502
69f63097
RM
14503 * string/strncat.c (STRNCAT): Use prototype definition.
14504
675456ef
RM
14505 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14506 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14507 -Iprograms here.
14508 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14509 (localedef-modules): Add localedef.
14510 (locale-modules): Add locale.
14511
5e4287d1
RM
14512 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14513 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14514 to avoid a warning.
14515
9c96ff23
DM
145162011-08-14 David S. Miller <davem@davemloft.net>
14517
14518 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14519 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14520
f9ddf089
UD
145212011-08-13 Ulrich Drepper <drepper@gmail.com>
14522
44f0a71e 14523 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14524 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14525 * elf/rtld.c (dl_main): Set l_name of vDSO.
14526 Call _dl_show_scope when DL_DEBUG_SCOPES.
14527 (process_dl_debug): Recognize scopes flag and also set it for all.
14528 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14529 Declare _dl_show_scope.
14530
1dc27704
UD
14531 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14532 (do_dlopen): Pass caller_dlopen to dl_open.
14533 (__libc_dlopen_mode): Initialize caller_dlopen.
14534
f9ddf089
UD
14535 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14536 of libc. Make tolower call locale-independent. Optimize a bit by
14537 using isdigit instead of isalnum.
14538 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14539
9ac533d3
UD
145402011-08-12 Ulrich Drepper <drepper@gmail.com>
14541
14542 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14543 was a dependency or dynamically loaded.
14544
89edf2e9
UD
145452011-08-11 Ulrich Drepper <drepper@gmail.com>
14546
8e999d29
UD
14547 * intl/l10nflist.c: Allow architecture-specific pop function.
14548 * sysdeps/x86_64/l10nflist.c: New file.
14549
89edf2e9
UD
14550 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14551 classification.
14552
14d96785
AS
145532011-08-10 Andreas Schwab <schwab@redhat.com>
14554
14555 * include/dirent.h: Add libc_hidden_proto for scandirat and
14556 scandirat64. Don't declare __scandirat64.
14557 * dirent/scandirat.c: Add libc_hidden_def.
14558 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14559 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14560
6761ac04
DM
145612011-08-10 David S. Miller <davem@davemloft.net>
14562
14563 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14564 enum.
14565 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14566 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14567 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14568
c55fbd1e
UD
145692011-08-09 Ulrich Drepper <drepper@gmail.com>
14570
14571 * Versions.def [libc]: Add GLIBC_2.15.
14572 * dirent/Makefile (routines): Add scandirat and scandirat64.
14573 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14574 GLIBC_2.15.
14575 * dirent/dirent.h: Declare scandirat and scandirat64.
14576 * dirent/scandirat.c: New file.
14577 * dirent/scandirat64.c: New file.
14578 * sysdeps/wordsize-64/scandirat.c: New file.
14579 * sysdeps/wordsize-64/scandirat64.c: New file.
14580 * dirent/opendir.c: Define opendirat.
14581 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14582 using scandirat.
14583 * dirent/scandir64.c: Adjust for scandir.c change.
14584 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14585 __scandirat64, and __scandir_cancel_handler.
14586 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14587 additional parameter and use openat instead of open (outside of ld.so).
14588 Add new __opendir as wrapper around __opendirat.
14589 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14590 here without requiring old scandirat implementation.
14591
879165f2
UD
145922011-08-08 Ulrich Drepper <drepper@gmail.com>
14593
14594 * dirent/scandir.c (cancel_handler): Renamed to
14595 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14596 defined. Adjust users.
14597 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14598 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14599
cb7e923b
UD
146002011-08-04 Ulrich Drepper <drepper@gmail.com>
14601
16292edd
UD
14602 * string/test-string.h (IMPL): Use __STRING to expand name and then
14603 stringify it.
14604
cb7e923b
UD
14605 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14606 of cleanups.
14607
cff82933
LD
146082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14609
14610 * string/Makefile: Update.
14611 (strop-tests): Append strncat.
14612 * string/test-wcscmp.c: New file.
14613 New comprehensive test for wcscmp.
14614 * string/test-strcmp.c: Update.
14615 (WIDE): New define.
14616
9be9bfcc
AS
146172011-07-22 Andreas Schwab <schwab@redhat.com>
14618
14619 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14620 line.
14621
2e96f1c7
AS
146222011-07-26 Andreas Schwab <schwab@redhat.com>
14623
14624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14625 encoding to ACE if AI_IDN.
14626
85188888
JJ
146272011-08-01 Jakub Jelinek <jakub@redhat.com>
14628
14629 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14630 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14631
5fa16e9b
LD
146322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14633
14634 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14635 Fix overflow bug in strncat.
14636 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14637
14638 * string/test-strncat.c: Update.
14639 Add new tests for checking overflow bugs.
14640
146412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14642
14643 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14644 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14645 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14646 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14647 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14648 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14649 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14650 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14651 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14652
14653 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14654 (USE_AS_STRCAT): Define.
14655 Add strcat and strncat support.
14656 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14657
8c1a459f
AS
146582011-07-25 Andreas Schwab <schwab@redhat.com>
14659
14660 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14661 __n bigger than INT_MAX+1.
14662 (__strncmp_g): Likewise.
14663
bba33c28
UD
146642011-07-23 Ulrich Drepper <drepper@gmail.com>
14665
798be72d
UD
14666 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14667 * libio/stido.h: Likewise.
14668
8accd4dc
UD
14669 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14670 (AF_NFC): Define.
14671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14672 (AF_NFC): Define.
14673
cbff0d96
UD
14674 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14675 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14676 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14677 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14678 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14679
9191c04a
UD
14680 [BZ #13021]
14681 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14682 installed.
14683
bba33c28
UD
14684 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14685 typo.
14686 (_dl_x86_64_save_sse): Likewise.
14687
90f139dd
UD
146882011-07-22 Ulrich Drepper <drepper@gmail.com>
14689
1aae088a
UD
14690 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14691 OSXSAVE.
14692 (_dl_x86_64_save_sse): Likewise.
14693
8e2045f5
UD
14694 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14695
90f139dd
UD
14696 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14697
1d002f25
AS
146982011-07-21 Andreas Schwab <schwab@redhat.com>
14699
14700 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14701 change.
14702 (_dl_x86_64_save_sse): Use correct AVX check.
14703
21137f89
UD
147042011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14705
14706 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14707 bug in strncpy/strncat.
14708 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14709
a65c0b7a
UD
147102011-07-21 Ulrich Drepper <drepper@gmail.com>
14711
14712 * string/tester.c (test_strcat): Add tests for different alignments
14713 of source and destination.
14714 (test_strncat): Likewise.
14715
6986b98a
UD
147162011-07-20 Ulrich Drepper <drepper@gmail.com>
14717
90bb2039
UD
14718 [BZ #12852]
14719 * posix/glob.c (glob): Check passed in values before using them in
14720 expressions to avoid some overflows.
14721 (glob_in_dir): Likewise.
14722
5644ef54
UD
14723 [BZ #13007]
14724 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14725 check for AVX enablement so that we don't crash with old kernels and
14726 new hardware.
14727 * elf/tst-audit4.c: Add same checks here.
14728 * elf/tst-audit6.c: Likewise.
14729
14730 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14731
bfc9dc9b
AS
147322011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14733
14734 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14735
702e64bb
UD
147362011-07-20 Ulrich Drepper <drepper@gmail.com>
14737
14738 * po/cs.po: Update from translation team.
14739 * po/bg.po: Likewise.
14740
295e904f
MP
147412011-07-12 Marek Polacek <mpolacek@redhat.com>
14742
14743 * misc/sys/cdefs.h: Add support for const attribute.
14744 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14745 to gnu_dev_{major,minor,makedev} functions.
14746
3ff94596
MP
147472011-07-20 Marek Polacek <mpolacek@redhat.com>
14748
14749 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14750
28b59fca
AS
147512011-07-20 Andreas Schwab <schwab@redhat.com>
14752
14753 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14754 strlen results.
14755
19df733e
AK
147562011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14757
14758 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14759 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14760 register in order to avoid conflicts with the soft frame pointer
14761 being held in r11 when necessary.
14762 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14763 (INTERNAL_VSYSCALL_NCS): Likewise.
14764
c8835729
MP
147652011-07-14 Marek Polacek <mpolacek@redhat.com>
14766
14767 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14768 * elf/dl-fini.c (_dl_fini): Adjust caller.
14769 * elf/dl-close.c (_dl_close_worker): Likewise.
14770 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14771
b902330c
MP
147722011-07-15 Marek Polacek <mpolacek@redhat.com>
14773
8991e135
MP
14774 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14775 "aux_cache->nlibs < 0".
14776
b902330c
MP
14777 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14778 in the reload-count case.
14779
99710781
LD
147802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14781
14782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14783 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14784 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14785 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14786 * sysdeps/x86_64/multiarch/strcat.S: New file.
14787 * sysdeps/x86_64/multiarch/strncat.S: New file.
14788 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14789 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14790 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14791 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14792 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14793 (USE_AS_STRCAT): Define.
14794 Add strcat and strncat support.
14795 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14796 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14797 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14798 * string/strncat.c: Update.
14799 (USE_AS_STRNCAT): Define.
14800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14801 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14802 and i7.
14803 * sysdeps/x86_64/multiarch/init-arch.h
14804 (bit_Prefer_PMINUB_for_stringop): New.
14805 (index_Prefer_PMINUB_for_stringop): Likewise.
14806 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14807 bit_Prefer_PMINUB_for_stringop.
14808
7dc6bd90
UD
148092011-07-19 Ulrich Drepper <drepper@gmail.com>
14810
14811 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14812 buffer64.
14813 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14814 of casting of buffer.
14815 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14816 buffer32 and buffer64.
14817 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14818 writes instead of casting of buffer.
14819 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14820 buffer32.
14821 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14822 casting of buffer.
14823
e0e72284
AS
148242011-07-19 Andreas Schwab <schwab@redhat.com>
14825
14826 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14827
feb1eb0b
UD
148282011-07-19 Ulrich Drepper <drepper@gmail.com>
14829
14830 * nscd/nscd.c (termination_handler): Don't do anything for a database
14831 if it has not yet been initialized.
14832
298711ff
UD
148332011-07-18 Ulrich Drepper <drepper@gmail.com>
14834
14835 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14836
148372011-07-15 Marek Polacek <mpolacek@redhat.com>
14838
14839 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14840
f9d68389
UD
148412011-07-18 Ulrich Drepper <drepper@gmail.com>
14842
14843 * po/nl.po: Update from translation team.
14844 * po/sv.po: Likewise.
14845
db290cf5
RM
148462011-07-16 Roland McGrath <roland@hack.frob.com>
14847
14848 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14849 now disallowed by GCC.
5c550700 14850
fd5e21c7
RM
14851 * configure.in (use-default-link): Default to yes if a test -shared
14852 link meets our qualifications.
14853 * configure: Regenerated.
14854
5c550700
RM
14855 * config.make.in (output-format): New variable.
14856 * configure.in: Check for ld --print-output-format support.
14857 * configure: Regenerated.
14858 * Makerules ($(common-objpfx)format.lds)
14859 [$(output-format) != unknown]: Just use $(output-format),
14860 instead of the linker-script munging.
14861
9fa2c032
RM
148622011-07-14 Roland McGrath <roland@hack.frob.com>
14863
a6928d51
RM
14864 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14865 of $(common-objpfx)shlib.lds.
14866 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14867
661607b3
RM
14868 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14869 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14870
9fa2c032
RM
14871 * configure.in (-z relro check): Adjust test code to add a large
14872 writable data section after it.
14873 * configure: Regenerated.
14874
defe9061
RM
148752011-07-11 Roland McGrath <roland@hack.frob.com>
14876
14877 * configure.in (-z relro check): Fix test code to make the variable
14878 truly const.
14879 * configure: Regenerated.
14880
319b9ad4
UD
148812011-07-11 Ulrich Drepper <drepper@gmail.com>
14882
14883 * nscd/nscd.h (struct traced_file): Define.
14884 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14885 elements. Add traced_files.
14886 (inotify_fd): Declare.
14887 (register_traced_file): Declare.
14888 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14889 (inotify_fd): Export.
14890 (resolv_conf_descr): Remove.
14891 (nscd_init): Move inotify descriptor creation to main.
14892 Don't register files for notification here.
14893 (register_traced_file): New function.
14894 (invalidate_cache): Don't use reset_res to determine whether to call
14895 res_init, go through the list of registered files.
14896 (main_loop_poll): The inotify descriptors are now stored in the
14897 structures for the traced files.
14898 (main_loop_epoll): Likewise
14899 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14900 to __nss_disable_nscd.
14901 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14902 for a database anymore. Check the records for all the registered
14903 files instead.
14904 * nss/Makefile (libnss_files-routines): Add files-init.
14905 (libnss_db-routines): Add db-init.
14906 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14907 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14908 * nss/nss_db/db-init.c: New file.
14909 * nss/nss_files/files-init.c: New file.
14910 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14911 __nss_lookup_function.
14912 (__nss_lookup_function): Call nss_load_library.
14913 (nss_load_all_libraries): New function.
14914 (__nss_disable_nscd): Take parameter with callback function for files
14915 to register. Set is_nscd. Load all the DSOs for the NSS modules
14916 used for the cached services.
14917 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14918 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14919 options for features to all the files in nscd.
14920
14921 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14922
23bee3e8
RM
149232011-07-10 Roland McGrath <roland@hack.frob.com>
14924
14925 * csu/elf-init.c (__libc_csu_init): Comment typo.
14926
46a5b7f0
UD
149272011-07-09 Ulrich Drepper <drepper@gmail.com>
14928
14929 * po/pl.po: Update from translation team.
14930 * po/ja.po: Likewise.
14931 * po/ru.po: Likewise.
14932 * po/ko.po: Likewise.
14933 * po/fr.po: Likewise.
14934
d30cf5bb
RM
149352011-07-09 Roland McGrath <roland@hack.frob.com>
14936
113ddea4
RM
14937 * configure.in (.ctors/.dtors header and trailer check):
14938 Use an empirical test on a built program.
14939 * configure: Regenerated.
14940
574920b4
RM
14941 * configure.in (-z relro check): Use an empirical test on a built DSO.
14942 Detect, but do not require, on ia64.
14943 * configure: Regenerated.
14944
d30cf5bb
RM
14945 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14946 Update tests that use readelf to use $READELF instead.
14947 * configure: Regenerated.
14948
8538fdb3
UD
149492011-07-08 Ulrich Drepper <drepper@gmail.com>
14950
14951 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14952 if the result is not used.
14953
04d08991
AJ
149542011-07-05 Andreas Jaeger <aj@suse.de>
14955
14956 [BZ#9696]
14957 * stdlib/tst-strtod.c: Add testcase.
14958
de283087
AD
149592011-07-07 Ulrich Drepper <drepper@gmail.com>
14960
4e5f31c8 14961 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14962 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14963 The latter has a higher limit. Take additional parameter to pass to
14964 the new function.
14965 (__pathconf): Pass file to __statfs_link_max.
14966 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14967 __statfs_link_max.
14968 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14969 __statfs_link_max.
14970
de283087
AD
14971 [BZ #12868]
14972 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14973 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14974 Handle Lustre.
14975 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14976 (__statfs_filesize_max): Likewise.
14977 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14978
c75fa153
AJ
149792011-07-05 Andreas Jaeger <aj@suse.de>
14980
14981 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14982
1a544854
UD
149832011-07-06 Marek Polacek <mpolacek@redhat.com>
14984
14985 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14986 `status' variable.
14987 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14988 Likewise.
14989
6f0eec67
UD
149902011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14991
14992 * Makefile (strop-tests): Add strncat.
14993 * string/test-strncat.c: New file.
14994
aae30307
UD
149952011-06-30 Marek Polacek <mpolacek@redhat.com>
14996
14997 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14998
c0cfb5eb
UD
149992011-06-21 Andreas Jaeger <aj@suse.de>
15000
15001 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15002 Copy rule from iconvdata/Makefile.
15003
01636b21
UD
150042011-07-06 Ulrich Drepper <drepper@gmail.com>
15005
15006 [BZ #12922]
15007 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15008 but no long options are defined, just return 'W'.
15009
9895c8bc
UD
150102011-06-22 Marek Polacek <mpolacek@redhat.com>
15011
15012 [BZ #9696]
15013 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15014
5d4cf042
UD
150152011-07-06 Ulrich Drepper <drepper@gmail.com>
15016
15017 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15018 netgroups to read.
960e5535 15019 (innetgr): Likewise.
5d4cf042 15020
751eb97e
RM
150212011-07-05 Roland McGrath <roland@hack.frob.com>
15022
15023 * config.make.in (install_root): Default to $(DESTDIR).
15024
f15f1e45
UD
150252011-07-05 Ulrich Drepper <drepper@gmail.com>
15026
15027 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15028
4e34ac6a
RM
150292011-07-02 Roland McGrath <roland@hack.frob.com>
15030
5e9b6af4
RM
15031 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15032
84f9ea0f
RM
15033 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15034 containing directory rather than embedding absolute directory names.
15035
ea5ee9f7
RM
15036 * scripts/check-local-headers.sh: Rewritten using awk.
15037 Match by word, not by line. Print error messages for matches.
15038 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15039
1b74661a
RM
15040 * Makerules [shlib-lds-flags empty]:
15041 ($(common-objpfx)libc_pic.opts): New target.
15042 ($(common-objpfx)libc_pic.os.clean): New target.
15043 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15044
15045 * config.make.in (OBJCOPY): New variable.
15046 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15047 * configure: Regenerated.
15048
f781ef40
RM
15049 * config.make.in (use-default-link): New variable.
15050 * configure.in (use_default_link): Grok --with-default-link to set it.
15051 * configure: Regenerated.
15052 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15053 (shlib-lds, shlib-lds-flags): Define to empty.
15054
2d4fa81e
RM
15055 * Makerules (shlib-lds): New variable.
15056 (shlib-lds-flags): New variable.
15057 (build-shlib, build-moduile, build-module-asneeded): Use it.
15058 ($(common-objpfx)libc.so): Use $(shlib-lds).
15059 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15060 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15061
31fffa6b
RM
15062 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15063 DT_FLAGS/DT_FLAGS_1 with zero flags.
15064
4e34ac6a
RM
15065 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15066 linker script munging.
15067
fcfc776b
UD
150682011-07-02 Ulrich Drepper <drepper@gmail.com>
15069
15070 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15071 as 128-bit value.
15072 * crypt/sha512.c (sha512_process_block): Perform total addition using
15073 128-bit if possible.
15074 (__sha512_finish_ctx): Likewise.
15075 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15076 as 64-bit value.
15077 * crypt/sha256.c (SWAP64): Define.
15078 (sha256_process_block): Perform total addition using 64-bit if
15079 possible.
15080 (__sha256_finish_ctx): Likewise.
15081
99231d9a
UD
150822011-07-01 Ulrich Drepper <drepper@gmail.com>
15083
15084 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15085 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15086 * nscd/hstcache.c (cache_addhst): Likewise.
15087 * nscd/grpcache.c (cache_addgr): Likewise.
15088 * nscd/aicache.c (addhstaiX): Likewise
15089 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15090
445b4a53
TK
150912011-07-01 Thorsten Kukuk <kukuk@suse.de>
15092
15093 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15094 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15095 * nscd/hstcache.c (cache_addhst): Likewise.
15096 * nscd/grpcache.c (cache_addgr): Likewise.
15097 * nscd/aicache.c (addhstaiX): Likewise
15098
6d4d8e8e
AS
150992011-07-01 Andreas Schwab <schwab@redhat.com>
15100
15101 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15102 domain only when needed.
15103
89f654c5
AS
151042011-06-30 Andreas Schwab <schwab@redhat.com>
15105
15106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15107 is always restored.
15108
cf3b23ff
UD
151092011-06-29 Ulrich Drepper <drepper@gmail.com>
15110
15111 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15112 are re-adding the entry.
15113 * nscd/servicescache.c (cache_addserv): Likewise.
15114
751626f9
AJ
151152011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15116
15117 * sysdeps/generic/dl-irel.h: fix protection against multiple
15118 inclusions.
15119 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15120
9113ea1f
UD
151212011-06-28 Ulrich Drepper <drepper@gmail.com>
15122
5c0b8d90
UD
15123 [BZ #12935]
15124 * malloc/memusage.sh: Fix quoting in message.
15125 * debug/xtrace.sh: Likewise.
15126
9113ea1f
UD
15127 * configure.in: Remove support for --experimental-malloc option, make
15128 it the default.
15129 * config.make.in: Likewise.
15130 * malloc/Makefile: Likewise.
15131
a4172181
AS
151322011-06-27 Andreas Schwab <schwab@redhat.com>
15133
15134 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15135 two-byte characters.
15136
78a7eee7
RM
151372011-06-27 Roland McGrath <roland@hack.frob.com>
15138
62bede13
RM
15139 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15140 AC_CACHE_CHECK invocation.
15141 * configure: Regenerated.
15142
78a7eee7
RM
15143 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15144
5ce33a62
UD
151452011-06-27 Ulrich Drepper <drepper@gmail.com>
15146
034807a9
UD
15147 [BZ #12350]
15148 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15149 bit from old_res_options.
15150
4902da17
UD
15151 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15152
5ce33a62
UD
15153 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15154 value type for setfct.
15155
c2344f56
L
151562011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15157
15158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15159 __gettimeofday instead of gettimeofday.
15160
68468076
UD
151612011-06-26 Ulrich Drepper <drepper@gmail.com>
15162
15163 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15164
acb0d739
L
151652011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15166
15167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15168
15169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15170 info.
15171
8912479f
L
151722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15173
15174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15175 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15176 strcpy-sse2-unaligned strncpy-sse2-unaligned
15177 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15178 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15179 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15180 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15181 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15183 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15184 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15185 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15186 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15187 (STRCPY): Support SSE2 and SSSE3 versions.
15188
d5495a11
UD
151892011-06-24 Ulrich Drepper <drepper@gmail.com>
15190
15191 [BZ #12874]
15192 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15193 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15194 kernels which artificially limit size of requests.
15195
0b1cbaae
L
151962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15197
15198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15199 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15200 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15201 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15202 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15203 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15204 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15205 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15206 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15208 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15209 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15210 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15211 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15212 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15214 Enable unaligned load optimization for Intel Core i3, i5 and i7
15215 processors.
15216 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15217 Define.
15218 (index_Fast_Unaligned_Load): Define.
15219 (HAS_FAST_UNALIGNED_LOAD): Define.
15220
07f494a0
MP
152212011-06-23 Marek Polacek <mpolacek@redhat.com>
15222
15223 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15224
fa3fc0fe
UD
152252011-06-22 Ulrich Drepper <drepper@gmail.com>
15226
15227 [BZ #12907]
15228 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15229 until it is clear that the information is realy needed.
15230 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15231
e12df166
AS
152322011-06-22 Andreas Schwab <schwab@redhat.com>
15233
15234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15235
852eb34d
UD
152362011-06-22 Ulrich Drepper <drepper@gmail.com>
15237
84e2a551
UD
15238 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15239 /sys/devices/system/cpu/online if it is usable.
15240
852eb34d
UD
15241 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15242 reading the information from the /proc filesystem to once a second.
15243
6e502e19
UD
152442011-06-21 Andreas Jaeger <aj@suse.de>
15245
15246 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15247 NULL after inclusion of kernel headers.
15248
75d39ff2
UD
152492011-06-21 Ulrich Drepper <drepper@gmail.com>
15250
51f9aa6a
UD
15251 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15252 calls to internal_setent.
15253
c0244a9d
UD
15254 [BZ #12885]
15255 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15256 addresses using gethostbyname4_r ignore IPv4 addresses.
15257
c5e3c2ae
UD
15258 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15259 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15260
75d39ff2
UD
15261 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15262
42675c6f
DM
152632011-06-20 David S. Miller <davem@davemloft.net>
15264
15265 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15266 inclusions.
15267 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15268
15269 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15270 (elf_irel): Use it.
15271 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15272 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15273 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15274 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15275 * sysdeps/x86_64/dl-irel.h: Likewise.
15276
15277 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15278 * elf/dl-sym.c: Likewise.
15279
57912a71
UD
152802011-06-15 Ulrich Drepper <drepper@gmail.com>
15281
15282 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15283 need to dereference resplen2.
15284
ee22793d
AS
152852011-06-14 Andreas Schwab <schwab@redhat.com>
15286
15287 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15288
a9e836b0
UD
152892011-06-15 Ulrich Drepper <drepper@gmail.com>
15290
77fb9117
UD
15291 * Makeconfig: Define vardbdir and inst_vardbdir.
15292 * nss/Makefile: Add rules to install db-Makefile.
15293
40c1b22c
UD
15294 * nss/nss_db/db-XXX.c: Cleanup.
15295
9f2da732
UD
15296 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15297 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15298 GLIBC_PRIVATE.
15299 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15300 * nss/makedb.c: Implement -g option to specify that value strings
15301 are generated and should not be added to table iterated over for
15302 get*ent calls.
15303 * nss/nss_db/db-initgroups.c: New file.
15304
82e9a1f7
UD
15305 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15306 interface.
15307
c41af17e
UD
15308 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15309 (internal_getgrouplist): Adjust to name change.
15310 Update use_initgroups_entry if this is not the first call.
15311 * nss/databases.def: Add initgroups entry.
15312
a9e836b0
UD
15313 * nss/makedb.c (compute_tables): Check result of multiple hash table
15314 sizes to minimize maximum chain length.
15315
2666d441
UD
153162011-06-14 Ulrich Drepper <drepper@gmail.com>
15317
15318 * Versions.def: Add entry for libnss_db.
15319 * shlib-versions: Likewise.
15320 * nss/Makefile: Add rules to build libnss_db.
15321 * nss/Versions: Add libnss_db information. Organize libnss_files
15322 entries better.
15323 * nss/db-Makefile: Add gshadow support. Change rules for the new
15324 makedb progra. Some minor improvements to generate smaller files.
15325 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15326 here from...
15327 * nss/makedb.c: ...here.
15328 Improve database format to be smaller and require less memory at
15329 runtime.
15330 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15331 db anymore.
15332 * nss/nss_db/db-netgrp.c: Likewise.
15333 * nss/nss_db/db-open.c: Likewise.
15334 * nss/nss_files/flies-XXX.x: Adjust comments.
15335 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15336 * nss/nss_files/files-grp.c: Likewise.
15337 * nss/nss_files/files-hosts.c: Likewise.
15338 * nss/nss_files/files-network.c: Likewise.
15339 * nss/nss_files/files-proto.c: Likewise.
15340 * nss/nss_files/files-pwd.c: Likewise.
15341 * nss/nss_files/files-rpc.c: Likewise.
15342 * nss/nss_files/files-service.c: Likewise.
15343 * nss/nss_files/files-sgrp.c: Likewise.
15344 * nss/nss_files/files-spwd.c: Likewise.
15345 * nss/nss_db/db-alias.c: Removed.
15346 * nss/nss_db/dummy-db.h: Removed.
15347
9ee76b5a
UD
153482011-06-02 Ulrich Drepper <drepper@gmail.com>
15349
15350 * nss/makedb.c: Rewritten to not use database library.
15351 * nss/Makefile: Update to build new makedb program.
15352
c71ca1f8
AJ
153532011-06-14 Andreas Jaeger <aj@suse.de>
15354
15355 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15356 memset declaration.
15357
3154bfb8
UD
153582011-06-10 Andreas Schwab <schwab@redhat.com>
15359
15360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15361 tmpbuf.
15362
b350afab
RM
153632011-06-10 Roland McGrath <roland@hack.frob.com>
15364
decd4e50
RM
15365 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15366 * elf/Makefile ($(objpfx)ld.so): Likewise.
15367
5615eaf2
RM
15368 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15369 Don't list ld.so twice in dependencies.
15370
15371 * posix/bug-regex31.c: Include <stdlib.h>.
15372
15373 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15374
15375 * nis/nss_compat/compat-spwd.c
15376 (getspent_next_nss_netgr): Remove unused variable.
15377 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15378
15379 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15380 nonmembers" output to use the right array.
15381
15382 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15383
15384 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15385
15386 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15387 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15388 * catgets/gencat.c (read_input_file): Likewise.
15389 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15390
15391 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15392 variable definition inside #if's controlling its use.
15393
15394 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15395
15396 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15397
15398 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15399
15400 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15401 unreachable code.
15402
15403 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15404
b68e08db
RM
15405 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15406 * configure: Regenerated.
15407
b350afab
RM
15408 * Makerules: Revert last change.
15409 * elf/Makefile: Likewise.
15410
28368601
RM
154112011-06-09 Roland McGrath <roland@hack.frob.com>
15412
15413 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15414 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15415 (reloc-link): Likewise.
15416
11988f8f
UD
154172011-06-09 Ulrich Drepper <drepper@gmail.com>
15418
15419 * elf/Makefile: Add rules to build pldd.
15420 * elf/pldd.c: New file.
15421 * elf/pldd-xx.c: New file.
15422
e80fab37
UD
154232011-06-07 Ulrich Drepper <drepper@gmail.com>
15424
15425 * version.h: Update for 2.15 development version.
15426
9b849836
DM
154272011-06-07 David S. Miller <davem@davemloft.net>
15428
15429 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15430 ifuncs.
15431 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15432 elf_machine_lazy_rel): Likewise.
15433 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15434 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15435 elf_machine_lazy_rel): Likewise.
15436 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15437 dl_hwcap via passed in argument.
15438 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15439 Likewise.
15440
5a31b283
AK
154412011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15442
15443 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15444
069e52f8
RM
154452011-06-06 Roland McGrath <roland@hack.frob.com>
15446
15447 [BZ #12849]
15448 * manual/fdl-1.1.texi: New file, verbatim from:
15449 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15450 * manual/lgpl-2.1.texi: New file, verbatim from:
15451 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15452 * manual/Makefile (licenses): New variable, list those new file names.
15453 (texis): Use it.
15454 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15455
15456 * manual/fdl.texi: File removed.
15457 * manual/lesser.texi: File removed.
15458 * manual/libc.texinfo (Copying, Documentation License):
15459 Use new @include file names, put @appendix directive before @include.
15460
f16846a5
JJ
154612011-06-04 Jakub Jelinek <jakub@redhat.com>
15462
15463 [BZ #12841]
15464 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15465 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15466 (mq_open): Add __NTH.
15467
3d29045b
L
154682011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15469
15470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15471 Assume Intel Core i3/i5/i7 processor if AVX is available.
15472
8c297311
UD
154732011-05-31 Ulrich Drepper <drepper@gmail.com>
15474
15475 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15476 typo.
15477
c8fc0c91
UD
154782011-05-31 Andreas Schwab <schwab@redhat.com>
15479
15480 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15481 memory. Use alloca_account. Fix memory leak when retrying.
15482
5b27a807
UD
154832011-05-31 Ulrich Drepper <drepper@gmail.com>
15484
356f8bc6
UD
15485 * version.h (RELEASE): Bump for 2.14 release.
15486 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15487
5b27a807
UD
15488 * config.make.in (RANLIB): Remove entry.
15489
01f16ab0
UD
154902011-05-30 Ulrich Drepper <drepper@gmail.com>
15491
41fce8bd
UD
15492 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15493 (libc.pot): Work around missing support for .ksh extension in xgettext.
15494
4769ae77
UD
15495 [BZ #12684]
15496 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15497 if both request failed.
15498 (send_dg): In case of server errors clear resplen or *resplen2.
15499
6b1e7d19
UD
15500 [BZ #12454]
15501 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15502 when there are multiple maps.
15503 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15504 (_dl_fini): Remove test here.
15505
01f16ab0
UD
15506 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15507
b1ebd700
UD
155082011-05-29 Ulrich Drepper <drepper@gmail.com>
15509
7ae22829
UD
15510 [BZ #12350]
15511 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15512 bit from old_res_options.
15513 (gaih_inet): Likewise.
15514
553149f6 15515 [BZ #11099]
18a84741 15516 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15517 as signed.
15518
652ffab1
UD
15519 * resolv/res_init.c (res_setoptions): Make the code more compact.
15520
16985fd0
UD
15521 [BZ #11558]
15522 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15523 set RES_USEVC.
15524
0464f746
UD
15525 [BZ #11634]
15526 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15527
7d17596c
UD
15528 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15529
cf6bbbd7
UD
15530 [BZ #11781]
15531 * malloc/malloc.h: Declare malloc hook variables as volatile.
15532
13f1ab36
UD
15533 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15534 in last patch.
15535
b1ebd700
UD
15536 [BZ #11799]
15537 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15538 raise in the comment.
80e2212d
UD
15539 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15540 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15541 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15542
ce67228d
UD
155432011-05-28 Ulrich Drepper <drepper@gmail.com>
15544
8887a920
UD
15545 [BZ #12811]
15546 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15547 grow the buffers more if it already has to be sufficient.
15548 (build_wcs_upper_buffer): Likewise.
15549 * posix/regexec.c (check_matching): Likewise.
15550 (clean_state_log_if_needed): Likewise.
15551 (extend_buffers): Don't enlarge buffers beyond size of the input
15552 buffer.
15553 Patches mostly by Emil Wojak <emil@wojak.eu>.
15554 * posix/bug-regex32.c: New file.
15555 * posix/Makefile (tests): Add bug-regex32.
15556
4f031072
UD
15557 * locale/findlocale.c (_nl_find_locale): Return right away if
15558 _nl_explode_name failed.
15559 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15560
d0478f0c
UD
15561 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15562
de81b246
UD
15563 * debug/xtrace.sh: Unify messages.
15564 * malloc/memusage.sh: Likewise.
15565
c738465a
UD
15566 [BZ #12813]
15567 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15568 time symbol from vDSO. Substitute with vsyscall if not available.
15569 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15570 __vdso_time.
15571
f1f929d7
UD
15572 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15573 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15574 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15575 Add sendmmsg and internal_sendmmsg.
15576 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15577 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15578 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15579
ce67228d
UD
15580 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15581 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15582 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15583
e57420c6
UD
155842011-05-27 Ulrich Drepper <drepper@gmail.com>
15585
a8509ca5
UD
15586 [BZ #12813]
15587 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15588 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15589 available.
15590 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15591 __vdso_getcpu.
15592
e57420c6
UD
15593 [BZ #12814]
15594 * iconvdata/Makefile (tests): Add bug-iconv9.
15595 * iconvdata/bug-iconv9.c: New file.
15596
4d07db15
AS
155972011-05-27 Andreas Schwab <schwab@redhat.com>
15598
15599 [BZ #12814]
15600 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15601
ea486f69
JJ
156022011-05-25 Jakub Jelinek <jakub@redhat.com>
15603
15604 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15605 (struct user_regs_struct): Change intcs field back to cs.
15606
6f038433
UD
156072011-05-25 Ulrich Drepper <drepper@gmail.com>
15608
15609 * po/ja.po: Update from translation team.
15610
67f86a25
UD
156112011-05-23 Ulrich Drepper <drepper@gmail.com>
15612
15613 [BZ #12795]
15614 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15615 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15616
def7fbd6
AS
156172011-05-20 Andreas Schwab <schwab@redhat.com>
15618
15619 * stdlib/longlong.h: Update from GCC.
15620
f50ef8f1
AS
156212011-05-23 Andreas Schwab <schwab@redhat.com>
15622
15623 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15624 parameter name.
15625 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15626 Add parameter name.
15627 (__sysconf): Pass it down.
15628
de7ce8f1
UD
156292011-05-22 Ulrich Drepper <drepper@gmail.com>
15630
f2962a71
UD
15631 [BZ #12671]
15632 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15633 some situations.
15634 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15635 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15636 add in in __libc_use_alloca calls. Adjust callers.
15637 (glob): Use malloc in some situations.
15638
de7ce8f1
UD
15639 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15640 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15641 pltexit.
15642
aec84f53
UD
156432011-05-21 Ulrich Drepper <drepper@gmail.com>
15644
05bb4a68
UD
15645 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15646 and CLOCK_BOOTTIME_ALARM.
15647
7ea72f99
UD
15648 [BZ #12782]
15649 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15650 is returned.
15651
7e4afad5
UD
15652 * string/_strerror.c (__strerror_r): Print negative errors as signed
15653 numbers.
15654
8e211fec
UD
15655 [BZ #12777]
15656 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15657 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15658 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15659
f7d82dc9
UD
15660 * configure.in: Fix typo in redirection and correct removal of test
15661 files in two cases.
15662
cc9e536d
UD
15663 [BZ #12788]
15664 * locale/setlocale.c (new_composite_name): Fix test to check for
15665 identical name of all categories.
15666
aec84f53
UD
15667 [BZ #12792]
15668 * libio/filedoalloc.c (local_isatty): New function.
15669 (_IO_file_doallocate): Use local_isatty.
15670 * stdio-common/perror.c (perror): In case a new stream is used
15671 forward the stream error.
15672 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15673 error flag.
15674
78e64fdc
RT
156752011-05-20 Ulrich Drepper <drepper@gmail.com>
15676
34a9094f
UD
15677 [BZ #11869]
15678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15679 alloca.
15680 * include/alloca.h (extend_alloca_account): Define.
15681
78e64fdc
RT
15682 [BZ #11857]
15683 * posix/regex.h: Fix comments with documentation of user-accessible
15684 fields after compilation and describe correct free'ing of pattern
15685 after re_compile_pattern.
15686 Patch by Reuben Thomas <rrt@sc3d.org>.
15687
457bddfc
RA
156882011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15689
15690 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15691 and -mno-altivec to prevent the compiler from using Altivec and/or
15692 VSX instructions when the corresponding registers are not available.
15693
a4527b51
AS
156942011-05-19 Andreas Schwab <schwab@redhat.com>
15695
15696 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15697
ed690b2f
UD
156982011-05-19 Ulrich Drepper <drepper@gmail.com>
15699
15700 * libio/freopen.c (freopen): Use __dup2, not dup2.
15701 * libio/freopen64.c (freopen64): Likewise.
15702
8db73634
L
157032011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15704
15705 [BZ #12775]
15706 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15707 * math/Makefile (tests): Add test-powl.
15708 (CFLAGS-test-powl.c): Define.
15709 * math/test-powl.c: New file.
15710
0a197a9d
L
157112011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15712
15713 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15714
ee30c380
UD
157152011-05-17 Ulrich Drepper <drepper@gmail.com>
15716
15717 [BZ #11837]
15718 * iconvdata/gb18030.c: Update to GB18020-2005.
15719
6ce75379
UD
157202011-05-16 Ulrich Drepper <drepper@gmail.com>
15721
a4b89fd8
AR
15722 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15723 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15724 Patch by Aharon Robbins <arnold@skeeve.com>.
15725
ea389b12
UD
15726 [BZ #11892]
15727 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15728 on the stack.
15729
68a3f91f
UD
15730 [BZ #11895]
15731 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15732 through underflows.
15733
15cc7dd1
UD
15734 [BZ #12766]
15735 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15736 point to strings before performing equality test for error_one_per_line
15737 mode.
15738
f3799213
UD
15739 [BZ #11697]
15740 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15741
d79a9c94
UD
15742 [BZ #11820]
15743 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15744 (struct user_fpregs_struct): Avoid __uint*_t types.
15745
56e5eb46
UD
15746 [BZ #6420]
15747 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15748 symbol info. Use it instead of calling _dl_addr locally.
15749 (lock_and_info): New function.
15750 (tr_freehook): Call lock_and_info and pass symbol info as additional
15751 parameter to tr_where.
15752 (tr_mallochook): Likewise.
15753 (tr_reallochook): Likewise.
15754 (tr_memalignhook): Likewise.
15755
6ce75379
UD
15756 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15757 used and couldn't be at all thread-safe.
15758
f8a3b5bf
UD
157592011-05-15 Ulrich Drepper <drepper@gmail.com>
15760
94b7cc37
UD
15761 * libio/freopen.c (freopen): Don't close old file descriptor
15762 before the new one is opened. Instead dup the new file descriptor
15763 to the old one after the new stream is created.
15764 * libio/freopen64.c (freopen64): Likewise.
15765 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15766 * libio/fileops.c (_IO_new_file_close_it): Handle new
15767 _IO_FLAGS2_NOCLOSE flag.
15768 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15769 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15770 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15771 _IO_FLAGS2_NOCLOSE flag.
15772 * include/unistd.h: Add hidden_proto for dup3.
15773 Define __have_dup3.
15774 * io/dup3.c: Define hidden symbol.
15775 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15776
bd25564e
UD
15777 [BZ #7101]
15778 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15779 when an incomplete long option is used.
15780 * posix/tst-getopt_long1.c: New file.
15781 * posix/Makefile (tests): Add tst-getopt_long1.
15782
c84cfef4
UD
15783 [BZ #10138]
15784 * scripts/config.guess: Update from autoconf-2.68.
15785 * scripts/config.sub: Likewise.
15786
3b85df27
UD
15787 [BZ #10157]
15788 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15789 tests into ...
15790 (has_cpuclock): ...this. New function.
15791 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15792 macro here based on has_cpuclock code.
15793
15a856b1
UD
15794 [BZ #10149]
15795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15796 First byte (not low byte) is now always NUL.
15797 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15798
05f399e6
UD
15799 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15800 Use non-cancelable interfaces.
15801
10a52685 15802 [BZ #9809]
94ecc67d
UD
15803 * locale/iso-639.def: Add entry for Sorani.
15804
f8a3b5bf
UD
15805 [BZ #11901]
15806 * include/stdlib.h: Move include protection to the right place.
15807 Define abort_msg_s. Declare __abort_msg with it.
15808 * stdlib/abort.c (__abort_msg): Adjust type.
15809 * assert/assert.c (__assert_fail_base): New function. Majority
15810 of code from __assert_fail. Allocate memory for __abort_msg with
15811 mmap.
15812 (__assert_fail): Now call __assert_fail_base.
15813 * assert/assert-perr.c: Remove bulk of implementation. Use
15814 __assert_fail_base.
15815 * include/assert.hL Declare __assert_fail_base.
15816 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15817 mmap.
15818 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15819
1af4e298
UD
158202011-05-14 Ulrich Drepper <drepper@gmail.com>
15821
f8a3b5bf 15822 [BZ #11952]
d26dfc60
MG
15823 [BZ #12453]
15824 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15825 until all modules are registered in the DTV.
15826 * elf/Makefile: Add rules to build and run tst-tls19.
15827 * elf/tst-tls19.c: New file.
15828 * elf/tst-tls19mod1.c: New file.
15829 * elf/tst-tls19mod2.c: New file.
15830 * elf/tst-tls19mod3.c: New file.
15831 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15832
2fc54d6f
UD
15833 [BZ #12083]
15834 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15835 correctly.
15836
98d76b46
UD
15837 [BZ #12601]
15838 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15839 two-byte sequence errors.
15840 * iconvdata/Makefile (tests): Add bug-iconv8.
15841 * iconvdata/bug-iconv8.c: New file.
15842
da3c19ef
UD
15843 [BZ #12626]
15844 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15845 buf2 definition.
15846
ca408c15
UD
15847 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15848
d6f67f7d
UD
15849 [BZ #12432]
15850 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15851 (dummy_getcfa): New function.
15852 (init): Get _Unwind_GetCFA address, use dummy if not found.
15853 (backtrace_helper): In recursion check, also check whether CFA changes.
15854 (__backtrace): Completely initialize arg.
15855
1af4e298 15856 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15857 storing incomplete byte sequence in state object. Avoid testing for
15858 guaranteed too small input if we know there is enough data available.
1af4e298 15859
da62f81b
AS
158602011-05-11 Andreas Schwab <schwab@redhat.com>
15861
15862 * Makeconfig (+link-pie): Indent.
15863 * Rules (binaries-pie): Define if $(have-fpie) and
15864 $(build-shared).
15865 (binaries-shared): Also filter out $(binaries-pie).
15866 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15867 * nscd/Makefile (others-pie): Add nscd.
15868 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15869 ($(objpfx)nscd): Remove command override.
15870 * login/Makefile (others-pie): Add pt_chown.
15871 ($(objpfx)pt_chown): Remove command override.
15872 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15873 remove command overrides.
15874
fcabc0f8
UD
158752011-05-13 Ulrich Drepper <drepper@gmail.com>
15876
20030ae6
UD
15877 * libio/tst_putwc.c: Fix error messages.
15878
fcabc0f8
UD
15879 [BZ #12724]
15880 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15881 currently writing and seek to current position when not.
15882 * libio/Makefile (tests): Add bug-fclose1.
15883 * libio/bug-fclose1.c: New file.
15884
320a5dc0
PB
158852011-05-12 Ulrich Drepper <drepper@gmail.com>
15886
15887 [BZ #12511]
15888 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15889 don't set DF_1_NODELETE here.
15890 (do_lookup_x): When entering new entry test for copy relocation
15891 and if necessary set DF_1_NODELETE flag.
15892 * elf/tst-unique4.cc: New file.
15893 * elf/tst-unique4.h: New file.
15894 * elf/tst-unique4lib.cc: New file.
15895 * elf/Makefile: Add rules to build and run tst-unique4.
15896 Patch by Piotr Bury <pbury@goahead.com>.
15897
22836f52
UD
158982011-05-11 Ulrich Drepper <drepper@gmail.com>
15899
f574184a
UD
15900 [BZ #12052]
15901 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15902
e1fb097f
UD
15903 [BZ #12625]
15904 * misc/mntent_r.c (addmntent): Flush the stream after the output
15905
22836f52
UD
15906 [BZ #12393]
15907 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15908 (is_trusted_path_normalize): Skip initial colon. Append slash
15909 to empty buffer. Duplicate is_trusted_path code but allow
15910 constructed patch to be prefix.
15911 (is_dst): Allow $ORIGIN followed by /.
15912 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15913 Correct testing of result of is_trusted_path_normalize
15914 (decompose_rpath): Fix warning.
15915
7b3b0b2a
UD
159162011-05-10 Ulrich Drepper <drepper@gmail.com>
15917
15918 [BZ #11257]
15919 * grp/initgroups.c (internal_getgrouplist): When we found the service
15920 list through the initgroups entry in nsswitch.conf do not always
15921 continue on a successful lookup. Don't always use the
eac80ce2 15922 __nss_group_database value if it is set.
7b3b0b2a
UD
15923 * nss/nsswitch.conf (initgroups): Change action for successful db
15924 lookup to continue for compatibility.
15925
2a81eaa5
UD
159262011-05-09 Ulrich Drepper <drepper@gmail.com>
15927
be97a69e
UD
15928 [BZ #11532]
15929 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15930 and CP774 modules.
15931 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15932 and CP774 modules.
15933 * iconvdata/tst-tables.sh: Likewise.
15934 * iconvdata/cp770.c: New file.
15935 * iconvdata/cp771.c: New file.
15936 * iconvdata/cp772.c: New file.
15937 * iconvdata/cp773.c: New file.
15938 * iconvdata/cp774.c: New file.
15939 * iconvdata/testdata/CP770: New file.
15940 * iconvdata/testdata/CP770..UTF8: New file.
15941 * iconvdata/testdata/CP771: New file.
15942 * iconvdata/testdata/CP771..UTF8: New file.
15943 * iconvdata/testdata/CP772: New file.
15944 * iconvdata/testdata/CP772..UTF8: New file.
15945 * iconvdata/testdata/CP773: New file.
15946 * iconvdata/testdata/CP773..UTF8: New file.
15947 * iconvdata/testdata/CP774: New file.
15948 * iconvdata/testdata/CP774..UTF8: New file.
15949
15950 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15951 END CHARMAP line.
15952 * iconvdata/gen-8bit-gap.sh: Likewise.
15953 * iconvdata/gen-8bit.sh: Likewise.
15954
c1e9e399
UD
15955 * locale/iso-639.def: Add ary entry.
15956
24c55fb3 15957 [BZ #11258]
96b4b1b0
UD
15958 * locale/C-translit.h.in: Add U20A1 transliteration.
15959
bdc2f971
KB
15960 [BZ #12178]
15961 * locale/iso-639.def: Add wae entry.
15962 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15963
2952b117
UD
15964 [BZ #12545]
15965 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15966 for n.
15967
2a81eaa5
UD
15968 [BZ #12711]
15969 * locale/C-translit.h.in: Add entry for U20B9.
15970 Patch by pravin.d.s@gmail.com.
15971
28377d1b
UD
159722011-05-08 Ulrich Drepper <drepper@gmail.com>
15973
7fb90fb8
UD
15974 [BZ #12713]
15975 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15976 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15977 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15978 in rtld. Use *stat64.
7fb90fb8 15979 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15980 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15981 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15982 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15983 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15984 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15985 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15986 __fstatat64 macros.
7fb90fb8
UD
15987 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15988 * dirent/rewinddir.c: Add libc_hidden_def.
15989 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15990 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15991
28377d1b
UD
15992 * include/dirent.h (__alloc_dir): Add flags parameter.
15993 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15994 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15995 __alloc_dir.
15996 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15997 from fdopendir if O_CLOEXEC is already set.
15998
66bdbaa4
AM
159992011-03-15 Alan Modra <amodra@gmail.com>
16000
16001 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16002 l_tls_firstbyte_offset non-zero. Save padding offset in
16003 l_tls_firstbyte_offset for later use.
16004 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16005 freeing static tls block.
16006
95721191
JN
160072011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16008
16009 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16010 where #ifdef was intended. The intent is to prevent ARG_MAX from
16011 being defined by the kernel headers.
16012
f87dfb1f
UD
160132011-05-07 Ulrich Drepper <drepper@gmail.com>
16014
16015 [BZ #12734]
16016 * resolv/resolv.h: Define RES_NOTLDQUERY.
16017 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16018 no-tld-query and set RES_NOTLDQUERY.
16019 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16020 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16021 modern BIND to search name as TLD unless forbidden.
16022
47c3cd7a
UD
160232011-05-07 Petr Baudis <pasky@suse.cz>
16024 Ulrich Drepper <drepper@gmail.com>
16025
16026 [BZ #12393]
16027 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16028 (is_trusted_path): ...to here.
c1e9ea35 16029 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16030 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16031 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16032
8a35c912
PP
160332011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16034
16035 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16036 __BEGIN/__END_DECLS.
16037
acd41f47
UD
160382011-05-06 Ulrich Drepper <drepper@gmail.com>
16039
16040 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16041 NSS_STATUS_NOTFOUND if no record was found.
16042
597df647
AS
160432011-05-05 Andreas Schwab <schwab@redhat.com>
16044
16045 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16046 (headers-not-in-tirpc): Remove rpc/netdb.h
16047 * resolv/netdb.h: Revert last change.
16048
b9af1301
PP
160492011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16050
16051 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16052 circular dependency between libgcc.a and libc.a.
16053
4e34d5f5
AS
160542011-05-05 Andreas Schwab <schwab@redhat.com>
16055
16056 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16057 * nis/Makefile: Don't install rpcsvc/*.
16058 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16059 instead of <rpc/types.h>.
16060 (MAXHOSTNAMELEN): Define.
16061
00ee369c
AS
160622011-05-03 Andreas Schwab <schwab@redhat.com>
16063
16064 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16065
0b592a30
MB
160662011-04-28 Maciej Babinski <mbabinski@google.com>
16067
16068 [BZ #12714]
16069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16070 gethostbyname4_r when IPv6 results are possible.
16071
6e04cbbe
UD
160722011-05-02 Ulrich Drepper <drepper@gmail.com>
16073
16074 [BZ #12723]
16075 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16076 _PC_PIPE_BUF handling.
16077
e4ecafe0
BH
160782011-04-30 Bruno Haible <bruno@clisp.org>
16079
16080 [BZ #12717]
16081 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16082 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16083 to 'int'.
16084 * inet/getnameinfo.c (getnameinfo): Likewise.
16085
125ee683
UD
160862011-04-29 Ulrich Drepper <drepper@gmail.com>
16087
16088 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16089 to groups setting in database lookup.
16090 * nss/nsswitch.conf: Add initgroups entry.
16091
b722481a
EB
160922011-04-22 Ulrich Drepper <drepper@gmail.com>
16093
16094 [BZ #12685]
16095 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16096 mode string.
16097 Patch by Eric Blake <eblake@redhat.com>.
16098
4df46dbd
L
160992011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16100
16101 * sunrpc/Makefile (need-export-routines): Add svc_run.
16102 (routines): Remove svc_run.
16103 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16104 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16105 * sunrpc/svc_run.c (svc_run): Likewise.
16106 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16107
e84142d2
UD
161082011-04-21 Ulrich Drepper <drepper@gmail.com>
16109
16110 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16111 problem in reallocation in last patch.
16112
877175d8
UD
161132011-04-20 Ulrich Drepper <drepper@gmail.com>
16114
16115 * sunrpc/Makefile: Move inclusion of Rules.
16116
ab8eed78
UD
161172011-04-19 Ulrich Drepper <drepper@gmail.com>
16118
16119 * nss/nss_files/files-initgroups.c: New file.
16120 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16121 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16122 _nss_files_initgroups_dyn.
16123
e3d8f584
RS
161242011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16125
16126 * elf/elf.h (R_ARM_IRELATIVE): Define.
16127
af190f45
UD
161282011-04-19 Ulrich Drepper <drepper@gmail.com>
16129
16130 * po/ru.po: Update from translation team.
16131
53cf59ef
UD
161322011-04-17 Ulrich Drepper <drepper@gmail.com>
16133
16134 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16135 dependencies.
16136
4c559bcd
MF
161372011-02-06 Mike Frysinger <vapier@gentoo.org>
16138
16139 [BZ #12653]
16140 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16141 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16142 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16143 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16144 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16145
4420675c
AS
161462011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16147
16148 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16149 differing bytes.
16150 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16151 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16153
75ea32ab
UD
161542011-04-17 Ulrich Drepper <drepper@gmail.com>
16155
16156 [BZ #12420]
16157 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16158 storing it.
16159 * stdlib/bug-getcontext.c: New file.
16160 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16161
27390476
AK
161622011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16163
16164 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16165 instructions into .machine "z9-109".
16166 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16167 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16168
10442705
AK
161692011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16170
16171 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16172 between environment variables and auxiliary vector.
16173
7b57bfe5
UD
161742011-04-16 Ulrich Drepper <drepper@gmail.com>
16175
16176 * Makefile: Add rules to build linkobj/libc.so.
16177 * include/libc-symbols.h: Define libc_hidden_nolink.
16178 * include/rpc/auth.h: Mark functions which are to be hidden.
16179 * include/rpc/auth_des.h: Likewise.
16180 * include/rpc/auth_unix.h: Likewise.
16181 * include/rpc/clnt.h: Likewise.
16182 * include/rpc/des_crypt.h: Likewise.
16183 * include/rpc/key_prot.h: Likewise.
16184 * include/rpc/pmap_clnt.h: Likewise.
16185 * include/rpc/pmap_prot.h: Likewise.
16186 * include/rpc/pmap_rmt.h: Likewise.
16187 * include/rpc/rpc_msg.h: Likewise.
16188 * include/rpc/svc.h: Likewise.
16189 * include/rpc/svc_auth.h: Likewise.
16190 * include/rpc/xdr.h: Likewise.
16191 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16192 * nss/Makefile: Likewise.
16193 * sunrpc/Makefile: Don't install headers. Build library with normal
16194 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16195 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16196 for the compat linking library. Remove use of INTDEF/INTUSE.
16197 * sunrpc/auth_none.c: Likewise.
16198 * sunrpc/auth_unix.c: Likewise.
16199 * sunrpc/authdes_prot.c: Likewise.
16200 * sunrpc/authuxprot.c: Likewise.
16201 * sunrpc/clnt_gen.c: Likewise.
16202 * sunrpc/clnt_perr.c: Likewise.
16203 * sunrpc/clnt_raw.c: Likewise.
16204 * sunrpc/clnt_simp.c: Likewise.
16205 * sunrpc/clnt_tcp.c: Likewise.
16206 * sunrpc/clnt_udp.c: Likewise.
16207 * sunrpc/clnt_unix.c: Likewise.
16208 * sunrpc/des_crypt.c: Likewise.
16209 * sunrpc/des_soft.c: Likewise.
16210 * sunrpc/get_myaddr.c: Likewise.
16211 * sunrpc/key_call.c: Likewise.
16212 * sunrpc/key_prot.c: Likewise.
16213 * sunrpc/netname.c: Likewise.
16214 * sunrpc/pm_getmaps.c: Likewise.
16215 * sunrpc/pm_getport.c: Likewise.
16216 * sunrpc/pmap_clnt.c: Likewise.
16217 * sunrpc/pmap_prot.c: Likewise.
16218 * sunrpc/pmap_prot2.c: Likewise.
16219 * sunrpc/pmap_rmt.c: Likewise.
16220 * sunrpc/publickey.c: Likewise.
16221 * sunrpc/rpc_cmsg.c: Likewise.
16222 * sunrpc/rpc_common.c: Likewise.
16223 * sunrpc/rpc_dtable.c: Likewise.
16224 * sunrpc/rpc_prot.c: Likewise.
16225 * sunrpc/rpc_thread.c: Likewise.
16226 * sunrpc/rtime.c: Likewise.
16227 * sunrpc/svc.c: Likewise.
16228 * sunrpc/svc_auth.c: Likewise.
16229 * sunrpc/svc_authux.c: Likewise.
16230 * sunrpc/svc_raw.c: Likewise.
16231 * sunrpc/svc_run.c: Likewise.
16232 * sunrpc/svc_simple.c: Likewise.
16233 * sunrpc/svc_tcp.c: Likewise.
16234 * sunrpc/svc_udp.c: Likewise.
16235 * sunrpc/svc_unix.c: Likewise.
16236 * sunrpc/svcauth_des.c: Likewise.
16237 * sunrpc/xcrypt.c: Likewise.
16238 * sunrpc/xdr.c: Likewise.
16239 * sunrpc/xdr_array.c: Likewise.
16240 * sunrpc/xdr_float.c: Likewise.
16241 * sunrpc/xdr_intXX_t.c: Likewise.
16242 * sunrpc/xdr_mem.c: Likewise.
16243 * sunrpc/xdr_rec.c: Likewise.
16244 * sunrpc/xdr_ref.c: Likewise.
16245 * sunrpc/xdr_sizeof.c: Likewise.
16246 * sunrpc/xdr_stdio.c: Likewise.
16247
e6c61494
UD
162482011-04-10 Ulrich Drepper <drepper@gmail.com>
16249
16250 [BZ #12650]
16251 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16252 * sysdeps/ia64/dl-tls.h: Likewise.
16253 * sysdeps/powerpc/dl-tls.h: Likewise.
16254 * sysdeps/s390/dl-tls.h: Likewise.
16255 * sysdeps/sh/dl-tls.h: Likewise.
16256 * sysdeps/sparc/dl-tls.h: Likewise.
16257 * sysdeps/x86_64/dl-tls.h: Likewise.
16258 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16259
34fe483e
AS
162602011-03-14 Andreas Schwab <schwab@redhat.com>
16261
16262 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16263 rpath element also skip the following colon.
16264 (expand_dynamic_string_token): Add is_path parameter and pass
16265 down to DL_DST_REQUIRED and _dl_dst_substitute.
16266 (decompose_rpath): Call expand_dynamic_string_token with
16267 non-zero is_path. Ignore empty rpaths.
16268 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16269 with zero is_path.
16270
f12a32e6
AS
162712011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16272
16273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16274 Make cancelable.
16275
38a7d692
UD
162762011-04-09 Ulrich Drepper <drepper@gmail.com>
16277
16278 [BZ #12655]
16279 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16280 Patch by Filipe David Manana <fdmanana@apache.org>.
16281
e451d22b
AS
162822011-04-07 Andreas Schwab <schwab@redhat.com>
16283
16284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16285 Maintain aligned stack.
16286 (CHECK_RSP): Remove unused macro.
16287
dedc7c7b
UD
162882011-04-03 Ulrich Drepper <drepper@gmail.com>
16289
16290 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16291 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16292
94521213
UD
162932011-04-02 Ulrich Drepper <drepper@gmail.com>
16294
16295 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16296
8cb700c0 16297 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16298
0354e355
L
162992011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16300
16301 [BZ #12518]
16302 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16303 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16304 * sysdeps/x86_64/memmove.c: New file.
16305 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16306 (memcpy): Renamed to ...
16307 (__new_memcpy): This.
16308 (memcpy): Provide GLIBC_2_14 memcpy.
16309 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16310 (memcpy): Provide GLIBC_2_2_5 memcpy.
16311
8593482f
UD
163122011-04-01 Ulrich Drepper <drepper@gmail.com>
16313
16314 [BZ #12631]
16315 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16316
81a5726b
AS
163172011-03-30 Andreas Schwab <schwab@redhat.com>
16318
16319 * misc/syncfs.c: New file.
16320 * misc/Makefile (routines): Add syncfs.
16321 * posix/unistd.h: Declare syncfs.
16322 * sysdeps/unix/syscalls.list: Add syncfs.
16323
00e5419f
AS
163242011-04-01 Andreas Schwab <schwab@redhat.com>
16325
16326 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16327 open_by_handle_at.
16328 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16329 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16330 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16331 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16333 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16334 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16335
748876bf
UD
163362011-04-01 Ulrich Drepper <drepper@gmail.com>
16337
658e451d
UD
16338 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16339 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16340 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16342 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16345
748876bf
UD
16346 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16347 sync_file_range.c with -fexceptions.
16348 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16349 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16350 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16351 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16352 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16353 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16354 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16355 sync_file_range as cancellation point
16356 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16357 now a wrapper around __call_sync_file_range with cancellation handling.
16358 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16359 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16360 function name to __call_sync_file_range.
16361 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16362 Add call_sync_file_range.
748876bf 16363
6e63d5e1
AS
163642011-04-01 Andreas Schwab <schwab@redhat.com>
16365
16366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16367 bits/timex.h.
6e63d5e1 16368
46998f74
UD
163692011-04-01 Ulrich Drepper <drepper@gmail.com>
16370
4c1423ed
UD
16371 * iconv/iconv.h: Fix typo in comment.
16372 * io/fcntl.h: Likewise.
16373 * libio/stdio.h: Likewise.
16374 * posix/spawn.h: Likewise.
16375 * posix/unistd.h: Likewise.
16376 * stdlib/stdlib.h: Likewise.
16377 * time/time.h: Likewise.
16378 * wcsmbs/wchar.h: Likewise.
16379
158648c0
UD
16380 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16381 open_by_handle): Add.
16382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16383 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16384 Augment a few comments.
16385 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16387 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16388 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16389 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16390 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16391 open_by_handle.
16392
46998f74
UD
16393 * io/fcntl.h (AT_EMPTY_PATH): Define.
16394
83fe108b
UD
163952011-03-30 Ulrich Drepper <drepper@gmail.com>
16396
16397 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16398 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16399 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16400 to...
16401 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16402 * Versions.def: Add GLIBC_2.14.
16403 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16404 Export.
83fe108b 16405
bb242059
UD
164062011-03-22 Ulrich Drepper <drepper@gmail.com>
16407
16408 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16409 round counter.
16410 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16411
c97a1282
L
164122011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16413
16414 [BZ #12597]
16415 * string/test-strncmp.c (do_page_test): New function.
16416 (check2): Likewise.
16417 (test_main): Call check2.
16418 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16419
2a115601
UD
164202011-03-20 Ulrich Drepper <drepper@gmail.com>
16421
16422 [BZ #12587]
16423 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16424 Handle cache information in CPU leaf 4.
16425 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16426
8126d904
UD
164272011-03-18 Ulrich Drepper <drepper@gmail.com>
16428
042c49c6 16429 [BZ #12583]
8126d904
UD
16430 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16431 character representation.
16432 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16433
ccfe366e
RA
164342011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16435
16436 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16437 END(__isnan) to END(__isnanf) to match function entry point/label
16438 EALIGN(__isnanf,...).
16439
c6e13027
JJ
164402011-03-10 Jakub Jelinek <jakub@redhat.com>
16441
16442 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16443
33f85a3f
UD
164442011-03-10 Ulrich Drepper <drepper@gmail.com>
16445
028478fa
UD
16446 [BZ #12510]
16447 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16448 copy from the symbol referenced in the relocation to initialize the
16449 used variable.
16450 Patch by Piotr Bury <pbury@goahead.com>.
16451 * elf/Makefile: Add rules to build and tst-unique3.
16452 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16453 * elf/tst-unique3.cc: New file.
16454 * elf/tst-unique3.h: New file.
16455 * elf/tst-unique3lib.cc: New file.
16456 * elf/tst-unique3lib2.cc: New file.
16457
33f85a3f
UD
16458 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16459
03592fc7
MF
164602011-03-10 Mike Frysinger <vapier@gentoo.org>
16461
16462 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16463 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16464 to _start.
03592fc7 16465
6a5ee102
UD
164662011-03-06 Ulrich Drepper <drepper@gmail.com>
16467
16468 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16469 to-be-loaded object along a path to loader is ld.so.
16470
7e4ba49c
HJ
164712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16472 Ulrich Drepper <drepper@gmail.com>
16473
16474 * sysdeps/x86_64/memset.S: After aligning destination, code
16475 branches to different locations depending on the value of
16476 misalignment, when multiarch is enabled. Fix this.
16477
164782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16479
16480 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16481 Set _x86_64_preferred_memory_instruction for AMD processsors.
16482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16483 Set bit_Prefer_SSE_for_memop for AMD processors.
16484
13a804de
UD
164852011-03-04 Ulrich Drepper <drepper@gmail.com>
16486
16487 * libio/fmemopen.c (fmemopen): Optimize a bit.
16488
9d25c392
AS
164892011-03-03 Andreas Schwab <schwab@redhat.com>
16490
16491 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16492
a5543c6a
RM
164932011-03-03 Roland McGrath <roland@redhat.com>
16494
16495 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16496
012d35f7
DM
164972011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16498
7e4ba49c 16499 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16500 __bzero_ultra1 instead of __memset_ultra1.
16501
4bff6e01
AS
165022011-02-23 Andreas Schwab <schwab@redhat.com>
16503 Ulrich Drepper <drepper@gmail.com>
16504
16505 [BZ #12509]
16506 * include/link.h (struct link_map): Add l_orig_initfini.
16507 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16508 returning unsuccessfully.
16509 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16510 close of a file loaded at startup, restore the original l_initfini
16511 list.
16512 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16513 list, store the pointer.
16514 * elf/Makefile ($(objpfx)noload-mem): New rule.
16515 (noload-ENV): Define.
16516 (tests): Add $(objpfx)noload-mem.
16517 * elf/noload.c: Include <memcheck.h>.
16518 (main): Call mtrace. Close all opened handles.
16519
f2092faf
AS
165202011-02-17 Andreas Schwab <schwab@redhat.com>
16521
16522 [BZ #12454]
16523 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16524 dependencies are missing.
16525
6c8a2e88
ST
165262011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16527
f2092faf 16528 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16529 Hurd needs munmap.
16530 * sysdeps/mach/hurd/ifreq.h: New file.
16531
84a42118
PB
165322011-01-27 Petr Baudis <pasky@suse.cz>
16533 Ulrich Drepper <drepper@gmail.com>
16534
071f805e 16535 [BZ 12445]#
84a42118
PB
16536 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16537 to extend_alloca().
16538 * stdio-common/bug23.c: New file.
16539 * stdio-common/Makefile (tests): Add bug23.
16540
e23fe25b
AS
165412010-09-28 Andreas Schwab <schwab@redhat.com>
16542 Ulrich Drepper <drepper@gmail.com>
16543
16544 [BZ #12489]
16545 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16546 before performing relro protection. At old place add assertion
16547 to make sure nothing changed.
16548
d3f02e10
NS
165492011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16550 Glauber de Oliveira Costa <glommer@gmail.com>
16551
16552 * elf/elf.h: Add new ARM TLS relocs.
16553
d55fd7a5
RA
165542011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16555
16556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16557 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16558 cast from r3.
16559 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16560 'tests' variable.
16561 * sysdeps/wordsize-64/tst-writev.c: New file.
16562
2206397e
RA
165632011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16564
16565 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16566 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16567 insns in _dl_start to prevent a TOC reference before relocs are
16568 resolved.
16569
e9433893
UD
165702011-02-15 Ulrich Drepper <drepper@gmail.com>
16571
16572 [BZ #12469]
16573 * Makeconfig: Remove RANLIB definition.
16574 * Makerules: Don't use RANLIB.
16575 * aclocal.m4: Remove ranlib test.
16576 * configure.in: No need to check for ranlib.
16577 * elf/rtld-Rules: Don't use RANLIB.
16578
f75286c6
ST
165792011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16580
8e31c82d
ST
16581 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16582 protection macro.
16583 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16584 inclusion protection macro.
16585
f75286c6
ST
16586 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16587 SIGRTMIN and SIGRTMAX and print information in that case only when
16588 SIGRTMIN is defined.
16589
c1d0e639
JJ
165902011-02-11 Jakub Jelinek <jakub@redhat.com>
16591
16592 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16593 arginfo fn returning -1.
16594
16595 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16596 and thousands string is zero terminated.
16597
edf9294e
AS
165982011-02-03 Andreas Schwab <schwab@redhat.com>
16599
16600 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16601 sysdeps/unix/sysv/linux/bits/socket.h.
16602
2b7e92df
ST
166032011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16604
edf9294e
AS
16605 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16606 (__CPU_COUNT): Remove old macros.
16607 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16608 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16609 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16610 (__sched_cpualloc, __sched_cpufree): Add declarations.
16611
a4c7ea7b
UD
166122011-02-05 Ulrich Drepper <drepper@gmail.com>
16613
16614 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16615 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16616 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16617 (readdhstai): Return value of addhstaiX call.
16618 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16619 (addgrbyX): Return value returned by cache_addgr.
16620 (readdgrbyname): Return value returned by addgrbyX.
16621 (readdgrbygid): Likewise.
16622 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16623 (addpwbyX): Return value returned by cache_addpw.
16624 (readdpwbyname): Return value returned by addhstbyX.
16625 (readdpwbyuid): Likewise.
16626 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16627 (addservbyX): Return value returned by cache_addserv.
16628 (readdservbyname): Return value returned by addservbyX:
16629 (readdservbyport): Likewise.
16630 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16631 (addhstbyX): Return value returned by cache_addhst.
16632 (readdhstbyname): Return value returned by addhstbyX.
16633 (readdhstbyaddr): Likewise.
16634 (readdhstbynamev6): Likewise.
16635 (readdhstbyaddrv6): Likewise.
16636 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16637 (readdinitgroups): Return value returned by addinitgroupsX.
16638 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16639 (prune_cache): Keep track of timeout value of re-added entries.
16640 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16641 * nscd/nscd.h: Adjust prototypes of readd* functions.
16642
a0bf67cc
RM
166432011-02-04 Roland McGrath <roland@redhat.com>
16644
16645 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16646 (nis_stats): Likewise.
16647 * nis/nis_modify.c (nis_modify): Likewise.
16648 * nis/nis_remove.c (nis_remove): Likewise.
16649 * nis/nis_add.c (nis_add): Likewise.
16650
16651 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16652
16653 * posix/fnmatch_loop.c: Add some consts.
16654
16655 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16656
435b95eb
L
166572011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16658
16659 [BZ #12460]
16660 * config.make.in (config-cflags-novzeroupper): Define.
16661 * configure.in: Substitute libc_cv_cc_novzeroupper.
16662 * elf/Makefile (AVX-CFLAGS): Define.
16663 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16664 (CFLAGS-tst-auditmod4a.c): Likewise.
16665 (CFLAGS-tst-auditmod4b.c): Likewise.
16666 (CFLAGS-tst-auditmod6b.c): Likewise.
16667 (CFLAGS-tst-auditmod6c.c): Likewise.
16668 (CFLAGS-tst-auditmod7b.c): Likewise.
16669 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16670
8517b15e
UD
166712011-02-02 Ulrich Drepper <drepper@gmail.com>
16672
16673 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16674 function to the callback.
16675 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16676
10a656fe
AS
166772011-02-02 Andreas Schwab <schwab@redhat.com>
16678
16679 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16680 of errno.
16681
968dad0a
UD
166822011-01-19 Ulrich Drepper <drepper@gmail.com>
16683
9f94d2ea 16684 [BZ #11724]
968dad0a
UD
16685 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16686 of constructors.
16687 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16688 of destructors.
16689 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16690
16691 [BZ #11724]
16692 * elf/Makefile: Add rules to build and run new test.
16693 * elf/tst-initorder.c: New file.
16694 * elf/tst-initorder.exp: New file.
16695 * elf/tst-initordera1.c: New file.
16696 * elf/tst-initordera2.c: New file.
16697 * elf/tst-initordera3.c: New file.
16698 * elf/tst-initordera4.c: New file.
16699 * elf/tst-initorderb1.c: New file.
16700 * elf/tst-initorderb2.c: New file.
16701 * elf/tst-order-a1.c: New file.
16702 * elf/tst-order-a2.c: New file.
16703 * elf/tst-order-a3.c: New file.
16704 * elf/tst-order-a4.c: New file.
16705 * elf/tst-order-b1.c: New file.
16706 * elf/tst-order-b2.c: New file.
16707 * elf/tst-order-main.c: New file.
16708 New test case by George Gensure <werkt0@gmail.com>.
16709
86e92359
UD
167102010-10-01 Andreas Schwab <schwab@redhat.com>
16711
16712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16713 decoding ACE if AI_CANONIDN.
16714
5d5732b0
UD
167152011-01-18 Ulrich Drepper <drepper@gmail.com>
16716
16717 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16718
a77e8cbc
UD
167192011-01-17 Ulrich Drepper <drepper@gmail.com>
16720
6392473f
UD
16721 * version.h (RELEASE): Bump for 2.13 release.
16722 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16723
620a0529
UD
16724 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16725
18ba70a5
UD
16726 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16727 MADV_NOHUGEPAGE.
32465c3e
UD
16728 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16729 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16730 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16731 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16732 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16733 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16734
c0dafcf1
UD
16735 * posix/getconf.c: Update copyright year.
16736 * catgets/gencat.c: Likewise.
16737 * csu/version.c: Likewise.
16738 * debug/catchsegv.sh: Likewise.
16739 * debug/xtrace.sh: Likewise.
16740 * elf/ldconfig.c: Likewise.
16741 * elf/ldd.bash.in: Likewise.
16742 * elf/sprof.c (print_version): Likewise.
16743 * iconv/iconv_prog.c: Likewise.
16744 * iconv/iconvconfig.c: Likewise.
16745 * locale/programs/locale.c: Likewise.
16746 * locale/programs/localedef.c: Likewise.
16747 * malloc/memusage.sh: Likewise.
16748 * malloc/mtrace.pl: Likewise.
16749 * nscd/nscd.c (print_version): Likewise.
16750 * nss/getent.c: Likewise.
16751
a77e8cbc
UD
16752 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16753 PF_CAIF, and PF_ALG.
16754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16755
77e8bddf
AS
167562011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16757
1f20b93a
AS
16758 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16759 (modules-names): Use them.
16760 (ifunc-test-modules, ifunc-pie-tests): Define.
16761 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16762 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16763 (test-extras): Likewise.
16764 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16765 $(compile-command.c).
16766 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16767 (all-built-dso): Define.
16768 (check-textrel.out, check-execstack.out): Depend on it.
16769
77e8bddf
AS
16770 * configure.in: Don't override --enable-multi-arch.
16771
bc425b33
UD
167722011-01-15 Ulrich Drepper <drepper@gmail.com>
16773
16774 [BZ #6812]
16775 * nscd/hstcache.c (tryagain): Define.
16776 (cache_addhst): Return tryagain not notfound for temporary errors.
16777 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16778 failed.
16779
794c3ad3
UD
167802011-01-14 Ulrich Drepper <drepper@gmail.com>
16781
70181fdd
UD
16782 [BZ #10563]
16783 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16784 to make the syscall.
16785 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16786
794c3ad3
UD
16787 [BZ #12378]
16788 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16789 and fall back to matching as normal character if the string ends before
16790 the matching ']' is found. This is what POSIX requires.
16791 * posix/testfnm.c: Adjust test result.
16792 * posix/globtest.sh: Adjust test result. Add new test.
16793 * posix/tst-fnmatch.input: Likewise.
16794 * posix/tst-fnmatch2.c: Add new test.
16795
68dc9497
AS
167962010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16797
16798 * elf/Makefile (check-execstack): Revert last change. Depend on
16799 check-execstack.h.
16800 (check-execstack.h): New target.
16801 (generated): Add check-execstack.h.
16802 * elf/check-execstack.c: Include "check-execstack.h".
16803 (main): Revert last change.
16804 (handle_file): Return zero if GNU_STACK is absent and
16805 DEFAULT_STACK_PERMS doesn't include PF_X.
16806
451f001b
UD
168072011-01-13 Ulrich Drepper <drepper@gmail.com>
16808
cfa28e56
UD
16809 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16810 in child fails because the descriptor is already closed.
8cf8ce17
UD
16811 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16812 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16813 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16814
1086d70d
UD
16815 [BZ #12397]
16816 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16817 syscall.
16818
451f001b
UD
16819 [BZ #10484]
16820 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16821 temporary buffer used to handle multi lookups locally.
a85b5cb4 16822 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16823
08769175
UD
168242011-01-12 Ulrich Drepper <drepper@gmail.com>
16825
16826 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16827 loader is ld.so.
16828
5e49c52e
UD
168292011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16830
16831 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16832 alignment for SSE2.
16833
60522a5f
UD
168342011-01-12 Ulrich Drepper <drepper@gmail.com>
16835
16836 [BZ #12394]
16837 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16838 characters. When rounding increased number of integer digits recompute
16839 number of groups.
16840 * stdio-common/tst-grouping.c: New file.
16841 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16842
f257bbd7
UD
168432011-01-09 Ulrich Drepper <drepper@gmail.com>
16844
16845 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16846 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16847
16848 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16849 void.
16850 * bits/select.h: Likewise.
16851
fa9c15cb
UD
168522011-01-08 Ulrich Drepper <drepper@gmail.com>
16853
16854 * po/ja.po: Update from translation team.
16855
16c2895f
DM
168562011-01-04 David S. Miller <davem@sunset.davemloft.net>
16857
16858 [BZ #11155]
16859 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16860 implementation just like for lxstat, fxstatat, et al.
16861
2543fef2
JM
168622010-12-27 Jim Meyering <meyering@redhat.com>
16863
16864 [BZ #12348]
16865 * posix/regexec.c (build_trtable): Return failure indication upon
16866 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16867
98727dbe
UD
168682010-12-25 Ulrich Drepper <drepper@gmail.com>
16869
5bd6dc5c
UD
16870 [BZ #12201]
16871 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16872 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16873 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16874 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16875
97983464
UD
16876 [BZ #12207]
16877 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16878
98727dbe
UD
16879 [BZ #12204]
16880 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16881 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16882
4a531bb0
L
168832010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16884
16885 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16886 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16887 script has SORT_BY_INIT_PRIORITY.
16888 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16889 NO_CTORS_DTORS_SECTIONS is defined.
16890 * elf/soinit.c: Likewise.
16891 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16892 NO_CTORS_DTORS_SECTIONS is defined.
16893 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16894 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16895 * sysdeps/sh/init-first.c: Likewise.
16896 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16897
07eb4b71
UD
168982010-12-24 Ulrich Drepper <drepper@gmail.com>
16899
16900 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16901 always use the slow path.
16902
30950a5f
RA
169032010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16904
16905 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16906 similar rule which adds the sysdep directories to the header search in
16907 order to pick up the correct platform stackinfo.h.
16908 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16909 perform test if it is, otherwise return successfully without testing.
16910 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16911 DEFAULT_STACK_PERMS define in stackinfo.h.
16912 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16913 defined in stackinfo.h.
16914 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16915 DEFAULT_STACK_PERMS defined in stackinfo.h.
16916 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16917 * sysdeps/ia64/stackinfo.h: Likewise.
16918 * sysdeps/s390/stackinfo.h: Likewise.
16919 * sysdeps/sh/stackinfo.h: Likewise.
16920 * sysdeps/sparc/stackinfo.h: Likewise.
16921 * sysdeps/x86_64/stackinfo.h: Likewise.
16922 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16923 PF_X for powerpc64. Retain PF_X for powerpc32.
16924
db753e2c
UD
169252010-12-19 Ulrich Drepper <drepper@gmail.com>
16926
14b697f7
UD
16927 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16928 accurately.
db753e2c
UD
16929 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16930 GETDENTS_64BIT_ALIGNED.
16931
28300719
UD
169322010-12-14 Ulrich Drepper <dreper@gmail.com>
16933
14b697f7 16934 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16935
4f197237
AS
169362010-12-10 Andreas Schwab <schwab@redhat.com>
16937
dbb0472f
AS
16938 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16939 _GNU_SOURCE.
16940
4f197237
AS
16941 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16942 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16943 Remove __restrict.
16944 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16945 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16946
fb88ac72
UD
169472010-12-09 Ulrich Drepper <drepper@gmail.com>
16948
16949 [BZ #11655]
16950 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16951 are initialized.
16952
42acbb92
JJ
169532010-12-09 Jakub Jelinek <jakub@redhat.com>
16954
16955 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16956
c038d98d
UD
169572010-12-03 Ulrich Drepper <drepper@gmail.com>
16958
16959 * po/it.po: Update from translation team.
16960
3a4a2499
L
169612010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16962
16963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16964 unused codes.
16965
1e24cf6e
UD
169662010-11-30 Ulrich Drepper <drepper@gmail.com>
16967
16968 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16969
a7690819
AS
169702010-11-24 Andreas Schwab <schwab@redhat.com>
16971
16972 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16973 specially.
16974 (gaih_getanswer_slice): Likewise.
16975
3bf8d1b1
JJ
169762010-10-20 Jakub Jelinek <jakub@redhat.com>
16977
16978 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16979
6db52fbb
PB
169802010-05-31 Petr Baudis <pasky@suse.cz>
16981
16982 [BZ #11149]
16983 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16984 silently even in the chroot mode.
16985
eaca7569
UD
169862010-11-22 Ulrich Drepper <drepper@gmail.com>
16987
16988 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16989 last patch a bit. Pretty printing
16990
3056dcdb
UD
169912010-05-31 Petr Baudis <pasky@suse.cz>
16992
16993 [BZ #10085]
16994 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16995 initialization of skip_initgroups_dyn.
16996
cf7c9078
UD
169972010-11-19 Ulrich Drepper <drepper@gmail.com>
16998
16999 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17000 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17001
a1fb5e3e
UD
170022010-11-16 Ulrich Drepper <drepper@gmail.com>
17003
17004 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17005
3540d66b
AS
170062010-11-11 Andreas Schwab <schwab@redhat.com>
17007
17008 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17009 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17010 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17011 ($(objpfx)tst-fnmatch-mem): New rule.
17012 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17013 * posix/tst-fnmatch.c (main): Call mtrace.
17014
13b69574
L
170152010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17016
17017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17018 Support Intel processor model 6 and model 0x2c.
17019
da93d214
LM
170202010-11-10 Luis Machado <luisgpm@br.ibm.com>
17021
17022 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17023 signed comparison.
17024
8ca52c6e
L
170252010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17026
17027 [BZ #12205]
17028 * string/test-strncasecmp.c (check_result): New function.
17029 (do_one_test): Use it.
17030 (check1): New function.
17031 (test_main): Use it.
17032 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17033 Support strcasecmp and strncasecmp.
17034
69da074d
UD
170352010-11-08 Ulrich Drepper <drepper@gmail.com>
17036
17037 [BZ #12194]
17038 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17039 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17040
ff02d528
L
170412010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17044 IFUNC support.
17045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17046 memset-x86-64.
17047 * sysdeps/x86_64/multiarch/bzero.S: New file.
17048 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17049 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17050 * sysdeps/x86_64/multiarch/memset.S: New file.
17051 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17053 Set bit_Prefer_SSE_for_memop for Intel processors.
17054 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17055 Define.
17056 (index_Prefer_SSE_for_memop): Define.
17057 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17058
344d0b54
LM
170592010-11-04 Luis Machado <luisgpm@br.ibm.com>
17060
17061 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17062 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17063
c0dde15b
UD
170642010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17065
17066 [BZ #12191]
17067 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17068 (__x86_64_raw_data_cache_size_half): Likewise.
17069 (__x86_64_raw_shared_cache_size): Likewise.
17070 (__x86_64_raw_shared_cache_size_half): Likewise.
17071
17072 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17073 (__x86_64_raw_data_cache_size_half): Likewise.
17074 (__x86_64_raw_shared_cache_size): Likewise.
17075 (__x86_64_raw_shared_cache_size_half): Likewise.
17076 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17077 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17078 and __x86_64_raw_shared_cache_size_half. Round
17079 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17080 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17081 to multiple of 256 bytes.
17082
0e516e0e
MS
170832010-11-03 Ulrich Drepper <drepper@gmail.com>
17084
17085 [BZ #12167]
17086 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17087 of inacessible symlinks. Verify result of symlink before returning it.
17088 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17089 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17090
0e012e87
ER
170912010-10-28 Erich Ritz <erichritz@gmail.com>
17092
17093 * math/math.h (isinf): Fix typo in comment.
17094
de0ff7bc
UD
170952010-11-01 Ulrich Drepper <drepper@gmail.com>
17096
17097 * po/da.po: Update from translation team.
17098
fa41c84d
UD
170992010-10-26 Ulrich Drepper <drepper@gmail.com>
17100
17101 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17102 is added to the list.
17103
f0967738
AK
171042010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17105 Ulrich Drepper <drepper@gmail.com>
17106
17107 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17108 the global list here. Move code to...
17109 (_dl_add_to_namespace_list): ...here. New function.
17110 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17111 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17112 * elf/dl-load.c (lose): Don't remove the element from the list.
17113 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17114 (_dl_map_object): Likewise.
17115
171162010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17117
17118 [BZ #12159]
17119 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17120 into all bytes of SSE register.
17121 Patch by Richard Li <richardpku@gmail.com>.
17122
f0967738 171232010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17124
17125 [BZ #12140]
17126 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17127 perturbing.
17128
d0b9e94f
MB
171292010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17130
17131 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17132 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17133 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17134 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17136 submachine.
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17138
8e9f92e9
AS
171392010-10-22 Andreas Schwab <schwab@redhat.com>
17140
17141 * include/dlfcn.h (__RTLD_SECURE): Define.
17142 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17143 mode & __RTLD_SECURE instead.
17144 (open_path): Rename preloaded parameter to secure.
17145 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17146 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17147 * elf/dl-deps.c (openaux): Likewise.
17148 * elf/rtld.c (struct map_args): Remove is_preloaded.
17149 (map_doit): Don't use it.
17150 (dl_main): Likewise.
17151 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17152 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17153
bc96fbda
AS
171542010-09-09 Andreas Schwab <schwab@redhat.com>
17155
17156 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17157 (sysd-rules-targets): Remove duplicates.
17158 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17159 rtld-%.$o dependency.
17160
22cd1c9b
AS
171612010-10-18 Andreas Schwab <schwab@redhat.com>
17162
17163 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17164 _dl_map_object do it.
17165
18edac48
UD
171662010-10-19 Ulrich Drepper <drepper@gmail.com>
17167
17168 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17169 fast fma builtins, define the macros in the C99 standard.
17170 (FP_FAST_FMAF): Likewise.
17171 (FP_FAST_FMAL): Likewise.
17172 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17173
17174 * bits/mathdef.h: Update copyright year.
17175 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17176
d2050124
MM
171772010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17178
17179 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17180 builtins, define the macros in the C99 standard.
17181 (FP_FAST_FMAF): Likewise.
17182 (FP_FAST_FMAL): Likewise.
17183 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17184 multiply/add.
17185 (FP_FAST_FMAF): Likewise.
17186
475facd1
JJ
171872010-10-15 Jakub Jelinek <jakub@redhat.com>
17188
17189 [BZ #3268]
17190 * math/libm-test.inc (fma_test): Some new testcases.
17191 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17192 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17193 y and infinite z. Do multiplication by C already in long double.
17194 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17196 y and infinite z. Do bitwise or of inexact bit into u.d.
17197 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17198 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17199 * sysdeps/i386/fpu/s_fma.S: Removed.
17200 * sysdeps/i386/fpu/s_fmal.S: Removed.
17201
7c08a05c
JJ
172022010-10-16 Jakub Jelinek <jakub@redhat.com>
17203
17204 [BZ #3268]
17205 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17206 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17207 computation is not scheduled after fetestexcept. Fix value
17208 of minimum denormal long double.
17209
f3f7372d
JJ
172102010-10-14 Jakub Jelinek <jakub@redhat.com>
17211
17212 [BZ #3268]
17213 * math/libm-test.inc (fma_test): Add some more tests.
17214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17215 correctly.
17216
14d43591
AS
172172010-10-15 Andreas Schwab <schwab@redhat.com>
17218
17219 * scripts/data/localplt-s390-linux-gnu.data: New file.
17220 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17221
5e908464
JJ
172222010-10-13 Jakub Jelinek <jakub@redhat.com>
17223
17224 [BZ #3268]
17225 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17226 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17227 instead of dbl-64.
17228 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17229 inlines.
17230 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17232 if one of x and y is very large and the other is subnormal.
17233 * sysdeps/s390/fpu/s_fmaf.c: New file.
17234 * sysdeps/s390/fpu/s_fma.c: New file.
17235 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17236 * sysdeps/powerpc/fpu/s_fma.S: New file.
17237 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17238 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17239 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17240
172412010-10-12 Jakub Jelinek <jakub@redhat.com>
17242
17243 [BZ #3268]
17244 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17245 fma tests.
17246 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17247 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17248 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17249 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17250 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17251 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17253
b833d51f
UD
172542010-10-12 Ulrich Drepper <drepper@redhat.com>
17255
17256 [BZ #12078]
17257 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17258 * posix/bug-regex31.input: Add test case.
17259
1751705d
UD
172602010-10-11 Ulrich Drepper <drepper@gmail.com>
17261
e9b9cbf5
UD
17262 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17263 * posix/bug-regex31.input: New file.
17264
17265 [BZ #12078]
17266 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17267 (parse_sub_exp): Fix last change, use postorder.
17268
ef06edbe
UD
17269 * posix/bug-regex31.c: New file.
17270 * posix/Makefile: Add rules to build and run bug-regex31.
17271
a129c80d
UD
17272 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17273
17274 [BZ #12078]
17275 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17276
b76b818e
UD
17277 [BZ #12108]
17278 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17279 to have entries in sys_siglist.
17280
1751705d
UD
17281 [BZ #12093]
17282 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17283 be NULL.
17284
9ff8d36f
JJ
172852010-10-07 Jakub Jelinek <jakub@redhat.com>
17286
17287 [BZ #3268]
17288 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17289 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17290 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17291 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17292 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17293 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17294 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17295 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17296 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17297 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17298 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17299 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17300 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17301 * math/ftestexcept.c (fetestexcept): Likewise.
17302 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17303 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17304 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17305 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17306 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17307 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17308 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17309
af325969
UD
173102010-10-11 Ulrich Drepper <drepper@gmail.com>
17311
c579b202 17312 [BZ #12107]
af325969
UD
17313 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17314 newline.
17315
67a67b95
UD
173162010-10-06 Ulrich Drepper <drepper@gmail.com>
17317
17318 * string/bug-strstr1.c: New file.
17319 * string/Makefile: Add rules to build and run bug-strstr1.
17320
5fb308bc
EB
173212010-10-05 Eric Blake <eblake@redhat.com>
17322
17323 [BZ #12092]
17324 * string/str-two-way.h (two_way_long_needle): Always clear memory
17325 when skipping input due to the shift table.
17326
45db99c7
UD
173272010-10-03 Ulrich Drepper <drepper@gmail.com>
17328
3b111893
UD
17329 [BZ #12005]
17330 * malloc/mcheck.c: Handle large requests.
17331
45db99c7
UD
17332 [BZ #12077]
17333 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17334 for strncmp and strncasecmp.
17335 * string/stratcliff.c: Add tests for strcmp and strncmp.
17336 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17337
cf7a1eb8
NI
173382010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17339
17340 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17341 __set_fpscr.
17342
6484ba5e
AJ
173432010-09-30 Andreas Jaeger <aj@suse.de>
17344
17345 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17346 (CGROUP_SUPER_MAGIC): Define.
17347 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17348 Handle btrfs and cgroup file systems.
17349 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17350 Likewise.
17351
91c42559
LM
173522010-09-27 Luis Machado <luisgpm@br.ibm.com>
17353
17354 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17355 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17356
87a97932
AK
173572010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17358
17359 [BZ #12067]
17360 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17361 trying to locate the ELF header.
17362
c21cc9bc
AS
173632010-09-27 Andreas Schwab <schwab@redhat.com>
17364
17365 [BZ #11611]
17366 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17367 Mask out sign-bit copies when constructing f_fsid.
17368
315970f6
PB
173692010-09-24 Petr Baudis <pasky@suse.cz>
17370
17371 * debug/stack_chk_fail_local.c: Add missing licence exception.
17372 * debug/warning-nop.c: Likewise.
17373
1ac7a2c7
JM
173742010-09-15 Joseph Myers <joseph@codesourcery.com>
17375
17376 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17377 implementing getdents64 using getdents syscall, set d_type if
17378 __ASSUME_GETDENTS32_D_TYPE.
17379
56801c50
AS
173802010-09-16 Andreas Schwab <schwab@redhat.com>
17381
17382 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17383 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17384
dda51327
UD
173852010-09-21 Ulrich Drepper <drepper@redhat.com>
17386
17387 [BZ #12037]
17388 * posix/unistd.h: Undo change of feature selection for ftruncate from
17389 2010-01-11.
17390
8ffcee4a
UD
173912010-09-20 Ulrich Drepper <drepper@redhat.com>
17392
a545ecd9 17393 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17394 detection.
17395
e24f0a8b
AS
173962010-09-20 Andreas Schwab <schwab@redhat.com>
17397
17398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17399 fanotify_mark.
17400 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17401
7291c56f
AS
174022010-09-14 Andreas Schwab <schwab@redhat.com>
17403
17404 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17405 variables after CHECK_SP call.
17406 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17407
bc5fb037
AS
174082010-09-13 Andreas Schwab <schwab@redhat.com>
17409 Ulrich Drepper <drepper@redhat.com>
17410
17411 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17412 re-relocationg ld.so.
17413 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17414 _dl_init_paths call.
17415 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17416 here anymore.
17417
e66e7419
UD
174182010-09-14 Ulrich Drepper <drepper@redhat.com>
17419
17420 * resolv/res_init.c (__res_vinit): Count the default server we added.
17421
c044aa75
CLT
174222010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17423 Ulrich Drepper <drepper@redhat.com>
17424
17425 [BZ #11968]
17426 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17427 (____longjmp_chk): Use %ebx for saving value across system call.
17428 Add unwind info.
17429
32cf4069
AS
174302010-09-06 Andreas Schwab <schwab@redhat.com>
17431
17432 * manual/Makefile: Don't mix pattern rules with normal rules.
17433
817328ee
AS
174342010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17435
17436 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17437 operation.
17438 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17439 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17440 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17441 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17443 Likewise.
17444
29fddf61
UD
174452010-09-04 Ulrich Drepper <drepper@redhat.com>
17446
17447 [BZ #11979]
17448 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17449 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17450
0959ffc9
UD
174512010-09-02 Ulrich Drepper <drepper@redhat.com>
17452
17453 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17454 * sysdeps/x86_64/addmul_1.S: Likewise.
17455 * sysdeps/x86_64/lshift.S: Likewise.
17456 * sysdeps/x86_64/mul_1.S: Likewise.
17457 * sysdeps/x86_64/rshift.S: Likewise.
17458 * sysdeps/x86_64/sub_n.S: Likewise.
17459 * sysdeps/x86_64/submul_1.S: Likewise.
17460
ece29840
ST
174612010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17462
0959ffc9
UD
17463 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17464 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17465 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17466 * bits/sched.h [__need_schedparam]
ece29840 17467 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17468 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17469 (__defined_schedparam): Define to 1.
ece29840
ST
17470 (__sched_param): New structure, identical to sched_param.
17471 (__need_schedparam): Undefine.
17472
e53a31fe
MF
174732010-08-31 Mike Frysinger <vapier@gentoo.org>
17474
fdc0c10d
MF
17475 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17476 (epoll_create1): Declare.
17477
e53a31fe
MF
17478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17479
a726d796
AS
174802010-08-31 Andreas Schwab <schwab@redhat.com>
17481
17482 [BZ #7066]
17483 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17484 shifting retval into place.
17485
2f3e3dc7
UD
174862010-09-01 Ulrich Drepper <drepper@redhat.com>
17487
f2933da9
UD
17488 * nis/rpcsvc/nis.h: Update copyright notice.
17489 * nis/rpcsvc/nis.x: Likewise.
17490 * nis/rpcsvc/nis_callback.h: Likewise.
17491 * nis/rpcsvc/nis_callback.x: Likewise.
17492 * nis/rpcsvc/nis_object.x: Likewise.
17493 * nis/rpcsvc/nis_tags.h: Likewise.
17494 * nis/rpcsvc/yp.h: Likewise.
17495 * nis/rpcsvc/yp.x: Likewise.
17496 * nis/rpcsvc/ypupd.h: Likewise.
17497 * nis/yp_xdr.c: Likewise.
17498 * nis/ypupdate_xdr.c: Likewise.
17499
2f3e3dc7
UD
17500 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17501 mainly the body of pmap_getport. Add parameters to specify timeouts.
17502 (pmap_getport): Use __libc_rpc_getport.
17503 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17504 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17505 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17506
f3dcc2f9
AS
175072010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17508
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17510 fanotify_mark.
17511
6d34eb5b
RM
175122010-08-27 Roland McGrath <roland@redhat.com>
17513
17514 * sysdeps/i386/i686/multiarch/Makefile
17515 (CFLAGS-varshift.c): New variable.
17516
9ea3de11
UD
175172010-08-27 Ulrich Drepper <drepper@redhat.com>
17518
c96d23fc
UD
17519 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17520 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17521
9ea3de11
UD
17522 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17523
17524 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17525
623aac7f
L
175262010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17527
17528 * sysdeps/x86_64/strlen.S: Unroll the loop.
17529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17530 strlen-sse2 strlen-sse2-bsf.
17531 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17532 __strlen_no_bsf if bit_Slow_BSF is set.
17533 (__strlen_sse42): Removed.
17534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17535 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17536
8b2b7715
RM
175372010-08-25 Roland McGrath <roland@redhat.com>
17538
17539 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17540 * sysdeps/x86_64/multiarch/varshift.c: New file.
17541 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17542 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17543 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17544 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17545
e73015f2
L
175462010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17547
17548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17549 strlen-sse2 strlen-sse2-bsf.
17550 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17551 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17552 (__strlen_sse2): Removed.
17553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17556 bit_Slow_BSF for Atom.
17557 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17558 (index_Slow_BSF): Define.
17559 (HAS_SLOW_BSF): Define.
17560
df24a73e
UD
175612010-08-25 Ulrich Drepper <drepper@redhat.com>
17562
17563 [BZ #10851]
17564 * resolv/res_init.c (__res_vinit): When no server address at all
17565 is given default to loopback.
17566
f2ac4868
RM
175672010-08-24 Roland McGrath <roland@redhat.com>
17568
09055553
RM
17569 * configure.in: Remove config-name.h generation.
17570 * configure: Regenerated.
17571 * config-name.in: File removed.
17572 * scripts/config-uname.sh: New file.
17573 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17574 ($(objdir)config-name.h): New target.
17575
f2ac4868
RM
17576 * sunrpc/rpc_parse.h: Avoid nested comment.
17577
73f27d5e
RH
175782010-08-24 Richard Henderson <rth@redhat.com>
17579 Ulrich Drepper <drepper@redhat.com>
17580 H.J. Lu <hongjiu.lu@intel.com>
17581
17582 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17584 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17585 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17586 _mm_alignr_epi8 with _mm_loadu_si128.
17587 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17588 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17589 (__m128i_shift_right): Removed.
17590 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17591 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17592 * sysdeps/x86_64/multiarch/varshift.h: New file.
17593 * sysdeps/x86_64/multiarch/varshift.S: New file.
17594
84b9230c
MF
175952010-08-21 Mike Frysinger <vapier@gentoo.org>
17596
17597 * configure.in: Move assembler checks to before sysdep dir checking.
17598
9bbd0ddc
PB
175992010-08-20 Petr Baudis <pasky@suse.cz>
17600
17601 * LICENSES: Sync the sunrpc license.
17602
9da4bb31
UD
176032010-08-19 Ulrich Drepper <drepper@redhat.com>
17604
a7ab6ec8
UD
17605 * sunrpc/auth_des.c: Update copyright notice once again.
17606 * sunrpc/auth_none.c: Likewise.
17607 * sunrpc/auth_unix.c: Likewise.
17608 * sunrpc/authdes_prot.c: Likewise.
17609 * sunrpc/authuxprot.c: Likewise.
17610 * sunrpc/bindrsvprt.c: Likewise.
17611 * sunrpc/clnt_gen.c: Likewise.
17612 * sunrpc/clnt_perr.c: Likewise.
17613 * sunrpc/clnt_raw.c: Likewise.
17614 * sunrpc/clnt_simp.c: Likewise.
17615 * sunrpc/clnt_tcp.c: Likewise.
17616 * sunrpc/clnt_udp.c: Likewise.
17617 * sunrpc/clnt_unix.c: Likewise.
17618 * sunrpc/des_crypt.c: Likewise.
17619 * sunrpc/des_soft.c: Likewise.
17620 * sunrpc/get_myaddr.c: Likewise.
17621 * sunrpc/getrpcport.c: Likewise.
17622 * sunrpc/key_call.c: Likewise.
17623 * sunrpc/key_prot.c: Likewise.
17624 * sunrpc/openchild.c: Likewise.
17625 * sunrpc/pm_getmaps.c: Likewise.
17626 * sunrpc/pm_getport.c: Likewise.
17627 * sunrpc/pmap_clnt.c: Likewise.
17628 * sunrpc/pmap_prot.c: Likewise.
17629 * sunrpc/pmap_prot2.c: Likewise.
17630 * sunrpc/pmap_rmt.c: Likewise.
17631 * sunrpc/rpc/auth.h: Likewise.
17632 * sunrpc/rpc/auth_unix.h: Likewise.
17633 * sunrpc/rpc/clnt.h: Likewise.
17634 * sunrpc/rpc/des_crypt.h: Likewise.
17635 * sunrpc/rpc/key_prot.h: Likewise.
17636 * sunrpc/rpc/netdb.h: Likewise.
17637 * sunrpc/rpc/pmap_clnt.h: Likewise.
17638 * sunrpc/rpc/pmap_prot.h: Likewise.
17639 * sunrpc/rpc/pmap_rmt.h: Likewise.
17640 * sunrpc/rpc/rpc.h: Likewise.
17641 * sunrpc/rpc/rpc_des.h: Likewise.
17642 * sunrpc/rpc/rpc_msg.h: Likewise.
17643 * sunrpc/rpc/svc.h: Likewise.
17644 * sunrpc/rpc/svc_auth.h: Likewise.
17645 * sunrpc/rpc/types.h: Likewise.
17646 * sunrpc/rpc/xdr.h: Likewise.
17647 * sunrpc/rpc_clntout.c: Likewise.
17648 * sunrpc/rpc_cmsg.c: Likewise.
17649 * sunrpc/rpc_common.c: Likewise.
17650 * sunrpc/rpc_cout.c: Likewise.
17651 * sunrpc/rpc_dtable.c: Likewise.
17652 * sunrpc/rpc_hout.c: Likewise.
17653 * sunrpc/rpc_main.c: Likewise.
17654 * sunrpc/rpc_parse.c: Likewise.
17655 * sunrpc/rpc_parse.h: Likewise.
17656 * sunrpc/rpc_prot.c: Likewise.
17657 * sunrpc/rpc_sample.c: Likewise.
17658 * sunrpc/rpc_scan.c: Likewise.
17659 * sunrpc/rpc_scan.h: Likewise.
17660 * sunrpc/rpc_svcout.c: Likewise.
17661 * sunrpc/rpc_tblout.c: Likewise.
17662 * sunrpc/rpc_util.c: Likewise.
17663 * sunrpc/rpc_util.h: Likewise.
17664 * sunrpc/rpcinfo.c: Likewise.
17665 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17666 * sunrpc/rpcsvc/key_prot.x: Likewise.
17667 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17668 * sunrpc/rpcsvc/mount.x: Likewise.
17669 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17670 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17671 * sunrpc/rpcsvc/rex.x: Likewise.
17672 * sunrpc/rpcsvc/rstat.x: Likewise.
17673 * sunrpc/rpcsvc/rusers.x: Likewise.
17674 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17675 * sunrpc/rpcsvc/spray.x: Likewise.
17676 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17677 * sunrpc/rtime.c: Likewise.
17678 * sunrpc/svc.c: Likewise.
17679 * sunrpc/svc_auth.c: Likewise.
17680 * sunrpc/svc_authux.c: Likewise.
17681 * sunrpc/svc_raw.c: Likewise.
17682 * sunrpc/svc_run.c: Likewise.
17683 * sunrpc/svc_simple.c: Likewise.
17684 * sunrpc/svc_tcp.c: Likewise.
17685 * sunrpc/svc_udp.c: Likewise.
17686 * sunrpc/svc_unix.c: Likewise.
17687 * sunrpc/svcauth_des.c: Likewise.
17688 * sunrpc/xcrypt.c: Likewise.
17689 * sunrpc/xdr.c: Likewise.
17690 * sunrpc/xdr_array.c: Likewise.
17691 * sunrpc/xdr_float.c: Likewise.
17692 * sunrpc/xdr_mem.c: Likewise.
17693 * sunrpc/xdr_rec.c: Likewise.
17694 * sunrpc/xdr_ref.c: Likewise.
17695 * sunrpc/xdr_sizeof.c: Likewise.
17696 * sunrpc/xdr_stdio.c: Likewise.
17697
9da4bb31
UD
17698 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17699 handling.
17700
bdaa77bc
AS
177012010-08-19 Andreas Schwab <schwab@redhat.com>
17702
17703 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17704
fe2f79db
LM
177052010-08-19 Luis Machado <luisgpm@br.ibm.com>
17706
17707 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17708 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17709 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17710 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17711 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17712 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17713 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17714 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17715 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17716 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17717 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17718 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17719 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17720 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17721
b9b42ee0
AB
177222010-07-26 Anton Blanchard <anton@samba.org>
17723
17724 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17725 * malloc/arena.c (heap_trim): Likewise.
17726
1c06ba31
UD
177272010-08-16 Ulrich Drepper <drepper@redhat.com>
17728
17729 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17730 here. Not...
17731 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17732 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17733
f8392f40
L
177342010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17735
17736 * sysdeps/i386/elf/Makefile: New file.
17737
3162f12e
AS
177382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17739
17740 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17741 from fanotify_init.
17742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17743 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17744
28c90b2c
UD
177452010-08-15 Ulrich Drepper <drepper@redhat.com>
17746
17747 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17748 of strncasecmp_l.
1feccb6c 17749 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17750
ca6bb004
UD
177512010-08-14 Ulrich Drepper <drepper@redhat.com>
17752
e9f82e0d
UD
17753 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17754 strncase_l-nonascii.
17755 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17756 Add strncase_l-ssse3.
17757 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17758 * sysdeps/x86_64/strcmp.S: Likewise.
17759 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17760 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17761 * sysdeps/x86_64/strncase.S: New file.
17762 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17763 * sysdeps/x86_64/strncase_l.S: New file.
17764 * string/Makefile (strop-tests): Add strncasecmp.
17765 * string/test-strncasecmp.c: New file.
17766
17767 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17768 warning.
17769
ca6bb004
UD
17770 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17771 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17772
052fa7b3
AS
177732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17774
17775 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17776
962dba78
UD
177772010-08-12 Ulrich Drepper <drepper@redhat.com>
17778
17779 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17780 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17781 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17782
bebff237
AM
177832010-05-01 Alan Modra <amodra@gmail.com>
17784
17785 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17786 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17787 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17788 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17789 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17790 tidying. Don't tail-call __sigjmp_save for static lib.
17791 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17792 save location.
17793 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17794 (CALL_MCOUNT): Add eh info, and nop after bl.
17795 (TAIL_CALL_SYSCALL_ERROR): New macro.
17796 (PSEUDO_RET): Use it.
17797 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17798 Correct save location of integer regs and cr.
17799 (_dl_profile_resolve): Correct cr save location. Delete nops
17800 after bl when SHARED. Reduce cfi size a little by better
17801 placement of cfi directives.
17802 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17803 make a stack frame. Instead use parm save area as a temp.
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17805 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17807 Don't make a stack frame for parent, use parm save area.
17808 Increase child stack frame to 112 bytes. Don't save unused reg,
17809 and adjust reg usage. Set up cfi on error recovery and
17810 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17812 (__makecontext): Add dummy nop after jump to exit.
17813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17814 Use correct parm save area and cr save, reduce stack frame.
17815 Correct cfi for possible PSEUDO_RET frame setup.
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17817 Branch to local label emitted by PSEUDO_RET rather than
17818 __syscall_error.
17819
02637374
AS
178202010-08-12 Andreas Schwab <schwab@redhat.com>
17821
17822 [BZ #11904]
17823 * locale/programs/locale.c (print_assignment): New function.
17824 (show_locale_vars): Use it.
17825
c3e2f19b
UD
178262010-08-11 Ulrich Drepper <drepper@redhat.com>
17827
3cdaa6ad
UD
17828 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17829 field.
17830 (struct statfs64): Likewise.
17831 (_STATFS_F_FLAGS): Define.
17832 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17833 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17834 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17835 (ST_VALID): Define locally.
17836 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17837 __statvfs_getflags, use the provided value.
17838 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17839 __ASSUME_STATFS_F_FLAGS.
17840
754f7da3
UD
17841 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17842
10b3bedc
UD
17843 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17844 Add sys/fanotify.h.
17845 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17846 fanotify_mask for GLIBC_2.13.
17847 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17848 fanotify_init and fanotify_mark.
17849 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17850 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17851
c08fb0d7
UD
17852 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17853 Add prlimit.
17854 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17855 prlimit64 for GLIBC_2.13.
17856 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17857 prlimit64.
17858 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17859 syscall.
17860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17861 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17862 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17863 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17865 add prlimit alias.
17866 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17867
15bac72b
UD
17868 [BZ #11903]
17869 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17870 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17871
c3e2f19b
UD
17872 * nss/Makefile: Add rules to build and run tst-nss-test1.
17873 * shlib-versions: Add entry for libnss_test1.
17874 * nss/nss_test1.c: New file.
17875 * nss/tst-nss-test1.c: New file.
17876
17877 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17878 (__nss_configure_lookup): Set appropriate entry in
17879 __nss_configure_lookup to true.
17880 * nss/nsswitch.h: Define enum with indeces of databases in
17881 databases and __nss_database_custom arrays. Declare
17882 __nss_database_custom.
17883 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17884 to avoid using nscd when custom rules are installed.
17885 * nss/getXXbyYY_r.c: Likewise.
17886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17887
17888 * nss/nss_files/files-parse.c: Whitespace fixes.
17889
f15ce4d8
UD
178902010-08-09 Ulrich Drepper <drepper@redhat.com>
17891
17892 [BZ #11883]
17893 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17894 * posix/fnmatch_loop.c: Likewise.
17895
d22e4cc9
AK
178962010-07-17 Andi Kleen <ak@linux.intel.com>
17897
17898 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17899 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17900 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17901 * Versions.def [GLIBC_2.13]: Add.
17902
805bc17d
UD
179032010-08-06 Ulrich Drepper <drepper@redhat.com>
17904
17905 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17906 Also fail if tpwd after pwuid call is NULL.
17907
5a42321d
ST
179082010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17909
17910 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17911 when converting to ms.
17912
fd3ebeda
ST
179132010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17914
17915 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17916 EOPNOTSUPP errors with ENOTTY.
17917 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17918 EOPNOTSUPP errors with ENOTTY.
17919
73507d3a
UD
179202010-07-31 Ulrich Drepper <drepper@redhat.com>
17921
17922 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17923 Add strcasecmp_l-ssse3.
17924 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17925 strcasecmp.
17926 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17927 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17928 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17929
fe36dd02
UD
179302010-07-30 Ulrich Drepper <drepper@redhat.com>
17931
66f6765a
UD
17932 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17933
42e08a54
UD
17934 * string/Makefile (strop-tests): Add strcasecmp.
17935 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17936 strcasecmp_l-nonascii.
17937 (gen-as-const-headers): Add locale-defines.sym.
17938 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17939 * sysdeps/x86_64/strcasecmp.S: New file.
17940 * sysdeps/x86_64/strcasecmp_l.S: New file.
17941 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17942 * sysdeps/x86_64/locale-defines.sym: New file.
17943 * string/test-strcasecmp.c: New file.
17944
fe36dd02
UD
17945 * string/test-strcasestr.c: Test both ends of the range of characters.
17946 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17947
48cbc0d6
RM
179482010-07-29 Roland McGrath <roland@redhat.com>
17949
76e6d6bc 17950 [BZ #11856]
48cbc0d6
RM
17951 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17952
880113d9
UD
179532010-07-27 Ulrich Drepper <drepper@redhat.com>
17954
17955 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17956 for ld.so.
17957
deb9cabb
AS
179582010-07-27 Andreas Schwab <schwab@redhat.com>
17959
17960 * manual/memory.texi (Malloc Tunable Parameters): Document
17961 M_PERTURB.
17962
1c7570ff
RM
179632010-07-26 Roland McGrath <roland@redhat.com>
17964
17965 [BZ #11840]
17966 * configure.in (-fgnu89-inline check): Set and substitute
17967 gnu89_inline, not libc_cv_gnu89_inline.
17968 * configure: Regenerated.
17969 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17970
24fb0f88
UD
179712010-07-26 Ulrich Drepper <drepper@redhat.com>
17972
17973 * string/test-strnlen.c: New file.
17974 * string/Makefile (strop-tests): Add strnlen.
17975 * string/tester.c (test_strnlen): Add a few more test cases.
17976 * string/tst-strlen.c: Better error reporting.
17977
17978 * sysdeps/x86_64/strnlen.S: New file.
17979
8e96b93a
UD
179802010-07-24 Ulrich Drepper <drepper@redhat.com>
17981
17982 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17983 lower-latency instructions.
17984
dbc676d4
UD
179852010-07-23 Ulrich Drepper <drepper@redhat.com>
17986
17987 * string/test-strcasestr.c: New file.
17988 * string/test-strstr.c: New file.
17989 * string/Makefile (strop-tests): Add strstr and strcasestr.
17990 * string/str-two-way.h: Don't undefine MAX.
17991 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17992
f6a31e0e
AS
179932010-07-21 Andreas Schwab <schwab@redhat.com>
17994
17995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17996 strcasestr-nonascii.
17997 (CFLAGS-strcasestr-nonascii.c): Define.
17998 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17999 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18000 Remove unused attribute.
18001
5dbc3b6c
RM
180022010-07-20 Roland McGrath <roland@redhat.com>
18003
18004 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18005 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18006 ld.so.cache was broken. With it, there is no way to disable dsocaps
18007 like LD_HWCAP_MASK can disable hwcaps.
18008
23d101d8
EPM
180092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18010
18011 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18012
cc9f2e47
UD
180132010-07-16 Ulrich Drepper <drepper@redhat.com>
18014
18015 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18016 call in strcasestr.
18017 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18018 __strcasestr_sse42_nonascii.
18019 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18020 strcasestr-nonascii.c.
18021 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18022
77c1b069
LM
180232010-06-15 Luis Machado <luisgpm@br.ibm.com>
18024
18025 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18026 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18027 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18028 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18029
440566c3
UD
180302010-07-09 Ulrich Drepper <drepper@redhat.com>
18031
18032 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18033 fcntl.
18034
5be9d05d
AS
180352010-07-06 Andreas Schwab <schwab@redhat.com>
18036
c30b7ee2 18037 [BZ #11577]
5be9d05d
AS
18038 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18039 dl_signal_cerror.
18040
8a492a67
UD
180412010-07-06 Ulrich Drepper <drepper@redhat.com>
18042
18043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18044 _PC_PIPE_BUF using F_GETPIPE_SZ.
18045
713df3d5
RM
180462010-07-05 Roland McGrath <roland@redhat.com>
18047
18048 * manual/arith.texi (Rounding Functions): Fix rint description
18049 implicit in round description.
18050
702e8f14
UD
180512010-07-02 Ulrich Drepper <drepper@redhat.com>
18052
18053 * elf/Makefile: Fix linking for a few tests to make recent linker
18054 happy.
18055
52ed8be9
AS
180562010-06-30 Andreas Schwab <schwab@redhat.com>
18057
18058 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18059 $(common-objpfx)libc_nonshared.a.
18060
f47c9a11
LM
180612010-06-21 Luis Machado <luisgpm@br.ibm.com>
18062
18063 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18064 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18065 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18066 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18067 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18068 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18069 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18070 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18085 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18086 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18087 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18088 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18089 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18090 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18091 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18092 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18093 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18094 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18095 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18096 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18111
6fb8cbcb
L
181122010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18113
18114 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18115 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18116 * string/memmove.c (memmove): Renamed to ...
18117 (MEMMOVE): ...this. Default to memmove.
18118 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18119 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18120 (END_CHK): Define.
18121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18122 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18123 mempcpy-ssse3-back memmove-ssse3-back.
18124 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18125 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18126 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18127 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18128 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18129 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18130 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18131 * sysdeps/x86_64/multiarch/memmove.c: New file.
18132 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18133 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18134 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18135 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18136 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18138 Define.
18139 (index_Fast_Copy_Backward): Define.
18140 (HAS_ARCH_FEATURE): Define.
18141 (HAS_FAST_REP_STRING): Define.
18142 (HAS_FAST_COPY_BACKWARD): Define.
18143
4e733bac 181442010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18145
18146 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18147 Restore proper fallback handling.
18148
63c4ed22
UD
181492010-06-19 Ulrich Drepper <drepper@redhat.com>
18150
ac2b484c
UD
18151 [BZ #11701]
18152 * posix/group_member.c (__group_member): Correct checking loop.
18153
63c4ed22
UD
18154 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18155 OOM in getpwuid_r correctly. Return error number when the caller
18156 should return, otherwise -1.
18157 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18158 call returning > 0 value.
18159 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18160
765ade4b
AS
181612010-06-07 Andreas Schwab <schwab@redhat.com>
18162
18163 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18164 libc_nonshared.a from targets in modules-names.
18165
80da2e09
KS
181662010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18167
18168 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18169 requires it.
18170
158db122
LM
181712010-06-10 Luis Machado <luisgpm@br.ibm.com>
18172
18173 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18174 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18175 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18176 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18177
caa78cf8
AS
181782010-06-02 Andreas Schwab <schwab@redhat.com>
18179
18180 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18181
b2ef2c01
UD
181822010-06-14 Ulrich Drepper <drepper@redhat.com>
18183
18184 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18185 and F_GETPIPE_SZ.
18186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18187 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18191 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18192
fbd643b6
RM
181932010-06-14 Roland McGrath <roland@redhat.com>
18194
18195 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18196
f32f2869
JJ
181972010-06-07 Jakub Jelinek <jakub@redhat.com>
18198
18199 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18200 __REDIRECT followed by __THROW.
18201 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18202 * posix/getopt.h (getopt): Likewise.
18203
2a50c078
EPM
182042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18205
18206 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18207 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18208 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18209 in AT_FLAGS.
18210 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18211 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18212
eb5ad2eb
LM
182132010-05-28 Luis Machado <luisgpm@br.ibm.com>
18214
18215 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18216
3c88fe1e
L
182172010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18218
18219 [BZ #11640]
18220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18221 Properly check family and model.
18222
d2f73151
TY
182232010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18224
18225 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18226
ebd2e13d
LM
182272010-05-24 Luis Machado <luisgpm@br.ibm.com>
18228
18229 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18230
b32b8b45
UD
182312010-05-21 Ulrich Drepper <drepper@redhat.com>
18232
18233 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18234 symbol reference.
18235
9acbe24d
AS
182362010-05-19 Andreas Schwab <schwab@redhat.com>
18237
18238 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18239 symbol reference.
18240
f0ccf6ea
AS
182412010-05-21 Andreas Schwab <schwab@redhat.com>
18242
3d04ff3a
AS
18243 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18244 and internal_recvmmsg.
18245 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18246 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18247 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18248 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18249
f0ccf6ea
AS
18250 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18251 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18252 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18253
5b08ac57
AS
182542010-05-20 Andreas Schwab <schwab@redhat.com>
18255
18256 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18257
4828935d
LM
182582010-05-17 Luis Machado <luisgpm@br.ibm.com>
18259
18260 POWER7 optimizations.
18261 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18262 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18263
373d545e
UD
182642010-05-19 Ulrich Drepper <drepper@redhat.com>
18265
18266 * version.h: Update for 2.13 development version.
18267
21a2b1ae
AS
182682010-05-12 Andrew Stubbs <ams@codesourcery.com>
18269
18270 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18271 exceptions. Return 0.
18272
3f7dcb2b
RM
182732010-05-07 Roland McGrath <roland@redhat.com>
18274
18275 * elf/ldconfig.c (main): Add a const.
18276
5f24d53a 182772010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18278
a160f8d8
UD
18279 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18280 (args_options): Add no-idn option.
18281 (ahosts_keys_int): Add idn_flags to ai_flags.
18282 (parse_option): Handle 'i' option to clear idn_flags.
18283
5f24d53a
UD
18284 * malloc/malloc.c (_int_free): Possible race in the most recently
18285 added check. Only act on the data if no current modification
18286 happened.
265bb1ce
UD
18287
18288See ChangeLog.17 for earlier changes.