]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove __secure_getenv in 2.17 instead of 2.16
[glibc.git] / ChangeLog
CommitLineData
c5757acd
L
12012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 * stdlib/secure-getenv.c (__secure_getenv): Replace
4 GLIBC_2_16 with GLIBC_2_17.
5
3a31811e
L
62012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7
8 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10
faa2bccb
DM
112012-08-03 David S. Miller <davem@davemloft.net>
12
13 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14
85fe1997
JM
152012-08-03 Joseph Myers <joseph@codesourcery.com>
16
17 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18 Remove.
19 (__ASSUME_CORRECT_SI_PID): Likewise.
20 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21 (__ASSUME_TMPFS_NAME): Likewise.
22 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
23 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25 (HAVE_AUX_SECURE): Make definition unconditional.
26 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28
4f75b7a0
RM
292012-08-03 Roland McGrath <roland@hack.frob.com>
30
31 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35 __eloop_threshold instead of SYMLOOP_MAX.
36
37 * sysdeps/generic/eloop-threshold.h: New file.
38 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39 of MAXSYMLINKS.
40 * elf/chroot_canon.c (chroot_canon): Likewise.
41
7aab07e4
JM
422012-08-03 Joseph Myers <joseph@codesourcery.com>
43
44 [BZ #13717]
45 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46 Change to 2.6.0 everywhere.
47 * sysdeps/unix/sysv/linux/configure: Regenerated.
48 * sysdeps/unix/sysv/linux/kernel-features.h
49 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
50 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
51 kernel versions.
52 (__ASSUME_POSIX_TIMERS): Define unconditionally.
53 (__ASSUME_FUTEX_REQUEUE): Remove.
54 (__ASSUME_STATFS64): Define unconditionally.
55 (__ASSUME_AT_SECURE): Likewise.
56 (__ASSUME_CORRECT_SI_PID): Likewise.
57 (__ASSUME_TGKILL): Define without depending on kernel version for
58 i386.
59 (__ASSUME_UTIMES): Likewise.
60 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61 kernel version.
62 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63 (__ASSUME_TMPFS_NAME): Likewise.
64 * README: Update reference to Linux kernel versions.
65
b67e9372
MP
662012-08-02 Marek Polacek <polacek@redhat.com>
67
68 [BZ#14150]
69 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
70 libc_cv_asm_type_prefix with %.
71 * configure: Regenerated.
d2441631
RM
72 * include/libc-symbols.h: Remove comment about
73 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
74 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
75 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
76 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
79 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
80 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
81 * elf/tst-unique2mod1.c: Likewise.
82 * elf/tst-unique1mod2.c: Likewise.
83 * elf/tst-unique1mod1.c: Likewise.
84 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
85 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
86 Replace ASM_TYPE_DIRECTIVE with .type.
87 * sysdeps/s390/s390-64/sysdep.h: Likewise.
88 * sysdeps/i386/sysdep.h: Likewise.
89 * sysdeps/x86_64/sysdep.h: Likewise.
90 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
91 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
92 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 93 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
94 * sysdeps/powerpc/powerpc32/sysdep.h:
95 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
96 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
97 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
98 * sysdeps/i386/fpu/e_powf.S: Likewise.
99 * sysdeps/i386/fpu/e_expl.S: Likewise.
100 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
101 * sysdeps/i386/fpu/e_acosh.S: Likewise.
102 * sysdeps/i386/fpu/e_pow.S: Likewise.
103 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
104 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
105 * sysdeps/i386/fpu/s_expm1.S: Likewise.
106 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
107 * sysdeps/i386/fpu/e_log2.S: Likewise.
108 * sysdeps/i386/fpu/e_log2l.S: Likewise.
109 * sysdeps/i386/fpu/e_scalb.S: Likewise.
110 * sysdeps/i386/fpu/e_powl.S: Likewise.
111 * sysdeps/i386/fpu/e_log10f.S: Likewise.
112 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
113 * sysdeps/i386/fpu/e_logl.S: Likewise.
114 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
115 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
116 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
117 * sysdeps/i386/fpu/e_log2f.S: Likewise.
118 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
119 * sysdeps/i386/fpu/e_log.S: Likewise.
120 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
121 * sysdeps/i386/fpu/e_logf.S: Likewise.
122 * sysdeps/i386/fpu/e_log10l.S: Likewise.
123 * sysdeps/i386/fpu/e_atanh.S: Likewise.
124 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
125 * sysdeps/i386/fpu/e_log10.S: Likewise.
126 * sysdeps/i386/fpu/s_frexp.S: Likewise.
127 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
128 * sysdeps/i386/fpu/s_asinh.S: Likewise.
129 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
130 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
131 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
132 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
133 * sysdeps/i386/i686/strtok.S: Likewise.
134 * sysdeps/i386/i386-mcount.S: Likewise.
135 * sysdeps/i386/strtok.S: Likewise.
136 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
137 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
138 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
139 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
140 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
141 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
142 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
143 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
144 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
145 * sysdeps/x86_64/_mcount.S: Likewise.
146 * sysdeps/x86_64/strtok.S: Likewise.
147 * sysdeps/sh/_mcount.S: Likewise.
148
2747bf9a
RM
1492012-08-01 Roland McGrath <roland@hack.frob.com>
150
151 * libio/iofopen.c: Include <fcntl.h>.
152 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
153 (_IO_fopen64, fopen64): Define as aliases.
154 * libio/iofopen64.c: Include <fcntl.h>.
155 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
156 Conditionalize body on this.
157 * sysdeps/wordsize-64/iofopen.c: File removed.
158 * sysdeps/wordsize-64/iofopen64.c: File removed.
159
3fb791b8
MP
1602012-08-01 Marek Polacek <polacek@redhat.com>
161
162 * libc/Makeconfig: Use elf in place of binfmt-subdir.
163 Use dlfcn directly instead of a variable.
164 (binfmt-subdir): Do not define.
165 (dlfcn): Likewise.
166
a9f1039f
JM
1672012-08-01 Joseph Myers <joseph@codesourcery.com>
168
23bddc06
JM
169 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
170 Remove all definitions.
171 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
172 <kernel-features.h>.
173 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
174 (miss_F_GETOWN_EX): Remove all definitions.
175 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
176 macro definition.
177 [!__ASSUME_FCNTL64]: Remove conditional code.
178 [__ASSUME_FCNTL64]: Make code unconditional.
179 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
180 <kernel-features.h>.
181 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
182 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
183 (lockf64) [__NR_fcntl64]: Make code unconditional.
184 (lockf64) [__ASSUME_FCNTL64]: Likewise.
185
a9f1039f
JM
186 * sysdeps/unix/sysv/linux/kernel-features.h
187 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
188 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
189 Make code unconditional.
190 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
191 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
193 [__NR_vfork]: Make code unconditional.
194 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
195 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
197 [__NR_vfork]: Make code unconditional.
198 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
199 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
200
09c0ee5f
RM
2012012-08-01 Roland McGrath <roland@hack.frob.com>
202
48aec5b9
RM
203 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
204 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
205
cd97c966
RM
206 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
207 Define mkstemp64 as an alias.
3f55550c
RM
208 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
209 Define mkstemps64 as an alias.
cd97c966
RM
210 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
211 Define mkostemp64 as an alias.
b8625cfc
RM
212 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
213 Define mkostemps64 as an alias.
cd97c966
RM
214 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
215 Conditionalize body on this.
216 * misc/mkostemp64.c: Likewise.
b8625cfc 217 * misc/mkostemps64.c: Likewise.
3f55550c 218 * misc/mkstemps64.c: Likewise.
cd97c966
RM
219 * sysdeps/wordsize-64/mkstemp64.c: File removed.
220 * sysdeps/wordsize-64/mkostemp64.c: File removed.
221 * sysdeps/wordsize-64/mkostemp.c: File removed.
222 * sysdeps/wordsize-64/mkstemp.c: File removed.
223 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
224 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
225 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
226 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
227
09c0ee5f
RM
228 [BZ #14138]
229 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
230 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
231 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
232 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
233
234 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
235 compat_symbol macros from <shlib-compat.h> rather than the underlying
236 default_symbol_version and symbol_version macros, so that DEFAULT
237 lines in shlib-versions are respected.
238 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
239
7e66ee51
FW
2402012-08-01 Florian Weimer <fweimer@redhat.com>
241
242 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
243 Declare with warn_unused_result.
244 (setgid, setregid, setegid, setresgid): Likewise.
245 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
246 Likewise.
247 * WUR-REPORT: Remove set*id functions.
248
d2a54255
PT
2492012-07-31 Pino Toscano <toscano.pino@tiscali.it>
250
251 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
252
7ecdb005
RM
2532012-07-31 Roland McGrath <roland@hack.frob.com>
254
789bd351
RM
255 * include/sys/socket.h (__libc_accept, __libc_accept4):
256 Add attribute_hidden.
257 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
258
40ce302d
RM
259 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
260 use of PTR_MANGLE.
261 * inet/getnetgrent_r.c (setup): Likewise.
262
7ecdb005
RM
263 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
264
e2eabb2c
DM
2652012-07-31 David S. Miller <davem@davemloft.net>
266
267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
268
d0419dbf
JM
2692012-07-31 Joseph Myers <joseph@codesourcery.com>
270
271 [BZ #13629]
272 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
273 value between 1.0 and 2.0 and smaller part has absolute value less
274 than 1.0.
275 * math/s_clog10.c (__clog10): Likewise.
276 * math/s_clog10f.c (__clog10f): Likewise.
277 * math/s_clog10l.c (__clog10l): Likewise.
278 * math/s_clogf.c (__clogf): Likewise.
279 * math/s_clogl.c (__clogl): Likewise.
280 * math/libm-test.inc (clog_test): Add more tests.
281 (clog10_test): Likewise.
282 * sysdeps/i386/fpu/libm-test-ulps: Update.
283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
284
2bc13872
FW
2852012-07-31 Florian Weimer <fweimer@redhat.com>
286
287 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
288 Exit with zero in case no suitable GID is found, and write a
289 message to standard error.
290
bea9b193
RM
2912012-07-30 Roland McGrath <roland@hack.frob.com>
292
293 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
294 rather than to 1.
295 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
296 (MAXPATHLEN): Removed.
297 (NOGROUP, NODEV): New macros.
298 (setbit, clrbit, isset, isclr): New macros.
299 (howmany, roundup, powerof2): New macros.
300 (DEV_BSIZE): New macro.
301
302 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
303 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
304
305 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
306 definition on [!__NO_LONG_DOUBLE_MATH].
307
308 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
309 PTR_MANGLE and PTR_DEMANGLE.
310
311 * socket/accept4.c (accept4): Rename to __libc_accept4.
312 Define accept4 as a weak alias.
313
314 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
315 on [_DIRENT_HAVE_D_TYPE].
316 * io/ftw.c (ftw_dir): Likewise.
317
318 * io/xmknod.c (__xmknod): Don't check PATH for being null.
319
320 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
321
322 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
323 Use the BSD numbers rather than the arbitrary ones we had.
324 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
325 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
326 (SIGXCPU, SIGXFSZ): New macros.
327 (_NSIG): Now 32.
328
329 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
330 initializer on [_LIBC_REENTRANT].
331
332 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
333 definitions inside [_POSIX_MAPPED_FILES].
334
335 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
336
337 * dirent/opendir.c: Include <fcntl.h>.
338
339 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
340 (__libc_getspecific): Likewise.
341 (__libc_key_create): Likewise.
342
343 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
344 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
345 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
346 (tmpfile64): Define as alias.
347 * sysdeps/wordsize-64/tmpfile.c: File removed.
348 * sysdeps/wordsize-64/tmpfile64.c: File removed.
349 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
350 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
351
352 * stdio-common/vfscanf.c: Include <stdbool.h>.
353 * nss/makedb.c: Likewise.
354 * stdio-common/_i18n_number.h: Likewise.
355 * argp/argp-help.c: Likewise.
356 * posix/wordexp.c: Likewise.
357 * sysdeps/posix/spawni.c: Likewise.
358 * nss/nss_files/files-initgroups.c: Likewise.
359 * stdio-common/reg-modifier.c: Include <stdlib.h>.
360 * nss/nss_files/files-initgroups.c: Likewise.
361 * nss/nss_db/db-netgrp.c: Likewise.
362 * nss/nss_db/db-initgroups.c: Likewise.
363 * io/fchmodat.c: Include <sys/stat.h>.
364
365 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
366 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
367
368 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
369 [HAVE_MMAP].
370
371 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
372 Add multiple inclusion protection.
373
e5abc686
DM
3742012-07-27 David S. Miller <davem@davemloft.net>
375
376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
377
815e6fa3
GB
3782012-07-27 Gary Benson <gbenson@redhat.com>
379
380 [BZ #14298]
381 * elf/rtld.c: Include <stap-probe.h>.
382 (dl_main): Added static probes "init_start" and "init_complete".
383 * elf/dl-load.c: Include <stap-probe.h>.
384 (lose): Take new parameter "nsid".
385 Added static probe "map_failed".
386 (_dl_map_object_from_fd): Pass namespace id to lose.
387 Added static probe "map_start".
388 (open_verify): Pass namespace id to lose.
389 * elf/dl-open.c: Include <stap-probe.h>.
390 (dl_open_worker) Added static probes "map_complete", "reloc_start"
391 and "reloc_complete".
392 * elf/dl-close.c: Include <stap-probe.h>.
393 (_dl_close_worker): Added static probes "unmap_start" and
394 "unmap_complete".
395 * elf/rtld-debugger-interface.txt: New file documenting the above.
396
9f98c16c
RM
3972012-07-26 Roland McGrath <roland@hack.frob.com>
398
399 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
400 rather than a string variable.
401 * sunrpc/rpc_main.c (h_output): Likewise.
402 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
403
f3c22df3
PT
4042012-07-26 Pino Toscano <toscano.pino@tiscali.it>
405
406 * inet/check_native.c: New file.
407
3129cfc6
JM
4082012-07-26 Joseph Myers <joseph@codesourcery.com>
409
da865e95
JM
410 [BZ #13629]
411 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
412 if larger part has absolute value 1.0.
413 * math/s_clog10.c (__clog10): Likewise.
414 * math/s_clog10f.c (__clog10f): Likewise.
415 * math/s_clog10l.c (__clog10l): Likewise.
416 * math/s_clogf.c (__clogf): Likewise.
417 * math/s_clogl.c (__clogl): Likewise.
418 * math/libm-test.inc (clog_test): Add more tests.
419 (clog10_test): Likewise.
420 * sysdeps/i386/fpu/libm-test-ulps: Update.
421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
422
3129cfc6
JM
423 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
424 (pltexit): Likewise.
425 (La_regs): Likewise.
426 (La_retval): Likewise.
427 (int_retval): Likewise.
428 Update #error for removed macros to refer only to definitions in
429 tst-audit.h.
430 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
431 macro.
432 (pltexit): Likewise.
433 (La_regs): Likewise.
434 (La_retval): Likewise.
435 (int_retval): Likewise.
436 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
437 macro.
438 (pltexit): Likewise.
439 (La_regs): Likewise.
440 (La_retval): Likewise.
441 (int_retval): Likewise.
442 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
443 macro.
444 (pltexit): Likewise.
445 (La_regs): Likewise.
446 (La_retval): Likewise.
447 (int_retval): Likewise.
448 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
449 macro.
450 (pltexit): Likewise.
451 (La_regs): Likewise.
452 (La_retval): Likewise.
453 (int_retval): Likewise.
454 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
455 macro.
456 (pltexit): Likewise.
457 (La_regs): Likewise.
458 (La_retval): Likewise.
459 (int_retval): Likewise.
460 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
461 macro.
462 (pltexit): Likewise.
463 (La_regs): Likewise.
464 (La_retval): Likewise.
465 (int_retval): Likewise.
466 * sysdeps/generic/tst-audit.h: Update comment to refer only to
467 macro definitions in tst-audit.h.
468 * sysdeps/i386/tst-audit.h: New file.
469 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
470 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
471 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
472 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
473 * sysdeps/sh/tst-audit.h: Likewise.
474 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
475 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
476 * sysdeps/x86_64/tst-audit.h: Likewise.
477
bfc07087
AJ
4782012-07-26 Andreas Jaeger <aj@suse.de>
479
b1b2aaf8
AJ
480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
481 ptrace.
482
483 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
484 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
485 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
486 PTRACE_O_MASK.
487 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
488 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
489 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
490
bfc07087
AJ
491 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
492 value.
493
494 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
495 _sigsys.
496 (si_call_addr, si_syscall, si_arch): Define new macro.
497 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
498 _sigsys.
499 (si_call_addr, si_syscall, si_arch): Define new marcro.
500 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
501 _sigsys.
502 (si_call_addr, si_syscall, si_arch): Define new macro.
503 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
504 _sigsys.
505 (si_call_addr, si_syscall, si_arch): Define new macro.
506
89b4b02f
JM
5072012-07-25 Joseph Myers <joseph@codesourcery.com>
508
509 [BZ #13717]
510 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
511 Change to 2.4.21 where previously 2.4.1.
512 * sysdeps/unix/sysv/linux/configure: Regenerated.
513 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
514 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
515 Linux kernel version.
516 (__ASSUME_STD_AUXV): Remove.
517 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
518 kernel version.
519 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
520 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
521 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
522 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
523 (__ASSUME_NETLINK_SUPPORT): Likewise.
524 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
525 (__no_netlink_support): Remove conditional definition.
526 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
527 Remove.
528 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
529 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
530 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
531 (if_nameindex_ioctl): Remove.
532 (if_nameindex_netlink): Do not handle __no_netlink_support.
533 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
534 code.
535 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
536 Remove conditional code.
537 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
538 code.
539 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
540 unconditional.
541 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
542 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
543 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
544 Remove.
545 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
546 [!__ASSUME_STD_AUXV]: Remove conditional code.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
548 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
549 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
551 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
552 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
553 code.
554 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
556 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
557 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
558 conditional code.
559 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
561 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
562 code.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
564 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
565 conditional code.
566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
567 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
568 code unconditional.
569 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
570 conditional code.
571 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
572 unconditional.
573 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
574 conditional code.
575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
576 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
577 unconditional.
578 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
579 conditional code.
580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
581 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
582 code unconditional.
583 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
584 conditional code.
585 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
586 unconditional.
587 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
588 conditional code.
589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
590 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
591 code unconditional.
592 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
593 conditional code.
594 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
595 unconditional.
596 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
597 conditional code.
598
842a39cd
AS
5992012-07-25 Andreas Schwab <schwab@linux-m68k.org>
600
601 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
602 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
603 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
604 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
605 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
606 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
607 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
608 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
609 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
610 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
611 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
612 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
613 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
614 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
615 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
616 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
617 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
618 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
619 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
621 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
622 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
623 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
624
84b3fd84
FW
6252012-07-25 Florian Weimer <fweimer@redhat.com>
626
627 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
628 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
629 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
630 Introduce __libc_secure_getenv.
0c7936d5
FW
631 * stdlib/Versions (2.17): Add secure_getenv
632 (GLIBC_PRIVATE): Add __libc_secure_getenv.
633 * stdlib/secure-getenv.c: Rename __secure_getenv to
634 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
635 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
636 * stdlib/tst-secure-getenv.c: New.
637 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
638 * manual/startup.texi (Environment Access): Document
639 secure_getenv.
84b3fd84
FW
640 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
641 __libc_secure_getenv.
642 * inet/ruserpass.c (ruserpass): Likewise.
643 * malloc/mtrace.c (mtrace): Likewise.
644 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 645 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
646 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
647 * sysdeps/posix/tempname.c: Likewise. Evaluate
648 HAVE_SECURE_GETENV.
649 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 650 __secure_getenv to __libc_secure_getenv.
84b3fd84 651 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
653 Likewise.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
655 Likewise.
656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
658 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 663
56e49b71
JM
6642012-07-25 Joseph Myers <joseph@codesourcery.com>
665
666 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
667 (struct La_i86_retval): Likewise.
668 (struct La_x86_64_regs): Likewise.
669 (struct La_x86_64_retval): Likewise.
670 (struct La_x32_regs): Likewise.
671 (struct La_x32_retval): Likewise.
672 (struct La_ppc32_regs): Likewise.
673 (struct La_ppc32_retval): Likewise.
674 (struct La_ppc64_regs): Likewise.
675 (struct La_ppc64_retval): Likewise.
676 (struct La_sh_regs): Likewise.
677 (struct La_sh_retval): Likewise.
678 (struct La_s390_32_regs): Likewise.
679 (struct La_s390_32_retval): Likewise.
680 (struct La_s390_64_regs): Likewise.
681 (struct La_s390_64_retval): Likewise.
682 (struct La_sparc32_regs): Likewise.
683 (struct La_sparc32_retval): Likewise.
684 (struct La_sparc64_regs): Likewise.
685 (struct La_sparc64_retval): Likewise.
686 (struct audit_ifaces): Remove architecture-specific pltenter and
687 pltexit members.
688 * sysdeps/i386/ldsodefs.h: New file.
689 * sysdeps/powerpc/ldsodefs.h: Likewise.
690 * sysdeps/s390/ldsodefs.h: Likewise.
691 * sysdeps/sh/ldsodefs.h: Likewise.
692 * sysdeps/sparc/ldsodefs.h: Likewise.
693 * sysdeps/x86_64/ldsodefs.h: Likewise.
694
354691b7
MP
6952012-07-25 Marek Polacek <polacek@redhat.com>
696
697 [BZ #6808]
698 * math/libm-test.inc (yn_test): Add another test.
699 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
700 to ERANGE when the result is +-Inf.
701 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
702 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
703 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
704 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
705
bf9e2071
JM
7062012-07-24 Joseph Myers <joseph@codesourcery.com>
707
708 * conform/data/time.h-data (NULL): Use macro-constant. Require
709 equal to 0.
710 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
711 clock_t.
712 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
713
57633811
TS
7142012-07-23 Thomas Schwinge <thomas@codesourcery.com>
715
716 * configure.in <sysdeps resolving>: Correct printing
717 Implies_before.
718 * configure: Regenerate.
719
c23c33b0
TS
7202012-07-22 Thomas Schwinge <thomas@codesourcery.com>
721
722 * math/w_ilogb.c: Include <limits.h>.
723 * math/w_ilogbl.c: Likewise.
724
b5982523
JM
7252012-07-20 Joseph Myers <joseph@codesourcery.com>
726
727 * manual/lang.texi (__va_copy): Document primarily as ISO C99
728 va_copy. Document allowing for unavailable va_copy only as
729 pre-C99 compatibility.
730 * manual/string.texi (Copying and Concatenation): Use va_copy
731 instead of __va_copy in concat example.
732
ac4ea442
PT
7332012-07-20 Pino Toscano <toscano.pino@tiscali.it>
734
735 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
736 (__sendto): Use create_address_port. Initialize APORT and deallocate
737 it if not null.
738
f98eafbd
PT
739 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
740 with O_NOLINK passed to __file_name_lookup.
741
898c7aab
PT
742 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
743 with O_NOLINK passed to __file_name_lookup.
744
0ced335a
PT
745 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
746 negative N or less than NGIDS.
747
b3404dbd
PT
748 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
749 type to string_t. Set ERANGE as errno and return it if NAME is not big
750 enough. Use memcpy instead of strncpy.
751
0f48659e
JM
7522012-07-20 Joseph Myers <joseph@codesourcery.com>
753
754 * elf/Makefile (check-data): Remove.
755 (localplt.data): New vpath directive.
756 ($(objpfx)check-localplt.out): Use localplt.data from vpath
757 instead of $(check-data).
758 * scripts/data/localplt-generic.data: Move to ...
759 * sysdeps/generic/localplt.data: ... here.
760 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
761 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
762 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
764 ... here.
765 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
767 ... here.
768 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
770 ... here.
771 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
773 ... here.
774 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
776 ... here.
777 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
779 ... here.
780
d37cbdaa
AZ
7812012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
782
783 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
784 PPC32 and PPC64 files.
785 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
786 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
787
46f85fc2
AK
7882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
789
790 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
791 __makecontext_ret to ...
792 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
793 ... here and call exit if uc_link is NULL. New file.
794 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
795 __makecontext_ret.S.
796 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
797 __makecontext_ret to ...
798 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
799 ... here and call exit if uc_link is NULL. New file.
800 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
801 __makecontext_ret.S.
802
08f43f9b
AK
8032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
804
805 * elf/elf.h (R_390_IRELATIVE): New definition.
806 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
807 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
808 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
809 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
810 (elf_machine_lazy_rel): Likewise.
811 * sysdeps/s390/dl-irel.h: New file.
812 * sysdeps/s390/s390-64/memcpy.S: New asm code.
813 * sysdeps/s390/s390-64/memset.S: New asm code.
814 * sysdeps/s390/s390-64/memcmp.S: New asm code.
815 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
816 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
817 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
818 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
819 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
820 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
821 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
822 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
823 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
824 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
825 * sysdeps/s390/s390-32/memcpy.S: New asm code.
826 * sysdeps/s390/s390-32/memset.S: New asm code.
827 * sysdeps/s390/s390-32/memcmp.S: New asm code.
828
3b05db33
MP
8292012-07-17 Marek Polacek <polacek@redhat.com>
830
831 [BZ #14349]
832 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
833 * sysdeps/s390/s390-64/configure.in: Likewise.
834 * sysdeps/sparc/configure.in: Likewise.
835 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
836 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
837 * sysdeps/i386/configure.in: Likewise.
838 * sysdeps/x86_64/configure.in: Likewise.
839 * sysdeps/sh/configure.in: Likewise.
840 * sysdeps/s390/s390-32/configure: Regenerated.
841 * sysdeps/s390/s390-64/configure: Likewise.
842 * sysdeps/x86_64/configure: Likewise.
843 * sysdeps/sh/configure: Likewise.
844 * sysdeps/powerpc/powerpc64/configure: Likewise.
845 * sysdeps/powerpc/powerpc32/configure: Likewise.
846 * sysdeps/sparc/configure: Likwise.
847 * sysdeps/i386/configure: Likewise.
848
a66877c6
MP
849 * elf/dl-open.c: Comment fixes.
850
cfc82fd8
JM
8512012-07-17 Joseph Myers <joseph@codesourcery.com>
852
bd29910a
JM
853 * Makefile [CXX] (check-data): Remove.
854 [CXX] (c++-types.data): New vpath directive.
855 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
856 vpath. Do not allow for C++ type data being missing.
857 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
858 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
859 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
860 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
861 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
862 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
863 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
865 ... here.
866 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
868 ... here.
869 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
871 ... here.
872 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
874 ... here.
875 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
877 ... here.
878 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
880 ... here.
881 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
883 ... here.
884 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
886
cfc82fd8
JM
887 * elf/tls-macros.h (TLS_LE): Move architecture-specific
888 definitions to architecture-specific files.
889 (TLS_IE): Likewise.
890 (TLS_LD): Likewise.
891 (TLS_GD): Likewise.
892 * sysdeps/i386/tls-macros.h: New file.
893 * sysdeps/powerpc/tls-macros.h: Likewise.
894 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
895 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
896 * sysdeps/sh/tls-macros.h: Likewise.
897 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
898 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
899 * sysdeps/x86_64/tls-macros.h: Likewise.
900
f7db3170
TS
9012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
902
07cbfc23
TS
903 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
904 zero value for regular exit case.
905
f7db3170
TS
906 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
907 (__start_context): Preserve zero value for regular exit case.
908
dc97c227
TS
9092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
910 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
911
912 * manual/setjmp.texi (setcontext): Clarify normal process
913 termination when uc_link is the null pointer.
914 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
915 exit call.
916
d0cd7d02
AS
9172012-07-16 Andreas Schwab <schwab@linux-m68k.org>
918
919 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
920 preprocessor. Test for each exception mask separately.
921
dd318934
AJ
9222012-07-16 Andreas Jaeger <aj@suse.de>
923
924 * po/ru.po: Update from translation team.
925
8048311a
JM
9262012-07-15 Joseph Myers <joseph@codesourcery.com>
927
928 * conform/data/string.h-data (NULL): Use macro-constant. Require
929 equal to 0.
930 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
931 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
932 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
933 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
934 [ISO || ISO99 || ISO11] (*_t): Do not allow.
935
b637d46e
AJ
9362012-07-13 Andreas Jaeger <aj@suse.de>
937
938 * po/fr.po: Update from translation team.
939
541428fe
MP
9402012-07-12 Marek Polacek <polacek@redhat.com>
941
942 [BZ #14173]
943 * math/libm-test.inc (yn_test): Add test for BZ #14173.
944 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
945 loop condition.
946
ec332e94
JM
9472012-07-12 Joseph Myers <joseph@codesourcery.com>
948
949 [BZ #13717]
950 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
951 Change to 2.4.1 where previously 2.4.0.
952 * sysdeps/unix/sysv/linux/configure: Regenerated.
953 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
954 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
955 version.
956 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
957 (__ASSUME_AT_CLKTCK): Remove.
958 (__ASSUME_AT_PAGESIZE): Likewise.
959 (__ASSUME_AT_XID): Likewise.
960 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
961 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
962 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
963 unconditionally.
964 (HAVE_AUX_PAGESIZE): Likewise.
965 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
966 [__ASSUME_AT_CLKTCK]: Make code unconditional.
967 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
968
7b6e99be
JB
9692012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
970
971 [BZ #14307]
972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
973 the temporary buffer used to invoke __gethostbyname2_r,
974 __gethostbyaddr_r and gethostbyname4_r to make room for struct
975 host_data / struct gaih_addrtuple.
976 * resolv/nss_dns/dns-host.c (global scope): Move definition of
977 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
978 header file nss/nsswitch.h.
979 * nss/nsswitch.h (global scope): Add definition of implementation
980 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
981 resolv/nss_dns/dns-host.c).
982
608404eb
AJ
9832012-07-11 Andreas Jaeger <aj@suse.de>
984
985 * po/fr.po: Update from translation team.
986
71220aca
AJ
987 * po/sv.po: Update from translation team
988 * po/fr.po: Another update from translation team.
989
28cfe843
AZ
9902012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
991
992 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
993 for subnormals or multiply small sinh result by itself.
994 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
996
6b90f981
DM
9972012-07-11 David S. Miller <davem@davemloft.net>
998
999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1000
c6825772
AS
10012012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1002
1003 [BZ #14347]
1004 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1005 (INTERNAL_MARK): Shift it here.
1006
7b8e0d49
MP
10072012-07-10 Marek Polacek <polacek@redhat.com>
1008
1009 [BZ #14151]
1010 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1011 libc_cv_asm_global_directive with .globl.
1012 * configure: Regenerated.
1013 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1014 with .globl.
1015 * sysdeps/i386/configure: Regenerated.
1016 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1017 with .globl.
1018 * sysdeps/x86_64/configure: Regenerated.
1019 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1020 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1021 * elf/tst-unique2mod2.c: Likewise.
1022 * elf/tst-unique2mod1.c: Likewise.
1023 * elf/tst-unique1mod2.c: Likewise.
1024 * elf/tst-unique1mod1.c: Likewise.
1025 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1026 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1027 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1028 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1029 * sysdeps/mach/sysdep.h: Likewise.
1030 * sysdeps/i386/sysdep.h: Likewise.
1031 * sysdeps/i386/i386-mcount.S: Likewise.
1032 * sysdeps/x86_64/_mcount.S: Likewise.
1033 * sysdeps/x86_64/sysdep.h: Likewise.
1034 * sysdeps/sh/_mcount.S: Likewise.
1035 * sysdeps/sh/sysdep.h: Likewise.
1036 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1037 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1038 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1039 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1040 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1041 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1042 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1043 * locale/localeinfo.h: Likewise.
1044 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1045 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1046
6c55cda3
RM
10472012-07-09 Roland McGrath <roland@hack.frob.com>
1048
1049 [BZ #14336]
1050 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1051 system".
1052 * manual/message.texi (The Uniforum approach): Likewise.
1053 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1054 (glibc iconv Implementation): Likewise.
1055
638a572e
JM
10562012-07-09 Joseph Myers <joseph@codesourcery.com>
1057
1058 [BZ #14337]
1059 * math/s_clog.c (__clog): Avoid scaling a value down where that
1060 could result in underflow.
1061 * math/s_clog10.c (__clog10): Likewise.
1062 * math/s_clog10f.c (__clog10f): Likewise.
1063 * math/s_clog10l.c (__clog10l): Likewise.
1064 * math/s_clogf.c (__clogf): Likewise.
1065 * math/s_clogl.c (__clogl): Likewise.
1066 * math/libm-test.inc (clog_test): Add more tests.
1067 (clog10_test): Likewise.
1068 * sysdeps/i386/fpu/libm-test-ulps: Update.
1069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1070
261f4859
AS
10712012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1072
0abaf3e4
AS
1073 [BZ #14283]
1074 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1075 by 7 not 8 to examine high bit of fractional part.
1076
261f4859
AS
1077 [BZ #14042]
1078 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1079 for call to __mcount_internal.
1080 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1081 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1082 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1083
f17ac40d
JM
10842012-07-06 Joseph Myers <joseph@codesourcery.com>
1085
9ad63c23
JM
1086 [BZ #14154]
1087 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1088 approximation for values within 0x1p-13f of an odd multiple of
1089 pi/4.
1090 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1091 exception. Add more tests.
1092 * sysdeps/i386/fpu/libm-test-ulps: Update.
1093
f17ac40d
JM
1094 [BZ #6778]
1095 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1096 inputs and return -1 for them. Do not check for +Inf in case not
1097 reachable for +Inf.
1098 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1099 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1100 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1101 and return -1 for them. Do not check for +Inf in case not
1102 reachable for +Inf.
1103 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1104 define.
1105 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1106 and return -1 for them. Do not check for +Inf in case not
1107 reachable for +Inf.
1108 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1109 spurious underflow.
1110 * sysdeps/i386/fpu/libm-test-ulps: Update.
1111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1112
fb21f89b
MF
11132012-07-06 Mike Frysinger <vapier@gentoo.org>
1114
1115 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1116
cdfe2c5e
JM
11172012-07-05 Joseph Myers <joseph@codesourcery.com>
1118
1119 [BZ #14157]
1120 [BZ #14331]
1121 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1122 could result in spurious underflow. Scale down values above
1123 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1124 * math/s_csqrtf.c (__csqrtf): Likewise.
1125 * math/s_csqrtl.c (__csqrtl): Likewise.
1126 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1127 spurious underflow.
1128 * sysdeps/i386/fpu/libm-test-ulps: Update.
1129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1130
70d35b67
AS
11312012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1132
704bc459
AS
1133 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1134 xopen-msg.sed.
1135 * catgets/xopen-msg.awk: New file.
1136 * catgets/xopen-msg.sed: Removed.
1137
70d35b67
AS
1138 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1139 po2text.sed.
1140 * intl/po2test.awk: New file.
1141 * intl/po2test.sed: Removed.
1142
ca61cf32
JM
11432012-07-04 Joseph Myers <joseph@codesourcery.com>
1144
1145 [BZ #14328]
1146 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1147 or multiply small sinh result by itself.
1148 * math/s_ctanf.c (__ctanf): Likewise.
1149 * math/s_ctanh.c (__ctanh): Likewise.
1150 * math/s_ctanhf.c (__ctanhf): Likewise.
1151 * math/s_ctanhl.c (__ctanhl): Likewise.
1152 * math/s_ctanl.c (__ctanl): Likewise.
1153 * math/libm-test.inc (ctan_test_tonearest): New function.
1154 (ctan_test_towardzero): Likewise.
1155 (ctan_test_downward): Likewise.
1156 (ctan_test_upward): Likewise.
1157 (ctanh_test_tonearest): Likewise.
1158 (ctanh_test_towardzero): Likewise.
1159 (ctanh_test_downward): Likewise.
1160 (ctanh_test_upward): Likewise.
1161 (main): Call these new functions.
1162 * sysdeps/i386/fpu/libm-test-ulps: Update.
1163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1164
ca48a46a
MF
11652012-07-03 Mike Frysinger <vapier@gentoo.org>
1166
1167 * .gitignore: Delete /ports entry.
1168
9d63d37d
AJ
11692012-07-03 Andreas Jaeger <aj@suse.de>
1170
1171 * po/bg.po: Update from translation team.
1172 * po/cs.po: Likewise.
1173 * po/de.po: Likewise.
1174 * po/hr.po: Likewise.
1175 * po/nl.pl: Likewise.
1176 * po/pl.po: Likewise.
1177 * po/vi.po: Likewise.
1178
370ca3d2
JM
11792012-07-03 Joseph Myers <joseph@codesourcery.com>
1180
95f5a9a8
JM
1181 * Makeconfig [!+link] (+link-before-libc): New variable.
1182 [!+link] (+link-after-libc): Likewise.
1183 [!+link] (+link-tests): Likewise.
1184 [!+link] (+link): Define in terms of $(+link-before-libc) and
1185 $(+link-after-libc).
1186 [!+link-static] (+link-static-before-libc): New variable.
1187 [!+link-static] (+link-static-after-libc): Likewise.
1188 [!+link-static] (+link-static-tests): Likewise.
1189 [!+link-static] (+link-static): Define in terms of
1190 $(+link-static-before-libc) and $(+link-static-after-libc).
1191 [build-shared] (link-libc-before-gnulib): New variable.
1192 [build-shared] (link-libc-tests): Likewise.
1193 [build-shared] (link-libc): Define in terms of
1194 $(link-libc-before-gnulib).
1195 [!build-shared] (link-libc-tests): New variable.
1196 (link-libc-static-tests): New variable.
1197 [!gnulib] (gnulib-arch): New variable.
1198 [!gnulib] (gnulib-tests): Likewise.
1199 [!gnulib] (static-gnulib-arch): Likewise.
1200 [!gnulib] (static-gnulib-tests): Likewise.
1201 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1202 Define with "=" instead of ":=".
1203 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1204 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1205 * Rules (binaries-all-notests): New variable.
1206 (binaries-all-tests): Likewise.
1207 (binaries-static-notests): Likewise.
1208 (binaries-static-tests): Likewise.
1209 (binaries-all): Define using $(binaries-all-notests) and
1210 $(binaries-all-tests).
1211 (binaries-static): Define using $(binaries-static-notests) and
1212 $(binaries-static-tests).
1213 (binaries-shared-tests): New variable.
1214 (binaries-shared-notests): Likewise.
1215 (binaries-shared): Remove variable.
1216 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1217 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1218 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1219 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1220 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1221 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1222 * elf/Makefile (sln-modules): New variable.
1223 (extra-objs): Add $(sln-modules:=.o).
1224 (ldconfig-modules): Add static-stubs.
1225 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1226 * elf/static-stubs.c: New file.
1227
7a845b2c
JM
1228 [BZ #14283]
1229 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1230 by 7 not 8 to examine high bit of fractional part. Use volatile
1231 variables when splitting into final array of floats if
1232 __FLT_EVAL_METHOD__ != 0.
1233 * math/libm-test.inc (cos_test): Add another test.
1234 (sin_test): Likewise.
1235 * sysdeps/i386/fpu/libm-test-ulps: Update.
1236
e2283f38
JM
1237 [BZ #14273]
1238 * math/libm-test.inc (cosh_test): Add more tests.
1239
370ca3d2
JM
1240 * version.h (RELEASE): Set to "development".
1241 (VERSION): Set to "2.16.90".
1242
ee9247c3
CD
12432012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1244
1245 * NEWS: Update copyright. Remove last-updated date.
1246 Mention math library bug fixes and timezone data changes.
1247 * README: Mention GNU/Hurd, x32, and HPPA support status.
1248
4648c381
TS
12492012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1250
1251 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1252
aac78a43
AJ
12532012-06-27 Andreas Jaeger <aj@suse.de>
1254
1255 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1256
ed3dbfad
AJ
12572012-06-25 Andreas Jaeger <aj@suse.de>
1258
1259 * sysdeps/s390/fpu/libm-test-ulps: Update.
1260
4d0ee855
AS
12612012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1262 Thomas Schwinge <thomas@codesourcery.com>
1263
1264 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1265 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1267 fanotify_mark.
1268
af1bce34
TS
12692012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1270
a9fa33ba
TS
1271 * sysdeps/mach/start.c: Remove file.
1272 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1273 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1274 * sysdeps/sh/init-first.c: Likewise.
1275
58f902b8
TS
1276 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1277 registers for frame unwinding purposes, add CFI directives.
1278 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1279 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1280 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1281 Likewise.
1282
1518f58b
TS
1283 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1284 __fortify_fail returning.
1285 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1286
db9b5059
TS
1287 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1288 sysdeps/sh/____longjmp_chk.S.
1289 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1290 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1291 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1292 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1293
967705fe
TS
1294 * sysdeps/sh/abort-instr.h: New file.
1295 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1296 process in case exit returns.
1297
a9def8c4
TS
1298 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1299 initialize the GOT register before use.
1300
2a649725
TS
1301 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1302 calculation of ARGC > 4.
1303
af1bce34
TS
1304 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1305 meaningful names to some local labels.
1306
d230f50a
KK
13072012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1308 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1309
1310 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1311 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1312 (__arch_compare_and_exchange_val_16_acq): Likewise.
1313 (__arch_compare_and_exchange_val_32_acq): Likewise.
1314 (atomic_exchange_and_add): Fix gUSA sequence.
1315 (atomic_add): Likewise.
1316 (atomic_add_negative): Likewise.
1317 (atomic_add_zero): Likewise.
1318 (atomic_bit_test_set): Likewise.
1319
0479b305
AS
13202012-06-22 Andreas Schwab <schwab@redhat.com>
1321
1322 [BZ #13579]
1323 * include/link.h (struct link_map): Add l_free_initfini.
1324 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1325 l_initfini.
1326 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1327 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1328 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1329 set.
1330
0e3933b9
CD
13312012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1332
1333 * configure.in: Use AC_LANG_SOURCE.
1334 * configure: Regenerate.
1335
4248b1b1
RM
13362012-06-22 Roland McGrath <roland@hack.frob.com>
1337
1338 * configure.in (libc_cv_localstatedir): New substituted variable.
1339 * configure: Regenerated.
1340 * config.make.in (localstatedir): New variable, substituted from
1341 libc_cv_localstatedir.
1342 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1343 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1344 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1345 * sysdeps/gnu/configure: Regenerated.
1346
006dd861
JL
13472012-06-21 Jeff Law <law@redhat.com>
1348
1349 [BZ #14277]
1350 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1351 free. Simplify list management for _LIBC case.
1352
79662d42
JM
13532012-06-21 Joseph Myers <joseph@codesourcery.com>
1354
b7abb4bf
JM
1355 [BZ #14273]
1356 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1357 Clear sign bit of 64-bit integer value before comparing against
1358 overflow value.
1359
79662d42
JM
1360 * sysdeps/mach/configure: Regenerated.
1361
1f150908
L
13622012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1363
1364 [BZ #14278]
1365 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1366
28363bbf
JL
13672012-06-21 Jeff Law <law@redhat.com>
1368
1369 [BZ #13882]
1370 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1371 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1372 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1373 * elf/dl-open.c (dl_open_worker): Likewise.
1374
09615db4
CD
13752012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1376
1377 * scripts/list-sources.sh: Scan PORTS for translations.
1378 * po/libc.pot: Regenerated.
1379
2174c6dd
AJ
13802012-06-21 Andreas Jaeger <aj@suse.de>
1381
1382 [BZ #12194]
1383 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1384 warning.
1385 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1386 * bits/byteswap-16.h (__bswap_16): Likewise.
1387 * bits/byteswap.h (__bswap_constant_16): Likewise.
1388
3ee947b1
L
13892012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1390
1391 [BZ #14117]
a2f34833
L
1392 * sysdeps/i386/fpu_control.h: Removed.
1393 * sysdeps/x86_64/fpu_control.h: Moved to ...
1394 * sysdeps/x86/fpu_control.h: Here.
1395
3ee947b1
L
1396 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1397 (_FPU_SETCW): Likewise.
1398
ed1825f8
L
13992012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1400
25f1282a
L
1401 [BZ #14117]
1402 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1403 * sysdeps/x86/fpu/bits/mathinline.h: This.
1404 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1405
ed1825f8
L
1406 [BZ #14050]
1407 [BZ #14117]
1408 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1409 functions if __x86_64__ is defined.
1410
36d54b74
CLT
14112012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1412
1413 * string/endian.h: Add !__ASSEMBLER__ condition for including
1414 conversion interfaces.
1415
10285c21
JM
14162012-06-15 Joseph Myers <joseph@codesourcery.com>
1417
1418 [BZ #14241]
1419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1420 of ABS(x) in calculating zero to negative powers other than odd
1421 integers.
1422 * math/libm-test.inc (pow_test): Add more tests.
1423
06c5abbd
AJ
14242012-06-15 Andreas Jaeger <aj@suse.de>
1425
1426 * manual/contrib.texi (Contributors): Update entry of Liubov
1427 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1428 Machado Filho.
1429
a3aeac40
CH
14302012-06-15 Cyril Hrubis <metan@ucw.cz>
1431
1432 * string/string.h: Add __wur to GNU version of strerror_r.
1433
49bdf4c1
L
14342012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1435
1436 [BZ #14229]
1437 * string/Makefile (tests): Add tst-strtok_r.
1438 * string/tst-strtok_r.c: New file.
1439 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1440 RAX_LP/RDX_LP on SAVE_PTR.
1441
834f9b8d
RM
14422012-06-14 Roland McGrath <roland@hack.frob.com>
1443
1444 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1445
75fa1921
JM
14462012-06-14 Joseph Myers <joseph@codesourcery.com>
1447
1448 * libm_test.inc (csqrt_test): Allow more spurious underflow
1449 exceptions.
1450 (j0_test): Likewise.
1451 (j1_test): Likewise.
1452 (y0_test): Likewise.
1453 (y1_test): Likewise.
1454
771766df
CD
14552012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1456
1457 * po/Makefile (libc.pot): Use UTF-8 charset.
1458
ceb9e56b
PP
14592012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1460
1461 [BZ #14210]
1462 Suppress sign-conversion warning from FD_SET.
1463 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1464 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1465 not unsigned long int.
1466 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1467
ddb28975
L
14682012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1469
1470 [BZ #14050]
1471 [BZ #14117]
1472 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1473 __extern_always_inline instead of __extern_inline.
1474 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1475 (__signbit): Likewise.
1476 (__signbitl): Support C++ namespace.
1477 (lrintf): New inline function.
1478 (lrint): Likewise.
1479 (llrintf): Likewise.
1480 (llrint): Likewise.
1481 (fmaxf): Likewise.
1482 (fmax): Likewise.
1483 (fminf): Likewise.
1484 (fmin): Likewise.
1485 (rint): Likewise.
1486 (rintf): Likewise.
1487 (ceil): Likewise.
1488 (ceilf): Likewise.
1489 (floor): Likewise.
1490 (floorf): Likewise.
1491 (nearbyint): Likewise.
1492 (nearbyintf): Likewise.
1493
d7b4fb26
TS
14942012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1495
1496 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1497 non-default versions.
1498
eb55f5c2
RM
14992012-06-11 Roland McGrath <roland@hack.frob.com>
1500
1501 [BZ #14218]
1502 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1503
366af02c
TS
15042012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1505
99ff6e5c
TS
1506 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1507 (FE_UPWARD, FE_DOWNWARD): Don't define.
1508 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1509 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1510
366af02c
TS
1511 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1512 reading it.
1513 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1514 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1515
793ea851
KK
15162012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1517
1518 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1520 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1521 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1522
a728a38f
L
15232012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1524
1525 [BZ #14117]
c08010c7
L
1526 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1527 * sysdeps/i386/fpu/Implies: New file.
1528 * sysdeps/x86_64/fpu/Implies: Likewise.
1529 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1530 * sysdeps/x86/fpu/bits/fenv.h: This.
1531
a728a38f
L
1532 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1533 __SSE_MATH__.
1534
6e230d11
SP
15352012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1536
1537 [BZ #14134]
1538 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1539 character 0xffff that matches the last element of the
1540 conversion table.
1541
1b671feb
AZ
15422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1543
1544 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1545 fmodl commit.
1546
6043738b
AZ
15472012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1548
1549 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1550 values higher than 25.6283.
1551
34ae0b32
AZ
15522012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1555 subnormal exponent extraction and add some __builtin_expect.
1556 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1557 Fix for subnormal mantissa calculation.
1558
1214ec8f
MF
15592012-06-04 Mike Frysinger <vapier@gentoo.org>
1560
1561 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1562 cpu2 is -1 and errno is not ENOSYS.
1563
f3d1f93c
L
15642012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1565
1566 [BZ #14117]
0e4a3cd7
L
1567 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1568 * sysdeps/x86/bits/string.h: This.
1569 * sysdeps/x86_64/bits/string.h: Removed.
1570
6704c645
L
1571 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1572 if not compiling for x86-64, but compiling for >= i486.
1573
48495318
L
1574 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1575 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1576
14adcbfc
L
1577 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1578 New macro from Linux kernel 3.4.0.
1579 (FP_XSTATE_MAGIC2): Likewise.
1580 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1581 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1582 (struct _fpx_sw_bytes): New struct.
1583 (struct _xsave_hdr): Likewise.
1584 (struct _ymmh_state): Likewise.
1585 (struct _xstate): Likewise.
1586
68e408ab
L
1587 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1588 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1589 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1590 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1591 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1592 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1593
f3d1f93c
L
1594 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1595 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1596 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1597 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1598 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1599 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1600
d9dc34cd
TMQMF
16012012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1602
1603 [BZ #13743]
1604 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1605 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1606 (sysdep_headers): Include sys/platform/ppc.h.
1607 * sysdeps/powerpc/test-gettimebase.c: Test for
1608 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1609 * manual/Makefile (appendices): Include platform.texi.
1610 * manual/contrib.texi (Contributors): Update @node pointers.
1611 * manual/maint.texi (Maintenance): Likewise.
1612 (Platform): New node.
1613 * manual/platform.texi: New file. Document the new features.
1614
4af3879c
SP
16152012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1616 Jakub Jelinek <jakub@redhat.com>
1617
1618 [BZ #14188]
1619 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1620 where __builtin_expect is unavailable.
1621
2fd6ff13
DM
16222012-06-03 David S. Miller <davem@davemloft.net>
1623
1624 * stdlib/longlong.h: Updated from GCC.
1625
173f7220
AS
16262012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1627
1628 [BZ #14042]
1629 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1630 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1631 __mcount_internal.
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1633 (GLIBC_2.16): Likewise.
1634
f34a1c6f
L
16352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1636
1637 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1638
88a4576f
JM
16392012-06-01 Joseph Myers <joseph@codesourcery.com>
1640
ea32bcdd
JM
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1642 (default-abi): New variable.
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1644 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1645 variable.
1646 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1647 Likewise.
1648 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1649 Likewise.
1650 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1651 Likewise.
1652
88a4576f
JM
1653 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1654 definition. Document in comment.
1655
402fe938
DM
16562012-06-01 David S. Miller <davem@davemloft.net>
1657
1658 * stdlib/longlong.h: Updated from GCC.
1659
3553723f
L
16602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1661
1662 [BZ #14117]
3bd872c4
L
1663 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1664 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1665 sys/debugreg.h sys/io.h here.
1666 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1667 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1668 sys/io.h.
1669 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1670 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1671 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1672 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1673 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1674 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1675
3553723f
L
1676 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1677 Define only if __x86_64__ is defined.
1678
4842e4fe
JM
16792012-06-01 Joseph Myers <joseph@codesourcery.com>
1680
c5bfe3d5
JM
1681 [BZ #14048]
1682 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1683 Use int64_t for variable i.
1684 * math/libm-test.inc (fmod_test): Add more tests.
1685
4842e4fe
JM
1686 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1687 z computation is not scheduled after fetestexcept.
1688 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1689 Use math_force_eval instead of asm to ensure calculation scheduled
1690 before exception test.
1691 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1692 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1693
efb73488
AJ
16942012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1695
1696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1697 computation is not scheduled after fetestexcept.
1698
29bcce7c
L
16992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1700
1701 [BZ #14117]
1702 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1703 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1704
73a68f94
AZ
17052012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1706
1707 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1708 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1709
67b6df78
L
17102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1711
edf2933a 1712 [BZ #14117]
ebc64a18
L
1713 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1714 <bits/wordsize.h>.
1715 (__WCHAR_MIN): Support __WORDSIZE == 64.
1716 (__WCHAR_MAX): Likewise.
1717
edf2933a
L
1718 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1719 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1720
57c6cf40
L
1721 [BZ #14183]
1722 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1723 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1724
67b6df78 1725 [BZ #14117]
8eb6281e
L
1726 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1727 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1728
aac639f4
L
1729 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1730 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1731
67b6df78
L
1732 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1733 Defined to 1 if __x86_64__ isn't defined.
1734 (_STAT_VER_LINUX_OLD): New.
1735 (st_atime): Remove duplicate.
1736 (st_mtime): Likewise.
1737 (st_ctime): Likewise.
1738
1c2cfe81
DM
17392012-05-31 David S. Miller <davem@davemloft.net>
1740
1741 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1742 entries.
1743
5be8418c
AS
17442012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1745
e7725326
AS
1746 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1747 gen-libm-test.pl.
1748
5be8418c
AS
1749 [BZ #14132]
1750 * elf/dl-reloc.c: Include <_itoa.h>.
1751 (_dl_reloc_bad_type): Remove use of INTUSE.
1752 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1753 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1754 * stdio-common/psiginfo.c (psiginfo): Likewise.
1755 * stdio-common/psignal.c (psignal): Likewise.
1756 * string/strsignal.c (strsignal): Likewise.
1757 * include/signal.h (_sys_siglist): Declare hidden proto.
1758 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1759 INTVARDEF with libc_hidden_data_def.
1760 * stdio-common/itoa-udigits.c: Likewise.
1761 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1762 (_itoa_lower_digits_internal): Remove declaration.
1763 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1764 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1765 (_sys_sigabbrev_internal): Remove aliases.
1766 (_sys_siglist): Define hidden alias.
1767
507352f1
MT
17682012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1769
1770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1771 bits/sysctl.h.
1772
42bbb1c3
L
17732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1774
1775 [BZ #14117]
6bd784b6
L
1776 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1777 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1778
8bca20f0
L
1779 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1780 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1781 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1782 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1783 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1784 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1785
f9e890a9
L
1786 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1787 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1788 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1789
471101a1
L
1790 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1791 with __addr.
1792 (insw): Likewise.
1793 (insl): Likewise.
1794 (outsb): Likewise.
1795 (outsw): Likewise.
1796 (outsl): Likewise.
1797
6451c862
L
1798 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1799 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1800 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1801
a254b8c9
L
1802 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1803 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1804 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1805 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1806 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1807 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1808
b8dfdd92
L
1809 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1810 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1811
578cd270
L
1812 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1813 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1814
de662f5f
L
1815 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1817 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1818
25653439
L
1819 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1820 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1821 to ...
1822 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1823
6bad24a0
L
1824 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1825 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1826 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1827
42bbb1c3
L
1828 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1829 for x86-64.
1830 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1831
2d10d547
JM
18322012-05-31 Joseph Myers <joseph@codesourcery.com>
1833
1834 * math/math.h (M_El): Use two more decimal places.
1835 (M_LOG2El): Likewise.
1836 (M_LOG10El): Likewise.
1837 (M_LN2l): Likewise.
1838 (M_LN10l): Likewise.
1839 (M_PIl): Likewise.
1840 (M_PI_2l): Likewise.
1841 (M_PI_4l): Likewise.
1842 (M_1_PIl): Likewise.
1843 (M_2_PIl): Likewise.
1844 (M_2_SQRTPIl): Likewise.
1845 (M_SQRT2l): Likewise.
1846 (M_SQRT1_2l): Likewise.
1847
f230c29b
DM
18482012-05-31 David S. Miller <davem@davemloft.net>
1849
1850 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1851 values between float registers.
1852 * sysdeps/sparc/sparc64/memset.S: Likewise.
1853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1854
fed806c3
MF
18552012-05-31 Mike Frysinger <vapier@gentoo.org>
1856
1857 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1858 -D_FORTIFY_SOURCE=1.
1859 (CPPFLAGS-tst-longjmp_chk.c): Define.
1860 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1861 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1862 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1863 CFLAGS-tst-wchar-h.c.
1864
30917259
MP
18652012-05-31 Marek Polacek <polacek@redhat.com>
1866
1867 [BZ #14132]
1868 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1869 __endmntent_internal): Remove declaration.
1870 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1871 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1872 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1873
1c58d5dc
DM
18742012-05-30 David S. Miller <davem@davemloft.net>
1875
1876 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1877 (___Q_simulate_exceptions): Use real FP ops rather than writing
1878 into the %fsr.
1879 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1880 Likewise.
1881
7dc00e0d
L
18822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1883
1884 [BZ #14117]
0bd53985
L
1885 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1886 * sysdeps/x86/bits/xtitypes.h: This.
1887
3a257e66
L
1888 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1889 * sysdeps/x86/bits/wordsize.h: This.
1890
62f62904
L
1891 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1892 * sysdeps/x86/bits/huge_vall.h: This.
1893
404fe9d9
L
1894 * sysdeps/i386/bits/select.h: Removed.
1895 * sysdeps/x86_64/bits/select.h: Renamed to ...
1896 * sysdeps/x86/bits/select.h: This.
1897
d48d0446
L
1898 * sysdeps/i386/bits/setjmp.h: Removed.
1899 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1900 * sysdeps/x86/bits/setjmp.h: This.
1901
7dc00e0d
L
1902 * sysdeps/i386/bits/mathdef.h: Removed.
1903 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1904 * sysdeps/x86/bits/mathdef.h: This.
1905
03277f8f
AS
19062012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1907
1908 [BZ #14132]
1909 * include/sys/socket.h (__connect_internal)
1910 (__libc_sa_len_internal): Remove declaration.
1911 (__connect, __libc_sa_len): Declare hidden_proto.
1912 (SA_LEN): Remove use of INTUSE.
1913 * socket/connect.c: Add libc_hidden_def.
1914 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1915 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1916 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1917 alias.
1918 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1919 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1920 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1921 of adding _internal alias.
1922
13764867
L
19232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1924
1925 [BZ #14117]
6bd97696
L
1926 * sysdeps/i386/bits/link.h: Removed.
1927 * sysdeps/i386/bits/linkmap.h: Likewise.
1928 * sysdeps/x86_64/bits/link.h: Renamed to ...
1929 * sysdeps/x86/bits/link.h: This.
1930 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1931 * sysdeps/x86/bits/linkmap.h: This.
1932
f726f0bb
L
1933 * sysdeps/i386/bits/endian.h: Removed.
1934 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1935 * sysdeps/x86/bits/endian.h: This.
1936
13764867
L
1937 * sysdeps/i386/bits/byteswap.h: Removed.
1938 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1939 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1940 * sysdeps/x86/bits/byteswap.h: This.
1941 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1942 * sysdeps/x86/bits/byteswap-16.h: This.
1943 * sysdeps/i386/Implies: Add x86.
1944 * sysdeps/x86_64/Implies: Likewise.
1945
ae251b0b
DM
19462012-05-30 David S. Miller <davem@davemloft.net>
1947
1948 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1949 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1950 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1951 (FP_TRAPPING_EXCEPTIONS): Define.
1952 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1953 (FP_TRAPPING_EXCEPTIONS): Define.
1954 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1955 subnormals only when inexact has been signalled or underflow
1956 exceptions are enabled.
1957 (_FP_PACK_CANONICAL): Likewise.
1958
d5c90867
L
19592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1960
1961 [BZ #14183]
1962 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1963 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1964
63f1549e
RH
19652012-05-30 Richard Henderson <rth@twiddle.net>
1966
8d8f2279
RH
1967 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1968 with #ifndef NOT_IN_libc.
1969
63f1549e
RH
1970 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1971 marked to avoid plt entry.
1972
0ab0291b
L
19732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1974
1975 [BZ #14112]
1976 * Makeconfig (default-abi): New macro.
1977 (abi-includes): Likewise.
1978 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1979 $(abi-$(default-abi)-lib-soname) for soname if defined.
1980 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1981 abi-variants.
1982 * Makefile (installed-stubs): Likewise.
1983 * include/stubs-biarch.h: Removed.
1984 * scripts/lib-names.awk: Only handle one library at a time.
1985 * scripts/soversions.awk: Remove WORDSIZE support.
1986 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1987 entries.
1988 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1989 Removed.
1990 (syscall-list-default-condition): Likewise.
1991 (syscall-list-default-condition): Likewise.
1992 (syscall-list-includes): Likewise.
1993 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1994 syscall-list-* with abi-*. Handle undefined abi-variants.
1995 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1996 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1997 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1998 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1999 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2000 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2001 Removed.
2002 (syscall-list-32-options): Likewise.
2003 (syscall-list-32-condition): Likewise.
2004 (syscall-list-64-options): Likewise.
2005 (syscall-list-64-condition): Likewise.
2006 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2007 macro.
2008 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2009 Renamed to ...
2010 (abi-*): This.
2011 (abi-64-ld-soname): New macro.
2012 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2013 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2014 Renamed to ...
2015 (abi-*): This.
2016 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2017 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2018
4da0431d
JM
20192012-05-30 Joseph Myers <joseph@codesourcery.com>
2020
3a85279c
JM
2021 * sysdeps/unix/sysv/linux/kernel-features.h
2022 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2023 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2024 include <kernel-features.h>.
2025 [!__NR_ftruncate64]: Remove conditional code.
2026 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2027 [__NR_ftruncate64]: Make code unconditional.
2028 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2029 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2030 include <kernel-features.h>.
2031 [!__NR_ftruncate64]: Remove conditional code.
2032 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2033 [__NR_ftruncate64]: Make code unconditional.
2034 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2036 include <kernel-features.h>.
2037 [!__NR_ftruncate64]: Remove conditional code.
2038 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2039 [__NR_ftruncate64]: Make code unconditional.
2040 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2042 include <kernel-features.h>.
2043 [!__NR_ftruncate64]: Remove conditional code.
2044 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2045 [__NR_ftruncate64]: Make code unconditional.
2046 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2047
4da0431d
JM
2048 * configure.in (libc_cv_fpie): Weaken to a compile test using
2049 LIBC_TRY_CC_OPTION.
2050 * configure: Regenerated.
2051
11ef492c
AK
20522012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2053
2054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2058 Refreshed.
2059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2065 Refreshed.
2066
d66ef399
DM
20672012-05-27 David S. Miller <davem@davemloft.net>
2068
2069 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2070 (___Q_zero): New.
2071 (__Q_simulate_exceptions): Return void. Change to simulate
2072 exceptions by writing into the %fsr.
2073 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2074 (__Qp_handle_exceptions): Likewise.
2075 (numbers): Delete.
2076 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2077 __Qp_handle_exceptions.
2078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2079 __Qp_handle_exceptions.
2080 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2081 as unused and give dummy FP_RND_NEAREST initializer.
2082 (FP_INHIBIT_RESULTS): Define.
2083 (___Q_simulate_exceptions): Update declaration.
2084 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2085 formatting.
2086 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2087 as unused and give dummy FP_RND_NEAREST initializer.
2088 (__Qp_handle_exceptions): Update declaration.
2089 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2090 formatting.
2091
04fb54b5
TS
20922012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2093
2094 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2095 the temporary FPU control word.
2096 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2097 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2098 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2099 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2100 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2101 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2102 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2103 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2104 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2105 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2106 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2107
3f99608f
KK
21082012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2109
2110 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2111 fields.
2112
65a4de4e
CLT
21132012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2114
2115 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2116 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2117 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2118 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2119 Likewise.
2120 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2121 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2122 Likewise.
2123
15749d40
UD
21242012-05-27 Ulrich Drepper <drepper@gmail.com>
2125
2126 * po/h.po: Update from translation team.
2127
25dbcb27
AS
21282012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2129
3d3f8e55
AS
2130 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2131
25dbcb27
AS
2132 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2133 handling of denormals.
2134 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2135 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2136 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2137 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2140 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2141 Likewise.
2142
7ad47a80 21432012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2144
2145 [BZ #14152]
2146 * math/libm-test.inc (fma_test): Don't always expect underflow
2147 exception.
2148
9c6ea9fa
SP
21492012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2150
2151 [BZ #12416]
2152 * elf/tst-execstack.c: Include stackinfo.h.
2153 (do_test): Adjust test case to ensure that pthread_getattr_np
2154 behaviour remains the same after marking stack executable.
2155
a8239222
JM
21562012-05-25 Joseph Myers <joseph@codesourcery.com>
2157
2158 * sysdeps/unix/sysv/linux/kernel-features.h
2159 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2160 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2161 kernel-features.h.
2162 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2163 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2164 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2165 kernel-features.h.
2166 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2167 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2168
918b5606
L
21692012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2170
2171 * configure.in: Define the default includes to being none.
2172 * configure: Regenerated.
2173
3a097cc7
RM
21742012-05-25 Roland McGrath <roland@hack.frob.com>
2175
8422c9a5
RM
2176 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2177 * sysdeps/x86_64/setjmp.S: Likewise.
2178 * sysdeps/i386/bsd-setjmp.S: Likewise.
2179 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2180 * sysdeps/i386/setjmp.S: Likewise.
2181 * sysdeps/i386/__longjmp.S: Likewise.
2182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2183 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2184
3a097cc7
RM
2185 * include/stap-probe.h: New file.
2186 * configure.in: Handle --enable-systemtap.
2187 * configure: Regenerated.
2188 * config.h.in (USE_STAP_PROBE): New #undef.
2189 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2190 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2191 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2192
21708942
JM
21932012-05-25 Joseph Myers <joseph@codesourcery.com>
2194
2195 [BZ #13717]
2196 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2197 to 2.4.0 where earlier.
2198 * sysdeps/unix/sysv/linux/configure: Regenerated.
2199 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2200 <kernel-features.h>.
2201 [__ASSUME_32BITUIDS]: Make code unconditional.
2202 [!__ASSUME_32BITUIDS]: Remove conditional code.
2203 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2204 <kernel-features.h>.
2205 [__ASSUME_32BITUIDS]: Make code unconditional.
2206 [!__ASSUME_32BITUIDS]: Remove conditional code.
2207 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2208 [__ASSUME_32BITUIDS]: Make code unconditional.
2209 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2210 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2211 <kernel-features.h>.
2212 [__ASSUME_32BITUIDS]: Make code unconditional.
2213 [!__ASSUME_32BITUIDS]: Remove conditional code.
2214 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2215 <kernel-features.h>.
2216 [__ASSUME_32BITUIDS]: Make code unconditional.
2217 [!__ASSUME_32BITUIDS]: Remove conditional code.
2218 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2219 <kernel-features.h>.
2220 [__ASSUME_32BITUIDS]: Make code unconditional.
2221 [!__ASSUME_32BITUIDS]: Remove conditional code.
2222 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2223 <kernel-features.h>.
2224 [__ASSUME_32BITUIDS]: Make code unconditional.
2225 [!__ASSUME_32BITUIDS]: Remove conditional code.
2226 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2227 <kernel-features.h>.
2228 [__ASSUME_32BITUIDS]: Make code unconditional.
2229 [!__ASSUME_32BITUIDS]: Remove conditional code.
2230 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2231 <kernel-features.h>.
2232 [__ASSUME_32BITUIDS]: Make code unconditional.
2233 [!__ASSUME_32BITUIDS]: Remove conditional code.
2234 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2235 <kernel-features.h>.
2236 [__ASSUME_32BITUIDS]: Make code unconditional.
2237 [!__ASSUME_32BITUIDS]: Remove conditional code.
2238 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2239 <kernel-features.h>.
2240 [__ASSUME_32BITUIDS]: Make code unconditional.
2241 [!__ASSUME_32BITUIDS]: Remove conditional code.
2242 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2243 <kernel-features.h>.
2244 [__ASSUME_32BITUIDS]: Make code unconditional.
2245 [!__ASSUME_32BITUIDS]: Remove conditional code.
2246 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2247 <kernel-features.h>.
2248 [__ASSUME_32BITUIDS]: Make code unconditional.
2249 [!__ASSUME_32BITUIDS]: Remove conditional code.
2250 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2251 <kernel-features.h>.
2252 [__NR_setresgid] (__setresgid): Do not declare.
2253 [__ASSUME_32BITUIDS]: Make code unconditional.
2254 [!__ASSUME_32BITUIDS]: Remove conditional code.
2255 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2256 <kernel-features.h>.
2257 [__NR_setresuid] (__setresuid): Do not declare.
2258 [__ASSUME_32BITUIDS]: Make code unconditional.
2259 [!__ASSUME_32BITUIDS]: Remove conditional code.
2260 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2261 <kernel-features.h>.
2262 [__ASSUME_32BITUIDS]: Make code unconditional.
2263 [!__ASSUME_32BITUIDS]: Remove conditional code.
2264 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2265 <kernel-features.h>.
2266 [__ASSUME_32BITUIDS]: Make code unconditional.
2267 [!__ASSUME_32BITUIDS]: Remove conditional code.
2268 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2269 <kernel-features.h>.
2270 [__ASSUME_32BITUIDS]: Make code unconditional.
2271 [!__ASSUME_32BITUIDS]: Remove conditional code.
2272 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2273 <kernel-features.h>.
2274 [__ASSUME_32BITUIDS]: Make code unconditional.
2275 [!__ASSUME_32BITUIDS]: Remove conditional code.
2276 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2277 <kernel-features.h>.
2278 [__ASSUME_32BITUIDS]: Make code unconditional.
2279 [!__ASSUME_32BITUIDS]: Remove conditional code.
2280 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2281 <kernel-features.h>.
2282 [__ASSUME_32BITUIDS]: Make code unconditional.
2283 [!__ASSUME_32BITUIDS]: Remove conditional code.
2284 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2285 <kernel-features.h>.
2286 [__ASSUME_32BITUIDS]: Make code unconditional.
2287 [!__ASSUME_32BITUIDS]: Remove conditional code.
2288 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2289 <kernel-features.h>.
2290 [__ASSUME_32BITUIDS]: Make code unconditional.
2291 [!__ASSUME_32BITUIDS]: Remove conditional code.
2292 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2293 <kernel-features.h>.
2294 [__ASSUME_32BITUIDS]: Make code unconditional.
2295 [!__ASSUME_32BITUIDS]: Remove conditional code.
2296 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2297 <kernel-features.h>.
2298 [__ASSUME_32BITUIDS]: Make code unconditional.
2299 [!__ASSUME_32BITUIDS]: Remove conditional code.
2300 * sysdeps/unix/sysv/linux/kernel-features.h
2301 (__ASSUME_SETRESUID_SYSCALL): Remove.
2302 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2303 (__ASSUME_32BITUIDS): Likewise.
2304 (__ASSUME_LDT_WORKS): Likewise.
2305 (__ASSUME_O_DIRECTORY): Likewise.
2306 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2307 architecture but not kernel version.
2308 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2309 (__ASSUME_MMAP2_SYSCALL): Likewise.
2310 (__ASSUME_STAT64_SYSCALL): Likewise.
2311 (__ASSUME_IPC64): Likewise.
2312 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2313 <kernel-features.h>.
2314 [__ASSUME_32BITUIDS]: Make code unconditional.
2315 [!__ASSUME_32BITUIDS]: Remove conditional code.
2316 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2317 <kernel-features.h>.
2318 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2319 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2320 132096]: Remove conditional code.
2321 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2322 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2323 <kernel-features.h>.
2324 [__ASSUME_32BITUIDS]: Make code unconditional.
2325 [!__ASSUME_32BITUIDS]: Remove conditional code.
2326 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2327 <kernel-features.h>.
2328 [__ASSUME_32BITUIDS]: Make code unconditional.
2329 [!__ASSUME_32BITUIDS]: Remove conditional code.
2330 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2331 <kernel-features.h>.
2332 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2333 unconditional.
2334 (__setresgid): Do not declare.
2335 [__ASSUME_32BITUIDS]: Make code unconditional.
2336 [!__ASSUME_32BITUIDS]: Remove conditional code.
2337 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2338 <kernel-features.h>.
2339 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2340 unconditional.
2341 (__setresuid): Do not declare.
2342 [__ASSUME_32BITUIDS]: Make code unconditional.
2343 [!__ASSUME_32BITUIDS]: Remove conditional code.
2344 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2345 <kernel-features.h>.
2346 [__ASSUME_32BITUIDS]: Make code unconditional.
2347 [!__ASSUME_32BITUIDS]: Remove conditional code.
2348 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2349 <kernel-features.h>.
2350 [__ASSUME_32BITUIDS]: Make code unconditional.
2351 [!__ASSUME_32BITUIDS]: Remove conditional code.
2352
a386f1cc
RH
23532012-05-25 Richard Henderson <rth@twiddle.net>
2354
2355 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2356 dl_hwcap to ifunc resolver.
2357 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2358 elf_ifunc_invoke.
2359 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2360 dl_hwcap to ifunc resolver.
2361 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2362
b6550497
JM
23632012-05-24 Joseph Myers <joseph@codesourcery.com>
2364
2365 [BZ #14153]
2366 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2367 for |x| <= 2**-26, not 2**-57.
2368 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2369 exception.
2370
b0bc23a1
JL
23712012-05-24 Jeff Law <law@redhat.com>
2372
2373 * stdio-common/Makefile (tests): Add bug25.
2374 * stdio-common/bug25.c: New test.
2375
347c92e9
L
23762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2377
2378 [BZ #13576]
2379 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2380 multiple of MALLOC_ALIGNMENT in size.
2381 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2382
6bcc8b3f
JM
23832012-05-24 Joseph Myers <joseph@codesourcery.com>
2384
2385 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2386 Require >= 256.
2387 (FILENAME_MAX): Use macro-int-constant.
2388 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2389 (_IOFBF): Use macro-int-constant.
2390 (_IOLBF): Likewise.
2391 (_IONBF): Likewise.
2392 (SEEK_CUR): Likewise.
2393 (SEEK_END): Likewise.
2394 (SEEK_SET): Likewise.
2395 (TMP_MAX): Likewise.
2396 (EOF): Use macro-int-constant. Require < 0.
2397 (NULL): Use macro-constant. Require == 0.
2398 (stdin): Require type to be FILE *.
2399 (stdout): Likewise.
2400 (stderr): Likewise.
2401 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2402 macro-int-constant.
2403 (EXIT_SUCCESS): Likewise.
2404 (NULL): Use macro-constant. Require == 0.
2405 (RAND_MAX): Use macro-int-constant.
2406 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2407 [C99-based standards] (strtof): Require function.
2408 [C99-based standards] (strtold): Likewise.
2409 [C99-based standards] (strtoll): Likewise.
2410 [C99-based standards] (strtoull): Likewise.
2411 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2412 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2413 [ISO || ISO99 || ISO11] (math.h): Likewise.
2414 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2415 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2417
d18ea0c5
AS
24182012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2419
2420 [BZ #14132]
56d25bb8
AS
2421 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2422 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2423 * intl/dgettext.c (DCGETTEXT): Likewise.
2424 * intl/gettext.c (DCGETTEXT): Likewise.
2425 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2426 * posix/regex_internal.h (gettext): Likewise.
2427 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2428 Remove declaration.
2429 * include/argz.h (__argz_count_internal)
2430 (__argz_stringify_internal): Remove declaration.
2431 (__argz_count, __argz_stringify): Declare hidden proto.
2432 * intl/dcgettext.c: Remove use of INTDEF.
2433 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2434 * string/argz-stringify.c: Likewise.
2435 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2436 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2437 Declare hidden proto.
d18ea0c5
AS
2438 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2439 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2440 Declare hidden proto.
2441 * include/stdio.h (__asprintf_internal): Don't declare.
2442 (__asprintf): Don't define as macro. Declare hidden proto.
2443 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2444 (__fsetlocking): Declare hidden proto.
2445 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2446 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2447 hidden proto.
2448 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2449 (_IO_setlinebuf): Remove use of INTUSE.
2450 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2451 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2452 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2453 Remove declaration.
2454 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2455 (_IO_do_flush): Remove use of INTUSE.
2456 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2457 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2458 (_IO_adjust_column, _IO_least_wmarker)
2459 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2460 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2461 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2462 (_IO_default_doallocate, _IO_wdefault_doallocate)
2463 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2464 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2465 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2466 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2467 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2468 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2469 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2470 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2471 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2472 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2473 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2474 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2475 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2476 proto.
2477 (_IO_flush_all_internal, _IO_adjust_column_internal)
2478 (_IO_default_uflow_internal, _IO_default_finish_internal)
2479 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2480 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2481 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2482 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2483 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2484 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2485 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2486 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2487 (_IO_file_close_internal, _IO_file_close_it_internal)
2488 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2489 (_IO_file_init_internal, _IO_file_attach_internal)
2490 (_IO_file_fopen_internal, _IO_file_read_internal)
2491 (_IO_file_sync_internal, _IO_file_seek_internal)
2492 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2493 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2494 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2495 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2496 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2497 (_IO_list_all_internal, _IO_link_in_internal)
2498 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2499 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2500 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2501 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2502 (_IO_do_write_internal, _IO_padn_internal)
2503 (_IO_getline_info_internal, _IO_getline_internal)
2504 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2505 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2506 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2507 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2508 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2509 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2510 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2511 with libc_hidden_ver, remove use of INTUSE.
2512 * libio/genops.c: Likewise.
2513 * libio/freopen.c: Likewise.
2514 * libio/freopen64.c: Likewise.
2515 * libio/iofclose.c: Likewise.
2516 * libio/iofdopen.c: Likewise.
2517 * libio/iofflush.c: Likewise.
2518 * libio/iofflush_u.c: Likewise.
2519 * libio/iofgets.c: Likewise.
2520 * libio/iofgets_u.c: Likewise.
2521 * libio/iofopen.c: Likewise.
2522 * libio/iofopncook.c: Likewise.
2523 * libio/iofread.c: Likewise.
2524 * libio/iofread_u.c: Likewise.
2525 * libio/ioftell.c: Likewise.
2526 * libio/iofwrite.c: Likewise.
2527 * libio/iogetline.c: Likewise.
2528 * libio/iogets.c: Likewise.
2529 * libio/iogetwline.c: Likewise.
2530 * libio/iopadn.c: Likewise.
2531 * libio/iopopen.c: Likewise.
2532 * libio/ioseekoff.c: Likewise.
2533 * libio/ioseekpos.c: Likewise.
2534 * libio/iosetbuffer.c: Likewise.
2535 * libio/iosetvbuf.c: Likewise.
2536 * libio/ioungetc.c: Likewise.
2537 * libio/ioungetwc.c: Likewise.
2538 * libio/iovdprintf.c: Likewise.
2539 * libio/iovsprintf.c: Likewise.
2540 * libio/iovsscanf.c: Likewise.
2541 * libio/memstream.c: Likewise.
2542 * libio/obprintf.c: Likewise.
2543 * libio/oldfileops.c: Likewise.
2544 * libio/oldiofclose.c: Likewise.
2545 * libio/oldiofdopen.c: Likewise.
2546 * libio/oldiofopen.c: Likewise.
2547 * libio/oldiopopen.c: Likewise.
2548 * libio/oldstdfiles.c: Likewise.
2549 * libio/putc.c: Likewise.
2550 * libio/setbuf.c: Likewise.
2551 * libio/setlinebuf.c: Likewise.
2552 * libio/stdfiles.c: Likewise.
2553 * libio/strops.c: Likewise.
2554 * libio/vasprintf.c: Likewise.
2555 * libio/vscanf.c: Likewise.
2556 * libio/vsnprintf.c: Likewise.
2557 * libio/vswprintf.c: Likewise.
2558 * libio/wfiledoalloc.c: Likewise.
2559 * libio/wfileops.c: Likewise.
2560 * libio/wgenops.c: Likewise.
2561 * libio/wmemstream.c: Likewise.
2562 * libio/wstrops.c: Likewise.
2563 * libio/__fpurge.c: Likewise.
2564 * libio/__fsetlocking.c: Likewise.
2565 * assert/assert.c: Likewise.
2566 * debug/fgets_chk.c: Likewise.
2567 * debug/fgets_u_chk.c: Likewise.
2568 * debug/fread_chk.c: Likewise.
2569 * debug/fread_u_chk.c: Likewise.
2570 * debug/gets_chk.c: Likewise.
2571 * debug/obprintf_chk.c: Likewise.
2572 * debug/vasprintf_chk.c: Likewise.
2573 * debug/vdprintf_chk.c: Likewise.
2574 * debug/vsnprintf_chk.c: Likewise.
2575 * debug/vsprintf_chk.c: Likewise.
2576 * malloc/mtrace.c: Likewise.
2577 * misc/error.c: Likewise.
2578 * misc/syslog.c: Likewise.
2579 * stdio-common/asprintf.c: Likewise.
2580 * stdio-common/fxprintf.c: Likewise.
2581 * stdio-common/getw.c: Likewise.
2582 * stdio-common/isoc99_fscanf.c: Likewise.
2583 * stdio-common/isoc99_scanf.c: Likewise.
2584 * stdio-common/isoc99_vfscanf.c: Likewise.
2585 * stdio-common/isoc99_vscanf.c: Likewise.
2586 * stdio-common/isoc99_vsscanf.c: Likewise.
2587 * stdio-common/printf-prs.c: Likewise.
2588 * stdio-common/printf_fp.c: Likewise.
2589 * stdio-common/printf_fphex.c: Likewise.
2590 * stdio-common/printf_size.c: Likewise.
2591 * stdio-common/putw.c: Likewise.
2592 * stdio-common/scanf.c: Likewise.
2593 * stdio-common/sprintf.c: Likewise.
2594 * stdio-common/tmpfile.c: Likewise.
2595 * stdio-common/vfprintf.c: Likewise.
2596 * stdio-common/vfscanf.c: Likewise.
2597 * stdlib/strfmon_l.c: Likewise.
2598 * sunrpc/openchild.c: Likewise.
2599 * sunrpc/xdr_stdio.c: Likewise.
2600 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2601 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2602
d6c33fda
RM
26032012-05-24 Roland McGrath <roland@hack.frob.com>
2604
c1487492
RM
2605 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2606
2607 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2608 in the third column, to generate for the shared library an IFUNC
2609 that uses _dl_vdso_vsym.
2610 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2611 * Makeconfig (object-suffixes-noshared): New variable.
2612
2613 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2614 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2615 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2616 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2617
d6c33fda
RM
2618 [BZ #14132]
2619 * include/sys/time.h (__gettimeofday): Remove macro.
2620 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2621 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2622 Remove INTDEF.
2623 (__gettimeofday): Add libc_hidden_def.
2624 (gettimeofday): Add libc_hidden_weak.
2625 * sysdeps/mach/gettimeofday.c: Likewise.
2626 * sysdeps/posix/gettimeofday.c: Likewise.
2627 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2628 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2629 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2630 (__gettimeofday_internal): Remove strong_alias.
2631 (__gettimeofday): Add libc_hidden_def.
2632 (gettimeofday): Add libc_hidden_weak.
2633 * sysdeps/unix/syscalls.list (gettimeofday):
2634 Remove __gettimeofday_internal alias.
2635
b5a2bbe6
L
26362012-05-24 Daniel Jacobowitz <drow@false.org>
2637 H.J. Lu <hongjiu.lu@intel.com>
2638
2639 [BZ #12495]
2640 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2641 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2642 (largebin_index_32_big): New.
2643 (largebin_index): Use it for 16-byte alignment.
2644 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2645 correction with front_misalign.
2646
cfba4fda
L
26472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2648
7f907421
L
2649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2651 Likewise.
2652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2653 Likewise.
2654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2655 Likewise.
2656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2657 Likewise.
2658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2659 Likewise.
2660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2661 Likewise.
2662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2663 Likewise.
2664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2665 Likewise.
2666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2667 Likewise.
2668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2669 Likewise.
2670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2671 Likewise.
2672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2673 Likewise.
2674
cfba4fda
L
2675 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2676 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2677
80bad0cc
JM
26782012-05-24 Joseph Myers <joseph@codesourcery.com>
2679
7a25eb06
JM
2680 [BZ #10846]
2681 [BZ #14036]
2682 * math/libm-test.inc (exp_test): Add test from bug 14036.
2683 (pow_test): Add test from bug 10846.
2684
795405f9
JM
2685 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2686 and other flags.
2687 (special_function): Do not include flags in test name.
2688 (parse_args): Likewise.
2689 * sysdeps/i386/fpu/libm-test-ulps: Update.
2690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2691 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2692 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2694
80bad0cc
JM
2695 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2696 exceptions.
2697 * math/libm-test.inc ("Philosophy"): Update comment about
2698 exception testing.
2699 (UNDERFLOW_EXCEPTION): New macro.
2700 (UNDERFLOW_EXCEPTION_OK): Likewise.
2701 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2702 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2703 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2704 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2705 (INVALID_EXCEPTION_OK): Update value.
2706 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2707 (OVERFLOW_EXCEPTION_OK): Likewise.
2708 (IGNORE_ZERO_INF_SIGN): Likewise.
2709 (test_exceptions): Handle underflow exceptions.
2710 (acos_test): Update for underflow exception expectations.
2711 (cexp_test): Likewise.
2712 (clog_test): Likewise.
2713 (clog10_test): Likewise.
2714 (csqrt_test): Likewise.
2715 (ctan_test): Likewise.
2716 (ctanh_test): Likewise.
2717 (exp_test): Likewise.
2718 (exp10_test): Likewise.
2719 (exp2_test): Likewise.
2720 (expm1_test): Likewise.
2721 (fma_test): Likewise.
2722 (j0_test): Likewise.
2723 (jn_test): Likewise.
2724 (nexttoward_test): Likewise.
2725 (pow_test): Likewise.
2726 (scalbn_test): Likewise.
2727 (scalbln_test): Likewise.
2728 (tan_test): Likewise.
2729 (y1_test): Likewise.
2730 * sysdeps/i386/fpu/libm-test-ulps: Update.
2731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2732
9e0e3d0b
DM
27332012-05-23 David S. Miller <davem@davemloft.net>
2734
2735 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2736 (__libc_sigaction): Remove unused local variables.
2737
ccd0a08f
L
27382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2739
2740 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2741
62bdf9a6
PE
27422012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2743
f8591f80
PE
2744 mktime: avoid signed integer overflow
2745 * time/mktime.c (__mktime_internal): Do not mishandle the case
2746 where diff == INT_MIN.
2747
94c7d826
PE
2748 mktime: simplify computation of average
2749 * time/mktime.c (ranged_convert): Use new time_t_avg function
2750 instead of rolling our own (probably-slower) code.
2751
ce73d683
PE
2752 mktime: do not assume signed right shift propagates sign bit
2753 * time/mktime.c (isdst_differ): New static function.
2754 (__mktime_internal): No need to normalize tm_isdst now.
2755 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2756 tm_isdst values.
2757
72a22e59
PE
2758 mktime: merge another wrapv change from gnulib
2759 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2760 from some compilers.
2761
68605433
PE
2762 mktime: remove incorrect attempt at unusual arithmetics
2763 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2764 The code didn't really work on such machines anyway.
2765 (TYPE_MINIMUM): Assume two's complement.
2766 (twos_complement_arithmetic): Verify that long_int and time_t
2767 are two's complement (or unsigned, in the latter case).
2768
03cf7fe3
PE
2769 mktime: check signed shifts on long_int and time_t, too
2770 * time/mktime.c (SHR): Check that shifts work as desired
2771 on the types long_int and time_t too, as SHR is used on
2772 such types.
2773
f04dfbc2
PE
2774 mktime: do not assume 'long' is wide enough
2775 * time/mktime.c (verify): Move decl up.
2776 (long_int): New type.
2777 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2778 to remove assumption in the code that 'long' is wide enough to
2779 store year values. This assumption is not true on x32 and on
2780 some non-glibc platforms.
2781
62bdf9a6
PE
2782 mktime: merge wrapv change from gnulib
2783 * time/mktime.c (WRAPV): New macro.
2784 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2785 (guess_time_tm, __mktime_internal): Do not assume that signed
2786 integer overflow wraps around; modern compilers generate code
2787 where this assumption is no longer valid.
2788
5e292e4f
L
27892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2790
2791 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2792 Replace "jmp L(pseudo_end)" with "ret".
2793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2794 Likewise.
2795
8caf8c87
AJ
27962012-05-23 Andreas Jaeger <aj@suse.de>
2797
2798 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2799 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2800
1a09dc56
AJ
28012012-05-23 Andreas Jaeger <aj@suse.de>
2802 Maximilian Attems <max@stro.at>
2803
2804 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2805 New macros.
2806
1c87aba0
L
28072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2808
2809 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2810 code so that pseudo_end is just ret and the stack pointer is
2811 correct also for static library in error case.
2812
40e45bd5
JM
28132012-05-23 Joseph Myers <joseph@codesourcery.com>
2814
c2670533
JM
2815 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2816 move to syscalls.list.
2817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2821
40e45bd5
JM
2822 * manual/install.texi (Running make install): Do not mention Linux
2823 kernel version for which pt_chown is not needed.
2824 (Linux): Do not mention problems with nscd with 2.0 kernels.
2825 * INSTALL: Regenerated.
2826
be08eda5
AJ
28272012-05-23 Andreas Jaeger <aj@suse.de>
2828
2829 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2830 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2831 macro.
2832 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2833 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2834 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2835 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2836 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2837 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2838 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2839 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2840 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2841 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2842 * sysdeps/unix/sysv/linux/bits/in.h
2843 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2844
a6a056bb
RM
28452012-05-22 Roland McGrath <roland@hack.frob.com>
2846
2847 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2848 (PREPARE_VERSION): Just use assert instead, it will be elided
2849 under [NDEBUG] anyway.
2850
c9009328
L
28512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2852
2853 * sysdeps/unix/sysv/linux/Makefile: Include
2854 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2855 (sysdep_routines): Remove sysctl.
c9009328
L
2856 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2857 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2858 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2859 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2860 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2861
73338355
AJ
28622012-05-22 Andreas Jaeger <aj@suse.de>
2863
2864 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2865 that pseudo_end is just ret and the stack pointer is correct also
2866 for static library in error case.
2867
d44638b0
PP
28682012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2869
2870 [BZ #14122]
2871 * nss/nsswitch.c (defconfig_entries): New variable.
2872 (__nss_database_lookup): Don't leak defconfig entries.
2873 (nss_parse_service_list): Don't leak on error paths.
2874 (free_database_entries): New function.
2875 (free_defconfig): New function.
2876 (free_mem): Move common code to free_database_entries.
2877
31a39bd8
L
28782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2879
da0331a8
L
2880 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2881 Add arch_prctl.
2882 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2883
31a39bd8
L
2884 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2885 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2887 New macro.
2888 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2889 (INTERNAL_SYSCALL_TYPES): Likewise.
2890 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2891 (LOAD_REGS_TYPES_[1-6]): Likewise.
2892 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2893 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2894
45470df3
AZ
28952012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2896
2897 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2898 copysignl for GLIBC_2_0.
2899 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2900 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2902 logbl for GLIBC_2_0.
2903 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2904 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2905
98a61bcb
L
29062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2907
a4f6e481
L
2908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2909 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2910
f63d5db6
L
2911 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2912 Use "neg %eax".
2913
98a61bcb
L
2914 * time/mktime.c: Update copyright years.
2915
95770f14
PE
29162012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2917
6226efbd
PE
2918 mktime: merge comment-quoting-style change from gnulib
2919 * time/mktime.c: Quote 'like this' in comments.
2920 The GNU coding standards suggest that we no longer quote `like this',
2921 as "`" and "'" are typically rendered asymmetrically nowadays.
2922 The typical gnulib style is to quote 'like this' when quoting
2923 code, and "like this" when quoting English.
2924
b99e4f78
PE
2925 * time/mktime.c (compile-command): Add "-I.".
2926
643e01e6
PE
2927 mktime: merge mktime-internal.h change from gnulib
2928 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2929
2554247d
PE
2930 mktime: merge time_r change from gnulib
2931 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2932
826dd0ab
PE
2933 mktime: merge DEBUG change from gnulib
2934 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2935 case system <time.h> has a #define.
2936
bd83aabe
PE
2937 mktime: merge <sys/types.h> change from gnulib
2938 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2939 since <time.t> is now guaranteed to define time_t.
2940
95770f14
PE
2941 mktime: merge HAVE_CONFIG_H change from gnulib
2942 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2943
5e1a27a9
L
29442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2945
0e44a77e
L
2946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2947 Use "neg %eax".
2948
5e1a27a9
L
2949 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2950 __rlim_t cast.
2951 (struct rusage): Use anonymous union to pad each field to
2952 __syscall_slong_t.
2953
46259bec
DM
29542012-05-21 David S. Miller <davem@davemloft.net>
2955
2956 * Makefules (o-iterator): Remove .s cases.
2957 (compile-command.s): Delete.
2958 (COMPILE.s): Delete.
2959 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2960
59f0c22e
JM
29612012-05-21 Joseph Myers <joseph@codesourcery.com>
2962
2963 * configure.in (libc_cv_predef_stack_protector): Only consider
2964 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2965 * configure: Regenerated.
2966
20c07380
L
29672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2968
bbb3154b
L
2969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2970 New macro. Use R*LP on int and pointer.
2971 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2972 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2973 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2974 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2975
20c07380
L
2976 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2977 [__WORDSIZE_TIME64_COMPAT32] instead of
2978 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2979 (struct utmp): Likewise.
2980 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2981 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2982 Renamed to ...
2983 (__WORDSIZE_TIME64_COMPAT32): This.
2984 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2985 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2986 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2987 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2988 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2989 (__WORDSIZE_TIME64_COMPAT32): New macro.
2990
d8d1017e
AJ
29912012-05-21 Andreas Jaeger <aj@suse.de>
2992
2993 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2994 only if [SHARED]. Add prototype for __wcschr_ia32.
2995
6c7fb145
RM
29962012-05-21 Roland McGrath <roland@hack.frob.com>
2997
2998 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2999 of %rbp unmolested in the jmp_buf while mangling the low bits.
3000 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3001 unmolested high bits of %rbp while demangling the low bits.
3002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3003
66274218
AJ
30042012-05-21 Andreas Jaeger <aj@suse.de>
3005
07c58f8f
AJ
3006 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3007 * sunrpc/svc_simple.c: Use it for registerrpc.
3008 * sunrpc/xcrypt.c: Use it for passwd2des.
3009
66274218
AJ
3010 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3011
61f65140
L
30122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3015 Don't define if [__SYSCALL_WORDSIZE != 32].
3016 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3017 New macro.
3018
5fefb436
AJ
30192012-05-21 Bruno Haible <bruno@clisp.org>
3020 Andreas Jaeger <aj@suse.de>
3021
3022 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3023 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3024 inptr and inend for must_buffer_ch.
3025 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3026 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3027 * stdio-common/Makefile (tests): Remove bug15.
3028 (bug15-ENV): Remove macro.
3029 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3030 anymore.
3031
d8e272ab
AJ
30322012-05-19 Andreas Jaeger <aj@suse.de>
3033 Roland McGrath <roland@hack.frob.com>
3034
3035 * manual/contrib.texi: Completely rewritten. It contains now an
3036 alphabetical list of contributors and their contributions.
3037
4a56a162
RH
30382012-05-21 Richard Henderson <rth@twiddle.net>
3039
3040 * misc/getauxval.c (__getauxval): Use unsigned long int.
3041 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3042 (getauxval): Use unsigned long int.
3043
d024d23c
L
30442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3045
3046 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3047
cbc00a03
RM
30482012-05-21 Roland McGrath <roland@hack.frob.com>
3049
3050 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3051 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3052 __alignof__ (long double).
3053
478143fa
AZ
30542012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3055
3056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3057
c7683a6d
RH
30582012-05-20 Richard Henderson <rth@twiddle.net>
3059
3060 * misc/getauxval.c: New file.
3061 * misc/sys/auxv.h: New file.
3062 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3063 (routines): Add getauxval.
3064 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3065 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3066 * elf/dl-sysdep.c (_dl_auxv): Remove.
3067 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3068 * elf/dl-support.c (_dl_auxv): New variable.
3069 (_dl_aux_init): Initialize it.
3070 * manual/startup.texi (Auxiliary Vector): New node.
3071 * sysdeps/generic/bits/hwcap.h: New file.
3072 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3073 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3074 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3075 * sysdeps/sparc/sysdep.h: ... here. Include it.
3076 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3077 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3079 Update.
c7683a6d
RH
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3083 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3088
a6f1845d
AZ
30892012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3090
3091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3092
cbcbe830
DM
30932012-05-19 David S. Miller <davem@davemloft.net>
3094
3095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3096
e0b16cc2
JM
30972012-05-19 Joseph Myers <joseph@codesourcery.com>
3098
3099 [BZ #14123]
3100 * math/s_ccosh.c: Include <float.h>
3101 (__ccosh): Avoid internal overflow calculating sinh and cosh
3102 values before multiplying by sin and cos values.
3103 * math/s_ccoshf.c: Likewise.
3104 * math/s_ccoshl.c: Likewise.
3105 * math/s_csin.c: Likewise.
3106 * math/s_csinf.c: Likewise.
3107 * math/s_csinl.c: Likewise.
3108 * math/s_csinh.c: Likewise.
3109 * math/s_csinhf.c: Likewise.
3110 * math/s_csinhl.c: Likewise.
3111 * math/libm-test.inc (ccos_test): Add more tests.
3112 (ccosh_test): Likewise.
3113 (csin_test): Likewise.
3114 (csinh_test): Likewise.
3115 * sysdeps/i386/fpu/libm-test-ulps: Update.
3116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3117
6ad13e08
L
31182012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3119
f66f0ce8
L
3120 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3121 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3122
6ad13e08
L
3123 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3124
b1d072a7
JM
31252012-05-19 Joseph Myers <joseph@codesourcery.com>
3126
3127 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3128 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3129 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3130 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3131 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3132 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3133 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3134 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3135 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3136 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3137 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3138 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3139 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3140 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3141 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3142 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3143 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3144 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3145 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3146 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3147 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3148 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3149 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3150 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3151 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3152 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3153 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3154 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3155 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3156 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3157 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3158
9eae47cb
AJ
31592012-05-18 Andreas Jaeger <aj@suse.de>
3160
3161 * csu/.gitignore: Delete.
3162
bb07f69f
L
31632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3164
3165 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3166 (timex): Use __syscall_slong_t.
3167
e6bdb741
AJ
31682012-05-18 Andreas Jaeger <aj@suse.de>
3169 Carlos O'Donell <carlos_odonell@mentor.com>
3170
3171 * manual/install.texi (Configuring and compiling): Update
3172 description about files modified in the source directory.
d6c33fda 3173 * INSTALL: Regenerated.
e6bdb741 3174
1b74487e
L
31752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3176
3177 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3178 value. Use "or" to set return value to -1.
3179 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3180 negate return value.
3181
a88b64b9
TMQMF
31822012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3183
3184 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3185 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3186 failure if the compiler has Graphite support disabled.
3187 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3188 Likewise.
3189 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3190 CFLAGS-memmove.c): Likewise.
3191 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3192 Likewise.
3193
3707636e
L
31942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3195
610b8622
L
3196 * sysdeps/x86_64/x32/_itoa.h: New file.
3197
7cd195df
L
3198 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3199 getdents system call only if kernel and user dirents have the
3200 same d_ino and d_off.
3201
94b07d20
L
3202 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3203 LLONG_MAX != LONG_MAX.
3204 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3205 (_fitoa_word): Likewise.
3206
18298070
L
3207 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3208 years.
3209 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3210 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3211 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3212
553c7ea4
L
3213 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3214 include <bits/wordsize.h>. Check __x86_64__ instead of
3215 __WORDSIZE.
3216 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3217 if __x86_64__ is defined. Use anonymous union on fpstate.
3218
3707636e
L
3219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3220 anonymous union.
3221
b53ef01a
AS
32222012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3223
37fb1dc0
AS
3224 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3225 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3226 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3227 Refer to _rtld_local_ro instead of _rtld_global_ro.
3228 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3229 Likewise.
3230 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3231 Likewise.
3232 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3233 Likewise.
3234 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3235 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3236 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3237
b53ef01a
AS
3238 * sysdeps/powerpc/powerpc32/dl-machine.c
3239 (__elf_machine_runtime_setup) [PROF]: Don't reference
3240 _dl_prof_resolve.
3241
7a185db2
AJ
32422012-05-18 Andreas Jaeger <aj@suse.de>
3243
3244 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3245 function only available for GCCs before 3.4 since GCC 3.4
3246 introduced a builtin.
3247 (lrint): Likewise.
3248 (llrintf): Likewise.
3249 (llrint): Likewise.
3250 (fmaxf): Likewise.
3251 (fmax): Likewise.
3252 (fminf): Likewise.
3253 (fmin): Likewise.
3254 (rint): Likewise.
3255 (rintf): Likewise.
3256 (nearbyint): Likewise.
3257 (nearbyintf): Likewise.
3258 (ceil): Likewise.
3259 (ceilf): Likewise.
3260 (floor): Likewise.
3261 (floorf): Likewise.
3262
3e5aef87
L
32632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3264
428bd707
L
3265 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3266 on both fields and cast pointer to __syscall_ulong_t.
3267
3e5aef87
L
3268 * bits/types.h (__fsword_t): New type.
3269 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3270 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3271 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3272 (__FSWORD_T_TYPE): Likewise.
3273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3274 (__FSWORD_T_TYPE): Likewise.
3275 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3276 (__FSWORD_T_TYPE): Likewise.
3277 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3278 (__FSWORD_T_TYPE): Likewise.
3279 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3280 __SWORD_TYPE with __fsword_t.
3281 (statfs64): Likewise.
3282
1ba7c3dc
DM
32832012-05-17 David S. Miller <davem@davemloft.net>
3284
3285 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3286
59910343
AJ
32872012-05-17 Andreas Jaeger <aj@suse.de>
3288
3289 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3290 warning.
3291
2e4c1e9e
L
32922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3293
3294 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3295
de7f5ce7
AJ
32962012-05-17 Andreas Jaeger <aj@suse.de>
3297
3298 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3299 when it is used.
3300
286abc3d
CM
33012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3302
3303 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3304
477cc68e
L
33052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3306
3307 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3308 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3309
1a0994f5
CD
33102012-05-17 Andreas Jaeger <aj@suse.de>
3311 Carlos O'Donell <carlos_odonell@mentor.com>
3312
3313 [BZ #14059]
3314 * sysdeps/x86_64/multiarch/init-arch.h
3315 (bit_YMM_Usable): Rename to...
3316 (bit_AVX_Usable): ... this.
3317 (bit_FMA4_Usable): New macro.
3318 (bit_XMM_state): New macro.
3319 (bit_YMM_state): New macro.
3320 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3321 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3322 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3323 (CPUID_OSXSAVE): New macro.
3324 (CPUID_AVX): New macro.
3325 (CPUID_FMA4): New macro.
3326 (index_YMM_Usable): Rename to...
3327 (index_AVX_Usable): ... this.
3328 (HAS_AVX): Use HAS_ARCH_FEATURE.
3329 (HAS_FMA4): Likewise.
3330 (HAS_YMM_USABLE): Remove.
3331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3332 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3333 are present.
3334 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3335 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3336 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3337 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3338 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3339
0af797de
CM
33402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3341
3342 * math/libm-test.c: Support platforms without multiple rounding modes.
3343 * math/bug-nextafter.c: Support platforms without FP exceptions.
3344 * math/bug-nexttoward.c: Likewise.
3345 * math/test-fenv.c: Likewise.
3346 * math/test-misc.c: Likewise.
3347 * stdlib/bug-getcontext.c: Likewise.
3348
e39745ff
AJ
33492012-05-17 Andreas Jaeger <aj@suse.de>
3350
3351 * manual/examples/search.c (critter_cmp): Change signature to
3352 avoid warnings.
3353 * manual/string.texi (Collation Functions): Likewise.
3354
48970aba
L
33552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 * bits/types.h: Fold copyright years.
3358 * bits/typesizes.h: Likewise.
3359 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3362 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3363 * time/time.h: Likewise.
3364
bedee953
PP
33652012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3366
3367 [BZ #208]
3368 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3369 in instead of returning them. Return void.
3370 (__libc_mallinfo): Accumulate over all arenas.
3371 (__malloc_stats): Adjust for change in int_mallinfo interface.
3372
61653dfb
RM
33732012-05-16 Roland McGrath <roland@hack.frob.com>
3374
30b99d79
RM
3375 [BZ #10375]
3376 * configure.in (NM): Add AC_CHECK_TOOL for it.
3377 (libc_extra_cflags): New substituted variable.
3378 Check for -fstack-protector being used implicitly.
3379 * configure: Regenerated.
3380 * config.make.in (config-extra-cflags): New variable,
3381 gets @libc_extra_cflags@.
3382 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3383
61653dfb
RM
3384 [BZ #10375]
3385 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3386 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3387 * configure: Regenerated.
3388 * config.make.in (CPPUNDEFS): New substituted variable.
3389 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3390 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3391 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3392
661768bb
L
33932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3394
3395 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3396 (mq_attr): Use __syscall_slong_t.
3397
d4261567
L
33982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3399
3400 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3401 Check __x86_64__ instead of __WORDSIZE.
3402 (_STAT_VER_LINUX): Likewise.
3403 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3404 __syscall_ulong_t and __syscall_slong_t.
3405 (stat64): Likewise.
3406
cf3ff365
L
34072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3408
3409 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3410
76cf3e4d
L
34112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3412
3413 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3414
a637753a
L
34152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3416
3417 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3418 __syscall_ulong_t.
3419
d5e05119
L
3420 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3421 include <bits/wordsize.h>. Check __x86_64__ instead of
3422 __WORDSIZE.
3423 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3424 defined.
3425 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3426
f62ee380
L
3427 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3428 include <bits/wordsize.h>. Check __x86_64__ instead of
3429 __WORDSIZE.
3430 (user_regs_struct): Use "__extension__ unsigned long long"
3431 instead of "unsigned long" if __x86_64__ is defined.
3432 (user): Likewise. Pad after pointer field if __ILP32__ is
3433 defined.
3434
4e124ced
JM
34352012-05-16 Joseph Myers <joseph@codesourcery.com>
3436
6a3951a0
JM
3437 * configure.in (makeinfo): Require version 4.5 or later. Allow
3438 versions 5 to 9.
3439 * configure: Regenerated.
3440 * manual/install.texi (texinfo): Increase version requirement to
3441 4.5 or later.
3442 * INSTALL: Regenerated.
3443
4e124ced
JM
3444 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3445
953ca31a
L
34462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3447
3448 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3449
617aca05
L
3450 * sysdeps/x86_64/x32/ffs.c: New file.
3451
5762f7ae
L
3452 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3453 __syscall_ulong_t.
3454 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3455 defined. Use __syscall_ulong_t.
3456 (shminfo): Use __syscall_ulong_t.
3457 (shm_info): Likewise.
3458
a26b6856
L
3459 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3460 __syscall_ulong_t.
3461
cb2b9ef7
L
3462 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3463 <bits/wordsize.h>.
3464 (msgqnum_t): Use __syscall_ulong_t.
3465 (msglen_t): Likewise.
3466 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3467 __syscall_ulong_t.
3468
34683bb0
L
3469 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3470 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3471
84a68786
L
3472 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3473
48baa5f1
L
3474 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3475 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3476
180be88b
L
3477 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3478 __syscall_slong_t.
3479
5e90c8ad
L
3480 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3481 include <bits/wordsize.h>. Check __x86_64__ instead of
3482 __WORDSIZE.
3483
23dfb58b
L
3484 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3485 "unsigned long long int" if __x86_64__ is defined.
3486 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3487
ce5d54b0
L
3488 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3489 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3490 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3491
13dc9eac
L
3492 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3493 <stdint.h>.
3494 (GET_PC): Cast to uintptr_t first.
3495 (GET_FRAME): Likewise.
3496 (GET_STACK): Likewise.
3497
a7895d15
L
3498 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3499 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3500 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3501 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3502 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3503 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3504 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3505 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3506 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3507 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3508 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3509 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3510 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3511 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3512 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3513 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3514 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3516 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3517 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3518 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3519 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3520 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3521 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3522 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3523 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3524 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3525 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3526 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3527
656416c9
AS
35282012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3529
5bd66283
AS
3530 * Makerules (+depfiles): Also collect depfiles from .oS in
3531 $(extra-objs).
3532 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3533 .oS, $(libnldbl-routines)).
3534
656416c9
AS
3535 * Makerules (native-compile-mkdep-flags): Define.
3536 * sunrpc/Makefile (extra-objs): Add $(addprefix
3537 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3538 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3539 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3540 calling $(make-target-directory).
3541
a46f2169
L
35422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3543
3544 * bits/types.h (__snseconds_t): Removed.
3545 * time/time.h (struct timespec): Replace __snseconds_t with
3546 __syscall_slong_t.
3547 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3548 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3549 Likewise.
3550 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3551 (__SNSECONDS_T_TYPE): Likewise.
3552 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3553 (__SNSECONDS_T_TYPE): Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3555 (__SNSECONDS_T_TYPE): Likewise.
3556
6af6528b
L
35572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3558
3559 * sysdeps/mach/hurd/bits/typesizes.h
3560 (__SYSCALL_SLONG_TYPE): New macro.
3561 (__SYSCALL_ULONG_TYPE): Likewise.
3562
de986b56
L
35632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3564
3565 * bits/types.h (__syscall_slong_t): New type.
3566 (__syscall_ulong_t): Likewise.
3567
3568 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3569 (__SYSCALL_ULONG_TYPE): Likewise.
3570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3571 (__SYSCALL_SLONG_TYPE): Likewise.
3572 (__SYSCALL_ULONG_TYPE): Likewise.
3573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3574 (__SYSCALL_SLONG_TYPE): Likewise.
3575 (__SYSCALL_ULONG_TYPE): Likewise.
3576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3577 (__SYSCALL_SLONG_TYPE): Likewise.
3578 (__SYSCALL_ULONG_TYPE): Likewise.
3579
85736dc7
L
35802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3581
3582 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3583 Add sigaltstack-offsets.sym.
3584 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3585 <sigaltstack-offsets.h>.
3586 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3587 longjmp_msg pointer.
3588 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3589 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3590 signal stack.
3591 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3592
cc03b296
JM
35932012-05-15 Joseph Myers <joseph@codesourcery.com>
3594
a9538892
JM
3595 * elf/stackguard-macros.h: Remove file.
3596 * sysdeps/generic/stackguard-macros.h: New file.
3597 * sysdeps/i386/stackguard-macros.h: Likewise.
3598 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3599 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3600 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3601 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3602 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3603 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3604 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3605 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3606 <elf/stackguard-macros.h>.
3607
cc03b296
JM
3608 [BZ #14109]
3609 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3610 __aligned__ in attribute.
3611 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3612 (gregset_t): Likewise.
3613
93171016
L
36142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3615
3616 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3617 * sysdeps/x86_64/64/Implies-after: Here. New file.
3618 * sysdeps/x86_64/x32/Implies-after: New file.
3619
d86813a0
L
36202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3623 and access return value for _dl_profile_fixup. Use R10_LP to
3624 load frame size.
3625
2953ec75
L
36262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3627
3628 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3629
3b550e9e
L
36302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3631
3632 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3633 * sysdeps/x86_64/x32/sysdep.h: New file.
3634
eda41706
L
36352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3636
3637 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3638 * sysdeps/x86_64/setjmp.S: Likewise.
3639
9ea01d93
AZ
36402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3641
3642 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3643 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3644 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3645 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3646 remove unused global constant.
3647
02a91938
CM
36482012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3649
3650 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3651 include of <not-cancel.h>.
3652
6540185f
RM
36532012-05-15 Roland McGrath <roland@hack.frob.com>
3654
3655 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3656
509072a0
AJ
36572012-05-15 Jeff Law <law@redhat.com>
3658 Andreas Jaeger <aj@suse.de>
3659
3660 [BZ #13594]
3661 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3662 out from...
3663 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3664 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3665 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3666 code changing __hst_map_handle.map.
3667
ba75122d
RM
36682012-05-15 Roland McGrath <roland@hack.frob.com>
3669
3670 * configure.in (sysnames): Look for Implies-before and Implies-after
3671 files.
3672 * configure: Regenerated.
3673
890d8bd8
L
36742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3675
3676 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3677 8-byte data alignment with LP_SIZE alignment.
3678
f6ee6623
L
36792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3680
3681 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3682 into R10_LP.
3683
ea2626f6
L
36842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3685
3686 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3687
085f715e
L
36882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3689
3690 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3691 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3692 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3693 Likewise.
3694 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3695
be8498fc
L
36962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3697
3698 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3699 (stackinfo_sub_sp): Likewise.
3700
70bc83b9
L
37012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3702
3703 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3704 RAX_LP.
3705
9bc0b730
L
37062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3707
3708 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3709 into R*_LP.
3710
6d2850e7
L
37112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3712
3713 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3714 sizes into R*_LP.
3715
3cb84561
L
37162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3717
3718 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3719
54e2ed81
L
37202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3721
3722 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3723 into R11_LP and load __x86_64_shared_cache_size_half into
3724 R8_LP.
3725
8a17f349
L
37262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3727
3728 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3729 R8_LP.
3730
777b1eea
AZ
37312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3732
3733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3734 logb for POWER7.
3735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3736 logbf for POWER7.
3737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3738 logbl for POWER7.
3739 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3740 powerpc32/power7/fpu/s_logb.c via #include.
3741 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3742 powerpc32/power7/fpu/s_logbf.c via #include.
3743 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3744 powerpc32/power7/fpu/s_logbl.c via #include.
3745
d20d4ac2
JM
37462012-05-15 Joseph Myers <joseph@codesourcery.com>
3747
3748 * README.libm: Remove file.
3749
6cdef1ab
L
37502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3751
3752 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3753 count for x32. Use R*_LP and omit operand-size suffix.
3754
0b254d8f
L
37552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3756
3757 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3758 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3759 * sysdeps/x86_64/x32/shlib-versions: New file.
3760
ceb809dc
RM
37612012-05-14 Roland McGrath <roland@hack.frob.com>
3762
3763 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3764 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3765 Use _dl_fatal_printf instead.
3766
37f1abd4
JM
37672012-05-14 Joseph Myers <joseph@codesourcery.com>
3768
3769 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3770 set if not set by the user. Do not allow for being unset.
3771 * sysdeps/unix/sysv/linux/configure: Regenerated.
3772
11de3a33
L
37732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3774
3775 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3776 the `q' suffix from lea and replace .quad with ASM_ADDR.
3777
e02f153a
L
37782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3779
3780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3781 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3782 instead of $17.
3783 (PTR_DEMANGLE): Likewise.
3784
520ae0fd
L
37852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3786
3787 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3788 (LP_OP): Likewise.
3789 (ASM_ADDR): Likewise.
3790 (RAX_LP): Likewise.
3791 (RBP_LP): Likewise.
3792 (RBX_LP): Likewise.
3793 (RCX_LP): Likewise.
3794 (RDI_LP): Likewise.
3795 (RSI_LP): Likewise.
3796 (RSP_LP): Likewise.
3797 (R8_LP): Likewise.
3798 (R9_LP): Likewise.
3799 (R10_LP): Likewise.
3800 (R10_LP): Likewise.
3801 (R11_LP): Likewise.
3802 (R12_LP): Likewise.
3803 (R13_LP): Likewise.
3804 (R14_LP): Likewise.
3805 (R15_LP): Likewise.
3806
b985be81
L
38072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3808
3809 * sysdeps/x86_64/x32/dl-machine.h: New file.
3810
6a4888ff
AJ
38112012-05-14 Andreas Jaeger <aj@suse.de>
3812
3813 * manual/Makefile (subdir): Remove export of subdir.
3814 (all): Remove target.
3815 (.PHONY): Remove all from list.
3816 (mkinstalldirs): Remove.
3817 (.PHONY): Remove installdirs from list.
3818 ($(inst_infodir)/libc.info): Use make-target-directory.
3819 (installdirs): Remove.
3820 (subdir_%): Remove.
3821 (glibc-targets): Remove.
3822 (lib): Remove.
3823 (stubs): Remove.
3824 ($(objpfx)stubs ../po/manual.pot): Remove.
3825 ($(objpfx)stamp%): Remove.
3826 (make-target-directory): Remove.
3827 (subdir_install): Remove.
3828 (routines): Remove.
3829 (aux): Remove.
3830 (sources): Remove.
3831 (objects): Remove.
3832 (headers): Remove.
3833
3834 [BZ #13750]
3835 * manual/.gitignore: Remove, it's not needed anymore.
3836 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3837 all files in it.
3838 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3839 directory.
3840 (texis): Renamed to $(objpfx)texis.
3841 (texis-path): New, contains path to generated files.
3842 (chapters.%): Use texis-path for complete path, add extra argument
3843 libc-texinfo.sh.
3844 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3845 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3846 (summary,texi, stamp-summary): Use complete path of
3847 files. Generate files in build dir.
3848 (dir-add.texi): Build in build dir.
3849 (libm-err.texi,stamp-libm-err): Likewise.
3850 (version.texi, stamp-version): Likewise.
3851 (.%c.texi): Likewise.
3852 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3853 (mostlyclean): Remove target.
3854 (realclean): Remove target.
3855 (generated): Add new variable with contents from mostlyclean and
3856 realclean, remove entries duplicated in common-mostlyclean, add
3857 stamp-libm-err and stamp-version.
3858 (generated-dirs): Add libc directory.
3859 ($(inst_infodir)/libc.info): Install files from build dir.
3860
3861 * manual/install.texi (Configuring and compiling): Adjust since
3862 the info files are not part of the tar ball anymore.
3863
7ac77294
AJ
38642012-05-14 Andreas Jaeger <aj@suse.de>
3865
3866 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3867 variable.
3868
ffb7875d
JM
38692012-05-14 Joseph Myers <joseph@codesourcery.com>
3870
3871 [BZ #13717]
3872 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3873 to 2.2.0 where earlier.
3874 * sysdeps/unix/sysv/linux/configure: Regenerated.
3875 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3876 Remove conditional code.
3877 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3878 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3879 Remove conditional code.
3880 [!__NR_lchown]: Likewise.
3881 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3882 [__NR_lchown]: Likewise.
3883 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3884 comment referencing __ASSUME_LCHOWN_SYSCALL.
3885 * sysdeps/unix/sysv/linux/i386/sigaction.c
3886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3888 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3889 Remove conditional code.
3890 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3891 (__protocol_available): Remove #if 0 code.
3892 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3893 conditional code.
3894 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3895 * sysdeps/unix/sysv/linux/kernel-features.h
3896 (__ASSUME_GETCWD_SYSCALL): Don't define.
3897 (__ASSUME_REALTIME_SIGNALS): Likewise.
3898 (__ASSUME_PREAD_SYSCALL): Likewise.
3899 (__ASSUME_PWRITE_SYSCALL): Likewise.
3900 (__ASSUME_POLL_SYSCALL): Likewise.
3901 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3902 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3903 non-SPARC.
3904 (__ASSUME_SIOCGIFNAME): Don't define.
3905 (__ASSUME_MSG_NOSIGNAL): Likewise.
3906 (__ASSUME_SENDFILE): Define unconditionally.
3907 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3908 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3909 conditional code.
3910 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3911 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3912 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3913 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3914 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3915 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3916 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3918 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3921 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3924 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3927 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3930 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3933 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3936 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3937 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3941 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3942 Remove conditional code.
3943 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3944 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3945 Remove conditional code.
3946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3947 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3948 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3949 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3950 Remove conditional code.
3951 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3952 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3953 Remove conditional code.
3954 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3955 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3956 Remove conditional code.
3957 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3958 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3959 Remove conditional code.
3960 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3961 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3962 Remove conditional code.
3963 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3964 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3965 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3966 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3967 * sysdeps/unix/sysv/linux/sigaction.c
3968 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3969 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3970 * sysdeps/unix/sysv/linux/sigpending.c
3971 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3972 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3973 * sysdeps/unix/sysv/linux/sigprocmask.c
3974 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3975 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3976 * sysdeps/unix/sysv/linux/sigsuspend.c
3977 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3978 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3979 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3980 (__libc_missing_rt_sigs): Remove.
3981 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3982 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3983 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3984 Remove conditional code.
3985 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3986 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3987 return 1.
3988 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3989 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3990 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3991 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3992
1bfb7291
AJ
39932012-05-14 Andreas Jaeger <aj@suse.de>
3994
caae5a81
AJ
3995 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3996 it's not used in glibc.
3997 (__coshm1): Likewise.
3998 (__acosh1p): Likewise.
3999 (__sgn): Likewise.
4000
1bfb7291
AJ
4001 * manual/string.texi (Copying and Concatenation): Add missing
4002 variable in concat example.
4003 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4004
c044d724
L
40052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4006
144c5467 4007 [BZ #14103]
c044d724
L
4008 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4009 __builtin_clzl with __builtin_clzll.
4010
2523c62b
L
40112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4012
4013 [BZ #14104]
4014 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4015 libc_freeres_ptr.
4016
d7bb4c42
LD
40172012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4018
4019 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4020 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4021 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4022 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4023
9dc4e1fb
MF
40242012-05-14 Mike Frysinger <vapier@gentoo.org>
4025
4026 * NEWS: Update ia64 info.
4027
c7df0112
AS
40282012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4029
4030 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4031 used as bcopy.
4032
dc70356c
TS
40332012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4034
4035 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4036 * sysdeps/unix/syscalls.list (dup3): Likewise.
4037 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4038 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4039
9fb1a21f
L
40402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4041
4042 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4043 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4044
4822a2a5
L
40452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4046
4047 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4048 thread pointer.
4049 (TLS_IE): Use mov/add instead of movq/addq to load thread
4050 pointer.
4051 (TLS_GD_PREFIX): New.
4052 (TLS_GD): Use it.
4053
842b81d6
DM
40542012-05-11 David S. Miller <davem@davemloft.net>
4055
4056 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4057 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4058 (_FPU_SETCW): Likewise.
4059
1cf463cd
L
40602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4061
4062 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4063 is 32-byte aligned.
4064
60cc4a18
AS
40652012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4066
4067 [BZ #11837]
4068 * iconvdata/gb18030.c: Update tables.
4069 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4070 characters specially.
4071 (BODY for TO_LOOP): Add encoding of missing ranges.
4072
febb44a4
TS
40732012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4074
4075 [BZ #13673]
4076 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4077 * sysdeps/mach/hurd/dup3.c: Likewise.
4078 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4079 * sysdeps/powerpc/memmove.c:: Likewise.
4080
0a10fb9e
L
40812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4082
4083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4084 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4085
df8a552f
L
40862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4087
4088 * elf/elf.h (R_X86_64_RELATIVE64): New.
4089 (R_X86_64_NUM): Updated.
4090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4091 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4092 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4093 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4094 tst-quad1pie tst-quad2pie
4095 (modules-names): Add tst-quadmod1 tst-quadmod2.
4096 ($(objpfx)tst-quad1): New dependency.
4097 ($(objpfx)tst-quad2): Likewise.
4098 ($(objpfx)tst-quad1pie): Likewise.
4099 ($(objpfx)tst-quad2pie): Likewise.
4100 * sysdeps/x86_64/tst-quad1.c: New file.
4101 * sysdeps/x86_64/tst-quad1pie.c: New file.
4102 * sysdeps/x86_64/tst-quad2.c: Likewise.
4103 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4104 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4105 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4106 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4107 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4108
f34d6f84
ST
41092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4110
f42d41d1
ST
4111 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4112 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4113 * streams/stropts.h (t_scalar_t): Define type.
4114
3c3571fc
ST
4115 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4116 (_PATH_PRESERVE): Set to "/var/lib".
4117 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4118
61f06bd3
ST
4119 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4120 instead of int.
4121
918d4d71
ST
4122 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4123 if __dir_mkfile succeeded.
4124
f34d6f84
ST
4125 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4126 checking for _hurd_dtablesize. Unlock it right after having
4127 finished _hurd_dtable allocation.
4128
10589b4a
TS
41292012-05-10 Thomas Schwinge <thomas@schwinge.name>
4130
674cdbc7
TS
4131 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4132 * sysdeps/mach/hurd/configure: Regenerated.
4133 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4134 special-casing to...
4135 * sysdeps/gnu/configure.in: ... this new file.
4136 * sysdeps/unix/sysv/linux/configure: Regenerated.
4137 * sysdeps/gnu/configure: New generated file.
4138
8e41b99f
TS
4139 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4140 for Linux: use nsec instead of usec, as well as:
4141 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4142 members of type struct timespec.
4143 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4144 New macros.
4145 (struct stat64): Likewise.
4146 (_STATBUF_ST_NSEC): New macro.
4147 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4148
10589b4a
TS
4149 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4150 __strtoul_internal rather than strtoul.
4151
63643c85
PT
41522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4153
4154 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4155 and reject them.
4156
3faebe6a
ST
41572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4158
4159 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4160 which preserves existing values.
4161 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4162
c6474b07
PT
41632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4164
4165 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4166 TIMEOUT values. Return EINVAL for NFDS values either negative or
4167 greater than FD_SETSIZE.
4168
1043890b
ST
41692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4170
4171 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4172 allocated, call __vm_protect to finish enabling the existing space, and
4173 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4174 allocate the remainder.
4175
37ed8b9b
PT
41762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4177
4178 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4179 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4180
db653660
ST
41812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4182
37ed8b9b
PT
4183 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4184 sysdeps/mach/hurd/readlink.c.
b29d4053 4185
db653660
ST
4186 * posix/tst-sysconf.c (posix_options): Only use
4187 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4188 _POSIX_SYNCHRONIZED_IO when they are defined
4189 * sysdeps/mach/hurd/bits/posix_opt.h:
4190 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4191 (_XOPEN_REALTIME): Undefine macro.
4192 (_XOPEN_REALTIME_THREADS): Undefine macro.
4193 (_XOPEN_SHM): Undefine macro.
4194 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4195 macro to -1.
4196 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4197 macro to -1.
4198 (_POSIX_ASYNC_IO): Undefine macro.
4199 (_POSIX_PRIORITIZED_IO): Undefine macro.
4200 (_POSIX_SPIN_LOCKS): Define macro to -1.
4201
ee16e894
ST
4202 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4203 SA_NODEFER, SA_RESETHAND.
4204 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4205 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4206 F_DUPFD_CLOEXEC.
4207
6103ae3b
TS
42082012-05-10 Thomas Schwinge <thomas@schwinge.name>
4209
4210 * elf/Makefile (pldd-modules): Define unconditionally.
4211
80b4e5f3
TS
42122012-05-10 Thomas Schwinge <thomas@schwinge.name>
4213
4214 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4215
edadcbd6
ST
42162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4217
4218 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4219 Return ENOENT when name is empty.
4220 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4221
80694780
TS
42222012-05-10 Thomas Schwinge <thomas@schwinge.name>
4223
1792c087
TS
4224 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4225
80694780
TS
4226 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4227
6b645f0d
ST
42282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4229
80694780
TS
4230 Fix mlock in all cases except non-readable pages.
4231 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4232 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4233
6b645f0d
ST
4234 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4235 (__mkdir): When path is `/', just fail with EEXIST.
4236 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4237
e468f8a3
TS
42382012-05-10 Thomas Schwinge <thomas@schwinge.name>
4239
4240 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4241 <sys/uio.h> (for writev).
4242 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4243 and <sys/param.h> (for MIN).
4244
a4186cff
PT
42452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4246
4247 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4248 REQUESTED_TIME. Properly set the remaining time and return EINTR
4249 if interrupted.
4250
510bbf14
TS
42512012-05-10 Thomas Schwinge <thomas@schwinge.name>
4252
4253 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4254 Depend on against $(link-rpcuserlibs).
4255
5d5722e8
ST
42562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4257
a4186cff
PT
4258 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4259 (__libc_stack_end): Do not use attribute_relro.
4260 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4261 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4262 to libthread-provided value.
a4186cff
PT
4263 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4264 attribute_relro.
5d5722e8 4265
37233df9
TS
42662012-05-10 Thomas Schwinge <thomas@schwinge.name>
4267
be971a2b
TS
4268 [BZ #3748]
4269 * bits/libc-lock.h (__libc_once_get): New macro.
4270 * sysdeps/mach/bits/libc-lock.h: Likewise.
4271 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4272 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4273 instead of using implementation details.
4274
37233df9
TS
4275 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4276 * libio/freopen.c: Likewise.
4277 * libio/freopen64.c: Likewise.
4278 * misc/syslog.c: Likewise.
4279 * nscd/connections.c: Likewise.
4280 * nscd/netgroupcache.c: Likewise.
4281 * sysdeps/posix/getcwd.c: Likewise.
4282
38de94a5
RM
42832012-05-10 Roland McGrath <roland@hack.frob.com>
4284
4285 * math/w_ilogbf.c: Add #include <limits.h>.
4286
67530489
ST
42872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4288
a4186cff 4289 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4290 path instead of returning without unlocking.
4291
67530489
ST
4292 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4293 immediate-write ioctls.
4294 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4295
5aa3a74a
TS
42962012-05-10 Thomas Schwinge <thomas@schwinge.name>
4297
18bad2ae
TS
4298 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4299 __builtin_frame_address instead of making assumptions about the
4300 location of the return address relative to DATA. Force early load of
4301 the return address.
4302 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4303 __builtin_frame_address.
4304
5aa3a74a
TS
4305 dup3 for GNU Hurd.
4306 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4307 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4308 implement dup3 and do some further code clean-ups.
4309 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4310 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4311
ecd0de9a
ST
43122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4313
cd9fa985
ST
4314 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4315
a4186cff
PT
4316 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4317 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4318 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4319 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4320 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4321 d->port.lock.
802ca5a5 4322
a4186cff
PT
4323 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4324 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4325 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4326
bcf55240
TS
43272012-05-10 Thomas Schwinge <thomas@schwinge.name>
4328
6960eb42
TS
4329 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4330 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4331 definitions.
4332
eb43375f
TS
4333 accept4 for GNU Hurd.
4334 * include/sys/socket.h (__libc_accept4): New prototype.
4335 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4336 to implement __libc_accept4.
4337 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4338 __libc_accept4.
4339 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4340
bcf55240
TS
4341 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4342 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4343 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4344 signal-defines.sym.
4345
6178c55b
ST
43462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4347
a4186cff 4348 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4349
6f080c2f
TS
43502012-05-10 Thomas Schwinge <thomas@schwinge.name>
4351
4352 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4353 assertion on O_CLOEXEC flag.
4354 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4355 * hurd/intern-fd.c: Likewise.
4356 * hurd/port2fd.c: Likewise.
4357
bcfe3a54
ST
43582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4359
4360 [BZ #3906]
4361 * bits/in.h (IPV6_PKTINFO): Define new macro.
4362 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4363
89c9aa49
AZ
43642012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4365
4366 [BZ #13954]
4367 [BZ #13955]
4368 [BZ #13956]
4369 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4370 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4371 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4372 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4374 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4375 * math/libm-test.inc (logb_test) : Additional logb tests.
4376
021db4be
AJ
43772012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4378 Andreas Jaeger <aj@suse.de>
4379
4380 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4381 * configure: Regenerated.
4382 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4383 * config.make.in (link-obsolete-rpc): New substituted variable.
4384 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4385 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4386 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4387 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4388 so that libc.a contains the symbols.
4389 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4390 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4391 * sunrpc/auth_none.c: Likewise.
4392 * sunrpc/auth_unix.c: Likewise.
4393 * sunrpc/authdes_prot.c: Likewise.
4394 * sunrpc/authuxprot.c: Likewise.
4395 * sunrpc/clnt_gen.c: Likewise.
4396 * sunrpc/clnt_perr.c: Likewise.
4397 * sunrpc/clnt_raw.c: Likewise.
4398 * sunrpc/clnt_simp.c: Likewise.
4399 * sunrpc/clnt_tcp.c: Likewise.
4400 * sunrpc/clnt_udp.c: Likewise.
4401 * sunrpc/clnt_unix.c: Likewise.
4402 * sunrpc/des_crypt.c: Likewise.
4403 * sunrpc/des_soft.c: Likewise.
4404 * sunrpc/get_myaddr.c: Likewise.
4405 * sunrpc/key_call.c: Likewise.
4406 * sunrpc/key_prot.c: Likewise.
4407 * sunrpc/netname.c: Likewise.
4408 * sunrpc/pm_getmaps.c: Likewise.
4409 * sunrpc/pm_getport.c: Likewise.
4410 * sunrpc/pmap_clnt.c: Likewise.
4411 * sunrpc/pmap_prot.c: Likewise.
4412 * sunrpc/pmap_prot2.c: Likewise.
4413 * sunrpc/pmap_rmt.c: Likewise.
4414 * sunrpc/publickey.c: Likewise.
4415 * sunrpc/rpc_cmsg.c: Likewise.
4416 * sunrpc/rpc_common.c: Likewise.
4417 * sunrpc/rpc_dtable.c: Likewise.
4418 * sunrpc/rpc_prot.c: Likewise.
4419 * sunrpc/rpc_thread.c: Likewise.
4420 * sunrpc/rtime.c: Likewise.
4421 * sunrpc/svc.c: Likewise.
4422 * sunrpc/svc_auth.c: Likewise.
4423 * sunrpc/svc_raw.c: Likewise.
4424 * sunrpc/svc_run.c: Likewise.
4425 * sunrpc/svc_tcp.c: Likewise.
4426 * sunrpc/svc_udp.c: Likewise.
4427 * sunrpc/svc_unix.c: Likewise.
4428 * sunrpc/svcauth_des.c: Likewise.
4429 * sunrpc/xcrypt.c: Likewise.
4430 * sunrpc/xdr.c: Likewise.
4431 * sunrpc/xdr_array.c: Likewise.
4432 * sunrpc/xdr_float.c: Likewise.
4433 * sunrpc/xdr_intXX_t.c: Likewise.
4434 * sunrpc/xdr_mem.c: Likewise.
4435 * sunrpc/xdr_rec.c: Likewise.
4436 * sunrpc/xdr_ref.c: Likewise.
4437 * sunrpc/xdr_sizeof.c: Likewise.
4438 * sunrpc/xdr_stdio.c: Likewise.
4439
b5c086a2
RM
44402012-05-10 Roland McGrath <roland@hack.frob.com>
4441
4442 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4443 change. Update copyright years.
4444
6d74dd09
JM
44452012-05-10 Joseph Myers <joseph@codesourcery.com>
4446
4447 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4448
28e72501
MK
44492012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4450 Joseph Myers <joseph@codesourcery.com>
4451 Paul Pluzhnikov <ppluzhnikov@google.com>
4452
4453 [BZ #14012]
4454 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4455 requiring rpcgen.
4456 [cross-compiling] (extra-libs): Likewise.
4457 [cross-compiling] (extra-libs-others): Likewise.
4458 [cross-compiling] (librpcsvc-routines): Likewise.
4459 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4460 [cross-compiling] (omit-deps): Likewise.
4461 (sunrpc-CPPFLAGS): New variable.
4462 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4463 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4464 (cross-rpcgen-objs): New variable.
4465 (extra-objs): Append $(cross-rpcgen-objs).
4466 ($(cross-rpcgen-objs)): New rule.
4467 ($(objpfx)cross-rpcgen): Likewise.
4468 (rpcgen-cmd): Define to use $(built-program-file). Expand
4469 comment.
4470 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4471 ($(objpfx)x%.stmp): Likewise.
4472 * sunrpc/proto.h [IS_IN_build] (_): Define.
4473 [IS_IN_build] (_libc_intl_domainname): Likewise.
4474
c8c59454
L
44752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4476
4477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4478 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4479 and R_X86_64_TPOFF64.
4480
6f27cd16
JM
44812012-05-10 Joseph Myers <joseph@codesourcery.com>
4482
4483 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4484 sysdeps/unix/sysv/syscalls.list.
4485 (stime): Likewise.
4486 (utime): Likewise.
4487 * sysdeps/unix/sysv/syscalls.list: Remove file.
4488
02467e1c
PE
44892012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4490
4491 [BZ #3440]
4492 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4493 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4494 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4495 (__LC_IDENTIFICATION): Make these macros useful in #if
4496 expressions, as required by C99.
4497
da392631
AS
44982012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4499
4500 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4501 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4502 after this.
4503
8115f29b
L
45042012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4505
4506 * stdlib/longlong.h: Updated from GCC.
4507
bdd74070
AJ
45082012-05-09 Andreas Jaeger <aj@suse.de>
4509
edfe0dbe
AJ
4510 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4511 default is first entry.
4512 (run_mode): Set type.
4513 (main): Remove informal message about syslog.
4514 (options): Fix typo.
4515
bcfe3a54
ST
4516 [BZ #14053]
4517 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4518 to asm.
bcfe3a54
ST
4519 (lrint): Likewise.
4520 (llrintf): Likewise.
4521 (llrint): Likewise.
4522 (rint): Likewise.
4523 (rintf): Likewise.
4524 (nearbyint): Likewise.
4525 (nearbyintf): Likewise.
bdd74070 4526
91d8d69e
AJ
45272012-05-09 Andreas Jaeger <aj@suse.de>
4528 Pedro Alves <palves@redhat.com>
4529
4530 * nscd/nscd.c (run_mode): Use enum.
4531 (main): Cleanup coding style issue.
4532
bb90b80b
AJ
45332012-05-09 Alexandre Oliva <aoliva@redhat.com>
4534 Andreas Jaeger <aj@suse.de>
4535
bcfe3a54
ST
4536 * nscd/nscd.c (go_background): Replaced with...
4537 (run_mode): ... this.
bb90b80b 4538 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4539 (options): Add -F --foreground.
4540 (main): Implement it.
4541 (parse_opt): Parse it.
bb90b80b 4542
1a4b75a1
AJ
45432012-05-09 Andreas Jaeger <aj@suse.de>
4544
4545 [BZ #14083]
4546 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4547 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4548 -Wconversion warning.
4549 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4550 Likewise.
4551
b1cc2472
JM
45522012-05-09 Joseph Myers <joseph@codesourcery.com>
4553
4554 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4555 == 0.
4556 (LC_ALL): Use macro-int-constant.
4557 (LC_COLLATE): Likewise.
4558 (LC_CTYPE): Likewise.
4559 (LC_MESSAGES): Likewise.
4560 (LC_MONETARY): Likewise.
4561 (LC_NUMERIC): Likewise.
4562 (LC_TIME): Likewise.
4563 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4564 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4565 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4566 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4567 Specify type.
4568 [C99-based standards] (float_t): Expect type.
4569 [C99-based standards] (double_t): Expect type.
4570 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4571 type.
4572 [C99-based standards] (HUGE_VALL): Likewise.
4573 [C99-based standards] (INFINITY): Likewise.
4574 [C99-based standards] (NAN): Likewise.
4575 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4576 [C99-based standards] (FP_NAN): Likewise.
4577 [C99-based standards] (FP_NORMAL): Likewise.
4578 [C99-based standards] (FP_SUBNORMAL): Likewise.
4579 [C99-based standards] (FP_ZERO): Likewise.
4580 [C99-based standards] (FP_FAST_FMA): Use
4581 optional-macro-int-constant. Specify type. Require == 1.
4582 [C99-based standards] (FP_FAST_FMAF): Likewise.
4583 [C99-based standards] (FP_FAST_FMAL): Likewise.
4584 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4585 [C99-based standards] (FP_ILOGBNAN): Likewise.
4586 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4587 Specify type.
4588 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4589 [C99-based standards] (math_errhandling): Specify type.
4590 [ISO99 || ISO11] (signgam): Do not allow.
4591 [non-C99-based standards] (copysignf): Do not allow.
4592 [non-C99-based standards] (exp2f): Likewise.
4593 [non-C99-based standards] (log2f): Likewise.
4594 [non-C99-based standards] (modff): Allow.
4595 [non-C99-based standards] (erff): Do not allow.
4596 [non-C99-based standards] (erfcf): Likewise.
4597 [non-C99-based standards] (gammaf): Likewise.
4598 [non-C99-based standards] (hypotf): Likewise.
4599 [non-C99-based standards] (j0f): Likewise.
4600 [non-C99-based standards] (j1f): Likewise.
4601 [non-C99-based standards] (jnf): Likewise.
4602 [non-C99-based standards] (lgammaf): Likewise.
4603 [non-C99-based standards] (tgammaf): Likewise.
4604 [non-C99-based standards] (y0f): Likewise.
4605 [non-C99-based standards] (y1f): Likewise.
4606 [non-C99-based standards] (ynf): Likewise.
4607 [non-C99-based standards] (isnanf): Likewise.
4608 [non-C99-based standards] (acoshf): Likewise.
4609 [non-C99-based standards] (asinhf): Likewise.
4610 [non-C99-based standards] (atanhf): Likewise.
4611 [non-C99-based standards] (cbrtf): Likewise.
4612 [non-C99-based standards] (expm1f): Likewise.
4613 [non-C99-based standards] (ilogbf): Likewise.
4614 [non-C99-based standards] (log1pf): Likewise.
4615 [non-C99-based standards] (logbf): Likewise.
4616 [non-C99-based standards] (nextafterf): Likewise.
4617 [non-C99-based standards] (remainderf): Likewise.
4618 [non-C99-based standards] (rintf): Likewise.
4619 [non-C99-based standards] (scalbf): Likewise.
4620 [non-C99-based standards] (copysignl): Likewise.
4621 [non-C99-based standards] (exp2l): Likewise.
4622 [non-C99-based standards] (log2l): Likewise.
4623 [non-C99-based standards] (modfl): Allow.
4624 [non-C99-based standards] (erfl): Do not allow.
4625 [non-C99-based standards] (erfcl): Likewise.
4626 [non-C99-based standards] (gammal): Likewise.
4627 [non-C99-based standards] (hypotl): Likewise.
4628 [non-C99-based standards] (j0l): Likewise.
4629 [non-C99-based standards] (j1l): Likewise.
4630 [non-C99-based standards] (jnl): Likewise.
4631 [non-C99-based standards] (lgammal): Likewise.
4632 [non-C99-based standards] (tgammal): Likewise.
4633 [non-C99-based standards] (y0l): Likewise.
4634 [non-C99-based standards] (y1l): Likewise.
4635 [non-C99-based standards] (ynl): Likewise.
4636 [non-C99-based standards] (isnanl): Likewise.
4637 [non-C99-based standards] (acoshl): Likewise.
4638 [non-C99-based standards] (asinhl): Likewise.
4639 [non-C99-based standards] (atanhl): Likewise.
4640 [non-C99-based standards] (cbrtl): Likewise.
4641 [non-C99-based standards] (expm1l): Likewise.
4642 [non-C99-based standards] (ilogbl): Likewise.
4643 [non-C99-based standards] (log1pl): Likewise.
4644 [non-C99-based standards] (logbl): Likewise.
4645 [non-C99-based standards] (nextafterl): Likewise.
4646 [non-C99-based standards] (remainderl): Likewise.
4647 [non-C99-based standards] (rintl): Likewise.
4648 [non-C99-based standards] (scalbl): Likewise.
4649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4650 [non-C99-based standards] (FP_*): Do not allow.
4651 [C99-based standards] (FP_*): Change to
4652 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4653 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4654 allow.
4655 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4656 (SIG_ERR): Likewise.
4657 [X/Open-based standards] (SIG_HOLD): Likewise.
4658 (SIG_IGN): Likewise.
4659 (SIGABRT): Use macro-int-constant. Specify type. Require
4660 positive value.
4661 (SIGFPE): Likewise.
4662 (SIGILL): Likewise.
4663 (SIGINT): Likewise.
4664 (SIGSEGV): Likewise.
4665 (SIGTER): Likewise.
4666 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4667 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4668 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4669 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4670 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4671 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4672 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4673 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4674 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4675 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4676 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4677 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4678 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4679 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4680 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4681 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4682 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4683 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4684 [X/Open-based standards] (SIGTRAP): Likewise.
4685 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4686 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4687 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4688 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4689 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4690 allow.
4691
b9f1922d
IW
46922012-05-08 Ian Wienand <ianw@vmware.com>
4693
4694 [BZ #14080]
4695 * time/tzset.c (__tzset_parse_tz): Update default rules for
4696 daylight time changes in the Energy Policy Act of 2005.
4697
1db86e88
AJ
46982012-05-09 Andreas Jaeger <aj@suse.de>
4699
4700 [BZ #13983]
4701 * elf/ldconfig.c (parse_conf): Change string to make clear that
4702 ldconfig only issued a warning if ld.so.conf does not exist.
4703
dee4a4e3
DM
47042012-05-08 David S. Miller <davem@davemloft.net>
4705
ee0db190
DM
4706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4707 movxtod instead of popping the value on the stack.
4708
dee4a4e3
DM
4709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4710
6a43ec98
CD
47112012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4712
4713 * config.h.in: Add HAVE_ARM_PCS_VFP.
4714
05c2c961
RMG
47152012-05-08 Roland Mc Grath <roland@hack.frob.com>
4716
bcfe3a54
ST
4717 [BZ #13979]
4718 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4719 checking but the checks are disabled for any reason.
05c2c961 4720
4b30f61a
L
47212012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4722
4723 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4724 and ELF64_R_TYPE with ELFW(R_TYPE).
4725
eee2bc67
JM
47262012-05-08 Joseph Myers <joseph@codesourcery.com>
4727
7ea5391a
JM
4728 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4729 (ulimit): Likewise.
4730
eee2bc67
JM
4731 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4732 (settimeofday): Likewise.
4733
abb66a67
MF
47342012-05-08 Mike Frysinger <vapier@gentoo.org>
4735
4736 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4737 a struct th_u2 inside the union, and move tu_block/tu_code into
4738 a new th_u3 union of tu_block/tu_code inside of that. Move
4739 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4740 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4741 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4742 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4743 (th_stuff): Change to th_u1.tu_stuff.
4744 (th_data): Define.
4745 (th_msg): Change to th_u1.th_u2.tu_data.
4746
7f18b530
DM
47472012-05-07 David S. Miller <davem@davemloft.net>
4748
05760585
DM
4749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4750
7f18b530
DM
4751 [BZ #14074]
4752 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4753 (SETUP_PIC_REG): Use it.
4754 (SETUP_PIC_REG_LEAF): Use it.
4755
495fd99f
JM
47562012-05-07 Joseph Myers <joseph@codesourcery.com>
4757
4758 [BZ #13885]
4759 [BZ #13923]
4760 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4761 USE_AS_EXPM1L.
4762 (EXPL_FINITE): Likewise.
4763 (FLDLOG): Likewise.
4764 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4765 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4766 e_expl.S.
4767 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4768 USE_AS_EXPM1L.
4769 (EXPL_FINITE): Likewise.
4770 (FLDLOG): Likewise.
4771 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4772 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4773 e_expl.S.
4774 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4775 test of -max_value argument for long double.
4776 * sysdeps/i386/fpu/libm-test-ulps: Update.
4777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4778
6693d694
DM
47792012-05-06 David S. Miller <davem@davemloft.net>
4780
4781 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4782 quad soft-float symbols whose references which are compiler
4783 generated.
4784 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4785
6c23e11c
JM
47862012-05-06 Joseph Myers <joseph@codesourcery.com>
4787
d8b82cad
JM
4788 [BZ #13884]
4789 [BZ #13914]
4790 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4791 USE_AS_EXP10L.
4792 (EXPL_FINITE): Likewise.
4793 (FLDLOG): Likewise.
4794 (c0): Likewise.
4795 (c1): Likewise.
4796 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4797 Adjust comments for base varying.
4798 (__expl_finite): Change alias to EXPL_FINITE.
4799 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4800 e_expl.S.
4801 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4802 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4803 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4804 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4805 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4806 USE_AS_EXP10L.
4807 (EXPL_FINITE): Likewise.
4808 (FLDLOG): Likewise.
4809 (c0): Likewise.
4810 (c1): Likewise.
4811 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4812 Adjust comments for base varying.
4813 (__expl_finite): Change alias to EXPL_FINITE.
4814 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4815 tests for bugs.
4816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4817
6c23e11c
JM
4818 [BZ #14064]
4819 * math/libm-test.inc (check_float_internal): Correct ulp
4820 calculation for subnormal expected results.
4821
29ba805c
AJ
48222012-05-06 Andreas Jaeger <aj@suse.de>
4823
4824 * Makeconfig (+math-flags): New, set to -frounding-math.
4825 (+cflags): Add +math-flags so that all of glibc gets compiled with
4826 it.
4827
4828 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4829
7b17aeda
JM
48302012-05-05 Joseph Myers <joseph@codesourcery.com>
4831
5779f134
JM
4832 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4833 Disable one test.
4834
41498f4d
JM
4835 [BZ #13787]
4836 [BZ #13922]
4837 [BZ #14036]
4838 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4839 (__ieee754_expl): Allow for and saturate large arguments.
4840 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4841 (u_threshold): Likewise.
4842 (__exp): Call __ieee754_exp before checking for overflow and
4843 underflow.
4844 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4845 (u_threshold): Likewise.
4846 (__expf): Call __ieee754_expf before checking for overflow and
4847 underflow.
4848 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4849 (u_threshold): Likewise.
4850 (__expl): Call __ieee754_expl before checking for overflow and
4851 underflow.
4852 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4853 (__ieee754_expl): Allow for and saturate large arguments.
4854 * math/libm-test.inc (exp_test): Add another test. Do not allow
4855 missing overflow exception on overflow.
4856 (expm1_test): Do not allow missing overflow exception on overflow.
4857
6698b8bf
JM
4858 * sysdeps/i386/fpu/e_expl.c: Move to ...
4859 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4860 rather than using inline asm.
4861 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4862 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4863 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4864
7b17aeda
JM
4865 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4866 (nice): Likewise.
4867 (poll): Likewise.
4868 (signal): Likewise.
4869 (time): Likewise.
4870 (times): Likewise.
4871
f7c85819
JM
48722012-05-04 Joseph Myers <joseph@codesourcery.com>
4873
4874 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4875 sysdeps/unix/common/syscalls.list.
4876 (fchmod): Likewise.
4877 (fchown): Likewise.
4878 (ftruncate): Likewise.
4879 (getrusage): Likewise.
4880 (gettimeofday): Likewise.
4881 (setpgid): Likewise.
4882 (setregid): Likewise.
4883 (setreuid): Likewise.
4884 (sigaction): Likewise.
4885 (truncate): Likewise.
4886 (vhangup): Likewise.
4887 * sysdeps/unix/common/syscalls.list: Remove file.
4888 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4889 * sysdeps/unix/sysv/linux/Implies: Likewise.
4890
336270d0
L
48912012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4892
4893 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4895 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4896 Moved to ...
4897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4898 Here.
4899 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4900 to ...
4901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4902 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4903 to ...
4904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4905 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4906 to ...
4907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4908 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4909 to ...
4910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4911 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4912 to ...
4913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4914 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4915 to ...
4916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4917 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4918 to ...
4919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4920 Here.
4921 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4922 to ...
4923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4924 Here.
4925 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4926 to ...
4927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4928 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4929 Moved to ...
4930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4931 Here.
4932 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4933 to ...
4934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4935
d128e450
JM
49362012-05-04 Joseph Myers <joseph@codesourcery.com>
4937
fa8ee516
JM
4938 * sysdeps/unix/common/bits/dirent.h: Remove file.
4939 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4940
d128e450
JM
4941 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4942 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4943 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4944 * sysdeps/unix/bsd/isatty.c: Likewise.
4945 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4946 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4947 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4948
ff8faaf0 49492012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4950
62881be4 4951 [BZ #13563]
31dc8730
AZ
4952 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4953 long double comparison inaccuracies.
4954 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4956
6fef930c
AS
49572012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4958
4959 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4960 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4961
8f203e6c
JM
49622012-05-04 Joseph Myers <joseph@codesourcery.com>
4963
4964 [BZ #14049]
4965 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4966 nonzero digits before rounding a hex value.
4967 * stdlib/tst-strtod.c (tests): Add another test.
4968
5197d9c2
AK
49692012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4970
4971 * sysdeps/s390/fpu/libm-test-ulps: Update.
4972
f0c1dedf
AJ
49732012-05-03 Andreas Jaeger <aj@suse.de>
4974
4975 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4976 does not get optimized out.
4977 (malloc_opt_barrier): New.
4978
a65ef2ae 49792012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4980 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4981
2b942cb7 4982 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4983 intermediate file deletion.
2b942cb7 4984 (generated): Add .symlist files.
a65ef2ae 4985
54b71e02
JM
49862012-05-03 Joseph Myers <joseph@codesourcery.com>
4987
4988 [BZ #13775]
4989 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4990 Redirect under this condition.
4991 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4992 [__USE_GNU] (__dprintf_chk): Not under this condition.
4993 [__USE_GNU] (__vdprintf_chk): Likewise.
4994 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4995 under this condition.
4996 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4997 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4998 [__USE_XOPEN2K8] (vdprintf): Likewise.
4999 [__USE_GNU] (__dprintf_chk): Not under this condition.
5000 [__USE_GNU] (__vdprintf_chk): Likewise.
5001 [__USE_GNU] (dprintf): Likewise.
5002 [__USE_GNU] (vdprintf): Likewise.
5003
d3dfcc41
RM
50042012-05-03 Roland McGrath <roland@hack.frob.com>
5005
5006 * elf/Makefile (common-generated): Set this instead of generated for
5007 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5008 $(all-built-dso)-derived lists.
5009
7ac30cc5
AJ
50102012-05-03 Andreas Jaeger <aj@suse.de>
5011
0c51e550
AJ
5012 * sysdeps/i386/fpu/libm-test-ulps: Update.
5013
7ac30cc5
AJ
5014 * FAQ: Removed.
5015 * FAQ.in: Likewise.
5016 * scripts/gen-FAQ.pl: Likewise.
5017 * manual/install.texi (Installation): Point to online location of
5018 FAQ.
5019 * Makefile (files-for-dist): Remove FAQ.
5020 (FAQ): Remove.
5021
d4c2917f
AM
50222012-05-02 Allan McRae <allan@archlinux.org>
5023
5024 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5025 (LDFLAGS-reldepmod5.so): Likewise.
5026 (LDFLAGS-reldep6mod1.so): Likewise.
5027 (LDFLAGS-reldep6mod4.so): Likewise.
5028 (LDFLAGS-reldep8mod3.so): Likewise.
5029 (LDFLAGS-unload4mod1.so): Likewise.
5030 (LDFLAGS-unload4mod2.so): Likewise.
5031 (LDFLAGS-tst-initorder): Likewise.
5032 (LDFLAGS-tst-initordera2.so): Likewise.
5033 (LDFLAGS-tst-initordera3.so): Likewise.
5034 (LDFLAGS-tst-initordera4.so): Likewise.
5035 (LDFLAGS-tst-initorderb2.so): Likewise.
5036 (LDFLAGS-noload): Likewise.
5037 (LDFLAGS-next): Likewise.
5038 (LDFLAGS-order2mod1.so): Likewise.
5039 (LDFLAGS-order2mod2.so): Likewise.
5040 (LDFLAGS-tst-initorder2): Likewise.
5041 (LDFLAGS-tst-initorder2a.so): Likewise.
5042 (LDFLAGS-tst-initorder2b.so): Likewise.
5043 (LDFLAGS-tst-initorder2c.so): Likewise.
5044 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5045
d77f993f
DM
50462012-05-02 David S. Miller <davem@davemloft.net>
5047
5048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5049
171a70b4
PP
50502012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5051
5052 [BZ #14055]
5053 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5054
0be196ad
AJ
50552012-05-02 Andreas Jaeger <aj@suse.de>
5056
5057 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5058 since we manipulate rounding mode.
5059 (CPPFLAGS-test-idouble.c): Likewise.
5060 (CPPFLAGS-test-ifloat.c): Likewise.
5061 (CFLAGS-test-ldouble.c): Likewise.
5062 (CFLAGS-test-double.c): Likewise.
5063 (CFLAGS-test-float.c): Likewise.
5064 (CFLAGS-test-misc.c): Likewise.
5065 (CFLAGS-test-test-fenv.c): Likewise.
5066
4f9d04aa
AZ
50672012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5068
2b942cb7
RM
5069 [BZ #2550]
5070 [BZ #2570]
5071 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5072 comparisons to determine direction to adjust input.
4f9d04aa 5073
82a79e7d
RM
50742012-05-01 Roland McGrath <roland@hack.frob.com>
5075
f5a01ca9
RM
5076 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5077 output to the target.
5078
90fe4186
RM
5079 * scripts/localplt.awk: New file.
5080 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5081 (check-localplt-CFLAGS): Variable removed.
5082 ($(all-built-dso:=.jmprel)): New static pattern rule.
5083 (generated): Add those targets.
5084 (localplt-built-dso): New variable.
5085 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5086
5087 * elf/check-localplt.c: File removed.
5088
82397ed6
RM
5089 * scripts/check-execstack.awk: New file.
5090 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5091 (check-execstack-CFLAGS): Variable removed.
5092 ($(objpfx)check-execstack.h): Target removed.
5093 ($(objpfx)execstack-default): New target.
5094 (generated): Add that instead of check-execstack.h.
5095 ($(all-built-dso:=.phdr)): New static pattern rule.
5096 (generated): Add those targets.
5097 * elf/check-execstack.c: File removed.
5098
82a79e7d
RM
5099 * scripts/check-textrel.awk: New file.
5100 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5101 (check-textrel-CFLAGS): Variable removed.
5102 (all-built-dso): Use := to define.o
5103 ($(all-built-dso:=.dyn)): New static pattern rule.
5104 (generated): Add those targets.
5105 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5106 * config.make.in (READELF): New substituted variable.
5107 * elf/check-textrel.c: File removed.
5108
62fde54f 51092012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5110
615605c9
JM
5111 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5112 allow.
5113 * conform/data/ctype.h-data [C99-based standards] (isblank):
5114 Expect function.
5115 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5116 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5118 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5119 Specify type. Require positive value.
5120 (EILSEQ): Likewise.
5121 (ERANGE): Likewise.
5122 [ISO || POSIX] (EILSEQ): Do not expect.
5123 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5124 Specify type. Require positive value.
5125 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5129 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5130 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5131 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5132 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5133 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5134 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5135 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5136 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5137 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5138 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5139 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5140 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5141 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5142 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5143 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5144 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5145 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5146 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5147 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5148 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5149 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5150 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5151 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5152 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5153 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5154 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5155 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5156 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5157 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5158 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5159 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5160 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5161 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5162 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5163 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5164 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5165 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5166 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5167 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5168 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5169 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5170 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5171 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5172 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5173 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5174 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5175 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5176 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5177 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5178 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5179 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5180 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5181 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5182 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5183 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5184 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5185 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5186 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5187 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5188 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5189 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5190 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5191 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5192 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5193 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5194 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5195 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5196 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5197 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5198 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5199 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5200 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5201 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5202 Require >= 2.
5203 (FLT_ROUNDS): Expect as macro, not constant.
5204 (FLT_MANT_DIG): Use macro-int-constant.
5205 (DBL_MANT_DIG): Likewise.
5206 (LDBL_MANT_DIG): Likewise.
5207 (FLT_DIG): Likewise.
5208 (DBL_DIG): Likewise.
5209 (LDBL_DIG): Likewise.
5210 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5211 (DBL_MIN_EXP): Likewise.
5212 (LDBL_MIN_EXP): Likewise.
5213 (FLT_MAX_EXP): Use macro-int-constant.
5214 (DBL_MAX_EXP): Likewise.
5215 (LDBL_MAX_EXP): Likewise.
5216 (FLT_MAX_10_EXP): Likewise.
5217 (DBL_MAX_10_EXP): Likewise.
5218 (LDBL_MAX_10_EXP): Likewise.
5219 (FLT_MAX): Use macro-constant.
5220 (DBL_MAX): Likewise.
5221 (LDBL_MAX): Likewise.
5222 (FLT_EPSILON): Use macro-constant. Give upper bound.
5223 (DBL_EPSILON): Likewise.
5224 (LDBL_EPSILON): Likewise.
5225 (FLT_MIN): Likewise.
5226 (DBL_MIN): Likewise.
5227 (LDBL_MIN): Likewise.
5228 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5229 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5230 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5231 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5232 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5233 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5234 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5235 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5236 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5237 [ISO11] (FLT_TRUE_MIN): Likewise.
5238 [ISO11] (LDBL_TRUE_MIN): Likewise.
5239 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5240 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5241 (SCHAR_MIN): Use macro-int-constant. Specify type.
5242 (SCHAR_MAX): Likewise.
5243 (UCHAR_MAX): Likewise.
5244 (CHAR_MIN): Likewise.
5245 (CHAR_MAX): Likewise.
5246 (MB_LEN_MAX): Use macro-int-constant.
5247 (SHRT_MIN): Use macro-int-constant. Specify type.
5248 (SHRT_MAX): Likewise.
5249 (USHRT_MAX): Likewise.
5250 (INT_MAX): Likewise.
5251 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5252 bound negative.
5253 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5254 bound with "U".
5255 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5256 bound with "L".
5257 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5258 bound negative. Suffix upper bound with "L".
5259 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5260 bound with "UL".
5261 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5262 Specify type.
5263 [C99-based standards] (LLONG_MAX): Likewise.
5264 [C99-based standards] (ULLONG_MAX): Likewise.
5265 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5266 == 0.
5267 [ISO11] (max_align_t): Require type.
5268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5269
c9140a62
JM
5270 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5271 from $CFLAGS, without defining away __attribute__ calls.
5272 (checknamespace): Use $CFLAGS_namespace.
5273
9af0bf29
JM
5274 * conform/conformtest.pl (@keywords): Only include C99 keywords
5275 for standards based on C99 or C11.
5276
343222a2
JM
5277 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5278 Disable tests.
5279 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5280 UNIX98]: Likewise.
5281
661f8cf0
JM
5282 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5283 usability of symbols in #if.
5284
ee74b9cb
JM
5285 * conform/conformtest.pl: If macro or constant types start
5286 "promoted:", expect the symbol to be of the following type
5287 promoted by the integer promotions.
62fde54f 5288
aafc49b3
JM
5289 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5290 in one place. Also handle "macro-constant".
5291
fefdf574
JM
5292 * conform/conformtest.pl: Only accept expected macro values with
5293 "==". Parse all "macro" lines in one place.
5294 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5295
f2d922fe
JM
5296 * conform/conformtest.pl: Handle braced types on "constant" lines
5297 instead of handling "typed-constant".
5298 * conform/data/signal.h-data: Use "constant" instead of
5299 "typed-constant".
5300
d22956c9
JM
5301 * conform/conformtest.pl: Handle "optional-" at start of lines in
5302 one place rather than duplicating several cases. Handle each
5303 format of "macro" line with initial "optional-".
5304
028e2e38
JM
5305 * conform/conformtest.pl: Only accept expected constant or
5306 optional-constant values with "==". Parse all "constant" lines in
5307 one place. Parse all "optional-constant" lines in one place.
5308 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5309 * conform/data/fmtmsg.h-data: Likewise.
5310 * conform/data/netinet/in.h-data: Likewise.
5311 * conform/data/tar.h-data: Likewise.
5312 * conform/data/limits.h-data: Use "==" form on "constant" and
5313 "optional-constant" lines.
5314
1b8f2850
JM
5315 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5316 Use -std=c99 for XOPEN2K.
5317 (@knownproblems): Remove.
5318 (newtoken): Don't check %isknown.
5319
a05a144b
JM
5320 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5321 Do not expect macro.
5322 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5323 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5324 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5325 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5326 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5327 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5328 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5329 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5330 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5331 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5332 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5333 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5334 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5335 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5336 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5337 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5338 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5339 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5340 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5341 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5342 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5343 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5344 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5345 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5346 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5347 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5348 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5349 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5350 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5351 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5352 [XPG3] (acosh): Likewise.
5353 [XPG3] (asinh): Likewise.
5354 [XPG3] (atanh): Likewise.
5355 [XPG3] (cbrt): Likewise.
5356 [XPG3] (expm1): Likewise.
5357 [XPG3] (ilogb): Likewise.
5358 [XPG3] (log1p): Likewise.
5359 [XPG3] (logb): Likewise.
5360 [XPG3] (nextafter): Likewise.
5361 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5362 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5363 [XPG3] (remainder): Likewise.
5364 [XPG3] (rint): Likewise.
5365 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5366 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5367 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5368 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5369 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5370 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5371 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5372 [UNIX98 || XOPEN2K] (scalb): Expect.
5373 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5374 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5375 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5376 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5377 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5378 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5379 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5380 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5381 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5382 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5383 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5384 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5385 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5386 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5387 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5388 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5389 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5390 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5391 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5392 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5393 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5394 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5395 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5396 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5397 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5398 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5399 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5400 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5401 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5402 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5403 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5404 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5405 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5406 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5407 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5408 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5409 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5410 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5411 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5412 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5413 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5414 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5415 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5416 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5417 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5418 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5419 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5420 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5421 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5422 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5423 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5424 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5425 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5426 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5427 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5428 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5429 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5430 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5431 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5432 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5433 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5434 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5435 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5436 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5437 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5438 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5439 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5440 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5441 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5442 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5443 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5444 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5445 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5446 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5447 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5448 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5449 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5450 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5451 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5452 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5453 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5454 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5455 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5456 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5457 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5458 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5459 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5460 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5461 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5462 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5463 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5464 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5465 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5466 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5467 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5468 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5469 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5470 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5471 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5472 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5473 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5474 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5475 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5476 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5477 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5478 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5479 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5480 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5481 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5482 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5483 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5484 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5485 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5486 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5487 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5488 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5489 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5490 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5491 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5492 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5493 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5494 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5495 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5496 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5497 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5498 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5499 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5500 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5501 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5502 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5503 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5504 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5505 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5506 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5507 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5508 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5509 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5510
73c5ebe3
JM
5511 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5512 _XOPEN_SOURCE_EXTENDED for XPG4.
5513
39c33b6c
JM
5514 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5515
62fde54f
JM
5516 * Makeconfig (localtime): Remove variable.
5517 (inst_localtime-file): Likewise.
5518
0741d64c
AS
55192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5520
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5522 Update.
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5524 Update.
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5526 Update.
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5528 Update.
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5530 Update.
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5532 Update.
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5534 Update.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5536 Update.
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5538 Update.
5539
7cb029ee
JM
55402012-05-01 Joseph Myers <joseph@codesourcery.com>
5541
5542 [BZ #2550]
5543 [BZ #2570]
5544 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5545 comparisons to determine direction to adjust input.
5546 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5547 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5548 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5549 Likewise.
5550 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5551 Likewise.
5552 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5553 Likewise.
5554 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5555 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5556 Likewise.
5557 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5558 Likewise.
5559 * math/libm-test.inc (nexttoward_test): Add more tests.
5560
412bd966
AS
55612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5562
5563 [BZ #14040]
5564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5565 in version GLIBC_2.1, not GLIBC_2.0.
5566 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5567 Likewise.
5568
9568c0c2
JM
55692012-04-30 Joseph Myers <joseph@codesourcery.com>
5570
adfbc8ac
JM
5571 [BZ #13942]
5572 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5573 (1 - x) * (1 + x).
5574 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5575 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5576 * math/libm-test.inc (acos_test): Add more tests.
5577 (asin_test): Likewise.
5578 * sysdeps/i386/fpu/libm-test-ulps: Update.
5579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5580
5ba3cc69
JM
5581 [BZ #14034]
5582 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5583 of square root.
5584 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5585 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5586 * math/libm-test.inc (acos_test_tonearest): New function.
5587 (acos_test_towardzero): Likewise.
5588 (acos_test_downward): Likewise.
5589 (acos_test_upward): Likewise.
5590 (asin_test_tonearest): Likewise.
5591 (asin_test_towardzero): Likewise.
5592 (asin_test_downward): Likewise.
5593 (asin_test_upward): Likewise.
5594 (main): Call the new functions.
5595 * sysdeps/i386/fpu/libm-test-ulps: Update.
5596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5597
9568c0c2
JM
5598 [BZ #13884]
5599 [BZ #13924]
5600 * math/e_exp10.c: Include <float.h>.
5601 (__ieee754_exp10): Handle underflow here rather than multiplying
5602 large negative argument by M_LN10.
5603 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5604 of __ieee754_expf.
5605 * math/e_exp10l.c: Include <float.h>.
5606 (__ieee754_exp10l): Handle underflow here rather than multiplying
5607 large negative argument by M_LN10l.
5608 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5609 spurious overflow exception on underflow.
5610
5ac3ea17
MP
56112012-04-29 Marek Polacek <polacek@redhat.com>
5612
5613 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5614 (__fortify_function): New macro.
5615 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5616 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5617 __extern_always_inline.
5618 * libio/bits/stdio2.h: Likewise.
5619 * libio/bits/stdio.h: Likewise.
5620 * string/string.h: Likewise.
5621 * string/bits/string3.h: Likewise.
5622 * include/stdio.h: Likewise.
5623 * stdlib/bits/stdlib.h: Likewise.
5624 * stdlib/stdlib.h: Likewise.
5625 * rt/bits/mqueue2.h: Likewise.
5626 * rt/mqueue.h: Likewise.
5627 * posix/bits/unistd.h: Likewise.
5628 * posix/unistd.h: Likewise.
5629 * io/bits/poll2.h: Likewise.
5630 * io/bits/fcntl2.h: Likewise.
5631 * io/fcntl.h: Likewise.
5632 * io/sys/poll.h: Likewise.
5633 * misc/bits/syslog.h: Likewise.
5634 * misc/bits/syslog-ldbl.h: Likewise.
5635 * misc/sys/syslog.h: Likewise.
5636 * socket/bits/socket2.h: Likewise.
5637 * socket/sys/socket.h: Likewise.
5638 * debug/tst-chk1.c: Likewise.
5639 * wcsmbs/bits/wchar2.h: Likewise.
5640 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5641 * wcsmbs/wchar.h: Likewise.
5642
ecf0ebfb
AJ
56432012-04-29 Andreas Jaeger <aj@suse.de>
5644
5645 * Makerules (tests): Remove enable-check-abi protection.
5646 (check-abi-warn): Remove.
5647 (check-abi-%): Remove check-abi-warn usage.
5648
5649 * configure.in: Remove check-abi configure option.
5650 * configure: Regenerated.
5651 * config.make.in (enable-check-abi): Remove.
5652
6d5c57fa
AS
56532012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5654
24c5d07e 5655 [BZ #14033]
ded5180a
AS
5656 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5657 double functions to double *_finite functions.
5658
7e0d315d
AS
5659 [BZ #13941]
5660 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5661 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5662 LDBL_MIN_EXP.
5663 * stdio-common/Makefile (tests): Add tst-sprintf3.
5664 * stdio-common/tst-sprintf3.c: New file.
5665
6d5c57fa
AS
5666 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5667 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5668
0749ff8b
JM
56692012-04-28 Joseph Myers <joseph@codesourcery.com>
5670
5671 * conform/conformtest.pl: Remove duplicate typed-constant
5672 handling.
5673
8dbd5d7b
DM
56742012-04-28 David S. Miller <davem@davemloft.net>
5675
5676 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5677 (check-abi-%): Remove AWK script prerequisite and explicit
5678 abilist directory.
5679 (check-abi): Rewrite to just diff the symlist with the abilist.
5680 (config-tls, config-abi-config): Delete, no longer used.
5681 (update-abi-%): Remove AWK script and explicit abilist directory.
5682 (update-abi): Rewrite to simply compare and conditionally copy the
5683 symlist and the sysdep abilist file. Remove update-abi-config
5684 checks.
5685 * abilist/ld.abilist: Remove.
5686 * abilist/libBrokenLocale.abilist: Remove.
5687 * abilist/libanl.abilist: Remove.
5688 * abilist/libcrypt.abilist: Remove.
5689 * abilist/libdl.abilist: Remove.
5690 * abilist/librt.abilist: Remove.
5691 * abilist/libthread_db.abilist: Remove.
5692 * abilist/libutil.abilist: Remove.
5693 * scripts/extract-abilist.awk: Remove.
5694 * scripts/merge-abilist.awk: Remove.
5695 * sysdeps/generic/libcidn.abilist: New file.
5696 * sysdeps/generic/libnss_compat.abilist: New file.
5697 * sysdeps/generic/libnss_db.abilist: New file.
5698 * sysdeps/generic/libnss_dns.abilist: New file.
5699 * sysdeps/generic/libnss_files.abilist: New file.
5700 * sysdeps/generic/libnss_hesiod.abilist: New file.
5701 * sysdeps/generic/libnss_nis.abilist: New file.
5702 * sysdeps/generic/libnss_nisplus.abilist: New file.
5703 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5704 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5705 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5706 file.
5707 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5708 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5709 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5710 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5711 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5712 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5713 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5714 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5715 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5716 file.
5717 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5718 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5719 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5720 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5721 file.
5722 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5723 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5724 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5725 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5726 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5727 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5728 file.
5729 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5730 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5731 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5732 file.
5733 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5735 New file.
5736 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5737 New file.
5738 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5739 New file.
5740 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5741 New file.
5742 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5743 New file.
5744 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5745 New file.
5746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5747 New file.
5748 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5749 New file.
5750 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5751 New file.
5752 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5753 New file.
5754 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5755 New file.
5756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5757 New file.
5758 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5759 New file.
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5761 file.
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5763 New file.
5764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5765 New file.
5766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5767 file.
5768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5769 New file.
5770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5771 New file.
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5773 file.
5774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5775 New file.
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5777 New file.
5778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5779 New file.
5780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5781 New file.
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5783 New file.
5784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5785 New file.
5786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5788 file.
5789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5790 New file.
5791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5792 file.
5793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5794 file.
5795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5796 file.
5797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5798 file.
5799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5800 file.
5801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5802 New file.
5803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5804 file.
5805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5806 file.
5807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5808 New file.
5809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5810 file.
5811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5813 file.
5814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5815 New file.
5816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5817 file.
5818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5819 file.
5820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5821 file.
5822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5823 file.
5824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5825 file.
5826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5827 New file.
5828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5829 file.
5830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5831 file.
5832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5833 New file.
5834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5835 file.
5836 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5837 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5838 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5839 file.
5840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5841 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5842 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5843 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5844 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5845 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5846 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5847 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5848 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5849 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5852 file.
5853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5854 New file.
5855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5856 file.
5857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5858 file.
5859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5860 file.
5861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5862 file.
5863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5864 file.
5865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5866 New file.
5867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5868 New file.
5869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5870 file.
5871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5872 New file.
5873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5874 file.
5875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5877 file.
5878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5879 New file.
5880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5881 file.
5882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5883 file.
5884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5885 file.
5886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5887 file.
5888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5889 file.
5890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5891 New file.
5892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5893 New file.
5894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5895 file.
5896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5897 New file.
5898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5899 file.
5900
41d73a1b
JM
59012012-04-28 Joseph Myers <joseph@codesourcery.com>
5902
5903 * conform/conformtest.pl: Fix typo in handling typed-constant from
5904 allow-header.
5905
28aeeda4
JM
59062012-04-27 Joseph Myers <joseph@codesourcery.com>
5907
adae8f5e
JM
5908 * README: Cut down references to pre-2.6 Linux kernels and
5909 Linuxthreads. Update lists of configurations in libc and ports
5910 and sort alphabetically. Say "or newer" with Linux kernel version
5911 requirements.
5912
28aeeda4
JM
5913 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5914
a462cb63
RA
59152012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5916
5917 [BZ #887]
5918 * math/libm-test.inc (logb_test_downward): New test to expose
5919 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5920 rounding mode.
5921
6ad3493e
JM
59222012-04-27 Joseph Myers <joseph@codesourcery.com>
5923
5924 [BZ #14027]
5925 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5926 to be done.
5927 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5928 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5929
2ce4f015
JM
59302012-04-26 Joseph Myers <joseph@codesourcery.com>
5931
5aeb141a
JM
5932 * sysdeps/unix/i386/brk.S: Remove file.
5933 * sysdeps/unix/i386/dl-brk.S: Likewise.
5934 * sysdeps/unix/i386/pipe.S: Likewise.
5935 * sysdeps/unix/i386/sigreturn.S: Likewise.
5936 * sysdeps/unix/i386/syscall.S: Likewise.
5937 * sysdeps/unix/i386/vfork.S: Likewise.
5938 * sysdeps/unix/i386/wait.S: Likewise.
5939
7143acae
JM
5940 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5941 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5942
2ce4f015
JM
5943 * configure.in (arm*-none*): Do not allow without
5944 --enable-hacker-mode.
5945 (netbsd*): Remove case setting base_os.
5946 (386bsd*): Likewise.
5947 (freebsd*): Likewise.
5948 (bsdi*): Likewise.
5949 (osf*): Likewise.
5950 (sunos*): Likewise.
5951 (ultrix*): Likewise.
5952 (newsos*): Likewise.
5953 (dynix*): Likewise.
5954 (*bsd*): Likewise.
5955 (sysv*): Likewise.
5956 (isc*): Likewise.
5957 (esix*): Likewise.
5958 (sco*): Likewise.
5959 (minix*): Likewise.
5960 (irix4*): Likewise.
5961 (irix6*): Likewise.
5962 (solaris[2-9]*): Likewise.
5963 (none): Likewise.
5964 * configure: Regenerated.
5965
0ac229c8
AZ
59662012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5967
5968 [BZ #11521]
5969 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5970 overflow or cancellation in calculating denominator.
5971 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5972 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5973 down expression to avoid unexpected rounding in newer GCCs.
5974 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5975
33f244f4
DM
59762012-04-26 David S. Miller <davem@davemloft.net>
5977
5978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5979 long-double compat symbols.
5980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5993
cfa1f3e8
DM
59942012-04-25 David S. Miller <davem@davemloft.net>
5995
5996 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5997 HWCAP_* values only after the memory barriers have been defined.
5998 (atomic_full_barrier): Define.
5999 (atomic_read_barrier): Define.
6000 (atomic_write_barrier): Define.
6001
6e236b92
SP
60022012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6003
6004 * shlib-versions: Add libgcc_s version information.
6005 * sysdeps/generic/libgcc_s.h: Remove.
6006 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6007 libgcc_s.h.
6008 * sysdeps/gnu/unwind-resume.c: Likewise.
6009 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6010
aab39a09
DM
60112012-04-25 David S. Miller <davem@davemloft.net>
6012
6013 * sysdeps/unix/sparc/brk.S: Delete.
6014 * sysdeps/unix/sparc/dl-brk.S: Delete.
6015 * sysdeps/unix/sparc/pipe.S: Delete.
6016 * sysdeps/unix/sparc/sysdep.S: Delete.
6017 * sysdeps/unix/sparc/sysdep.h: Delete.
6018 * sysdeps/unix/sparc/vfork.S: Delete.
6019 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6020 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6021 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6022 ret_ERRVAL, r0, r1, MOVE): Define.
6023 (JUMPTARGET): Remove.
6024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6025 sysdeps/unix/sparc/sysdep.h
6026 (ENTRY, END): Remove.
6027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6028
a3cc4f48
JM
60292012-04-25 Joseph Myers <joseph@codesourcery.com>
6030
2ed8cda2
JM
6031 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6032 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6033 -DIS_IN_build.
6034
35d76d59
JM
6035 * timezone/README: Update upstream location and email address for
6036 tzcode and tzdata.
6037 * timezone/zdump.c: Update from tzcode 2012b.
6038 * timezone/zic.c: Likewise.
6039
a3cc4f48
JM
6040 * configure.in (libc_cv_as_needed): Remove test.
6041 * configure: Regenerated.
6042 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6043 conditional definition.
6044 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6045 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6046 * config.make.in (have-as-needed): Remove variable.
6047
ceab42c3
SP
60482012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6049 Paul Pluzhnikov <ppluzhnikov@google.com>
6050
6051 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6052 strings correctly.
6053
3ce2865f
CLT
60542012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6055
6056 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6057 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6058 * sysdeps/sh/strlen.S: Likewise.
6059
f37e0d68
JM
60602012-04-24 Joseph Myers <joseph@codesourcery.com>
6061
ae186e9a
JM
6062 * sysdeps/unix/fork.S: Remove file.
6063 * sysdeps/unix/i386/fork.S: Likewise.
6064 * sysdeps/unix/sparc/fork.S: Likewise.
6065
b96914af
JM
6066 * sysdeps/unix/system.c: Remove file.
6067 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6068
f37e0d68
JM
6069 * sysdeps/unix/getegid.S: Remove file.
6070 * sysdeps/unix/geteuid.S: Likewise.
6071
87ef29ca
RM
60722012-04-24 Roland McGrath <roland@hack.frob.com>
6073
83bcd236
RM
6074 * scripts/check-localplt.awk: New file.
6075 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6076 of diff.
6077 * scripts/data/localplt-generic.data: Add a comment.
6078
87ef29ca
RM
6079 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6080 NODE when __dir_mkfile failed.
6081 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6082 Reported by Ludovic Courtès <ludo@gnu.org>.
6083
e5a6e567
AJ
60842012-04-24 Andreas Jaeger <aj@suse.de>
6085
6086 * Makerules (common-clean): Also remove gen-as-const-headers
6087 files.
6088
c1820385
JM
60892012-04-24 Joseph Myers <joseph@codesourcery.com>
6090
6091 * Makerules (native-compile): Do not change working directory for
6092 build. Use $(OUTPUT_OPTION) in command.
6093 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6094
94e02fc4
AZ
60952012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6096
6097 [BZ #13886]
6098 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6099 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6100 * math/libm-test.inc (floor_test): Add more tests.
6101 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6102
3a533ca3
JM
61032012-04-24 Joseph Myers <joseph@codesourcery.com>
6104
940ab4b3
JM
6105 * sysdeps/unix/getdents.c: Remove file.
6106 * sysdeps/unix/sysv/getdents.c: Likewise.
6107 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6108
90e037bd
JM
6109 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6110 sysdeps/unix/mman/syscalls.list.
6111 (mmap): Likewise.
6112 (mprotect): Likewise.
6113 (msync): Likewise.
6114 (munmap): Likewise.
6115 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6116 * sysdeps/unix/mman/syscalls.list: Remove.
6117 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6118
3a533ca3
JM
6119 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6120 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6121 * configure: Regenerated.
6122 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6123 $(libgcc_s_suffix).
6124 * config.make.in (libgcc_s_suffix): Remove variable.
6125
1ad743de
JM
61262012-04-23 Joseph Myers <joseph@codesourcery.com>
6127
4ad451e2
JM
6128 * sysdeps/unix/sysv/gethostname.c: Move to ...
6129 * sysdeps/posix/gethostname.c: ... here.
6130
5e37ce39
JM
6131 * sysdeps/unix/execve.S: Remove file.
6132
1ad743de
JM
6133 * sysdeps/unix/_exit.S: Remove file.
6134
4e681b5b
AJ
61352012-04-23 Andreas Jaeger <aj@suse.de>
6136
6137 [BZ #13739]
6138 * manual/Makefile: Remove make dist support, there's no
6139 need for a stand-alone documentation tar ball.
6140 (TEXI2DVI): Define always, it's not in Makeconfig.
6141 (dist): Removed.
6142 (tar-it): Removed.
6143 (edition): Removed.
6144 (glibc-doc-$(edition).tar): Removed
6145 (%.Z): Removed.
6146 (%.gz): Removed.
6147 (%.uu): Removed.
6148 (ETAGS): Remove, it's in Makeconfig.
6149 (move-if-change): Remove, it's in Makeconfig.
6150
c0baea34
PE
61512013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6152
6153 [BZ #13970]
6154 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6155 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6156 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6157 (strtod_l, strtof_l, strtold_l): Remove __wur.
6158 It is not necessarily an error to ignore strtol's return value.
6159 One can reliably look at the stored endptr to decide whether
6160 the number had valid syntax.
6161
7c0616fa
AJ
61622012-04-21 Andreas Jaeger <aj@suse.de>
6163
803cb6b7 6164 [BZ #13739]
7c0616fa
AJ
6165 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6166
b0fe253f
JM
61672012-04-21 Joseph Myers <joseph@codesourcery.com>
6168
6169 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6170 * sysdeps/unix/sysv/Versions: Remove file.
6171
8280f22d
MT
61722012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6173
6174 [BZ #13927]
6175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6176
75ce411f 61772012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6178
6179 [BZ #7064]
6180 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6181 version from __vm86.
6182
097d59fa
JM
61832012-04-20 Joseph Myers <joseph@codesourcery.com>
6184
a90f3bcb
JM
6185 * sysdeps/unix/common/lxstat.c: Remove file.
6186 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6187
edc7ea78
JM
6188 * sysdeps/unix/sysv/Makefile: Remove file.
6189
cb78c221
JM
6190 * sysdeps/unix/sysv/direct.h: Remove file.
6191
efa6a45f
JM
6192 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6193 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6194 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6195 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6196 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6197 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6198 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6199
9c9f2d0c
JM
6200 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6201
4541c83b
JM
6202 * sysdeps/unix/xmknod.c: Remove file.
6203 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6204
f5d153a0
JM
6205 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6206
aa746595
JM
6207 * sysdeps/unix/sysv/i386/time.S: Remove file.
6208
cce5905e
JM
6209 * sysdeps/unix/fxstat.c: Remove file.
6210 * sysdeps/unix/xstat.c: Likewise.
6211 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6212
37fa3841
JM
6213 * sysdeps/unix/sysv/sigaction.c: Remove file.
6214
ff1962a3
JM
6215 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6216 (sysdep_headers): Remove variable.
6217 [termio.h not in sysdep_headers] (generated): Likewise.
6218 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6219 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6220 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6221 * sysdeps/unix/sysv/tcflow.c: Likewise.
6222 * sysdeps/unix/sysv/tcflush.c: Likewise.
6223 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6224 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6225 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6226 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6227 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6228
e7740d31
JM
6229 * sysdeps/unix/siglist.c: Remove file.
6230
ee06f18b
JM
6231 * sysdeps/unix/getppid.S: Remove file.
6232
097d59fa
JM
6233 * sysdeps/unix/mkdir.c: Remove file.
6234 * sysdeps/unix/rmdir.c: Likewise.
6235
ff3d51ec
AS
62362012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6237
6238 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6239 ERR_MAX value.
6240 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6241 errlist-compat value.
6242
50f81fd7
DM
62432012-04-18 David S. Miller <davem@davemloft.net>
6244
6245 * sysdeps/generic/memcopy.h (reg_char): Delete.
6246 * debug/strcat_chk.c: Use char, not reg_char.
6247 * debug/strcpy_chk.c: Likewise.
6248 * debug/strncat_chk.c: Likewise.
6249 * debug/strncpy_chk.c: Likewise.
6250 * string/memchr.c: Likewise.
6251 * string/memrchr.c: Likewise.
6252 * string/rawmemchr.c: Likewise.
6253 * string/strcat.c: Likewise.
6254 * string/strchr.c: Likewise.
6255 * string/strchrnul.c: Likewise.
6256 * string/strcmp.c: Likewise.
6257 * string/strcpy.c: Likewise.
6258 * string/strncat.c: Likewise.
6259 * string/strncmp.c: Likewise.
6260 * string/strncpy.c: Likewise.
6261
8ff41c46
WS
62622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6263
6264 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6265 __builtin_memcopy is called when src and dest ranges are known to not
6266 overlap.
6267
6b652f46
WS
62682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6269
6270 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6271 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6272 fwd_align_merge macro call.
6273 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6274 bwd_align_merge macro call.
6275 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6276
b282631e
WS
62772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6278
6279 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6280 bwd_align_merge macros.
6281 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6282 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6283 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6284
95aa737c
DM
62852012-04-18 David S. Miller <davem@davemloft.net>
6286
6287 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6288
7a99a614
AJ
62892012-04-18 Andreas Jaeger <aj@suse.de>
6290
6291 [BZ# 6794]
6292 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6293 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6294 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6295
6296 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6297 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6298 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6299
6300 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6301 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6302 Adjust for changed ldbl-128 files.
6303
6304 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6305 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6306 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6307
e5270c23
DM
63082012-04-17 David S. Miller <davem@davemloft.net>
6309
6310 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6311
fb5e92c9
AS
63122012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6313
6314 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6315 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6316 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6317 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6318 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6319 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6320
76da7265
AZ
63212012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6322
6323 [BZ #6794]
6324 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6325 * math/libm-test.inc: Add ilogb errno and exception tests.
6326 * math/w_ilogb.c: New file: ilogb wrapper.
6327 * math/w_ilogbf.c: New file: ilogbf wrapper.
6328 * math/w_ilogbl.c: New file: ilogbl wrapper.
6329 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6330 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6331 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6332 exception being thrown with 0.0 as argument.
6333 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6334 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6335 exception being thrown with 0.0 as argument.
6336 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6337 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6338 exception being thrown with 0.0 as argument.
6339 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6340 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6341 exception being thrown with 0.0 as argument.
6342 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6343 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6344 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6345 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6346 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6347 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6348 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6349 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6350 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6351
0396e69d
PB
63522012-04-17 Petr Baudis <pasky@ucw.cz>
6353
6354 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6355 with altivec.
6356
750b5926
MP
63572012-04-16 Marek Polacek <polacek@redhat.com>
6358
6359 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6360
751728a1
MP
63612012-04-16 Marek Polacek <polacek@redhat.com>
6362
6363 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6364 operands of fdivp instruction.
6365
34a27407
L
63662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6367
6368 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6369 * elf/tst-auditmod3b.c: Likewise.
6370 * elf/tst-auditmod4b.c: Likewise.
6371 * elf/tst-auditmod5b.c: Likewise.
6372 * elf/tst-auditmod6b.c: Likewise.
6373 * elf/tst-auditmod6c.c: Likewise.
6374 * elf/tst-auditmod7b.c: Likewise.
6375 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6376 * sysdeps/x86_64/preconfigure.in: Likewise.
6377 * sysdeps/x86_64/preconfigure: Regenerated.
6378
7e73e17d
L
63792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6380
6381 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6382 __ILP32__.
6383
c7a6ab72
AB
63842012-04-13 Antoine Balestrat <merkil33@gmail.com>
6385
6386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6387 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6388
a9e8e0e0
CL
63892012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6390
6391 [BZ #13973]
6392 * locale/iso-639.def: Fix gl language name. Spotted by
6393 Yaron Shahrabani.
6394
ec98af7d
RM
63952012-04-12 Roland McGrath <roland@hack.frob.com>
6396
6397 [BZ #2074]
6398 * libio/libio.h (__io_write_fn): Update comment.
6399
247c3ede
PB
64002012-04-12 Petr Baudis <pasky@ucw.cz>
6401
6402 [BZ #2074]
6403 * stdio.texi (Hook Functions): The user provided writer function
6404 is not allowed to return -1.
6405
55939d6d
DM
64062012-04-11 David S. Miller <davem@davemloft.net>
6407
6408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6409
90020f5a
MF
64102012-04-11 Mike Frysinger <vapier@gentoo.org>
6411
6412 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6413 Add a leading slash to rtkaio.
6414
288f9098
JM
64152012-04-11 Jim Meyering <meyering@redhat.com>
6416
90020f5a
MF
6417 [BZ #11959]
6418 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6419 It is not necessarily an error to ignore fwrite's return
6420 value. One can reliably use ferror to test for errors after
6421 the fact.
288f9098 6422
4be2b570
L
64232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6424
6425 * bits/types.h (__snseconds_t): New type.
6426 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6427
6428 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6430 (__SNSECONDS_T_TYPE): Likewise.
6431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6432 (__SNSECONDS_T_TYPE): Likewise.
6433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6434 (__SNSECONDS_T_TYPE): Likewise.
6435
288f9098 64362012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6437
6438 [BZ #2636]
6439 * manual/time.texi (Processor Time): Return type of times is
6440 elapsed real time since an arbitrary point in the past.
6441 (CPU Time): Move CLK_TCK from here...
6442 (Processor Time): ...to here. Correct description.
6443 * manual/conf.texi (Constants for Sysconf): Correct description of
6444 _SC_CLK_TCK.
6445
d7dd4413
DM
64462012-04-10 David S. Miller <davem@davemloft.net>
6447
6448 [BZ #13967]
6449 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6450 where the is a gap between DT_REL(A) and DT_JMPREL.
6451
b46068fc
L
64522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6453
6454 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6455 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6456 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6457
73d65cc3
SP
64582012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6459
6460 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6461 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6462 (dl_main): Handle --inhibit-cache.
6463 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6464 _dl_inhibit_cache.
6465 * elf/dl-load.c (_dl_map_object): Use it.
6466 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6467
bcc8d661
JM
64682012-04-09 Joseph Myers <joseph@codesourcery.com>
6469
8f9a2fae
JM
6470 [BZ #13872]
6471 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6472 (__ieee754_powl): Saturate large exponents rather than testing for
6473 overflow of y*log2(x).
6474 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6475 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6476 exceptions.
6477
bcc8d661
JM
6478 [BZ #11521]
6479 * math/s_ctan.c: Include <float.h>.
6480 (__ctan): Avoid internal overflow or cancellation in calculating
6481 denominator.
6482 * math/s_ctanf.c: Likewise.
6483 * math/s_ctanl.c: Likewise.
6484 * math/s_ctanh.c: Likewise.
6485 * math/s_ctanhf.c: Likewise.
6486 * math/s_ctanhl.c: Likewise.
6487 * math/libm-test.inc (ctan_test): Add more tests.
6488 (ctanh_test): Likewise.
6489 * sysdeps/i386/fpu/libm-test-ulps: Update.
6490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6491
823fbbb4
AJ
64922012-04-09 Andreas Jaeger <aj@suse.de>
6493
03879793
AJ
6494 [BZ #6894]
6495 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6496 is an optional BSD extension.
6497
823fbbb4
AJ
6498 [BZ #10254]
6499 * manual/stdio.texi (Opening Streams): Document additional fopen
6500 parameters.
6501
8de131cb
RM
65022012-04-09 Roland McGrath <roland@hack.frob.com>
6503
6504 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6505 %eax without telling the compiler.
6506
c0ed9d7d
CD
65072012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6508
6509 [BZ # 13963]
6510 * manual/install.texi: Use sourceware.org.
6511
c483f6b4
JM
65122012-04-09 Joseph Myers <joseph@codesourcery.com>
6513
d7dd9453
JM
6514 [BZ #13873]
6515 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6516 (__ieee754_pow): Generate overflow and underflow using huge*huge
6517 and tiny*tiny rather than just returning constant infinity or zero
6518 for large exponents.
6519 * math/libm-test.inc (pow_test): Require overflow exceptions for
6520 applicable cases of large exponents.
6521
c483f6b4
JM
6522 [BZ #706]
6523 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6524 (__ieee754_pow): Use iterative multiplication algorithm only for
6525 integer exponents with absolute value below 1024. Check for odd
6526 integer exponents when using algorithm for real exponents.
6527 * math/libm-test.inc (pow_test): Add more tests.
6528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6529
d2de7579
JM
65302012-04-08 Joseph Myers <joseph@codesourcery.com>
6531
6532 [BZ #13705]
6533 * math/libm-test.inc (exp_test): Do not allow overflow exception
6534 on underflow test.
6535
f77f1232
AJ
65362012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6537
6538 [BZ #13705]
6539 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6540 instead of __kernel_standard_f.
6541
3884932b
MF
65422012-04-08 Mike Frysinger <vapier@gentoo.org>
6543
6544 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6545 * sysdeps/x86_64/memset_chk.S: Likewise.
6546
54472e9c
AJ
65472012-04-08 Andreas Jaeger <aj@suse.de>
6548
6ab0fbfc
AJ
6549 [BZ #10153]
6550 * manual/startup.texi (Environment Access): Describe return value
6551 for putenv and setenv.
6552
61efba8c
AJ
6553 [BZ #6895]
6554 * manual/filesys.texi (Directory Entries): Add description for
6555 DT_LNK.
6556
95c3f29a
AJ
6557 [BZ #6890]
6558 * manual/filesys.texi (Directory Entries): Clarify that it's file
6559 system not operating system in the description of DT_UNKNOWN.
6560
54472e9c
AJ
6561 [BZ #6578]
6562 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6563
624254b1
SC
65642012-04-08 Stephen Compall <s11@member.fsf.org>
6565
6566 [BZ #6649]
6567 * manual/llio.texi (Opening and Closing Files): Add cross
6568 reference to explain mode argument.
6569
1e4920e0
MF
65702012-04-07 Mike Frysinger <vapier@gentoo.org>
6571
6572 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6573 * sysdeps/x86_64/memset_chk.S: Likewise.
6574
5ed848f3
DM
65752012-04-07 David S. Miller <davem@davemloft.net>
6576
6577 * elf/elf.h (R_SPARC_WDISP10): Define.
6578 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6579 R_SPARC_SIZE32.
6580 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6581 R_SPARC_SIZE64 and R_SPARC_H34.
6582
96154cd8
CD
65832012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6584
6585 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6586 conditions and remove no longer applicable assertion.
6587
9904dc47
L
65882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6589
6590 * bits/byteswap.h: Include <features.h>.
6591 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6592 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6593
f8887d0a
L
65942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6595
6596 * bits/byteswap.h (__bswap_16): Removed.
6597 Include <bits/byteswap-16.h> to get __bswap_16.
6598 * sysdeps/i386/bits/byteswap.h: Likewise.
6599 * sysdeps/s390/bits/byteswap.h: Likewise.
6600 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6601 * bits/byteswap-16.h: New file.
6602 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6603 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6604 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6605 * string/Makefile (headers): Add bits/byteswap-16.h.
6606
62470f60
PP
66072012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6608
6609 [BZ #13895]
6610 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6611 extra indirection.
6612 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6613 * nss/tst-nss-static.c: New.
6614
4dad7bab
RM
66152012-04-06 Robert Millan <rmh@gnu.org>
6616
6617 [BZ #6486]
6618 * manual/llio.texi (File Position Primitive): lseek
6619 refers to WHENCE when it really means OFFSET.
6620
e9142a17
AJ
66212012-04-06 Andreas Jaeger <aj@suse.de>
6622
2c040eff
AJ
6623 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6624 strncmp declarations.
6625
e9142a17
AJ
6626 * abilist/libc.abilist: Add __poll and __ppoll.
6627
ff9f1c5f
DM
66282012-04-05 David S. Miller <davem@davemloft.net>
6629
dcd2ae90
DM
6630 * scripts/check-local-headers.sh: Accept a host triplet in the
6631 path matched by the exclude regexp.
6632
993eb054
DM
6633 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6634 definition.
6635 * sysdeps/powerpc/powerpc32/dl-machine.h
6636 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6637 * sysdeps/s390/s390-32/dl-machine.h
6638 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6639 * sysdeps/sparc/sparc32/dl-machine.h
6640 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6641 * sysdeps/sparc/sparc64/dl-machine.h
6642 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6643
ff9f1c5f
DM
6644 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6645 lazy binding.
48e2e132 6646 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6647 undefined symbol errors.
6648
48e2e132 6649 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6650 DT_NEEDED entries.
6651
e80d6f94
MM
66522012-04-05 Michael Matz <matz@suse.de>
6653
6654 [BZ #13592]
6655 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6656
349fa79f
AJ
66572012-04-05 Andreas Jaeger <aj@suse.de>
6658
6659 [BZ #13908]
6660 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6661 comment.
6662
f402708f
KK
66632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6664
6665 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6666 which ROUND is no valid rounding mode.
6667
2ecccfc9
KK
66682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6669
6670 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6671 read again.
6672 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6673
8a53f50f
KK
66742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6675
6676 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6677 an exception using FPU order intentionally.
6678
66792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6680
6681 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6682 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6683 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6684 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6685
d653abb7
SJ
66862012-04-05 Simon Josefsson <simon@josefsson.org>
6687
6688 [BZ #12340]
6689 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6690 EINVAL when BUFLEN is too smal.
6691
c3b1bf7d
TS
66922012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6693
6694 [BZ #13553]
6695 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6696 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6697
b1aa60f3
AJ
66982012-04-03 Andreas Jaeger <aj@suse.de>
6699
c3b1bf7d 6700 [BZ #13938]
67f60a26
AJ
6701 * manual/setjmp.texi (System V contexts): Fix sentence.
6702
b1aa60f3
AJ
6703 [BZ #13926]
6704 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6705 New macro for this case.
6706 [!__GNUC__] (__bswap_64): New inline function for this case.
6707 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6708 * bits/byteswap.h: Likewise.
6709 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6710 ull, guard with __GLIBC_HAVE_LONG_LONG.
6711
6712 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6713 __GLIBC_HAVE_LONG_LONG.
6714
6715 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6716 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6717
39c59c35
TMQMF
67182012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6719
6720 [BZ #13691]
6721 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6722 inptr and inend, rather than using last_ch.
6723
135ffda8
DM
67242012-04-02 David S. Miller <davem@davemloft.net>
6725
6726 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6727 * stdio-common/printf-parse.h (read_int): Change return type to
6728 'int', return -1 on INT_MAX overflow.
6729 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6730 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6731 overflows INT_MAX. Check for overflow of in-format-string precision
6732 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6733 SIZE_MAX not INT_MAX for integer overflow test.
6734 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6735 skip the construct in the format string but do not record anything.
6736 * stdio-common/bug22.c: Adjust to test both width/prevision
6737 INT_MAX overflow as well as total length INT_MAX overflow. Check
6738 explicitly for proper errno values.
6739
228c019e
TS
67402012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6741
302cadd3
TS
6742 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6743 CHAR_MAX.
6744 * string/test-strcmp.c [! WIDE]: Likewise.
6745 * time/tst-mktime2.c: Likewise for INT_MAX.
6746 * string/test-string.h: #include <sys/param.h> for MIN.
6747
228c019e
TS
6748 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6749 * sysdeps/i386/init-first.c (init): Likewise.
6750 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6751 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6752 * sysdeps/sh/init-first.c (init): Likewise.
6753
cfa633f5
UD
67542012-04-01 Ulrich Drepper <drepper@gmail.com>
6755
6756 * po/ru.po: Update from translation team.
d1635ef8 6757 * po/vi.po: Likewise.
cfa633f5 6758
6cd0a5ea
SP
67592012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6760
6761 * resolv/nss_dns/dns-host.c: Merge copyright years.
6762
4b43400f
LD
67632012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6764
6765 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6766 Optimize memcpy with prefetch if
6767 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6768 src, dst pointers have unequal 16 byte alignments.
6769
48c41d04
SP
67702012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6771
6772 [BZ #13928]
6773 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6774 from a CNAME entry and return the minimum ttl for the query.
6775 (gaih_getanswer_slice): Likewise.
6776
b8dc394d
JL
67772012-03-30 Jeff Law <law@redhat.com>
6778
6779 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6780 due to long keys.
6781 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6782 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6783
2f5a5ed0
JL
6784 * resolv/nss_dns/dns-host.c: Update copyright year.
6785
1d39e359
UD
67862012-03-30 Ulrich Drepper <drepper@gmail.com>
6787
c030f70c 6788 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6789 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6790
1d39e359
UD
6791 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6792 comments for sendmmsg.
6793
67942012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6795
6796 [BZ #13691]
6797 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6798 with only 1 character between 0x0041 and 0x01b0.
6799 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6800 * wcsmbs/tst-mbsnrtowcs.c: New file.
6801
20fde227
DM
68022012-03-29 David S. Miller <davem@davemloft.net>
6803
6804 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6805 small copies by hand.
6806
984a4237
JL
68072012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6808
6809 [BZ #13761]
6810 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6811 _nss_compat_initgroups_dyn): Fall back to malloc/free
6812 for large group memberships.
6813
18c9d62b
DM
68142012-03-28 David S. Miller <davem@davemloft.net>
6815
88d85d4f
DM
6816 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6817 that branches into memcpy.
6818 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6819 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6820 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6821 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6822 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6823 bits.
6824 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6825 implementation too.
6826 * sysdeps/sparc/mempcpy.S: New file.
6827
e5aa83e1
DM
6828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6829 the IFUNC routine in the libc case.
6830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6831
88570753
DM
6832 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6833 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6834 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6835 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6836 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6837 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6838 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6839 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6840
249d7567
DM
6841 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6842 loop to 256 bytes instead of 64 bytes and fix test signedness.
6843
18c9d62b
DM
6844 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6845 * sysdeps/sparc/sparc32/Makefile: rather than here...
6846 * sysdeps/sparc/sparc64/Makefile: and here.
6847
05f3d1f6
UD
68482012-03-28 Ulrich Drepper <drepper@gmail.com>
6849
6850 * malloc/mallocbug.c: Avoid warnings about unused variables.
6851
86ae07a8
JL
68522012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6853
6854 [BZ #13760]
6855 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6856 in the right place. Discard and retry query if response is
6857 larger than input buffer size.
6858
41bf21a1
JM
68592012-03-28 Joseph Myers <joseph@codesourcery.com>
6860
d6270972
JM
6861 [BZ #369]
6862 [BZ #2678]
6863 [BZ #3866]
6864 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6865 x for large integer exponent.
6866 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6867 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6868 sign of result as needed afterwards.
6869 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6870 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6871 result for underflowing pow the same as for overflow.
6872 (__kernel_standard_l): Handle powl overflow and underflow here
6873 rather than calling __kernel_standard.
6874 * math/libm-test.inc (pow_test): Add more tests.
6875
414fca03 6876 [BZ #3868]
41bf21a1
JM
6877 [BZ #13879]
6878 [BZ #13910]
6879 [BZ #13911]
6880 [BZ #13912]
6881 [BZ #13913]
6882 [BZ #13915]
6883 [BZ #13916]
6884 [BZ #13917]
6885 [BZ #13918]
6886 [BZ #13919]
6887 [BZ #13920]
6888 [BZ #13921]
6889 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6890 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6891 (__kernel_standard_l): New function.
6892 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6893 __kernel_standard.
6894 * math/w_acosl.c (__acosl): Likewise.
6895 * math/w_asinl.c (__asinl): Likewise.
6896 * math/w_atan2l.c (__atan2l): Likewise.
6897 * math/w_atanhl.c (__atanhl): Likewise.
6898 * math/w_coshl.c (__coshl): Likewise.
6899 * math/w_exp10l.c (__exp10l): Likewise.
6900 * math/w_exp2l.c (__exp2l): Likewise.
6901 * math/w_fmodl.c (__fmodl): Likewise.
6902 * math/w_hypotl.c (__hypotl): Likewise.
6903 * math/w_j0l.c (__j0l, __y0l): Likewise.
6904 * math/w_j1l.c (__j1l, __y1l): Likewise.
6905 * math/w_jnl.c (__jnl, __ynl): Likewise.
6906 * math/w_lgammal.c (__lgammal): Likewise.
6907 * math/w_log10l.c (__log10l): Likewise.
6908 * math/w_log2l.c (__log2l): Likewise.
6909 * math/w_logl.c (__logl): Likewise.
6910 * math/w_powl.c (__powl): Likewise.
6911 * math/w_remainderl.c (__remainderl): Likewise.
6912 * math/w_scalbl.c (sysv_scalbl): Likewise.
6913 * math/w_sinhl.c (__sinhl): Likewise.
6914 * math/w_sqrtl.c (__sqrtl): Likewise.
6915 * math/w_tgammal.c (__tgammal): Likewise.
6916 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6917 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6918 * math/libm-test.inc (acos_test): Add more tests.
6919 (acosh_test): Likewise.
6920 (asin_test): Likewise.
6921 (atanh_test): Likewise.
6922 (exp_test): Likewise.
6923 (exp10_test): Likewise.
6924 (exp2_test): Likewise.
6925 (expm1_test): Likewise.
6926 (lgamma_test): Likewise.
6927 (log_test): Likewise.
6928 (log10_test): Likewise.
6929 (log1p_test): Likewise.
6930 (log2_test): Likewise.
6931 (pow_test): Do not allow some spurious overflow exceptions.
6932 (sqrt_test): Add more tests.
6933 (tgamma_test): Likewise.
6934 (y0_test): Likewise.
6935 (y1_test): Likewise.
6936 (yn_test): Likewise.
6937
dd62fda6
AB
69382012-03-27 Anton Blanchard <anton@samba.org>
6939
6940 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6941 MAP_HUGETLB.
6942 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6943 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6944 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6945
1e3cdfda
AJ
69462012-03-27 David S. Miller <davem@davemloft.net>
6947
b855ab85
DM
6948 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6949
1e3cdfda
AJ
6950 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6951 have-as-vis3 check.
6952
69532012-03-27 Andreas Jaeger <aj@suse.de>
6954
6955 * sysdeps/x86_64/elf/configure.in: Moved to ...
6956 * sysdeps/x86_64/configure.in: ... here.
6957 * sysdeps/x86_64/elf/start.S: Moved to ...
6958 * sysdeps/x86_64/start.S: ... here.
6959 * sysdeps/x86_64/elf/configure: Delete.
6960
6961 * sysdeps/x86_64/configure.in: Merge contents from
6962 sysdeps/i386/configure.in (without i686 check).
6963
6964 * sysdeps/i386/elf/Versions: Merge into ...
6965 * sysdeps/i386/Versions: ... this.
6966 * sysdeps/i386/elf/Versions: Delete file.
6967 * sysdeps/i386/elf/start.S: Moved to ...
6968 * sysdeps/i386/start.S: ...here.
6969 * sysdeps/i386/elf/configure.in: Merge into...
6970 * sysdeps/i386/configure.in: ...here.
6971 * sysdeps/i386/elf/configure.in: Delete file.
6972 * sysdeps/i386/elf/configure: Delete file.
6973
6974 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6975 * debug/backtracesyms.c: ... here.
6976 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6977 * debug/backtracesymsfd.c: ... here.
6978 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6979 * sysdeps/generic/ifunc-sel.h: ... here.
6980
6981 * sysdeps/unix/i386/start.c: Delete file.
6982 * sysdeps/unix/sparc/start.c: Delete file.
6983 * sysdeps/unix/start.c: Delete file.
6984
6985 * sysdeps/sh/elf/configure.in: Moved to ...
6986 * sysdeps/sh/configure.in: ... here.
6987 * sysdeps/sh/elf/start.S: Moved to ...
6988 * sysdeps/sh/start.S: ... here.
6989 * sysdeps/sh/elf/configure: Delete file.
6990
6991 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6992 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6993 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6994 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6995 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6996 * sysdeps/powerpc/powerpc64/start.S: here.
6997 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6998 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6999 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7000 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7001 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7002
7003 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7004 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7005 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7006 * sysdeps/powerpc/powerpc32/start.S: ... here.
7007 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7008 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7009 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7010
7011 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7012 * sysdeps/powerpc/ifunc-sel.h: ... here.
7013 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7014 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7015
7016 * sysdeps/sparc/elf/configure.in: Moved to ...
7017 * sysdeps/sparc/configure.in: ... here.
7018 * sysdeps/sparc/elf/configure: Delete file.
7019 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7020 * sysdeps/sparc/sparc32/start.S: ... here.
7021 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7022 * sysdeps/sparc/sparc64/start.S: ... here.
7023 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7024 * sysdeps/sparc/sparc32/Makefile: ... this.
7025 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7026 * sysdeps/sparc/sparc64/Makefile: ... this.
7027
7028 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7029 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7030 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7031 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7032 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7033 * sysdeps/s390/s390-32/setjmp.S: ... here.
7034 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7035 * sysdeps/s390/s390-32/configure.in: ... here.
7036 * sysdeps/s390/s390-32/elf/configure: Delete file.
7037 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7038 * sysdeps/s390/s390-32/start.S: ... here.
7039
7040 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7041 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7042 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7043 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7044 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7045 * sysdeps/s390/s390-64/setjmp.S: ... here.
7046 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7047 * sysdeps/s390/s390-64/configure.in: ... here
7048 * sysdeps/s390/s390-64/elf/configure: Delete file.
7049 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7050 * sysdeps/s390/s390-64/start.S: ... here.
7051 * sysdeps/s390/s390-64/elf/configure: Delete.
7052
7053 * configure.in: Remove support for elf directories in sysdeps.
7054
7055 * configure: Regenerated.
7056 * sysdeps/i386/configure: Regenerated.
7057 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7058 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7059 * sysdeps/s390/s390-32/configure: Regenerated.
7060 * sysdeps/s390/s390-64/configure: Regenerated.
7061 * sysdeps/sh/configure: Regenerated.
7062 * sysdeps/sparc/configure: Regenerated.
7063 * sysdeps/x86_64/configure: Regenerated.
7064
a3f61311
AS
70652012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7066
c876e002
AS
7067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7068
a3f61311
AS
7069 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7070 denormal result into account.
7071
ac4c54f0
RM
70722012-03-25 Roland McGrath <roland@hack.frob.com>
7073
7074 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7075 Reported by Allan McRae <allan@archlinux.org>.
7076
6a9b9c02
JL
70772012-03-23 Jeff Law <law@redhat.com>
7078
7079 * nss/getnssent.c (__nss_getent): Fix typo.
7080
4c42a0c1
DM
70812012-03-23 David S. Miller <davem@davemloft.net>
7082
7083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7084
1532c7ac
L
70852012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7086
7087 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7088 to pad to uint64_t for each field.
7089 (dl_tls_index): Replace unsigned long with uint64_t.
7090
3ff42526
PP
70912012-03-23 Daniel Jacobowitz <dmj@google.com>
7092 Paul Pluzhnikov <ppluzhnikov@google.com>
7093
7094 [BZ #6528]
7095 * grp/Makefile (otherlibs): Don't set it.
7096 * inet/Makefile (otherlibs): Likewise.
7097 * login/Makefile (otherlibs): Likewise.
7098 * nscd/Makefile (otherlibs): Likewise.
7099 * posix/Makefile (otherlibs): Likewise.
7100 * pwd/Makefile (otherlibs): Likewise.
7101 * rt/Makefile (otherlibs): Likewise.
7102 * sunrpc/Makefile (otherlibs): Likewise.
7103 * nss/Makefile (otherlibs): Likewise.
7104 Add libnss_files to routines and static-only-routines.
7105 ($(objpfx)getent): Remove rule.
7106 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7107 static-only-routines.
7108
7c69cd14
JM
71092012-03-22 Joseph Myers <joseph@codesourcery.com>
7110
7111 [BZ #13892]
7112 * math/s_cexp.c: Include <float.h>.
7113 (__cexp): Handle exp result overflowing not necessarily
7114 overflowing both real and imaginary parts of result.
7115 * math/s_cexpf.c: Likewise.
7116 * math/s_cexpl.c: Likewise.
7117 * math/libm-test.inc (cexp_test): Add more tests.
7118 * sysdeps/i386/fpu/libm-test-ulps: Update.
7119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7120
81b035fe
L
71212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7122
7123 * include/link.h (ELFW): New macro.
7124 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7125 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7126
1da7940c
L
71272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7128
7129 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7130 with uint64_t.
7131
b749dbb9
L
71322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7133
7134 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7135 declaration.
7136 (struct La_x32_retval): Likewise.
7137
2ff87f3f
L
71382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7139
7140 * sysdeps/x86_64/preconfigure.in: New file.
7141 * sysdeps/x86_64/preconfigure: New generated file.
7142
c0df8e69
JM
71432012-03-22 Joseph Myers <joseph@codesourcery.com>
7144
48e44791
JM
7145 [BZ #13824]
7146 * math/e_exp2l.c: Include <float.h>.
7147 (__ieee754_exp2l): Handle overflow and underflow cases
7148 separately. Only pass fractional part of argument to
7149 __ieee754_expl.
7150 * math/libm-test.inc (exp2_test): Add more tests.
7151
c0df8e69
JM
7152 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7153 negating x to take absolute value.
7154 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7155 Likewise.
7156 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7157 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7158 Likewise.
7159 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7160 computing low part if x was negated.
7161 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7162
c8e43ba7
L
71632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7164
7165 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7166 la_x32_gnu_pltexit.
7167 (pltexit): Cast int_retval to ptrdiff_t.
7168 * elf/tst-auditmod3b.c: Likewise.
7169 * elf/tst-auditmod4b.c: Likewise.
7170 * elf/tst-auditmod5b.c: Likewise.
7171 * elf/tst-auditmod6b.c: Likewise.
7172 * elf/tst-auditmod6c.c: Likewise.
7173 * elf/tst-auditmod7b.c: Likewise.
7174
7175 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7176 and x32_gnu_pltexit.
7177
7178 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7179 __ELF_NATIVE_CLASS.
7180 (La_x32_regs): New macro.
7181 (La_x32_retval): Likewise.
7182 (la_x32_gnu_pltenter): New function prototype.
7183 (la_x32_gnu_pltexit): Likewise.
7184
7998fa78
AS
71852012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7186
dcb33988
AS
7187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7188 exponent.
7189
233fc563
AS
7190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7191
7998fa78
AS
7192 * configure.in (libc_cv_cc_nofma): Check for option to disable
7193 generation of FMA instructions.
7194 * configure: Regenerate.
7195 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7196 * sysdeps/ieee754/dbl-64/Makefile: New file.
7197 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7198 Remove brandred-fma4.
7199 (CFLAGS-brandred-fma4.c): Remove.
7200 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7201 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7202 define.
7203 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7204 define.
7205
8e95c99a
L
72062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7207
7208 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7209 LLONG_MAX != LONG_MAX.
7210 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7211 (_fitoa_word): Likewise.
7212 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7213 LLONG_MAX != LONG_MAX.
7214 * stdio-common/_itowa.h: Include <_itoa.h>.
7215 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7216 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7217 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7218 only if not defined.
7219 (_ITOA_WORD_TYPE): Likewise.
7220 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7221 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7222
6f4db457
DM
72232012-03-21 David S. Miller <davem@davemloft.net>
7224
7225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7226
7785fe5a
L
72272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7228
7229 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7230 of x86_64 when setting libc_cv_slibdir, libdir and
7231 libc_cv_localedir.
7232 * sysdeps/unix/sysv/linux/configure: Regenerated.
7233
4535cd55
JM
72342012-03-21 Joseph Myers <joseph@codesourcery.com>
7235
7236 * manual/lang.texi (Old Varargs): Remove section.
7237 (How Variadic): Update menu.
7238 (va_start): Do not mention varargs.h.
7239
17228132
TS
72402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7241 Joseph Myers <joseph@codesourcery.com>
7242
7243 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7244 link test.
7245 * configure: Regenerated.
7246
8149f976
TS
72472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7248
05f3d1f6
UD
7249 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7250 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7251 conformtest.pl
8149f976 7252
1a4ac776
JM
72532012-03-21 Joseph Myers <joseph@codesourcery.com>
7254
be22ce65
JM
7255 * NOTES: Remove.
7256 * Makefile (files-for-dist): Remove NOTES.
7257 (NOTES): Remove rule.
7258 * README: Don't refer to NOTES.
7259 * manual/creature.texi: Don't include macros.texi.
7260 * manual/intro.texi (creature.texi): Remove comment referring to
7261 NOTES.
7262
40b601fb
JM
7263 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7264 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7265 * configure: Regenerated.
7266 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7267 LIBC_TRY_CC_OPTION.
7268 (libc_cv_as_i686): Likewise.
7269 (libc_cv_cc_avx): Likewise.
7270 (libc_cv_cc_sse2avx): Likewise.
7271 (libc_cv_cc_fma4): Likewise.
7272 (libc_cv_cc_novzeroupper): Likewise.
7273 * sysdeps/i386/configure: Regenerated.
7274
1a4ac776
JM
7275 [BZ #13883]
7276 * sysdeps/i386/fpu/s_cexp.S: Remove.
7277 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7278 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7279 * math/libm-test.inc (cexp_test): Add more tests.
7280 * sysdeps/i386/fpu/libm-test-ulps: Update.
7281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7282
a458e7fe
AM
72832012-03-21 Allan McRae <allan@archlinux.org>
7284
7285 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7286
0cb7efc5
JM
72872012-03-21 Joseph Myers <joseph@codesourcery.com>
7288
7289 [BZ #13871]
7290 * math/w_exp2.c: Do not include <float.h>.
7291 (o_threshold, u_threshold): Remove.
7292 (__exp2): Calculate result before checking finiteness and calling
7293 __kernel_standard.
7294 * math/w_exp2f.c: Likewise.
7295 * math/w_exp2l.c: Likewise.
7296 * math/libm-test.inc (exp2_test): Require overflow exception for
7297 1e6 input.
2460d3aa
JM
7298
7299 [BZ #3866]
7300 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7301 range of signed 64-bit integers before using fistpll. Remove
7302 checks for whether integers fit in mantissa bits.
7303 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7304 the range of signed 32-bit integers before using fistpl. Remove
7305 checks for whether integers fit in mantissa bits.
7306 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7307 (__ieee754_powl): Test for y outside the range of signed 64-bit
7308 integers before using fistpll. Reduce 64-bit values to 63-bit
7309 ones as needed.
7310 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7311 divide-by-zero is raised for zero to large negative powers.
7312 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7313 (__ieee754_powl): Test for y outside the range of signed 64-bit
7314 integers before using fistpll. Reduce 64-bit values to 63-bit
7315 ones as needed.
7316 * math/libm-test.inc (pow_test): Add more tests.
7317
eb96ffb0
L
73182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7319
7320 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7321 <stdio-common/_itoa.h>.
7322 * debug/segfault.c: Likewise.
7323 * elf/dl-cache.c: Likewise.
7324 * elf/dl-minimal.c: Likewise.
7325 * elf/dl-misc.c: Likewise.
7326 * elf/dl-sysdep.c: Likewise.
7327 * elf/dl-version.c: Likewise.
7328 * elf/rtld.c: Likewise.
7329 * hurd/hurdsock.c: Likewise.
7330 * hurd/lookup-retry.c: Likewise.
7331 * malloc/malloc.c: Likewise.
7332 * malloc/mtrace.c: Likewise.
7333 * nscd/nscd_getgr_r.c: Likewise.
7334 * nscd/nscd_getpw_r.c: Likewise.
7335 * nscd/nscd_getserv_r.c: Likewise.
7336 * posix/getopt_init.c: Likewise.
7337 * posix/wordexp.c: Likewise.
7338 * stdio-common/_itoa.c: Likewise.
7339 * stdio-common/printf_fphex.c: Likewise.
7340 * stdio-common/vfprintf.c: Likewise.
7341 * string/_strerror.c: Likewise.
7342 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7343 * sysdeps/i386/i686/hp-timing.h: Likewise.
7344 * sysdeps/mach/_strerror.c: Likewise.
7345 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7346 * sysdeps/mach/hurd/sethostid.c: Likewise.
7347 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7348 * sysdeps/mach/xpg-strerror.c: Likewise.
7349 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7350 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7351 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7352 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7353 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7354 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7355 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7356 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7357 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7358 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7359 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7360 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7361 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7362 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7363 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7364 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7365 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7366 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7367 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7368 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7369 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7370
7371 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7372
7373 * stdio-common/_itoa.h: Moved to ...
7374 * sysdeps/generic/_itoa.h: Here.
7375
7376 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7377
7378 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7379 instead of "_itoa.h" and "_itowa.h".
7380 * stdio-common/vfprintf.: Likewise.
7381
d1af992d
L
73822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7383
7384 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7385 <bits/wordsize.h>.
7386 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7387 (__signbit): Likwise.
7388 (llrintf): Likwise.
7389 (llrint): Likwise.
7390
114883e0
L
73912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7392
7393 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7394 __WORDSIZE != 64.
7395
c135cc1b
JM
73962012-03-20 Joseph Myers <joseph@codesourcery.com>
7397
7398 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7399 OVERFLOW_EXCEPTION_OK.
7400 * math/libm-test.inc ("Philosophy"): Update comment about
7401 exception testing.
7402 (OVERFLOW_EXCEPTION): Define.
7403 (OVERFLOW_EXCEPTION_OK): Likewise.
7404 (INVALID_EXCEPTION_OK): Renumber.
7405 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7406 (IGNORE_ZERO_INF_SIGN): Likewise.
7407 (test_exceptions): Handle FE_OVERFLOW.
7408 (exp10_test): Expect overflow exceptions.
7409 (exp2_test): Likewise.
7410 (expm1_test): Likewise.
7411 (nextafter_test): Likewise.
7412 (pow_test): Likewise.
7413 (scalbn_test): Likewise.
7414 (scalbln_test): Likewise.
7415
95443d88
L
74162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7417
7418 * sysdeps/x86_64/bits/atomic.h
7419 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7420 64bit integer.
7421 (atomic_exchange_acq): Likewise.
7422 (__arch_exchange_and_add_body): Likewise.
7423 (__arch_add_body): Likewise.
7424 (atomic_add_negative): Likewise.
7425 (atomic_add_zero): Likewise.
7426
490df6c4
L
74272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7428
c2722551 7429 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7430 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7431
5e52b189
L
74322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7433
7434 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7435 Check __x86_64__ instead of __WORDSIZE.
7436
a9879d4c
L
74372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7438
7439 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7440
5df98260
DM
74412012-03-19 David S. Miller <davem@davemloft.net>
7442
e1497744
DM
7443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7444
5df98260
DM
7445 * sysdeps/sparc/fpu/fenv_private.h: New file.
7446 * sysdeps/sparc/fpu/math_private.h: Use it.
7447 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7448 Remove.
7449 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7450 (libc_feholdexcept_setroundl): Remove.
7451 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7452 Remove.
7453 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7454 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7455
b4c35121
L
74562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7457
7458 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7459 int64_t instead of long int.
7460 (INSERT_WORDS64): Likwise.
7461
56965fd7
L
74622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7463
7464 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7465 _Unwind_GetCFA return to _Unwind_Ptr first.
7466
83d1aec8
JM
74672012-03-19 Joseph Myers <joseph@codesourcery.com>
7468
1897ad44
JM
7469 [BZ #13629]
7470 * math/s_clog.c: Include <float.h>.
7471 (__clog): Scale large or subnormal inputs.
7472 * math/s_clogf.c: Likewise.
7473 * math/s_clogl.c: Likewise.
7474 * math/s_clog10.c: Include <float.h>.
7475 (M_LOG10_2): Define.
7476 (__clog10): Scale large or subnormal inputs.
7477 * math/s_clog10f.c: Likewise.
7478 * math/s_clog10l.c: Likewise.
7479 * math/libm-test.inc (clog_test): Add more tests.
7480 (clog10_test): Likewise.
7481 * sysdeps/i386/fpu/libm-test-ulps: Update.
7482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7483
7726d6a9
JM
7484 [BZ #11451]
7485 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7486 x and y.
7487 * math/libm-test.inc (atan2_test): Add another test.
7488
83d1aec8
JM
7489 * Makerules (common-objdir-compile): Remove.
7490 * sysdeps/unix/Makefile (config-generated): Do not add
7491 $(unix-generated) to variable.
7492 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7493 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7494 Remove rule.
7495 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7496 Likewise.
7497 [generic bits/local_lim.h] (before-compile): Do not append to
7498 variable.
7499 [generic bits/local_lim.h] (common-generated): Likewise.
7500 [generic sys/param.h] (before-compile): Do not append to variable.
7501 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7502 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7503 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7504 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7505 include.
7506 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7507 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7508 [generic sys/param.h] ($(addprefix
7509 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7510 [generic sys/param.h] (common-generated): Do not append to
7511 variable.
7512 [generic sys/param.h] (sysdep_headers): Likewise.
7513 [generic bits/errno.h] (before-compile): Do not append to
7514 variable.
7515 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7516 rule.
7517 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7518 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7519 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7520 [generic bits/errno.h] (common-generated): Do not append to
7521 variable.
7522 [generic bits/ioctls.h] (before-compile): Do not append to
7523 variable.
7524 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7525 rule.
7526 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7527 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7528 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7529 rule.
7530 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7531 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7532 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7533 [generic bits/ioctls.h] (common-generated): Do not append to
7534 variable.
7535 [generic sys/syscall.h] (syscall.h): Remove variable.
7536 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7537 rule.
7538 [generic sys/syscall.h] (before-compile): Do not append to
7539 variable.
7540 [generic sys/syscall.h] (common-generated): Likewise.
7541 * sysdeps/unix/errnos-tmpl.c: Remove file.
7542 * sysdeps/unix/errnos.awk: Likewise.
7543 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7544 * sysdeps/unix/ioctls.awk: Likewise.
7545 * sysdeps/unix/mk-local_lim.c: Likewise.
7546 * sysdeps/unix/snarf-ioctls: Likewise.
7547
4851a949
RH
75482012-03-19 Richard Henderson <rth@twiddle.net>
7549
bd37f2ee
RH
7550 * sysdeps/i386/fpu/fenv_private.h: New file.
7551 * sysdeps/i386/fpu/math_private.h: Use it.
7552 (math_opt_barrier, math_force_eval): Remove.
7553 (libc_feholdexcept_setround_53bit): Remove.
7554 (libc_feupdateenv_53bit): Remove.
7555 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7556 (math_opt_barrier, math_force_eval): Remove.
7557 (libc_feholdexcept): Remove.
7558 (libc_feholdexcept_setround): Remove.
7559 (libc_fetestexcept, libc_fesetenv): Remove.
7560 (libc_feupdateenv_test): Remove.
7561 (libc_feupdateenv, libc_feholdsetround): Remove.
7562 (libc_feresetround): Remove.
7563
d0adc922
RH
7564 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7565 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7566
0fe0f1f8
RH
7567 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7568 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7569 (libc_feupdateenv_testl): New.
7570 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7571 (libc_feupdateenv_testf): New.
7572 (libc_feupdateenv): Use libc_feupdateenv_test.
7573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7574 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7575
eb92c487
RH
7576 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7577 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7578 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7579 (libc_feresetround_noex): New.
7580 (libc_feresetround_noexf): New.
7581 (libc_feresetround_noexl): New.
7582 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7583 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7584 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7585 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7586 SET_RESTORE_ROUND.
7587 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7589 (__cos): Likewise.
7590 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7591 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7592 SET_RESTORE_ROUND_NOEX.
7593 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7594 SET_RESTORE_ROUND_NOEXF.
7595 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7596 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7597 (libc_feholdsetroundf): New.
7598 (libc_feresetround, libc_feresetroundf): New.
7599
7d2e8012
RH
7600 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7601 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7602 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7603
b4dabbb4
RH
7604 * sysdeps/generic/math_private.h: Include <fenv.h>.
7605 (default_libc_feholdexcept): New.
7606 (default_libc_feholdexcept_setround): New.
7607 (default_libc_fesetenv, default_libc_feupdateenv): New.
7608 (libc_feholdexcept): Only define if undefined.
7609 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7610 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7611 (libc_feholdexcept_setroundl): Likewise.
7612 (libc_feholdexcept_setround_53bit): Likewise.
7613 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7614 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7615 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7616 (libc_feupdateenv_53bit): Likewise.
7617 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7618 (libc_feholdexcept): Convert from macro to inline function.
7619 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7620 (libc_fesetenv, libc_feupdateenv): Likewise.
7621
4851a949
RH
7622 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7623 not previously defined.
7624 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7625 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7626 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7627 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7628 * sysdeps/ieee754/flt-32/math_private.h: New file.
7629 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7630 math_private.h below SET_FLOAT_WORD.
7631 (__isnan, __isinf_ns, __finite): Remove.
7632 (__isnanf, __isinf_nsf, __finitef): Remove.
7633
e79d442e
AS
76342012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7635
7636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7637
90b80344
DM
76382012-03-17 David S. Miller <davem@davemloft.net>
7639
7640 [BZ #6471]
7641 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7642 for 2.16.
7643
edc21804
DM
76442012-03-16 David S. Miller <davem@davemloft.net>
7645
77e927af
DM
7646 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7647 warnings.
7648
374976dd
DM
7649 [BZ #6471]
7650 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7651 properly.
7652 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7653 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7654 sysdep_routines when subdir is sysvipc.
7655 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7656 __getshmlba helper.
7657
edc21804
DM
7658 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7659
473c3ef3
L
76602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7661
7662 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7663 [__LP64__].
7664
eb0f39b6
L
76652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7666
7667 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7668 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7669 (__lround): Renamed to ...
7670 (__llround): This. Replace long int with long long int.
7671 Define lround functions as aliases of llround functions.
7672 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7673
6b6cd74b
L
76742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7675
7676 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7677 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7678 adresses to uintptr_t. Replace "long int" and "unsigned long
7679 int" with "greg_t" on va_arg.
7680
f1a77b01
L
76812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7682
7683 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7684 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7685
7686 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7687 Move e_machine check before EI_CLASS check. Handle x32
7688 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7689 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7690 SKIP_EM_IA_64 and include
7691 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7692
7693 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7694 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7695 (add_system_dir): New macro.
7696
7697 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7698 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7699
11b90b9f
JM
77002012-03-16 Joseph Myers <joseph@codesourcery.com>
7701
c36e1d23
JM
7702 [BZ #2551]
7703 [BZ #2552]
7704 [BZ #2553]
7705 [BZ #2554]
7706 [BZ #2562]
7707 [BZ #2563]
7708 [BZ #2565]
7709 [BZ #2566]
7710 [BZ #2576]
7711 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7712 (y0): Likewise.
7713 * math/w_j0f.c (j0f): Likewise.
7714 (y0f): Likewise.
7715 * math/w_j0l.c (__j0l): Likewise.
7716 (__y0l): Likewise.
7717 * math/w_j1.c (j1): Likewise.
7718 (y1): Likewise.
7719 * math/w_j1f.c (j1f): Likewise.
7720 (y1f): Likewise.
7721 * math/w_j1l.c (__j1l): Likewise.
7722 (__y1l): Likewise.
7723 * math/w_jn.c (jn): Likewise.
7724 (yn): Likewise.
7725 * math/w_jnf.c (jnf): Likewise.
7726 (ynf): Likewise.
7727 * math/w_jnl.c (__jnl): Likewise.
7728 (__ynl): Likewise.
7729 * math/libm-test.inc (j0_test): Add more tests.
7730 (j1_test): Likewise.
7731 (jn_test): Likewise. Add trailing semicolon to existing test.
7732 (y0_test): Likewise.
7733 (y1_test): Likewise.
7734 * sysdeps/i386/fpu/libm-test-ulps: Update.
7735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7736
11b90b9f
JM
7737 [BZ #13851]
7738 [BZ #13854]
7739 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7740 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7741 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7742 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7743 (__tanl): Set errno for infinite argument.
7744 * sysdeps/i386/fpu/mptan.c: Remove.
7745 * sysdeps/i386/fpu/s_tan.S: Likewise.
7746 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7747 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7748 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7749 * math/libm-test.inc (tan_test): Add more tests and enable more
7750 tests for double and long double.
7751 * sysdeps/i386/fpu/libm-test-ulps: Update.
7752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7753
6a1bd2a1
JK
77542012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7755
7756 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7757 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7758
10a803e0
RM
77592012-03-16 Roland McGrath <roland@hack.frob.com>
7760
7761 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7762 * configure.in: Use it for both main tree and add-ons.
7763 * configure: Regenerated.
7764
f196c7f7
L
77652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7766
7767 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7768
8848d99d
JM
77692012-03-16 Joseph Myers <joseph@codesourcery.com>
7770
96cbe7f4
JM
7771 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7772 in comment.
7773
8848d99d
JM
7774 [BZ #13851]
7775 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7776 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7780 infinite argument.
7781 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7782 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7783 != 0 for prec == 2.
7784 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7785 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7786 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7787 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7788 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7789 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7790 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7791 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7792 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7793 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7794 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7795 * math/libm-test.inc (cos_test): Add more tests and enable more
7796 tests for long double.
7797 (sin_test): Likewise.
7798 (sincos_test): Likewise.
7799 * sysdeps/i386/fpu/libm-test-ulps: Update.
7800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7801
dd7f4703
DM
78022012-03-16 David S. Miller <davem@davemloft.net>
7803
7804 * sysdeps/sparc/fpu/math_private.h: New file.
7805
006f1daa
DM
78062012-03-15 David S. Miller <davem@davemloft.net>
7807
c0c83bc8
DM
7808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7809 file.
e6a62e18 7810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7812 file.
e6a62e18
DM
7813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7818 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7819 sysdep routines.
7820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7821
88cb87d9
DM
7822 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7823 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7824
006f1daa 7825 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7827 sparc-ifunc.h
006f1daa 7828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7830 Likewise.
7831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7832 Likewise.
006f1daa
DM
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7837 Likewise.
006f1daa
DM
7838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7843 Likewise.
7844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7845 Likewise.
006f1daa
DM
7846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7870
11e0098e
AS
78712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7872
7873 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7874 scaling.
7875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7876
e85b09d0
AJ
78772012-03-15 Andreas Jaeger <aj@suse.de>
7878
7879 [BZ #13852]
7880 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7881 ieee754/flt-32 implementation for sin, cos and sincos.
7882 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7883 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7884 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7885 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7886 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7887 ieee754/flt-32 implementation for tan.
7888
7889 * math/libm-test.inc (cos_test): Enable some large input tests for
7890 float as well
7891 (sin_test): Likewise.
7892 (sincos_test): Likewise.
7893 (tan_test): Add tests for large input.
7894
7895 * sysdeps/i386/fpu/libm-test-ulps: Update.
7896
81c64153
AJ
78972012-03-15 Andreas Jaeger <aj@suse.de>
7898
7899 [BZ #13658]
7900 * math/libm-test.inc (cos_test): Add more test cases.
7901 (sin_test): Likewise.
7902 (sincos_test): Likewise.
7903
7bbfa5c6
AJ
79042012-03-15 Andreas Jaeger <aj@suse.de>
7905
7906 [BZ #13837]
7907 * math/libm-test.inc (cos_test): Add a test case for large input
7908 value.
7909 (sin_test): Likewise.
7910 (sincos_test): Likewise.
7911
79122012-03-15 Andreas Jaeger <aj@suse.de>,
7913 Joseph Myers <joseph@codesourcery.com>
7914
7915 [BZ #13658]
0671f479 7916 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7917 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7918 * sysdeps/i386/fpu/branred.c: Likewise.
7919 * sysdeps/i386/fpu/dosincos.c: Likewise.
7920 * sysdeps/i386/fpu/mpa.c: Likewise.
7921 * sysdeps/i386/fpu/s_cos.S: Likewise.
7922 * sysdeps/i386/fpu/s_sin.S: Likewise.
7923 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7924 * sysdeps/i386/fpu/sincos32.c: Likewise.
7925
7926 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7927 Define.
7928 (libc_feupdateenv_53bit): Define.
7929 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7930 Define.
7931 (libc_feupdateenv_53bit): Define.
7932
7933 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7934 53 bit (without extend i386 double precision).
7935
7936 * math/libm-test.inc (sincos_test): Add tests for large input.
7937 (sin): Likewise.
7938 (cos): Likewise.
7939
7940 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7941
9cad04ea
AS
79422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7943
7944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7945
f7062b9a
DM
79462012-03-15 David S. Miller <davem@davemloft.net>
7947
7948 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7949 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7950 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7951 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7964 file.
f7062b9a 7965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7967 file.
f7062b9a 7968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7970 file.
f7062b9a 7971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7973 file.
f7062b9a
DM
7974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7976 fmin/fmax sysdep routines.
7977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7978
7bd951ff
DM
79792012-03-14 David S. Miller <davem@davemloft.net>
7980
559398ab
DM
7981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7985 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7986 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7987 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8010 routines.
8011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8012 file.
559398ab 8013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8015 file.
559398ab 8016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8018 file.
559398ab 8019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8021 file.
559398ab 8022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8024 file.
559398ab 8025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8027 file.
8028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8029 file.
8030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8031 file.
8032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8033 file.
8034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8035 New file.
8036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8037 file.
8038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8039 file.
559398ab 8040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8042 file.
559398ab 8043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8045 file.
559398ab 8046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8048 file.
559398ab 8049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8051 VIS3 routines.
559398ab
DM
8052
8053 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8054 New file.
8055
5a1c1e32
DM
8056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8057
eae47a36
DM
8058 * sysdeps/sparc/configure.in: New file.
8059 * sysdeps/sparc/configure: Generate.
8060 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8061 * configure: Regenerate.
8062 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8063 * config.make.in (have-as-vis3): New.
8064 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8065 available use -Av9d instead of -Av9a.
8066 * sysdeps/sparc/sparc64/Makefile: Likewise.
8067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8069 New file.
8070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8071 file.
8072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8073 New file.
8074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8075 file.
eae47a36
DM
8076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8079 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8081
c0c83bc8
DM
8082 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8083 fzeros/fnegs to load 0x80000000 into a float register instead of
8084 using the stack.
7bd951ff
DM
8085 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8086
bd951ccb
JM
80872012-03-14 Joseph Myers <joseph@codesourcery.com>
8088
8089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8090 bits/syscall.h.
8091 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8092 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8093 ($(inst_includedir)/bits/syscall.h): Remove rule.
8094 ($(objpfx)bits/syscall.d): Include instead of
8095 $(objpfx)syscall-list.d.
8096 (generated): Change syscall-list.h and syscall-list.d to
8097 bits/syscall.h and bits/syscall.d.
8098
bb4e6db2
RM
80992012-03-14 Roland McGrath <roland@hack.frob.com>
8100
8101 [BZ #13846]
8102 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8103
aa4a2ae1
JM
81042012-03-14 Joseph Myers <joseph@codesourcery.com>
8105
e456826d
JM
8106 [BZ #13841]
8107 * math/s_csqrt.c: Include <float.h>.
8108 (__csqrt): Scale large or subnormal inputs.
8109 * math/s_csqrtf.c: Likewise.
8110 * math/s_csqrtl.c: Likewise.
8111 * math/libm-test.inc (csqrt_test): Add more tests.
8112 * sysdeps/i386/fpu/libm-test-ulps: Update.
8113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8114
aa4a2ae1
JM
8115 [BZ #13840]
8116 * math/libm-test.inc (hypot_test): Add more tests.
8117
7c10fd35
DM
81182012-03-13 David S. Miller <davem@davemloft.net>
8119
8120 [BZ #13840]
8121 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8122 double-precision for the calculation instead of scaling.
8123
f453b98b
JM
81242012-03-13 Joseph Myers <joseph@codesourcery.com>
8125
8126 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8127 manipulate bits before adding and subtracting TWO52[sx].
8128 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8129 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8130 Likewise.
8131 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8132
09a3453f
DM
81332012-03-13 David S. Miller <davem@davemloft.net>
8134
8e59da90
DM
8135 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8136 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8137 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8138 rtld-global-offsets.h
8139 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8140
2a8ab7f2
DM
8141 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8142 large parameters.
8143
10f62770
DM
8144 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8145
5f0bdb18
DM
8146 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8147 'err' in the ifdef scope in which it is actually used.
8148
09a3453f
DM
8149 * nss/nss_db/db-init.c: Include string.h
8150
b4b2eb5e
DM
81512012-03-12 David S. Miller <davem@davemloft.net>
8152
98bb2f1c
DM
8153 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8154 masking out of the most significant byte of random value used.
8155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8156 Fix coding style in previous change.
8157
b4b2eb5e
DM
8158 * sysdeps/unix/sysv/linux/kernel-features.h
8159 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8160 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8161 expression.
8162 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8163 later.
8164
6e226b09
DM
81652012-03-11 David S. Miller <davem@davemloft.net>
8166
a1bcbd40
DM
8167 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8168 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8169 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8170 for 'resultvar' otherwise things get truncated on 64-bit.
8171
cb9d6174
DM
8172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8173 Fix masking out of the most significant byte of random value used.
8174
6e226b09
DM
8175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8176
058c132d
AS
81772012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8178
8179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8180
2d2cd515
DM
81812012-03-09 David S. Miller <davem@davemloft.net>
8182
8183 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8184 variables with appropriate CPP guards.
8185 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8186 frame pointer, not the stack pointer. Correct layout comments. Fix test
8187 on resulting framesize and the management of the outregs buffer for pltexit.
8188 Preserve floating point return values across _dl_call_pltexit call.
8189 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8190 framesize and the management of the outregs buffer for pltexit.
8191 Preserve floating point return values across _dl_call_pltexit
8192 call.
8193 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8194 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8195 (print_exit): Fix format string for return register value.
8196
9a07f9d0
JM
81972012-03-10 Joseph Myers <joseph@codesourcery.com>
8198
8199 * sunrpc/Makefile (others): Add rpcgen.
8200 ($(objpfx)rpcgen): Remove special build rule and dependency on
8201 libc.
8202 * sunrpc/rpcgen.c: New file.
8203
547b5e30
PE
82042012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8205
c524201a
PE
8206 [BZ #13673]
8207 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8208 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8209 * sysdeps/i386/crti.S: Likewise.
8210 * sysdeps/i386/crtn.S: Likewise.
8211 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8212 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8213 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8214 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8215 * sysdeps/sh/crti.S: Likewise.
8216 * sysdeps/sh/crtn.S: Likewise.
8217 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8218
7b6235f2
PE
8219 [BZ #13673]
8220 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8221 with URL.
8222 * locale/programs/locfile-kw.gperf: Likewise.
8223 * locale/programs/charmap-kw.h: Regenerated.
8224 * locale/programs/locfile-kw.h: Likewise.
8225
547b5e30
PE
8226 [BZ #13673]
8227 * intl/plural.y: Replace FSF snail mail address with URL.
8228 * intl/plural.c: Regenerated.
8229
5f0a5dae
RH
82302012-03-09 Richard Henderson <rth@twiddle.net>
8231
8232 * include/math_private.h: Remove file.
8233 * math/math_private.h: Move file ...
8234 * sysdeps/generic/math_private.h: ... here.
8235
b8c03620
RH
8236 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8237 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8238 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8239
4e234f5d 8240 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8241 and <math_private.h>.
8242 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8243 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8244 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8245 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8246 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8257 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8324 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8325 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8330 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8331 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8332 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8333 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8334 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8335 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8336 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8337 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8338 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8339 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8340 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8341 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8342 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8343 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8344 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8345 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8346 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8347 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8348 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8349 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8350 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8351 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8352 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8353 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8354 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8355 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8356 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8357 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8358 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8359 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8360 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8361 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8362 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8363 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8364 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8365 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8366 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8367 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8368 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8369 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8370 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8371 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8372 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8373 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8374 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8375 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8376 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8377 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8378 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8379 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8380 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8381 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8382 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8383 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8384 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8385 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8386 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8387 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8388 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8389 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8390 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8391 * sysdeps/ieee754/k_standard.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8418 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8419 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8420 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8423 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8424 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8425 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8428 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8429 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8430 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8431 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8436 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8437 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8438 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8439 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8440 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8441 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8442 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8443 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8444 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8445 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8448 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8449 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8450 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8451 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8452 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8453 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8454 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8455 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8456 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8457 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8458 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8459 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8460 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8461 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8462 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8464 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8465 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8466 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8467 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8469 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8470 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8471 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8472 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8474 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8475 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8476 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8477 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8478 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8479 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8480 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8481 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8482 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8483 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8484 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8485 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8486 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8488 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8489 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8490 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8491 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8492 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8493 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8494 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8495 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8496 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8499 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8500 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8501 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8502 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8503 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8504 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8505 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8506 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8507 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8508 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8509 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8510 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8511 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8512 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8513 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8514 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8519 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8524 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8527 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8540 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8541 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8542 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8548 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8552 * sysdeps/ieee754/s_lib_version.c: Likewise.
8553 * sysdeps/ieee754/s_matherr.c: Likewise.
8554 * sysdeps/ieee754/s_signgam.c: Likewise.
8555 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8556 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8557 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8558 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8559 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8560 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8561 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8562 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8563 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8564 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8565 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8566 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8567 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8568 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8569 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8571 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8572 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8573 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8574 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8576
1991fa03
JM
85772012-03-09 Joseph Myers <joseph@codesourcery.com>
8578
8579 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8580 * sunrpc/rpc_main.c: Likewise.
8581 * sunrpc/rpc_svcout.c: Likewise.
8582
60d6f5a6
DM
85832012-03-09 David S. Miller <davem@davemloft.net>
8584
8585 * include/math_private.h: New file.
8586
4962050e
JM
85872012-03-09 Joseph Myers <joseph@codesourcery.com>
8588
02a6f887
JM
8589 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8590 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8591 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8592 from <bits/socket_type.h>.
8593 (enum __socket_type): Don't define here.
8594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8596 bits/socket_type.h.
8597
c6e013c1
JM
8598 [BZ #13566]
8599 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8600 checking __USE_GNU.
8601
4962050e
JM
8602 * Makerules ($(inst_includedir)/%.h): New rule.
8603 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8604 (install-others): Remove variable setting.
8605 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8606
38842f45
RH
86072012-03-08 Richard Henderson <rth@twiddle.net>
8608
67bb6da6
RH
8609 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8610 from macro to inline function; merge with the
8611 !__LIBC_INTERNAL_MATH_INLINES version.
8612 (__ieee754_sqrtf): Likewise.
8613
15194b4b
RH
8614 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8615 to inline function.
8616 (__rintf, __floor, __floorf): Likewise.
8617
64e21ede
RH
8618 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8619 macro to inline function.
8620 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8621
38842f45
RH
8622 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8623 not <math/math_private.h>.
8624
c64bf5fe
DM
86252012-03-08 David S. Miller <davem@davemloft.net>
8626
8627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8628 copyright year.
8629 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8630
82d86f28
TS
86312012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8632
8633 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8634 normalization.
8635 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8636 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8637
aea5d727
UD
86382012-03-08 Ulrich Drepper <drepper@gmail.com>
8639
8640 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8641 be defined individually, they must be defined as a block. Define
8642 S for printing a string instead of hidint the different by using a
8643 macro for adding the 'l'.
8644 * stdio-common/tst-fphex-wide.c: Adjust.
8645
70bca0a3
MP
86462012-03-07 Marek Polacek <polacek@redhat.com>
8647
8648 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8649
65b81130
MP
86502012-03-08 Marek Polacek <polacek@redhat.com>
8651
8652 [BZ #13806]
8653 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8654 * stdio-common/tst-fphex.c: Define a few macros to make the
8655 test reusable. Use them.
8656 * stdio-common/tst-fphex-wide.c: New file.
8657
07037eeb
JM
86582012-03-08 Joseph Myers <joseph@codesourcery.com>
8659
a7a93d50
JM
8660 [BZ #6911]
8661 * manual/macros.texi (gnusystems): New macro.
8662 (nongnusystems): Likewise.
8663 (gnulinuxhurdsystems): Likewise.
8664 (gnuhurdsystems): Likewise..
8665 (gnulinuxsystems): Likewise.
8666 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8667 variants of the GNU system, not "GNU system".
8668 * manual/conf.texi: Likewise.
8669 * manual/errno.texi: Likewise. Update example of errno macro
8670 expansion.
8671 * manual/filesys.texi: Likewise.
8672 (getumask): Document as specific to GNU/Hurd.
8673 * manual/install.texi: Likewise. Reword some references to
8674 GNU/Linux.
8675 * manual/intro.texi: Likewise.
8676 * manual/io.texi: Likewise.
8677 (File Name Portability): Detail which constraints are inapplicable
8678 to all GNU systems and which are only inapplicable to GNU/Hurd.
8679 * manual/job.texi: Likewise.
8680 * manual/llio.texi: Likewise.
8681 (O_NOCTTY): Document as present on GNU/Linux.
8682 * manual/maint.texi: Likewise.
8683 * manual/memory.texi: Likewise.
8684 * manual/pattern.texi: Likewise.
8685 * manual/pipe.texi: Likewise.
8686 * manual/process.texi: Likewise.
8687 * manual/resource.texi: Likewise.
8688 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8689 child on GNU/Hurd.
8690 * manual/setjmp.texi: Likewise.
8691 * manual/signal.texi: Likewise.
8692 * manual/startup.texi: Likewise.
8693 * manual/stdio.texi: Likewise.
8694 * manual/terminal.texi: Likewise.
8695 (ONLCR): Document as POSIX.
8696 (OXTABS): Document availability on GNU/Linux as XTABS.
8697 (ONOEOT): Document availability separately from other bits.
8698 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8699 * manual/time.texi: Likewise.
8700 * manual/users.texi: Likewise.
8701 * INSTALL: Regenerated.
8702 * sysdeps/gnu/errlist.c: Regenerated.
8703
07037eeb
JM
8704 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8705 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8706 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8707 puts.
8708 * configure: Regenerated.
8709
d1d3431a
JM
87102012-03-07 Joseph Myers <joseph@codesourcery.com>
8711
af6a1e37
JM
8712 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8713 default includes instead of AC_HEADER_CHECK.
8714 * sysdeps/i386/configure: Regenerated.
8715
d1d3431a
JM
8716 [BZ #10716]
8717 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8718 * math/s_cacoshf.c (__cacoshf): Likewise.
8719 * math/s_cacoshl.c (__cacoshl): Likewise.
8720 * math/s_casinh.c (__casinh): Set signs of result from argument.
8721 * math/s_casinhf.c (__casinhf): Likewise.
8722 * math/s_casinhl.c (__casinhl): Likewise.
8723 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8724 (casinh_test): Add more tests.
8725 * sysdeps/i386/fpu/libm-test-ulps: Update.
8726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8727
482ff4da
UD
87282012-03-07 Ulrich Drepper <drepper@gmail.com>
8729
872fda05
UD
8730 * po/zh_TW.po: Update from translation team.
8731
a4300c7a
UD
8732 * login/Makefile (distribute): Remove variable.
8733 * catgets/Makefile: Likewise.
8734 * mach/Makefile: Likewise.
8735 * malloc/Makefile: Likewise.
8736 * misc/Makefile: Likewise.
8737 * iconv/Makefile: Likewise.
8738 * nscd/Makefile: Likewise.
8739 * hurd/Makefile: Likewise.
8740 * manual/Makefile: Likewise.
8741 * locale/Makefile: Likewise.
8742 * intl/Makefile: Likewise.
8743 * conform/Makefile: Likewise.
8744 * nss/Makefile: Likewise.
8745 * time/Makefile: Likewise.
8746 * soft-fp/Makefile: Likewise.
8747 * dirent/Makefile: Likewise.
8748 * gmon/Makefile: Likewise.
8749 * po/Makefile: Likewise.
8750 * rt/Makefile: Likewise.
8751 * socket/Makefile: Likewise.
8752 * math/Makefile: Likewise.
8753 * signal/Makefile: Likewise.
8754 * debug/Makefile: Likewise.
8755 * elf/Makefile: Likewise.
8756 * timezone/Makefile: Likewise.
8757 * stdlib/Makefile: Likewise.
8758 * iconvdata/Makefile: Likewise.
8759 * sunrpc/Makefile: Likewise.
8760 * io/Makefile: Likewise.
8761 * argp/Makefile: Likewise.
8762 * inet/Makefile: Likewise.
8763 * hesiod/Makefile: Likewise.
8764 * grp/Makefile: Likewise.
8765 * csu/Makefile: Likewise.
8766 * wctype/Makefile: Likewise.
8767 * crypt/Makefile: Likewise.
8768 * libio/Makefile: Likewise.
8769 * string/Makefile: Likewise.
8770 * nis/Makefile: Likewise.
8771 * resolv/Makefile: Likewise.
8772 * stdio-common/Makefile: Likewise.
8773 * wcsmbs/Makefile: Likewise.
8774 * dlfcn/Makefile: Likewise.
8775 * posix/Makefile: Likewise.
8776
3b7c4e74 8777 [BZ #6959]
482ff4da
UD
8778 * timezone/Makefile: Don't install timezone files, just the programs
8779 and scripts.
8780
f72ed77d
UD
87812012-03-06 Ulrich Drepper <drepper@gmail.com>
8782
a000466f
UD
8783 * nss/databases.def: Add missing gshadow entry.
8784
f72ed77d
UD
8785 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8786
a53b7a4e
MP
87872012-03-06 Marek Polacek <polacek@redhat.com>
8788
8789 [BZ #13726]
8790 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8791 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8792 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8793 * stdio-common/tst-long-dbl-fphex.c: New file.
8794
e9258400
DM
87952012-03-06 David S. Miller <davem@davemloft.net>
8796
8797 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8798 (set_obp_int): New function.
8799 (get_obp_int): New function.
8800 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8801 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8802 Avoid unused variable warnings on 'val' and use builtin_expect.
8803 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8804 __builtin_expect.
e9258400
DM
8805 (INLINE_CLONE_SYSCALL): Likewise.
8806
3bd2c723
DM
88072012-03-05 David S. Miller <davem@davemloft.net>
8808
8809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8810
bbb78d03
AS
88112012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8812
884c5db4
AS
8813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8814
bbb78d03
AS
8815 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8816 only for |x| >= 40.
8817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8818
1c9f702a 88192012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8820
8821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8822 Replace gettimeofday with __vdso_gettimeofday.
8823
7be16f82
RM
8824 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8825 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8826 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8827
8828 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8829 time with __vdso_time.
8830
ed58a00f
JM
88312012-03-05 Joseph Myers <joseph@codesourcery.com>
8832
8833 * manual/lang.texi (size_t): Note types to which size_t may be
8834 equivalent with the GNU C Library, but do not describe when
8835 differences between them are significant.
8836
30ee4ced
AJ
88372012-03-05 Andreas Jaeger <aj@suse.de>
8838
8839 * sysdeps/i386/fpu/libm-test-ulps: Update.
8840
b7cd39e8
JM
88412012-03-05 Joseph Myers <joseph@codesourcery.com>
8842
8843 [BZ #3976]
8844 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8845 (__ieee754_pow): Save and restore rounding mode and use
8846 round-to-nearest for main computations.
8847 * math/libm-test.inc (pow_test_tonearest): New function.
8848 (pow_test_towardzero): Likewise.
8849 (pow_test_downward): Likewise.
8850 (pow_test_upward): Likewise.
8851 (main): Call the new functions.
8852 * sysdeps/i386/fpu/libm-test-ulps: Update.
8853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8854
8855 [BZ #3976]
8856 * math/libm-test.inc (cosh_test_tonearest): New function.
8857 (cosh_test_towardzero): Likewise.
8858 (cosh_test_downward): Likewise.
8859 (cosh_test_upward): Likewise.
8860 (sinh_test_tonearest): Likewise.
8861 (sinh_test_towardzero): Likewise.
8862 (sinh_test_downward): Likewise.
8863 (sinh_test_upward): Likewise.
8864 (main): Call the new functions.
8865 * sysdeps/i386/fpu/libm-test-ulps: Update.
8866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8867
6c6a98c9
TV
88682012-03-05 Tom de Vries <tom@codesourcery.com>
8869
8870 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8871 default stack guard is set in last bytes.
8872 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8873
21bb2d2e 88742012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8875
21bb2d2e 8876 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8877
21bb2d2e
AJ
8878 [BZ #13656]
8879 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8880 possibly allocate from heap instead of stack.
8881 * stdio-common/bug-vfprintf-nargs.c: New file.
8882 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8883
c6922934
AS
88842012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8885
8886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8887
bc957d53
MP
88882012-03-03 Marek Polacek <polacek@redhat.com>
8889
8890 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8891 * math/math_private.h: Likewise.
8892 * stdlib/tst-strtod.c: Likewise.
8893 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8894 * sysdeps/x86_64/bits/atomic.h: Likewise.
8895
6358490d
DM
88962012-03-02 David S. Miller <davem@davemloft.net>
8897
8898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8902 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8903 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8904 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8905 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8906
01ae168d
RM
89072012-03-02 Roland McGrath <roland@hack.frob.com>
8908
d9a17c07
RM
8909 [BZ #13792]
8910 * manual/examples/README: New file, says the example source files
8911 can be used under GPL>=2.
8912 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8913 line containing just "*/".
8914 * manual/examples/add.c: Add copyright header (GPL>=2).
8915 * manual/examples/argp-ex1.c: Likewise.
8916 * manual/examples/argp-ex2.c: Likewise.
8917 * manual/examples/argp-ex3.c: Likewise.
8918 * manual/examples/argp-ex4.c: Likewise.
8919 * manual/examples/atexit.c: Likewise.
8920 * manual/examples/db.c: Likewise.
8921 * manual/examples/dir.c: Likewise.
8922 * manual/examples/dir2.c: Likewise.
8923 * manual/examples/execinfo.c: Likewise.
8924 * manual/examples/filecli.c: Likewise.
8925 * manual/examples/filesrv.c: Likewise.
8926 * manual/examples/fmtmsgexpl.c: Likewise.
8927 * manual/examples/genpass.c: Likewise.
8928 * manual/examples/inetcli.c: Likewise.
8929 * manual/examples/inetsrv.c: Likewise.
8930 * manual/examples/isockad.c: Likewise.
8931 * manual/examples/longopt.c: Likewise.
8932 * manual/examples/memopen.c: Likewise.
8933 * manual/examples/memstrm.c: Likewise.
8934 * manual/examples/mkfsock.c: Likewise.
8935 * manual/examples/mkisock.c: Likewise.
8936 * manual/examples/mygetpass.c: Likewise.
8937 * manual/examples/pipe.c: Likewise.
8938 * manual/examples/popen.c: Likewise.
8939 * manual/examples/rprintf.c: Likewise.
8940 * manual/examples/search.c: Likewise.
8941 * manual/examples/select.c: Likewise.
8942 * manual/examples/setjmp.c: Likewise.
8943 * manual/examples/sigh1.c: Likewise.
8944 * manual/examples/sigusr.c: Likewise.
8945 * manual/examples/stpcpy.c: Likewise.
8946 * manual/examples/strdupa.c: Likewise.
8947 * manual/examples/strftim.c: Likewise.
8948 * manual/examples/strncat.c: Likewise.
8949 * manual/examples/subopt.c: Likewise.
8950 * manual/examples/swapcontext.c: Likewise.
8951 * manual/examples/termios.c: Likewise.
8952 * manual/examples/testopt.c: Likewise.
8953 * manual/examples/testpass.c: Likewise.
8954 * manual/examples/timeval_subtract.c: Likewise.
8955
01ae168d
RM
8956 [BZ #13792]
8957 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8958 function to ...
8959 * manual/timeval_subtract.c.texi: ... here, new file.
8960
49efa33d
DM
89612012-03-02 David S. Miller <davem@davemloft.net>
8962
8963 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8964
28afd92d
JM
89652012-03-02 Joseph Myers <joseph@codesourcery.com>
8966
804360ed
JM
8967 [BZ #3976]
8968 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8969 (__sin): Save and restore rounding mode and use round-to-nearest
8970 for all computations.
8971 (__cos): Save and restore rounding mode and use round-to-nearest
8972 for all computations.
8973 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8974 <fenv.h>.
8975 (tan): Save and restore rounding mode and use round-to-nearest for
8976 all computations.
8977 * math/libm-test.inc (cos_test_tonearest): New function.
8978 (cos_test_towardzero): Likewise.
8979 (cos_test_downward): Likewise.
8980 (cos_test_upward): Likewise.
8981 (sin_test_tonearest): Likewise.
8982 (sin_test_towardzero): Likewise.
8983 (sin_test_downward): Likewise.
8984 (sin_test_upward): Likewise.
8985 (tan_test_tonearest): Likewise.
8986 (tan_test_towardzero): Likewise.
8987 (tan_test_downward): Likewise.
8988 (tan_test_upward): Likewise.
8989 (main): Call the new functions.
8990 * sysdeps/i386/fpu/libm-test-ulps: Update.
8991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8992
a6d06d7b
JM
8993 [BZ #10135]
8994 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8995 small n, then large n, before computing and testing k+n.
8996 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8997 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8998 Likewise.
8999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9000 Likewise.
9001 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9002 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9005 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9006 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9007 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9008 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9009 * math/libm-test.inc (scalbn_test): Add more tests.
9010 (scalbln_test): Likewise.
9011
07e12bb3
JM
9012 * manual/filesys.texi (mode_t): Describe constraints on size and
9013 signedness, not exact equivalence to a particular type.
9014 (ino_t): Likewise.
9015 (ino64_t): Likewise.
9016 (dev_t): Likewise.
9017 (nlink_t): Likewise.
9018 (blkcnt_t): Likewise.
9019 (blkcnt64_t): Likewise.
9020 * manual/llio.texi (off_t): Likewise.
9021
28afd92d
JM
9022 [BZ #3976]
9023 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9024 (__ieee754_exp): Save and restore rounding mode and use
9025 round-to-nearest for all computations.
9026 * math/libm-test.inc (exp_test_tonearest): New function.
9027 (exp_test_towardzero): Likewise.
9028 (exp_test_downward): Likewise.
9029 (exp_test_upward): Likewise.
9030 (main): Call the new functions.
9031 * sysdeps/i386/fpu/libm-test-ulps: Update.
9032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9033
b1eeb65d
CD
90342012-03-01 Chris Demetriou <cgd@google.com>
9035
9036 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9037 have predictable order.
9038
53362a4b
DM
90392012-03-01 David S. Miller <davem@davemloft.net>
9040
3c969083
DM
9041 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9042
759707de
DM
9043 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9044 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9045 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9046 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9047
dfdb8ff2
DM
9048 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9049 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9050 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9052 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9053 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9054 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9055 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9056 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9057
ead89f96
DM
9058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9059
7f66bd07
DM
9060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9061 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9062 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9063
53362a4b
DM
9064 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9065 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9066 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9067 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9068 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9069 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9071 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9072 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9073 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9074 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9075 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9077 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9078 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9080 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9081 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9082 * sysdeps/sparc/elf/configure: Regenerated.
9083
7b1902cb
JM
90842012-03-01 Joseph Myers <joseph@codesourcery.com>
9085
bec039bc
JM
9086 * configure.in (AS, LD): Require binutils 2.20 or later.
9087 * configure: Regenerated.
9088 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9089 as required minimum version.
9090 * INSTALL: Regenerated.
9091
7b1902cb
JM
9092 [BZ #2541]
9093 [BZ #4108]
9094 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9095 before squaring exponent.
9096 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9097 bottom long double and 27 bits of top long double before squaring
9098 exponent.
9099 * math/libm-test.inc (erfc_test): Add more tests.
9100 * sysdeps/i386/fpu/libm-test-ulps: Update.
9101 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9103
f775c276
KT
91042012-03-01 Kai Tietz <ktietz@redhat.com>
9105
9106 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9107 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9108 containing bit-fields.
9109 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9110 * soft-fp/single.h (_FP_UNION_S): Likewise.
9111 * soft-fp/double.h (_FP_UNION_D): Likewise.
9112
5b8a4d4a
JM
91132012-02-29 Joseph Myers <joseph@codesourcery.com>
9114
0bab47b6
JM
9115 [BZ #13786]
9116 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9117 not include ../strcmp.S.
9118 [USE_AS_STRNCASECMP_L]: Likewise.
9119 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9120 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9121 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9122 (__strncasecmp_l_ia32): Define as alias to
9123 __strncasecmp_l_nonascii.
9124
0fcad3e2
JM
9125 [BZ #5794]
9126 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9127 * sysdeps/i386/fpu/libm-test-ulps: Update.
9128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9129
5b8a4d4a
JM
9130 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9132
8fdceb2e
JL
91332012-02-29 Jeff Law <law@redhat.com>
9134
9135 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9136 out of bounds read.
9137
1f393a11
MP
91382012-02-29 Marek Polacek <polacek@redhat.com>
9139
9140 [BZ #13706]
9141 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9142 * elf/Makefile: Add rules to run tst-unused-dep.out.
9143
8847f037
DM
91442012-02-28 David S. Miller <davem@davemloft.net>
9145
9146 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9147 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9148 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9150 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9151 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9152
169d7f11
JM
91532012-02-29 Joseph Myers <joseph@codesourcery.com>
9154
9155 * math/libm-test.inc (llround_test): Move one test from
9156 lround_test. Use TEST_f_L in moved test.
9157 (lround_test): Move misplaced test to llround_test. Add testcase
9158 from bug 2561.
9159
39adf059
UD
91602012-02-28 Ulrich Drepper <drepper@gmail.com>
9161
9162 * sysdeps/x86_64/fpu/e_expf.S: New file.
9163 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9164
71b5d1c5
SB
91652012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9166
9167 [BZ #13637]
9168 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9169 of remain_len that may cause incomplete multi-byte character and
9170 false match.
9171 * posix/bug-regex33.c: New file.
9172 * posix/Makefile (tests): Add bug-regex33.
9173
1f77f049
JM
91742012-02-28 Joseph Myers <joseph@codesourcery.com>
9175
9176 * manual/macros.texi: New file.
9177 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9178 * manual/libc.texinfo: Include macros.texi.
9179 * manual/creatute.texi: Likewise.
9180 * manual/install.texi: Likewise.
9181 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9182 @glibcadj{} in references to the GNU C Library.
9183 * manual/charset.texi: Likewise.
9184 * manual/conf.texi: Likewise.
9185 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9186 when not using those macros.
9187 * manual/creature.texi: Likewise.
9188 * manual/crypt.texi: Likewise.
9189 * manual/errno.texi: Likewise.
9190 * manual/filesys.texi: Likewise.
9191 * manual/header.texi: Likewise.
9192 * manual/install.texi: Likewise.
9193 * manual/intro.texi: Likewise.
9194 * manual/io.texi: Likewise.
9195 * manual/job.texi: Likewise.
9196 * manual/lang.texi: Likewise.
9197 * manual/libc.texiinfo: Likewise.
9198 * manual/llio.texi: Likewise.
9199 * manual/locale.texi: Likewise.
9200 * manual/maint.texi: Likewise.
9201 * manual/math.texi: Likewise.
9202 * manual/memory.texi: Likewise.
9203 * manual/message.texi: Likewise.
9204 * manual/nss.texi: Likewise.
9205 * manual/pattern.texi: Likewise.
9206 * manual/process.texi: Likewise.
9207 * manual/resource.texi: Likewise.
9208 * manual/search.texi: Likewise.
9209 * manual/setjmp.texi: Likewise.
9210 * manual/signal.texi: Likewise.
9211 * manual/socket.texi: Likewise.
9212 * manual/startup.texi: Likewise.
9213 * manual/stdio.texi: Likewise.
9214 * manual/string.texi: Likewise.
9215 * manual/sysinfo.texi: Likewise.
9216 * manual/syslog.texi: Likewise.
9217 * manual/terminal.texi: Likewise.
9218 * manual/time.texi: Likewise.
9219 * manual/users.texi: Likewise.
9220 * INSTALL: Regenerated.
9221 * NOTES: Regenerated.
d40c5d54 9222 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9223
450bf206
AS
92242012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9225
9226 * include/dirent.h: Include <dirstream.h> before
9227 <dirent/dirent.h>.
9228
741a235b
DM
92292012-02-28 David S. Miller <davem@davemloft.net>
9230
9231 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9232 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9233 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9234 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9235
d6b5aa58
DM
92362012-02-27 David S. Miller <davem@davemloft.net>
9237
1aff59a3
DM
9238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9240 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9241 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9242
d6b5aa58
DM
9243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9244 frame pointer instead of stack pointer relative arg slot.
9245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9246 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9247 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9248
433f48bf
CD
92492012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9250
9251 [BZ #3992]
9252 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9253
d674b76d
DM
92542012-02-27 David S. Miller <davem@davemloft.net>
9255
9256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9260 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9261 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9262 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9263 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9264
0e7727f7
JM
92652012-02-27 Joseph Myers <joseph@codesourcery.com>
9266
9267 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9268 later. Allow versions 5-9.
43be4ca2 9269 * configure: Regenerated.
0e7727f7
JM
9270 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9271 required minimum version and 4.6 as recommended version. Do not
9272 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9273 * INSTALL: Regenerated.
0e7727f7 9274
a78bc654
DM
92752012-02-27 David S. Miller <davem@davemloft.net>
9276
428d5830
DM
9277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9281 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9282 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9283 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9284 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9285
a78bc654
DM
9286 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9287 manipulate bits before adding and subtracting TWO112[sx].
9288 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9289
4579f81c
RM
92902012-02-27 Roland McGrath <roland@hack.frob.com>
9291
36c8acb4
RM
9292 [BZ #13775]
9293 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9294 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9295 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9296 being in POSIX, because they are in 1003.1-2008.
9297
84ad622b
RM
9298 * rt/tst-aio.c: Include <fcntl.h>.
9299 * rt/tst-aio7.c: Likewise.
9300 * rt/tst-aio64.c: Likewise.
9301
4579f81c
RM
9302 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9303
abd923db
JM
93042012-02-27 Joseph Myers <joseph@codesourcery.com>
9305
9306 * manual/install.texi (--with-headers): Describe headers as
9307 interface headers, not private headers.
9308 (Specific advice for GNU/Linux systems): Describe use of headers
9309 from "make headers_install", not private headers from older
9310 kernels.
43be4ca2 9311 * INSTALL: Regenerated.
abd923db
JM
9312 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9313 Change to 2.6.19.
9314 * sysdeps/unix/sysv/linux/configure: Regenerated.
9315
6664049b
JM
9316 * manual/llio.texi (fclean): Remove documentation.
9317
bb8b6697
JM
9318 * manual/Makefile (libc-texi-generated): New variable. Include
9319 version.texi.
9320 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9321 $(libc-texi-generated), not duplicated list of files.
9322 (version.texi, stamp-version): New rules.
9323 (realclean): Remove $(libc-texi-generated), not individual files
9324 from that list. Do not remove dir-add.texinfo.
9325 * manual/libc.texinfo: Comment out uses of edition numbers and
9326 references to printed manual. Remove last-updated dates.
9327 (EDITION): Comment out.
9328 (ISBN): Likewise.
9329 (VERSION, UPDATED): Remove.
9330 (version.texi): Include.
9331
12e5c3b9
AS
93322012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9333
9334 * sysdeps/posix/spawni.c: Include <signal.h>.
9335 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9336 * sysdeps/pthread/aio_fsync.c: Likewise.
9337
4efeffc1 93382012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9339
ba63ba08
UD
9340 * conform/Makefile (tests): Run only when not cross-compiling and
9341 when fast-check is not defined.
9342
d94a4670
UD
9343 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9344 * conform/data/limits.h-data: Fixes for POSIX2008.
9345 * conform/run-conformtest.sh: Run all tests.
9346 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9347 headers.
9348 * include/bits/dlfcn.h: Likewise.
9349 * include/langinfo.h: Likewise.
9350 * include/monetary.h: Likewise.
9351 * include/sys/poll.h: Likewise.
9352
9353 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9354 for __USE_GNU.
9355 * posix/spawn.h: Define __need_sigset_t.
9356 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9357 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9358 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9359 to get sigevent_t only.
9360 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9361 only for __USE_GNU.
9362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9363 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9364 process_vm_writev only for __USE_GNU.
9365 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9366
9367 * conform/Makefile: For now ignore errors from run-conformtest.
9368 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9369 POSIX to avoid namespace pollution. Don't prepend headers.
9370 * conform/data/aio.h-data: Fixes for POSIX testing.
9371 * conform/data/fcntl.h-data: Likewise.
9372 * conform/data/glob.h-data: Likewise.
9373 * conform/data/grp.h-data: Likewise.
9374 * conform/data/pthread.h-data: Likewise.
9375 * conform/data/pwd.h-data: Likewise.
9376 * conform/data/signal.h-data: Likewise.
9377 * conform/data/spawn.h-data: Likewise.
9378 * conform/data/stdio.h-data: Likewise.
9379 * conform/data/stdlib.h-data: Likewise.
9380 * conform/data/stropts.h-data: Likewise.
9381 * conform/data/sys/mman.h-data: Likewise.
9382 * conform/data/sys/stat.h-data: Likewise.
9383 * conform/data/sys/types.h-data: Likewise.
9384 * conform/data/sys/wait.h-data: Likewise.
9385 * conform/data/time.h-data: Likewise.
9386 * conform/data/unistd.h-data: Likewise.
9387 * conform/data/utime.h-data: Likewise.
9388
9389 * io/sys/stat.h: fchmod was always in POSIX.
9390 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9391 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9392 * rt/aio.h: Define __need_timespec before including <time.h>.
9393 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9394 struct. Add forward declaration of pthread_attr_t and use it in
9395 sigevent.
9396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9398 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9399 always remove CLK_TCK definition.
9400
c20105c3
AS
94012012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9402
9403 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9404
7a270350
UD
94052012-02-25 Ulrich Drepper <drepper@gmail.com>
9406
31341567
UD
9407 * conform/run-conformtest.sh: New file.
9408 * conform/Makefile: Run run-conformtest for tests.
9409 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9410 support.
9411
9412 * conform/data/uchar.h-data: New file.
9413 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9414 * conform/data/arpa/inet.h-data: Likewise.
9415 * conform/data/assert.h-data: Likewise.
9416 * conform/data/complex.h-data: Likewise.
9417 * conform/data/cpio.h-data: Likewise.
9418 * conform/data/ctype.h-data: Likewise.
9419 * conform/data/dirent.h-data: Likewise.
9420 * conform/data/dlfcn.h-data: Likewise.
9421 * conform/data/errno.h-data: Likewise.
9422 * conform/data/fcntl.h-data: Likewise.
9423 * conform/data/float.h-data: Likewise.
9424 * conform/data/fmtmsg.h-data: Likewise.
9425 * conform/data/fnmatch.h-data: Likewise.
9426 * conform/data/ftw.h-data: Likewise.
9427 * conform/data/glob.h-data: Likewise.
9428 * conform/data/grp.h-data: Likewise.
9429 * conform/data/iconv.h-data: Likewise.
9430 * conform/data/inttypes.h-data: Likewise.
9431 * conform/data/langinfo.h-data: Likewise.
9432 * conform/data/libgen.h-data: Likewise.
9433 * conform/data/limits.h-data: Likewise.
9434 * conform/data/locale.h-data: Likewise.
9435 * conform/data/math.h-data: Likewise.
9436 * conform/data/monetary.h-data: Likewise.
9437 * conform/data/mqueue.h-data: Likewise.
9438 * conform/data/ndbm.h-data: Likewise.
9439 * conform/data/net/if.h-data: Likewise.
9440 * conform/data/netdb.h-data: Likewise.
9441 * conform/data/netinet/in.h-data: Likewise.
9442 * conform/data/nl_types.h-data: Likewise.
9443 * conform/data/poll.h-data: Likewise.
9444 * conform/data/pthread.h-data: Likewise.
9445 * conform/data/pwd.h-data: Likewise.
9446 * conform/data/regex.h-data: Likewise.
9447 * conform/data/sched.h-data: Likewise.
9448 * conform/data/search.h-data: Likewise.
9449 * conform/data/semaphore.h-data: Likewise.
9450 * conform/data/setjmp.h-data: Likewise.
9451 * conform/data/signal.h-data: Likewise.
9452 * conform/data/spawn.h-data: Likewise.
9453 * conform/data/stdarg.h-data: Likewise.
9454 * conform/data/stdio.h-data: Likewise.
9455 * conform/data/stdlib.h-data: Likewise.
9456 * conform/data/string.h-data: Likewise.
9457 * conform/data/strings.h-data: Likewise.
9458 * conform/data/stropts.h-data: Likewise.
9459 * conform/data/sys/ipc.h-data: Likewise.
9460 * conform/data/sys/mman.h-data: Likewise.
9461 * conform/data/sys/msg.h-data: Likewise.
9462 * conform/data/sys/resource.h-data: Likewise.
9463 * conform/data/sys/select.h-data: Likewise.
9464 * conform/data/sys/sem.h-data: Likewise.
9465 * conform/data/sys/shm.h-data: Likewise.
9466 * conform/data/sys/socket.h-data: Likewise.
9467 * conform/data/sys/stat.h-data: Likewise.
9468 * conform/data/sys/statvfs.h-data: Likewise.
9469 * conform/data/sys/time.h-data: Likewise.
9470 * conform/data/sys/timeb.h-data: Likewise.
9471 * conform/data/sys/times.h-data: Likewise.
9472 * conform/data/sys/types.h-data: Likewise.
9473 * conform/data/sys/uio.h-data: Likewise.
9474 * conform/data/sys/un.h-data: Likewise.
9475 * conform/data/sys/utsname.h-data: Likewise.
9476 * conform/data/sys/wait.h-data: Likewise.
9477 * conform/data/syslog.h-data: Likewise.
9478 * conform/data/tar.h-data: Likewise.
9479 * conform/data/termios.h-data: Likewise.
9480 * conform/data/utime.h-data: Likewise.
9481 * conform/data/utmpx.h-data: Likewise.
9482 * conform/data/varargs.h-data: Likewise.
9483 * conform/data/wchar.h-data: Likewise.
9484 * conform/data/wctype.h-data: Likewise.
9485 * conform/data/wordexp.h-data: Likewise.
9486
9487 * include/stropts.h: New file.
9488 * include/uchar.h: New file.
9489 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9490 * include/assert.h: Likewise.
9491 * include/ctype.h: Likewise.
9492 * include/dirent.h: Likewise.
9493 * include/dlfcn.h: Likewise.
9494 * include/fcntl.h: Likewise.
9495 * include/fnmatch.h: Likewise.
9496 * include/glob.h: Likewise.
9497 * include/grp.h: Likewise.
9498 * include/libio.h: Likewise.
9499 * include/locale.h: Likewise.
9500 * include/math.h: Likewise.
9501 * include/net/if.h: Likewise.
9502 * include/netdb.h: Likewise.
9503 * include/netinet/in.h: Likewise.
9504 * include/pthread.h: Likewise.
9505 * include/pwd.h: Likewise.
9506 * include/regex.h: Likewise.
9507 * include/sched.h: Likewise.
9508 * include/search.h: Likewise.
9509 * include/setjmp.h: Likewise.
9510 * include/signal.h: Likewise.
9511 * include/stdio.h: Likewise.
9512 * include/stdlib.h: Likewise.
9513 * include/string.h: Likewise.
9514 * include/sys/cdefs.h: Likewise.
9515 * include/sys/mman.h: Likewise.
9516 * include/sys/msg.h: Likewise.
9517 * include/sys/resource.h: Likewise.
9518 * include/sys/select.h: Likewise.
9519 * include/sys/socket.h: Likewise.
9520 * include/sys/stat.h: Likewise.
9521 * include/sys/statvfs.h: Likewise.
9522 * include/sys/time.h: Likewise.
9523 * include/sys/times.h: Likewise.
9524 * include/sys/uio.h: Likewise.
9525 * include/sys/utsname.h: Likewise.
9526 * include/sys/wait.h: Likewise.
9527 * include/termios.h: Likewise.
9528 * include/time.h: Likewise.
9529 * include/ulimit.h: Likewise.
9530 * include/unistd.h: Likewise.
9531 * include/utime.h: Likewise.
9532 * include/wchar.h: Likewise.
9533 * include/wctype.h: Likewise.
9534 * include/wordexp.h: Likewise.
9535
9536 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9537
7a270350
UD
9538 * time/time.h: TIME_UTC must be a macro.
9539 Make timespec_get available for ISO C11 only as well.
9540
7724defc
UD
95412012-02-24 Ulrich Drepper <drepper@gmail.com>
9542
9543 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9544 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9545
6b1d1d46
JM
95462012-02-24 Joseph Myers <joseph@codesourcery.com>
9547
9548 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9549
0f8bbd69
JM
95502012-02-24 Joseph Myers <joseph@codesourcery.com>
9551
9552 * manual/texinfo.tex: Update to version 2012-01-19.16.
9553
66ab80bc
JM
95542012-02-24 Joseph Myers <joseph@codesourcery.com>
9555
9556 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9557
74981cc5
RM
95582012-02-24 Roland McGrath <roland@hack.frob.com>
9559
ee968201
RM
9560 [BZ #13738]
9561 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9562 * manual/fdl-1.3.texi: New file.
9563 * manual/fdl-1.1.texi: File removed.
9564
74981cc5
RM
9565 [BZ #13738]
9566 * manual/libc.texinfo (FDL_VERSION): New @set.
9567 Use it for mention of FDL in cover text.
9568 (Documentation License): Use it in @include file name.
9569
7bb764bc
JM
95702012-02-22 Joseph Myers <joseph@codesourcery.com>
9571 Roland McGrath <roland@hack.frob.com>
9572
9573 [BZ #5461]
9574 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9575 not LONG_LONG_MAX and LONG_LONG_MIN.
9576 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9577 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9578 name.
9579 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9580
6cbeae47
JM
95812012-02-22 Joseph Myers <joseph@codesourcery.com>
9582
9583 [BZ #2547]
9584 [BZ #11365]
9585 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9586 manipulate bits before adding and subtracting TWO23[sx].
9587 * math/libm-test.inc (nearbyint_test): Add more tests.
9588
fe45ce09
JM
95892012-02-22 Joseph Myers <joseph@codesourcery.com>
9590
9591 [BZ #2548]
9592 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9593 bits before adding and subtracting TWO23[sx].
9594 * math/libm-test.inc (rint_test): Add more tests.
9595 (rint_test_tonearest): Likewise.
9596 (rint_test_towardzero): Likewise.
9597 (rint_test_downward): Likewise.
9598 (rint_test_upward: Likewise.
9599
ff3b3d82
JM
96002012-02-22 Joseph Myers <joseph@codesourcery.com>
9601
9602 [BZ #10110]
9603 * include/stdc-predef.h: New file. Extracted from features.h.
9604 * include/features.h: Include stdc-predef.h.
9605 * Makefile (headers): Add stdc-predef.h.
9606 * CONFORMANCE (Compiler limitations): Update.
9607
ef0aab35
JM
96082012-02-22 Joseph Myers <joseph@codesourcery.com>
9609
9610 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9611
58639409
DM
96122012-02-21 David S. Miller <davem@davemloft.net>
9613
9614 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9615 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9616
c0e70b25
DM
96172012-02-20 David S. Miller <davem@davemloft.net>
9618
9619 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9620 using a normal save/restore sequence, rather than allocating a
9621 dummy stack frame just to store a frame pointer and restore.
9622 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9623
fb06851d
JM
96242012-02-21 Joseph Myers <joseph@codesourcery.com>
9625
9626 * manual/install.texi: Fix stray word in line-wrapped comment.
9627
7a8b71c3
DM
96282012-02-20 David S. Miller <davem@davemloft.net>
9629
d510c123
DM
9630 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9631 both binutils and gcc support GOTDATA.
9632
0722d7c2
DM
9633 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9634 "rd %pc" in the PIC register setup sequences.
9635
3d2b3019
DM
9636 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9637 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9638 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9639 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9640 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9641 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9642 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9643 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9645 (SYSCALL_ERROR_HANDLER): Likewise.
9646 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9647 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9649 (SYSCALL_ERROR_HANDLER): Likewise.
9650
c80098a9
DM
9651 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9652 (HAVE_GCC_GOTDATA): New.
9653 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9654 relocation support in both binutils and gcc.
9655 * sysdeps/sparc/elf/configure: Regenerate.
9656
3a2545a0
DM
9657 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9658 * sysdeps/sparc/sparc32/elf/configure: Delete.
9659 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9660 * sysdeps/sparc/sparc64/elf/configure: Delete.
9661 * sysdeps/sparc/elf/configure.in: New file.
9662 * sysdeps/sparc/elf/configure: Generate.
9663
7a8b71c3
DM
9664 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9665 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9666 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9667 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9668 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9669
f1e86fca
JM
96702012-02-21 Joseph Myers <joseph@codesourcery.com>
9671
9672 * manual/install.texi: Do not mention specific glibc version
9673 numbers.
9674 * manual/libc.texinfo (VERSION, UPDATED): Update.
9675 (@copying): Use @copyright{} and range of years.
9676
0e7dfaef
JM
96772012-02-21 Joseph Myers <joseph@codesourcery.com>
9678
9679 [BZ #13695]
9680 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9681 [crti.S not in sysdirs] (generated): Do not append.
9682 [crti.S not in sysdirs] (omit-deps): Likewise.
9683 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9684 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9685 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9686 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9687 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9688 Likewise.
9689 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9690 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9691 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9692 * csu/defs.awk: Remove file.
9693 * sysdeps/generic/initfini.c: Likewise.
9694 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9695 variable.
9696 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9697 Likewise.
9698
599af3ca
JM
96992012-02-20 Joseph Myers <joseph@codesourcery.com>
9700
9701 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9702 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9703 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9704 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9705 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9706 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9707 <bits/epoll.h>.
9708 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9709 (__EPOLL_PACKED): Define to empty if not defined by
9710 <bits/epoll.h>.
9711 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9713 bits/epoll.h.
9714
0e499750
JM
97152012-02-20 Joseph Myers <joseph@codesourcery.com>
9716
9717 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9718 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9719 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9720 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9721 <bits/timerfd.h>.
9722 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9724 bits/timerfd.h.
9725
5ad91f6e
JM
97262012-02-20 Joseph Myers <joseph@codesourcery.com>
9727
9728 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9729 in C locale.
9730 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9731 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9732 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9734
06b99b02
AJ
97352012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9736
9737 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9738 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9739
7638c0fd
AS
97402012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9741
9742 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9743 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9744 defined.
9745 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9746 Likewise.
9747 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9748 entry for 2.16.
9749
92221550
AJ
97502012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9751
9752 * math/w_acos.c: Use non-signaling floating-point comparisons.
9753 * math/w_acosf.c: Likewise.
9754 * math/w_acosh.c: Likewise.
9755 * math/w_acoshf.c: Likewise.
9756 * math/w_acoshl.c: Likewise.
9757 * math/w_acosl.c: Likewise.
9758 * math/w_asin.c: Likewise.
9759 * math/w_asinf.c: Likewise.
9760 * math/w_asinl.c: Likewise.
9761 * math/w_atanh.c: Likewise.
9762 * math/w_atanhf.c: Likewise.
9763 * math/w_atanhl.c: Likewise.
9764 * math/w_exp2.c: Likewise.
9765 * math/w_exp2f.c: Likewise.
9766 * math/w_exp2l.c: Likewise.
9767 * math/w_j0.c: Likewise.
9768 * math/w_j0f.c: Likewise.
9769 * math/w_j0l.c: Likewise.
9770 * math/w_j1.c: Likewise.
9771 * math/w_j1f.c: Likewise.
9772 * math/w_j1l.c: Likewise.
9773 * math/w_jn.c: Likewise.
9774 * math/w_jnf.c: Likewise.
9775 * math/w_log.c: Likewise.
9776 * math/w_log10.c: Likewise.
9777 * math/w_log10f.c: Likewise.
9778 * math/w_log10l.c: Likewise.
9779 * math/w_log2.c: Likewise.
9780 * math/w_log2f.c: Likewise.
9781 * math/w_log2l.c: Likewise.
9782 * math/w_logf.c: Likewise.
9783 * math/w_logl.c: Likewise.
9784 * math/w_sqrt.c: Likewise.
9785 * math/w_sqrtf.c: Likewise.
9786 * math/w_sqrtl.c: Likewise.
9787 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9788 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9789 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9790 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9791 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9792
ebaf36eb
JM
97932012-02-19 Joseph Myers <joseph@codesourcery.com>
9794
9795 [BZ #9739]
9796 * manual/string.texi (strnlen): Use correct parameter name in
9797 equivalent expression.
9798
71c254a6
JM
97992012-02-19 Joseph Myers <joseph@codesourcery.com>
9800
9801 [BZ #11174]
9802 * manual/users.texi (seteuid): Consistently use neweuid for
9803 argument name.
9804
16d2c631
JM
98052012-02-19 Joseph Myers <joseph@codesourcery.com>
9806
9807 [BZ #13704]
9808 * manual/nss.texi (Services in the NSS configuration): Correct
9809 list of services in example configuration file.
9810
cd837b09
NB
98112012-02-19 Nick Bowler <nbowler@draconx.ca>
9812
9813 [BZ #11322]
9814 * manual/arith.texi: Remove statements about negative zero
9815 behaving identically to zero.
9816
02c4bbad
JM
98172012-02-18 Joseph Myers <joseph@codesourcery.com>
9818
9819 [BZ #5993]
9820 * manual/install.texi: Do not document upgrading from libc5.
9821
366842e7
JM
98222012-02-18 Joseph Myers <joseph@codesourcery.com>
9823
9824 [BZ #4596]
9825 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9826
dd54084d
DM
98272012-02-18 David S. Miller <davem@davemloft.net>
9828
9829 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9830 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9831 %o7 across the call.
9832 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9833 instead.
9834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9835 SETUP_PIC_REG_LEAF.
9836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9837 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9838 * sysdeps/sparc/crtn.S: Likewise.
9839
2bcc53a3
UD
98402012-02-17 Ulrich Drepper <drepper@gmail.com>
9841
9842 * aout/Makefile: Remove.
9843
09c093b5
RK
98442012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9845
9846 [BZ #13058]
9847 * manual/examples/argp-ex1.c (main): Format definition in GNU
9848 style.
9849 * manual/examples/argp-ex2.c (main): Likewise.
9850 * manual/examples/argp-ex3.c (main): Likewise.
9851 * manual/examples/argp-ex4.c (main): Likewise.
9852 * manual/examples/longopt.c (main): Use new-style prototype
9853 definition.
9854 * manual/examples/strncat.c (main): Specify return type and use
9855 (void) for arguments.
9856 * manual/examples/subopt.c (main): Use char **argv argument.
9857
2ee633a2
JM
98582012-02-17 Joseph Myers <joseph@codesourcery.com>
9859
9860 [BZ #5077]
9861 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9862 rounding modes.
9863
0520adde
FB
98642012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9865
9866 [BZ #6907]
9867 * manual/string.texi (strchr): Change when strchrnul is
9868 recommended.
9869
3f4081cd
DGM
98702012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9871
9872 [BZ #174]
9873 * manual/locale.texi (setlocale): Document LOCPATH.
9874
d1b10e78
JM
98752012-02-17 Joseph Myers <joseph@codesourcery.com>
9876
9877 [BZ #10210]
9878 * manual/process.texi (execle): Move @dots{} before last argument.
9879
79c6869c
PB
98802012-02-17 Paul Bolle <pebolle@tiscali.nl>
9881
9882 [BZ #12047]
9883 * manual/charset.texi (Generic Charset Conversion): Fix typo
9884 (LC_TYPE -> LC_CTYPE).
9885
cc6e48bc
NB
98862012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9887
9888 [BZ #5805]
9889 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9890 (scalbnf): Likewise.
9891 (scalbnl): Likewise.
9892 (scalbln): Likewise.
9893 (scalblnf): Likewise.
9894 (scalblnl): Likewise.
9895 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9896 (vwarnx): Likewise.
9897 (verr): Likewise.
9898 (verrx): Likewise.
9899 * manual/filesys.texi (telldir): Use braces around return type.
9900 * manual/llio.texi (mmap): Add space after comma.
9901 (mmap64): Likewise.
9902 * manual/math.texi (jn): Use @var{} on parameter names.
9903 (jnf): Likewise.
9904 (jnl): Likewise.
9905 (yn): Likewise.
9906 (ynf): Likewise.
9907 (ynl): Likewise.
9908 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9909 line.
9910 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9911 "...".
9912 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9913 (sched_get_priority_max): Likewise.
9914 * manual/signal.texi (sigvec): Add space after comma.
9915 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9916 names.
9917 (if_indextoname): Likewise.
9918 (if_freenameindex): Likewise.
9919 (sendto): Use ',' instead of '.' in prototype.
9920 * manual/startup.texi (syscall): Use @dots{} instead of literal
9921 "...".
9922 * manual/stdio.texi (__fpending): Separate initial words of
9923 paragraph from @deftypefun line.
9924 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9925 "...".
9926 (vsyslog): Use @var{} on parameter names.
9927 * manual/terminal.texi (stty): Use @var{} on parameter names.
9928 * manual/users.texi (getutmp): Use @var{} on parameter names.
9929 (getutmpx): Likewise.
9930
5b23062f
JM
99312012-02-17 Joseph Myers <joseph@codesourcery.com>
9932
9933 [BZ #6884]
9934 * manual/stdio.texi (fopen): Fix typos in description of
9935 ",ccs=STRING".
9936
8dee4833
AJ
99372012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9938
9939 [BZ #4026]
9940 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9941 get clock_id definition.
9942
9078ce93
TS
99432012-02-17 Thomas Schwinge <thomas@schwinge.name>
9944
9945 [BZ #4822]
9946 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9947 (madvise): Cast every argument to void on its own.
9948
3835c55f
JM
99492012-02-17 Joseph Myers <joseph@codesourcery.com>
9950
9951 [BZ #9902]
9952 * manual/startup.texi (Exit Status): Fix typo.
9953
35c47e37
JM
99542012-02-17 Joseph Myers <joseph@codesourcery.com>
9955
9956 [BZ #10140]
9957 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9958 * manual/examples/argp-ex2.c: Likewise.
9959 * manual/examples/argp-ex3.c: Likewise.
9960
e3b69ca7
RH
99612012-02-16 Richard Henderson <rth@redhat.com>
9962
9963 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9964 * sysdeps/s390/s390-32/initfini.c: Remove.
9965 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9966 * sysdeps/s390/s390-64/initfini.c: Remove.
9967
df83af67
KK
99682012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9969
9970 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9971 compiler output for sysdeps/generic/initfini.c.
9972 * sysdeps/sh/elf/initfini.c: Remove file.
9973
f63f3380
DM
99742012-02-16 David S. Miller <davem@davemloft.net>
9975
fb59b3a4
DM
9976 [BZ #11494]
9977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9978
f63f3380
DM
9979 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9980 * sysdeps/sparc/crti.S: New file.
9981 * sysdeps/sparc/crtn.S: New file.
9982 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9983 * sysdeps/sparc/sparc64/Makefile: Likewise.
9984
df6a4a4a
MF
99852012-02-15 Mike Frysinger <vapier@gentoo.org>
9986
6dd8f3dc 9987 [BZ #3335]
df6a4a4a
MF
9988 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9989
1cac7236
RM
99902012-02-15 Roland McGrath <roland@hack.frob.com>
9991
d2c736f8
RM
9992 [BZ #4822]
9993 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9994
1cac7236
RM
9995 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9996 (write, read, close): Likewise.
9997 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9998
8e475601
JM
99992012-02-15 Joseph Myers <joseph@codesourcery.com>
10000
10001 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10002 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10003 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10004 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10005 <bits/signalfd.h>.
10006 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10008 bits/signalfd.h.
10009
ed656b40
MP
100102012-02-14 Marek Polacek <polacek@redhat.com>
10011
10012 * sysdeps/x86_64/crti.S: New file.
10013 * sysdeps/x86_64/crtn.S: New file.
10014 * sysdeps/x86_64/elf/initfini.c: Remove file.
10015
2a979d3a
JM
100162012-02-13 Joseph Myers <joseph@codesourcery.com>
10017
10018 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10019 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10020 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10021 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10022 <bits/inotify.h>.
10023 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10025 bits/inotify.h.
10026
2a418ac3
JM
100272012-02-13 Joseph Myers <joseph@codesourcery.com>
10028
10029 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10030 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10031 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10032 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10033 <bits/eventfd.h>.
10034 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10036 bits/eventfd.h.
10037
fb779be7
TS
100382012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10039
e19e83c5
RM
10040 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10041 __feraiseexcept instead of feraiseexcept.
7c35ffed 10042
fb779be7
TS
10043 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10044 nanosleep invocations.
10045 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10046 strings, and add error checking for a nanosleep invocations.
10047
59ba27a6
PE
100482012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10049
10050 Replace FSF snail mail address with URLs, as per GNU coding standards.
10051 Most of the snail mail addresses were wrong anyway, and omitting
10052 them makes the source code easier to maintain. Almost all of the
10053 changes are to license notices and to locale LC_IDENTIFICATION
10054 addresses, except for this one:
10055 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10056 not its snail mail address.
10057
57b957eb
RH
100582012-02-09 Richard Henderson <rth@twiddle.net>
10059
af850b1c
RH
10060 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10061 of kernel-features.h.
10062
57b957eb
RH
10063 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10064
6b73181a
MP
100652012-02-08 Marek Polacek <polacek@redhat.com>
10066
10067 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10068 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10069 * sysdeps/gnu/_G_config.h: Likewise.
10070 * sysdeps/generic/_G_config.h: Likewise.
10071
26ecc33a
AS
100722012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10073
6c6dbc63
AS
10074 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10075 tests.
10076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10077
e216c012
AS
10078 * sysdeps/powerpc/powerpc32/crti.S: New file.
10079 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10080 * sysdeps/powerpc/powerpc64/crti.S: New file.
10081 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10082
26ecc33a
AS
10083 * Makeconfig (have-initfini): Don't set.
10084 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10085 * configure.in (nopic_initfini): Don't substitute.
10086 * config.h.in (HAVE_INITFINI): Don't #undef.
10087 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10088 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10089
3add8e13
JM
100902012-02-08 Joseph Myers <joseph@codesourcery.com>
10091
10092 Support crti.S and crtn.S provided directly by architectures.
10093 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10094 [crti.S in sysdirs] (omit-deps): Likewise.
10095 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10096 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10097 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10098 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10099 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10100 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10101 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10102 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10103 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10104 compiler output for sysdeps/generic/initfini.c.
10105 * sysdeps/i386/elf/Makefile: Remove file.
10106 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10107
a22f12b4
MP
101082012-02-07 Marek Polacek <polacek@redhat.com>
10109
10110 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10111 * sysdeps/gnu/_G_config.h: Likewise.
10112 * sysdeps/mach/hurd/_G_config.h: Likewise.
10113
148cf100
MP
101142012-02-07 Marek Polacek <polacek@redhat.com>
10115
10116 * math/Makefile (tests): Add tst-CMPLX2.
10117 * math/tst-CMPLX2.c: New file.
10118
cfdc0dd7
AS
101192012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10120
84ba42c4
AS
10121 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10122
cfdc0dd7
AS
10123 * math/libm-test.inc (jn_test): Add missing L suffix.
10124
622c86f4
MP
101252012-02-06 Marek Polacek <polacek@redhat.com>
10126
10127 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10128 * sysdeps/i386/fpu/e_powf.S: Likewise.
10129 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10130 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10131 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10132 * sysdeps/i386/fpu/e_pow.S: Likewise.
10133 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10134 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10135 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10136 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10137 * sysdeps/i386/fpu/e_log2.S: Likewise.
10138 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10139 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10140 * sysdeps/i386/fpu/e_powl.S: Likewise.
10141 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10142 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10143 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10144 * sysdeps/i386/fpu/e_logl.S: Likewise.
10145 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10146 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10147 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10148 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10149 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10150 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10151 * sysdeps/i386/fpu/e_log.S: Likewise.
10152 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10153 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10154 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10155 * sysdeps/i386/fpu/e_logf.S: Likewise.
10156 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10157 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10158 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10159 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10160 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10161 * sysdeps/i386/fpu/e_log10.S: Likewise.
10162 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10163 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10164 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10165 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10166 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10167 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10168 * sysdeps/i386/asm-syntax.h: Likewise.
10169 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10170 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10171 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10172 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10173 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10174 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10175 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10176 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10177 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10178 * sysdeps/powerpc/sysdep.h: Likewise.
10179 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10180 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10181
d4a54ac6
JM
101822012-02-06 Joseph Myers <joseph@codesourcery.com>
10183
10184 [BZ #411]
10185 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10186
314054ea
JM
101872012-02-06 Joseph Myers <joseph@codesourcery.com>
10188
10189 * sysdeps/i386/sysdep.h: Include <features.h>.
10190 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10191 version.
10192
d8e0ca50
JM
101932012-02-05 Joseph Myers <joseph@codesourcery.com>
10194
10195 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10196 Define.
10197 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10198 LOAD_PIC_REG_STR.
10199
b1da7dd9
JM
102002012-02-03 Joseph Myers <joseph@codesourcery.com>
10201
10202 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10203 (SETUP_PIC_REG): Use GET_PC_THUNK.
10204 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10205 macro.
10206
9a1d9254
JM
102072012-02-03 Joseph Myers <joseph@codesourcery.com>
10208
10209 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10210 for non-PIC compilation.
10211 (SETUP_PIC_REG): Add .p2align directive.
10212 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10213 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10214 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10215 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10216 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10217 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10218 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10219 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10220 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10221 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10222 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10223 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10224 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10225 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10226 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10227 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10228 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10229 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10230 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10231 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10232 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10233 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10234 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10235 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10236 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10238 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10239 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10240 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10241 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10242 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10243 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10244 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10245 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10246 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10247 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10248 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10249 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10250 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10251 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10252 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10253
65dc3b75
JM
102542012-02-03 Joseph Myers <joseph@codesourcery.com>
10255
10256 * math/tst-CMPLX.c: Include <stdio.h>.
10257
d55bf177
JM
102582012-01-31 Joseph Myers <joseph@codesourcery.com>
10259
10260 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10261 float.
10262 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10263 * sysdeps/sparc/bits/mathdef.h: Likewise.
10264
69db4f8f
MP
102652012-01-31 Marek Polacek <polacek@redhat.com>
10266
10267 * libio/libio.h: Don't define _PARAMS.
10268 * locale/programs/config.h: Don't define PARAMS.
10269 * stdlib/strtol_l.c: Likewise.
10270 (__strtol_l): Remove PARAMS from the prototype.
10271
41b81892
UD
102722012-01-31 Ulrich Drepper <drepper@gmail.com>
10273
3b49edc0
UD
10274 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10275 names. Just use the correct names. Remove unnecessary wrapper
10276 functions.
10277 * malloc/arena.c: Likewise.
10278 * malloc/hooks.c: Likewise.
10279
41b81892
UD
10280 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10281 ARENA_TEST says not to. Simplify test for creation of a new arena.
10282 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10283
27a25b6e
UD
102842012-01-30 Ulrich Drepper <drepper@gmail.com>
10285
10286 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10287 into tail calls.
10288 (update_get_addr): New function.
10289 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10290 GET_ADDR_MODULE parameter.
10291
c8a89e7d
JM
102922012-01-30 Joseph Myers <joseph@codesourcery.com>
10293
10294 * crypt/cert.c: Remove __STDC__ conditionals.
10295 * crypt/crypt-entry.c: Likewise.
10296 * crypt/crypt_util.c: Likewise.
10297 * libio/filedoalloc.c: Likewise.
10298 * libio/fileops.c: Likewise.
10299 * libio/genops.c: Likewise.
10300 * libio/iofclose.c: Likewise.
10301 * libio/iofdopen.c: Likewise.
10302 * libio/iofopen.c: Likewise.
10303 * libio/iofopen64.c: Likewise.
10304 * libio/iogetdelim.c: Likewise.
10305 * libio/iopopen.c: Likewise.
10306 * libio/obprintf.c: Likewise.
10307 * libio/oldfileops.c: Likewise.
10308 * libio/oldiofclose.c: Likewise.
10309 * libio/oldiofdopen.c: Likewise.
10310 * libio/oldiofopen.c: Likewise.
10311 * libio/oldiopopen.c: Likewise.
10312 * libio/wfiledoalloc.c: Likewise.
10313 * libio/wgenops.c: Likewise.
10314 * locale/programs/xmalloc.c: Likewise.
10315 * misc/syslog.c: Likewise.
10316 * stdio-common/xbug.c: Likewise.
10317 * string/memchr.c: Likewise.
10318 * string/memcmp.c: Likewise.
10319 * string/memrchr.c: Likewise.
10320 * string/rawmemchr.c: Likewise.
10321 * sysdeps/posix/getcwd.c: Likewise.
10322 * time/strftime_l.c: Likewise.
10323
3b100462
JM
103242012-01-30 Joseph Myers <joseph@codesourcery.com>
10325
10326 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10327 * config.make.in (config-cflags-sse2avx): Define.
10328 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10329 Fix typo.
10330
607998af
CM
103312012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10332
10333 * scripts/config.guess: Update from upstream config git repository.
10334 * scripts/config.sub: Likewise.
10335
3601428f
CM
103362012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10337
3ac8b282
CM
10338 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10339 (EM_NUM): Update.
10340 (R_TILEPRO_*, R_TILEGX_*): New macros.
10341
e034841e
CM
10342 * scripts/firstversions.awk: Fix bug in version range handling.
10343
540d7568
CM
10344 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10345
3601428f
CM
10346 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10347
463de862
CM
10348 * include/sys/epoll.h: New file.
10349 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10350 libc_hidden_def.
10351
73139a76
UD
103522012-01-28 Ulrich Drepper <drepper@gmail.com>
10353
96bc5b45
UD
10354 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10355 Avoid unnecessary __WORDSIZE == 64 test.
10356 (fmaxf): Use VEX format if possible.
10357 (fmax): Likewise.
10358 (fminf): Likewise.
10359 (fmin): Likewise.
10360
56f6f6a2
UD
10361 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10362 * math/math_private.h: Remove libc_fegetround* and
10363 libc_fesetround*.
10364 * sysdeps/i386/configure.in: Check for -msse2avx.
10365 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10366 also if SSE2AVX is defined.
10367 Remove libc_fegetround* and libc_fesetround*.
10368 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10369 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10371 of HAS_YMM_USABLE.
10372 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10373 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10374 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10376 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10377
73139a76
UD
10378 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10379
d73f93a4
AZ
103802012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10381
10382 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10383 size is not set.
10384 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10385
6ee65ed6
UD
103862012-01-27 Ulrich Drepper <drepper@gmail.com>
10387
10388 [BZ #13618]
10389 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10390 relocation.
10391 * Makeconfig (libm): Define.
10392 * elf/Makefile: Add rules to build and run tst-relsort1.
10393 * elf/tst-relsort1.c: New file.
10394 * elf/tst-relsort1mod1.c: New file.
10395 * elf/tst-relsort1mod2.c: New file.
10396
8db21882
JM
103972012-01-27 Joseph Myers <joseph@codesourcery.com>
10398
10399 * math/s_ldexp.c: Remove __STDC__ conditionals.
10400 * math/s_ldexpf.c: Likewise.
10401 * math/s_ldexpl.c: Likewise.
10402 * math/s_nextafter.c: Likewise.
10403 * math/s_nexttowardf.c: Likewise.
10404 * math/s_significand.c: Likewise.
10405 * math/s_significandf.c: Likewise.
10406 * math/s_significandl.c: Likewise.
10407 * math/w_jnl.c: Likewise.
10408 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10409 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10410 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10411 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10412 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10427 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10428 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10429 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10430 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10431 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10432 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10433 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10434 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10435 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10436 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10437 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10438 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10439 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10440 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10441 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10442 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10443 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10444 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10445 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10446 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10447 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10448 * sysdeps/ieee754/k_standard.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10467 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10472 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10473 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10484 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10485 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10486 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10488 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10489 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10491 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10492 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10493 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10494 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10495 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10496 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10497 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10498 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10499 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10500 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10501 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10502 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10503 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10510 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10514 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10515 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10523 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10524 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10528 * sysdeps/ieee754/s_matherr.c: Likewise.
10529 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10530 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10531 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10533
965a54a4
JM
105342012-01-26 Joseph Myers <joseph@codesourcery.com>
10535
10536 * crypt/md5.h: Remove __STDC__ conditionals.
10537 * libio/libioP.h: Likewise.
10538 * locale/programs/config.h: Likewise.
10539 * sysdeps/generic/sysdep.h: Likewise.
10540 * sysdeps/i386/asm-syntax.h: Likewise.
10541 * sysdeps/s390/asm-syntax.h: Likewise.
10542 * sysdeps/unix/sysdep.h: Likewise.
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10545
7071ad79
JM
105462012-01-26 Joseph Myers <joseph@codesourcery.com>
10547
10548 * libio/libio.h: Remove __STDC__ conditionals.
10549 * malloc/obstack.h: Likewise.
10550 * math/complex.h: Likewise.
10551 * math/math.h: Likewise.
10552 * sysdeps/generic/_G_config.h: Likewise.
10553 * sysdeps/gnu/_G_config.h: Likewise.
10554 * sysdeps/mach/hurd/_G_config.h: Likewise.
10555 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10556 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10557 * sysdeps/sparc/bits/mathdef.h: Likewise.
10558
afc5ed09
UD
105592012-01-26 Ulrich Drepper <drepper@gmail.com>
10560
10561 [BZ #13583]
10562 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10563 Clean up HAS_* macros.
afc5ed09 10564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10565 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10566 possible.
10567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10568 HAS_AVX.
10569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10570 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10571 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10572 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10573 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10574
bdb6de1d
JM
105752012-01-25 Joseph Myers <joseph@codesourcery.com>
10576
10577 * elf/tst-unique3.cc (gets): Remove declaration.
10578 * elf/tst-unique3lib.cc (gets): Likewise.
10579 * elf/tst-unique3lib2.cc (gets): Likewise.
10580 * elf/tst-unique4.cc (gets): Likewise.
10581
b15549e6
UD
105822012-01-24 Ulrich Drepper <drepper@gmail.com>
10583
10584 * include/stdio.h: Add C++ protection. Add gets declarations and
10585 definitions.
10586 * debug/tst-chk1.c: Don't declare gets here.
10587 * stdio-common/tst-gets.c: Likewise.
10588
a037381f
JM
105892012-01-24 Joseph Myers <joseph@codesourcery.com>
10590
10591 * posix/glob: Remove directory.
10592
f1d4aa75
JM
105932012-01-24 Joseph Myers <joseph@codesourcery.com>
10594
10595 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10596
81c0c964
PT
105972012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10598
10599 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10600 of the non-standard EPFNOSUPPORT.
10601
0ea698ae
ST
106022011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10603
10604 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10605 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10606 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10607
d220b117
UD
106082012-01-21 Ulrich Drepper <drepper@gmail.com>
10609
10610 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10611
3e1aa84e
UD
106122012-01-20 Ulrich Drepper <drepper@gmail.com>
10613
10614 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10615 transient errors.
10616 * nscd/grpcache.c (cache_addgr): Likewise.
10617 * nscd/hstcache.c (cache_addhst): Likewise.
10618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10619 * nscd/pwdcache.c (cache_addpw): Likewise.
10620 * nscd/servicescache.c (cache_addserv): Likewise.
10621
400aa020
UD
106222012-01-16 Ulrich Drepper <drepper@gmail.com>
10623
d77e7869
UD
10624 * malloc/malloc.c: Various cleanups.
10625 * malloc/hooks.c: Likewise.
10626
400aa020
UD
10627 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10628 * stdlib/bug-fmtmsg1.c: New file.
10629
10630 * stdlib/fmtmsg.c (init): Add missing unlock.
10631 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10632
e0a309cf
MP
106332012-01-12 Marek Polacek <polacek@redhat.com>
10634
10635 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10636 and _GNU_SOURCE.
10637
929d11c7
WS
106382012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10639
10640 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10641 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10642 macro to ensure uniqueness of label name.
10643 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10644 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10645
41d0e869
UD
106462012-01-11 Ulrich Drepper <drepper@gmail.com>
10647
0cc5ed3b
UD
10648 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10649
41d0e869
UD
10650 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10651 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10652 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10654
a47a831a
UD
106552012-01-10 Ulrich Drepper <drepper@gmail.com>
10656
daa891c0
UD
10657 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10658
10659 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10660 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10661 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10662
e58ef0f2
UD
10663 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10664
a47a831a 10665 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10666 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10667 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10669
10670 * math/bits/math-finite.h: Add ldexp support.
10671
a0bfc9c7
MP
106722012-01-10 Marek Polacek <polacek@redhat.com>
10673
10674 * locale/programs/localedef.h (show_archive_content): Add noreturn
10675 attribute.
10676
d6e97a1d
UD
106772012-01-09 Ulrich Drepper <drepper@gmail.com>
10678
10679 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10680
d5835c26
UD
106812012-01-08 Ulrich Drepper <drepper@gmail.com>
10682
e5f484c6
UD
10683 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10684
d5835c26
UD
10685 * io/Makefile (headers): Add bits/poll2.h.
10686
d1f741e9
WS
106872011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10688
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10690 typo #include statement.
10691
ec09c1c4
UD
106922012-01-08 Ulrich Drepper <drepper@gmail.com>
10693
10694 * include/sys/cdefs.h: Define __attribute_alloc_size.
10695 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10696 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10697 * elf/pldd.c: Likewise.
10698 * iconv/iconv_charmap.c: Likewise.
10699 * iconv/iconvconfig.c: Likewise.
10700 * iconv/strtab.c: Likewise.
10701 * locale/programs/locale.c: Likewise.
10702 * locale/programs/localedef.h: Likewise.
10703 * locale/programs/simple-hash.c: Likewise.
10704 * nscd/nscd.h: Likewise.
10705 * nss/makedb.c: Likewise.
10706 * sysdeps/generic/ldconfig.h: Likewise.
10707 * locale/programs/localedef.c: Remove xmalloc prototype.
10708 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10709
20b38e03
PP
107102012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10711
10712 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10713 appropriate.
10714
a0da5fe1
UD
107152012-01-08 Ulrich Drepper <drepper@gmail.com>
10716
1d5a644a 10717 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10718 * math/tst-CMPLX.c: New file.
1d5a644a 10719
8784a6db
UD
10720 * math/complex.h (CMPLXL): Fix typo.
10721
d9a216c0
UD
10722 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10723 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10724 GLIBC_2.16.
10725 * debug/tst-chk1.c: Add poll and ppoll tests.
10726 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10727 * include/sys/poll.h: Add hidden proto for ppoll.
10728 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10729 * sysdeps/mach/hurd/ppoll.c: Likewise.
10730 * io/ppoll.c: Likewise.
10731 * debug/poll_chk.c: New file.
10732 * debug/ppoll_chk.c: New file.
10733 * include/bits/poll2.h: New file.
10734 * io/bits/poll2.h: New file.
10735
ac097f5c
UD
10736 [BZ #1350]
10737 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10738
2119dcfa
UD
10739 * configure.in: static is always set to yes. Remove.
10740 * config.make.in: Don't set build-static.
10741 * Makeconfig: Remove use of build-static.
10742 * dlfcn/Makefile: Likewise.
10743 * elf/Makefile: Likewise.
10744 * math/Makefile: Likewise.
10745 * misc/Makefile: Likewise.
10746 * nptl/Makefile: Likewise.
10747 * sysdeps/mach/hurd/Makefile: Likewise.
10748
121766a9
UD
10749 * configure.in: PWD_P is not used anymore.
10750 * config.make.in: Remove PWD_P entry.
10751
51a1d39c 10752 * configure.in: Remove last remnants of RANLIB.
8720d066 10753 No need to check for signed size_t anymore.
215f4bdc
UD
10754 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10755 and IA-64.
3857022a 10756 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10757 * aclocal.m4: Likewise.
10758
d3ed7225
UD
10759 * wcsmbs/mbrtoc16.c: Implement using towc function.
10760 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10761 * wcsmbs/wcsmbsload.c: Likewise.
10762 * iconv/gconv_simple.c: Likewise.
10763 * iconv/gconv_int.h: Likewise.
10764 * iconv/gconv_builtin.h: Likewise.
10765 * iconv/iconv_prog.c: Remove CHAR16 handling.
10766
10767 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10768
10769 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10770
a0da5fe1
UD
10771 * configure.in: Remove --with-elf and --enable-bounded options.
10772 Dont set base_machine for ia64. More non-ELF conditions removed.
10773 Remove testing and setting of leading underscore information.
10774 * config.make.in (build-bounded): Set to no.
10775 * config.h.in: Remove NO_UNDERSCORES entry.
10776 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10777 them.
10778 * csu/start.c: Remove !NO_UNDERSCORE code.
10779 * locale/localeinfo.h: Likewise.
10780 * sysdeps/generic/machine-gmon.h: Likewise.
10781 * sysdeps/generic/sysdep.h: Likewise.
10782 * sysdeps/i386/sysdep.h: Likewise.
10783 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10784 * sysdeps/mach/sysdep.h: Likewise.
10785 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10786 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10787 * sysdeps/sh/sysdep.h: Likewise.
10788 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10789 * sysdeps/unix/i386/sysdep.S: Likewise.
10790 * sysdeps/unix/sparc/start.c: Likewise.
10791 * sysdeps/unix/sparc/sysdep.S: Likewise.
10792 * sysdeps/unix/sparc/sysdep.h: Likewise.
10793 * sysdeps/unix/start.c: Likewise.
10794 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10795 * sysdeps/x86_64/sysdep.h: Likewise.
10796
df78418a
UD
107972012-01-07 Ulrich Drepper <drepper@gmail.com>
10798
a784e502
UD
10799 [BZ #13553]
10800 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10801 for non-gcc.
10802 * argp/argp-fmtstream.h: Use const instead __const.
10803 * argp/argp.h: Likewise.
10804 * assert/assert.h: Likewise.
10805 * bits/fenv.h: Likewise.
10806 * bits/sched.h: Likewise.
10807 * bits/sigset.h: Likewise.
10808 * bits/sigthread.h: Likewise.
10809 * catgets/nl_types.h: Likewise.
10810 * conform/data/pthread.h-data: Likewise.
10811 * crypt/crypt-private.h: Likewise.
10812 * crypt/crypt.h: Likewise.
10813 * crypt/crypt_util.c: Likewise.
10814 * ctype/ctype.h: Likewise.
10815 * debug/execinfo.h: Likewise.
10816 * debug/mbsnrtowcs_chk.c: Likewise.
10817 * debug/mbsrtowcs_chk.c: Likewise.
10818 * debug/wcsnrtombs_chk.c: Likewise.
10819 * debug/wcsrtombs_chk.c: Likewise.
10820 * debug/wcstombs_chk.c: Likewise.
10821 * dirent/dirent.h: Likewise.
10822 * dlfcn/dlfcn.h: Likewise.
10823 * elf/neededtest4.c: Likewise.
10824 * grp/grp.h: Likewise.
10825 * gshadow/gshadow.h: Likewise.
10826 * iconv/gconv.h: Likewise.
10827 * iconv/gconv_int.h: Likewise.
10828 * iconv/gconv_simple.c: Likewise.
10829 * iconv/iconv.h: Likewise.
10830 * iconv/loop.c: Likewise.
10831 * iconv/skeleton.c: Likewise.
10832 * include/aio.h: Likewise.
10833 * include/aliases.h: Likewise.
10834 * include/argz.h: Likewise.
10835 * include/arpa/inet.h: Likewise.
10836 * include/assert.h: Likewise.
10837 * include/dirent.h: Likewise.
10838 * include/dlfcn.h: Likewise.
10839 * include/execinfo.h: Likewise.
10840 * include/fcntl.h: Likewise.
10841 * include/fenv.h: Likewise.
10842 * include/glob.h: Likewise.
10843 * include/grp.h: Likewise.
10844 * include/libintl.h: Likewise.
10845 * include/mntent.h: Likewise.
10846 * include/netdb.h: Likewise.
10847 * include/pwd.h: Likewise.
10848 * include/rpc/netdb.h: Likewise.
10849 * include/sched.h: Likewise.
10850 * include/search.h: Likewise.
10851 * include/shadow.h: Likewise.
10852 * include/signal.h: Likewise.
10853 * include/stdio.h: Likewise.
10854 * include/stdlib.h: Likewise.
10855 * include/string.h: Likewise.
10856 * include/sys/socket.h: Likewise.
10857 * include/sys/stat.h: Likewise.
10858 * include/sys/statfs.h: Likewise.
10859 * include/sys/statvfs.h: Likewise.
10860 * include/sys/syslog.h: Likewise.
10861 * include/sys/time.h: Likewise.
10862 * include/sys/uio.h: Likewise.
10863 * include/time.h: Likewise.
10864 * include/unistd.h: Likewise.
10865 * include/utmp.h: Likewise.
10866 * include/wchar.h: Likewise.
10867 * include/wctype.h: Likewise.
10868 * inet/aliases.h: Likewise.
10869 * inet/arpa/inet.h: Likewise.
10870 * inet/netinet/ether.h: Likewise.
10871 * inet/netinet/in.h: Likewise.
10872 * intl/libintl.h: Likewise.
10873 * io/bits/fcntl2.h: Likewise.
10874 * io/fcntl.h: Likewise.
10875 * io/ftw.h: Likewise.
10876 * io/sys/poll.h: Likewise.
10877 * io/sys/stat.h: Likewise.
10878 * io/sys/statfs.h: Likewise.
10879 * io/sys/statvfs.h: Likewise.
10880 * io/utime.h: Likewise.
10881 * libio/bits/stdio.h: Likewise.
10882 * libio/bits/stdio2.h: Likewise.
10883 * libio/libio.h: Likewise.
10884 * libio/libioP.h: Likewise.
10885 * libio/stdio.h: Likewise.
10886 * locale/lc-ctype.c: Likewise.
10887 * locale/locale.h: Likewise.
10888 * login/utmp.h: Likewise.
10889 * malloc/arena.c: Likewise.
10890 * malloc/malloc.c: Likewise.
10891 * malloc/malloc.h: Likewise.
10892 * malloc/mcheck.c: Likewise.
10893 * malloc/mtrace.c: Likewise.
10894 * math/bits/mathcalls.h: Likewise.
10895 * math/fenv.h: Likewise.
10896 * math/math_private.h: Likewise.
10897 * misc/bits/error.h: Likewise.
10898 * misc/bits/syslog.h: Likewise.
10899 * misc/err.h: Likewise.
10900 * misc/error.h: Likewise.
10901 * misc/fstab.h: Likewise.
10902 * misc/mntent.h: Likewise.
10903 * misc/regexp.h: Likewise.
10904 * misc/search.h: Likewise.
10905 * misc/sgtty.h: Likewise.
10906 * misc/sys/mman.h: Likewise.
10907 * misc/sys/syslog.h: Likewise.
10908 * misc/sys/uio.h: Likewise.
10909 * misc/sys/xattr.h: Likewise.
10910 * misc/ttyent.h: Likewise.
10911 * nis/rpcsvc/ypclnt.h: Likewise.
10912 * nss/nss.h: Likewise.
10913 * posix/bits/unistd.h: Likewise.
10914 * posix/fnmatch.h: Likewise.
10915 * posix/glob.h: Likewise.
10916 * posix/sched.h: Likewise.
10917 * posix/spawn.h: Likewise.
10918 * posix/sys/wait.h: Likewise.
10919 * posix/unistd.h: Likewise.
10920 * posix/wordexp.h: Likewise.
10921 * pwd/pwd.h: Likewise.
10922 * resolv/netdb.h: Likewise.
10923 * resource/sys/resource.h: Likewise.
10924 * rt/aio.h: Likewise.
10925 * rt/bits/mqueue2.h: Likewise.
10926 * rt/mqueue.h: Likewise.
10927 * shadow/shadow.h: Likewise.
10928 * signal/signal.h: Likewise.
10929 * socket/send.c: Likewise.
10930 * socket/sendto.c: Likewise.
10931 * socket/sys/socket.h: Likewise.
10932 * stdio-common/printf.h: Likewise.
10933 * stdlib/bits/stdlib.h: Likewise.
10934 * stdlib/fmtmsg.h: Likewise.
10935 * stdlib/monetary.h: Likewise.
10936 * stdlib/stdlib.h: Likewise.
10937 * stdlib/ucontext.h: Likewise.
10938 * streams/stropts.h: Likewise.
10939 * string/argz.h: Likewise.
10940 * string/bits/string2.h: Likewise.
10941 * string/string.h: Likewise.
10942 * string/strings.h: Likewise.
10943 * sunrpc/rpc/auth.h: Likewise.
10944 * sunrpc/rpc/auth_des.h: Likewise.
10945 * sunrpc/rpc/clnt.h: Likewise.
10946 * sunrpc/rpc/netdb.h: Likewise.
10947 * sunrpc/rpc/pmap_clnt.h: Likewise.
10948 * sunrpc/rpc/xdr.h: Likewise.
10949 * sysdeps/generic/inttypes.h: Likewise.
10950 * sysdeps/generic/net/if.h: Likewise.
10951 * sysdeps/generic/sys/swap.h: Likewise.
10952 * sysdeps/gnu/net/if.h: Likewise.
10953 * sysdeps/gnu/utmpx.h: Likewise.
10954 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10955 * sysdeps/i386/i486/bits/string.h: Likewise.
10956 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10957 * sysdeps/s390/bits/string.h: Likewise.
10958 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10959 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10960 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10961 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10962 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10963 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10964 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10965 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10966 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10967 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10968 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10969 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10970 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10971 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10972 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10973 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10974 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10975 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10976 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10978 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10979 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10980 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10981 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10982 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10983 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10984 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10985 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10986 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10987 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10988 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10989 * sysvipc/sys/ipc.h: Likewise.
10990 * sysvipc/sys/msg.h: Likewise.
10991 * sysvipc/sys/sem.h: Likewise.
10992 * sysvipc/sys/shm.h: Likewise.
10993 * termios/termios.h: Likewise.
10994 * time/sys/time.h: Likewise.
10995 * time/time.h: Likewise.
10996 * wcsmbs/bits/wchar2.h: Likewise.
10997 * wcsmbs/uchar.h: Likewise.
10998 * wcsmbs/wchar.h: Likewise.
10999 * wctype/wctype.h: Likewise.
11000
0269750c
UD
11001 [BZ #13551]
11002 * Makeconfig: Remove all but ELF support including AIX support.
11003 * Makerules: Likewise.
11004 * config.h.in: Likewise.
11005 * config.make.in: Likewise.
11006 * configure: Likewise.
11007 * configure.in: Likewise.
11008 * csu/Makefile: Likewise.
11009 * csu/version.c: Likewise.
11010 * debug/Makefile: Likewise.
11011 * dlfcn/Makefile: Likewise.
11012 * elf/Makefile: Likewise.
11013 * extra-lib.mk: Likewise.
11014 * iconv/Makefile: Likewise.
11015 * include/libc-symbols.h: Likewise.
11016 * include/shlib-compat.h: Likewise.
11017 * resolv/Makefile: Likewise.
11018 * resolv/res_libc.c: Likewise.
11019 * rt/Makefile: Likewise.
11020 * sysdeps/i386/asm-syntax.h: Likewise.
11021 * sysdeps/i386/sysdep.h: Likewise.
11022 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11023 * sysdeps/mach/sysdep.h: Likewise.
11024 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11025 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11026 * sysdeps/s390/asm-syntax.h: Likewise.
11027 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11028 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11029 * sysdeps/sh/sysdep.h: Likewise.
11030 * sysdeps/unix/sparc/sysdep.h: Likewise.
11031 * sysdeps/wordsize-32/divdi3.c: Likewise.
11032 * sysdeps/x86_64/sysdep.h: Likewise.
11033
00bbd29b
UD
11034 * argp/Versions: Remove _argp_unlock_xxx.
11035
11036 [BZ #13559]
11037 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11038 * abilist/libBrokenLocale.abilist: Likewise.
11039 * abilist/libanl.abilist: Likewise.
11040 * abilist/libc.abilist: Likewise.
11041 * abilist/libcrypt.abilist: Likewise.
11042 * abilist/libdl.abilist: Likewise.
11043 * abilist/libm.abilist: Likewise.
11044 * abilist/libnsl.abilist: Likewise.
11045 * abilist/libpthread.abilist: Likewise.
11046 * abilist/libresolv.abilist: Likewise.
11047 * abilist/librt.abilist: Likewise.
11048 * abilist/libthread_db.abilist: Likewise.
11049 * abilist/libutil.abilist: Likewise.
11050 * abilist/libnss_db.abilist: New file.
11051
11052 * scripts/abilist.awk: Add support for indirect functions.
11053
a2693a0e
UD
11054 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11055
3f05895f
UD
11056 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11057
ecb6fb48
UD
11058 * shlib-versions: Remove entries for ports architectures.
11059
664f8cb9
UD
11060 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11061 files in ports.
11062 * elf/stackguard-macros.h: Remove support for IA-64.
11063 * elf/tst-auditmod1.c: Likewise.
11064 * sysdeps/generic/ldsodefs.h: Likewise.
11065
7ae81d88
UD
11066 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11067 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11068 configure files.
11069
bdeba135
UD
11070 [BZ #13552]
11071 * configure.in: Remove --enable-omitfp support.
11072 * FAQ.in: Adjust.
11073 * config.make.in: Likewise.
11074 * Makeconfig: Likewise.
11075 * manual/install.texi: Likewise.
11076
d75a0a62
UD
11077 In case anyone cares, the IA-64 architecture could move to ports.
11078 * sysdeps/ia64/*: Removed.
11079 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11080 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11081
dcc9756b
UD
11082 [BZ #13555]
11083 * configure.in: Remove entries for unsupported architectures.
11084
d3761ebc 11085 [BZ #13533]
9954432e
UD
11086 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11087 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11088 routines.
11089 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11090 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11091 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11092 fall back to using wcrtomb.
11093 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11094 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11095 renaming.
11096 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11097 * wcsmbs/tst-c16c32-1.c: New file.
11098
11099 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11100 local variable.
11101
c3a87236
UD
11102 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11103
28926a1b
UD
11104 * elf/tst-unique3.cc: Add explicit declaration of gets.
11105 * elf/tst-unique3lib.cc: Likewise.
11106 * elf/tst-unique3lib2.cc: Likewise.
11107 * elf/tst-unique4.cc: Likewise.
11108
df78418a
UD
11109 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11110
8ecd6b2a
JM
111112012-01-06 Joseph Myers <joseph@codesourcery.com>
11112
11113 [BZ #13566]
11114 * assert/assert.h (static_assert): Don't define for C++.
11115 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11116 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11117
9f115170
UD
111182012-01-03 Ulrich Drepper <drepper@gmail.com>
11119
5e0d0300
UD
11120 * iconv/loop.c (single loop): Fix assertion in storing of
11121 remaining bytes.
11122
9f115170
UD
11123 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11124
81fb02b0
UD
111252012-01-01 Ulrich Drepper <drepper@gmail.com>
11126
11127 * posix/getconf.c: Update copyright year.
11128 * nss/getent.c: Likewise.
a316c1f6 11129 * nss/makedb.c: Likewise.
81fb02b0
UD
11130 * iconv/iconvconfig.c: Likewise.
11131 * iconv/iconv_prog.c: Likewise.
11132 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11133 * elf/pldd.c: Likewise.
11134 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11135 * catgets/gencat.c: Likewise.
11136 * csu/version.c: Likewise.
11137 * elf/ldd.bash.in: Likewise.
11138 * elf/sprof.c (print_version): Likewise.
11139 * locale/programs/locale.c: Likewise.
11140 * locale/programs/localedef.c: Likewise.
a316c1f6 11141 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11142 * nscd/nscd.c (print_version): Likewise.
11143 * debug/xtrace.sh: Likewise.
11144 * malloc/memusage.sh: Likewise.
11145 * malloc/mtrace.pl: Likewise.
11146 * debug/catchsegv.sh: Likewise.
11147
2ba92745
JJ
111482011-12-30 Jakub Jelinek <jakub@redhat.com>
11149
11150 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11151 pure attribute.
11152
dadebdae
UD
111532011-12-24 Ulrich Drepper <drepper@gmail.com>
11154
d3761ebc 11155 [BZ #13533]
db6af3eb
UD
11156 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11157 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11158 transformations.
11159 * iconv/gconv_int.h: Likewise.
11160 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11161 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11162 from libc for GLIBC_2.16.
11163 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11164 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11165 * wcsmbs/uchar.h: Really define mbstate_t.
11166 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11167 * wcsmbs/c16rtomb.c: New file.
11168 * wcsmbs/mbrtoc16.c: New file.
11169 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11170 for C/POSIX locale.
11171 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11172 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11173
dadebdae
UD
11174 * wcsmbs/wchar.h: Add missing __restrict.
11175
67371b56
UD
111762011-12-23 Ulrich Drepper <drepper@gmail.com>
11177
74033a25
UD
11178 [BZ #13532]
11179 * time/Makefile (routines): Add timespec_get.
11180 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11181 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11182 timespec for ISO C11.
11183 * time/timespec_get.c: New file.
11184 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11185 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11186
380d7e87
UD
11187 [BZ #13531]
11188 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11189 * stdlib/stdlib.h: Declare aligned_alloc.
11190 * Versions.def: Add GLIBC_2.16 for libc.
11191 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11192
4e9e7a35
UD
11193 [BZ 13527]
11194 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11195 ISO C11.
11196
380d7e87 11197 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11198 code.
11199
03a71829
UD
11200 [BZ #13528]
11201 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11202
839e283e
UD
11203 [BZ #13529]
11204 * assert/assert.h (static_assert): Define.
11205
ce5294e2 11206 * version.h: Update for 2.16 development version.
90fa7312 11207
8d44e150 11208 [BZ #13526]
d7809905
UD
11209 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11210 _ISOC11_SOURCE.
11211
c0da14cd
UD
11212 * version.h (RELEASE): Bump for 2.15 release.
11213 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11214
530a3249
MP
11215 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11216 Patch by Marek Polacek <mpolacek@redhat.com>.
11217
67371b56
UD
11218 * bits/byteswap.h: Protect long long constants with __extension__.
11219 * sysdeps/i386/bits/byteswap.h: Likewise.
11220 * sysdeps/ia64/bits/byteswap.h: Likewise.
11221 * sysdeps/s390/bits/byteswap.h: Likewise.
11222 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11223
15db4de1
LD
112242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11225
11226 [BZ #13540]
bbe315ea
LD
11227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11228 destination buffer.
15db4de1
LD
11229 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11230
2b2596b1
MP
112312011-12-23 Marek Polacek <polacek@redhat.com>
11232
11233 * elf/dl-addr.c (determine_info): Add inline keyword.
11234 * elf/tst-auditmod4b.c (check_avx): Likewise.
11235 * elf/tst-auditmod6b.c (check_avx): Likewise.
11236 * elf/tst-auditmod6c.c (check_avx): Likewise.
11237 * elf/tst-auditmod7b.c (check_avx): Likewise.
11238
70c6c246
UD
112392011-12-23 Ulrich Drepper <drepper@gmail.com>
11240
11241 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11242 !__SSE_MATH__.
11243
c044cf14
LD
112442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11245
15db4de1 11246 [BZ #13540]
c044cf14
LD
11247 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11248 processing for last bytes.
11249
6b13d9d9
BH
112502011-08-06 Bruno Haible <bruno@clisp.org>
11251
d455f537
BH
11252 [BZ #13061]
11253 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11254 U+0385, not to U+1FEE.
11255
6b13d9d9
BH
11256 [BZ #13062]
11257 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11258 entry for U+00A5 U+0301.
11259
db910efd
UD
112602011-12-22 Ulrich Drepper <drepper@gmail.com>
11261
27deeafc
UD
11262 [BZ #13166]
11263 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11264 buffer for the output is too small.
11265
aed9d171
UD
11266 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11267 optimization.
11268
db910efd
UD
11269 [BZ #13185]
11270 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11271 SSE flags if possible.
11272
2bd779ae
LD
112732011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11274
e7f9dac3 11275 [BZ #13540]
2bd779ae
LD
11276 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11277 processing for last bytes.
11278
154bfc16
JM
112792011-12-22 Joseph Myers <joseph@codesourcery.com>
11280
11281 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11282 (syscall-list-default-options, syscall-list-default-condition)
11283 (syscall-list-includes): Define.
11284 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11285 list of ABIs and options and #if conditions for each ABI. Do not
11286 handle common syscalls between ABIs specially.
11287 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11288 Remove.
11289 (syscall-list-variants, syscall-list-32bit-options)
11290 (syscall-list-32bit-condition, syscall-list-64bit-options)
11291 (syscall-list-64bit-condition): Define.
11292 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11293 (syscall-list-variants, syscall-list-32bit-options)
11294 (syscall-list-32bit-condition, syscall-list-64bit-options)
11295 (syscall-list-64bit-condition): Define.
11296 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11297 Remove.
11298 (syscall-list-variants, syscall-list-32bit-options)
11299 (syscall-list-32bit-condition, syscall-list-64bit-options)
11300 (syscall-list-64bit-condition): Define.
11301 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11302 Remove.
11303 (syscall-list-variants, syscall-list-32bit-options)
11304 (syscall-list-32bit-condition, syscall-list-64bit-options)
11305 (syscall-list-64bit-condition): Define.
11306
21eaf3a5
UD
113072011-12-22 Ulrich Drepper <drepper@gmail.com>
11308
16c6f992
UD
11309 * locale/iso-639.def: Add brx entry.
11310
41043168
UD
11311 [BZ #13328]
11312 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11313 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11314
21eaf3a5
UD
11315 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11316 __feraiseexcept_renamed.
11317
e3a851a2
UD
113182011-12-21 Ulrich Drepper <drepper@gmail.com>
11319
4920765e
UD
11320 [BZ #13538]
11321 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11322 EPOLLET with unsigned values.
11323 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11324 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11325
e3a851a2
UD
11326 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11327 to large cancellation.
11328 * math/s_cacoshf.c: Likewise.
11329 * math/s_cacoshl.c: Likewise.
11330
b27e24b8
RK
113312011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11332
11333 [BZ #13305]
aebefeee 11334 [BZ #12786]
b27e24b8
RK
11335 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11336 * math/s_cacoshf.c: Likewise.
11337 * math/s_cacoshl.c: Likewise.
11338
ee190f67
UD
113392011-12-21 Ulrich Drepper <drepper@gmail.com>
11340
11341 [BZ #13439]
11342 * iconv/gconv.h: Define __GCONV_SWAP.
11343 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11344 * iconvdata/utf-16.c: Likewise.
11345 * iconvdata/utf-32.c: Likewise.
11346
707f25df
AS
113472011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11348
11349 [BZ #13524]
11350 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11351 numerator after shifting it by one limb.
11352
d2daaa1e
RÁE
113532011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11354
11355 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11356 under [__USE_EXTERN_INLINES].
11357
a4647e72
UD
113582011-12-17 Ulrich Drepper <drepper@gmail.com>
11359
11360 [BZ #13446]
11361 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11362
f0b264f1
AZ
113632011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11364
11365 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11366 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11367 optimized code.
11368 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11369 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11370 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11371 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11372 for strncasecmp/strncasecmp_l compilation.
11373 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11374 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11375
8ef4f244
MP
113762011-12-08 Marek Polacek <mpolacek@redhat.com>
11377
11378 [BZ #13484]
11379 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11380 of __asm__.
11381
97ac2654
UD
113822011-12-17 Ulrich Drepper <drepper@gmail.com>
11383
11384 [BZ #13506]
11385 * time/tzfile.c (__tzfile_read): Check values from file header.
11386
91d2a845
WS
113872011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11388
11389 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11390 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11391 * powerpc/powerpc32/dl-start.S: Likewise.
11392 * powerpc/powerpc32/elf/start.S: Likewise.
11393 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11394 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11395 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11396 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11397 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11398 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11399 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11400 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11401 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11402 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11403 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11404 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11405 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11406 * powerpc/powerpc32/memset.S: Likewise.
11407 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11408 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11409 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11410 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11411 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11412 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11413 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11414 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11415 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11416 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11417 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11418 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11419 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11420
a1267ba1
AZ
114212011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11422
11423 * math/libm-test.inc: Added more nearbyint tests.
11424 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11426 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11428
ad8ac1bd
RL
114292011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11430
11431 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11432 FD_CLOEXEC.
11433
1d3e4b61
UD
114342011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11435
11436 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11437 Add wcscpy-ssse3 wcscpy-c.
11438 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11439 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11440 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11441 * sysdeps/x86_64/wcschr.S: New file.
11442 * sysdeps/x86_64/wcsrchr.S: New file.
11443 * string/test-strcmp.c: Remove checking of wcscmp function for
11444 wrong alignments.
11445 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11446 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11447 wcsrchr-sse2 wcsrchr-c.
11448 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11449 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11450 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11451 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11452 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11453 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11454 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11455 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11456 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11457 * wcsmbc/wcschr.c (WCSCHR): New macro.
11458
5b330a2d
UD
114592011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11460
11461 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11462 * wcsmbs/test-wcsrchr.c: New file.
11463 * string/test-strrchr.c: Add wcsrchr support.
11464 (WIDE): New macro.
11465 * wcsmbs/test-wcscpy.c: New file.
11466 * string/test-strcpy.c: Add wcscpy support.
11467 (WIDE): New macro.
26428b7c 11468
f039c043
UD
114692011-12-10 Ulrich Drepper <drepper@gmail.com>
11470
11471 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11472 the inner loop.
11473
850fb039
AS
114742011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11475
11476 [BZ #13472]
11477 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11478
4efbd5cb
UD
114792011-12-04 Ulrich Drepper <drepper@gmail.com>
11480
52ff5dd0 11481 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11482 Minor optimizations.
52ff5dd0 11483
4efbd5cb
UD
11484 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11485 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11486 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11487
8a426e12
UD
114882011-12-03 Ulrich Drepper <drepper@gmail.com>
11489
aff2453d
UD
11490 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11491 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11492 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11493 for gcc to avoid warnings.
11494 * inet/Makefile (tests): Add tst-checks.
11495 * inet/tst-checks.c: New file.
11496
11497 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11498 warning.
11499
11500 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11501 __wmemcmp_sse2.
11502
11503 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11504 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11505
8a426e12
UD
11506 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11507
9bea3473
UD
115082011-12-02 Ulrich Drepper <drepper@gmail.com>
11509
3a965496
UD
11510 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11511 problem.
11512
9bea3473
UD
11513 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11514
f101631b
UD
115152011-11-29 Joseph Myers <joseph@codesourcery.com>
11516
11517 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11518 conditional on GCC version.
11519 (__arch_compare_and_exchange_val_8_acq)
11520 (__arch_compare_and_exchange_val_16_acq)
11521 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11522 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11523 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11524
a98275aa
UD
115252011-12-02 Joseph Myers <joseph@codesourcery.com>
11526
11527 * sysdeps/sh/backtrace.c: New file.
11528
d4cc29a2
AS
115292011-12-02 Andreas Schwab <schwab@redhat.com>
11530
11531 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11532 parenthesis.
11533
6257af2d
AS
115342011-12-01 Andreas Schwab <schwab@redhat.com>
11535
11536 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11537 falling back to utime.
11538
b5f44c1a
AS
115392011-11-30 Andreas Schwab <schwab@redhat.com>
11540
11541 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11542 expectations for float.
11543
f3a6cc0a
AS
115442011-11-29 Andreas Schwab <schwab@redhat.com>
11545
11546 * locale/weight.h (findidx): Add parameter len.
11547 * locale/weightwc.h (findidx): Likewise.
11548 * posix/fnmatch_loop.c (FCT): Adjust caller.
11549 * posix/regcomp.c (build_equiv_class): Likewise.
11550 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11551 * posix/regexec.c (check_node_accept_bytes): Likewise.
11552 * string/strcoll_l.c (STRCOLL): Likewise.
11553 * string/strxfrm_l.c (STRXFRM): Likewise.
11554
9d65ea3a
UD
115552011-11-17 Ulrich Drepper <drepper@gmail.com>
11556
11557 * Makefile.in: Remove CVSOPT handling.
11558 * configure.in: Remove use of AC_REVISION.
11559 * iconvdata/Makefile (distribute): No need to filter out CVS.
11560 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11561 handling.
11562
5583a086
AS
115632011-11-16 Andreas Schwab <schwab@redhat.com>
11564
11565 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11566 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11567 [USE_AS_STRNCASECMP_L]: Likewise.
11568 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11569 NO_TLS_DIRECT_SEG_REFS.
11570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11571 Fix argument offsets for non-PIC.
11572 [USE_AS_STRNCASECMP_L]: Likewise.
11573 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11574 NO_TLS_DIRECT_SEG_REFS.
11575
d62a8200
UD
115762011-11-15 Ulrich Drepper <drepper@gmail.com>
11577
9d65ea3a 11578 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11579 O_CLOEXEC.
11580 * locale/loadlocale.c (_nl_load_locale): Likewise.
11581
09f93bd3
AS
115822011-11-15 Andreas Schwab <schwab@redhat.com>
11583
446514f9
AS
11584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11585 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11587 (SYSCALL_GETTIME): Set errno on error.
11588
09f93bd3
AS
11589 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11590 count references to noai6ai_cached.
11591
312be3f9
UD
115922011-11-15 Ulrich Drepper <drepper@gmail.com>
11593
11594 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11595
11596 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11597 FD_CLOEXEC for /proc/self/maps.
11598
11599 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11600 FD_CLOEXEC for /proc/meminfo.
11601
11602 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11603 gai.conf.
11604
11605 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11606 FD_CLOEXEC for given file.
11607
11608 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11609
11610 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11611 FD_CLOEXEC for /etc/hosts.
11612 (_gethtent): Likewise.
11613
11614 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11615
11616 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11617 cancellation and set FD_CLOEXEC for /etc/netgroup.
11618
11619 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11620 reading /etc/publickey.
11621
11622 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11623 allow cancellation when reading /etc/group.
11624
11625 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11626 cancellation.
11627 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11628
11629 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11630 when using data file.
11631
11632 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11633
11634 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11635 (write_nis_obj): Use "c" and "e" in fopen.
11636
11637 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11638
11639 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11640
11641 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11642
11643 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11644
11645 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11646 locale.alias.
11647
11648 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11649
11650 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11651
11652 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11653
11654 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11655 file parsing and set FD_CLOEXEC.
11656
82af0fa8
UD
116572011-11-14 Ulrich Drepper <drepper@gmail.com>
11658
11659 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11660
a5fb313c
AS
116612011-11-14 Andreas Schwab <schwab@redhat.com>
11662
11663 * malloc/arena.c (arena_get2): Don't call reused_arena when
11664 _int_new_arena failed.
11665
6abf3465
UD
116662011-11-14 Ulrich Drepper <drepper@gmail.com>
11667
11668 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11669 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11670 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11671 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11672 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11673 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11674 to compile strcasecmp and strncasecmp.
11675 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11676 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11677
11678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11679
76e3966e
UD
116802011-11-13 Ulrich Drepper <drepper@gmail.com>
11681
11682 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11683 locale-defines.sym to gen-as-const-headers.
11684 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11685 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11687 to compile strcasecmp and strncasecmp.
11688 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11689 strcasecmp_l and strncasecmp_l.
11690 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11691 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11692 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11693 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11694 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11695 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11696 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11697 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11698 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11699 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11700 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11701
ab26144e
UD
117022011-11-12 Ulrich Drepper <drepper@gmail.com>
11703
7edb22ef
UD
11704 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11705 result of SYSDEP_GETTIME_CPU to retval.
11706 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11707 parameter list to macro. Remove trailing semicolon. Adjust users.
11708
9694fc44
UD
11709 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11710 variable.
11711
8ad89ef8
UD
11712 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11713 mantissa words.
11714 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11715
0c822ef9
UD
11716 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11717 from unused variable.
11718
874e0564
UD
11719 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11720 DWARF definitions.
11721 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11722 for assembling.
11723
3a2edc79
UD
11724 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11725 over namespaces.
11726
f3c2577f
UD
11727 * sunrpc/rpc_prot.c (rejected): Fix case value.
11728
294ce126
UD
11729 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11730 unsigned long long int to avoid warnings in shift.
11731
5e2b63c6
UD
11732 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11733 of use of trans.
11734 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11735 variable tmp.
11736
e7f4b08e
UD
11737 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11738 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11739 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11740
ab26144e
UD
11741 * nis/nis_table.c (nis_list): Use variable of correct type for
11742 result of __follow_path call.
11743
8a6d5255
AZ
117442011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11745
11746 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11747 of math functions ceil, trunc, floor, round, and sqrt, when
11748 avaliable on the platform.
11749 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11750 name clash.
11751 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11752 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11753 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11754
aaddc98c
MP
117552011-10-30 Marek Polacek <mpolacek@redhat.com>
11756
11757 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11758 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11759
95b7042b
RM
117602011-11-11 Roland McGrath <roland@hack.frob.com>
11761
11762 * include/unistd.h: Fix __readlink return type.
11763 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11764
57769839
UD
117652011-11-11 Ulrich Drepper <drepper@gmail.com>
11766
11767 * stdlib/ucontext.h: Undo last change for makecontext.
11768
edc5984d
AS
117692011-11-11 Andreas Schwab <schwab@redhat.com>
11770
98591e58
AS
11771 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11772
edc5984d
AS
11773 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11774 * setjmp/setjmp.h: Mark functions as non-leaf.
11775 * setjmp/bits/setjmp2.h: Likewise.
11776 * stdlib/ucontext.h: Likewise.
11777
77cdc054
AS
117782011-11-10 Andreas Schwab <schwab@redhat.com>
11779
11780 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11781 (reused_arena): Don't check arena limit.
11782 (arena_get2): Atomically check arena limit.
11783
fe72eebd
UD
117842011-11-08 Ulrich Drepper <drepper@gmail.com>
11785
5f078c32
UD
11786 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11787 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11788
fe72eebd
UD
11789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11790 instructions.
11791
ae1bc2fa
AS
117922011-11-07 Andreas Schwab <schwab@redhat.com>
11793
7583a88d
AS
11794 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11795 handler when locking.
11796
ae1bc2fa
AS
11797 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11798 Fix size of allocated buffer.
11799
10fb0bfa
AS
118002011-11-04 Andreas Schwab <schwab@redhat.com>
11801
998832a4
AS
11802 [BZ #10103]
11803 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11804 declarations for long double functions.
11805 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11806
10fb0bfa
AS
11807 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11808
3d7ba52b
AS
118092011-11-03 Andreas Schwab <schwab@redhat.com>
11810
a9ae54a1
AS
11811 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11812 installed.
11813
3d7ba52b
AS
11814 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11815 is disabled.
11816
bc8db248
ST
118172011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11818
11819 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11820
45b96dd6
AS
118212011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11822
647776f6
AS
11823 * include/alloca.h (stackinfo_alloca_round): Define.
11824 (extend_alloca): Use it.
11825 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11826 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11827 here.
11828
d91a8b93
AS
11829 * scripts/check-local-headers.sh: Ignore libaudit.h.
11830
45b96dd6
AS
11831 * nscd/Makefile (extra-objs): Make recursively expanded.
11832
432d41ce
UD
118332011-11-01 Ulrich Drepper <drepper@gmail.com>
11834
34372fc6
UD
11835 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11836 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11837
fadb59f8
UD
11838 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11839 * posix/tst-rfc3484-2.c: Likewise.
11840 * posix/tst-rfc3484-3.c: Likewise.
11841
78239589
UD
11842 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11843 process_vm_writev.
11844 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11845 process_vm_writev.
11846 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11847 process_vm_writev from libc using GLIBC_2.15 version.
11848
432d41ce
UD
11849 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11850
02f9c6cf
PP
118512011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11852
11853 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11854 stack usage.
11855
3a2c0242
UD
118562011-10-31 Ulrich Drepper <drepper@gmail.com>
11857
f4ec4833
UD
11858 [BZ #13367]
11859 * nss/getent.c (initgroups_keys): Show error message in case no group
11860 names are given.
11861
3a2c0242
UD
11862 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11863 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11864 __bump_nl_timestamp.
11865 * nscd/connections (nscd_init): When host database is served open
11866 netlink socket and request notification about configuration changes.
11867 (main_loop_poll): Track netlink file descriptor and bump timestamp
11868 in case data becomes available.
11869 (main_loop_epoll): Likewise.
11870 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11871 (database_pers_head): Add extra_data fileds.
11872 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11873 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11874 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11875 Adjust caller.
11876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11877 in6ai data, call __free_in6ai.
11878 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11879 Add -DHAVE_NETLINK.
11880 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11881 interface information. Reuse previous data if netlink timestamp
11882 is not changed.
11883 (__bump_nl_timestamp): New function.
11884 (__free_in6ai): New function.
11885
636064eb
UD
118862011-10-30 Ulrich Drepper <drepper@gmail.com>
11887
11888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11889 close_not_cancel_no_status here.
11890 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11891
9beb2334
UD
118922011-10-29 Ulrich Drepper <drepper@gmail.com>
11893
6ef76f3b
UD
11894 [BZ #13276]
11895 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11896 return value.
11897
0ffc4f3e 11898 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11899 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11900 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11901
cb95113e
UD
119022011-07-03 Andreas Jaeger <aj@suse.de>
11903
11904 [BZ #10709]
11905 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11906 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11907 * math/libm-test.inc (sin_test): Add test case.
11908
a1b560ff
UD
119092011-10-29 Ulrich Drepper <drepper@gmail.com>
11910
c9aaface
UD
11911 [BZ #13337]
11912 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11913 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11914
d272e7f1
UD
11915 * elf/chroot_canon.c (chroot_canon): Cleanups.
11916
1bc33071
UD
11917 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11918
1760874d
TJ
11919 [BZ #13335]
11920 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11921 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11922
51d91b18
UD
11923 * string/test-strchr.c: Make usable for strchrnul testing.
11924 * string/test-strchrnul.c: New file.
11925 * string/Makefile (strop-tests): Add strchrnul.
11926
a1b560ff 11927 * po/it.po: Update from translation team.
b611fb81 11928 * po/es.po: Likewise.
a1b560ff 11929
a5b81e1f
UD
119302011-10-28 Ulrich Drepper <drepper@gmail.com>
11931
fd52bc6d
UD
11932 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11933 the three constants needed as parameters. Drop the others.
11934 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11935 __m128i_strloadu_tolower.
52e4b9eb
UD
11936 Create and initialize variable zero and use it in all the places
11937 where _mm_setzero_si128 was used.
fd52bc6d 11938
a5b81e1f
UD
11939 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11940 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11941 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11942 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11943 anymore.
11944 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11945 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11946 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11947 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11948 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11949 __mpranred, __mptan.
11950 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11951 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11952 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11953 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11954 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11955 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11956 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11957 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11958 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11959
b4343346
AS
119602011-10-28 Andreas Schwab <schwab@redhat.com>
11961
0c92d8a8
AS
11962 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11963 redefine if SHARED.
11964 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11965
b4343346
AS
11966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11967 wide char related routines to wcsmbs subdir.
11968
3871f58f
AS
119692011-10-27 Andreas Schwab <schwab@redhat.com>
11970
11971 [BZ #13344]
11972 * misc/sys/cdefs.h (__THROWNL): Define.
11973 * posix/unistd.h: Use __THREADNL instead of __THREAD
11974 for memory synchronization functions.
11975
94d44d9f
RM
119762011-10-26 Roland McGrath <roland@hack.frob.com>
11977
21b64b15 11978 [BZ #13349]
94d44d9f
RM
11979 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11980 doesn't exist.
11981 * manual/stdio.texi (Obstack Streams): Node removed.
11982
f6ce9294
AS
119832011-10-26 Andreas Schwab <schwab@redhat.com>
11984
80479147
AS
11985 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11986 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11987 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11988
f6ce9294
AS
11989 * math/math_private.h (math_force_eval): Allow non-addressable
11990 arguments.
11991 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11992
618280a1
UD
119932011-10-25 Ulrich Drepper <drepper@gmail.com>
11994
e0016b11
UD
11995 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11996 file is not needed.
11997
11998 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11999 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12000 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12001 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12002 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12003 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12004 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12005 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12006 Add AVX variants.
12007 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12008 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12009 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12010 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12011 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12012 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12013 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12014 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12015 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12016 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12017 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12018 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12019 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12020 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12021 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12022 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12023 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12024 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12025 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12026
12027 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12028 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12029
618280a1
UD
12030 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12031 place. Use VEX encoding when compiling for AVX.
12032
37822576
AS
120332011-10-25 Andreas Schwab <schwab@redhat.com>
12034
1f1e1947
AS
12035 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12036 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12037
37822576
AS
12038 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12039
31ea014d
UD
120402011-10-25 Ulrich Drepper <drepper@gmail.com>
12041
d7826aa1 12042 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12043 useless if() expression.
d7826aa1
UD
12044 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12045 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12048 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12049 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12050 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12051 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12052 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12053 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12054 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12055 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12056 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12057 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12058 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12059 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12060 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12061 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12062 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12063
31ea014d
UD
12064 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12065
16437fec
AS
120662011-10-25 Andreas Schwab <schwab@redhat.com>
12067
12068 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12069 condition.
12070 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12071
31d3cc00
UD
120722011-10-25 Ulrich Drepper <drepper@gmail.com>
12073
12074 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12075 .text section. Avoid duplicate constants.
12076 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12080 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12083 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12085 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12086 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12087 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12088 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12090 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12091 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12092 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12093 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12094 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12096 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12097 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12099 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12100 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12101 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12102 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12103 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12104 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12105 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12106 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12107 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12108 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12109 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12110 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12111 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12112 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12114 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12115 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12116 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12117 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12118 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12119 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12120 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12121
58985aa9
UD
121222011-10-24 Ulrich Drepper <drepper@gmail.com>
12123
202c9deb
UD
12124 * sysdeps/x86_64/dla.h: Move to ...
12125 * sysdeps/x86_64/fpu/dla.h: ...here.
12126 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12127 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12128
af968f62
UD
12129 * config.make.in: Add have-mfma4 entry.
12130 * configure.in: Substitute libc_cv_cc_fma4.
12131 * math/Makefile (dbl-only-routines): Add sincostab.
12132 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12133 Use __sincostab not sincos.
12134 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12135 name is a macro.
12136 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12140 using __copysign.
12141 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12142 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12143 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12144 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12145 and __inv.
12146 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12147 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12148 __copysign.
12149 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12150 define aliases when function name is a macro.
12151 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12152 sysdeps/ieee754/dbl-64/sincos.tbl.
12153 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12154 fma4-enabled routines.
12155 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12156 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12157 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12158 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12159 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12160 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12161 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12162 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12163 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12164 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12165 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12166 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12167 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12168 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12169 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12170 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12171 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12172 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12173 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12174 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12175 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12176 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12177 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12178 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12179 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12180 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12181 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12182 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12183 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12184 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12185
58985aa9
UD
12186 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12187 rename.
12188 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12194 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12195 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12196
a201fbcf
AS
121972011-10-24 Andreas Schwab <schwab@redhat.com>
12198
12199 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12200
fc2ee42a
LD
122012011-10-23 Ulrich Drepper <drepper@gmail.com>
12202
bb3129bd
UD
12203 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12204
0275fff8
UD
12205 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12206 prediction.
12207 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12208
2fa2ae85
UD
12209 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12210 Remove unused variable magic_bits.
12211 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12212
fc2ee42a
LD
12213 * string/strnlen.c: Define and use STRNLEN macro.
12214 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12215 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12216 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12217 * wcsmbs/wcslen.c: Define and use WCSLEN.
12218 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12219 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12220 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12221 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12222 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12223 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12224 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12225
ce7dd29f
LD
122262011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12227
12228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12229 strnlen-sse2-no-bsf.
12230 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12231 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12232 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12233 Add strnlen support.
12234 (USE_AS_STRNLEN): New macro.
12235 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12236 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12237 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12238 * sysdeps/x86_64/wcslen.S: New file.
12239
979c70a3
MZ
122402011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12241
12242 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12243 XMM-moves are used for copying on small sizes.
12244
2d09f82f
LD
122452011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12246
12247 * wcsmbs/Makefile (strop-tests): Add wcschr.
12248 * wcsmbs/test-wcschr.c: New file.
12249 * string/test-strchr.c: Update.
12250 Add wcschr support.
12251 (WIDE): New macro.
12252
619fccca
LD
122532011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12254
2d09f82f 12255 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12256 * wcsmbs/test-wcslen.c: New file.
12257 * string/test-strlen.c: Update.
12258 Add wcslen support.
12259 (WIDE): New macro.
12260
09f699ea
UD
122612011-10-23 Ulrich Drepper <drepper@gmail.com>
12262
12263 * po/it.po: Update from translation team.
12264
95584d3b
LD
122652011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12266
12267 * sysdeps/x86_64/wcscmp.S: Update.
12268 Fix wrong comparison semantics.
12269 wcscmp shall use signed comparison not unsigned.
12270 Don't use substraction to avoid overflow bug.
12271 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12272 * wcsmbc/wcscmp.c: Likewise.
12273 * string/test-strcmp.c: Likewise.
12274 Add new tests to check cases with negative values.
12275
c8b3296b
UD
122762011-10-23 Ulrich Drepper <drepper@gmail.com>
12277
12278 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12279 * sysdeps/x86_64/dla.h: ...here. New file.
12280 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12289
246ad57a
AS
122902011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12291
12292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12293 __ynl_finite aliases.
12294
a1a87169
UD
122952011-10-22 Ulrich Drepper <drepper@gmail.com>
12296
0d355eb7
UD
12297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12298
a1a87169
UD
12299 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12300 define DLA_FMA.
12301 [DLA_FMA] (EMULV): Use DLA_FMA.
12302 [DLA_FMA] (MUL12): Use EMULV.
12303 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12304 that are not needed.
12305 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12312
ee2aafe0
AS
123132011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12314
12315 * math/s_nan.c: Undef __nan.
12316 * math/s_nanf.c: Undef __nanf.
12317 * math/s_nanl.c: Undef __nanl.
12318 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12319 "math_private.h".
12320
bc62c2fb
UD
123212011-10-22 Ulrich Drepper <drepper@gmail.com>
12322
77425c63
UD
12323 * math/s_catan.c: Add branch predictions.
12324 * math/s_catanf.c: Likewise.
12325 * math/s_catanh.c: Likewise.
12326 * math/s_catanhf.c: Likewise.
12327 * math/s_catanhl.c: Likewise.
12328 * math/s_catanl.c: Likewise.
12329 * math/s_cexp.c: Likewise.
12330 * math/s_cexpf.c: Likewise.
12331 * math/s_cexpl.c: Likewise.
12332 * math/s_clog.c: Likewise.
12333 * math/s_clog10.c: Likewise.
12334 * math/s_clog10f.c: Likewise.
12335 * math/s_clog10l.c: Likewise.
12336 * math/s_clogf.c: Likewise.
12337 * math/s_clogl.c: Likewise.
12338 * math/s_csqrt.c: Likewise.
12339 * math/s_csqrtf.c: Likewise.
12340 * math/s_csqrtl.c: Likewise.
12341 * math/s_ctanf.c: Likewise.
12342 * math/s_ctanh.c: Likewise.
12343 * math/s_ctanhf.c: Likewise.
12344 * math/s_ctanhl.c: Likewise.
12345 * math/s_ctanl.c: Likewise.
12346
bc62c2fb
UD
12347 * math/math_private.h: Define __nan, __nanf, __nanl.
12348 * math/s_cacosh.c: Include <math_private.h>.
12349 * math/s_cacoshl.c: Likewise.
12350 * math/s_casinh.c: Likewise.
12351 * math/s_casinhf.c: Likewise.
12352 * math/s_casinhl.c: Likewise.
12353 * math/s_ccos.c: Rely entire on ccosh.
12354 * math/s_ccosf.c: Rely entire on ccoshf.
12355 * math/s_ccosl.c: Rely entirely on ccoshl.
12356 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12357 Remove tests for FE_INVALID.
12358 * math/s_ccoshf.c: Likewise.
12359 * math/s_ccoshl.c: Likewise.
12360 * math/s_csin.c: Likewise.
12361 * math/s_csinf.c: Likewise.
12362 * math/s_csinh.c Likewise.
12363 * math/s_csinhf.c: Likewise.
12364 * math/s_csinhl.c: Likewise.
12365 * math/s_csinl.c: Likewise.
12366 * math/s_ctan.c: Likewise.
12367 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12368 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12369 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12370
8ec250a4
UD
123712011-10-21 Ulrich Drepper <drepper@gmail.com>
12372
c196fed8
UD
12373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12374 compilation problems.
12375
8ec250a4
UD
12376 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12377 __builtin_expect.
12378
8d4f46c6
UD
123792011-10-20 Ulrich Drepper <drepper@gmail.com>
12380
ed72b654
UD
12381 * sysdeps/i386/configure.in: Test for -mfma4 option.
12382 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12383 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12384 COMMON_CPUID_INDEX_80000001.
12385 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12386 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12387 use it if FMA3 is not supported.
12388 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12389
8d4f46c6
UD
12390 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12391 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12392
d45c60c2
AS
123932011-10-20 Andreas Schwab <schwab@redhat.com>
12394
12395 [BZ #12892]
12396 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12397 it would create a cycle with a link time dependency.
12398
d9a4d2ab
UD
123992011-10-19 Ulrich Drepper <drepper@gmail.com>
12400
855d1560
UD
12401 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12402 instruction.
12403 * string/Makefile (strop-tests): Add rawmemchr.
12404 * string/test-rawmemchr.c: New file.
12405
d9a4d2ab
UD
12406 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12407 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12408 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12409 when compiling str{,n}casecmp and when AVX is available. Hook up
12410 new optimized code in initializers.
12411
8f3b1ffe
AS
124122011-10-19 Andreas Schwab <schwab@redhat.com>
12413
12414 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12415 __feraiseexcept instead of feraiseexcept.
12416
d38f1dba
UD
124172011-10-18 Ulrich Drepper <drepper@gmail.com>
12418
d9a8d0ab
UD
12419 * math/math_private.h: Define defaults for libc_fetestexcept and
12420 libc_feupdateenv.
12421 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12422 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12423 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12424 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12425 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12426 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12427 libc_fetestexcept and libc_feupdateenv.
12428
4855e3dd
UD
12429 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12430 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12431 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12432 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12433 libc_feholdexcept_setround.
12434
581d30e3
UD
12435 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12436 Add s_nearbyint-c and s_nearbyintf-c.
12437 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12438 nearbyintf inlines.
12439 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12440 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12441 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12443
d38f1dba
UD
12444 * math/math_private.h: Define defaults for libc_fegetround,
12445 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12446 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12447 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12448 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12449 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12450 standard functions.
12451 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12452 Remove comments and hacks for old compiler versions.
12453 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12454 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12455 libc_feholdexceptl.
12456
caa6c9d8
AS
124572011-10-18 Andreas Schwab <schwab@redhat.com>
12458
12459 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12460 (__feraiseexcept_renamed): Add __NTH.
12461 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12462 namespace violations.
12463
97c066e6
UD
124642011-10-17 Ulrich Drepper <drepper@gmail.com>
12465
99ce7b04
UD
12466 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12467
1004d182
UD
12468 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12469
228a984d
UD
12470 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12471 recently added interfaces.
12472 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12473
c8553a6a
UD
12474 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12475 about macro parameter expansion.
12476
ed22dcf6
UD
12477 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12478 __NO_MATH_INLINES is defined. Cleanups.
12479
12480 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12481 and __floorf is target has SSE4.1.
12482 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12483 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12484 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12485 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12486
b171c137
UD
12487 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12488 name.
12489 (floorf): Likewise.
12490
97c066e6
UD
12491 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12492
629f62ef
AS
124932011-10-17 Andreas Schwab <schwab@redhat.com>
12494
49a43d80
AS
12495 * misc/sys/cdefs.h: Fix last change.
12496
629f62ef
AS
12497 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12498 database lookup.
12499
e453f6cd
UD
125002011-10-16 Ulrich Drepper <drepper@gmail.com>
12501
aa78043a
UD
12502 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12503
ad0f5cad
UD
12504 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12505 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12506 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12507 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12508 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12509 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12510 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12511 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12512 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12513 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12514 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12515 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12516 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12517 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12518 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12519 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12520 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12521 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12522 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12523 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12524 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12525 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12526
12527 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12528 ceil, ceilf, floor, floorf.
12529
12530 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12531 Perform IRELATIVE relocations last.
12532
e453f6cd
UD
12533 * elf/do-rel.h: Add another parameter nrelative, replacing the
12534 local variable with the same name. Change name of the function
12535 to end in Rel or Rela (uppercase).
12536 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12537 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12538 elf_dynamic_do_##reloc function.
12539
fd5bdc09
UD
125402011-10-15 Ulrich Drepper <drepper@gmail.com>
12541
79b195b5
UD
12542 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12543 is sufficient, at least on modern CPUs.
12544
d4a28569
UD
12545 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12546
b61099b5
UD
12547 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12548 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12549
bcf01e6d
UD
12550 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12551 __expl_finite.
12552 * math/bits/math-finite.h: Add entries for exp.
12553 * math/e_expl.c: Add __*_finite alias.
12554 * sysdeps/i386/fpu/e_exp.S: Likewise.
12555 * sysdeps/i386/fpu/e_expf.S: Likewise.
12556 * sysdeps/i386/fpu/e_expl.c: Likewise.
12557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12558 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12561 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12562 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12563 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12564
ba1a0d59
UD
12565 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12566 is sufficient, at least on modern CPUs.
12567
fd5bdc09
UD
12568 * ctype/ctype-info.c (__ctype_init): Define.
12569 * include/ctype.h (__ctype_init): Declare.
12570 (__ctype_b_loc): The variable is always initialized.
12571 (__ctype_toupper_loc): Likewise.
12572 (__ctype_tolower_loc): Likewise.
12573 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12574 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12575
7872cfb0
AS
125762011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12577
b468825a
AS
12578 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12579
7872cfb0
AS
12580 * configure.in: Also look in $cxxmachine/include for C++ system
12581 headers.
12582
be13f7bf
LD
125832011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12584
12585 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12586 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12587 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12588 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12590 (USE_AS_WMEMCMP): New macro.
12591 Fixing indents.
12592 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12593 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12594 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12595 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12597 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12598 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12599 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12600 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12601 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12602 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12603 (USE_AS_WMEMCMP): New macro.
12604 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12605 * sysdeps/string/test-memcmp.c: Update.
12606 Fix simple_wmemcmp.
12607 Add new tests.
12608 * wcsmbs/wmemcmp.c: Update.
12609 (WMEMCMP): New macro.
12610 Fix overflow bug.
12611
556a2007
AJ
126122011-10-12 Andreas Jaeger <aj@suse.de>
12613
12614 [BZ #13268]
12615 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12616
538faaa7
UD
126172011-10-15 Ulrich Drepper <drepper@gmail.com>
12618
ab6737ff
UD
12619 * libio/iofwide.c (do_length): Avoid warning.
12620
538faaa7
UD
12621 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12622
396a21b1
UD
126232011-10-14 Ulrich Drepper <drepper@gmail.com>
12624
cdf2901f
UD
12625 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12626
38ad40ce
UD
12627 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12628 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12629 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12630 * sysdeps/i386/i686/fpu/e_log.S: New file.
12631 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12632 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12633
396a21b1
UD
12634 * ctype/ctype.h: Add support for inlined isXXX functions when
12635 compiling C++ code.
12636
6b1f68c9
AS
126372011-10-14 Andreas Schwab <schwab@redhat.com>
12638
349290c0
AS
12639 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12640
6b1f68c9
AS
12641 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12642
f2282d42
RM
126432011-10-13 Roland McGrath <roland@hack.frob.com>
12644
12645 [BZ #13291]
12646 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12647
5298ffa8
AS
126482011-10-13 Andreas Schwab <schwab@redhat.com>
12649
714fad23
AS
12650 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12651 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12652 feraiseexcept.
12653
81dcc7fb
AS
12654 * sysdeps/x86_64/memrchr.S: Check for zero size.
12655
5298ffa8
AS
12656 * string/stratcliff.c: Add memrchr tests.
12657
951fbcec
LD
126582011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12659
12660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12661 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12662 rawmemchr-sse2 rawmemchr-sse2-bsf.
12663 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12664 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12665 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12666 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12667 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12668 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12669 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12670 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12671 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12672 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12673 * string/memrchr.c (MEMRCHR): New macro.
12674
0ac5ae23
UD
126752011-10-12 Ulrich Drepper <drepper@gmail.com>
12676
12677 Add integration with gcc's -ffinite-math-only and optimize wrapper
12678 functions in libm.
12679 * Versions.def: Define GLIBC_2.15 version for libm.
12680 * math/Makefile (headers): Add bits/math-finite.h.
12681 * math/bits/math-finite.h: New file.
12682 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12683 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12684 * math/e_acoshl.c: Add __*_finite alias.
12685 * math/e_acosl.c: Likewise.
12686 * math/e_asinl.c: Likewise.
12687 * math/e_atan2l.c: Likewise.
12688 * math/e_atanhl.c: Likewise.
12689 * math/e_coshl.c: Likewise.
12690 * math/e_exp10.c: Likewise.
12691 * math/e_exp10f.c: Likewise.
12692 * math/e_exp10l.c: Likewise.
12693 * math/e_exp2l.c: Likewise.
12694 * math/e_fmodl.c: Likewise.
12695 * math/e_gammal_r.c: Likewise.
12696 * math/e_hypotl.c: Likewise.
12697 * math/e_j0l.c: Likewise.
12698 * math/e_j1l.c: Likewise.
12699 * math/e_jnl.c: Likewise.
12700 * math/e_lgammal_r.c: Likewise.
12701 * math/e_log10l.c: Likewise.
12702 * math/e_log2l.c: Likewise.
12703 * math/e_logl.c: Likewise.
12704 * math/e_powl.c: Likewise.
12705 * math/e_sinhl.c: Likewise.
12706 * math/e_sqrtl.c: Likewise.
12707 * math/e_scalb.c: Completely rewritten and optimized.
12708 * math/e_scalbf.c: Likewise.
12709 * math/e_scalbl.c: Likewise.
12710 * math/w_acos.c: Likewise.
12711 * math/w_acosf.c: Likewise.
12712 * math/w_acosl.c: Likewise.
12713 * math/w_acosh.c: Likewise.
12714 * math/w_acoshf.c: Likewise.
12715 * math/w_acoshl.c: Likewise.
12716 * math/w_asin.c: Likewise.
12717 * math/w_asinf.c: Likewise.
12718 * math/w_asinl.c: Likewise.
12719 * math/w_atan2.c: Likewise.
12720 * math/w_atan2f.c: Likewise.
12721 * math/w_atan2l.c: Likewise.
12722 * math/w_atanh.c: Likewise.
12723 * math/w_atanhf.c: Likewise.
12724 * math/w_atanhl.c: Likewise.
12725 * math/w_exp10.c: Likewise.
12726 * math/w_exp10f.c: Likewise.
12727 * math/w_exp10l.c: Likewise.
12728 * math/w_fmod.c: Likewise.
12729 * math/w_fmodf.c: Likewise.
12730 * math/w_fmodl.c: Likewise.
12731 * math/w_j0.c: Likewise.
12732 * math/w_j0f.c: Likewise.
12733 * math/w_j0l.c: Likewise.
12734 * math/w_j1.c: Likewise.
12735 * math/w_j1f.c: Likewise.
12736 * math/w_j1l.c: Likewise.
12737 * math/w_jn.c: Likewise.
12738 * math/w_jnf.c: Likewise.
12739 * math/w_log.c: Likewise.
12740 * math/w_logf.c: Likewise.
12741 * math/w_logl.c: Likewise.
12742 * math/w_log10.c: Likewise.
12743 * math/w_log10f.c: Likewise.
12744 * math/w_log10l.c: Likewise.
12745 * math/w_log2.c: Likewise.
12746 * math/w_log2f.c: Likewise.
12747 * math/w_log2l.c: Likewise.
12748 * math/w_pow.c: Likewise.
12749 * math/w_powf.c: Likewise.
12750 * math/w_powl.c: Likewise.
12751 * math/w_remainder.c: Likewise.
12752 * math/w_remainderf.c: Likewise.
12753 * math/w_remainderl.c: Likewise.
12754 * math/w_scalb.c: Likewise.
12755 * math/w_scalbf.c: Likewise.
12756 * math/w_scalbl.c: Likewise.
12757 * math/w_sqrt.c: Likewise.
12758 * math/w_sqrtf.c: Likewise.
12759 * math/w_sqrtl.c: Likewise.
12760 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12761 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12762 used.
12763 * math/math_private.h: Declare __kernel_standard_f.
12764 * math/w_cosh.c: Remove cruft and optimize a bit.
12765 * math/w_coshf.c: Likewise.
12766 * math/w_coshl.c: Likewise.
12767 * math/w_exp2.c: Likewise.
12768 * math/w_exp2f.c: Likewise.
12769 * math/w_exp2l.c: Likewise.
12770 * math/w_hypot.c: Likewise.
12771 * math/w_hypotf.c: Likewise.
12772 * math/w_hypotl.c: Likewise.
12773 * math/w_lgamma.c: Likewise.
12774 * math/w_lgamma_r.c: Likewise.
12775 * math/w_lgammaf.c: Likewise.
12776 * math/w_lgammaf_r.c: Likewise.
12777 * math/w_lgammal.c: Likewise.
12778 * math/w_lgammal_r.c: Likewise.
12779 * math/w_sinh.c: Likewise.
12780 * math/w_sinhf.c: Likewise.
12781 * math/w_sinhl.c: Likewise.
12782 * math/w_tgamma.c: Likewise.
12783 * math/w_tgammaf.c: Likewise.
12784 * math/w_tgammal.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12787 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12788 Minor optimizations. Pretty printing. Remove cruft.
12789 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12790 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12791 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12792 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12793 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12794 * sysdeps/i386/fpu/e_asin.S: Likewise.
12795 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12796 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12797 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12798 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12799 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12800 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12801 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12802 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12803 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12804 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12805 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12806 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12807 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12808 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12809 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12810 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12811 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12812 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12813 * sysdeps/i386/fpu/e_log.S: Likewise.
12814 * sysdeps/i386/fpu/e_log10.S: Likewise.
12815 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12816 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12817 * sysdeps/i386/fpu/e_log2.S: Likewise.
12818 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12819 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12820 * sysdeps/i386/fpu/e_logf.S: Likewise.
12821 * sysdeps/i386/fpu/e_logl.S: Likewise.
12822 * sysdeps/i386/fpu/e_pow.S: Likewise.
12823 * sysdeps/i386/fpu/e_powf.S: Likewise.
12824 * sysdeps/i386/fpu/e_powl.S: Likewise.
12825 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12826 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12827 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12828 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12829 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12830 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12831 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12832 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12833 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12847 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12850 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12851 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12854 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12855 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12856 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12857 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12858 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12859 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12860 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12861 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12862 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12863 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12864 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12865 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12866 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12867 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12868 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12869 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12870 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12871 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12872 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12873 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12874 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12875 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12878 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12879 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12880 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12881 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12883 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12884 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12885 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12886 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12887 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12889 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12890 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12891 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12899 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12914 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12917 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12919 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12920 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12922 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12925 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12926 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12927 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12928 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12929 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12930 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12931 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12932 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12933 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12934 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12935 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12936 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12937 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12938 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12939 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12940 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12941 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12942 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12943 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12944 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12945 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12946 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12947 (__isnanf): Likewise.
12948 (__isinf_ns): Likewise.
12949 (__isinf_nsf): Likewise.
12950 (__finite): Likewise.
12951 (__finitef): Likewise.
12952 (__ieee754_sqrt): Define as macro.
12953 (__ieee754_sqrtf): Define as macro.
12954 (__ieee754_sqrtl): Define as macro.
12955 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12956 inlined copy.
12957 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12958 __FINITE_MATH_ONLY__ consistent.
12959 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12960
12cc2fcd
AS
129612011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12962
a843a204
AS
12963 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12964 of rawmemchr.
12965
12cc2fcd
AS
12966 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12967
c853acd5
UD
129682011-10-09 Ulrich Drepper <drepper@gmail.com>
12969
12970 * po/ja.po: Update from translation team.
12971
c658d255
RM
129722011-10-08 Roland McGrath <roland@hack.frob.com>
12973
110946e4
RM
12974 * locale/programs/locarchive.c (prepare_address_space): New function.
12975 (create_archive, enlarge_archive, open_archive): Use it.
12976
50604220
RM
12977 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12978 inside [SHARED], where it is used.
12979
c658d255
RM
12980 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12981
12982 * nss/getent.c (netgroup_keys): Remove unused variable.
12983 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12984
6a621eb7
UD
129852011-10-08 Ulrich Drepper <drepper@gmail.com>
12986
7edb55ce
UD
12987 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12988 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12989 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12990 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12991 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12992 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12993 * math/Makefile (libm-calls): Add s_isinf_ns.
12994 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12995 * math/multc3.c: Likewise.
12996 * math/s_casin.c: Likewise.
12997 * math/s_casinf.c: Likewise.
12998 * math/s_casinl.c: Likewise.
12999 * math/s_ccos.c: Likewise.
13000 * math/s_ccosf.c: Likewise.
13001 * math/s_ccosl.c: Likewise.
13002 * math/s_ctan.c: Likewise.
13003 * math/s_ctanf.c: Likewise.
13004 * math/s_ctanh.c: Likewise.
13005 * math/s_ctanhf.c: Likewise.
13006 * math/s_ctanhl.c: Likewise.
13007 * math/s_ctanl.c: Likewise.
13008 * math/w_fmod.c: Likewise.
13009 * math/w_fmodf.c: Likewise.
13010 * math/w_fmodl.c: Likewise.
13011 * math/w_remainder.c: Likewise.
13012 * math/w_remainderf.c: Likewise.
13013 * math/w_remainderl.c: Likewise.
13014 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13015 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13018 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13019 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13020 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13021 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13022
187da0ae
UD
13023 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13024 of the number.
13025 * stdio-common/printf_fphex.c: Likewise.
13026 * stdio-common/printf_size.c: Likewise.
13027
9277c064
UD
13028 * math/e_exp10.c: Include math_private.h using <...> not "...".
13029 * math/e_exp10f.c: Likewise.
13030 * math/e_exp10l.c: Likewise.
13031 * math/e_exp2l.c: Likewise.
13032 * math/e_j0l.c: Likewise.
13033 * math/e_j1l.c: Likewise.
13034 * math/e_jnl.c: Likewise.
13035 * math/e_lgammal_r.c: Likewise.
13036 * math/e_rem_pio2l.c: Likewise.
13037 * math/e_scalb.c: Likewise.
13038 * math/e_scalbf.c: Likewise.
13039 * math/e_scalbl.c: Likewise.
13040 * math/k_cosl.c: Likewise.
13041 * math/k_sinl.c: Likewise.
13042 * math/k_tanl.c: Likewise.
13043 * math/s_cacoshf.c: Likewise.
13044 * math/s_catan.c: Likewise.
13045 * math/s_catanf.c: Likewise.
13046 * math/s_catanh.c: Likewise.
13047 * math/s_catanhf.c: Likewise.
13048 * math/s_catanhl.c: Likewise.
13049 * math/s_catanl.c: Likewise.
13050 * math/s_ccosh.c: Likewise.
13051 * math/s_ccoshf.c: Likewise.
13052 * math/s_ccoshl.c: Likewise.
13053 * math/s_cexp.c: Likewise.
13054 * math/s_cexpf.c: Likewise.
13055 * math/s_cexpl.c: Likewise.
13056 * math/s_clog.c: Likewise.
13057 * math/s_clog10.c: Likewise.
13058 * math/s_clog10f.c: Likewise.
13059 * math/s_clog10l.c: Likewise.
13060 * math/s_clogf.c: Likewise.
13061 * math/s_clogl.c: Likewise.
13062 * math/s_csin.c: Likewise.
13063 * math/s_csinf.c: Likewise.
13064 * math/s_csinh.c: Likewise.
13065 * math/s_csinhf.c: Likewise.
13066 * math/s_csinhl.c: Likewise.
13067 * math/s_csinl.c: Likewise.
13068 * math/s_csqrt.c: Likewise.
13069 * math/s_csqrtf.c: Likewise.
13070 * math/s_csqrtl.c: Likewise.
13071 * math/s_ctan.c: Likewise.
13072 * math/s_ctanf.c: Likewise.
13073 * math/s_ctanh.c: Likewise.
13074 * math/s_ctanhf.c: Likewise.
13075 * math/s_ctanhl.c: Likewise.
13076 * math/s_ctanl.c: Likewise.
13077 * math/s_ldexp.c: Likewise.
13078 * math/s_ldexpf.c: Likewise.
13079 * math/s_ldexpl.c: Likewise.
13080 * math/s_significand.c: Likewise.
13081 * math/s_significandf.c: Likewise.
13082 * math/s_significandl.c: Likewise.
13083 * math/w_acos.c: Likewise.
13084 * math/w_acosf.c: Likewise.
13085 * math/w_acosh.c: Likewise.
13086 * math/w_acoshf.c: Likewise.
13087 * math/w_acoshl.c: Likewise.
13088 * math/w_acosl.c: Likewise.
13089 * math/w_asin.c: Likewise.
13090 * math/w_asinf.c: Likewise.
13091 * math/w_asinl.c: Likewise.
13092 * math/w_atan2.c: Likewise.
13093 * math/w_atan2f.c: Likewise.
13094 * math/w_atan2l.c: Likewise.
13095 * math/w_atanh.c: Likewise.
13096 * math/w_atanhf.c: Likewise.
13097 * math/w_atanhl.c: Likewise.
13098 * math/w_cosh.c: Likewise.
13099 * math/w_coshf.c: Likewise.
13100 * math/w_coshl.c: Likewise.
13101 * math/w_dremf.c: Likewise.
13102 * math/w_exp10.c: Likewise.
13103 * math/w_exp10f.c: Likewise.
13104 * math/w_exp10l.c: Likewise.
13105 * math/w_exp2.c: Likewise.
13106 * math/w_exp2f.c: Likewise.
13107 * math/w_fmod.c: Likewise.
13108 * math/w_fmodf.c: Likewise.
13109 * math/w_fmodl.c: Likewise.
13110 * math/w_hypot.c: Likewise.
13111 * math/w_hypotf.c: Likewise.
13112 * math/w_hypotl.c: Likewise.
13113 * math/w_j0.c: Likewise.
13114 * math/w_j0f.c: Likewise.
13115 * math/w_j0l.c: Likewise.
13116 * math/w_j1.c: Likewise.
13117 * math/w_j1f.c: Likewise.
13118 * math/w_j1l.c: Likewise.
13119 * math/w_jn.c: Likewise.
13120 * math/w_jnf.c: Likewise.
13121 * math/w_jnl.c: Likewise.
13122 * math/w_lgamma.c: Likewise.
13123 * math/w_lgamma_r.c: Likewise.
13124 * math/w_lgammaf.c: Likewise.
13125 * math/w_lgammaf_r.c: Likewise.
13126 * math/w_lgammal.c: Likewise.
13127 * math/w_lgammal_r.c: Likewise.
13128 * math/w_log.c: Likewise.
13129 * math/w_log10.c: Likewise.
13130 * math/w_log10f.c: Likewise.
13131 * math/w_log10l.c: Likewise.
13132 * math/w_log2.c: Likewise.
13133 * math/w_log2f.c: Likewise.
13134 * math/w_log2l.c: Likewise.
13135 * math/w_logf.c: Likewise.
13136 * math/w_logl.c: Likewise.
13137 * math/w_pow.c: Likewise.
13138 * math/w_powf.c: Likewise.
13139 * math/w_powl.c: Likewise.
13140 * math/w_remainder.c: Likewise.
13141 * math/w_remainderf.c: Likewise.
13142 * math/w_remainderl.c: Likewise.
13143 * math/w_scalb.c: Likewise.
13144 * math/w_scalbf.c: Likewise.
13145 * math/w_scalbl.c: Likewise.
13146 * math/w_sinh.c: Likewise.
13147 * math/w_sinhf.c: Likewise.
13148 * math/w_sinhl.c: Likewise.
13149 * math/w_sqrt.c: Likewise.
13150 * math/w_sqrtf.c: Likewise.
13151 * math/w_sqrtl.c: Likewise.
13152 * math/w_tgamma.c: Likewise.
13153 * math/w_tgammaf.c: Likewise.
13154 * math/w_tgammal.c: Likewise.
13155
6a621eb7
UD
13156 * po/ja.po: Update from translation team.
13157
bf582445
AJ
131582011-09-29 Andreas Jaeger <aj@suse.de>
13159
f9efbf3a
AJ
13160 [BZ #13179]
13161 * sunrpc/netname.c (netname2host): Fix logic.
13162
bf582445
AJ
13163 [BZ #6779]
13164 [BZ #6783]
13165 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13166 correctly.
13167 * math/w_remainder.c (__remainder): Likewise.
13168 * math/w_remainderf.c (__remainderf): Likewise.
13169 * math/libm-test.inc (remainder_test): Add test cases.
13170
48693bea
AK
131712011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13172
13173 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13174 sdiv_qrnnd.
13175
42622229
LD
131762011-10-07 Ulrich Drepper <drepper@gmail.com>
13177
13178 * string/test-memcmp.c: Avoid unncessary #defines.
13179 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13180
093ecf92
LD
131812011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13182
13183 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13184 Use new sse2 version for core i3 - i7 as it's faster
13185 than sse42 version.
13186 (bit_Prefer_PMINUB_for_stringop): New.
13187 * sysdeps/x86_64/rawmemchr.S: Update.
13188 Replace with faster SSE2 version.
13189 * sysdeps/x86_64/memrchr.S: New file.
13190 * sysdeps/x86_64/memchr.S: Update.
13191 Replace with faster SSE2 version.
13192
fde56e5c
MP
131932011-09-12 Marek Polacek <mpolacek@redhat.com>
13194
13195 * elf/dl-load.c (lose): Add cast to avoid warning.
13196
21fd49a9
UD
131972011-10-07 Ulrich Drepper <drepper@gmail.com>
13198
5a06e643
UD
13199 * po/ca.po: Update from translation team.
13200
684ae515
UD
13201 * inet/getnetgrent_r.c: Hook up nscd.
13202 * nscd/Makefile (routines): Add nscd_netgroup.
13203 (nscd-modules): Add netgroupcache.
13204 (CFLAGS-netgroupcache.c): Define.
13205 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13206 (cache_search): Add const to second parameter.
13207 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13208 INNETGR.
13209 (dbs): Add netgrdb entry.
13210 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13211 (verify_persistent_db): Handle netgrdb.
13212 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13213 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13214 GETFDNETGR.
13215 (netgroup_response_header): Define.
13216 (innetgroup_response_header): Define.
13217 (datahead): Add netgroup_response_header and innetgroup_response_header
13218 elements.
13219 * nscd/nscd.conf: Add entries for netgroup cache.
13220 * nscd/nscd.h (dbtype): Add netgrdb.
13221 (_PATH_NSCD_NETGROUP_DB): Define.
13222 (netgroup_iov_disabled): Declare.
13223 (xmalloc, xcalloc, xrealloc): Move declarations here.
13224 (cache_search): Adjust prototype.
13225 Add netgroup-related prototypes.
13226 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13227 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13228 (__nscd_innetgr): Declare.
13229 * nscd/selinux.c (perms): Use access_vector_t as element type and
13230 add netgroup-related initializers.
13231 * nscd/netgroupcache.c: New file.
13232 * nscd/nscd_netgroup.c: New file.
13233 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13234 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13235 For four parameters use innetgr.
13236 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13237 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13238 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13239 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13240
21fd49a9
UD
13241 * nscd/connections.c (register_traced_file): Don't register file
13242 for disabled databases.
13243
054c0457
UD
132442011-10-06 Ulrich Drepper <drepper@gmail.com>
13245
32b63198
UD
13246 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13247
054c0457
UD
13248 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13249 from tree and freeing node.
13250
64031225
JO
132512011-09-25 Jiri Olsa <jolsa@redhat.com>
13252
13253 * nss/nsswitch.c (__nss_database_lookup): Handle
13254 nss_parse_service_list out of memory case.
13255
0490345c
JO
132562011-09-15 Jiri Olsa <jolsa@redhat.com>
13257
13258 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13259 out of memory case.
13260
3a62d00d
AS
132612011-10-04 Andreas Schwab <schwab@redhat.com>
13262
13263 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13264 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13265 pass it down.
13266 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13267 elf_machine_rela, elf_machine_lazy_rel.
13268 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13269 (ELF_DYNAMIC_DO_REL): Likewise.
13270 (ELF_DYNAMIC_DO_RELA): Likewise.
13271 (ELF_DYNAMIC_RELOCATE): Likewise.
13272 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13273 to ELF_DYNAMIC_DO_REL.
13274 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13275 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13276 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13277 elf_machine_rela.
13278 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13279 skip_ifunc, don't call ifunc function if non-zero.
13280 (elf_machine_rela): Likewise.
13281 (elf_machine_lazy_rel): Likewise.
13282 (elf_machine_lazy_rela): Likewise.
13283 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13284 (elf_machine_lazy_rel): Likewise.
13285 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13286 Likewise.
13287 (elf_machine_lazy_rel): Likewise.
13288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13289 Likewise.
13290 (elf_machine_lazy_rel): Likewise.
13291 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13292 (elf_machine_lazy_rel): Likewise.
13293 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13294 (elf_machine_lazy_rel): Likewise.
13295 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13296 (elf_machine_lazy_rel): Likewise.
13297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13298 (elf_machine_lazy_rel): Likewise.
13299 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13300 (elf_machine_lazy_rel): Likewise.
13301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13302 (elf_machine_lazy_rel): Likewise.
13303
68577918
UD
133042011-09-28 Ulrich Drepper <drepper@gmail.com>
13305
13306 * nss/nss_files/files-init.c (_nss_files_init): Use static
13307 initialization for all the *_traced_file variables.
13308
68822d74
AS
133092011-09-28 Andreas Schwab <schwab@redhat.com>
13310
13311 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13312
2056100b
RM
133132011-09-27 Roland McGrath <roland@hack.frob.com>
13314
13315 [BZ #13226]
13316 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13317
32c76b63
AS
133182011-09-27 Andreas Schwab <schwab@redhat.com>
13319
13320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13321 Reread the line before reparsing it.
13322
bf972c9d
AS
133232011-09-26 Andreas Schwab <schwab@redhat.com>
13324
13325 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13326
e057a1b5
JM
133272011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13328 Maxim Kuvyrkov <maxim@codesourcery.com>
13329 Joseph Myers <joseph@codesourcery.com>
13330
13331 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13332 if needed for __stack_chk_guard.
13333
bc7e1c36
RM
133342011-09-19 Roland McGrath <roland@hack.frob.com>
13335
ecb1482f
RM
13336 * sysdeps/posix/spawni.c (script_execute): Always define it.
13337 It will be optimized away if unused.
13338 (maybe_script_execute): New function.
13339 (__spawni): Call it.
13340
bc7e1c36
RM
13341 * Makerules: Don't include tls.make.
13342 (config-tls): Always set to thread.
13343 * tls.make.c: File removed.
13344
1c3b002b
MF
133452011-09-19 Mike Frysinger <vapier@gentoo.org>
13346
13347 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13348 * config.make.in (CPPFLAGS-config): New substituted variable.
13349
2840865d
UD
133502011-09-15 Ulrich Drepper <drepper@gmail.com>
13351
88738eb6
UD
13352 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13353
cbf645a6 13354 [BZ #13192]
2840865d
UD
13355 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13356 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13357
b402e91a
RM
133582011-09-15 Roland McGrath <roland@hack.frob.com>
13359
13360 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13361 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13362 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13363 (CALL_FAIL): Likewise.
13364 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13365 (CALL_FAIL): Macro removed.
13366 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13367
4c1a1f71
UD
133682011-09-15 Ulrich Drepper <drepper@gmail.com>
13369
13370 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13371 for __FINITE_MATH_ONLY__ == 1.
13372
edc121be
AS
133732011-09-15 Andreas Schwab <schwab@redhat.com>
13374
13375 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13376 __ieee754_sqrt instead of sqrt.
13377 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13378 __ieee754_sqrtf instead of sqrtf.
13379 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13380 __floorf instead of floorf.
13381 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13382 __floorf, __truncf instead of floorf, truncf.
13383
cd205654
UD
133842011-09-14 Ulrich Drepper <drepper@gmail.com>
13385
ee4d0315
UD
13386 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13387
cd205654
UD
13388 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13389 __extern_always_inline.
13390 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13391 32-bit.
13392
48b67d71
AS
133932011-09-14 Andreas Schwab <schwab@redhat.com>
13394
13395 * elf/rtld.c (dl_main): Also relocate in dependency order when
13396 doing symbol dependency testing.
13397
1ae12c75
AS
133982011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13399
13400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13401 Always define `refsym'.
13402
995a80df
AS
134032011-09-13 Andreas Schwab <schwab@redhat.com>
13404
e529793b
AS
13405 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13406 (__FD_ELT): Renamed from __FDELT.
13407 * misc/bits/select2.h (__FD_ELT): Likewise.
13408 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13409 __FD_MASK instead of __FDELT, __FDMASK.
13410 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13411 Likewise.
13412 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13413 Likewise.
13414
52d4fef8
AS
13415 * elf/Makefile (gen-ldd): Fix pattern.
13416
995a80df
AS
13417 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13418 (init_tls): Likewise.
13419
8682f8b0
UD
134202011-09-12 Ulrich Drepper <drepper@gmail.com>
13421
13422 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13423
de82006d
AS
134242011-09-12 Andreas Schwab <schwab@redhat.com>
13425
a7c8e6a1
AS
13426 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13427 `struct cmsghdr *' instead of `void *'.
13428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13429 Likewise.
13430
0f31fe77
AS
134312011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13432
13433 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13434 if non-absolute.
13435 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13436 ldd_rewrite_script.
0f31fe77 13437
32b4c839
UD
134382011-09-11 Ulrich Drepper <drepper@gmail.com>
13439
83cd1420
UD
13440 * configure.in: Remove --with-tls option.
13441 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13442 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13443 out in case it is missing.
13444 * sysdeps/ia64/elf/configure.in: Likewise.
13445 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13446 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13447 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13448 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13449 * sysdeps/sh/elf/configure.in: Likewise.
13450 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13451 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13452 * sysdeps/x86_64/elf/configure.in: Likewise.
13453 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13454 * sysdeps/mach/hurd/tls.h: Likewise.
13455
633f745d
UD
13456 [BZ #13067]
13457 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13458
f318beb8
UD
13459 [BZ #13090]
13460 * configure.in: Fix use of AC_INIT.
13461
32b4c839
UD
13462 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13463
3ce1f295
UD
134642011-09-10 Ulrich Drepper <drepper@gmail.com>
13465
bb016596
UD
13466 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13467 __set_errno.
8e58439c
UD
13468 * malloc/hooks.c: Likewise.
13469
aebae053 13470 [BZ #11929]
02d46fc4
UD
13471 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13472 variables statically.
13473 (narenas): Initialize.
13474 (list_lock): Initialize.
bb016596
UD
13475 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13476 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13477 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13478 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13479 Add initializers to main_arena and mp_.
13480 (malloc_state): Remove pagesize member. Change all users to use
13481 GLRO(dl_pagesize).
13482
13483 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13484 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13485 is always initialized.
13486
22a89187
UD
13487 * malloc/malloc.c: Removed unused configurations and dead code.
13488 * malloc/arena.c: Likewise.
13489 * malloc/hooks.c: Likewise.
02d46fc4 13490 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13491
d063d164
UD
13492 * include/tls.h: Removed. USE___THREAD must always be defined.
13493 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13494 * elf/dl-libc.c: Likewise.
13495 * elf/dl-tsd.c: Likewise.
13496 * include/errno.h: Likewise.
13497 * include/netdb.h: Likewise.
13498 * include/resolv.h: Likewise.
13499 * inet/herrno-loc.c: Likewise.
13500 * inet/herrno.c: Likewise.
13501 * malloc/arena.c: Likewise.
13502 * malloc/hooks.c: Likewise.
13503 * malloc/malloc.c: Likewise.
13504 * resolv/res-state.c: Likewise.
13505 * resolv/res_libc.c: Likewise.
13506 * sysdeps/i386/dl-machine.h: Likewise.
13507 * sysdeps/ia64/dl-machine.h: Likewise.
13508 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13509 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13510 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13511 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13512 * sysdeps/sh/dl-machine.h: Likewise.
13513 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13514 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13515 * sysdeps/unix/i386/sysdep.S: Likewise.
13516 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13517 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13518 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13520 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13522 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13524 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13526 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13527 * sysdeps/x86_64/dl-machine.h: Likewise.
13528 * tls.make.c: Likewise.
13529
3ce1f295
UD
13530 * configure.in: Remove --with-__thread option. Make tests for
13531 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13532 tls_model attribute fail if no support is available. Remove
13533 USE_IN_LIBIO.
13534 * Makeconfig: Adjust for dropped configure option. All features are
13535 now mandatory.
13536 * Makerules: Likewise.
13537 * Versions.def: Likewise.
13538 * argp/argp-fmtstream.c: Likewise.
13539 * argp/argp-fmtstream.h: Likewise.
13540 * argp/argp-help.c: Likewise.
13541 * assert/assert.c: Likewise.
13542 * config.h.in: Likewise.
13543 * config.make.in: Likewise.
13544 * configure: Likewise.
13545 * configure.in: Likewise.
13546 * csu/Versions: Likewise.
13547 * csu/init.c: Likewise.
13548 * elf/tst-audit2.c: Likewise.
13549 * elf/tst-tls10.c: Likewise.
13550 * elf/tst-tls10.h: Likewise.
13551 * elf/tst-tls11.c: Likewise.
13552 * elf/tst-tls12.c: Likewise.
13553 * elf/tst-tls14.c: Likewise.
13554 * elf/tst-tlsmod11.c: Likewise.
13555 * elf/tst-tlsmod12.c: Likewise.
13556 * elf/tst-tlsmod13.c: Likewise.
13557 * elf/tst-tlsmod13a.c: Likewise.
13558 * elf/tst-tlsmod14a.c: Likewise.
13559 * elf/tst-tlsmod15b.c: Likewise.
13560 * elf/tst-tlsmod16a.c: Likewise.
13561 * elf/tst-tlsmod16b.c: Likewise.
13562 * elf/tst-tlsmod7.c: Likewise.
13563 * elf/tst-tlsmod8.c: Likewise.
13564 * elf/tst-tlsmod9.c: Likewise.
13565 * gmon/gmon.c: Likewise.
13566 * grp/fgetgrent_r.c: Likewise.
13567 * grp/putgrent.c: Likewise.
13568 * hurd/fopenport.c: Likewise.
13569 * include/libc-symbols.h: Likewise.
13570 * include/tls.h: Likewise.
13571 * intl/gettextP.h: Likewise.
13572 * intl/loadinfo.h: Likewise.
13573 * locale/global-locale.c: Likewise.
13574 * locale/localeinfo.h: Likewise.
13575 * mach/devstream.c: Likewise.
13576 * malloc/arena.c: Likewise.
13577 * malloc/set-freeres.c: Likewise.
13578 * misc/err.c: Likewise.
13579 * misc/getttyent.c: Likewise.
13580 * misc/mntent_r.c: Likewise.
13581 * posix/getopt.c: Likewise.
13582 * posix/wordexp.c: Likewise.
13583 * pwd/fgetpwent_r.c: Likewise.
13584 * resolv/Versions: Likewise.
13585 * resolv/res_hconf.c: Likewise.
13586 * shadow/fgetspent_r.c: Likewise.
13587 * shadow/putspent.c: Likewise.
13588 * stdio-common/printf_fphex.c: Likewise.
13589 * stdio-common/tmpfile.c: Likewise.
13590 * stdlib/abort.c: Likewise.
13591 * stdlib/fmtmsg.c: Likewise.
13592 * sunrpc/auth_unix.c: Likewise.
13593 * sunrpc/clnt_perr.c: Likewise.
13594 * sunrpc/clnt_tcp.c: Likewise.
13595 * sunrpc/clnt_udp.c: Likewise.
13596 * sunrpc/clnt_unix.c: Likewise.
13597 * sunrpc/openchild.c: Likewise.
13598 * sunrpc/svc_simple.c: Likewise.
13599 * sunrpc/svc_tcp.c: Likewise.
13600 * sunrpc/svc_udp.c: Likewise.
13601 * sunrpc/svc_unix.c: Likewise.
13602 * sunrpc/xdr.c: Likewise.
13603 * sunrpc/xdr_array.c: Likewise.
13604 * sunrpc/xdr_rec.c: Likewise.
13605 * sunrpc/xdr_ref.c: Likewise.
13606 * sunrpc/xdr_stdio.c: Likewise.
13607
1248c1c4
PB
136082011-09-09 Ulrich Drepper <drepper@gmail.com>
13609
13610 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13611
136122011-07-03 Andreas Jaeger <aj@suse.de>
13613
13614 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13615 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13616 regenerate with gen-libm-tests.pl.
13617
136182010-05-12 Petr Baudis <pasky@suse.cz>
13619
13620 [BZ #11589]
13621 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13622 around j0() zero points by switching to j1().
13623 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13624 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13627
f22e1074
UD
136282011-09-09 Ulrich Drepper <drepper@gmail.com>
13629
f19009c1
UD
13630 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13631 instead of 0.
13632 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13633 instead of 0. .
13634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13635 Patch in part by Pavel Roskin <proski@gnu.org>.
13636
3f8cc204
UD
13637 [BZ #13138]
13638 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13639 realloc.
13640 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13641 Free memory block if necessary.
13642
f22e1074
UD
13643 [BZ #12847]
13644 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13645 be NULL. Don't lock in this case.
13646
0a2349f9
RM
136472011-09-09 Roland McGrath <roland@hack.frob.com>
13648
13649 * elf/elf.h (ELFOSABI_GNU): New macro.
13650 (ELFOSABI_LINUX): Define to that.
13651
f3cdd467
DZ
136522011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13653
13654 * string/strncat.c (strncat): Undef the symbol in case it has been
13655 defined in bits/string.h.
13656
74718d13
UD
136572011-09-09 Ulrich Drepper <drepper@gmail.com>
13658
633e9e0f
UD
13659 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13660
0a2349f9 13661 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13662 link map.
13663
f9924780
AJ
136642011-08-17 Andreas Jaeger <aj@suse.de>
13665
13666 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13667
7f5517aa
PP
136682011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13669 Ian Lance Taylor <iant@google.com>
13670
13671 * math/libm-test.inc (lround_test): New testcase.
13672 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13673
762011fe
UD
136742011-09-08 Ulrich Drepper <drepper@gmail.com>
13675
92963737
UD
13676 * Makefile: Remove support for automatic cvs check-ins.
13677 * Makerules: Likewise.
13678 * config.make.in: Likewise.
13679 * configure.in: Likewise.
13680 * intl/Makefile: Likewise.
13681 * locale/Makefile: Likewise.
13682 * po/Makefile: Likewise.
13683 * posix/Makefile: Likewise.
13684 * sysdeps/gnu/Makefile: Likewise.
13685 * sysdeps/mach/hurd/Makefile: Likewise.
13686 * sysdeps/sparc/sparc32/Makefile: Likewise.
13687
b0727fd8
JS
13688 [BZ #13118]
13689 * posix/Makefile (bug-regex32-ENV): Define.
13690 Patch by John Stanley <jpsinthemix@verizon.net>.
13691
a0f33f99
UD
13692 * misc/Makefile (headers): Add bits/select2.h.
13693 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13694 * misc/bits/select2.h: New file.
13695 * include/bits/select2.h: New file.
13696 * debug/Makefile (routines): Add fdelt_chk.
13697 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13698 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13699 FD_ISSET.
13700 * debug/fdelt_chk.c: New file.
13701
762011fe
UD
13702 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13703 * wcsmbs/test-wmemcmp.c: Likewise.
13704 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13705 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13706
137072011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13708
13709 * string/Makefile (strop-tests): Add memcmp.
13710 * string/test-wmemcmp.c: New file.
13711 * string/test-memcmp.c: Add wmemcmp support.
13712
7f513ec8
RM
137132011-09-08 Roland McGrath <roland@hack.frob.com>
13714
0442afb4
RM
13715 [BZ #13153]
13716 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13717 2011-07-19 change.
13718
7f513ec8
RM
13719 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13720 garbage value in a __mach_port_mod_refs call in the cases of the
13721 task-self and thread-self ports.
13722
a12b2239
ST
137232011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13724
13725 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13726
610f9ab4
AS
137272011-09-08 Andreas Schwab <schwab@redhat.com>
13728
7f513ec8 13729 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13730
48882a1a
LD
137312011-09-07 Ulrich Drepper <drepper@gmail.com>
13732
b49865be
UD
13733 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13734
fdc86bc9
UD
13735 * elf/dl-libc.c (dlerror_run): Pass back error code from
13736 dl_catch_error.
13737
c966526a
UD
13738 [BZ #13123]
13739 * elf/dl-load.c (lose): Free l_origin if it is valid.
13740
48882a1a
LD
13741 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13742 names.
13743 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13744 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13745 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13746 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13747 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13748 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13749
77a2a8b4
AZ
137502011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13751
13752 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13753 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13754 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13755 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13756 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13757 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13758 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13759 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13760 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13761 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13762
24f579d8
AM
137632011-08-15 Alan Modra <amodra@gmail.com>
13764
13765 [BZ #13092]
13766 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13767 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13768 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13769 ppc_mcount to static-only-routines.
13770 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13771 __mcount_internal.
13772 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13773 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13774
3d4837df
UD
137752011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13776
13777 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13778 for finite and infinity parameters.
13779
22700377
WS
137802011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13781
13782 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13783 and add nop instructions for throughput optimization.
13784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13785
5025581e
WS
137862011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13787
13788 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13789 aligned copy for power7 with vector-scalar instructions.
13790 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13791
08a300c9
L
137922011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13793
13794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13795 AVX check.
13796
59178ef9
AS
137972011-09-07 Andreas Schwab <schwab@redhat.com>
13798
13799 [BZ #13144]
13800 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13801 last change.
13802
e38ba7ab
UD
138032011-09-07 Ulrich Drepper <drepper@gmail.com>
13804
13805 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13806 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13807 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13808 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13809 clock_gettime.
13810
d53a73ac
UD
138112011-09-06 Ulrich Drepper <drepper@gmail.com>
13812
fc8bffcc
UD
13813 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13814 Forgot to demangle the pointer.
13815
ceaa0c5d
UD
13816 * sysdeps/i386/sysdep.h: Define atom_text_section.
13817 * sysdeps/x86_64/sysdep.h: Likewise.
13818 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13819 section with atom_text_section.
13820 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13821 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13822 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13823 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13824 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13825
a77d3c17
UD
13826 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13827 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13828 already be defined. Change to take two parameters and don't assign
13829 result to variable. Adjust all users.
13830 Define INTERNAL_GETTIME if not already defined.
13831 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13832 call.
13833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13834 HAVE_CLOCK_GETTIME_VSYSCALL.
13835 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13836
d53a73ac
UD
13837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13838 gettimeofday vsyscall, just use time.
13839
a8f84144
AS
138402011-09-06 Andreas Schwab <schwab@redhat.com>
13841
13842 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13843 <errno.h>.
13844
ef606249
UD
138452011-09-06 Ulrich Drepper <drepper@gmail.com>
13846
13847 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13848 syscall on x86-64.
13849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13850 syscall.
13851 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13852 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13853 syscall if possible.
13854
6585cb60
UD
138552011-09-05 Ulrich Drepper <drepper@gmail.com>
13856
13857 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13858 e_ident. Don't pass to find_mapsXX.
13859 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13860
a5f524e4
LD
138612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13862
13863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13864 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13865 * sysdeps/x86_64/multiarch/strchr.S: Update.
13866 Check bit_slow_BSF bit.
13867 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13868 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13869 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13870
554881ef
UD
138712011-09-05 Ulrich Drepper <drepper@gmail.com>
13872
d96de963
UD
13873 [BZ #13134]
13874 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13875 before glibc 2.15.
13876 (tryshell): Define.
13877 (__spawni): Change last parameter to be flag. Test
13878 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13879 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13880 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13881 * posix/spawni.c: Likewise.
13882 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13883 * posix/spawnp.c: Likewise. Change normal version to use
13884 SPAWN_XFLAGS_USE_PATH.
13885 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13886 SPAWN_XFLAGS_TRY_SHELL.
13887
d48e5868
UD
13888 [BZ #13150]
13889 * posix/glob.h: Remove gcc 1.x support.
13890
554881ef
UD
13891 [BZ #13068]
13892 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13893
693fb948
LD
138942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13895
13896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13897 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13898 strrchr-sse2-bsf
13899 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13900 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13901 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13902 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13903 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13904 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13905
1b48c537
UD
139062011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13907
49d42c37
UD
13908 * sysdeps/x86_64/wcscmp.S: New file.
13909
1b48c537
UD
13910 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13911 wcscmp-c wcscmp-sse2
13912 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13913 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13914 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13915 * wcsmbs/wcscmp.c: Allow renaming.
13916
15c95c5d
DM
139172011-09-05 David S. Miller <davem@davemloft.net>
13918
13919 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13920 stack slot, rather than the struct return pointer slot.
13921 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13922 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13924 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13925
2f0ad8f3
UD
139262011-09-05 Ulrich Drepper <drepper@gmail.com>
13927
d88ae418
UD
13928 * po/ja.po: Update from translation team.
13929
2f0ad8f3
UD
13930 [BZ #13144]
13931 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13932 kernel in 64-bit binaries.
13933
5f4318d1
DM
139342011-09-01 David S. Miller <davem@davemloft.net>
13935
13936 * elf/elf.h (HWCAP_SPARC_*): Move to..
13937 * sysdeps/sparc/sysdep.h: this new file and add new values.
13938 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13939 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13940 _DL_HWCAP_COUNT to 24.
13941 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13942 entries.
13943 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13944 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13945 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13947 instead of magic constants.
13948 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13949
3ba57516
DM
139502011-08-31 David S. Miller <davem@davemloft.net>
13951
13952 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13954 Reimplement to do errno handling inline.
13955 (SYSCALL_ERROR_HANDLER): New macro.
13956 (__SYSCALL_STRING): Do not do errno handling in asm.
13957 (__CLONE_SYSCALL_STRING): Delete.
13958 (__INTERNAL_SYSCALL_STRING): Delete.
13959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13960 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13961 (PSEUDO): Reimplement to do errno handling inline.
13962 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13963 (SYSCALL_ERROR_HANDLER): New macro.
13964 (__SYSCALL_STRING): Do not do errno handling in asm.
13965 (__CLONE_SYSCALL_STRING): Delete.
13966 (__INTERNAL_SYSCALL_STRING): Delete.
13967 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13968 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13969 i386.
13970 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13971 (inline_syscall*): Add 'err' argument.
13972 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13973 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13974 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13975 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13976
13977 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13978 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13979
2bc17433
AS
139802011-08-30 Andreas Schwab <schwab@redhat.com>
13981
13982 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13983
fbeb5f4d
JO
139842011-08-29 Jiri Olsa <jolsa@redhat.com>
13985
13986 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13987 directive.
13988
ad69cc26
DM
139892011-08-24 David S. Miller <davem@davemloft.net>
13990
13991 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13992
39dd69df
AS
139932011-08-24 Andreas Schwab <schwab@redhat.com>
13994
13995 * elf/Makefile: Add rules to build and run unload8 test.
13996 * elf/unload8.c: New file.
13997 * elf/unload8mod1.c: New file.
13998 * elf/unload8mod1x.c: New file.
13999 * elf/unload8mod2.c: New file.
14000 * elf/unload8mod3.c: New file.
14001
14002 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14003 it wasn't used.
14004
2c0b250a
DM
140052011-08-23 David S. Miller <davem@davemloft.net>
14006
14007 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14008 subtract stack bias.
14009 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14010 %sp not %fp in calculations.
14011 (_JMPBUF_UNWINDS_ADJ): Likewise.
14012
22044b48
DM
14013 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14014 (aio_suspend): Call it to force an exception region around the
14015 AIO_MISC_WAIT() invocation.
14016
2cae4995
AS
140172011-08-23 Andreas Schwab <schwab@redhat.com>
14018
14019 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14020 backslash.
14021
873a772e
AJ
140222011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14023
14024 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14025 protection macro.
14026 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14027 and <dl-machine.h>.
14028 (Elf64_FuncDesc): Remove.
14029
25ad0df1
DM
140302011-08-22 David S. Miller <davem@davemloft.net>
14031
14032 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14033 sigaltstack check, add missing cfi directives.
14034 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14035 missing cfi directives, and sigaltstack handling.
14036
e888bcbe
AS
140372011-08-16 Andreas Schwab <schwab@redhat.com>
14038
14039 [BZ #11724]
14040 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14041 object is seen twice.
14042 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14043
14044 * elf/Makefile (distribute): Add tst-initorder2.c.
14045 (tests): Add tst-initorder2.
14046 (modules-names): Add tst-initorder2a tst-initorder2b
14047 tst-initorder2c tst-initorder2d. Add rules to build them.
14048 ($(objpfx)tst-initorder2.out): New rule.
14049 * elf/tst-initorder2.c: New file.
14050 * elf/tst-initorder2.exp: New file.
14051
87162f46
AS
140522011-08-22 Andreas Schwab <schwab@redhat.com>
14053
70538b7f
AS
14054 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14055
f55ffe58
AS
14056 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14057 dependencies back to end of function.
14058
87162f46
AS
14059 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14060 $(elfobjdir)/ld.so.
14061
91b392a4
UD
140622011-08-21 Ulrich Drepper <drepper@gmail.com>
14063
14064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14065 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14067 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14068 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14069 of __vdso_gettimeofday.
14070 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14071 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14072 attribute_hidden.
14073 (_libc_vdso_platform_setup): Remove initialization of
14074 __vdso_gettimeofday and __vdso_time.
14075
5c43483f
UD
140762011-08-20 Ulrich Drepper <drepper@gmail.com>
14077
775a77e7
UD
14078 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14079 and fgetc_unlocked.
14080 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14081 getc_unlocked.
89f447ed 14082
49c74ba9
UD
14083 * elf/dl-open.c (add_to_global): Report additions to the global scope
14084 for LD_DEBUG=scopes.
14085 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14086 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14087
5c43483f
UD
14088 [BZ #13114]
14089 * stdio-common/Makefile (tests): Add bug24.
14090 * stdio-common/bug24.c: New file.
14091
a101b025
AJ
140922011-08-19 Andreas Jaeger <aj@suse.de>
14093
14094 [BZ #13114]
14095 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14096 non-existant file when using close-on-exec mode.
14097
c88f1766
UD
140982011-08-20 Ulrich Drepper <drepper@gmail.com>
14099
0276a718
UD
14100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14101 the very first instruction.
14102
c88f1766
UD
14103 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14104 the CFI state in the end.
14105 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14106 inclusion of dl-trampoline.h.
14107 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14108
51ccffa0
AS
141092011-08-19 Andreas Schwab <schwab@redhat.com>
14110
94d7165f
AS
14111 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14112 expectations for long double.
14113
51ccffa0
AS
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14115 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14116
fd708658 141172011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14118
14119 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14120 artificual limit depends upon the system page size.
14121
44f0a71e
UD
141222011-08-17 Ulrich Drepper <drepper@gmail.com>
14123
14124 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14125 * resolv/Makefile: Define CFLAGS-libresolv.
14126
8de79a24
AS
141272011-08-17 Andreas Schwab <schwab@redhat.com>
14128
14129 * nss/makedb.c (compute_tables): Make variables used in nested
14130 function static.
14131
27724598
UD
141322011-08-17 Ulrich Drepper <drepper@gmail.com>
14133
c5305d88
UD
14134 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14135 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14136 if buffer was too small.
14137
27724598
UD
14138 * elf/pldd.c (main): Attach to all threads in the process.
14139 Rewrite /proc handling to use *at functions.
14140
076fe015
UD
141412011-08-16 Ulrich Drepper <drepper@gmail.com>
14142
174baab3
UD
14143 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14144 specifies first scope to show.
14145 (dl_open_worker): Update callers. Move printing scope of new
14146 object to before the relocation.
44f0a71e 14147 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14148 * sysdeps/generic/ldsodefs.h: Update declaration.
14149
076fe015
UD
14150 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14151 string for the scope number.
14152
a60df2c3
UD
141532011-08-14 Ulrich Drepper <drepper@gmail.com>
14154
14155 * nscd/servicescache.c (cache_addserv): Make sure written is always
14156 initialized.
14157
5e4287d1
RM
141582011-08-14 Roland McGrath <roland@hack.frob.com>
14159
85ae0589
RM
14160 * sysdeps/i386/i486/bits/atomic.h
14161 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14162 statement expression, so as to suppress "set but not used" warning.
14163 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14164
69f63097
RM
14165 * string/strncat.c (STRNCAT): Use prototype definition.
14166
675456ef
RM
14167 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14168 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14169 -Iprograms here.
14170 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14171 (localedef-modules): Add localedef.
14172 (locale-modules): Add locale.
14173
5e4287d1
RM
14174 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14175 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14176 to avoid a warning.
14177
9c96ff23
DM
141782011-08-14 David S. Miller <davem@davemloft.net>
14179
14180 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14181 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14182
f9ddf089
UD
141832011-08-13 Ulrich Drepper <drepper@gmail.com>
14184
44f0a71e 14185 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14186 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14187 * elf/rtld.c (dl_main): Set l_name of vDSO.
14188 Call _dl_show_scope when DL_DEBUG_SCOPES.
14189 (process_dl_debug): Recognize scopes flag and also set it for all.
14190 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14191 Declare _dl_show_scope.
14192
1dc27704
UD
14193 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14194 (do_dlopen): Pass caller_dlopen to dl_open.
14195 (__libc_dlopen_mode): Initialize caller_dlopen.
14196
f9ddf089
UD
14197 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14198 of libc. Make tolower call locale-independent. Optimize a bit by
14199 using isdigit instead of isalnum.
14200 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14201
9ac533d3
UD
142022011-08-12 Ulrich Drepper <drepper@gmail.com>
14203
14204 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14205 was a dependency or dynamically loaded.
14206
89edf2e9
UD
142072011-08-11 Ulrich Drepper <drepper@gmail.com>
14208
8e999d29
UD
14209 * intl/l10nflist.c: Allow architecture-specific pop function.
14210 * sysdeps/x86_64/l10nflist.c: New file.
14211
89edf2e9
UD
14212 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14213 classification.
14214
14d96785
AS
142152011-08-10 Andreas Schwab <schwab@redhat.com>
14216
14217 * include/dirent.h: Add libc_hidden_proto for scandirat and
14218 scandirat64. Don't declare __scandirat64.
14219 * dirent/scandirat.c: Add libc_hidden_def.
14220 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14221 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14222
6761ac04
DM
142232011-08-10 David S. Miller <davem@davemloft.net>
14224
14225 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14226 enum.
14227 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14228 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14229 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14230
c55fbd1e
UD
142312011-08-09 Ulrich Drepper <drepper@gmail.com>
14232
14233 * Versions.def [libc]: Add GLIBC_2.15.
14234 * dirent/Makefile (routines): Add scandirat and scandirat64.
14235 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14236 GLIBC_2.15.
14237 * dirent/dirent.h: Declare scandirat and scandirat64.
14238 * dirent/scandirat.c: New file.
14239 * dirent/scandirat64.c: New file.
14240 * sysdeps/wordsize-64/scandirat.c: New file.
14241 * sysdeps/wordsize-64/scandirat64.c: New file.
14242 * dirent/opendir.c: Define opendirat.
14243 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14244 using scandirat.
14245 * dirent/scandir64.c: Adjust for scandir.c change.
14246 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14247 __scandirat64, and __scandir_cancel_handler.
14248 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14249 additional parameter and use openat instead of open (outside of ld.so).
14250 Add new __opendir as wrapper around __opendirat.
14251 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14252 here without requiring old scandirat implementation.
14253
879165f2
UD
142542011-08-08 Ulrich Drepper <drepper@gmail.com>
14255
14256 * dirent/scandir.c (cancel_handler): Renamed to
14257 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14258 defined. Adjust users.
14259 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14260 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14261
cb7e923b
UD
142622011-08-04 Ulrich Drepper <drepper@gmail.com>
14263
16292edd
UD
14264 * string/test-string.h (IMPL): Use __STRING to expand name and then
14265 stringify it.
14266
cb7e923b
UD
14267 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14268 of cleanups.
14269
cff82933
LD
142702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14271
14272 * string/Makefile: Update.
14273 (strop-tests): Append strncat.
14274 * string/test-wcscmp.c: New file.
14275 New comprehensive test for wcscmp.
14276 * string/test-strcmp.c: Update.
14277 (WIDE): New define.
14278
9be9bfcc
AS
142792011-07-22 Andreas Schwab <schwab@redhat.com>
14280
14281 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14282 line.
14283
2e96f1c7
AS
142842011-07-26 Andreas Schwab <schwab@redhat.com>
14285
14286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14287 encoding to ACE if AI_IDN.
14288
85188888
JJ
142892011-08-01 Jakub Jelinek <jakub@redhat.com>
14290
14291 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14292 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14293
5fa16e9b
LD
142942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14295
14296 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14297 Fix overflow bug in strncat.
14298 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14299
14300 * string/test-strncat.c: Update.
14301 Add new tests for checking overflow bugs.
14302
143032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14304
14305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14306 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14307 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14308 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14309 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14310 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14311 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14312 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14313 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14314
14315 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14316 (USE_AS_STRCAT): Define.
14317 Add strcat and strncat support.
14318 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14319
8c1a459f
AS
143202011-07-25 Andreas Schwab <schwab@redhat.com>
14321
14322 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14323 __n bigger than INT_MAX+1.
14324 (__strncmp_g): Likewise.
14325
bba33c28
UD
143262011-07-23 Ulrich Drepper <drepper@gmail.com>
14327
798be72d
UD
14328 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14329 * libio/stido.h: Likewise.
14330
8accd4dc
UD
14331 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14332 (AF_NFC): Define.
14333 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14334 (AF_NFC): Define.
14335
cbff0d96
UD
14336 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14337 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14339 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14340 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14341
9191c04a
UD
14342 [BZ #13021]
14343 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14344 installed.
14345
bba33c28
UD
14346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14347 typo.
14348 (_dl_x86_64_save_sse): Likewise.
14349
90f139dd
UD
143502011-07-22 Ulrich Drepper <drepper@gmail.com>
14351
1aae088a
UD
14352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14353 OSXSAVE.
14354 (_dl_x86_64_save_sse): Likewise.
14355
8e2045f5
UD
14356 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14357
90f139dd
UD
14358 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14359
1d002f25
AS
143602011-07-21 Andreas Schwab <schwab@redhat.com>
14361
14362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14363 change.
14364 (_dl_x86_64_save_sse): Use correct AVX check.
14365
21137f89
UD
143662011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14367
14368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14369 bug in strncpy/strncat.
14370 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14371
a65c0b7a
UD
143722011-07-21 Ulrich Drepper <drepper@gmail.com>
14373
14374 * string/tester.c (test_strcat): Add tests for different alignments
14375 of source and destination.
14376 (test_strncat): Likewise.
14377
6986b98a
UD
143782011-07-20 Ulrich Drepper <drepper@gmail.com>
14379
90bb2039
UD
14380 [BZ #12852]
14381 * posix/glob.c (glob): Check passed in values before using them in
14382 expressions to avoid some overflows.
14383 (glob_in_dir): Likewise.
14384
5644ef54
UD
14385 [BZ #13007]
14386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14387 check for AVX enablement so that we don't crash with old kernels and
14388 new hardware.
14389 * elf/tst-audit4.c: Add same checks here.
14390 * elf/tst-audit6.c: Likewise.
14391
14392 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14393
bfc9dc9b
AS
143942011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14395
14396 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14397
702e64bb
UD
143982011-07-20 Ulrich Drepper <drepper@gmail.com>
14399
14400 * po/cs.po: Update from translation team.
14401 * po/bg.po: Likewise.
14402
295e904f
MP
144032011-07-12 Marek Polacek <mpolacek@redhat.com>
14404
14405 * misc/sys/cdefs.h: Add support for const attribute.
14406 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14407 to gnu_dev_{major,minor,makedev} functions.
14408
3ff94596
MP
144092011-07-20 Marek Polacek <mpolacek@redhat.com>
14410
14411 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14412
28b59fca
AS
144132011-07-20 Andreas Schwab <schwab@redhat.com>
14414
14415 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14416 strlen results.
14417
19df733e
AK
144182011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14419
14420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14421 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14422 register in order to avoid conflicts with the soft frame pointer
14423 being held in r11 when necessary.
14424 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14425 (INTERNAL_VSYSCALL_NCS): Likewise.
14426
c8835729
MP
144272011-07-14 Marek Polacek <mpolacek@redhat.com>
14428
14429 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14430 * elf/dl-fini.c (_dl_fini): Adjust caller.
14431 * elf/dl-close.c (_dl_close_worker): Likewise.
14432 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14433
b902330c
MP
144342011-07-15 Marek Polacek <mpolacek@redhat.com>
14435
8991e135
MP
14436 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14437 "aux_cache->nlibs < 0".
14438
b902330c
MP
14439 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14440 in the reload-count case.
14441
99710781
LD
144422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14443
14444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14445 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14446 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14447 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14448 * sysdeps/x86_64/multiarch/strcat.S: New file.
14449 * sysdeps/x86_64/multiarch/strncat.S: New file.
14450 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14451 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14452 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14453 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14454 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14455 (USE_AS_STRCAT): Define.
14456 Add strcat and strncat support.
14457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14458 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14459 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14460 * string/strncat.c: Update.
14461 (USE_AS_STRNCAT): Define.
14462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14463 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14464 and i7.
14465 * sysdeps/x86_64/multiarch/init-arch.h
14466 (bit_Prefer_PMINUB_for_stringop): New.
14467 (index_Prefer_PMINUB_for_stringop): Likewise.
14468 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14469 bit_Prefer_PMINUB_for_stringop.
14470
7dc6bd90
UD
144712011-07-19 Ulrich Drepper <drepper@gmail.com>
14472
14473 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14474 buffer64.
14475 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14476 of casting of buffer.
14477 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14478 buffer32 and buffer64.
14479 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14480 writes instead of casting of buffer.
14481 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14482 buffer32.
14483 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14484 casting of buffer.
14485
e0e72284
AS
144862011-07-19 Andreas Schwab <schwab@redhat.com>
14487
14488 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14489
feb1eb0b
UD
144902011-07-19 Ulrich Drepper <drepper@gmail.com>
14491
14492 * nscd/nscd.c (termination_handler): Don't do anything for a database
14493 if it has not yet been initialized.
14494
298711ff
UD
144952011-07-18 Ulrich Drepper <drepper@gmail.com>
14496
14497 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14498
144992011-07-15 Marek Polacek <mpolacek@redhat.com>
14500
14501 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14502
f9d68389
UD
145032011-07-18 Ulrich Drepper <drepper@gmail.com>
14504
14505 * po/nl.po: Update from translation team.
14506 * po/sv.po: Likewise.
14507
db290cf5
RM
145082011-07-16 Roland McGrath <roland@hack.frob.com>
14509
14510 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14511 now disallowed by GCC.
5c550700 14512
fd5e21c7
RM
14513 * configure.in (use-default-link): Default to yes if a test -shared
14514 link meets our qualifications.
14515 * configure: Regenerated.
14516
5c550700
RM
14517 * config.make.in (output-format): New variable.
14518 * configure.in: Check for ld --print-output-format support.
14519 * configure: Regenerated.
14520 * Makerules ($(common-objpfx)format.lds)
14521 [$(output-format) != unknown]: Just use $(output-format),
14522 instead of the linker-script munging.
14523
9fa2c032
RM
145242011-07-14 Roland McGrath <roland@hack.frob.com>
14525
a6928d51
RM
14526 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14527 of $(common-objpfx)shlib.lds.
14528 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14529
661607b3
RM
14530 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14531 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14532
9fa2c032
RM
14533 * configure.in (-z relro check): Adjust test code to add a large
14534 writable data section after it.
14535 * configure: Regenerated.
14536
defe9061
RM
145372011-07-11 Roland McGrath <roland@hack.frob.com>
14538
14539 * configure.in (-z relro check): Fix test code to make the variable
14540 truly const.
14541 * configure: Regenerated.
14542
319b9ad4
UD
145432011-07-11 Ulrich Drepper <drepper@gmail.com>
14544
14545 * nscd/nscd.h (struct traced_file): Define.
14546 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14547 elements. Add traced_files.
14548 (inotify_fd): Declare.
14549 (register_traced_file): Declare.
14550 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14551 (inotify_fd): Export.
14552 (resolv_conf_descr): Remove.
14553 (nscd_init): Move inotify descriptor creation to main.
14554 Don't register files for notification here.
14555 (register_traced_file): New function.
14556 (invalidate_cache): Don't use reset_res to determine whether to call
14557 res_init, go through the list of registered files.
14558 (main_loop_poll): The inotify descriptors are now stored in the
14559 structures for the traced files.
14560 (main_loop_epoll): Likewise
14561 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14562 to __nss_disable_nscd.
14563 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14564 for a database anymore. Check the records for all the registered
14565 files instead.
14566 * nss/Makefile (libnss_files-routines): Add files-init.
14567 (libnss_db-routines): Add db-init.
14568 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14569 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14570 * nss/nss_db/db-init.c: New file.
14571 * nss/nss_files/files-init.c: New file.
14572 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14573 __nss_lookup_function.
14574 (__nss_lookup_function): Call nss_load_library.
14575 (nss_load_all_libraries): New function.
14576 (__nss_disable_nscd): Take parameter with callback function for files
14577 to register. Set is_nscd. Load all the DSOs for the NSS modules
14578 used for the cached services.
14579 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14580 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14581 options for features to all the files in nscd.
14582
14583 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14584
23bee3e8
RM
145852011-07-10 Roland McGrath <roland@hack.frob.com>
14586
14587 * csu/elf-init.c (__libc_csu_init): Comment typo.
14588
46a5b7f0
UD
145892011-07-09 Ulrich Drepper <drepper@gmail.com>
14590
14591 * po/pl.po: Update from translation team.
14592 * po/ja.po: Likewise.
14593 * po/ru.po: Likewise.
14594 * po/ko.po: Likewise.
14595 * po/fr.po: Likewise.
14596
d30cf5bb
RM
145972011-07-09 Roland McGrath <roland@hack.frob.com>
14598
113ddea4
RM
14599 * configure.in (.ctors/.dtors header and trailer check):
14600 Use an empirical test on a built program.
14601 * configure: Regenerated.
14602
574920b4
RM
14603 * configure.in (-z relro check): Use an empirical test on a built DSO.
14604 Detect, but do not require, on ia64.
14605 * configure: Regenerated.
14606
d30cf5bb
RM
14607 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14608 Update tests that use readelf to use $READELF instead.
14609 * configure: Regenerated.
14610
8538fdb3
UD
146112011-07-08 Ulrich Drepper <drepper@gmail.com>
14612
14613 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14614 if the result is not used.
14615
04d08991
AJ
146162011-07-05 Andreas Jaeger <aj@suse.de>
14617
14618 [BZ#9696]
14619 * stdlib/tst-strtod.c: Add testcase.
14620
de283087
AD
146212011-07-07 Ulrich Drepper <drepper@gmail.com>
14622
4e5f31c8 14623 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14624 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14625 The latter has a higher limit. Take additional parameter to pass to
14626 the new function.
14627 (__pathconf): Pass file to __statfs_link_max.
14628 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14629 __statfs_link_max.
14630 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14631 __statfs_link_max.
14632
de283087
AD
14633 [BZ #12868]
14634 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14635 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14636 Handle Lustre.
14637 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14638 (__statfs_filesize_max): Likewise.
14639 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14640
c75fa153
AJ
146412011-07-05 Andreas Jaeger <aj@suse.de>
14642
14643 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14644
1a544854
UD
146452011-07-06 Marek Polacek <mpolacek@redhat.com>
14646
14647 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14648 `status' variable.
14649 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14650 Likewise.
14651
6f0eec67
UD
146522011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14653
14654 * Makefile (strop-tests): Add strncat.
14655 * string/test-strncat.c: New file.
14656
aae30307
UD
146572011-06-30 Marek Polacek <mpolacek@redhat.com>
14658
14659 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14660
c0cfb5eb
UD
146612011-06-21 Andreas Jaeger <aj@suse.de>
14662
14663 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14664 Copy rule from iconvdata/Makefile.
14665
01636b21
UD
146662011-07-06 Ulrich Drepper <drepper@gmail.com>
14667
14668 [BZ #12922]
14669 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14670 but no long options are defined, just return 'W'.
14671
9895c8bc
UD
146722011-06-22 Marek Polacek <mpolacek@redhat.com>
14673
14674 [BZ #9696]
14675 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14676
5d4cf042
UD
146772011-07-06 Ulrich Drepper <drepper@gmail.com>
14678
14679 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14680 netgroups to read.
960e5535 14681 (innetgr): Likewise.
5d4cf042 14682
751eb97e
RM
146832011-07-05 Roland McGrath <roland@hack.frob.com>
14684
14685 * config.make.in (install_root): Default to $(DESTDIR).
14686
f15f1e45
UD
146872011-07-05 Ulrich Drepper <drepper@gmail.com>
14688
14689 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14690
4e34ac6a
RM
146912011-07-02 Roland McGrath <roland@hack.frob.com>
14692
5e9b6af4
RM
14693 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14694
84f9ea0f
RM
14695 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14696 containing directory rather than embedding absolute directory names.
14697
ea5ee9f7
RM
14698 * scripts/check-local-headers.sh: Rewritten using awk.
14699 Match by word, not by line. Print error messages for matches.
14700 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14701
1b74661a
RM
14702 * Makerules [shlib-lds-flags empty]:
14703 ($(common-objpfx)libc_pic.opts): New target.
14704 ($(common-objpfx)libc_pic.os.clean): New target.
14705 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14706
14707 * config.make.in (OBJCOPY): New variable.
14708 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14709 * configure: Regenerated.
14710
f781ef40
RM
14711 * config.make.in (use-default-link): New variable.
14712 * configure.in (use_default_link): Grok --with-default-link to set it.
14713 * configure: Regenerated.
14714 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14715 (shlib-lds, shlib-lds-flags): Define to empty.
14716
2d4fa81e
RM
14717 * Makerules (shlib-lds): New variable.
14718 (shlib-lds-flags): New variable.
14719 (build-shlib, build-moduile, build-module-asneeded): Use it.
14720 ($(common-objpfx)libc.so): Use $(shlib-lds).
14721 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14722 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14723
31fffa6b
RM
14724 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14725 DT_FLAGS/DT_FLAGS_1 with zero flags.
14726
4e34ac6a
RM
14727 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14728 linker script munging.
14729
fcfc776b
UD
147302011-07-02 Ulrich Drepper <drepper@gmail.com>
14731
14732 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14733 as 128-bit value.
14734 * crypt/sha512.c (sha512_process_block): Perform total addition using
14735 128-bit if possible.
14736 (__sha512_finish_ctx): Likewise.
14737 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14738 as 64-bit value.
14739 * crypt/sha256.c (SWAP64): Define.
14740 (sha256_process_block): Perform total addition using 64-bit if
14741 possible.
14742 (__sha256_finish_ctx): Likewise.
14743
99231d9a
UD
147442011-07-01 Ulrich Drepper <drepper@gmail.com>
14745
14746 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14747 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14748 * nscd/hstcache.c (cache_addhst): Likewise.
14749 * nscd/grpcache.c (cache_addgr): Likewise.
14750 * nscd/aicache.c (addhstaiX): Likewise
14751 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14752
445b4a53
TK
147532011-07-01 Thorsten Kukuk <kukuk@suse.de>
14754
14755 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14756 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14757 * nscd/hstcache.c (cache_addhst): Likewise.
14758 * nscd/grpcache.c (cache_addgr): Likewise.
14759 * nscd/aicache.c (addhstaiX): Likewise
14760
6d4d8e8e
AS
147612011-07-01 Andreas Schwab <schwab@redhat.com>
14762
14763 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14764 domain only when needed.
14765
89f654c5
AS
147662011-06-30 Andreas Schwab <schwab@redhat.com>
14767
14768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14769 is always restored.
14770
cf3b23ff
UD
147712011-06-29 Ulrich Drepper <drepper@gmail.com>
14772
14773 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14774 are re-adding the entry.
14775 * nscd/servicescache.c (cache_addserv): Likewise.
14776
751626f9
AJ
147772011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14778
14779 * sysdeps/generic/dl-irel.h: fix protection against multiple
14780 inclusions.
14781 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14782
9113ea1f
UD
147832011-06-28 Ulrich Drepper <drepper@gmail.com>
14784
5c0b8d90
UD
14785 [BZ #12935]
14786 * malloc/memusage.sh: Fix quoting in message.
14787 * debug/xtrace.sh: Likewise.
14788
9113ea1f
UD
14789 * configure.in: Remove support for --experimental-malloc option, make
14790 it the default.
14791 * config.make.in: Likewise.
14792 * malloc/Makefile: Likewise.
14793
a4172181
AS
147942011-06-27 Andreas Schwab <schwab@redhat.com>
14795
14796 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14797 two-byte characters.
14798
78a7eee7
RM
147992011-06-27 Roland McGrath <roland@hack.frob.com>
14800
62bede13
RM
14801 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14802 AC_CACHE_CHECK invocation.
14803 * configure: Regenerated.
14804
78a7eee7
RM
14805 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14806
5ce33a62
UD
148072011-06-27 Ulrich Drepper <drepper@gmail.com>
14808
034807a9
UD
14809 [BZ #12350]
14810 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14811 bit from old_res_options.
14812
4902da17
UD
14813 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14814
5ce33a62
UD
14815 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14816 value type for setfct.
14817
c2344f56
L
148182011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14819
14820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14821 __gettimeofday instead of gettimeofday.
14822
68468076
UD
148232011-06-26 Ulrich Drepper <drepper@gmail.com>
14824
14825 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14826
acb0d739
L
148272011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14828
14829 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14830
14831 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14832 info.
14833
8912479f
L
148342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14835
14836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14837 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14838 strcpy-sse2-unaligned strncpy-sse2-unaligned
14839 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14840 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14841 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14842 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14843 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14844 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14845 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14846 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14847 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14848 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14849 (STRCPY): Support SSE2 and SSSE3 versions.
14850
d5495a11
UD
148512011-06-24 Ulrich Drepper <drepper@gmail.com>
14852
14853 [BZ #12874]
14854 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14855 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14856 kernels which artificially limit size of requests.
14857
0b1cbaae
L
148582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14859
14860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14861 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14862 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14863 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14864 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14865 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14866 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14867 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14869 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14870 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14871 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14872 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14873 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14874 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14876 Enable unaligned load optimization for Intel Core i3, i5 and i7
14877 processors.
14878 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14879 Define.
14880 (index_Fast_Unaligned_Load): Define.
14881 (HAS_FAST_UNALIGNED_LOAD): Define.
14882
07f494a0
MP
148832011-06-23 Marek Polacek <mpolacek@redhat.com>
14884
14885 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14886
fa3fc0fe
UD
148872011-06-22 Ulrich Drepper <drepper@gmail.com>
14888
14889 [BZ #12907]
14890 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14891 until it is clear that the information is realy needed.
14892 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14893
e12df166
AS
148942011-06-22 Andreas Schwab <schwab@redhat.com>
14895
14896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14897
852eb34d
UD
148982011-06-22 Ulrich Drepper <drepper@gmail.com>
14899
84e2a551
UD
14900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14901 /sys/devices/system/cpu/online if it is usable.
14902
852eb34d
UD
14903 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14904 reading the information from the /proc filesystem to once a second.
14905
6e502e19
UD
149062011-06-21 Andreas Jaeger <aj@suse.de>
14907
14908 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14909 NULL after inclusion of kernel headers.
14910
75d39ff2
UD
149112011-06-21 Ulrich Drepper <drepper@gmail.com>
14912
51f9aa6a
UD
14913 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14914 calls to internal_setent.
14915
c0244a9d
UD
14916 [BZ #12885]
14917 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14918 addresses using gethostbyname4_r ignore IPv4 addresses.
14919
c5e3c2ae
UD
14920 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14921 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14922
75d39ff2
UD
14923 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14924
42675c6f
DM
149252011-06-20 David S. Miller <davem@davemloft.net>
14926
14927 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14928 inclusions.
14929 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14930
14931 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14932 (elf_irel): Use it.
14933 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14934 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14935 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14936 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14937 * sysdeps/x86_64/dl-irel.h: Likewise.
14938
14939 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14940 * elf/dl-sym.c: Likewise.
14941
57912a71
UD
149422011-06-15 Ulrich Drepper <drepper@gmail.com>
14943
14944 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14945 need to dereference resplen2.
14946
ee22793d
AS
149472011-06-14 Andreas Schwab <schwab@redhat.com>
14948
14949 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14950
a9e836b0
UD
149512011-06-15 Ulrich Drepper <drepper@gmail.com>
14952
77fb9117
UD
14953 * Makeconfig: Define vardbdir and inst_vardbdir.
14954 * nss/Makefile: Add rules to install db-Makefile.
14955
40c1b22c
UD
14956 * nss/nss_db/db-XXX.c: Cleanup.
14957
9f2da732
UD
14958 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14959 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14960 GLIBC_PRIVATE.
14961 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14962 * nss/makedb.c: Implement -g option to specify that value strings
14963 are generated and should not be added to table iterated over for
14964 get*ent calls.
14965 * nss/nss_db/db-initgroups.c: New file.
14966
82e9a1f7
UD
14967 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14968 interface.
14969
c41af17e
UD
14970 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14971 (internal_getgrouplist): Adjust to name change.
14972 Update use_initgroups_entry if this is not the first call.
14973 * nss/databases.def: Add initgroups entry.
14974
a9e836b0
UD
14975 * nss/makedb.c (compute_tables): Check result of multiple hash table
14976 sizes to minimize maximum chain length.
14977
2666d441
UD
149782011-06-14 Ulrich Drepper <drepper@gmail.com>
14979
14980 * Versions.def: Add entry for libnss_db.
14981 * shlib-versions: Likewise.
14982 * nss/Makefile: Add rules to build libnss_db.
14983 * nss/Versions: Add libnss_db information. Organize libnss_files
14984 entries better.
14985 * nss/db-Makefile: Add gshadow support. Change rules for the new
14986 makedb progra. Some minor improvements to generate smaller files.
14987 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14988 here from...
14989 * nss/makedb.c: ...here.
14990 Improve database format to be smaller and require less memory at
14991 runtime.
14992 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14993 db anymore.
14994 * nss/nss_db/db-netgrp.c: Likewise.
14995 * nss/nss_db/db-open.c: Likewise.
14996 * nss/nss_files/flies-XXX.x: Adjust comments.
14997 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14998 * nss/nss_files/files-grp.c: Likewise.
14999 * nss/nss_files/files-hosts.c: Likewise.
15000 * nss/nss_files/files-network.c: Likewise.
15001 * nss/nss_files/files-proto.c: Likewise.
15002 * nss/nss_files/files-pwd.c: Likewise.
15003 * nss/nss_files/files-rpc.c: Likewise.
15004 * nss/nss_files/files-service.c: Likewise.
15005 * nss/nss_files/files-sgrp.c: Likewise.
15006 * nss/nss_files/files-spwd.c: Likewise.
15007 * nss/nss_db/db-alias.c: Removed.
15008 * nss/nss_db/dummy-db.h: Removed.
15009
9ee76b5a
UD
150102011-06-02 Ulrich Drepper <drepper@gmail.com>
15011
15012 * nss/makedb.c: Rewritten to not use database library.
15013 * nss/Makefile: Update to build new makedb program.
15014
c71ca1f8
AJ
150152011-06-14 Andreas Jaeger <aj@suse.de>
15016
15017 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15018 memset declaration.
15019
3154bfb8
UD
150202011-06-10 Andreas Schwab <schwab@redhat.com>
15021
15022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15023 tmpbuf.
15024
b350afab
RM
150252011-06-10 Roland McGrath <roland@hack.frob.com>
15026
decd4e50
RM
15027 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15028 * elf/Makefile ($(objpfx)ld.so): Likewise.
15029
5615eaf2
RM
15030 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15031 Don't list ld.so twice in dependencies.
15032
15033 * posix/bug-regex31.c: Include <stdlib.h>.
15034
15035 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15036
15037 * nis/nss_compat/compat-spwd.c
15038 (getspent_next_nss_netgr): Remove unused variable.
15039 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15040
15041 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15042 nonmembers" output to use the right array.
15043
15044 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15045
15046 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15047
15048 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15049 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15050 * catgets/gencat.c (read_input_file): Likewise.
15051 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15052
15053 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15054 variable definition inside #if's controlling its use.
15055
15056 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15057
15058 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15059
15060 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15061
15062 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15063 unreachable code.
15064
15065 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15066
b68e08db
RM
15067 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15068 * configure: Regenerated.
15069
b350afab
RM
15070 * Makerules: Revert last change.
15071 * elf/Makefile: Likewise.
15072
28368601
RM
150732011-06-09 Roland McGrath <roland@hack.frob.com>
15074
15075 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15076 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15077 (reloc-link): Likewise.
15078
11988f8f
UD
150792011-06-09 Ulrich Drepper <drepper@gmail.com>
15080
15081 * elf/Makefile: Add rules to build pldd.
15082 * elf/pldd.c: New file.
15083 * elf/pldd-xx.c: New file.
15084
e80fab37
UD
150852011-06-07 Ulrich Drepper <drepper@gmail.com>
15086
15087 * version.h: Update for 2.15 development version.
15088
9b849836
DM
150892011-06-07 David S. Miller <davem@davemloft.net>
15090
15091 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15092 ifuncs.
15093 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15094 elf_machine_lazy_rel): Likewise.
15095 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15096 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15097 elf_machine_lazy_rel): Likewise.
15098 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15099 dl_hwcap via passed in argument.
15100 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15101 Likewise.
15102
5a31b283
AK
151032011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15104
15105 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15106
069e52f8
RM
151072011-06-06 Roland McGrath <roland@hack.frob.com>
15108
15109 [BZ #12849]
15110 * manual/fdl-1.1.texi: New file, verbatim from:
15111 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15112 * manual/lgpl-2.1.texi: New file, verbatim from:
15113 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15114 * manual/Makefile (licenses): New variable, list those new file names.
15115 (texis): Use it.
15116 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15117
15118 * manual/fdl.texi: File removed.
15119 * manual/lesser.texi: File removed.
15120 * manual/libc.texinfo (Copying, Documentation License):
15121 Use new @include file names, put @appendix directive before @include.
15122
f16846a5
JJ
151232011-06-04 Jakub Jelinek <jakub@redhat.com>
15124
15125 [BZ #12841]
15126 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15127 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15128 (mq_open): Add __NTH.
15129
3d29045b
L
151302011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15131
15132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15133 Assume Intel Core i3/i5/i7 processor if AVX is available.
15134
8c297311
UD
151352011-05-31 Ulrich Drepper <drepper@gmail.com>
15136
15137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15138 typo.
15139
c8fc0c91
UD
151402011-05-31 Andreas Schwab <schwab@redhat.com>
15141
15142 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15143 memory. Use alloca_account. Fix memory leak when retrying.
15144
5b27a807
UD
151452011-05-31 Ulrich Drepper <drepper@gmail.com>
15146
356f8bc6
UD
15147 * version.h (RELEASE): Bump for 2.14 release.
15148 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15149
5b27a807
UD
15150 * config.make.in (RANLIB): Remove entry.
15151
01f16ab0
UD
151522011-05-30 Ulrich Drepper <drepper@gmail.com>
15153
41fce8bd
UD
15154 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15155 (libc.pot): Work around missing support for .ksh extension in xgettext.
15156
4769ae77
UD
15157 [BZ #12684]
15158 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15159 if both request failed.
15160 (send_dg): In case of server errors clear resplen or *resplen2.
15161
6b1e7d19
UD
15162 [BZ #12454]
15163 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15164 when there are multiple maps.
15165 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15166 (_dl_fini): Remove test here.
15167
01f16ab0
UD
15168 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15169
b1ebd700
UD
151702011-05-29 Ulrich Drepper <drepper@gmail.com>
15171
7ae22829
UD
15172 [BZ #12350]
15173 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15174 bit from old_res_options.
15175 (gaih_inet): Likewise.
15176
553149f6 15177 [BZ #11099]
18a84741 15178 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15179 as signed.
15180
652ffab1
UD
15181 * resolv/res_init.c (res_setoptions): Make the code more compact.
15182
16985fd0
UD
15183 [BZ #11558]
15184 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15185 set RES_USEVC.
15186
0464f746
UD
15187 [BZ #11634]
15188 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15189
7d17596c
UD
15190 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15191
cf6bbbd7
UD
15192 [BZ #11781]
15193 * malloc/malloc.h: Declare malloc hook variables as volatile.
15194
13f1ab36
UD
15195 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15196 in last patch.
15197
b1ebd700
UD
15198 [BZ #11799]
15199 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15200 raise in the comment.
80e2212d
UD
15201 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15203 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15204
ce67228d
UD
152052011-05-28 Ulrich Drepper <drepper@gmail.com>
15206
8887a920
UD
15207 [BZ #12811]
15208 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15209 grow the buffers more if it already has to be sufficient.
15210 (build_wcs_upper_buffer): Likewise.
15211 * posix/regexec.c (check_matching): Likewise.
15212 (clean_state_log_if_needed): Likewise.
15213 (extend_buffers): Don't enlarge buffers beyond size of the input
15214 buffer.
15215 Patches mostly by Emil Wojak <emil@wojak.eu>.
15216 * posix/bug-regex32.c: New file.
15217 * posix/Makefile (tests): Add bug-regex32.
15218
4f031072
UD
15219 * locale/findlocale.c (_nl_find_locale): Return right away if
15220 _nl_explode_name failed.
15221 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15222
d0478f0c
UD
15223 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15224
de81b246
UD
15225 * debug/xtrace.sh: Unify messages.
15226 * malloc/memusage.sh: Likewise.
15227
c738465a
UD
15228 [BZ #12813]
15229 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15230 time symbol from vDSO. Substitute with vsyscall if not available.
15231 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15232 __vdso_time.
15233
f1f929d7
UD
15234 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15235 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15236 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15237 Add sendmmsg and internal_sendmmsg.
15238 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15239 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15240 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15241
ce67228d
UD
15242 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15243 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15244 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15245
e57420c6
UD
152462011-05-27 Ulrich Drepper <drepper@gmail.com>
15247
a8509ca5
UD
15248 [BZ #12813]
15249 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15250 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15251 available.
15252 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15253 __vdso_getcpu.
15254
e57420c6
UD
15255 [BZ #12814]
15256 * iconvdata/Makefile (tests): Add bug-iconv9.
15257 * iconvdata/bug-iconv9.c: New file.
15258
4d07db15
AS
152592011-05-27 Andreas Schwab <schwab@redhat.com>
15260
15261 [BZ #12814]
15262 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15263
ea486f69
JJ
152642011-05-25 Jakub Jelinek <jakub@redhat.com>
15265
15266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15267 (struct user_regs_struct): Change intcs field back to cs.
15268
6f038433
UD
152692011-05-25 Ulrich Drepper <drepper@gmail.com>
15270
15271 * po/ja.po: Update from translation team.
15272
67f86a25
UD
152732011-05-23 Ulrich Drepper <drepper@gmail.com>
15274
15275 [BZ #12795]
15276 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15277 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15278
def7fbd6
AS
152792011-05-20 Andreas Schwab <schwab@redhat.com>
15280
15281 * stdlib/longlong.h: Update from GCC.
15282
f50ef8f1
AS
152832011-05-23 Andreas Schwab <schwab@redhat.com>
15284
15285 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15286 parameter name.
15287 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15288 Add parameter name.
15289 (__sysconf): Pass it down.
15290
de7ce8f1
UD
152912011-05-22 Ulrich Drepper <drepper@gmail.com>
15292
f2962a71
UD
15293 [BZ #12671]
15294 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15295 some situations.
15296 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15297 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15298 add in in __libc_use_alloca calls. Adjust callers.
15299 (glob): Use malloc in some situations.
15300
de7ce8f1
UD
15301 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15302 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15303 pltexit.
15304
aec84f53
UD
153052011-05-21 Ulrich Drepper <drepper@gmail.com>
15306
05bb4a68
UD
15307 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15308 and CLOCK_BOOTTIME_ALARM.
15309
7ea72f99
UD
15310 [BZ #12782]
15311 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15312 is returned.
15313
7e4afad5
UD
15314 * string/_strerror.c (__strerror_r): Print negative errors as signed
15315 numbers.
15316
8e211fec
UD
15317 [BZ #12777]
15318 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15319 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15320 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15321
f7d82dc9
UD
15322 * configure.in: Fix typo in redirection and correct removal of test
15323 files in two cases.
15324
cc9e536d
UD
15325 [BZ #12788]
15326 * locale/setlocale.c (new_composite_name): Fix test to check for
15327 identical name of all categories.
15328
aec84f53
UD
15329 [BZ #12792]
15330 * libio/filedoalloc.c (local_isatty): New function.
15331 (_IO_file_doallocate): Use local_isatty.
15332 * stdio-common/perror.c (perror): In case a new stream is used
15333 forward the stream error.
15334 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15335 error flag.
15336
78e64fdc
RT
153372011-05-20 Ulrich Drepper <drepper@gmail.com>
15338
34a9094f
UD
15339 [BZ #11869]
15340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15341 alloca.
15342 * include/alloca.h (extend_alloca_account): Define.
15343
78e64fdc
RT
15344 [BZ #11857]
15345 * posix/regex.h: Fix comments with documentation of user-accessible
15346 fields after compilation and describe correct free'ing of pattern
15347 after re_compile_pattern.
15348 Patch by Reuben Thomas <rrt@sc3d.org>.
15349
457bddfc
RA
153502011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15351
15352 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15353 and -mno-altivec to prevent the compiler from using Altivec and/or
15354 VSX instructions when the corresponding registers are not available.
15355
a4527b51
AS
153562011-05-19 Andreas Schwab <schwab@redhat.com>
15357
15358 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15359
ed690b2f
UD
153602011-05-19 Ulrich Drepper <drepper@gmail.com>
15361
15362 * libio/freopen.c (freopen): Use __dup2, not dup2.
15363 * libio/freopen64.c (freopen64): Likewise.
15364
8db73634
L
153652011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15366
15367 [BZ #12775]
15368 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15369 * math/Makefile (tests): Add test-powl.
15370 (CFLAGS-test-powl.c): Define.
15371 * math/test-powl.c: New file.
15372
0a197a9d
L
153732011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15374
15375 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15376
ee30c380
UD
153772011-05-17 Ulrich Drepper <drepper@gmail.com>
15378
15379 [BZ #11837]
15380 * iconvdata/gb18030.c: Update to GB18020-2005.
15381
6ce75379
UD
153822011-05-16 Ulrich Drepper <drepper@gmail.com>
15383
a4b89fd8
AR
15384 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15385 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15386 Patch by Aharon Robbins <arnold@skeeve.com>.
15387
ea389b12
UD
15388 [BZ #11892]
15389 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15390 on the stack.
15391
68a3f91f
UD
15392 [BZ #11895]
15393 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15394 through underflows.
15395
15cc7dd1
UD
15396 [BZ #12766]
15397 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15398 point to strings before performing equality test for error_one_per_line
15399 mode.
15400
f3799213
UD
15401 [BZ #11697]
15402 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15403
d79a9c94
UD
15404 [BZ #11820]
15405 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15406 (struct user_fpregs_struct): Avoid __uint*_t types.
15407
56e5eb46
UD
15408 [BZ #6420]
15409 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15410 symbol info. Use it instead of calling _dl_addr locally.
15411 (lock_and_info): New function.
15412 (tr_freehook): Call lock_and_info and pass symbol info as additional
15413 parameter to tr_where.
15414 (tr_mallochook): Likewise.
15415 (tr_reallochook): Likewise.
15416 (tr_memalignhook): Likewise.
15417
6ce75379
UD
15418 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15419 used and couldn't be at all thread-safe.
15420
f8a3b5bf
UD
154212011-05-15 Ulrich Drepper <drepper@gmail.com>
15422
94b7cc37
UD
15423 * libio/freopen.c (freopen): Don't close old file descriptor
15424 before the new one is opened. Instead dup the new file descriptor
15425 to the old one after the new stream is created.
15426 * libio/freopen64.c (freopen64): Likewise.
15427 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15428 * libio/fileops.c (_IO_new_file_close_it): Handle new
15429 _IO_FLAGS2_NOCLOSE flag.
15430 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15431 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15432 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15433 _IO_FLAGS2_NOCLOSE flag.
15434 * include/unistd.h: Add hidden_proto for dup3.
15435 Define __have_dup3.
15436 * io/dup3.c: Define hidden symbol.
15437 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15438
bd25564e
UD
15439 [BZ #7101]
15440 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15441 when an incomplete long option is used.
15442 * posix/tst-getopt_long1.c: New file.
15443 * posix/Makefile (tests): Add tst-getopt_long1.
15444
c84cfef4
UD
15445 [BZ #10138]
15446 * scripts/config.guess: Update from autoconf-2.68.
15447 * scripts/config.sub: Likewise.
15448
3b85df27
UD
15449 [BZ #10157]
15450 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15451 tests into ...
15452 (has_cpuclock): ...this. New function.
15453 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15454 macro here based on has_cpuclock code.
15455
15a856b1
UD
15456 [BZ #10149]
15457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15458 First byte (not low byte) is now always NUL.
15459 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15460
05f399e6
UD
15461 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15462 Use non-cancelable interfaces.
15463
10a52685 15464 [BZ #9809]
94ecc67d
UD
15465 * locale/iso-639.def: Add entry for Sorani.
15466
f8a3b5bf
UD
15467 [BZ #11901]
15468 * include/stdlib.h: Move include protection to the right place.
15469 Define abort_msg_s. Declare __abort_msg with it.
15470 * stdlib/abort.c (__abort_msg): Adjust type.
15471 * assert/assert.c (__assert_fail_base): New function. Majority
15472 of code from __assert_fail. Allocate memory for __abort_msg with
15473 mmap.
15474 (__assert_fail): Now call __assert_fail_base.
15475 * assert/assert-perr.c: Remove bulk of implementation. Use
15476 __assert_fail_base.
15477 * include/assert.hL Declare __assert_fail_base.
15478 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15479 mmap.
15480 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15481
1af4e298
UD
154822011-05-14 Ulrich Drepper <drepper@gmail.com>
15483
f8a3b5bf 15484 [BZ #11952]
d26dfc60
MG
15485 [BZ #12453]
15486 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15487 until all modules are registered in the DTV.
15488 * elf/Makefile: Add rules to build and run tst-tls19.
15489 * elf/tst-tls19.c: New file.
15490 * elf/tst-tls19mod1.c: New file.
15491 * elf/tst-tls19mod2.c: New file.
15492 * elf/tst-tls19mod3.c: New file.
15493 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15494
2fc54d6f
UD
15495 [BZ #12083]
15496 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15497 correctly.
15498
98d76b46
UD
15499 [BZ #12601]
15500 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15501 two-byte sequence errors.
15502 * iconvdata/Makefile (tests): Add bug-iconv8.
15503 * iconvdata/bug-iconv8.c: New file.
15504
da3c19ef
UD
15505 [BZ #12626]
15506 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15507 buf2 definition.
15508
ca408c15
UD
15509 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15510
d6f67f7d
UD
15511 [BZ #12432]
15512 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15513 (dummy_getcfa): New function.
15514 (init): Get _Unwind_GetCFA address, use dummy if not found.
15515 (backtrace_helper): In recursion check, also check whether CFA changes.
15516 (__backtrace): Completely initialize arg.
15517
1af4e298 15518 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15519 storing incomplete byte sequence in state object. Avoid testing for
15520 guaranteed too small input if we know there is enough data available.
1af4e298 15521
da62f81b
AS
155222011-05-11 Andreas Schwab <schwab@redhat.com>
15523
15524 * Makeconfig (+link-pie): Indent.
15525 * Rules (binaries-pie): Define if $(have-fpie) and
15526 $(build-shared).
15527 (binaries-shared): Also filter out $(binaries-pie).
15528 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15529 * nscd/Makefile (others-pie): Add nscd.
15530 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15531 ($(objpfx)nscd): Remove command override.
15532 * login/Makefile (others-pie): Add pt_chown.
15533 ($(objpfx)pt_chown): Remove command override.
15534 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15535 remove command overrides.
15536
fcabc0f8
UD
155372011-05-13 Ulrich Drepper <drepper@gmail.com>
15538
20030ae6
UD
15539 * libio/tst_putwc.c: Fix error messages.
15540
fcabc0f8
UD
15541 [BZ #12724]
15542 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15543 currently writing and seek to current position when not.
15544 * libio/Makefile (tests): Add bug-fclose1.
15545 * libio/bug-fclose1.c: New file.
15546
320a5dc0
PB
155472011-05-12 Ulrich Drepper <drepper@gmail.com>
15548
15549 [BZ #12511]
15550 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15551 don't set DF_1_NODELETE here.
15552 (do_lookup_x): When entering new entry test for copy relocation
15553 and if necessary set DF_1_NODELETE flag.
15554 * elf/tst-unique4.cc: New file.
15555 * elf/tst-unique4.h: New file.
15556 * elf/tst-unique4lib.cc: New file.
15557 * elf/Makefile: Add rules to build and run tst-unique4.
15558 Patch by Piotr Bury <pbury@goahead.com>.
15559
22836f52
UD
155602011-05-11 Ulrich Drepper <drepper@gmail.com>
15561
f574184a
UD
15562 [BZ #12052]
15563 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15564
e1fb097f
UD
15565 [BZ #12625]
15566 * misc/mntent_r.c (addmntent): Flush the stream after the output
15567
22836f52
UD
15568 [BZ #12393]
15569 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15570 (is_trusted_path_normalize): Skip initial colon. Append slash
15571 to empty buffer. Duplicate is_trusted_path code but allow
15572 constructed patch to be prefix.
15573 (is_dst): Allow $ORIGIN followed by /.
15574 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15575 Correct testing of result of is_trusted_path_normalize
15576 (decompose_rpath): Fix warning.
15577
7b3b0b2a
UD
155782011-05-10 Ulrich Drepper <drepper@gmail.com>
15579
15580 [BZ #11257]
15581 * grp/initgroups.c (internal_getgrouplist): When we found the service
15582 list through the initgroups entry in nsswitch.conf do not always
15583 continue on a successful lookup. Don't always use the
eac80ce2 15584 __nss_group_database value if it is set.
7b3b0b2a
UD
15585 * nss/nsswitch.conf (initgroups): Change action for successful db
15586 lookup to continue for compatibility.
15587
2a81eaa5
UD
155882011-05-09 Ulrich Drepper <drepper@gmail.com>
15589
be97a69e
UD
15590 [BZ #11532]
15591 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15592 and CP774 modules.
15593 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15594 and CP774 modules.
15595 * iconvdata/tst-tables.sh: Likewise.
15596 * iconvdata/cp770.c: New file.
15597 * iconvdata/cp771.c: New file.
15598 * iconvdata/cp772.c: New file.
15599 * iconvdata/cp773.c: New file.
15600 * iconvdata/cp774.c: New file.
15601 * iconvdata/testdata/CP770: New file.
15602 * iconvdata/testdata/CP770..UTF8: New file.
15603 * iconvdata/testdata/CP771: New file.
15604 * iconvdata/testdata/CP771..UTF8: New file.
15605 * iconvdata/testdata/CP772: New file.
15606 * iconvdata/testdata/CP772..UTF8: New file.
15607 * iconvdata/testdata/CP773: New file.
15608 * iconvdata/testdata/CP773..UTF8: New file.
15609 * iconvdata/testdata/CP774: New file.
15610 * iconvdata/testdata/CP774..UTF8: New file.
15611
15612 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15613 END CHARMAP line.
15614 * iconvdata/gen-8bit-gap.sh: Likewise.
15615 * iconvdata/gen-8bit.sh: Likewise.
15616
c1e9e399
UD
15617 * locale/iso-639.def: Add ary entry.
15618
24c55fb3 15619 [BZ #11258]
96b4b1b0
UD
15620 * locale/C-translit.h.in: Add U20A1 transliteration.
15621
bdc2f971
KB
15622 [BZ #12178]
15623 * locale/iso-639.def: Add wae entry.
15624 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15625
2952b117
UD
15626 [BZ #12545]
15627 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15628 for n.
15629
2a81eaa5
UD
15630 [BZ #12711]
15631 * locale/C-translit.h.in: Add entry for U20B9.
15632 Patch by pravin.d.s@gmail.com.
15633
28377d1b
UD
156342011-05-08 Ulrich Drepper <drepper@gmail.com>
15635
7fb90fb8
UD
15636 [BZ #12713]
15637 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15638 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15639 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15640 in rtld. Use *stat64.
7fb90fb8 15641 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15642 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15643 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15644 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15645 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15646 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15647 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15648 __fstatat64 macros.
7fb90fb8
UD
15649 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15650 * dirent/rewinddir.c: Add libc_hidden_def.
15651 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15652 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15653
28377d1b
UD
15654 * include/dirent.h (__alloc_dir): Add flags parameter.
15655 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15656 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15657 __alloc_dir.
15658 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15659 from fdopendir if O_CLOEXEC is already set.
15660
66bdbaa4
AM
156612011-03-15 Alan Modra <amodra@gmail.com>
15662
15663 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15664 l_tls_firstbyte_offset non-zero. Save padding offset in
15665 l_tls_firstbyte_offset for later use.
15666 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15667 freeing static tls block.
15668
95721191
JN
156692011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15670
15671 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15672 where #ifdef was intended. The intent is to prevent ARG_MAX from
15673 being defined by the kernel headers.
15674
f87dfb1f
UD
156752011-05-07 Ulrich Drepper <drepper@gmail.com>
15676
15677 [BZ #12734]
15678 * resolv/resolv.h: Define RES_NOTLDQUERY.
15679 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15680 no-tld-query and set RES_NOTLDQUERY.
15681 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15682 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15683 modern BIND to search name as TLD unless forbidden.
15684
47c3cd7a
UD
156852011-05-07 Petr Baudis <pasky@suse.cz>
15686 Ulrich Drepper <drepper@gmail.com>
15687
15688 [BZ #12393]
15689 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15690 (is_trusted_path): ...to here.
c1e9ea35 15691 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15692 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15693 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15694
8a35c912
PP
156952011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15696
15697 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15698 __BEGIN/__END_DECLS.
15699
acd41f47
UD
157002011-05-06 Ulrich Drepper <drepper@gmail.com>
15701
15702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15703 NSS_STATUS_NOTFOUND if no record was found.
15704
597df647
AS
157052011-05-05 Andreas Schwab <schwab@redhat.com>
15706
15707 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15708 (headers-not-in-tirpc): Remove rpc/netdb.h
15709 * resolv/netdb.h: Revert last change.
15710
b9af1301
PP
157112011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15712
15713 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15714 circular dependency between libgcc.a and libc.a.
15715
4e34d5f5
AS
157162011-05-05 Andreas Schwab <schwab@redhat.com>
15717
15718 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15719 * nis/Makefile: Don't install rpcsvc/*.
15720 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15721 instead of <rpc/types.h>.
15722 (MAXHOSTNAMELEN): Define.
15723
00ee369c
AS
157242011-05-03 Andreas Schwab <schwab@redhat.com>
15725
15726 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15727
0b592a30
MB
157282011-04-28 Maciej Babinski <mbabinski@google.com>
15729
15730 [BZ #12714]
15731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15732 gethostbyname4_r when IPv6 results are possible.
15733
6e04cbbe
UD
157342011-05-02 Ulrich Drepper <drepper@gmail.com>
15735
15736 [BZ #12723]
15737 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15738 _PC_PIPE_BUF handling.
15739
e4ecafe0
BH
157402011-04-30 Bruno Haible <bruno@clisp.org>
15741
15742 [BZ #12717]
15743 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15744 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15745 to 'int'.
15746 * inet/getnameinfo.c (getnameinfo): Likewise.
15747
125ee683
UD
157482011-04-29 Ulrich Drepper <drepper@gmail.com>
15749
15750 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15751 to groups setting in database lookup.
15752 * nss/nsswitch.conf: Add initgroups entry.
15753
b722481a
EB
157542011-04-22 Ulrich Drepper <drepper@gmail.com>
15755
15756 [BZ #12685]
15757 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15758 mode string.
15759 Patch by Eric Blake <eblake@redhat.com>.
15760
4df46dbd
L
157612011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15762
15763 * sunrpc/Makefile (need-export-routines): Add svc_run.
15764 (routines): Remove svc_run.
15765 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15766 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15767 * sunrpc/svc_run.c (svc_run): Likewise.
15768 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15769
e84142d2
UD
157702011-04-21 Ulrich Drepper <drepper@gmail.com>
15771
15772 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15773 problem in reallocation in last patch.
15774
877175d8
UD
157752011-04-20 Ulrich Drepper <drepper@gmail.com>
15776
15777 * sunrpc/Makefile: Move inclusion of Rules.
15778
ab8eed78
UD
157792011-04-19 Ulrich Drepper <drepper@gmail.com>
15780
15781 * nss/nss_files/files-initgroups.c: New file.
15782 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15783 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15784 _nss_files_initgroups_dyn.
15785
e3d8f584
RS
157862011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15787
15788 * elf/elf.h (R_ARM_IRELATIVE): Define.
15789
af190f45
UD
157902011-04-19 Ulrich Drepper <drepper@gmail.com>
15791
15792 * po/ru.po: Update from translation team.
15793
53cf59ef
UD
157942011-04-17 Ulrich Drepper <drepper@gmail.com>
15795
15796 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15797 dependencies.
15798
4c559bcd
MF
157992011-02-06 Mike Frysinger <vapier@gentoo.org>
15800
15801 [BZ #12653]
15802 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15803 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15805 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15807
4420675c
AS
158082011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15809
15810 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15811 differing bytes.
15812 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15813 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15814 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15815
75ea32ab
UD
158162011-04-17 Ulrich Drepper <drepper@gmail.com>
15817
15818 [BZ #12420]
15819 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15820 storing it.
15821 * stdlib/bug-getcontext.c: New file.
15822 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15823
27390476
AK
158242011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15825
15826 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15827 instructions into .machine "z9-109".
15828 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15829 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15830
10442705
AK
158312011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15832
15833 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15834 between environment variables and auxiliary vector.
15835
7b57bfe5
UD
158362011-04-16 Ulrich Drepper <drepper@gmail.com>
15837
15838 * Makefile: Add rules to build linkobj/libc.so.
15839 * include/libc-symbols.h: Define libc_hidden_nolink.
15840 * include/rpc/auth.h: Mark functions which are to be hidden.
15841 * include/rpc/auth_des.h: Likewise.
15842 * include/rpc/auth_unix.h: Likewise.
15843 * include/rpc/clnt.h: Likewise.
15844 * include/rpc/des_crypt.h: Likewise.
15845 * include/rpc/key_prot.h: Likewise.
15846 * include/rpc/pmap_clnt.h: Likewise.
15847 * include/rpc/pmap_prot.h: Likewise.
15848 * include/rpc/pmap_rmt.h: Likewise.
15849 * include/rpc/rpc_msg.h: Likewise.
15850 * include/rpc/svc.h: Likewise.
15851 * include/rpc/svc_auth.h: Likewise.
15852 * include/rpc/xdr.h: Likewise.
15853 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15854 * nss/Makefile: Likewise.
15855 * sunrpc/Makefile: Don't install headers. Build library with normal
15856 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15857 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15858 for the compat linking library. Remove use of INTDEF/INTUSE.
15859 * sunrpc/auth_none.c: Likewise.
15860 * sunrpc/auth_unix.c: Likewise.
15861 * sunrpc/authdes_prot.c: Likewise.
15862 * sunrpc/authuxprot.c: Likewise.
15863 * sunrpc/clnt_gen.c: Likewise.
15864 * sunrpc/clnt_perr.c: Likewise.
15865 * sunrpc/clnt_raw.c: Likewise.
15866 * sunrpc/clnt_simp.c: Likewise.
15867 * sunrpc/clnt_tcp.c: Likewise.
15868 * sunrpc/clnt_udp.c: Likewise.
15869 * sunrpc/clnt_unix.c: Likewise.
15870 * sunrpc/des_crypt.c: Likewise.
15871 * sunrpc/des_soft.c: Likewise.
15872 * sunrpc/get_myaddr.c: Likewise.
15873 * sunrpc/key_call.c: Likewise.
15874 * sunrpc/key_prot.c: Likewise.
15875 * sunrpc/netname.c: Likewise.
15876 * sunrpc/pm_getmaps.c: Likewise.
15877 * sunrpc/pm_getport.c: Likewise.
15878 * sunrpc/pmap_clnt.c: Likewise.
15879 * sunrpc/pmap_prot.c: Likewise.
15880 * sunrpc/pmap_prot2.c: Likewise.
15881 * sunrpc/pmap_rmt.c: Likewise.
15882 * sunrpc/publickey.c: Likewise.
15883 * sunrpc/rpc_cmsg.c: Likewise.
15884 * sunrpc/rpc_common.c: Likewise.
15885 * sunrpc/rpc_dtable.c: Likewise.
15886 * sunrpc/rpc_prot.c: Likewise.
15887 * sunrpc/rpc_thread.c: Likewise.
15888 * sunrpc/rtime.c: Likewise.
15889 * sunrpc/svc.c: Likewise.
15890 * sunrpc/svc_auth.c: Likewise.
15891 * sunrpc/svc_authux.c: Likewise.
15892 * sunrpc/svc_raw.c: Likewise.
15893 * sunrpc/svc_run.c: Likewise.
15894 * sunrpc/svc_simple.c: Likewise.
15895 * sunrpc/svc_tcp.c: Likewise.
15896 * sunrpc/svc_udp.c: Likewise.
15897 * sunrpc/svc_unix.c: Likewise.
15898 * sunrpc/svcauth_des.c: Likewise.
15899 * sunrpc/xcrypt.c: Likewise.
15900 * sunrpc/xdr.c: Likewise.
15901 * sunrpc/xdr_array.c: Likewise.
15902 * sunrpc/xdr_float.c: Likewise.
15903 * sunrpc/xdr_intXX_t.c: Likewise.
15904 * sunrpc/xdr_mem.c: Likewise.
15905 * sunrpc/xdr_rec.c: Likewise.
15906 * sunrpc/xdr_ref.c: Likewise.
15907 * sunrpc/xdr_sizeof.c: Likewise.
15908 * sunrpc/xdr_stdio.c: Likewise.
15909
e6c61494
UD
159102011-04-10 Ulrich Drepper <drepper@gmail.com>
15911
15912 [BZ #12650]
15913 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15914 * sysdeps/ia64/dl-tls.h: Likewise.
15915 * sysdeps/powerpc/dl-tls.h: Likewise.
15916 * sysdeps/s390/dl-tls.h: Likewise.
15917 * sysdeps/sh/dl-tls.h: Likewise.
15918 * sysdeps/sparc/dl-tls.h: Likewise.
15919 * sysdeps/x86_64/dl-tls.h: Likewise.
15920 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15921
34fe483e
AS
159222011-03-14 Andreas Schwab <schwab@redhat.com>
15923
15924 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15925 rpath element also skip the following colon.
15926 (expand_dynamic_string_token): Add is_path parameter and pass
15927 down to DL_DST_REQUIRED and _dl_dst_substitute.
15928 (decompose_rpath): Call expand_dynamic_string_token with
15929 non-zero is_path. Ignore empty rpaths.
15930 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15931 with zero is_path.
15932
f12a32e6
AS
159332011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15934
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15936 Make cancelable.
15937
38a7d692
UD
159382011-04-09 Ulrich Drepper <drepper@gmail.com>
15939
15940 [BZ #12655]
15941 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15942 Patch by Filipe David Manana <fdmanana@apache.org>.
15943
e451d22b
AS
159442011-04-07 Andreas Schwab <schwab@redhat.com>
15945
15946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15947 Maintain aligned stack.
15948 (CHECK_RSP): Remove unused macro.
15949
dedc7c7b
UD
159502011-04-03 Ulrich Drepper <drepper@gmail.com>
15951
15952 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15953 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15954
94521213
UD
159552011-04-02 Ulrich Drepper <drepper@gmail.com>
15956
15957 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15958
8cb700c0 15959 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15960
0354e355
L
159612011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15962
15963 [BZ #12518]
15964 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15965 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15966 * sysdeps/x86_64/memmove.c: New file.
15967 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15968 (memcpy): Renamed to ...
15969 (__new_memcpy): This.
15970 (memcpy): Provide GLIBC_2_14 memcpy.
15971 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15972 (memcpy): Provide GLIBC_2_2_5 memcpy.
15973
8593482f
UD
159742011-04-01 Ulrich Drepper <drepper@gmail.com>
15975
15976 [BZ #12631]
15977 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15978
81a5726b
AS
159792011-03-30 Andreas Schwab <schwab@redhat.com>
15980
15981 * misc/syncfs.c: New file.
15982 * misc/Makefile (routines): Add syncfs.
15983 * posix/unistd.h: Declare syncfs.
15984 * sysdeps/unix/syscalls.list: Add syncfs.
15985
00e5419f
AS
159862011-04-01 Andreas Schwab <schwab@redhat.com>
15987
15988 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15989 open_by_handle_at.
15990 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15991 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15993 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15995 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15996 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15997
748876bf
UD
159982011-04-01 Ulrich Drepper <drepper@gmail.com>
15999
658e451d
UD
16000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16001 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16002 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16005 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16006 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16007
748876bf
UD
16008 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16009 sync_file_range.c with -fexceptions.
16010 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16011 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16012 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16013 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16014 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16015 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16016 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16017 sync_file_range as cancellation point
16018 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16019 now a wrapper around __call_sync_file_range with cancellation handling.
16020 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16021 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16022 function name to __call_sync_file_range.
16023 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16024 Add call_sync_file_range.
748876bf 16025
6e63d5e1
AS
160262011-04-01 Andreas Schwab <schwab@redhat.com>
16027
16028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16029 bits/timex.h.
6e63d5e1 16030
46998f74
UD
160312011-04-01 Ulrich Drepper <drepper@gmail.com>
16032
4c1423ed
UD
16033 * iconv/iconv.h: Fix typo in comment.
16034 * io/fcntl.h: Likewise.
16035 * libio/stdio.h: Likewise.
16036 * posix/spawn.h: Likewise.
16037 * posix/unistd.h: Likewise.
16038 * stdlib/stdlib.h: Likewise.
16039 * time/time.h: Likewise.
16040 * wcsmbs/wchar.h: Likewise.
16041
158648c0
UD
16042 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16043 open_by_handle): Add.
16044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16045 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16046 Augment a few comments.
16047 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16049 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16051 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16052 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16053 open_by_handle.
16054
46998f74
UD
16055 * io/fcntl.h (AT_EMPTY_PATH): Define.
16056
83fe108b
UD
160572011-03-30 Ulrich Drepper <drepper@gmail.com>
16058
16059 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16060 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16061 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16062 to...
16063 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16064 * Versions.def: Add GLIBC_2.14.
16065 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16066 Export.
83fe108b 16067
bb242059
UD
160682011-03-22 Ulrich Drepper <drepper@gmail.com>
16069
16070 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16071 round counter.
16072 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16073
c97a1282
L
160742011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16075
16076 [BZ #12597]
16077 * string/test-strncmp.c (do_page_test): New function.
16078 (check2): Likewise.
16079 (test_main): Call check2.
16080 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16081
2a115601
UD
160822011-03-20 Ulrich Drepper <drepper@gmail.com>
16083
16084 [BZ #12587]
16085 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16086 Handle cache information in CPU leaf 4.
16087 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16088
8126d904
UD
160892011-03-18 Ulrich Drepper <drepper@gmail.com>
16090
042c49c6 16091 [BZ #12583]
8126d904
UD
16092 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16093 character representation.
16094 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16095
ccfe366e
RA
160962011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16097
16098 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16099 END(__isnan) to END(__isnanf) to match function entry point/label
16100 EALIGN(__isnanf,...).
16101
c6e13027
JJ
161022011-03-10 Jakub Jelinek <jakub@redhat.com>
16103
16104 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16105
33f85a3f
UD
161062011-03-10 Ulrich Drepper <drepper@gmail.com>
16107
028478fa
UD
16108 [BZ #12510]
16109 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16110 copy from the symbol referenced in the relocation to initialize the
16111 used variable.
16112 Patch by Piotr Bury <pbury@goahead.com>.
16113 * elf/Makefile: Add rules to build and tst-unique3.
16114 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16115 * elf/tst-unique3.cc: New file.
16116 * elf/tst-unique3.h: New file.
16117 * elf/tst-unique3lib.cc: New file.
16118 * elf/tst-unique3lib2.cc: New file.
16119
33f85a3f
UD
16120 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16121
03592fc7
MF
161222011-03-10 Mike Frysinger <vapier@gentoo.org>
16123
16124 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16125 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16126 to _start.
03592fc7 16127
6a5ee102
UD
161282011-03-06 Ulrich Drepper <drepper@gmail.com>
16129
16130 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16131 to-be-loaded object along a path to loader is ld.so.
16132
7e4ba49c
HJ
161332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16134 Ulrich Drepper <drepper@gmail.com>
16135
16136 * sysdeps/x86_64/memset.S: After aligning destination, code
16137 branches to different locations depending on the value of
16138 misalignment, when multiarch is enabled. Fix this.
16139
161402011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16141
16142 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16143 Set _x86_64_preferred_memory_instruction for AMD processsors.
16144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16145 Set bit_Prefer_SSE_for_memop for AMD processors.
16146
13a804de
UD
161472011-03-04 Ulrich Drepper <drepper@gmail.com>
16148
16149 * libio/fmemopen.c (fmemopen): Optimize a bit.
16150
9d25c392
AS
161512011-03-03 Andreas Schwab <schwab@redhat.com>
16152
16153 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16154
a5543c6a
RM
161552011-03-03 Roland McGrath <roland@redhat.com>
16156
16157 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16158
012d35f7
DM
161592011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16160
7e4ba49c 16161 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16162 __bzero_ultra1 instead of __memset_ultra1.
16163
4bff6e01
AS
161642011-02-23 Andreas Schwab <schwab@redhat.com>
16165 Ulrich Drepper <drepper@gmail.com>
16166
16167 [BZ #12509]
16168 * include/link.h (struct link_map): Add l_orig_initfini.
16169 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16170 returning unsuccessfully.
16171 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16172 close of a file loaded at startup, restore the original l_initfini
16173 list.
16174 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16175 list, store the pointer.
16176 * elf/Makefile ($(objpfx)noload-mem): New rule.
16177 (noload-ENV): Define.
16178 (tests): Add $(objpfx)noload-mem.
16179 * elf/noload.c: Include <memcheck.h>.
16180 (main): Call mtrace. Close all opened handles.
16181
f2092faf
AS
161822011-02-17 Andreas Schwab <schwab@redhat.com>
16183
16184 [BZ #12454]
16185 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16186 dependencies are missing.
16187
6c8a2e88
ST
161882011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16189
f2092faf 16190 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16191 Hurd needs munmap.
16192 * sysdeps/mach/hurd/ifreq.h: New file.
16193
84a42118
PB
161942011-01-27 Petr Baudis <pasky@suse.cz>
16195 Ulrich Drepper <drepper@gmail.com>
16196
071f805e 16197 [BZ 12445]#
84a42118
PB
16198 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16199 to extend_alloca().
16200 * stdio-common/bug23.c: New file.
16201 * stdio-common/Makefile (tests): Add bug23.
16202
e23fe25b
AS
162032010-09-28 Andreas Schwab <schwab@redhat.com>
16204 Ulrich Drepper <drepper@gmail.com>
16205
16206 [BZ #12489]
16207 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16208 before performing relro protection. At old place add assertion
16209 to make sure nothing changed.
16210
d3f02e10
NS
162112011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16212 Glauber de Oliveira Costa <glommer@gmail.com>
16213
16214 * elf/elf.h: Add new ARM TLS relocs.
16215
d55fd7a5
RA
162162011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16217
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16219 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16220 cast from r3.
16221 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16222 'tests' variable.
16223 * sysdeps/wordsize-64/tst-writev.c: New file.
16224
2206397e
RA
162252011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16226
16227 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16228 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16229 insns in _dl_start to prevent a TOC reference before relocs are
16230 resolved.
16231
e9433893
UD
162322011-02-15 Ulrich Drepper <drepper@gmail.com>
16233
16234 [BZ #12469]
16235 * Makeconfig: Remove RANLIB definition.
16236 * Makerules: Don't use RANLIB.
16237 * aclocal.m4: Remove ranlib test.
16238 * configure.in: No need to check for ranlib.
16239 * elf/rtld-Rules: Don't use RANLIB.
16240
f75286c6
ST
162412011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16242
8e31c82d
ST
16243 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16244 protection macro.
16245 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16246 inclusion protection macro.
16247
f75286c6
ST
16248 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16249 SIGRTMIN and SIGRTMAX and print information in that case only when
16250 SIGRTMIN is defined.
16251
c1d0e639
JJ
162522011-02-11 Jakub Jelinek <jakub@redhat.com>
16253
16254 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16255 arginfo fn returning -1.
16256
16257 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16258 and thousands string is zero terminated.
16259
edf9294e
AS
162602011-02-03 Andreas Schwab <schwab@redhat.com>
16261
16262 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16263 sysdeps/unix/sysv/linux/bits/socket.h.
16264
2b7e92df
ST
162652011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16266
edf9294e
AS
16267 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16268 (__CPU_COUNT): Remove old macros.
16269 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16270 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16271 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16272 (__sched_cpualloc, __sched_cpufree): Add declarations.
16273
a4c7ea7b
UD
162742011-02-05 Ulrich Drepper <drepper@gmail.com>
16275
16276 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16277 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16278 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16279 (readdhstai): Return value of addhstaiX call.
16280 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16281 (addgrbyX): Return value returned by cache_addgr.
16282 (readdgrbyname): Return value returned by addgrbyX.
16283 (readdgrbygid): Likewise.
16284 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16285 (addpwbyX): Return value returned by cache_addpw.
16286 (readdpwbyname): Return value returned by addhstbyX.
16287 (readdpwbyuid): Likewise.
16288 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16289 (addservbyX): Return value returned by cache_addserv.
16290 (readdservbyname): Return value returned by addservbyX:
16291 (readdservbyport): Likewise.
16292 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16293 (addhstbyX): Return value returned by cache_addhst.
16294 (readdhstbyname): Return value returned by addhstbyX.
16295 (readdhstbyaddr): Likewise.
16296 (readdhstbynamev6): Likewise.
16297 (readdhstbyaddrv6): Likewise.
16298 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16299 (readdinitgroups): Return value returned by addinitgroupsX.
16300 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16301 (prune_cache): Keep track of timeout value of re-added entries.
16302 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16303 * nscd/nscd.h: Adjust prototypes of readd* functions.
16304
a0bf67cc
RM
163052011-02-04 Roland McGrath <roland@redhat.com>
16306
16307 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16308 (nis_stats): Likewise.
16309 * nis/nis_modify.c (nis_modify): Likewise.
16310 * nis/nis_remove.c (nis_remove): Likewise.
16311 * nis/nis_add.c (nis_add): Likewise.
16312
16313 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16314
16315 * posix/fnmatch_loop.c: Add some consts.
16316
16317 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16318
435b95eb
L
163192011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16320
16321 [BZ #12460]
16322 * config.make.in (config-cflags-novzeroupper): Define.
16323 * configure.in: Substitute libc_cv_cc_novzeroupper.
16324 * elf/Makefile (AVX-CFLAGS): Define.
16325 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16326 (CFLAGS-tst-auditmod4a.c): Likewise.
16327 (CFLAGS-tst-auditmod4b.c): Likewise.
16328 (CFLAGS-tst-auditmod6b.c): Likewise.
16329 (CFLAGS-tst-auditmod6c.c): Likewise.
16330 (CFLAGS-tst-auditmod7b.c): Likewise.
16331 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16332
8517b15e
UD
163332011-02-02 Ulrich Drepper <drepper@gmail.com>
16334
16335 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16336 function to the callback.
16337 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16338
10a656fe
AS
163392011-02-02 Andreas Schwab <schwab@redhat.com>
16340
16341 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16342 of errno.
16343
968dad0a
UD
163442011-01-19 Ulrich Drepper <drepper@gmail.com>
16345
9f94d2ea 16346 [BZ #11724]
968dad0a
UD
16347 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16348 of constructors.
16349 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16350 of destructors.
16351 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16352
16353 [BZ #11724]
16354 * elf/Makefile: Add rules to build and run new test.
16355 * elf/tst-initorder.c: New file.
16356 * elf/tst-initorder.exp: New file.
16357 * elf/tst-initordera1.c: New file.
16358 * elf/tst-initordera2.c: New file.
16359 * elf/tst-initordera3.c: New file.
16360 * elf/tst-initordera4.c: New file.
16361 * elf/tst-initorderb1.c: New file.
16362 * elf/tst-initorderb2.c: New file.
16363 * elf/tst-order-a1.c: New file.
16364 * elf/tst-order-a2.c: New file.
16365 * elf/tst-order-a3.c: New file.
16366 * elf/tst-order-a4.c: New file.
16367 * elf/tst-order-b1.c: New file.
16368 * elf/tst-order-b2.c: New file.
16369 * elf/tst-order-main.c: New file.
16370 New test case by George Gensure <werkt0@gmail.com>.
16371
86e92359
UD
163722010-10-01 Andreas Schwab <schwab@redhat.com>
16373
16374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16375 decoding ACE if AI_CANONIDN.
16376
5d5732b0
UD
163772011-01-18 Ulrich Drepper <drepper@gmail.com>
16378
16379 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16380
a77e8cbc
UD
163812011-01-17 Ulrich Drepper <drepper@gmail.com>
16382
6392473f
UD
16383 * version.h (RELEASE): Bump for 2.13 release.
16384 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16385
620a0529
UD
16386 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16387
18ba70a5
UD
16388 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16389 MADV_NOHUGEPAGE.
32465c3e
UD
16390 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16391 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16392 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16393 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16394 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16396
c0dafcf1
UD
16397 * posix/getconf.c: Update copyright year.
16398 * catgets/gencat.c: Likewise.
16399 * csu/version.c: Likewise.
16400 * debug/catchsegv.sh: Likewise.
16401 * debug/xtrace.sh: Likewise.
16402 * elf/ldconfig.c: Likewise.
16403 * elf/ldd.bash.in: Likewise.
16404 * elf/sprof.c (print_version): Likewise.
16405 * iconv/iconv_prog.c: Likewise.
16406 * iconv/iconvconfig.c: Likewise.
16407 * locale/programs/locale.c: Likewise.
16408 * locale/programs/localedef.c: Likewise.
16409 * malloc/memusage.sh: Likewise.
16410 * malloc/mtrace.pl: Likewise.
16411 * nscd/nscd.c (print_version): Likewise.
16412 * nss/getent.c: Likewise.
16413
a77e8cbc
UD
16414 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16415 PF_CAIF, and PF_ALG.
16416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16417
77e8bddf
AS
164182011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16419
1f20b93a
AS
16420 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16421 (modules-names): Use them.
16422 (ifunc-test-modules, ifunc-pie-tests): Define.
16423 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16424 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16425 (test-extras): Likewise.
16426 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16427 $(compile-command.c).
16428 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16429 (all-built-dso): Define.
16430 (check-textrel.out, check-execstack.out): Depend on it.
16431
77e8bddf
AS
16432 * configure.in: Don't override --enable-multi-arch.
16433
bc425b33
UD
164342011-01-15 Ulrich Drepper <drepper@gmail.com>
16435
16436 [BZ #6812]
16437 * nscd/hstcache.c (tryagain): Define.
16438 (cache_addhst): Return tryagain not notfound for temporary errors.
16439 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16440 failed.
16441
794c3ad3
UD
164422011-01-14 Ulrich Drepper <drepper@gmail.com>
16443
70181fdd
UD
16444 [BZ #10563]
16445 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16446 to make the syscall.
16447 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16448
794c3ad3
UD
16449 [BZ #12378]
16450 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16451 and fall back to matching as normal character if the string ends before
16452 the matching ']' is found. This is what POSIX requires.
16453 * posix/testfnm.c: Adjust test result.
16454 * posix/globtest.sh: Adjust test result. Add new test.
16455 * posix/tst-fnmatch.input: Likewise.
16456 * posix/tst-fnmatch2.c: Add new test.
16457
68dc9497
AS
164582010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16459
16460 * elf/Makefile (check-execstack): Revert last change. Depend on
16461 check-execstack.h.
16462 (check-execstack.h): New target.
16463 (generated): Add check-execstack.h.
16464 * elf/check-execstack.c: Include "check-execstack.h".
16465 (main): Revert last change.
16466 (handle_file): Return zero if GNU_STACK is absent and
16467 DEFAULT_STACK_PERMS doesn't include PF_X.
16468
451f001b
UD
164692011-01-13 Ulrich Drepper <drepper@gmail.com>
16470
cfa28e56
UD
16471 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16472 in child fails because the descriptor is already closed.
8cf8ce17
UD
16473 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16474 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16475 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16476
1086d70d
UD
16477 [BZ #12397]
16478 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16479 syscall.
16480
451f001b
UD
16481 [BZ #10484]
16482 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16483 temporary buffer used to handle multi lookups locally.
a85b5cb4 16484 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16485
08769175
UD
164862011-01-12 Ulrich Drepper <drepper@gmail.com>
16487
16488 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16489 loader is ld.so.
16490
5e49c52e
UD
164912011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16492
16493 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16494 alignment for SSE2.
16495
60522a5f
UD
164962011-01-12 Ulrich Drepper <drepper@gmail.com>
16497
16498 [BZ #12394]
16499 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16500 characters. When rounding increased number of integer digits recompute
16501 number of groups.
16502 * stdio-common/tst-grouping.c: New file.
16503 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16504
f257bbd7
UD
165052011-01-09 Ulrich Drepper <drepper@gmail.com>
16506
16507 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16508 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16509
16510 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16511 void.
16512 * bits/select.h: Likewise.
16513
fa9c15cb
UD
165142011-01-08 Ulrich Drepper <drepper@gmail.com>
16515
16516 * po/ja.po: Update from translation team.
16517
16c2895f
DM
165182011-01-04 David S. Miller <davem@sunset.davemloft.net>
16519
16520 [BZ #11155]
16521 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16522 implementation just like for lxstat, fxstatat, et al.
16523
2543fef2
JM
165242010-12-27 Jim Meyering <meyering@redhat.com>
16525
16526 [BZ #12348]
16527 * posix/regexec.c (build_trtable): Return failure indication upon
16528 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16529
98727dbe
UD
165302010-12-25 Ulrich Drepper <drepper@gmail.com>
16531
5bd6dc5c
UD
16532 [BZ #12201]
16533 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16534 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16535 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16536 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16537
97983464
UD
16538 [BZ #12207]
16539 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16540
98727dbe
UD
16541 [BZ #12204]
16542 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16543 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16544
4a531bb0
L
165452010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16546
16547 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16548 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16549 script has SORT_BY_INIT_PRIORITY.
16550 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16551 NO_CTORS_DTORS_SECTIONS is defined.
16552 * elf/soinit.c: Likewise.
16553 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16554 NO_CTORS_DTORS_SECTIONS is defined.
16555 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16556 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16557 * sysdeps/sh/init-first.c: Likewise.
16558 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16559
07eb4b71
UD
165602010-12-24 Ulrich Drepper <drepper@gmail.com>
16561
16562 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16563 always use the slow path.
16564
30950a5f
RA
165652010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16566
16567 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16568 similar rule which adds the sysdep directories to the header search in
16569 order to pick up the correct platform stackinfo.h.
16570 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16571 perform test if it is, otherwise return successfully without testing.
16572 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16573 DEFAULT_STACK_PERMS define in stackinfo.h.
16574 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16575 defined in stackinfo.h.
16576 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16577 DEFAULT_STACK_PERMS defined in stackinfo.h.
16578 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16579 * sysdeps/ia64/stackinfo.h: Likewise.
16580 * sysdeps/s390/stackinfo.h: Likewise.
16581 * sysdeps/sh/stackinfo.h: Likewise.
16582 * sysdeps/sparc/stackinfo.h: Likewise.
16583 * sysdeps/x86_64/stackinfo.h: Likewise.
16584 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16585 PF_X for powerpc64. Retain PF_X for powerpc32.
16586
db753e2c
UD
165872010-12-19 Ulrich Drepper <drepper@gmail.com>
16588
14b697f7
UD
16589 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16590 accurately.
db753e2c
UD
16591 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16592 GETDENTS_64BIT_ALIGNED.
16593
28300719
UD
165942010-12-14 Ulrich Drepper <dreper@gmail.com>
16595
14b697f7 16596 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16597
4f197237
AS
165982010-12-10 Andreas Schwab <schwab@redhat.com>
16599
dbb0472f
AS
16600 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16601 _GNU_SOURCE.
16602
4f197237
AS
16603 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16604 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16605 Remove __restrict.
16606 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16607 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16608
fb88ac72
UD
166092010-12-09 Ulrich Drepper <drepper@gmail.com>
16610
16611 [BZ #11655]
16612 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16613 are initialized.
16614
42acbb92
JJ
166152010-12-09 Jakub Jelinek <jakub@redhat.com>
16616
16617 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16618
c038d98d
UD
166192010-12-03 Ulrich Drepper <drepper@gmail.com>
16620
16621 * po/it.po: Update from translation team.
16622
3a4a2499
L
166232010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16624
16625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16626 unused codes.
16627
1e24cf6e
UD
166282010-11-30 Ulrich Drepper <drepper@gmail.com>
16629
16630 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16631
a7690819
AS
166322010-11-24 Andreas Schwab <schwab@redhat.com>
16633
16634 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16635 specially.
16636 (gaih_getanswer_slice): Likewise.
16637
3bf8d1b1
JJ
166382010-10-20 Jakub Jelinek <jakub@redhat.com>
16639
16640 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16641
6db52fbb
PB
166422010-05-31 Petr Baudis <pasky@suse.cz>
16643
16644 [BZ #11149]
16645 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16646 silently even in the chroot mode.
16647
eaca7569
UD
166482010-11-22 Ulrich Drepper <drepper@gmail.com>
16649
16650 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16651 last patch a bit. Pretty printing
16652
3056dcdb
UD
166532010-05-31 Petr Baudis <pasky@suse.cz>
16654
16655 [BZ #10085]
16656 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16657 initialization of skip_initgroups_dyn.
16658
cf7c9078
UD
166592010-11-19 Ulrich Drepper <drepper@gmail.com>
16660
16661 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16662 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16663
a1fb5e3e
UD
166642010-11-16 Ulrich Drepper <drepper@gmail.com>
16665
16666 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16667
3540d66b
AS
166682010-11-11 Andreas Schwab <schwab@redhat.com>
16669
16670 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16671 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16672 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16673 ($(objpfx)tst-fnmatch-mem): New rule.
16674 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16675 * posix/tst-fnmatch.c (main): Call mtrace.
16676
13b69574
L
166772010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16678
16679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16680 Support Intel processor model 6 and model 0x2c.
16681
da93d214
LM
166822010-11-10 Luis Machado <luisgpm@br.ibm.com>
16683
16684 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16685 signed comparison.
16686
8ca52c6e
L
166872010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16688
16689 [BZ #12205]
16690 * string/test-strncasecmp.c (check_result): New function.
16691 (do_one_test): Use it.
16692 (check1): New function.
16693 (test_main): Use it.
16694 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16695 Support strcasecmp and strncasecmp.
16696
69da074d
UD
166972010-11-08 Ulrich Drepper <drepper@gmail.com>
16698
16699 [BZ #12194]
16700 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16701 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16702
ff02d528
L
167032010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16704
16705 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16706 IFUNC support.
16707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16708 memset-x86-64.
16709 * sysdeps/x86_64/multiarch/bzero.S: New file.
16710 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16711 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16712 * sysdeps/x86_64/multiarch/memset.S: New file.
16713 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16715 Set bit_Prefer_SSE_for_memop for Intel processors.
16716 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16717 Define.
16718 (index_Prefer_SSE_for_memop): Define.
16719 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16720
344d0b54
LM
167212010-11-04 Luis Machado <luisgpm@br.ibm.com>
16722
16723 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16724 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16725
c0dde15b
UD
167262010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16727
16728 [BZ #12191]
16729 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16730 (__x86_64_raw_data_cache_size_half): Likewise.
16731 (__x86_64_raw_shared_cache_size): Likewise.
16732 (__x86_64_raw_shared_cache_size_half): Likewise.
16733
16734 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16735 (__x86_64_raw_data_cache_size_half): Likewise.
16736 (__x86_64_raw_shared_cache_size): Likewise.
16737 (__x86_64_raw_shared_cache_size_half): Likewise.
16738 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16739 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16740 and __x86_64_raw_shared_cache_size_half. Round
16741 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16742 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16743 to multiple of 256 bytes.
16744
0e516e0e
MS
167452010-11-03 Ulrich Drepper <drepper@gmail.com>
16746
16747 [BZ #12167]
16748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16749 of inacessible symlinks. Verify result of symlink before returning it.
16750 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16751 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16752
0e012e87
ER
167532010-10-28 Erich Ritz <erichritz@gmail.com>
16754
16755 * math/math.h (isinf): Fix typo in comment.
16756
de0ff7bc
UD
167572010-11-01 Ulrich Drepper <drepper@gmail.com>
16758
16759 * po/da.po: Update from translation team.
16760
fa41c84d
UD
167612010-10-26 Ulrich Drepper <drepper@gmail.com>
16762
16763 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16764 is added to the list.
16765
f0967738
AK
167662010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16767 Ulrich Drepper <drepper@gmail.com>
16768
16769 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16770 the global list here. Move code to...
16771 (_dl_add_to_namespace_list): ...here. New function.
16772 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16773 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16774 * elf/dl-load.c (lose): Don't remove the element from the list.
16775 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16776 (_dl_map_object): Likewise.
16777
167782010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16779
16780 [BZ #12159]
16781 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16782 into all bytes of SSE register.
16783 Patch by Richard Li <richardpku@gmail.com>.
16784
f0967738 167852010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16786
16787 [BZ #12140]
16788 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16789 perturbing.
16790
d0b9e94f
MB
167912010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16792
16793 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16794 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16795 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16796 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16798 submachine.
16799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16800
8e9f92e9
AS
168012010-10-22 Andreas Schwab <schwab@redhat.com>
16802
16803 * include/dlfcn.h (__RTLD_SECURE): Define.
16804 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16805 mode & __RTLD_SECURE instead.
16806 (open_path): Rename preloaded parameter to secure.
16807 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16808 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16809 * elf/dl-deps.c (openaux): Likewise.
16810 * elf/rtld.c (struct map_args): Remove is_preloaded.
16811 (map_doit): Don't use it.
16812 (dl_main): Likewise.
16813 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16814 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16815
bc96fbda
AS
168162010-09-09 Andreas Schwab <schwab@redhat.com>
16817
16818 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16819 (sysd-rules-targets): Remove duplicates.
16820 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16821 rtld-%.$o dependency.
16822
22cd1c9b
AS
168232010-10-18 Andreas Schwab <schwab@redhat.com>
16824
16825 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16826 _dl_map_object do it.
16827
18edac48
UD
168282010-10-19 Ulrich Drepper <drepper@gmail.com>
16829
16830 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16831 fast fma builtins, define the macros in the C99 standard.
16832 (FP_FAST_FMAF): Likewise.
16833 (FP_FAST_FMAL): Likewise.
16834 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16835
16836 * bits/mathdef.h: Update copyright year.
16837 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16838
d2050124
MM
168392010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16840
16841 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16842 builtins, define the macros in the C99 standard.
16843 (FP_FAST_FMAF): Likewise.
16844 (FP_FAST_FMAL): Likewise.
16845 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16846 multiply/add.
16847 (FP_FAST_FMAF): Likewise.
16848
475facd1
JJ
168492010-10-15 Jakub Jelinek <jakub@redhat.com>
16850
16851 [BZ #3268]
16852 * math/libm-test.inc (fma_test): Some new testcases.
16853 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16854 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16855 y and infinite z. Do multiplication by C already in long double.
16856 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16858 y and infinite z. Do bitwise or of inexact bit into u.d.
16859 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16860 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16861 * sysdeps/i386/fpu/s_fma.S: Removed.
16862 * sysdeps/i386/fpu/s_fmal.S: Removed.
16863
7c08a05c
JJ
168642010-10-16 Jakub Jelinek <jakub@redhat.com>
16865
16866 [BZ #3268]
16867 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16869 computation is not scheduled after fetestexcept. Fix value
16870 of minimum denormal long double.
16871
f3f7372d
JJ
168722010-10-14 Jakub Jelinek <jakub@redhat.com>
16873
16874 [BZ #3268]
16875 * math/libm-test.inc (fma_test): Add some more tests.
16876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16877 correctly.
16878
14d43591
AS
168792010-10-15 Andreas Schwab <schwab@redhat.com>
16880
16881 * scripts/data/localplt-s390-linux-gnu.data: New file.
16882 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16883
5e908464
JJ
168842010-10-13 Jakub Jelinek <jakub@redhat.com>
16885
16886 [BZ #3268]
16887 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16888 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16889 instead of dbl-64.
16890 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16891 inlines.
16892 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16894 if one of x and y is very large and the other is subnormal.
16895 * sysdeps/s390/fpu/s_fmaf.c: New file.
16896 * sysdeps/s390/fpu/s_fma.c: New file.
16897 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16898 * sysdeps/powerpc/fpu/s_fma.S: New file.
16899 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16900 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16901 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16902
169032010-10-12 Jakub Jelinek <jakub@redhat.com>
16904
16905 [BZ #3268]
16906 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16907 fma tests.
16908 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16909 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16910 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16911 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16912 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16913 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16914 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16915
b833d51f
UD
169162010-10-12 Ulrich Drepper <drepper@redhat.com>
16917
16918 [BZ #12078]
16919 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16920 * posix/bug-regex31.input: Add test case.
16921
1751705d
UD
169222010-10-11 Ulrich Drepper <drepper@gmail.com>
16923
e9b9cbf5
UD
16924 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16925 * posix/bug-regex31.input: New file.
16926
16927 [BZ #12078]
16928 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16929 (parse_sub_exp): Fix last change, use postorder.
16930
ef06edbe
UD
16931 * posix/bug-regex31.c: New file.
16932 * posix/Makefile: Add rules to build and run bug-regex31.
16933
a129c80d
UD
16934 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16935
16936 [BZ #12078]
16937 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16938
b76b818e
UD
16939 [BZ #12108]
16940 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16941 to have entries in sys_siglist.
16942
1751705d
UD
16943 [BZ #12093]
16944 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16945 be NULL.
16946
9ff8d36f
JJ
169472010-10-07 Jakub Jelinek <jakub@redhat.com>
16948
16949 [BZ #3268]
16950 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16951 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16952 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16953 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16954 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16955 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16956 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16957 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16958 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16959 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16960 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16961 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16962 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16963 * math/ftestexcept.c (fetestexcept): Likewise.
16964 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16965 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16966 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16967 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16968 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16969 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16970 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16971
af325969
UD
169722010-10-11 Ulrich Drepper <drepper@gmail.com>
16973
c579b202 16974 [BZ #12107]
af325969
UD
16975 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16976 newline.
16977
67a67b95
UD
169782010-10-06 Ulrich Drepper <drepper@gmail.com>
16979
16980 * string/bug-strstr1.c: New file.
16981 * string/Makefile: Add rules to build and run bug-strstr1.
16982
5fb308bc
EB
169832010-10-05 Eric Blake <eblake@redhat.com>
16984
16985 [BZ #12092]
16986 * string/str-two-way.h (two_way_long_needle): Always clear memory
16987 when skipping input due to the shift table.
16988
45db99c7
UD
169892010-10-03 Ulrich Drepper <drepper@gmail.com>
16990
3b111893
UD
16991 [BZ #12005]
16992 * malloc/mcheck.c: Handle large requests.
16993
45db99c7
UD
16994 [BZ #12077]
16995 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16996 for strncmp and strncasecmp.
16997 * string/stratcliff.c: Add tests for strcmp and strncmp.
16998 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16999
cf7a1eb8
NI
170002010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17001
17002 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17003 __set_fpscr.
17004
6484ba5e
AJ
170052010-09-30 Andreas Jaeger <aj@suse.de>
17006
17007 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17008 (CGROUP_SUPER_MAGIC): Define.
17009 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17010 Handle btrfs and cgroup file systems.
17011 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17012 Likewise.
17013
91c42559
LM
170142010-09-27 Luis Machado <luisgpm@br.ibm.com>
17015
17016 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17017 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17018
87a97932
AK
170192010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17020
17021 [BZ #12067]
17022 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17023 trying to locate the ELF header.
17024
c21cc9bc
AS
170252010-09-27 Andreas Schwab <schwab@redhat.com>
17026
17027 [BZ #11611]
17028 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17029 Mask out sign-bit copies when constructing f_fsid.
17030
315970f6
PB
170312010-09-24 Petr Baudis <pasky@suse.cz>
17032
17033 * debug/stack_chk_fail_local.c: Add missing licence exception.
17034 * debug/warning-nop.c: Likewise.
17035
1ac7a2c7
JM
170362010-09-15 Joseph Myers <joseph@codesourcery.com>
17037
17038 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17039 implementing getdents64 using getdents syscall, set d_type if
17040 __ASSUME_GETDENTS32_D_TYPE.
17041
56801c50
AS
170422010-09-16 Andreas Schwab <schwab@redhat.com>
17043
17044 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17045 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17046
dda51327
UD
170472010-09-21 Ulrich Drepper <drepper@redhat.com>
17048
17049 [BZ #12037]
17050 * posix/unistd.h: Undo change of feature selection for ftruncate from
17051 2010-01-11.
17052
8ffcee4a
UD
170532010-09-20 Ulrich Drepper <drepper@redhat.com>
17054
a545ecd9 17055 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17056 detection.
17057
e24f0a8b
AS
170582010-09-20 Andreas Schwab <schwab@redhat.com>
17059
17060 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17061 fanotify_mark.
17062 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17063
7291c56f
AS
170642010-09-14 Andreas Schwab <schwab@redhat.com>
17065
17066 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17067 variables after CHECK_SP call.
17068 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17069
bc5fb037
AS
170702010-09-13 Andreas Schwab <schwab@redhat.com>
17071 Ulrich Drepper <drepper@redhat.com>
17072
17073 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17074 re-relocationg ld.so.
17075 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17076 _dl_init_paths call.
17077 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17078 here anymore.
17079
e66e7419
UD
170802010-09-14 Ulrich Drepper <drepper@redhat.com>
17081
17082 * resolv/res_init.c (__res_vinit): Count the default server we added.
17083
c044aa75
CLT
170842010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17085 Ulrich Drepper <drepper@redhat.com>
17086
17087 [BZ #11968]
17088 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17089 (____longjmp_chk): Use %ebx for saving value across system call.
17090 Add unwind info.
17091
32cf4069
AS
170922010-09-06 Andreas Schwab <schwab@redhat.com>
17093
17094 * manual/Makefile: Don't mix pattern rules with normal rules.
17095
817328ee
AS
170962010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17097
17098 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17099 operation.
17100 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17101 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17102 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17103 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17104 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17105 Likewise.
17106
29fddf61
UD
171072010-09-04 Ulrich Drepper <drepper@redhat.com>
17108
17109 [BZ #11979]
17110 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17111 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17112
0959ffc9
UD
171132010-09-02 Ulrich Drepper <drepper@redhat.com>
17114
17115 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17116 * sysdeps/x86_64/addmul_1.S: Likewise.
17117 * sysdeps/x86_64/lshift.S: Likewise.
17118 * sysdeps/x86_64/mul_1.S: Likewise.
17119 * sysdeps/x86_64/rshift.S: Likewise.
17120 * sysdeps/x86_64/sub_n.S: Likewise.
17121 * sysdeps/x86_64/submul_1.S: Likewise.
17122
ece29840
ST
171232010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17124
0959ffc9
UD
17125 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17126 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17127 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17128 * bits/sched.h [__need_schedparam]
ece29840 17129 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17130 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17131 (__defined_schedparam): Define to 1.
ece29840
ST
17132 (__sched_param): New structure, identical to sched_param.
17133 (__need_schedparam): Undefine.
17134
e53a31fe
MF
171352010-08-31 Mike Frysinger <vapier@gentoo.org>
17136
fdc0c10d
MF
17137 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17138 (epoll_create1): Declare.
17139
e53a31fe
MF
17140 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17141
a726d796
AS
171422010-08-31 Andreas Schwab <schwab@redhat.com>
17143
17144 [BZ #7066]
17145 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17146 shifting retval into place.
17147
2f3e3dc7
UD
171482010-09-01 Ulrich Drepper <drepper@redhat.com>
17149
f2933da9
UD
17150 * nis/rpcsvc/nis.h: Update copyright notice.
17151 * nis/rpcsvc/nis.x: Likewise.
17152 * nis/rpcsvc/nis_callback.h: Likewise.
17153 * nis/rpcsvc/nis_callback.x: Likewise.
17154 * nis/rpcsvc/nis_object.x: Likewise.
17155 * nis/rpcsvc/nis_tags.h: Likewise.
17156 * nis/rpcsvc/yp.h: Likewise.
17157 * nis/rpcsvc/yp.x: Likewise.
17158 * nis/rpcsvc/ypupd.h: Likewise.
17159 * nis/yp_xdr.c: Likewise.
17160 * nis/ypupdate_xdr.c: Likewise.
17161
2f3e3dc7
UD
17162 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17163 mainly the body of pmap_getport. Add parameters to specify timeouts.
17164 (pmap_getport): Use __libc_rpc_getport.
17165 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17166 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17167 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17168
f3dcc2f9
AS
171692010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17170
17171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17172 fanotify_mark.
17173
6d34eb5b
RM
171742010-08-27 Roland McGrath <roland@redhat.com>
17175
17176 * sysdeps/i386/i686/multiarch/Makefile
17177 (CFLAGS-varshift.c): New variable.
17178
9ea3de11
UD
171792010-08-27 Ulrich Drepper <drepper@redhat.com>
17180
c96d23fc
UD
17181 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17182 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17183
9ea3de11
UD
17184 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17185
17186 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17187
623aac7f
L
171882010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17189
17190 * sysdeps/x86_64/strlen.S: Unroll the loop.
17191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17192 strlen-sse2 strlen-sse2-bsf.
17193 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17194 __strlen_no_bsf if bit_Slow_BSF is set.
17195 (__strlen_sse42): Removed.
17196 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17197 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17198
8b2b7715
RM
171992010-08-25 Roland McGrath <roland@redhat.com>
17200
17201 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17202 * sysdeps/x86_64/multiarch/varshift.c: New file.
17203 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17204 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17205 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17206 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17207
e73015f2
L
172082010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17209
17210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17211 strlen-sse2 strlen-sse2-bsf.
17212 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17213 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17214 (__strlen_sse2): Removed.
17215 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17216 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17218 bit_Slow_BSF for Atom.
17219 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17220 (index_Slow_BSF): Define.
17221 (HAS_SLOW_BSF): Define.
17222
df24a73e
UD
172232010-08-25 Ulrich Drepper <drepper@redhat.com>
17224
17225 [BZ #10851]
17226 * resolv/res_init.c (__res_vinit): When no server address at all
17227 is given default to loopback.
17228
f2ac4868
RM
172292010-08-24 Roland McGrath <roland@redhat.com>
17230
09055553
RM
17231 * configure.in: Remove config-name.h generation.
17232 * configure: Regenerated.
17233 * config-name.in: File removed.
17234 * scripts/config-uname.sh: New file.
17235 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17236 ($(objdir)config-name.h): New target.
17237
f2ac4868
RM
17238 * sunrpc/rpc_parse.h: Avoid nested comment.
17239
73f27d5e
RH
172402010-08-24 Richard Henderson <rth@redhat.com>
17241 Ulrich Drepper <drepper@redhat.com>
17242 H.J. Lu <hongjiu.lu@intel.com>
17243
17244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17246 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17247 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17248 _mm_alignr_epi8 with _mm_loadu_si128.
17249 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17250 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17251 (__m128i_shift_right): Removed.
17252 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17253 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17254 * sysdeps/x86_64/multiarch/varshift.h: New file.
17255 * sysdeps/x86_64/multiarch/varshift.S: New file.
17256
84b9230c
MF
172572010-08-21 Mike Frysinger <vapier@gentoo.org>
17258
17259 * configure.in: Move assembler checks to before sysdep dir checking.
17260
9bbd0ddc
PB
172612010-08-20 Petr Baudis <pasky@suse.cz>
17262
17263 * LICENSES: Sync the sunrpc license.
17264
9da4bb31
UD
172652010-08-19 Ulrich Drepper <drepper@redhat.com>
17266
a7ab6ec8
UD
17267 * sunrpc/auth_des.c: Update copyright notice once again.
17268 * sunrpc/auth_none.c: Likewise.
17269 * sunrpc/auth_unix.c: Likewise.
17270 * sunrpc/authdes_prot.c: Likewise.
17271 * sunrpc/authuxprot.c: Likewise.
17272 * sunrpc/bindrsvprt.c: Likewise.
17273 * sunrpc/clnt_gen.c: Likewise.
17274 * sunrpc/clnt_perr.c: Likewise.
17275 * sunrpc/clnt_raw.c: Likewise.
17276 * sunrpc/clnt_simp.c: Likewise.
17277 * sunrpc/clnt_tcp.c: Likewise.
17278 * sunrpc/clnt_udp.c: Likewise.
17279 * sunrpc/clnt_unix.c: Likewise.
17280 * sunrpc/des_crypt.c: Likewise.
17281 * sunrpc/des_soft.c: Likewise.
17282 * sunrpc/get_myaddr.c: Likewise.
17283 * sunrpc/getrpcport.c: Likewise.
17284 * sunrpc/key_call.c: Likewise.
17285 * sunrpc/key_prot.c: Likewise.
17286 * sunrpc/openchild.c: Likewise.
17287 * sunrpc/pm_getmaps.c: Likewise.
17288 * sunrpc/pm_getport.c: Likewise.
17289 * sunrpc/pmap_clnt.c: Likewise.
17290 * sunrpc/pmap_prot.c: Likewise.
17291 * sunrpc/pmap_prot2.c: Likewise.
17292 * sunrpc/pmap_rmt.c: Likewise.
17293 * sunrpc/rpc/auth.h: Likewise.
17294 * sunrpc/rpc/auth_unix.h: Likewise.
17295 * sunrpc/rpc/clnt.h: Likewise.
17296 * sunrpc/rpc/des_crypt.h: Likewise.
17297 * sunrpc/rpc/key_prot.h: Likewise.
17298 * sunrpc/rpc/netdb.h: Likewise.
17299 * sunrpc/rpc/pmap_clnt.h: Likewise.
17300 * sunrpc/rpc/pmap_prot.h: Likewise.
17301 * sunrpc/rpc/pmap_rmt.h: Likewise.
17302 * sunrpc/rpc/rpc.h: Likewise.
17303 * sunrpc/rpc/rpc_des.h: Likewise.
17304 * sunrpc/rpc/rpc_msg.h: Likewise.
17305 * sunrpc/rpc/svc.h: Likewise.
17306 * sunrpc/rpc/svc_auth.h: Likewise.
17307 * sunrpc/rpc/types.h: Likewise.
17308 * sunrpc/rpc/xdr.h: Likewise.
17309 * sunrpc/rpc_clntout.c: Likewise.
17310 * sunrpc/rpc_cmsg.c: Likewise.
17311 * sunrpc/rpc_common.c: Likewise.
17312 * sunrpc/rpc_cout.c: Likewise.
17313 * sunrpc/rpc_dtable.c: Likewise.
17314 * sunrpc/rpc_hout.c: Likewise.
17315 * sunrpc/rpc_main.c: Likewise.
17316 * sunrpc/rpc_parse.c: Likewise.
17317 * sunrpc/rpc_parse.h: Likewise.
17318 * sunrpc/rpc_prot.c: Likewise.
17319 * sunrpc/rpc_sample.c: Likewise.
17320 * sunrpc/rpc_scan.c: Likewise.
17321 * sunrpc/rpc_scan.h: Likewise.
17322 * sunrpc/rpc_svcout.c: Likewise.
17323 * sunrpc/rpc_tblout.c: Likewise.
17324 * sunrpc/rpc_util.c: Likewise.
17325 * sunrpc/rpc_util.h: Likewise.
17326 * sunrpc/rpcinfo.c: Likewise.
17327 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17328 * sunrpc/rpcsvc/key_prot.x: Likewise.
17329 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17330 * sunrpc/rpcsvc/mount.x: Likewise.
17331 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17332 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17333 * sunrpc/rpcsvc/rex.x: Likewise.
17334 * sunrpc/rpcsvc/rstat.x: Likewise.
17335 * sunrpc/rpcsvc/rusers.x: Likewise.
17336 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17337 * sunrpc/rpcsvc/spray.x: Likewise.
17338 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17339 * sunrpc/rtime.c: Likewise.
17340 * sunrpc/svc.c: Likewise.
17341 * sunrpc/svc_auth.c: Likewise.
17342 * sunrpc/svc_authux.c: Likewise.
17343 * sunrpc/svc_raw.c: Likewise.
17344 * sunrpc/svc_run.c: Likewise.
17345 * sunrpc/svc_simple.c: Likewise.
17346 * sunrpc/svc_tcp.c: Likewise.
17347 * sunrpc/svc_udp.c: Likewise.
17348 * sunrpc/svc_unix.c: Likewise.
17349 * sunrpc/svcauth_des.c: Likewise.
17350 * sunrpc/xcrypt.c: Likewise.
17351 * sunrpc/xdr.c: Likewise.
17352 * sunrpc/xdr_array.c: Likewise.
17353 * sunrpc/xdr_float.c: Likewise.
17354 * sunrpc/xdr_mem.c: Likewise.
17355 * sunrpc/xdr_rec.c: Likewise.
17356 * sunrpc/xdr_ref.c: Likewise.
17357 * sunrpc/xdr_sizeof.c: Likewise.
17358 * sunrpc/xdr_stdio.c: Likewise.
17359
9da4bb31
UD
17360 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17361 handling.
17362
bdaa77bc
AS
173632010-08-19 Andreas Schwab <schwab@redhat.com>
17364
17365 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17366
fe2f79db
LM
173672010-08-19 Luis Machado <luisgpm@br.ibm.com>
17368
17369 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17370 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17371 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17372 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17373 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17374 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17375 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17376 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17377 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17378 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17379 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17380 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17381 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17382 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17383
b9b42ee0
AB
173842010-07-26 Anton Blanchard <anton@samba.org>
17385
17386 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17387 * malloc/arena.c (heap_trim): Likewise.
17388
1c06ba31
UD
173892010-08-16 Ulrich Drepper <drepper@redhat.com>
17390
17391 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17392 here. Not...
17393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17394 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17395
f8392f40
L
173962010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17397
17398 * sysdeps/i386/elf/Makefile: New file.
17399
3162f12e
AS
174002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17401
17402 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17403 from fanotify_init.
17404 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17406
28c90b2c
UD
174072010-08-15 Ulrich Drepper <drepper@redhat.com>
17408
17409 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17410 of strncasecmp_l.
1feccb6c 17411 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17412
ca6bb004
UD
174132010-08-14 Ulrich Drepper <drepper@redhat.com>
17414
e9f82e0d
UD
17415 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17416 strncase_l-nonascii.
17417 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17418 Add strncase_l-ssse3.
17419 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17420 * sysdeps/x86_64/strcmp.S: Likewise.
17421 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17422 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17423 * sysdeps/x86_64/strncase.S: New file.
17424 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17425 * sysdeps/x86_64/strncase_l.S: New file.
17426 * string/Makefile (strop-tests): Add strncasecmp.
17427 * string/test-strncasecmp.c: New file.
17428
17429 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17430 warning.
17431
ca6bb004
UD
17432 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17433 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17434
052fa7b3
AS
174352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17436
17437 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17438
962dba78
UD
174392010-08-12 Ulrich Drepper <drepper@redhat.com>
17440
17441 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17442 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17443 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17444
bebff237
AM
174452010-05-01 Alan Modra <amodra@gmail.com>
17446
17447 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17448 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17449 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17450 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17451 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17452 tidying. Don't tail-call __sigjmp_save for static lib.
17453 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17454 save location.
17455 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17456 (CALL_MCOUNT): Add eh info, and nop after bl.
17457 (TAIL_CALL_SYSCALL_ERROR): New macro.
17458 (PSEUDO_RET): Use it.
17459 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17460 Correct save location of integer regs and cr.
17461 (_dl_profile_resolve): Correct cr save location. Delete nops
17462 after bl when SHARED. Reduce cfi size a little by better
17463 placement of cfi directives.
17464 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17465 make a stack frame. Instead use parm save area as a temp.
17466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17467 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17469 Don't make a stack frame for parent, use parm save area.
17470 Increase child stack frame to 112 bytes. Don't save unused reg,
17471 and adjust reg usage. Set up cfi on error recovery and
17472 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17474 (__makecontext): Add dummy nop after jump to exit.
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17476 Use correct parm save area and cr save, reduce stack frame.
17477 Correct cfi for possible PSEUDO_RET frame setup.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17479 Branch to local label emitted by PSEUDO_RET rather than
17480 __syscall_error.
17481
02637374
AS
174822010-08-12 Andreas Schwab <schwab@redhat.com>
17483
17484 [BZ #11904]
17485 * locale/programs/locale.c (print_assignment): New function.
17486 (show_locale_vars): Use it.
17487
c3e2f19b
UD
174882010-08-11 Ulrich Drepper <drepper@redhat.com>
17489
3cdaa6ad
UD
17490 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17491 field.
17492 (struct statfs64): Likewise.
17493 (_STATFS_F_FLAGS): Define.
17494 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17495 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17496 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17497 (ST_VALID): Define locally.
17498 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17499 __statvfs_getflags, use the provided value.
17500 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17501 __ASSUME_STATFS_F_FLAGS.
17502
754f7da3
UD
17503 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17504
10b3bedc
UD
17505 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17506 Add sys/fanotify.h.
17507 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17508 fanotify_mask for GLIBC_2.13.
17509 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17510 fanotify_init and fanotify_mark.
17511 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17512 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17513
c08fb0d7
UD
17514 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17515 Add prlimit.
17516 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17517 prlimit64 for GLIBC_2.13.
17518 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17519 prlimit64.
17520 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17521 syscall.
17522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17523 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17524 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17525 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17526 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17527 add prlimit alias.
17528 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17529
15bac72b
UD
17530 [BZ #11903]
17531 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17532 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17533
c3e2f19b
UD
17534 * nss/Makefile: Add rules to build and run tst-nss-test1.
17535 * shlib-versions: Add entry for libnss_test1.
17536 * nss/nss_test1.c: New file.
17537 * nss/tst-nss-test1.c: New file.
17538
17539 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17540 (__nss_configure_lookup): Set appropriate entry in
17541 __nss_configure_lookup to true.
17542 * nss/nsswitch.h: Define enum with indeces of databases in
17543 databases and __nss_database_custom arrays. Declare
17544 __nss_database_custom.
17545 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17546 to avoid using nscd when custom rules are installed.
17547 * nss/getXXbyYY_r.c: Likewise.
17548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17549
17550 * nss/nss_files/files-parse.c: Whitespace fixes.
17551
f15ce4d8
UD
175522010-08-09 Ulrich Drepper <drepper@redhat.com>
17553
17554 [BZ #11883]
17555 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17556 * posix/fnmatch_loop.c: Likewise.
17557
d22e4cc9
AK
175582010-07-17 Andi Kleen <ak@linux.intel.com>
17559
17560 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17561 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17562 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17563 * Versions.def [GLIBC_2.13]: Add.
17564
805bc17d
UD
175652010-08-06 Ulrich Drepper <drepper@redhat.com>
17566
17567 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17568 Also fail if tpwd after pwuid call is NULL.
17569
5a42321d
ST
175702010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17571
17572 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17573 when converting to ms.
17574
fd3ebeda
ST
175752010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17576
17577 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17578 EOPNOTSUPP errors with ENOTTY.
17579 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17580 EOPNOTSUPP errors with ENOTTY.
17581
73507d3a
UD
175822010-07-31 Ulrich Drepper <drepper@redhat.com>
17583
17584 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17585 Add strcasecmp_l-ssse3.
17586 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17587 strcasecmp.
17588 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17589 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17590 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17591
fe36dd02
UD
175922010-07-30 Ulrich Drepper <drepper@redhat.com>
17593
66f6765a
UD
17594 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17595
42e08a54
UD
17596 * string/Makefile (strop-tests): Add strcasecmp.
17597 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17598 strcasecmp_l-nonascii.
17599 (gen-as-const-headers): Add locale-defines.sym.
17600 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17601 * sysdeps/x86_64/strcasecmp.S: New file.
17602 * sysdeps/x86_64/strcasecmp_l.S: New file.
17603 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17604 * sysdeps/x86_64/locale-defines.sym: New file.
17605 * string/test-strcasecmp.c: New file.
17606
fe36dd02
UD
17607 * string/test-strcasestr.c: Test both ends of the range of characters.
17608 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17609
48cbc0d6
RM
176102010-07-29 Roland McGrath <roland@redhat.com>
17611
76e6d6bc 17612 [BZ #11856]
48cbc0d6
RM
17613 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17614
880113d9
UD
176152010-07-27 Ulrich Drepper <drepper@redhat.com>
17616
17617 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17618 for ld.so.
17619
deb9cabb
AS
176202010-07-27 Andreas Schwab <schwab@redhat.com>
17621
17622 * manual/memory.texi (Malloc Tunable Parameters): Document
17623 M_PERTURB.
17624
1c7570ff
RM
176252010-07-26 Roland McGrath <roland@redhat.com>
17626
17627 [BZ #11840]
17628 * configure.in (-fgnu89-inline check): Set and substitute
17629 gnu89_inline, not libc_cv_gnu89_inline.
17630 * configure: Regenerated.
17631 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17632
24fb0f88
UD
176332010-07-26 Ulrich Drepper <drepper@redhat.com>
17634
17635 * string/test-strnlen.c: New file.
17636 * string/Makefile (strop-tests): Add strnlen.
17637 * string/tester.c (test_strnlen): Add a few more test cases.
17638 * string/tst-strlen.c: Better error reporting.
17639
17640 * sysdeps/x86_64/strnlen.S: New file.
17641
8e96b93a
UD
176422010-07-24 Ulrich Drepper <drepper@redhat.com>
17643
17644 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17645 lower-latency instructions.
17646
dbc676d4
UD
176472010-07-23 Ulrich Drepper <drepper@redhat.com>
17648
17649 * string/test-strcasestr.c: New file.
17650 * string/test-strstr.c: New file.
17651 * string/Makefile (strop-tests): Add strstr and strcasestr.
17652 * string/str-two-way.h: Don't undefine MAX.
17653 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17654
f6a31e0e
AS
176552010-07-21 Andreas Schwab <schwab@redhat.com>
17656
17657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17658 strcasestr-nonascii.
17659 (CFLAGS-strcasestr-nonascii.c): Define.
17660 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17661 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17662 Remove unused attribute.
17663
5dbc3b6c
RM
176642010-07-20 Roland McGrath <roland@redhat.com>
17665
17666 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17667 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17668 ld.so.cache was broken. With it, there is no way to disable dsocaps
17669 like LD_HWCAP_MASK can disable hwcaps.
17670
23d101d8
EPM
176712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17672
17673 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17674
cc9f2e47
UD
176752010-07-16 Ulrich Drepper <drepper@redhat.com>
17676
17677 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17678 call in strcasestr.
17679 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17680 __strcasestr_sse42_nonascii.
17681 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17682 strcasestr-nonascii.c.
17683 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17684
77c1b069
LM
176852010-06-15 Luis Machado <luisgpm@br.ibm.com>
17686
17687 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17689 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17690 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17691
440566c3
UD
176922010-07-09 Ulrich Drepper <drepper@redhat.com>
17693
17694 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17695 fcntl.
17696
5be9d05d
AS
176972010-07-06 Andreas Schwab <schwab@redhat.com>
17698
c30b7ee2 17699 [BZ #11577]
5be9d05d
AS
17700 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17701 dl_signal_cerror.
17702
8a492a67
UD
177032010-07-06 Ulrich Drepper <drepper@redhat.com>
17704
17705 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17706 _PC_PIPE_BUF using F_GETPIPE_SZ.
17707
713df3d5
RM
177082010-07-05 Roland McGrath <roland@redhat.com>
17709
17710 * manual/arith.texi (Rounding Functions): Fix rint description
17711 implicit in round description.
17712
702e8f14
UD
177132010-07-02 Ulrich Drepper <drepper@redhat.com>
17714
17715 * elf/Makefile: Fix linking for a few tests to make recent linker
17716 happy.
17717
52ed8be9
AS
177182010-06-30 Andreas Schwab <schwab@redhat.com>
17719
17720 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17721 $(common-objpfx)libc_nonshared.a.
17722
f47c9a11
LM
177232010-06-21 Luis Machado <luisgpm@br.ibm.com>
17724
17725 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17726 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17727 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17728 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17729 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17730 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17731 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17732 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17747 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17748 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17749 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17750 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17751 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17752 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17753 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17754 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17755 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17756 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17757 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17758 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17773
6fb8cbcb
L
177742010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17775
17776 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17777 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17778 * string/memmove.c (memmove): Renamed to ...
17779 (MEMMOVE): ...this. Default to memmove.
17780 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17781 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17782 (END_CHK): Define.
17783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17784 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17785 mempcpy-ssse3-back memmove-ssse3-back.
17786 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17788 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17789 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17790 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17791 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17792 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17793 * sysdeps/x86_64/multiarch/memmove.c: New file.
17794 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17795 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17796 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17797 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17798 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17799 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17800 Define.
17801 (index_Fast_Copy_Backward): Define.
17802 (HAS_ARCH_FEATURE): Define.
17803 (HAS_FAST_REP_STRING): Define.
17804 (HAS_FAST_COPY_BACKWARD): Define.
17805
4e733bac 178062010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17807
17808 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17809 Restore proper fallback handling.
17810
63c4ed22
UD
178112010-06-19 Ulrich Drepper <drepper@redhat.com>
17812
ac2b484c
UD
17813 [BZ #11701]
17814 * posix/group_member.c (__group_member): Correct checking loop.
17815
63c4ed22
UD
17816 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17817 OOM in getpwuid_r correctly. Return error number when the caller
17818 should return, otherwise -1.
17819 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17820 call returning > 0 value.
17821 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17822
765ade4b
AS
178232010-06-07 Andreas Schwab <schwab@redhat.com>
17824
17825 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17826 libc_nonshared.a from targets in modules-names.
17827
80da2e09
KS
178282010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17829
17830 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17831 requires it.
17832
158db122
LM
178332010-06-10 Luis Machado <luisgpm@br.ibm.com>
17834
17835 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17836 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17837 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17838 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17839
caa78cf8
AS
178402010-06-02 Andreas Schwab <schwab@redhat.com>
17841
17842 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17843
b2ef2c01
UD
178442010-06-14 Ulrich Drepper <drepper@redhat.com>
17845
17846 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17847 and F_GETPIPE_SZ.
17848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17849 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17852 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17854
fbd643b6
RM
178552010-06-14 Roland McGrath <roland@redhat.com>
17856
17857 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17858
f32f2869
JJ
178592010-06-07 Jakub Jelinek <jakub@redhat.com>
17860
17861 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17862 __REDIRECT followed by __THROW.
17863 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17864 * posix/getopt.h (getopt): Likewise.
17865
2a50c078
EPM
178662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17867
17868 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17869 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17870 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17871 in AT_FLAGS.
17872 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17873 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17874
eb5ad2eb
LM
178752010-05-28 Luis Machado <luisgpm@br.ibm.com>
17876
17877 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17878
3c88fe1e
L
178792010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17880
17881 [BZ #11640]
17882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17883 Properly check family and model.
17884
d2f73151
TY
178852010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17886
17887 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17888
ebd2e13d
LM
178892010-05-24 Luis Machado <luisgpm@br.ibm.com>
17890
17891 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17892
b32b8b45
UD
178932010-05-21 Ulrich Drepper <drepper@redhat.com>
17894
17895 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17896 symbol reference.
17897
9acbe24d
AS
178982010-05-19 Andreas Schwab <schwab@redhat.com>
17899
17900 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17901 symbol reference.
17902
f0ccf6ea
AS
179032010-05-21 Andreas Schwab <schwab@redhat.com>
17904
3d04ff3a
AS
17905 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17906 and internal_recvmmsg.
17907 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17908 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17909 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17910 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17911
f0ccf6ea
AS
17912 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17913 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17914 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17915
5b08ac57
AS
179162010-05-20 Andreas Schwab <schwab@redhat.com>
17917
17918 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17919
4828935d
LM
179202010-05-17 Luis Machado <luisgpm@br.ibm.com>
17921
17922 POWER7 optimizations.
17923 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17924 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17925
373d545e
UD
179262010-05-19 Ulrich Drepper <drepper@redhat.com>
17927
17928 * version.h: Update for 2.13 development version.
17929
21a2b1ae
AS
179302010-05-12 Andrew Stubbs <ams@codesourcery.com>
17931
17932 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17933 exceptions. Return 0.
17934
3f7dcb2b
RM
179352010-05-07 Roland McGrath <roland@redhat.com>
17936
17937 * elf/ldconfig.c (main): Add a const.
17938
5f24d53a 179392010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17940
a160f8d8
UD
17941 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17942 (args_options): Add no-idn option.
17943 (ahosts_keys_int): Add idn_flags to ai_flags.
17944 (parse_option): Handle 'i' option to clear idn_flags.
17945
5f24d53a
UD
17946 * malloc/malloc.c (_int_free): Possible race in the most recently
17947 added check. Only act on the data if no current modification
17948 happened.
265bb1ce
UD
17949
17950See ChangeLog.17 for earlier changes.
This page took 2.260174 seconds and 5 git commands to generate.